LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How we can avoid the un wanted pulses generated at the output of the PID controller

Sir

  I am controlling the level of a  water at desired postion. I  am using PID  controller. The values are tuned and i got the simulated  reult at the out put . But now problem happened  that  some unwanted pulses are generating at the out put of the PID controller. Can any bode help regrds this please.......

Regards

FSK

0 Kudos
Message 1 of 11
(3,418 Views)

duplicate post  http://forums.ni.com/t5/LabVIEW/How-we-can-avoid-the-un-wanted-pulses-generated-at-the-output-of/td...

 

one place is enough for asking this question

 

 

0 Kudos
Message 2 of 11
(3,414 Views)

NYC - you linked back to this post, rather than to the duplicate posted in the Instrument Control board.

 

FSK - can you attach your code, and a graph of the unexpected output or something similar?  Otherwise there's not enough information to help.

0 Kudos
Message 3 of 11
(3,393 Views)

NATHAND

     I have seen the pulses generated at the output by observation  .when  I am simulated the code no pulses are generated but when I am implemented in the  system I am getting this pulses. This is  observed when there is change  in  the value of the sensor.

0 Kudos
Message 5 of 11
(3,367 Views)
That's still not a lot of information to work with. Does your simulation match your real system well? Have you tried tuning the real system, or are you using gains derived from simulation? Is there noise in the teal system that is not present in the simulation? Derivative control in particular is very sensitive to noise, if that is your problem consider using PI control only.

Again, it would help if you could graph your process variable, setpoint and output showing these spikes.
0 Kudos
Message 6 of 11
(3,365 Views)

Nathand

 I am using PID coefficients which derived from  the simultaneously derived for simulation is same as with model of the system except with sensor  and actuator. Actuator used in the real system is solinodvalve  and  sensor output is not linear with  measured value.

 

 

 

 

0 Kudos
Message 7 of 11
(3,358 Views)

Nathand

 I am using PID coefficients which is derived from simulation.  the real model and  simulated sutem are   same  except with sensor  and actuator. Actuator used in the real system is solinodvalve  and  sensor output is not linear with  measured value. 

 Ther pid coeffiecents are

 

p=60.7616469938741
i=5.89072520625225
d=-219.965319877913 and 

  system transfer function fort the simulation is

T(s)=0.0217/(17.45s+1)

 

 

0 Kudos
Message 8 of 11
(3,358 Views)

Well, clearly the simulation and the real system are not the same, or your controller would work the same way.  If you can't provide any data showing what's happening, I can't do much to help.  I'm not a theory person - I don't care what your theoretical transfer function is, if it doesn't work in the real system then it's not very helpful and you should tune using the real system if possible.

 

Are you running the simulation in LabVIEW, or in some other environment such as Matlab?  If you're simulating in another environment and then trying to use those same tuning parameters, make sure that the forms of the PID and the units are the same.  I assume you're using the LabVIEW PID toolkit.  The time units are minutes (not seconds) and it's in standard form, where the integral gain is actually the proportional gain divided by the integral time (in minutes), and the derivative gain is the derivative rate multiplied by the proportional gain.

0 Kudos
Message 9 of 11
(3,353 Views)

Nathand

   Sir  i will give the data tommorw as today the lab will not open for us. Sir how i can tune the real system.

 

 I am calculating the PID coeffiecents( P I D values )  using by the simulink model and calculated the  Kc Ti and Td  values using the formula. then applied in the simulation.

0 Kudos
Message 10 of 11
(3,350 Views)