Clarify? What are you dealing with? does your application already have PID and you are trying to tune it? Or you are trying to add PID to your application?how can i control the settling time using PID to reach the setting point in different times??
plz help me..
Clarify? What are you dealing with? does your application already have PID and you are trying to tune it? Or you are trying to add PID to your application?
assuming you already have PID and you are trying to tune it:
First, make sure that your input gain and span are such that your desired setpoint is in the middle of the range, and not off to extreme.
I also usually leave a little bit of "deadzone" at each end of the range (i.e. first 25% of range corresponds to 100% PID. 26%-75% of range correspond to 99%-1% PID. 76%-100% of range corresponds to 0% PID.) This enables a little bit of time buffer for PID to be "in the red" before your system self destructs.
Generally you want to adjust your "P" (proportional gain) until the system oscillations are minimal. the lower the setting, the more stable the system will be. the higher the setting, the more responsive it will be.
Then, adjust the "I" (integral time) until oscillations get near zero. Again, the lower the setting, the more stable the system will be. the higher the setting, the more responsive it will be.
I don't normally mess with "D" (derivative)
I haven't seen PID used for heating the way you are describing. What you are describing would probably require voltage control. the reason is because PID in heater controller is bang-bang type. either on or off - so when you first turn the system on (cold) it will immediately apply 100% power to the heater and monitor the feedback as temperature comes up. It will measure the rate of increase to determine when to "let off" (based on PID parameters). It will always heat up as fast as possible. I don't see any reason why a PID controller could not do what you are describing with PWM if it were designed for such; but I've never one with that function. I would advise you to do some research/call up manufacturers and ask if their products support what you are trying to accomplish.i want to add a PID controller to control a heating system to achieve different settling time
for example : reach 50 C (setting Point) in 100 seconds (settling time),, reaching 50 C in 200 seconds.. not reaching my set point in a fixed time..
so how can i get a relation that achieve that-> reaching my set point in different times..
Is varying the duty cycle of PWM signal (o/p of PID) will achieve that?? if yes,, so what's the relation between the duty cycle and the settling time?
Is varying PID parameters (P,I,D) will achieve that?? if yes ,, so what's the relation between them and the settling time??
Is varying Ts (sampling time ) will achieve that?? if yes ,, so what's the relation between the sampling time and the settling point??
thanks for your concern
Yes, usually large heating systems use bang/band type control. However, we used to see PID used for thermal chambers in order to improve the control. In recent years these PID controllers have been largely replaced by fuzzy logic controllers.I haven't seen PID used for heating the way you are describing.
thanks very much..I haven't seen PID used for heating the way you are describing. What you are describing would probably require voltage control. the reason is because PID in heater controller is bang-bang type. either on or off - so when you first turn the system on (cold) it will immediately apply 100% power to the heater and monitor the feedback as temperature comes up. It will measure the rate of increase to determine when to "let off" (based on PID parameters). It will always heat up as fast as possible. I don't see any reason why a PID controller could not do what you are describing with PWM if it were designed for such; but I've never one with that function. I would advise you to do some research/call up manufacturers and ask if their products support what you are trying to accomplish.
Correct me if I'm wrong M7, but I think when he refers to "settling time", he's referring more to a "ramp time" - the total time it takes from when you turn it on, or when you change the setpoint, to when it reaches the new setpoint (i.e. the entire PID curve); not really a settling time like I would usually think of it - the time at or near the end of the upward trend curve (or when compensating for a change up/down in temperature) at which temp stops changing and levels out. (at least that's the way I interpret it). changing this "total time" (as I will refer to it now) is what I'm not sure how to do. I've never seen an option for it in a controller.Yes, usually large heating systems use bang/band type control. However, we used to see PID used for thermal chambers in order to improve the control. In recent years these PID controllers have been largely replaced by fuzzy logic controllers.
In any event, when a PID system is in use, the PID parameters are the logical thing to change to try and tune the settling time.
The system itself is not tunable, and generally things like PWM frequency and sampling time are not going to be a factor unless they are set too low, which is not likely in a large thermal system.
The proportional gain should be set as high as possible, but not so high that the system oscillates. And, then the integral gain can be adjusted to get the settling time, if possible. The derivative gain is a fine tuning control to try and prevent excessive overshoot (can be tricky and can add noise, so many people avoid using the D term, as you mentioned yourself).
I don't get it. If rate of change was your process variable, wouldn't temp just continue to rise up and up past your desired final temp until the heater was maxed out, so long as the desired rate of change was satisfied?You could still use the same PID control, even just PI at a push, to control the ramp but you would need to have rate of change as a (P)rocess variable rather than absolute temperature.
Of course you would have to know the magnitude of the required change in order to calculate the target rate in the first place.
Al
yess strantor this exactly what i want.. ramp time.. do you have any suggestions for control this ramp time ??Correct me if I'm wrong M7, but I think when he refers to "settling time", he's referring more to a "ramp time" - the total time it takes from when you turn it on, or when you change the setpoint, to when it reaches the new setpoint (i.e. the entire PID curve); not really a settling time like I would usually think of it - the time at or near the end of the upward trend curve (or when compensating for a change up/down in temperature) at which temp stops changing and levels out. (at least that's the way I interpret it). changing this "total time" (as I will refer to it now) is what I'm not sure how to do. I've never seen an option for it in a controller.
#1 google result for "pid heater controller with ramp time"put into your consideration that i have many ramp curves i want the system to achieve them..