Why does the use of "svpwm generator 2-level"simulink module have a step change in motor speed in the closed-loop control of the motor
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
xue li
am 27 Feb. 2023
Kommentiert: xue li
am 13 Mär. 2023
After building the following simulation model, the sampling method is set as discrete sampling, the sampling time is 1e-6s, and the ode3 solution method, the motor speed results show step phenomenon. Among them, the SVPWM module configured to alpha beta - components, Pattern1, 100000 hz, 1 e - 6, the Universal bridge module configuration for the IGBT, other parameters not mentioned as the default parameters.
Finally, what sampling and decampling method is suitable for the "SVPWM Generator(2-Level)" module? Is it better to be discrete or continuous? Which solution should be chosen?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1308210/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1308215/image.png)
0 Kommentare
Akzeptierte Antwort
Joel Van Sickel
am 2 Mär. 2023
For the 2nd motor, you have a single simulink line for dq0, except, the 0 value (3rd element) is the top motor's speed. I don't know if that motor is spinning or not, but that would mess up any of your clark/park transforms if you are taking zero sequence into account) You shoud set the value explicitly to 0 for this model since you are explicitly defining your dq0 values. However, if your top motor isn't spinning, you will accidentally be sending the correct value of 0. Can you share the model if this doesn't fix things?
3 Kommentare
Joel Van Sickel
am 3 Mär. 2023
Bearbeitet: Joel Van Sickel
am 3 Mär. 2023
It looks like for this pwm generator, to get better results, you need to change the PWM resolution of the PWM generator. I got rid of most of the steps by switching to 0.5 us. It gets much better at 0.25 us. However, this will slow down your simulation. Unloaded motors typically do require smaller time steps to simulate accurately. Sometimes you can also put a snubber resistor on their terminals to allow for accurate simulation with larger time steps (but it adds innacuracies to the simulation). You can also set the PWM generator to a sample time of 0 to make it continuous time and get a very clean response. I didn't have your SVPWM file so I can't comment on the version that you implemented working where this one needed a smaller time step.
I would use the solver ode23tb for a specialized power system model like this.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Motor Drives finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!