How can i simulate pwm signals with c2000 series.

4 visualizzazioni (ultimi 30 giorni)
i can't use scope with pwm block and i want to see only simulated signals in scope like proteus simulation.Not real.Please help me.

Risposte (1)

Venkatesh Chilapur
Venkatesh Chilapur il 2 Gen 2018
Hi,
We can log the input signals like GPIO input, ADC readings. We can also log state of variables using memorycopy block. So in case of GPIO output, you can identify the variable whose value would eventually be written GPIO output register and log the state of the variable, which would give an effect of logging the output signal itself.
The same approach may not be possible with PWM as it a combination of values that would eventually generate the output. Since much of this activity of using multiple data sets to generate the PWM signal is done by hardware, it is hard to trace the signal activity.
So, with ePWM block or any other block it is not possible to log the PWM signal in simulink environment.
Regards,
Venkatesh C

Community

Più risposte nel  Power Electronics Control

Categorie

Scopri di più su Signal Generation, Manipulation, and Analysis in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by