Discontinuities
Discontinuous function blocks such as Saturation
Use blocks in the Discontinuities library to model elements of discontinuous-time dynamic systems, such as static and dynamic friction, hit crossings, and zones in which an input produces zero output.
Blocks
Backlash | Model behavior of system with play |
Coulomb and Viscous Friction | Model discontinuity at zero, with linear gain elsewhere |
Dead Zone | Provide region of zero output |
Dead Zone Dynamic | Provide dynamic region of zero output |
Hit Crossing | Detect crossing point |
PWM | Generate ideal pulse width modulated signal corresponding to input duty cycle (Since R2020b) |
Quantizer | Discretize input at given interval |
Rate Limiter | Limit rate of change of signal |
Rate Limiter Dynamic | Limit rate of change of signal |
Relay | Switch output between two constants |
Saturation | Limit input signal to the upper and lower saturation values |
Saturation Dynamic | Limit input signal to dynamic upper and lower saturation values |
Variable Pulse Generator | Generate ideal, time varying pulse signal (Since R2020b) |
Wrap To Zero | Set output to zero if input is above threshold |