Clear Filters
Clear Filters

Unified PWM Modulator for a 2-level, 3-phase converter

24 views (last 30 days)
I'm now trying to do the simulation of induction motor with both structures of FOC and DTC, and I found two examples on the Matlab website which are
1.Field-Oriented Control of an Induction Motor Drive Used in a Ground Transportation System
2.Direct Torque Control with Space Vector Modulation of an Induction Motor Drive
In both examples I all see the block as in the down picture, it says that this is the pwm modulator and all be set as the svpwm mode.
I want to know how it works inside, because I bearly can't see anything after unmask it. I want know how it calcaultae the modulation index , and how it decide to command the converter.

Answers (1)

Saurav
Saurav on 7 Mar 2024
Hello Yanshu,
I understand you want to know how the "PWM Modulator" block works internally, including how it generates the modulation index and how it triggers the converter.
When you open the Block Parameters of the "PWM Modulator" block in the FOC example or the "SVPWM Modulator" block in the DTC example, the description says it is setup as a Unified PWM modulator for a 2-level, 3-phase converter for both blocks. For a detailed explanation of how this "PWM Generator (Three-phase, Two-Level)" block functions, you can refer to the following link:
Additionally, you can peek under the block's mask to inspect its subsystems by following these steps:
  1. Select the “PWM Modulator” block.
  2. Right-click on the block, choose ‘Mask’ > ‘Look Under Mask’.
Alternatively, you can select the block and press CTRL+U to perform the task directly.
Inside the subsystem, you will find a custom MATLAB function block where the “PWMmethod” parameter is passed. This parameter varies based on the PWM method you have selected from the drop-down menu in the block's configuration parameters.Follow the below steps to see the values assigned to this parameter:
  1. Right-click on the “PWM Modulator” block, select ‘Mask’ > ‘Edit mask…’.
  2. Go to the ‘Code’ tab to check the parameter callback section.
I hope you find this helpful.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!