Generate deadband smaller than Ts (sample time)
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2024-6-20
I would be surprised if you can add deadband that is smaller than your Ts.
回答(1 个)
R
2024-6-20
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!