Generate deadband smaller than Ts (sample time)

2 ビュー (過去 30 日間)
Arifin
Arifin 2024 年 6 月 20 日
回答済み: R 2024 年 6 月 20 日
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
Walter Roberson 2024 年 6 月 20 日
I would be surprised if you can add deadband that is smaller than your Ts.
Arifin
Arifin 2024 年 6 月 20 日
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~

サインインしてコメントする。

回答 (1 件)

R
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!

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by