Borrar filtros
Borrar filtros

External mode error 28379D

2 visualizaciones (últimos 30 días)
Akarsh Murthy
Akarsh Murthy el 30 de Mayo de 2019
Respondida: Pemendra Kumar Pardhi el 8 de Sept. de 2019
I am trying to implement voltage control for a buck converter. I am using ADC pins on my 28379D launchpad to read the output voltage of my buck converter. I am then implementing the control as shown in figure below. I am then using the digital output pin GPIO DO to output the PWM.
I am using fixed step in the solver with step size being 1e-7. I am using 1e-7 because otherwise the signal generator does not output a proper sawtooth signal. With this step size I get the following error
But if I use auto step size the external mode runs. The problem is the signal generator does not output a proper sawtooth. I get more of a triangle wave. And I dont see any output at the GPIO DO pin.
Can anyone help me sort this issue? Or you can also suggest me a different approach to implementing the control.
Thanks,
Akarsh M

Respuestas (1)

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi el 8 de Sept. de 2019
I have same problem in close loop operation of VSI when PI controller is used from discrete library. I think as per your model you need to use PID(PI and D=0) controller from C28X DMC library with selection of data type conversion after ADC scaling block.
If you have already solve this problem than provide the solution sothat it will be help full for someone
Thanks
Pemendra Pardhi

Categorías

Más información sobre Electrical Block Libraries en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by