Design of PIC microcontroller and AD5410 chip control system output 4-20mA current signal

Publisher:CrystalClearLatest update time:2019-12-03 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The current signal output by instruments and sensors is mostly 4-20mA. Why is it 4-20mA? Because 4-20mA sensors are mostly two-wire systems, that is, the signal line and the power line share two wires. If the starting point is 0mA, it will be impossible to distinguish whether the signal is 0mA or the sensor is not working; in addition, the starting point is 4mA, which is also helpful for the system to judge whether the sensor is powered off or short-circuited.


So how do we generate a 4-20mA current signal? With the rapid development of digital circuits today, systems with single-chip microcomputers as the core are everywhere. However, single-chip microcomputers are digital signals, while current is an analog signal. This requires DA conversion, that is, converting digital signals into analog signals.


At present, the common scheme for the microcontroller to control the system to output a 4-20mA current signal is:

Today I want to recommend a chip: AD5410, which is produced by ANGLOG DEVICE. It is a single-channel 12-bit serial input DAC chip. The communication method with the microcontroller is SPI bus. The microcontroller only needs to write the value to AD5410 through SPI to output the corresponding current value. Its power supply range is: 10.8-40V.

Design of PIC microcontroller and AD5410 chip control system output 4-20mA current signal

The above picture shows a 4-20mA current output product designed with PIC microcontroller as the core. AD5410 has a rich error diagnosis mechanism, which can greatly improve the anti-interference ability of the design. The current output formula is as follows:

Design of PIC microcontroller and AD5410 chip control system output 4-20mA current signal

N: The resolution of DA conversion, this chip is 12 bits;

D: is the decimal equivalent value of the loaded DAC code;

Reference address:Design of PIC microcontroller and AD5410 chip control system output 4-20mA current signal

Previous article:Analysis of the application method of PIC microcontroller EUSART serial communication interface
Next article:How to send data on PIC microcontroller

Latest Microcontroller 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号