Hi, I followed up your steps and the model can run well. The model setting is the same with your video. However, the out waveform of Iq, Id is a very sharp jumping without a smooth transition. What's wrong with me? Could you advise?
Hi i realy like this playlist and im learning from you the FOC simulation. however i have a question . Why do we need to REGULATE the "Id" and "Iq" ? if we can implement them directly into our "DQ_to_ABC" ? like you did "id = 2" and "iq = 0" i dont see any benefits on REGULATING. can you explain to me ? thanks in advance
Just setting Id and Iq without a closed loop, only works for one operating point. When load and speed changes, the current change as you are regulating voltage to control current, indirectly.
Hi I have tried implementing the steady state PMSM as you explained . However, I am getting the a,b, c phase currents till the step time as sustained oscillations instead of the decaying oscillations you shown Can you explain to me why it happen so?
Hi, It is very difficult to say why without seeing what you are seeing. Please make sure all simulation settings are correct and parameters are also the same. May be it is your parameters.
Thank you for these lectures sir, I am wondering how one could obtain Lq and Ld of a real machine. Or is this extremely hard to get and have to ask manufacturer if they have these values?
Hi Milan. This is not that difficult. I have discussed this topic in one of the lectures on my channel. It talks about how to characterize a PMSM. Please take a look and let me know if you have any questions.
Dear sir....i am from sri lankan military ..i am trying to build AC 3phase motor controller ...i choose STM32 MC work bench for that....but it is only for PMSM Motors ...sir is it work with ACIM ??
Thanks for very useful video on implementation FOC for PMSM. I have doubt that @3:00 you took Lq for SM-PMSM what will change Kp and Ki value if i use IPMSM?
@@SandunKuruppu Actually I'm trying ask that As you mentioned for Surface mounted Kp= W_bw*Lq and Ki=W_br*rs. Now if I have to use IPMSM. How can I calculate that?
@@trickyelectrical4197 For Q-axis use Q-axis inductance and for D-axis, use D-axis inductance in Kp calculation for each axis. Rs remains the same for both axis Ki calculation.
Thanks for the lectures Sir, as I am new to Simulink, unable to create block for Kp - Ki which is explained @4:48. Could U please help me in creating the block.
Thanks for the follow up video. Just a quick question. @4:52 BW = 2*pi*10; Is the value 10 approximated something like (speed_rad_per_sec * rad_per_sec_to_Hz * 0.7071) ? Thank you. By the way I have followed along and implemented the model. It is working as expected. I have committed the model to my git repo.
The BW is bandwidth. I explain this in more detail in another video. It is the frequency in radians per second. So the value in 10 is frequency in Hz. Okay?
@@SandunKuruppu I did something like this. Speed = 100 rad per sec 1 Rad per sec = 0.1592 Hz 3db cutoff = 0.7071 BW = 100 * 0.1592 * 0.7071 = 11.26 Hz Please correct me if I am wrong. Thank you.
Nice explanation! Keep sharing!
Thank you, I will
Hi, I followed up your steps and the model can run well. The model setting is the same with your video. However, the out waveform of Iq, Id is a very sharp jumping without a smooth transition. What's wrong with me? Could you advise?
I'd have to see the results. Is it not matching up with what I have in my results?
Hi i realy like this playlist and im learning from you the FOC simulation. however i have a question .
Why do we need to REGULATE the "Id" and "Iq" ? if we can implement them directly into our "DQ_to_ABC" ? like you did "id = 2" and "iq = 0" i dont see any benefits on REGULATING. can you explain to me ? thanks in advance
Just setting Id and Iq without a closed loop, only works for one operating point. When load and speed changes, the current change as you are regulating voltage to control current, indirectly.
Hi
I have tried implementing the steady state PMSM as you explained . However, I am getting the a,b, c phase currents till the step time as sustained oscillations instead of the decaying oscillations you shown
Can you explain to me why it happen so?
Hi, It is very difficult to say why without seeing what you are seeing. Please make sure all simulation settings are correct and parameters are also the same. May be it is your parameters.
I came up with a trouble. why is the rs in parameters.m not visible in motor function box? Undefined function or variable 'rs'.
Solved
You need to define it.
Sir for attaining speed > base speed, field weakening : how can we regulate i_d current for negative values?
You only have to command negative Id current and the controller will do the rest.
Thank you for these lectures sir, I am wondering how one could obtain Lq and Ld of a real machine. Or is this extremely hard to get and have to ask manufacturer if they have these values?
Hi Milan. This is not that difficult. I have discussed this topic in one of the lectures on my channel. It talks about how to characterize a PMSM. Please take a look and let me know if you have any questions.
@@SandunKuruppu Thank you sir!
Dear sir....i am from sri lankan military ..i am trying to build AC 3phase motor controller ...i choose STM32 MC work bench for that....but it is only for PMSM Motors ...sir is it work with ACIM ??
Thanks for very useful video on implementation FOC for PMSM. I have doubt that @3:00 you took Lq for SM-PMSM what will change Kp and Ki value if i use IPMSM?
Update the Kp for each axis will change based on the inductance.
@@SandunKuruppu Actually I'm trying ask that As you mentioned for Surface mounted Kp= W_bw*Lq and Ki=W_br*rs. Now if I have to use IPMSM. How can I calculate that?
@@trickyelectrical4197 For Q-axis use Q-axis inductance and for D-axis, use D-axis inductance in Kp calculation for each axis. Rs remains the same for both axis Ki calculation.
@@SandunKuruppu Thank You
Thanks for the lectures Sir, as I am new to Simulink, unable to create block for Kp - Ki which is explained @4:48. Could U please help me in creating the block.
You can use a transfer function block and set gains in the block.
Thanks for the follow up video. Just a quick question. @4:52 BW = 2*pi*10; Is the value 10 approximated something like (speed_rad_per_sec * rad_per_sec_to_Hz * 0.7071) ? Thank you. By the way I have followed along and implemented the model. It is working as expected. I have committed the model to my git repo.
The BW is bandwidth. I explain this in more detail in another video. It is the frequency in radians per second. So the value in 10 is frequency in Hz. Okay?
@@SandunKuruppu I did something like this.
Speed = 100 rad per sec
1 Rad per sec = 0.1592 Hz
3db cutoff = 0.7071
BW = 100 * 0.1592 * 0.7071
= 11.26 Hz
Please correct me if I am wrong. Thank you.
@@vevasam Yes, this is fine.
@@SandunKuruppu Thank you.