Design Note 13: Closed Loop Control with Data Acquisition Systems

Introduction

The use of microprocessors in process control loops is quite common. A processor based control loop requires special design considerations as compared to traditional analog loops. Often a single centrally located processor will be used to control several remotely located processes. The outputs of the remote process sensors can be digitized at the sensor location and then be transmitted to the central processor. Unfortunately, transmitting digital signals typically requires one wire for each bit of resolution and requires expensive cabling. Alternatively, the sensor output can be transmitted as an analog signal to the central processor area for digitization. However, transmitting analog signals over distances can introduce errors because of noise and voltage drops in the wires.

The solution to these control loop problems can be found in the LTC1090 series of data acquisition systems. As can be seen in the schematic of Figure 2, ten bits of data can be digitized remotely and sent to the processor with only three wires plus ground. The single supply capability and the low DC current drain (1mA typ.) also simplify remote location. The LTC1090 series provides the user with blocks of 1, 2, 6, or 8 10-bit channels which can be chosen according to how many sensors are located in each remote site.

Figure 2. This Circuit Determines Small Weight Changes, Permitting Accurate Filling. Using the Appropriate Transducer, Containers May Range from Perfume Bottles to Railroad Cars.
Figure 2. This Circuit Determines Small Weight Changes, Permitting Accurate Filling. Using the Appropriate Transducer, Containers May Range from Perfume Bottles to Railroad Cars.

The LTC1090 series is ideally suited for such process control loop applications as position control, temperature control, container filling and tension control.

Circuit Description

The circuit of Figure 2 is a container filling control loop which has a resolution of .03 pounds with a 30 pound full scale. It was designed to implement an automatic filling station for the model train shown in Figure 1. When S1 is closed the MC68HC05 processor reads the LTC1092. If the weight is below the preprogrammed limit in the processor then the motor drive line which controls the pump is turned on. The LTC1092 is continually read by the processor as the truck is filled, until the limit is reached. The motor drive line is then shut off. The limit may be derived in a number of ways. A fixed limit will result in filling to an absolute weight, while relative or tare weight filling can be implemented when the measured empty weight is used in the calculation of the limit. Code for this application is available upon request from Linear Technology Corporation.

Figure 1. A Typical Application. Automatic Filling at a Railroad Siding.

The NCI 3220 strain gauge used in this circuit has a linearity specification of .04% which makes it a good match for the .05% linearity of the LTC1092. However, the offset and full scale of the strain gauge are only guaranteed to 10% so trims are required. The circuit is run ratiometrically so an absolute reference is not required. The strain gauge output is amplified by one-half of an LT1013 with the other half being used to buffer the resistor divider that is used for the LTC1092’s VREF pin. Only one op amp is necessary to amplify the strain gauge output because of the differential inputs of the LTC1092. The 2.15MΩ resistor from pin 1 to 3 of the LT1013 is to balance the load on the strain gauge bridge. With the strain gauge zeroed, both inputs on the LTC1092 are at about 2.5V. As weight is added, the output of the LT1013 into the minus input of the LTC1092 swings toward ground. At the 30 pound full scale the output of the LT1013 is about 100mV above ground which results in a total swing of about 2.4V. The 2μF mylar capacitor filters the LT1013 output eliminating the effects of vibration caused by filling the train car. (As the train car nears the full point, vibration induced noise can cause the processor to stop the filling too soon.) It is important that the processor monitors the filling process in a timely fashion to prevent overflow. The setup shown relied on a slow fill rate to solve the last problem but with the processor in the loop it is possible to give the fill algorithm some intelligence so that it would run at a high speed to begin with and then run at a slower speed at some preset limit until the final limit is reached.

To calibrate the circuit, offset is first adjusted with no weight on the platform. Next, a known weight near full scale is used to adjust the gain. Once calibrated, variations in the supply voltage within the voltage limits of the LTC1092 should not cause additional errors.

Summary

The LTC1090 series is well suited for use in closed loop control systems. Their low supply current and serial interface make them easy to locate remotely. With a total unadjusted error of .05% over temperature the LTC1090 series is a good match to a wide variety of sensors. The differential inputs of the LTC1090 series can also simplify circuit design while a choice of 1, 2, 6 or 8 inputs gives the user just the level of complexity that is needed.

作者

Generic_Author_image

Guy Hoover

Guy Hoover是一名拥有超过30年凌力尔特公司工作经验的工程师,曾担任技术员、IC设计工程师和应用工程师。

T他的职业生涯始于LTC,当时的职位是技术员,并向参与多个产品工作的Bob Dobkin、Bob Widlar、Carl Nelson和Tom Redfern学习,涉及产品包括运算放大器、比较器、开关稳压器和ADC。在此期间,他还花了大量时间来编写测试程序以对这些器件的特性进行表征。

他在LTC的下一段职业生涯是学习PSpice和设计SAR ADC。由Guy设计的产品包括LTC1197系列10位ADC和LTC1864系列12位和16位ADC。

Guy目前是混合信号部的应用工程师,专门从事SAR ADC应用支持工作。这包括为SAR ADC演示板设计、编写Verilog代码和测试程序,帮助客户优化包含LTC SAR ADC的产品,并希望编写有用的应用文章,将有关使用这些器件的知识传递给客户。

Guy毕业于德锐技术学院(现为德锐大学),拥有电子工程技术硕士学位。

Generic_Author_image

William Rempfer