Generate deadband smaller than Ts (sample time)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 20 Jun. 2024
I would be surprised if you can add deadband that is smaller than your Ts.
Antworten (1)
R
am 20 Jun. 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!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Code Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!