Microcontroller-controlled current loop AFE protection

Publisher:东土大唐88Latest update time:2011-03-10 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Summary: Current shunting in an isolated 0-20mA current loop with a precision resistor analog front end can quickly protect a fuse or automatic current-limiting switch. The circuit shown, unlike the switch, offers an option to record fault events under microprocessor control. The circuit includes a comparator (MAX9910), a watchdog timer (MAX6706), a microprocessor supervisor, a D-type flip-flop, a NOR gate, an OR gate, and a solid-state relay.

The 0-20mA current loop remains a reliable means of communication for industrial applications. For systems that include a high-precision analog front end (AFE), the current shunt resistor must also be a stable and high-precision device. Precision shunts can be damaged by an accidental direct connection to the current loop power supply. You must then replace the shunt and recalibrate the system. To avoid this sacrifice, consider the microcontroller-controlled protection circuit in Figure 1.


Figure 1. This circuit protects the isolated analog current loop front end (AFE). For simplicity, we will not show the power and ground connections (5Viso and GNDiso) for IC2, IC4, IC5, and IC6.

A shunt can be protected with a fast-acting fuse, either by limiting or closing the switch automatically with the cycle, then opening after a specified time to recover, i.e. The Figure 1 method offers several advantages over these methods.

This is faster than fuse protection. The slowest device in Figure 1 (IC1) requires less than 500μs to switch off. It provides a higher accuracy by not switching the fuse below the threshold, and of course there is no fuse replacement. Unlike "switch auto-retry" protection, it provides microcontroller control of the protection circuit, plus an option to log the event, thus providing a record of the protection circuit being invoked.

In addition, the protection of Figure 1 has virtually no effect on the exchange: input current is less than 30pA, thanks to IC2's buffer, and the resistance on IC1 is less than 2Ω. No additional isolation of the data channels or microcontroller I/O ports is necessary. To avoid damage during system installation or repair, the loop is turned off after power-up also when power is not applied. Implementing the protection algorithm is a power-fail comparator and watchdog circuit, such as that in IC3 (MAX6706), with independent outputs, together with a D-type flip-flop (IC6). At power-up the flip-flop is in the reset state, the current loop is open, and the high-level reset signal from driving the NOR gate (IC4) of IC3 is the cause. At the first low-to-high transition of the SCK line, the rising edge of the WDO output by IC3 sets the flip-flop and pulls current through the solid-state relay (IC1), thereby connecting the input to the loop.

In the event of a loop current overload (i.e., greater than approximately 27 mA), a high level from the power-fail comparator (PFO on IC3) resets the flip-flop and turns off IC1. With IC5 gated down, the microcontroller sees only a "1" on the MISO output, which indicates overcurrent protection. To switch the loop again, the microcontroller must pause the SCK line for at least 2.4 seconds. Then, the next low-to-high transition on SCK reconnects the current loop.

Reference address:Microcontroller-controlled current loop AFE protection

Previous article:Design of subway integrated monitoring system
Next article:Independent and innovative design of fuzzy control of traffic lights

Latest Industrial Control 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号