LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID simulation

krishna_das_0-1660132609726.png

Hello I am new in labview, I want to simulate this pid controller , using the values of kp = 12, Ki= 12.6316 and Kd = 7.6 ,  on the basis of mentioned gain values ti and td are calculated.

On running it I am getting such response

 

krishna_das_1-1660133052884.png

 

But this is not correct  as , implemented the same  thing in scilab and got response below.

 

krishna_das_4-1660133549425.png

 

Below is implementation in scilab

 

krishna_das_2-1660133430734.png

krishna_das_3-1660133493591.png

 

Please help..

 

0 Kudos
Message 1 of 6
(2,268 Views)

 

Hi All

 

I  want to do time domain analysis of below system, I want to find settling time, rise time ,  etc. 

Please help

krishna_das_0-1660281811004.png

 

0 Kudos
Message 2 of 6
(2,227 Views)

Hi krishna,

 


@krishna_das wrote:

I  want to do time domain analysis of below system, I want to find settling time, rise time ,  etc. 


  1. write down all the formulas you need to determine your data.
  2. implement those formulas in LabVIEW!

Where are you stuck?

 

Do you really have a plant where you use PI gains of 2e-9 and 1e+20???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(2,218 Views)

Yes I do have a plant , I want to  measure rise time , settling time, peak overshoot , peak time  etc for this

0 Kudos
Message 4 of 6
(2,203 Views)

that  is T i =  1e+20 , means  Ki is set to zero.

0 Kudos
Message 5 of 6
(2,202 Views)

Dear krishna_das,

 

https://www.intechopen.com/chapters/75407 I've found this article that is about labview data analysis functions. You can find what could help your case and use it. I guess you should do the analysis on the cluster that is depicted as a xy graph.

Message 6 of 6
(2,135 Views)