.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-03-28T19:15:55Z by
OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos