Clear Filters
Clear Filters

How can I make a connection from the ePWM block to the MOSFET driver of the invertor circuit in Simulink Matlab 2024a?  

1 view (last 30 days)
I am using TI F2840049C to implement a SPWM to control the 3 phase inverter. I have generated SPWM using sine block and ePWM block in simulink Matlab. How could the following PWM generation (attached file) in Simulink be connected with the three-phase invertor circuit? I mean, from where, and which block will connect to the MOSFET driver in the invertor circuit?

Answers (1)

MULI
MULI on 16 Sep 2024
I understand that you are working with the TI F280049C microcontroller to generate SPWM signals in Simulink and you need to connect these SPWM signals to the MOSFET drivers in the inverter circuit.
You can follow these steps to achieve this:
  • Open the ePWM blocks in your Simulink model and set parameters such as frequency, duty cycle, and phase alignment to match your inverter's requirements.
  • Assign each ePWM block to one of the three phases (A, B, and C) of your inverter.
  • In the Simulink model's hardware configuration settings, specify which pins on the TI F280049C will output the PWM signals.
  • Physically connect the PWM output pins on the TI F280049C to the input of the MOSFET driver circuit.
  • Use the Embedded Coder to generate code from your Simulink model and deploy it to the TI F280049C microcontroller.
  • Use an oscilloscope to monitor the PWM signals at the microcontroller outputs and the MOSFET driver inputs.
By following these steps, you can effectively connect your SPWM signals from Simulink to the MOSFET drivers in your three-phase inverter circuit.
You can refer to the following documentation link for more examples related to this

Community Treasure Hunt

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

Start Hunting!