Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #386277

Re: PID Heater Control

From Joe Hey <joehey@mailinator.com>
Newsgroups sci.electronics.design
Subject Re: PID Heater Control
Message-ID <20151123162117.0ba3a570.joehey@mailinator.com> (permalink)
References <n2t56o$d1g$1@dont-email.me> <MtudnYsJ25Xxss_LnZ2dnUU7-emdnZ2d@giganews.com> <n2tdfd$fac$1@dont-email.me>
Organization blocknews - www.blocknews.net
Date 2015-11-23 16:21 +0000

Show all headers | View raw


On Sun, 22 Nov 2015 16:55:04 -0500
rickman <gnuarm@gmail.com> wrote:

> On 11/22/2015 4:11 PM, Tim Wescott wrote:
> > On Sun, 22 Nov 2015 14:33:55 -0500, rickman wrote:
> >
> >> If a heater is controlled by turning it on and off, does a PID
> >> algorithm help in more closely controlling the temperature?
> >
> > Compared to what?  Yes, compared to a lot of things.
> 
> A conventional type thermostat with a set point and a hysteresis band.
> 
> 
> >> Will running the PID loop faster than the temperature measurement
> >> improve anything?
> >
> > Probably not much, however pulsing the heater on and off faster
> > than the temperature measurement may well improve things -- it
> > depends on whether you can turn the heater on and off quickly, and
> > what it's thermal time constant is.  In the extreme, turning power
> > on and off to a heating element significantly faster than it's
> > thermal time constant will give you steady, rather than pulsating,
> > heat.
> 
> If the temperature measurement isn't updated, how would the PID
> provide any better control over the temperature?  At best it
> essentially does the same thing for 10 periods until the temperature
> reading is updated, at worse the integral term ramps up resulting in
> overshoot and oscillations.

That is correct.
Given a fixed temperature measurement period, the best thing to do is
synchronise the on/off switching with the measurement, transform it
into the z-domain and calculate the analogue components needed to get
the right control.

I think this book 'sums it up' quite (very) comprehensively:

http://een.iust.ac.ir/profs/Jahed/digital%20controll/e%20book/discrete-time_control_systems.pdf

joe


> >> How would a PID control be an improvement over a simple temperature
> >> comparison with or without an anticipator?
> >
> > Most on/off thermometer-ish systems need to see the temperature
> > actually change to work.  This is less the case with an
> > anticipator, but that brings its own problems.
> 
> What problems does an anticipator create?
> 
> 
> > In the case where the thermal loss is constant and the temperature
> > needs to be held steady, and where the heating element is being
> > pulsed significantly faster than the thermal time constant of the
> > plant (if not the heater), then the PID would, in theory, hold the
> > temperature dead steady -- or at least as steady as it can given
> > how fast it is being pulsed on and off.
> 
> How does a PID controller cycle the heat in absence of updated 
> temperature readings?  On the update of temperature, the differential 
> and proportional terms will give a constant input to the calculation 
> until the temperature is updated again.  The integral term will push
> the integrator in a direction with a constant ramp for the duration
> of the temperature reading period.  I suppose this could result in
> one pulse during the temperature reading period, but will create an
> internal overshoot for the next period which will show up as a too
> short pulse.
> 
> Obviously this is all dependent on the parameters of the PID
> controller, but I'm having trouble picturing how the faster PID loop
> would provide any useful benefit rather than just causing
> oscillations.
> 

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-22 14:33 -0500
  Re: PID Heater Control Tim Wescott <tim@seemywebsite.com> - 2015-11-22 15:11 -0600
    Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-22 16:55 -0500
      Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 00:15 -0600
        Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 01:24 -0500
          Re: PID Heater Control Tim Wescott <tim@seemywebsite.com> - 2015-11-23 10:39 -0600
            Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 13:24 -0500
              Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 13:14 -0600
                Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 14:42 -0500
      Re: PID Heater Control Joe Hey <joehey@mailinator.com> - 2015-11-23 16:21 +0000
  Re: PID Heater Control Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2015-11-22 18:13 -0500
    Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-22 19:44 -0500
      Re: PID Heater Control Bill Sloman <bill.sloman@gmail.com> - 2015-11-22 16:55 -0800
      Re: PID Heater Control whit3rd <whit3rd@gmail.com> - 2015-11-22 17:44 -0800
        Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 01:32 -0500
          Re: PID Heater Control Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2015-11-23 01:54 -0500
            Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 02:12 -0500
              Re: PID Heater Control Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2015-11-23 02:34 -0500
                Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 03:33 -0500
            Re: PID Heater Control Joe Hey <joehey@mailinator.com> - 2015-11-23 15:58 +0000
        Re: PID Heater Control Joe Hey <joehey@mailinator.com> - 2015-11-23 15:55 +0000
      Re: PID Heater Control Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2015-11-23 01:26 -0500
        Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 02:20 -0500
  Re: PID Heater Control Joe Hey <joehey@mailinator.com> - 2015-11-23 15:49 +0000
  Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 12:07 -0600
    Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 13:43 -0500
      Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 13:17 -0600
        Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 14:48 -0500
          Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 14:07 -0600
            Re: PID Heater Control George Herold <gherold@teachspin.com> - 2015-11-23 13:11 -0800
              Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 17:08 -0500
                Re: PID Heater Control Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-11-23 14:22 -0800
                Re: PID Heater Control Cydrome Leader <presence@MUNGEpanix.com> - 2015-11-23 23:02 +0000
                Re: PID Heater Control Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-23 18:09 -0500
                Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 17:28 -0600
                Re: PID Heater Control George Herold <gherold@teachspin.com> - 2015-11-23 17:36 -0800
                Re: PID Heater Control M Philbrook <jamie_ka1lpa@charter.net> - 2015-11-23 18:47 -0500
                Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 18:08 -0600
                Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 18:06 -0600
                Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-23 22:04 -0500
                Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 21:44 -0600
                Re: PID Heater Control George Herold <gherold@teachspin.com> - 2015-11-23 17:24 -0800
                Re: PID Heater Control rickman <gnuarm@gmail.com> - 2015-11-24 00:20 -0500
                Re: PID Heater Control makolber@yahoo.com - 2015-11-24 06:05 -0800
                Re: PID Heater Control whit3rd <whit3rd@gmail.com> - 2015-11-24 12:58 -0800
                Re: PID Heater Control dplatt@coop.radagast.org (Dave Platt) - 2015-11-24 15:31 -0800
              Re: PID Heater Control Tim Wescott <seemywebsite@myfooter.really> - 2015-11-23 17:24 -0600
                Re: PID Heater Control George Herold <gherold@teachspin.com> - 2015-11-23 18:21 -0800

csiph-web