Designing TEC Temperature Loop PID Control Using SPICE

Publisher:水手谷水手Latest update time:2015-02-02 Source: eechina Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Temperature control using an analog proportional-integral-derivative (PID) controller is a very simple circuit that is an effective way to ensure that the set point of a thermoelectric cooler (TEC) regulates the temperature or laser. The proportional-integral terms work together to accurately servo the current of the TEC to maintain the temperature set point of the controller. At the same time, the derivative term adjusts the rate at which this work is done to optimize the overall system response. If the overall system response H (s) can be described, the most convenient and effective way to design a PID controller G (s) for it is to simulate it using SPICE.

Step 1: Determine the TEC/Temp sensor thermal impedance for the SPICE model.

To use SPICE as an effective tool for PID loop design, it is important to obtain the thermal response of the temperature loop in order to obtain the actual thermistor resistance, capacitance, and transfer function of the PCB à TEC à laser diode à temperature sensor wiring. Remember that since the actual thermal characteristics can vary by up to 50%, it is best to inject a thermal step input into the actual system and measure it to obtain the best thermal model for SPICE simulation.

If the thermal connection line is described, use the "Outer Loop, Inner Loop" procedure to determine the overall loop response and stability of the control amplifier in the G(s) block. In all cases, a very large inductor is used to interrupt the outer and inner loops, and the loops are excited by a large capacitor and AC power supply.

Step 2: Interrupt the Outer Loop Between G(s) and H(s)

The outer loop is defined as a path around the G(s) and H(s) blocks. The goal of the simulation using Figure 1 is to interrupt the outer loop and obtain H(s), G(s), and the overall loop gain to verify the thermal loop stability. In this case, Figure 2 shows that the phase drops below zero degrees and the loop gain becomes 0 dB, which indicates that the entire loop is unstable. Therefore, changing G(s) should strengthen the PID control and increase the stability of the thermal loop.

20120531105925791.gif

Figure 1 Simulation circuit to obtain loop gain and phase
20120531105925314.gif

Figure 2 Loop gain and phase plots for Figure 1

The improved G(s) module in Figure 3 includes a PID component. The angular frequency of the differential circuit is set by R7 and C3; R3 sets the proportional gain; C2 and R6 set the angular frequency of the integral circuit. [page]

20120531105927784.gif

Figure 3 Simulation circuit to compensate G(s)

Step 3: Break the G(s) “inner loop” to determine local amplifier stability

The final step in building a complete PID assembly is to break the inner loop and check the stability of the local amplifier (OPA2314) to ensure that its stability is independent of the overall loop gain. In this case, the amplifier requires a 50 pF capacitor (see Figure 4) to maintain stable operation of the local loop.


2012053110592767.gif

Figure 4 Final circuit of compensated local G(s) loop

Next time, we will discuss a bad design of a 20W amplifier that ruins a 100W speaker.

References

“Op Amp Stability, Part 2 of 15: SPICE Analysis of Op Amp Networks”, Green, Timothy, published in En-Genius (formerly Analog Zone) 2006. “
PSPICE Compatible Equivalent Circuit of Thermoelectric Coolers”, Simon Lenvkin, Sam Ben-Yaakov, published in PESC'05. IEEE 36th 2005. “ SPICE
Models of Thermoelectric Components Including Thermal Effects”, Chavez, JA, Salazar, J, Ortega, JA, and Garcia, MJ, published in Proceedings of the 17th IEEE Conference on Instrumentation Test and Measurement Technology 2000.
Reference address:Designing TEC Temperature Loop PID Control Using SPICE

Previous article:Test Automation for 3D Integrated Systems
Next article:Building a resistance network test system based on 2400 series digital source meter

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号