.Servomechanisms.Electrical.IdealPWM

Information

General

This block generates a boolean PWM output from a real input.

Implementation

Using the MSL , the absolute value of the continous real input is calculated and then divided according to the 100 percentage reference value to obtain a number between 0 and 100.
The pulse is generated with the modified block BooleanPulse .

Notes

Example

Controller
Generated at 2024-11-23T19:25:52Z by
OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos