SSZT116 november   2021 AFE539A4

 

  1.   1
  2.   2
    1.     3
    2.     Closed-loop Control
    3.     Fault Management
    4.     Arbitrary Waveform Generation
    5.     Conclusion
    6.     Additional Resources

Gavin Bakshi

The classic analog signal chain comprises inputs, processing and outputs. The inputs are received by an analog-to-digital converter (ADC) or comparators. A microcontroller (MCU) with control software handles the processing. Finally, the analog outputs are produced by digital-to-analog converters (DACs) or pulse-width modulation (PWM).

In this article, I'll introduce a new type of device – a smart analog front end (AFE) – that integrates an entire analog control loop into a single device offering standard protocols like I2C, SPI, or direct GPIO interface to configure and control the AFE.

Smart AFEs enable sensing, processing and control without the burden of additional development, maintenance and certification. Smart AFEs can help simplify designs by offering features such as high-impedance output during power-off, the ability to configure the channels to act as an ADC input or DAC output, and programmable logic that supports look-up table referencing and closed-loop control.

Figure 1 shows the block diagram for TI's AFE539A4 smart AFE, which includes multiple interfaces (I2C, Serial Peripheral Interface and general-purpose input/output [GPIO]); nonvolatile memory (NVM); and control logic for ADC and comparator inputs, along with voltage- and current-output DACs and PWM output. The AFE houses all of this functionality in a 3-mm-by-3-mm package.

GUID-B83B471F-105B-4E9E-ABCC-C56C5485DA31-low.jpg Figure 1 Functional Block Diagram for the AFE539A4

Closed-loop Control

As a one-chip option for closed-loop control, smart AFEs work well in applications such as thermoelectric cooling (TEC), multislope thermal foldback and solenoid valve control. With the addition of interchangeable DAC/ADC channels and the inclusion of NVM, smart AFEs can provide sensing inputs, interpretation and controlled analog output for various systems. TEC control loops, like the one seen below in Figure 2, are used for laser diode cooling, portable refrigeration and electronic component cooling. A proportional-integral (PI) control loop helps maintain a steady temperature for the TEC element, driven from 6 V to 12 V with either PWM from an H-bridge driver or continuous output from a boost converter. The smart AFE can drive either PWM output from a digital pin or voltage output from a DAC. The voltage output can also scale the output of a boost converter. Separately, a current-sense amplifier monitors the TEC current. The smart AFE integrates all of these functions while maintaining a building-block approach to interface with any TEC element by choosing a suitable driver. The PI control provides the option to configure the setpoint, proportional and integral gains, and the current limit.

GUID-15715817-8821-4694-BE18-9E1C7B1C959B-low.jpg Figure 2 Smart AFE Used as a Closed-loop TEC Controller

Solenoid valve control is similar to TEC control. However, in addition to PI control, solenoid valve control requires peak-and-hold control as seen in Figure 4. The hold mode involves a PI control scheme. The PWM output from the smart AFE is the input to a solenoid valve driver for enhanced efficiency and diagnostics. See Figure 3 below for more details. The smart AFE takes in a GPIO input to start and stop the peak-and-hold control.

GUID-94F4CA54-8323-4F44-AD63-25810255A905-low.jpg Figure 3 Using a Smart AFE for Solenoid Valve Control
GUID-9C3AEF35-66E3-4595-A176-E2CF324B2456-low.jpg Figure 4 Peak-and-hold Control

Fault Management

A smart AFE supports a look-up-table-based sensing and control function for multislope thermal foldback, temperature-dependent biasing and fault management. Multislope thermal foldback, for example, is used in automotive taillights to provide both performance and thermal protection. A multisegment programmable slope-based output control scheme provides consistent luminous flux output across temperature, reducing the LED current when the temperature approaches safe operating limits as seen in Figure 5 and Figure 6.

GUID-98353EDB-31AA-4DFE-AD05-6FC818A14D9F-low.jpg Figure 5 Smart AFE Multislope Thermal Foldback Circuit
GUID-CA340BEF-A97F-4604-BC6A-A5744E049CC7-low.jpg Figure 6 Multislope Thermal Foldback Curve LED Temperature vs. LED Current

Arbitrary Waveform Generation

Arbitrary waveform generation is another benefit that the smart AFE can bring to certain designs in testing, automotive and communication applications. It is possible to program a smart AFE to produce many custom waveforms (such as sawtooth, triangle or square waves) and to adjust their frequency. Additionally, the smart AFE can take inputs to make DC or frequency adjustments to any waveform dynamically, based on sensing input changes.

Conclusion

TI's family of smart AFEs offer a single-device solution for closed-loop control. Smart AFEs bring the full functionality of an entire signal chain into one device offering ADC inputs, NVM, DAC and PWM outputs, along with several interfacing choices.

Additional Resources