필터 지우기
필터 지우기

Generate deadband smaller than Ts (sample time)

조회 수: 4 (최근 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!

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by