- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Sampling and calculation
Sampling and calculation
Sampling and calculation
Hello guys,
I am trying to implement digital control which employ variable pulse generation. I need to sample the current signal in the middle of pules (variable pulse). After this sampling I need to execute the calculation of new pulse width where this pulse is valid in the next sampling period.
Any help idea how to do it under modelica?
Best regards,
Peter
P.S. I can establish regular sample interval with "sample" command then how to trigger within this sampling period, moreover I would need to have independent timer synchronized with this sample interval (every interval to reset the timer to 0).
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Sampling and calculation