usernam
Full Member level 5
pwm simulation
Hi
I am trying to simulate PWM for a boost converter in Matlab. My plan is to compare the error with a sawtooth waveform of frequency arnd 1KHz.
I am using the signal generator in Simulink-->Sources-->Signal Generator to generate a sawtooth waveform. Unfortunately the sawtooth waveform is not working for a frequency beyond 1 Hz (atleast I'm unable to see it on the scope) and even then it is not a perfect sawtooth. The fall time from peak value to zero is significantly high.
I tried using the repeating sequence block in Simulink-->Sources-->Repeating Sequence but I was unable to get a sawtooth of high enuf frequency.
Does anybody know what the problem is and how to proceed.
Thnx
Hi
I am trying to simulate PWM for a boost converter in Matlab. My plan is to compare the error with a sawtooth waveform of frequency arnd 1KHz.
I am using the signal generator in Simulink-->Sources-->Signal Generator to generate a sawtooth waveform. Unfortunately the sawtooth waveform is not working for a frequency beyond 1 Hz (atleast I'm unable to see it on the scope) and even then it is not a perfect sawtooth. The fall time from peak value to zero is significantly high.
I tried using the repeating sequence block in Simulink-->Sources-->Repeating Sequence but I was unable to get a sawtooth of high enuf frequency.
Does anybody know what the problem is and how to proceed.
Thnx