Simcode Variable frequency PWM
I'd like to do produce a variable frequency PWM using simcoder. I'd like to let the PWM be 100 kHz in one period, 200 kHz in next period, then repeat.
I used the variable frequency PWM block to achieve it. However, the simulation message always say the variable frequency PWM block is ignored.
Answers
-
Please make sure the name in the "1-ph PWM" block is the same as in the "Variable Frequency PWM" block.
0 -
Hello.
I do not want to create a separate thread for a related question, so I ask in this thread.
I need to create two Variable Frequency PWM blocks with 180 phase shift between each other. They work fine when the input of variable frequncy blocks is 1. But, once it changes, the 180 degree phase shift (on PWM2) becomes glitched in the simulation and changes to some other value.
P.S. Once uploaded to the DSP it is actually working well.
Thanks in advance!
0