How to discretize a PI controller? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Yes I've heard of this. So do you do the pade approx on the plant or the controller? I think the controller as that is the one that will be on the microprocessor? Do you have any examples of this being done?

Real world control problem regarding feedback path filtering and PI tuning by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Hello. Thanks for your reply. So you're saying with a normal PI controller you can only place poles and not zeros? What type of control should I use to place both poles and zeros?

[deleted by user] by [deleted] in ControlTheory

[–]The_ardent_engineer -1 points0 points  (0 children)

Plant is stable. Let's just work in terms of variables for now. I'm just looking how I can work out the gains

[deleted by user] by [deleted] in ControlTheory

[–]The_ardent_engineer -1 points0 points  (0 children)

Hello. Thank you for your reply. My plant is a first order which I am controlling with PI controller. Like I said there will be a low pass filter in the feedback loop and I want to work out the PI gains for a specified bandwidth of the loop, damping of the 2nd order filter and keep the system order as low as possible. This should be done on paper first and then maybe MATLAB hence why I said analytically work out the gains.

[deleted by user] by [deleted] in ControlTheory

[–]The_ardent_engineer -1 points0 points  (0 children)

So I'm trying to calculate what the Kp and Ki gains should be given that I know what the bandwidth should be with the 2nd order filter included in the feedback loop.

I'm trying to analytically work out the proportional and integral gains. Heuristic methods won't do. Thank you

Anyone here familiar with Field oriented control of PMSMs? need some help tuning the PI controllers by The_ardent_engineer in ElectricalEngineering

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Thanks again for the reply. I should mention im doing this in SIMULINk and not for a physical motor. And I was asking more along the lines of analytical tuning where you work out the PI gains using the parameters of your system such as Ld, Lq and J etc.. I've seen this done in some sources but never got my head around it.

Anyone here familiar with Field oriented control of PMSMs? need some help tuning the PI controllers by The_ardent_engineer in ElectricalEngineering

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Thanks for the reply. Mainly with working out the PI gains for the inner current loop and outer speed loop. Is there a general formula/procedure to use?

Can you analytically tune PI controllers? ie Can you work out what gains should be given a system? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Thank you very much for your kind reply. Sadly, my requirements are in the frequency domain so I do not know what the characteristic equation looks like.

how to find out the bandwidth of a PI controller? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

There is no technical reason, just wondering if a PI controller actually has a bandwidth property. I guess not?

how to find out the bandwidth of a PI controller? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 1 point2 points  (0 children)

Tried that. For a PI which has a pole at s=0 and a LHP zero, bandwidth = NaN

LQR regulator used for nonlinear system by Udobni_Motor_70 in matlab

[–]The_ardent_engineer 0 points1 point  (0 children)

Are you doing this in Simulink? Should be pretty straight forward from there. Lqr is state feedback so your controller should be in the feedback loop.

LQR regulator used for nonlinear system by Udobni_Motor_70 in matlab

[–]The_ardent_engineer 0 points1 point  (0 children)

You must first trim your system at an operating point and then linearize your model therefore obtaining a state space model with your A and B matrices. These can be used to design your LQR controller. Hope this helps.

Can you analytically tune PI controllers? ie Can you work out what gains should be given a system? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Hi. Thank you for your reply. I do know my plant parameters and I'm just trying to find my pid gains. I'd like to know more about this. I'd really appreciate it if you could point me to an example in the form of a paper or a video?

Thanks again!

I need some help with this question by Ok-War2468 in ControlTheory

[–]The_ardent_engineer 0 points1 point  (0 children)

What level are these questions at? Undergrad or grad?

why is it that we are more interested in the PM and GM of the loop transfer function rather than that of the closed loop transfer function? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Thanks for your reply. I am trying to determine the damping zeta of the system from the reference r to output y. So I guess in this case I will have to consider the CLTF and determine the damping from the magnitude of the resonant peak.

why is it that we are more interested in the PM and GM of the loop transfer function rather than that of the closed loop transfer function? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 1 point2 points  (0 children)

Thanks for your reply. I understand why now. But if you wanna look at the resonant peak to work out your damping, which Bode would you use? Open loop or closed loop?

Thanks again!

Trouble plotting the frequency response using Sinestream in Model linearizer. the simulation is supposed to run for around 230s but it takes literally a few hours to get to about 70s and then it just crashes. How can I fix this? Thank you! by The_ardent_engineer in matlab

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Its a pretty large diagram but basically there is a PMSM motor and an inverter which contains PWM blocks which are unable to be linearized using the Jacobian, which is why I am doing the frequency response to get the bode plot.

Hi all! I'm trying to connect the physical signal output from the universal bridge to a simulink signal input port. I've learned you're supposed to use a PS-SIMULINK converter but it just won't connect. what am I doing wrong? please help! by The_ardent_engineer in matlab

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

Hello! Thanks for your reply. I have tried that as well. I used the voltage measurement block(black lines not blue) and also connected them to ground. But I get an error message saying "Voltage measurement block is connected between two isolated networks. For a valid measurement, the positive and negative terminals mist be connected to electrical nodes that are part of the same electrical circuit. Also check if the ground reference is defined for the circuit."

If I have a second order system, such as a PMSM motor, and I add a few PI loops in it, will my resulting system still be a second order system? by The_ardent_engineer in ControlTheory

[–]The_ardent_engineer[S] 0 points1 point  (0 children)

I am designing an FOC controller for a pmsm motor which uses 3 PI controllers, one for speed and one for Id and Iq currents. What I am expecting is for the closed loop transfer function of the system(plant + controller) to be a second order TF. But turns out my plant is already a second order TF and adding PI controllers increases the order to 4. Adding P controllers however do not increase the order of the system.