Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
Take Back Half: A Novel Integrating Temperature-Control Algorithm

W. Stephen Woodward  |   ED Online ID #4994  |   December 4, 2000


According to Linear Technology’s Jim Williams, “The unfortunate relationship between servo systems and oscillators is very apparent in thermal control systems.” (Linear Applications Handbook, 1990).

High-performance temperature control is certainly one of those topics that look easy enough in theory, but prove to be anything but simple in practice. To their chagrin, thermal-control system designers discover that heater-load thermal time constants can conspire shamelessly with heater-sensor response delays. Together, they produce wild oscillatory instability where precision thermostasis was expected.

Over the years, a long laundry list of feedback techniques and control strategies has been devised to tame the dynamic-stability gremlins that inhabit temperature-control servo loops. Some of these ideas incorporate integration of the temperature-control error term (TS − T) to force the control loop error to converge toward zero (e.g., “Hybrid Digital-Analog Proportional-Integral Temperature Controller,” Electronic Design, Aug. 3, 1998).

In fact, one tempting alternative scheme would be to make the heater power proportional to the integrated temperature error alone. In such a simplistic “straight-integration” algorithm, the temperature (T) would be sampled and subtracted from the setpoint (TS). Then, the difference would be multiplied by the loop gain (F) and added as a cumulative adjustment to the heater power setting H, once each cycle through the loop. Consequently, H = H + F(TS − T).

Many desirable properties, including simplicity, noise rejection, easy, one-parameter (F) “tuning,” and zero steady state error would be offered by the resulting servo loop (whether implemented by software or analog integration). Unfortunately, it would also have one other rather undesirable property—virtually guaranteed oscillation that would never allow final convergence to TS (Fig. 1).

Fatal oscillation can be expected since, by the time system temperature has corrected from a deviation and struggled back to T = TS, the heater power will inevitably have been grossly overcorrected. In fact, the resulting overshoot of H is likely to be about as large as the original perturbation. Later, H’s opposite undershoot will be as large as the initial overshoot, and so on—and on.

Intuitively, the problem might be fixed by adopting a better estimate of H whenever the system crosses the setpoint (T = TS). The Take-Back-Half (TBH) method is a way of doing exactly that. It refers to taking deliberate advantage of the (approximate) equality of straight-integration’s undamped over/undershoots.

To do so, variable HO is added and the modified servo run as before, except for what happens when the sampled temperature (T) passes through setpoint (T = TS). Whenever such a setpoint crossing occurs, both H and HO are replaced by the bisecting value: (H + HO)/2. As a result, at each setpoint crossing, H and HO are set midway between the values corresponding to the current (H) and previous (HO) crossings. This action amounts to “taking back half” of the adjustment applied to the heater setting between crossings —hence, TBH. Figure 2 shows the ability of (simulated) TBH to force quick (half-cycle) convergence.

Experience gained from applying TBH reveals that the algorithm’s stability is robust, given a reasonable choice for F. In general, TBH systems have a natural cycle time proportional to the square root of the ratio of the thermal time constant to F. Simulation and experimentation agree that convergence is assured if this system period is at least eight times longer than the heater-sensor time delay. Therefore, convergence can always be achieved if F is set low enough. Meanwhile, steady-state (TS − T) error remains equal to zero.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
    1) Behind The Bright Lights, LED Drivers Evolve To Meet New Requirements
    (721 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (270 views today)
    3) Wi-Fi Chips Stand Out In A Sea Of Wireless Products
    (194 views today)
    4) What's All This "Adjustable Slew Rate Stuff," Anyhow?
    (185 views today)
    5) Ten Top Design Skills For Tough Times
    (184 views today)
    ALL TOP 20



    Reader Comments

    I NEED CIRCUT DESIGN AN FULL DETAIL

    SANTHOSH -April 16, 2008

    give me more information about temperature controller

    Anonymous -August 03, 2007

    temperature controler ckt and all system ckt for you

    Anonymous -July 07, 2007

    temperature controler ckt and all system ckt for you

    Anonymous -July 07, 2007

    i want a temperature meter using 89c51

    Anonymous -September 23, 2006

    i want temp circuit and PCB design of 89C51 based temperature controller, flow chart of it also.

    dhruvesh -April 10, 2006

    I want an on/off temperature controller using 89c51

    Anonymous -January 28, 2006

    I want an on/off temperature controller using 89c51

    Anonymous -January 28, 2006

    i want temp ckt 89c51

    Anonymous -January 28, 2006

    i want temp ckt 89c51

    Anonymous -January 28, 2006

    i want temp ckt 89c51

    Anonymous -January 28, 2006

    i want temp ckt 89c51

    Anonymous -September 24, 2005   (Article Rating: )

    I want an on/off temperature controller using 89c51.

    G.A. -February 06, 2005   (Article Rating: )

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    Electronic Design UPDATE provides readers with late-breaking news, opinions from industry experts, and timely technology stories. It's a unique opportunity to get your product message in front of engineers, engineering managers, and corporate managers while they're reading about critical information online.

    Enter Email to Subscribe
      

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources