3. 离散模块(Discrete)
在Simulink基本模块中选择“Discrete”后,单击便看到如图6.17所示的离散模块,它包括以下子模块。
● Difference:差分环节;
● Discrete Derivative:离散微分环节;
● Discrete Filter:离散滤波器;
● Discrete State-Space:离散状态空间系统模型;
● Discrete Transfer-Fcn:离散传递函数模型;
● Discrete Zero-Pole:以零极点表示的离散传递函数模型;
● Discrete-time Integrator:离散时间积分器;
● First-Order Hold:一阶保持器;
● Integer Delay:整数被延迟;
● Memory:输出本模块上一步的输出值;
● Tapped Delay:延迟;
● Transfer Fcn First Order:离散一阶传递函数;
● Transfer Fcn Lead or Lag:传递函数;
● Transfer Fcn Real Zero:离散零点传递函数;
● Unit Delay:一个采样周期的延迟;
● Weighted Moving Average:权值移动平均模型;
● Zero-Order Hold:零阶保持器;
4. 逻辑和位操作模块(Logic and Bit Operations)
在Simulink基本模块中选择Logic and Bit Operations后,单击便看到如图6.18所示的逻辑和位操作模块,它包括以下子模块:
● Bit Clear:位清零;
● Bit Set:位置位;
● Bitwise Operator:逐位操作;
● Combinatiorial Logic:组合逻辑;
● Compare To Constant:和常量比较;
● Compare To Zero:和零比较;
● Detect Change:检测跳变;
● Detect Decrease:检测递减;
● Detect Fall Negative:检测负下降沿;
● Detect Fall Nonpositive:检测非负下降沿;
● Detect Increease:检测递增;
● Detect Rise Nonnegative:检测非负上升沿;
● Detect Rise Positive:检测正上升沿;
● Extract Bits:提取位;
● Interval Test:检测开区间;
● Interval Test Dynamic:动态检测开区间;
● Logical Operatior:逻辑操作符;
● Relational Operator:关系操作符;
● Shift Arithmetic:移位运算。