How can I reach the desired rotor speed of a three phase PMSM motor using a PI-Controller?
For study purposes I modelled the Speed controlling of a DC-Motor on Matlab-Simscape using a controlled voltage source, a saturation for the Amplitude of the voltage input and a PI-Controller to control the Motor to rotate with the (desired) controlled rotor speed. This worked properly. (dont mind the blue outliers of the blue signal in the second picture (probably due to the I-Parameter of the PI-Controller).
See the DC-Motor speed (w) controlling and also the signal of both the desired one and actual one:
Now I got a task to do, which is to convert the DC-Motor into a three phase PMSM Motor under the same circumstances, which means I have to get the same rotor speed as the desired one and the same inertia of the motor as an output like the DC-Motor.Here is what I did:
I used the same PI-Controller but a mux as an output of three saturations and used a three phase controlled voltage soure for the motor.
Now both the desired rotor speed and the actual one look nearly also the same (except the outliers propably due to the P-Parameter).
What I dont understand ist that in the display I get the see weird rotor speed values with (e-5 to e-15) which nearly equals 0:
As if I am not 100% if I constructed the PMSM Model without mistaked, especially since the 3 currents of the three phases are not in a sinusoidal or repetitional nor with a shifted shape.. See the current signals..
I am looking for any suggestions how to build this or where might be the errors.
here are the settings of both motors from both models:
PMSM:
DC-Motor:
I used the same PI-Controller settings and also the same saturation and also Pulse Generator values… (for the PMSM I used 3 saturations since the three phase voltage source has 3 voltage inputs). Not sure If this is wrong and there is a correct way to do this..
Any help would be much appreciated! Thanks a lot in advance!For study purposes I modelled the Speed controlling of a DC-Motor on Matlab-Simscape using a controlled voltage source, a saturation for the Amplitude of the voltage input and a PI-Controller to control the Motor to rotate with the (desired) controlled rotor speed. This worked properly. (dont mind the blue outliers of the blue signal in the second picture (probably due to the I-Parameter of the PI-Controller).
See the DC-Motor speed (w) controlling and also the signal of both the desired one and actual one:
Now I got a task to do, which is to convert the DC-Motor into a three phase PMSM Motor under the same circumstances, which means I have to get the same rotor speed as the desired one and the same inertia of the motor as an output like the DC-Motor.Here is what I did:
I used the same PI-Controller but a mux as an output of three saturations and used a three phase controlled voltage soure for the motor.
Now both the desired rotor speed and the actual one look nearly also the same (except the outliers propably due to the P-Parameter).
What I dont understand ist that in the display I get the see weird rotor speed values with (e-5 to e-15) which nearly equals 0:
As if I am not 100% if I constructed the PMSM Model without mistaked, especially since the 3 currents of the three phases are not in a sinusoidal or repetitional nor with a shifted shape.. See the current signals..
I am looking for any suggestions how to build this or where might be the errors.
here are the settings of both motors from both models:
PMSM:
DC-Motor:
I used the same PI-Controller settings and also the same saturation and also Pulse Generator values… (for the PMSM I used 3 saturations since the three phase voltage source has 3 voltage inputs). Not sure If this is wrong and there is a correct way to do this..
Any help would be much appreciated! Thanks a lot in advance! For study purposes I modelled the Speed controlling of a DC-Motor on Matlab-Simscape using a controlled voltage source, a saturation for the Amplitude of the voltage input and a PI-Controller to control the Motor to rotate with the (desired) controlled rotor speed. This worked properly. (dont mind the blue outliers of the blue signal in the second picture (probably due to the I-Parameter of the PI-Controller).
See the DC-Motor speed (w) controlling and also the signal of both the desired one and actual one:
Now I got a task to do, which is to convert the DC-Motor into a three phase PMSM Motor under the same circumstances, which means I have to get the same rotor speed as the desired one and the same inertia of the motor as an output like the DC-Motor.Here is what I did:
I used the same PI-Controller but a mux as an output of three saturations and used a three phase controlled voltage soure for the motor.
Now both the desired rotor speed and the actual one look nearly also the same (except the outliers propably due to the P-Parameter).
What I dont understand ist that in the display I get the see weird rotor speed values with (e-5 to e-15) which nearly equals 0:
As if I am not 100% if I constructed the PMSM Model without mistaked, especially since the 3 currents of the three phases are not in a sinusoidal or repetitional nor with a shifted shape.. See the current signals..
I am looking for any suggestions how to build this or where might be the errors.
here are the settings of both motors from both models:
PMSM:
DC-Motor:
I used the same PI-Controller settings and also the same saturation and also Pulse Generator values… (for the PMSM I used 3 saturations since the three phase voltage source has 3 voltage inputs). Not sure If this is wrong and there is a correct way to do this..
Any help would be much appreciated! Thanks a lot in advance! electric_motor_control, matlab compiler, simulink, simulation, simscape, model MATLAB Answers — New Questions