hello,

I want to calculate the parameters of PI controller, I need the tangent of the step response, can you please tell me how to do it.

cheers

+2 votes

Hi,

You can use the PLECS scope to do this. Either place the cursors close to the beginning of the step response and calculate the slope or, if you assume an exponential step response, place the second cursor at ≈63% of the final value and read off the time constant directly. (Like in the attached picture)

I hope this helps you.

Best regards,

NF

You can use the PLECS scope to do this. Either place the cursors close to the beginning of the step response and calculate the slope or, if you assume an exponential step response, place the second cursor at ≈63% of the final value and read off the time constant directly. (Like in the attached picture)

I hope this helps you.

Best regards,

NF

Hi,

No, the cursors show the time but also the value of the displayed signal. To calculate the slope at a given point, place the two cursors t_{1} and t_{2} close together and read off the signal values u_{1} and u_{2 }at both times t_{1} and t_{2}. Then build the ratio:

slope = (u_{2}-u_{1})/(t_{2}-t_{1})

You might want to decrease the relative tolerance in the solver settings to get a better approximation of the slope.

For some operating systems (e.g. happens sometimes on Windows), you need to stretch the tab showing the signal values slightly to the right to effectively see the values. Like in the attached picture.

Best regards,

NF

...

thanks for your reply, what I want to have is the A which means I need to see the slope so I can estimate the A which we are using in the PI ziegler method tunig

I still dont get your point in using the cursor as whe I use the 2 cursor,they are both just calculating time

cheers