Generate deadband smaller than Ts (sample time)

2 visualizaciones (últimos 30 días)
Arifin
Arifin el 20 de Jun. de 2024
Respondida: R el 20 de Jun. de 2024
Hi,
I am working with MPC for control inverter.
the output MPC connected to GPIO DO.
however i need to add deadband between MPC and GPIO.
Ts = 50e-6. and i would like to generate deadband 1e-6.
1.how to generate deadband smaller than Ts in C2000 Simulink ?
2. If there is possible to use ePWM module, hiw to set up ePWM module ?
  2 comentarios
Walter Roberson
Walter Roberson el 20 de Jun. de 2024
I would be surprised if you can add deadband that is smaller than your Ts.
Arifin
Arifin el 20 de Jun. de 2024
Thank you for your respond.
  1. Is there any example/tutorial availble for ePWM module connected to MPC ?
  2. another question, is it possible to use step-size (fundamental step) 1e-6 and Ts 50e-6 for Simulink aumatic code generation for DSP F28377D ?
i am newbie in this field. So need further assitance or guidance~

Iniciar sesión para comentar.

Respuestas (1)

R
R el 20 de Jun. de 2024
The deadband observed in the ePWM block pertains to the PWM signal on the designated target, and it's important to note that this is not directly linked to the sampling time. When it comes to tasks such as controlling an inverter using a Model Predictive Controller (MPC) and integrating with hardware components like Digital Output (DO) GPIOs or ePWM modules, there are tailored strategies that can be utilized.
To adjust the ePWM Block, you simply need to drag and drop the ePWM block into your model from the C2000 library. By double-clicking on the block, you will access its parameters, where you can then proceed to the Deadband unit section.
Within this section, you have the option to define the deadband duration either in clock cycles or in seconds, depending on what suits your project better.
In this instance, I have configured it to a duration of 1e-6 seconds.
Hope it helps!

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by