Having trouble connecting simulink duty cycle signal to simscape inverter block

2 views (last 30 days)
I want to simulate and test motor control software using simscape pmsm motor block. For this i wanted to see if i can use the control code from mcb_pmsm_foc_hall_f28069m. Since simscape and simulink blocks have different types obviously i cannot connect them, and i thought that if i can connect the duty cycle signal to the inverter i could make it work. The problem is simscape inverter block does not have an input for me to connect the duty cycle.Then i found the code ee_pmsm_drive and wanted to use the inverter block in this code. But this time the IGBT blocks need six input signals and i only have the duty cycle signals of Vabc.

Accepted Answer

Sabin
Sabin on 26 Jun 2023
You can replace the Converter (Three-Phase) with the Averaged Value Voltage Source Converter (Three-Phase)
In this way you can pass the Modulation Waveforms (3 signals) to the electrical drive implemented in Simscape.
The following example shows how to use this block in electric drives:
I hope this helps.

More Answers (0)

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!