LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID Design vs PID Implementation problem

Hi there,

Recently, I just made my (simple) model and tuned it with PID Controller. Here's my steps:
1. Do some calculation
2. Use the parameters to build the model (H(s))
3. See the step response of my uncompensated model
4. Tuned it with PID (Academic mode) from Control Design Toolkit
5. Transform my model from s-domain to z-domain (H(z))
6. Compare my H(s) with H(z) step response to check the result of my model in z-domain
6. Remember my setting on PID Controller

I did point 5 since I will use it in real world application (DAQ). I did point 1-6 and ended sucessfully. I called this procedure as my 'Design.vi' (see attachment).

Then, I created another file ('Implementation.vi') which contain the PID (from PID Toolkit) and my digitized model (H(z)) same as the one from the design procedure. Unfortunately, I've been trying to set up the PID just like the design steps but it didn't work. So my question is, how to set PID in my 'Implementation.vi' so I can get same result as my design ?

Thx in advance !


Download All
0 Kudos
Message 1 of 2
(2,681 Views)
Dear Sir,
 
Thank you for your post on the discussion forum. The best thing to do is to review a example in Labview. One example which may be suitable is; PID with noise plant. Please use the example finder to find this example.
 
Please have a look at the controller sampling time' which controls the loop and the PID VI.
 
If you have any questions please don't hesitate to contact me.
 
Best Regards,
 
Martijn S
Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 2 of 2
(2,565 Views)