ACS712电流检测
教你设计ACS712直流交流电流测量传感器(资料开源)

教你设计ACS712直流交流电流测量传感器(资料开源)
ACS712直流/交流电流测量传感器具有量程大、简单易用、体积小巧、无需焊接、精度较高等特点,可用于直流电流和交流电流的测量,电流测量最高值可达20A。
该ACS712 传感器电路板在设计上做了高压隔离,确保使用的安全性。
模块输出的电压线性对应测量电流,且接口为Gravity 3P接口,即插即用,方便实用。
引脚说明:
技术规格:
•供电电压:5.0V
•测量电流:0 ~ ±20A DC, 0 ~ 17A(RMS) AC
•测量容忍电压:220V AC, 311V DC
•相对误差:±3%
•尺寸:39mm * 22mm *17mm
•接口:Gravity PH2.0-3P 模拟口
•重量:18g
示例代码,见附件下载:
函数功能说明: float readDCCurrent(int Pin) ,该函数用来测量直流电流。
float readACCurrent(int Pin) ,该函数用来测量交流电流,测得的是交流电流的有效值。
根据被测电流,选择相应的函数调用即可,不能两个函数同时调用。
电路项目的主要芯片及数据手册
•ACS712:芯片数据手册
电路相关文件
电路图文件
ACS712 电流测量传感器原理图.PDF
描述:原理图
源代码
ACS712 电流测量传感器示例代码.ino 描述:示例代码。
ACS712中文资料_描述(电流传感器)

ACS712中文描述带 2.1 kVRMS 电压绝缘及低电阻电流导体的全集成、基于霍尔效应的线性电流传感器IC特点•低噪音模拟信号路径•可通过新的滤波引脚设置器件带宽• 5 µs 输出上升时间,对应步进输入电流•80 千赫带宽•总输出误差为1.5%(当T A = 25°C时)•小型低厚度SOIC8 封装• 1.2 mΩ 内部传导电阻•引脚1-4 至5-8 之间2.1k V RMS最小绝缘电压• 5.0 伏特,单电源操作•66 至185 mV/A 输出灵敏度•输出电压与交流或直流电流成比例•出厂时精确度校准•极稳定的输出偏置电压•近零的磁滞•电源电压的成比例输出描述Allegro® ACS712 可为工业、商业和通信系统中的交流或直流电流感测提供经济实惠且精确的解决方案。
该器件封装便于客户轻松实施。
典型应用包括电动机控制、载荷检测和管理、开关式电源和过电流故障保护。
该器件不可用于汽车应用。
该器件具有精确的低偏置线性霍尔传感器电路,且其铜制的电流路径靠近晶片的表面。
通过该铜制电流路径施加的电流能够生成可被集成霍尔IC 感应并转化为成比例电压的磁场。
通过将磁性信号靠近霍尔传感器,实现器件精确度优化。
精确的成比例电压由稳定斩波型低偏置BiCMOS 霍尔IC 提供,该IC 出厂时已进行精确度编程。
当通过用作电流感测通路的主要铜制电流路径(从引脚 1 和2,到 3 和4)的电流不断上升时,器件的输出具有正斜率(>V IOUT(Q))。
该传导通路的内电阻通常是mΩ,具有较低的功率损耗。
铜线的粗细允许器件在可达5× 的过电流条件下运行。
传导通路的接线端与传感器引脚(引脚 5 到8)之间电气绝缘。
这让ACS712 电流传感器IC 可用于那些要求电气绝缘却未使用光电绝缘器或其它昂贵绝缘技术的应用。
ACS712 采用小型的表面安装SOIC8 封装。
引脚架镀采用100% 雾锡电镀,可与标准无铅(Pb) 印刷电路板装配流程兼容。
ACS712中文资料_描述(电流传感器)

ACS712华文形貌之阳早格格创做戴 2.1 kVRMS 电压绝缘及矮电阻电流导体的齐集成、鉴于霍我效力的线性电流传感器 IC特性•矮噪音模拟旗号路径•可通过新的滤波引足树立器件戴宽• 5 µs 输出降下时间,对于应步进输进电流•80 千赫戴宽•总输出缺面为 1.5%(当 T A = 25°C时)•小型矮薄度 SOIC8 启拆• 1.2 mΩ 里面传导电阻•k V RMS最小绝缘电压• 5.0 伏特,单电源支配•66 至 185 mV/A 输出敏捷度•输出电压与接流或者曲流电流成比率•出厂时透彻度校准•极宁静的输出偏偏置电压•近整的磁滞•电源电压的成比率输出形貌Allegro® ACS712 可为工业、商业战通疑系统中的接流或者曲流电流感测提供经济真惠且透彻的办理规划.该器件启拆便于客户沉快真施.典型应用包罗电效果统造、载荷检测战管造、启闭式电源战过电流障碍呵护.该器件没有成用于汽车应用.该器件具备透彻的矮偏偏置线性霍我传感器电路,且其铜造的电流路径靠拢晶片的表面.通过该铜造电流路径施加的电流不妨死成可被集成霍我 IC 感触并转移为成比率电压的磁场.通过将磁性旗号靠拢霍我传感器,真止器件透彻度劣化.透彻的成比率电压由宁静斩波型矮偏偏置 BiCMOS 霍我IC 提供,该 IC 出厂时已举止透彻度编程.当通过用做电流感测通路的主要铜造电流路径(从引足 1 战 2,到 3 战 4)的电流没有竭降下时,器件的输出具备正斜率 (>V IOUT(Q)).该传导通路的内电阻常常是mΩ,具备较矮的功率耗费.铜线的细细允许器件正在可达 5×的过电流条件下运止.传导通路的接线端与传感器引足(引足 5 到 8)之间电气绝缘.那让 ACS712 电流传感器 IC 可用于那些央供电气绝缘却已使用光电绝缘器或者其余下贵绝缘技能的应用.ACS712 采与小型的表面拆置 SOIC8 启拆.引足架镀采与100% 雾锡电镀,可与尺度无铅 (Pb) 印刷电路板拆置过程兼容.正在里面,该器件为无铅产品,倒拆法使用目前豁免于RoHS 的下温含铅焊球除中.器件正在出厂拆运前已真足校准. 功能圆框图英文pdf下载天面:。
电流传感器ACS712的原理与应用_董建怀

引言在工业、汽车、商业和通信系统中,为了确保设备安全和人身安全,经常需要对设备的某些关键点进行电流检测,传统的检测方法存在测量精度不高,反应时间长等问题,对于大电流一般采用电流互感器进行检测,电流互感器存在着绝缘困难,成本高,体积大,重量重,易受电磁干扰,电流传感器ACS712的原理与应用董建怀 福建师范大学协和学院信息技术系 350007输出端不能开路,突发性绝缘击穿等缺点。
新型线性电流传感器ACS712能有效克服这些缺点,为工业、汽车、商业和通信系统中的交流或直流电流感测提供经济实惠的精密解决方案。
1、线性电流传感器ACS7121.1 概述ACS712是Allegro公司新推出的一种线性电流传感器,该器件内置有精确的低偏置的线性霍尔传感器电路,能输出与检测的交流或直流电流成比例的电压。
具有低噪声,响应时间快(对应步进输入电流,输出上升时间为5μs),50 千赫带宽,总输出误差最大为4%,高输出灵敏度(66mV/A~185 mV/A),使用方便、性价比高、绝缘电压高等特点,主要应用于电动机控制、载荷检测和管理、开关式电源和过电流故障保护等,特别是那些要求电气绝缘却未使用光电绝缘器或其它昂贵绝缘技术的应用中。
1.2 引脚描述ACS712采用小型的SOIC8 封装,其引脚分布如图1所示,采用单电源5V供电。
各引脚的功能介绍如表1所示,其中引脚1和2、3和4均内置有保险,为待测电流的两个输入端,当检测直流电流时,1和2、3和4分别为待测电流的输入端和输出端。
图1 ACS712引脚图1.3 ACS712内部结构及工作原理ACS712的功能方框图如图2所示,该器件主要由靠近芯片表面的铜制的电流通路和精确的低偏置线性霍尔传感器电路等组成。
被测电流流经的通路(引脚1和2,3和4之间的电路)的内电阻通常是 1.2mΩ,具有较低的功耗。
被测电流通路与传感器引脚(引脚5~8)的绝缘电压>2.1kVRMS,几乎是绝缘的。
ACS712电流传感器说明书

6 5 CF 1 nF
Application 1. The ACS712 outputs an analog signal, VOUT . that varies linearly with the uni- or bi-directional AC or DC primary sensed current, IP , within the range specified. CF is recommended for noise management, with values that depend on the application.
RF(INT)
VIOUT (Pin 7)
IP– (Pin 3) IP– (Pin 4)
Features and Benefits
Low-noise analog signal path Device bandwidth is set via the new FILTER pin 5 µs output rise time in response to step input current 50 kHz bandwidth Total output error 1.5% at TA = 25°C, and 4% at –40°C to 85°C Small footprint, low-profile SOIC8 package 1.2 mΩ internal conductor resistance 2.1 kVRMS minimum isolation voltage from pins 1-4 to pins 5-8 5.0 V, single supply operation 66 to 185 mV/A output sensitivity Output voltage proportional to AC or DC currents Factory-trimmed for accuracy Extremely stable output offset voltage Nearly zero magnetic hysteresis Ratiometric output from supply voltage
acs712 5a 电流计算

acs712 5a 电流计算
ACS712是一种电流传感器,它可以测量直流或交流电路中的电流。
ACS712 5A版本是指其额定电流为5安培。
要计算ACS712 5A
的电流输出,需要使用其输出电压和灵敏度的关系来进行计算。
首先,ACS712的输出电压与测量的电流成正比。
对于ACS712
5A版本,其灵敏度为185mV/A,这意味着每1安培的电流通过传感
器时,输出电压将增加185毫伏。
因此,要计算实际的电流值,可以使用以下公式:
电流(安培)=(传感器输出电压传感器零点电压)/ 灵敏度。
其中,传感器的零点电压是指在没有电流通过传感器时的输出
电压值。
需要注意的是,ACS712的输出电压是以传感器的工作电压
为基准的,通常是5V或3.3V。
举例来说,如果ACS712 5A版本在5V的工作电压下输出2.5V
的电压,而其零点电压为2.5V,那么通过上述公式计算可得:
电流(安培)=(2.5V 2.5V)/ 0.185V/A = 0安培。
这意味着在这种情况下,没有电流通过传感器。
另外,ACS712还具有双向电流测量的能力,因此在实际应用中,还需要考虑电流的方向以及输出电压的极性。
总的来说,要计算ACS712 5A版本的电流输出,需要考虑其灵
敏度和输出电压,并使用相应的公式进行计算。
同时,在实际使用中,还需要注意传感器的工作电压和电流的方向等因素。
acs712电流检测计算公式

acs712电流检测计算公式好的,以下是为您生成的关于“acs712 电流检测计算公式”的文章:在咱们电子电路的世界里,ACS712 电流检测芯片可是个相当实用的小家伙。
它能帮咱们精确地测量电流,就像一个超级灵敏的电流小侦探。
要搞清楚 ACS712 电流检测的计算公式,咱们得先了解一下这个芯片的工作原理。
ACS712 是通过测量磁场的变化来间接测量电流的。
想象一下,电流就像一条调皮的小溪,在电线里欢快地流淌,而 ACS712 就像是守在溪边的观察者,仔细地感受着水流带来的变化。
ACS712 输出的电压和所测量的电流之间存在着一个线性关系,这就是计算公式的基础啦。
通常来说,ACS712 有不同的量程,比如5A、20A 等等。
以 5A 量程的 ACS712 为例,它的灵敏度大概是每安培185mV。
这意味着,如果测量到的输出电压是 0.925V,那么通过的电流就是 0.925÷0.185 = 5A 啦。
我记得有一次,我在实验室里用 ACS712 做一个小项目。
当时我要测量一个电机的工作电流,心里还挺紧张的,生怕算错了。
我小心翼翼地把 ACS712 接入电路,然后用示波器观察输出的电压波形。
当我看到那个稳定的电压值时,心里别提多激动了。
赶紧拿起笔,按照公式认真地计算起来。
可算完之后,总觉得不太对劲,又反复检查了好几遍线路连接和计算公式,才发现自己把灵敏度给记错了。
哎呀,那叫一个懊恼!不过,经过这一番折腾,我对 ACS712 的电流检测计算公式可是记得牢牢的。
咱们再来说说,如果测量的电流不在ACS712 的量程范围内怎么办?这时候可别慌张,咱们可以通过一些外部的电路来进行调整。
比如说,用一个合适的电阻来分压,或者使用放大器来放大信号。
不过这可得小心操作,不然一个不小心就可能会引入误差,让测量结果变得不准确。
总之,要想熟练运用 ACS712 电流检测计算公式,不仅要理解芯片的工作原理和参数,还得多动手实践。
ACS712ELCTR 电流传感器

Description
TheAllegro®ACS712 provides economical and precise solutions for AC or DC current sensing in industrial, commercial, and communications systems. The device package allows for easy implementation by the customer. Typical applications include motor control, load detection and management, switched-mode power supplies, and overcurrent fault protection. The device is not intended for automotive applications. The device consists of a precise, low-offset, linear Hall sensor circuit with a copper conduction path located near the surface of the die. Applied current flowing through this copper conduction path generates a magnetic field which is sensed by the integrated Hall IC and converted into a proportional voltage. Device accuracy is optimized through the close proximity of the magnetic signal to the Hall transducer. A precise, proportional voltage is provided by the low-offset, chopper-stabilized BiCMOS Hall IC, which is programmed for accuracy after packaging. The output of the device has a positive slope (>VIOUT(Q)) when an increasing current flows through the primary copper conduction path (from pins 1 and 2, to pins 3 and 4), which is the path used for current sensing. The internal resistance of this conductive path is 1.2 mΩ typical, providing low power
ACS712ELCTR-20A-T霍尔电流检测芯片

Approximate Scale 1:1Application 1. The ACS712 outputs an analog signal, V OUT . that varies linearly with the uni- or bi-directional AC or DC primary sensed current, I P , within the range specified. C F is recommended for noise management, with values that depend on the application.ACS712DescriptionThe Allegro ® ACS712 provides economical and precise solutions for A C or DC current sensing in industrial, automotive, commercial, and communications systems. The device package allows for easy implementation by the customer. Typical applications include motor control, load detection and management, switched-mode power supplies, and overcurrent fault protection.The device consists of a precise, low-offset, linear Hall sensor circuit with a copper conduction path located near the surface of the die. Applied current flowing through this copper conduction path generates a magnetic field which is sensed by the integrated Hall IC and converted into a proportional voltage. Device accuracy is optimized through the close proximity of the magnetic signal to the Hall transducer. A precise, proportional voltage is provided by the low-offset, chopper-stabilized BiCMOS Hall IC, which is programmed for accuracy after packaging.The output of the device has a positive slope (>V IOUT(Q)) when an increasing current flows through the primary copper conduction path (from pins 1 and 2, to pins 3 and 4), which is the path used for current sensing. The internal resistance of this conductive path is 1.2 mΩ typical, providing low powerFeatures and Benefits▪ Low-noise analog signal path▪ Device bandwidth is set via the new FILTER pin ▪ 5 µs output rise time in response to step input current ▪ 50 kHz bandwidth▪ Total output error 1.5% at T A = 25°C, and 4% at –40°C to 85°C ▪ Small footprint, low-profile SOIC8 package ▪ 1.2 mΩ internal conductor resistance▪ 2.1 kV RMS minimum isolation voltage from pins 1-4 to pins 5-8▪ 5.0 V , single supply operation▪ 66 to 185 mV/A output sensitivity▪ Output voltage proportional to AC or DC currents ▪ Factory-trimmed for accuracy▪ Extremely stable output offset voltage ▪ Nearly zero magnetic hysteresis▪Ratiometric output from supply voltageFully Integrated, Hall Effect-Based Linear Current Sensorwith 2.1 kVRMS V oltage Isolation and a Low-Resistance Current ConductorContinued on the next page…Package: 8 pin SOIC (suffix LC)Typical ApplicationC BYP 0.1 µFSelection GuidePart Number Packing*T OP (°C)Optimized Range, I P(A)Sensitivity, Sens (Typ) (mV/A)ACS712ELCTR-05B-T Tape and reel, 3000 pieces/reel –40 to 85±5185ACS712ELCTR-20A-T Tape and reel, 3000 pieces/reel –40 to 85±20100ACS712ELCTR-30A-TTape and reel, 3000 pieces/reel–40 to 85±3066*Contact Allegro for additional packing options.loss. The thickness of the copper conductor allows survival of the device at up to 5× overcurrent conditions. The terminals of the conductive path are electrically isolated from the sensor leads (pins 5 through 8). This allows the ACS712 current sensor to be used in applications requiring electrical isolation without the use of opto-isolators or other costly isolation techniques.The A CS712 is provided in a small, surface mount SOIC8 package. The leadframe is plated with 100% matte tin, which is compatible with standard lead (Pb) free printed circuit board assembly processes. Internally, the device is Pb-free, except for flip-chip high-temperature Pb-based solder balls, currently exempt from RoHS. The device is fully calibrated prior to shipment from the factory.Description (continued)Absolute Maximum RatingsCharacteristicSymbol NotesRating Units Supply Voltage V CC 8V Reverse Supply Voltage V RCC –0.1V Output VoltageV IOUT 8V Reverse Output Voltage V RIOUT –0.1V Output Current Source I IOUT(Source) 3mA Output Current SinkI IOUT(Sink)10mA Overcurrent Transient Tolerance I P 100 total pulses, 250 ms duration each, applied at a rate of 1 pulse every 100 seconds.60A Maximum Transient Sensed Current I R (max)Junction Temperature, T J < T J (max)60A Nominal Operating Ambient Temperature T A Range E–40 to 85ºC Maximum Junction T J (max)165ºC Storage TemperatureT stg–65 to 170ºCTÜV AmericaCertificate Number: U8V 06 05 54214 010Parameter SpecificationFire and Electric ShockCAN/CSA-C22.2 No. 60950-1-03UL 60950-1:2003EN 60950-1:2001IP+IP+IP–IP–VCC VIOUT FILTER GNDTerminal List TableNumber Name Description1 and 2IP+Terminals for current being sensed; fused internally 3 and 4IP–Terminals for current being sensed; fused internally 5GND Signal ground terminal6FILTER Terminal for external capacitor that sets bandwidth 7VIOUT Analog output signal 8VCCDevice power supply terminalFunctional Block DiagramPin-out DiagramCOMMON OPERATING CHARACTERISTICS1 over full range of T OP , C F = 1 nF, and V CC = 5 V, unless otherwise specified Characteristic Symbol Test Conditions Min.Typ.Max.Units ELECTRICAL CHARACTERISTICSSupply Voltage V CC 4.5 5.0 5.5V Supply Current I CC V CC = 5.0 V, output open6811mA Output Zener Clamp Voltage V Z I CC = 11 mA, T A = 25°C68.3–V Output Resistance R IOUT I IOUT = 1.2 mA, T A=25°C–12ΩOutput Capacitance Load C LOAD VIOUT to GND––10nF Output Resistive Load R LOAD VIOUT to GND 4.7––kΩPrimary Conductor Resistance R PRIMARY T A = 25°C– 1.2–mΩRMS Isolation Voltage V ISORMS Pins 1-4 and 5-8; 60 Hz, 1 minute, T A=25°C2100––V DC Isolation Voltage V ISODC Pins 1-4 and 5-8; 1 minute, T A=25°C–5000–V Propagation Time t PROP I P = I P(max), T A = 25°C, C OUT = open–3–μs Response Time t RESPONSE I P = I P(max), T A = 25°C, C OUT = open–7–μs Rise Time t r I P = I P(max), T A = 25°C, C OUT = open–5–μs Frequency Bandwidth f–3 dB, T A = 25°C; I P is 10 A peak-to-peak50––kHz Nonlinearity E LIN Over full range of I P–±1±1.5% Symmetry E SYM Over full range of I P9*******%Zero Current Output Voltage V IOUT(Q)Bidirectional; I P = 0 A, T A = 25°C–V CC×0.5–V Magnetic Offset Error V ERROM I P = 0 A, after excursion of 5 A–0–mVClamping Voltage V CH Typ. –110V CC×0.9375Typ. +110mVV CL Typ. –110V CC×0.0625Typ. +110mVPower-On Time t PO Output reaches 90% of steady-state level, T J= 25°C, 20 A presenton leadframe–35–µsMagnetic Coupling2–12–G/A Internal Filter Resistance3R F(INT) 1.7kΩ1Device may be operated at higher primary current levels, I P, and ambient, T A, and internal leadframe temperatures, T OP , provided that the Maximum Junction Temperature, T J(max), is not exceeded.21G = 0.1 mT.3R F(INT) forms an RC circuit via the FILTER pin.COMMON THERMAL CHARACTERISTICS1Min.Typ.Max.Units Operating Internal Leadframe Temperature T OP E range–40–85°CValue Units Junction-to-Lead Thermal Resistance2RθJL Mounted on the Allegro ASEK 712 evaluation board5°C/WJunction-to-Ambient Thermal Resistance RθJA Mounted on the Allegro 85-0322 evaluation board, includes the power con-sumed by the board23°C/W1Additional thermal information is available on the Allegro website.2The Allegro evaluation board has 1500 mm2 of 2 oz. copper on each side, connected to pins 1 and 2, and to pins 3 and 4, with thermal vias connect-ing the layers. Performance values include the power consumed by the PCB. Further details on the board are available from the Frequently Asked Questions document on our website. Further information about board design and thermal performance also can be found in the Applications Informa-tion section of this datasheet.x05A PERFORMANCE CHARACTERISTICS T OP = –40°C to 85°C1, C F = 1 nF, and V CC = 5 V, unless otherwise specified Characteristic Symbol Test Conditions Min.Typ.Max.Units Optimized Accuracy Range I P–5–5ASensitivity2Sens TA Over full range of I P, T A = 25°C–185–mV/A Sens TOP Over full range of I P178–193mV/ANoise V NOISE(PP)Peak-to-peak, T A= 25°C, 185 mV/A programmed Sensitivity,C F= 4.7 nF, C OUT = open, 20 kHz bandwidth–45–mV Peak-to-peak, T A = 25°C, 185 mV/A programmed Sensitivity,C F = 47 nF, C OUT = open, 2 kHz bandwidth–20–mV Peak-to-peak, T A = 25°C, 185 mV/A programmed Sensitivity,C F = 1 nF, C OUT = open, 50 kHz bandwidth–75–mVElectrical Offset Voltage V OE I P = 0 A–40–40mV Total Output Error3E TOT I P =±5 A, T A = 25°C–±1.5–% 1Device may be operated at higher primary current levels, I P, and ambient temperatures, T OP, provided that the Maximum Junction Temperature,T J(max), is not exceeded.2At –40°C Sensitivity may shift as much 9% outside of the datasheet limits.3Percentage of I P, with I P = 5 A. Output filtered.x20A PERFORMANCE CHARACTERISTICS T OP = –40°C to 85°C1, C F = 1 nF, and V CC = 5 V, unless otherwise specified Characteristic Symbol Test Conditions Min.Typ.Max.Units Optimized Accuracy Range I P–20–20ASensitivity2Sens TA Over full range of I P, T A = 25°C–100–mV/A Sens TOP Over full range of I P97–103mV/ANoise V NOISE(PP)Peak-to-peak, T A= 25°C, 100 mV/A programmed Sensitivity,C F= 4.7 nF, C OUT = open, 20 kHz bandwidth–24–mV Peak-to-peak, T A = 25°C, 100 mV/A programmed Sensitivity,C F = 47 nF, C OUT = open, 2 kHz bandwidth–10–mV Peak-to-peak, T A = 25°C, 100 mV/A programmed Sensitivity,C F = 1 nF, C OUT = open, 50 kHz bandwidth–40–mVElectrical Offset Voltage V OE I P = 0 A–30–30mV Total Output Error3E TOT I P =±20 A, T A = 25°C–±1.5–% 1Device may be operated at higher primary current levels, I P, and ambient temperatures, T OP, provided that the Maximum Junction Temperature,T J(max), is not exceeded.2At –40°C Sensitivity may shift as much 9% outside of the datasheet limits.3Percentage of I P, with I P = 20 A. Output filtered.x30A PERFORMANCE CHARACTERISTICS T OP = –40°C to 85°C1, C F = 1 nF, and V CC = 5 V, unless otherwise specified Characteristic Symbol Test Conditions Min.Typ.Max.Units Optimized Accuracy Range I P–30–30ASensitivity2Sens TA Over full range of I P , T A = 25°C–66–mV/A Sens TOP Over full range of I P64–68mV/ANoise V NOISE(PP)Peak-to-peak, T A= 25°C, 66 mV/A programmed Sensitivity,C F= 4.7 nF, C OUT = open, 20 kHz bandwidth–20–mV Peak-to-peak, T A = 25°C, 66 mV/A programmed Sensitivity,C F = 47 nF, C OUT = open, 2 kHz bandwidth–7–mV Peak-to-peak, T A = 25°C, 66 mV/A programmed Sensitivity,C F = 1 nF, C OUT = open, 50 kHz bandwidth–35–mVElectrical Offset Voltage V OE I P = 0 A–30–30mV Total Output Error3E TOT I P = ±30 A, T A = 25°C–±1.5–% 1Device may be operated at higher primary current levels, I P, and ambient temperatures, T OP, provided that the Maximum Junction Temperature,T J(max), is not exceeded.2At –40°C Sensitivity may shift as much 9% outside of the datasheet limits.3Percentage of I P, with I P = 30 A. Output filtered.Characteristic PerformanceI P= 5 A, Sens = 185 mV/A unless otherwise specified6.06.57.07.58.08.59.09.510.0T A (°C)T A (°C)M e a n I C C (m A )V E R R O M (m V )V I O U T (V)V CC (V)I C C (m A )E L I N (%)T A (°C)0.250.500.751.001.251.501.752.0000.20.40.60.81.01.21.41.61.82.0T A (°C)M e a n E T O T (%)-15.0-10.0-5.00.05.010.015.000.51.01.52.02.53.03.54.04.5Ip (A)Ip(A)S e n s (m V /A )Mean Supply Current versus Ambient TemperatureV CC = 5 VSupply Current versus Supply VoltageMagnetic Offset versus Ambient TemperatureNonlinearity versus Ambient TemperatureI = 10 AMean Total Output Error versus Ambient TemperatureI = 10 AOutput Voltage versus Sensed CurrentSensitivity versus Sensed CurrentT A(°C)T A (°C)M e a n I C C(m A )V E R R O M (mV )V I O U T (V)V CC (V)I C C (m A )E L I N (%)T A (°C)0.200.400.600.801.00 00.20.40.60.81.01.21.41.61.82.0T A (°C)M e a n E T O T (%)0.51.01.52.02.53.03.54.04.5Ip (A)Ip (A)S e n s (m V /A )6.06.57.07.58.08.59.09.510.0Mean Supply Current versus Ambient TemperatureV CC = 5 VSupply Current versus Supply VoltageMagnetic Offset Current versus Ambient TemperatureNonlinearity versus Ambient TemperatureMean Total Output Error versus Ambient TemperatureOutput Voltage versus Sensed CurrentSensitivity versus Sensed CurrentCharacteristic PerformanceI P = 30 A, Sens = 66 mV/A unless otherwise specifiedSensitivity (Sens). The change in sensor output in response to a 1 A change through the primary conductor. The sensitivity is the product of the magnetic circuit sensitivity (G / A ) and the linear IC amplifier gain (mV/G). The linear IC amplifier gain is pro -grammed at the factory to optimize the sensitivity (mV/A) for the full-scale current of the device.Noise (V NOISE ). The product of the linear IC amplifier gain (mV/G) and the noise floor for the Allegro Hall effect linear IC (≈1 G). The noise floor is derived from the thermal and shot noise observed in Hall elements. Dividing the noise (mV) by the sensitivity (mV/A) provides the smallest current that the device is able to resolve.Linearity (E LIN ). The degree to which the voltage output from the sensor varies in direct proportion to the primary currentthrough its full-scale amplitude. Nonlinearity in the output can be attributed to the saturation of the flux concentrator approaching the full-scale current. The following equation is used to derive the linearity:where V IOUT_full-scale amperes = the output voltage (V) when thesensed current approximates full-scale ±I P .Symmetry (E SYM ). The degree to which the absolute voltage output from the sensor varies in proportion to either a positive or negative full-scale primary current. The following formula is used to derive symmetry:Quiescent output voltage (V IOUT(Q)). The output of the sensor when the primary current is zero. For a unipolar supply voltage, it nominally remains at V CC ⁄ 2. Thus, V CC = 5 V translates into V IOUT(Q) = 2.5 V . Variation in V IOUT(Q) can be attributed to the resolution of the Allegro linear IC quiescent voltage trim and thermal drift.Electrical offset voltage (V OE ). The deviation of the device out-put from its ideal quiescent value of V CC / 2 due to nonmagnetic causes. To convert this voltage to amperes, divide by the device sensitivity, Sens.Accuracy (E TOT ). The accuracy represents the maximum devia-tion of the actual output from its ideal value. This is also known as the total ouput error. The accuracy is illustrated graphically in the output voltage versus current chart at right.Accuracy is divided into four areas:• 0 A at 25°C. Accuracy of sensing zero current flow at 25°C, without the effects of temperature.• 0 A over Δ temperature. Accuracy of sensing zero current flow including temperature effects.• Full-scale current at 25°C. Accuracy of sensing the full-scale current at 25°C, without the effects of temperature.• Full-scale current over Δ temperature. Accuracy of sensing full-scale current flow including temperature effects.Ratiometry . The ratiometric feature means that its 0 A output, V IOUT(Q), (nominally equal to V CC /2) and sensitivity, Sens, are proportional to its supply voltage, V CC . The following formula is used to derive the ratiometric change in 0 A output voltage, ΔV IOUT(Q)RAT (%).The ratiometric change in sensitivity, ΔSens RAT (%), is defined as:Definitions of Accuracy Characteristics1001–[{[{V IOUT _full-scale amperes –V IOUT(Q)∆ gain × % sat ()2 (V IOUT _half-scale amperes – V IOUT(Q))100V IOUT _+ full-scale amperes – V IOUT(Q)V IOUT(Q) –V IOUT _–full-scale amperes100V IOUT(Q)VCC /V IOUT(Q)5VV CC /5 V100Sens VCC /Sens 5VV CC /5 V‰Output Voltage versus Sensed CurrentAccuracy at 0 A and at Full-Scale Current100200300400500t r (µs )Power on Time versus External Filter Capacitance1020304050C F (nF)C F(nF)C F (nF)5075100125150tr (µs )C F (nF)t P O (µs )0.010.11101001000N o i s e (p -p )(m A )Definitions of Dynamic Response CharacteristicsPropagation delay (t PROP ). The time required for the sensor output to reflect a change in the primary current signal. Propaga-tion delay is attributed to inductive loading within the linear IC package, as well as in the inductive loop formed by the primary conductor geometry. Propagation delay can be considered as a fixed time offset and may be compensated.Rise time (t r ). The time interval between a) when the sensor reaches 10% of its full scale value, and b) when it reaches 90% of its full scale value. The rise time to a step response is used to derive the bandwidth of the current sensor, in which ƒ(–3 dB) = 0.35 / t r . Both t r and t RESPONSE are detrimentally affected by eddy current losses observed in the conductive IC ground plane.Response time (t RESPONSE ). The time interval between a) when the primary current signal reaches 90% of its final value, and b) when the sensor reaches 90% of its output corresponding to the applied current.Excitation SignalOutput (mV)15 AStep ResponseT A =25°CC F (nF)t r (µs) 0 6.647 1 7.74 4.7 17.38 10 32.09087 22 68.15 47 88.18 100 291.26 220 623.02 4701120Chopper Stabilization is an innovative circuit technique that is used to minimize the offset voltage of a Hall element and an asso-ciated on-chip amplifier. Allegro patented a Chopper Stabiliza-tion technique that nearly eliminates Hall IC output drift induced by temperature or package stress effects. This offset reduction technique is based on a signal modulation-demodulation process. Modulation is used to separate the undesired dc offset signal from the magnetically induced signal in the frequency domain. Then, using a low-pass filter, the modulated dc offset is suppressed while the magnetically induced signal passes through the filter. As a result of this chopper stabilization approach, the output voltage from the Hall IC is desensitized to the effects of tempera-ture and mechanical stress. This technique produces devices that have an extremely stable Electrical Offset V oltage, are immune to thermal stress, and have precise recoverability after temperature cycling.This technique is made possible through the use of a BiCMOS process that allows the use of low-offset and low-noise amplifiers in combination with high-density logic integration and sample and hold circuits.Chopper Stabilization TechniqueConcept of Chopper Stabilization TechniquePEAKRESETTypical ApplicationsApplication 5. 10 A Overcurrent Fault Latch. Fault threshold set by R1 and R2. This circuit latches an overcurrent fault and holds it until the 5 V rail is powered down.Application 2. Peak Detecting CircuitApplication 4. Rectified Output. 3.3 V scaling and rectification application for A-to-D converters. Replaces current transformer solutions with simpler ACS circuit. C1 is a function of the load resistance and filtering desired. R1 can be omitted if the full range is desired.Application 3. This configuration increases gain to 610 mV/A (tested using the ACS712ELC-05A).Improving Sensing System Accuracy Using the FILTER Pin In low-frequency sensing applications, it is often advantageous to add a simple RC filter to the output of the sensor. Such a low-pass filter improves the signal-to-noise ratio, and therefore the resolution, of the sensor output signal. However, the addition of an RC filter to the output of a sensor IC can result in undesirable sensor output attenuation — even for dc signals.Signal attenuation, ∆V ATT , is a result of the resistive divider effect between the resistance of the external filter, R F (see Application 6), and the input impedance and resistance of the customer interface circuit, R INTFC . The transfer function of this resistive divider is given by:Even if R F and R INTFC are designed to match, the two individualresistance values will most likely drift by different amounts overtemperature. Therefore, signal attenuation will vary as a function of temperature. Note that, in many cases, the input impedance, R INTFC , of a typical analog-to-digital converter (ADC) can be as low as 10 kΩ.The ACS712 contains an internal resistor, a FILTER pin connec -tion to the printed circuit board, and an internal buffer amplifier. With this circuit architecture, users can implement a simple RC filter via the addition of a capacitor, C F (see Application 7) from the FILTER pin to ground. The buffer amplifier inside of the ACS712 (located after the internal resistor and FILTER pin connection) eliminates the attenuation caused by the resistive divider effect described in the equation for ∆V ATT . Therefore, the ACS712 device is ideal for use in high-accuracy applications that cannot afford the signal attenuation associated with the use of an external RC low-pass filter.=∆V ATT R INTFC R F + R INTFC V IOUT.Application 6. When a low pass filter is constructed externally to a standard Hall effect device, a resistive divider may exist between the filter resistor, R F, and the resistance of the customer interface circuit, R INTFC . This resistive divider will cause excessive attenuation, as given by the transfer function for ∆V ATT .Application 7. Using the FILTER pin provided on the ACS712 eliminates the attenuation effects of the resistor divider between R F and R INTFC , shown in Appli-cation 6.The products described herein are manufactured under one or more of the following U.S. patents: 5,045,920; 5,264,783; 5,442,283; 5,389,889; 5,581,179; 5,517,112; 5,619,137; 5,621,319; 5,650,719; 5,686,894; 5,694,038; 5,729,130; 5,917,320; and other patents pending.Allegro MicroSystems, Inc. reserves the right to make, from time to time, such departures from the detail specifications as may be required to permit improvements in the performance, reliability, or manufacturability of its products. Before placing an order, the user is cautioned to verify that the information being relied upon is current. The information included herein is believed to be accurate and reliable. However, Allegro MicroSystems, Inc. assumes no responsibility for its use; nor for any infringement of patents or other rights of third parties which may result from its use.Copyright ©2006, Allegro MicroSystems, Inc.ACS712T R LC PPP YYWWA ACS Allegro Current Sensor712Device family numberT Indicator of 100% matte tin leadframe platingR Operating ambient temperature range codeLC Package type designatorPPP Primary sensed currentYY Date code: Calendar year (last two digits)WW Date code: Calendar weekA Date code: Shift codeACS712TR LC PPPL...LYYWWACS Allegro Current Sensor712Device family numberT Indicator of 100% matte tin leadframe platingR Operating ambient temperature range codeLC Package type designatorPPP Primary sensed currentL...L Lot codeYY Date code: Calendar year (last two digits)WW Date code: Calendar weekPackage BrandingTwo alternative patterns are usedFor the latest version of this document, go to our website at:。
电流传感器acs712的原理与应用

电流传感器acs712的原理与应用1. 什么是电流传感器acs712?电流传感器acs712是一种用于测量直流和交流电流的传感器。
它具有非接触性测量电流的特点,可以通过简单的接线和编程实现电流的测量。
acs712传感器采用霍尔效应原理,通过精确测量电流通过板载电流传感器的荷电粒子的磁场变化来进行测量。
2. 电流传感器acs712的工作原理电流传感器acs712基于霍尔效应进行工作。
在acs712内部,有一块感应板,与电流流过的导线相邻。
当电流通过传感器中的导线时,电流引起传感器附近的磁场发生变化。
该变化的磁场通过填充在传感器内部的霍尔电压感应电路产生电势差。
这种变化的电势差与通过导线的电流成正比。
传感器的内部电路可以将这个电势差转换为可测量的输出电压。
因此,可以通过检测传感器的输出电压来间接测量通过导线的电流值。
3. 电流传感器acs712的主要特点•非接触性测量:电流传感器acs712不需要连接到待测电路中,只需将传感器与待测电路靠近即可测量电流,无需进行电路打断或接入的操作。
•高精度测量:acs712传感器具有较高的精确度和测量精度,可以实现对小电流和大电流的准确测量。
•宽工作电压范围:acs712传感器的工作电压范围较宽,一般可以在+5V至+25V的范围内正常工作。
•低功耗:传感器的工作电流较低,只需非常少量的电力即可实现电流测量,节省能源。
•强大的抗干扰能力:acs712传感器具有良好的抗干扰能力,能够有效地抵御外部磁场和噪声的影响,保证测量结果的准确性。
4. 电流传感器acs712的应用领域电流传感器acs712在各种领域和应用中得到广泛的应用,以下列举了一些常见的应用领域:4.1. 工业自动化•电机电流监测:电流传感器acs712可以用于监测电机的电流,以确保电机的正常运行。
如果电机电流异常,可以及时发出警报或采取相应的措施。
•设备状态监测:通过测量设备的电流,可以实时监测设备的状态和运行情况,以便及时发现故障和预测设备寿命。
GYJ-0068 电流报警器 ACS712可编程电流检测开发 电流显示工控板 电流监控

【简要说明】【标注说明】【接线说明】【输出控制设备】【输出举例说明】12V供电接线举例,24V同理【UART通信说明】也可以通过TTL下载【原理图】提供PDF格式/******************************************************************** ********************************************************************/ #include "hader\\main.h"#include<math.h>#define uchar unsigned char//宏定义无符号字符型#define uint unsigned int //宏定义无符号整型#define FOSC 11059200L#define BAUD 9600#define ADC_POWER 0x80 //ADC 电源控制位#define ADC_FLAG 0x10 //ADC 转换结束标志位#define ADC_START 0x08 //ADC 开始转换控制位#define ADC_SPEEDHH 0x60 //270个时钟周期转换一次sfr ADC_DATA=0xc6; //70个时钟周期转换一次void display(void); //显示函数void t_to_dis(uint num);#define DUAN P2 //P0口控制段#define WEI P1 //P2口控制位/********************************************************************初始定义*********************************************************************/ //数码管显示段码code uchar seg7code[11]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0XBF}; uchar numb[4]; //定义字符串用于数值转换uint cnt,times;uint ad,ad2;float ad1,ad3;bit flag,write; //定时标志位uint16 idata setcurent;uchar idata keystat[3];uint adcj[91];uint adcj2[65];// 串行中断程序void initInt(void){TMOD = 0x01;PCON = 0;TH0 =(655336-1000)/256;TL0 =(655336-1000)%256;TR0 = 1;ET0=1;EA=1;}//初始化void initProg(void){P2M1=0;P2M0=0xff;P1M1=0x80;P1M0=0x0f;P3M1&=0x7f;P3M0|=0x80;initInt(); //初始化定时器}/********************************************************************延时函数*********************************************************************/ void delay(uint x)//延时程序0.1秒{uint m,n,s;for(m=x;m>0;m--)for(n=20;n>0;n--)for(s=248;s>0;s--);}/********************************************************************AD转换初始化程序*********************************************************************/void InitADC(){P1=P1M0|=0xf0;P1M1=0x00;ADC_DATA=0; //AD数据寄存器清空ADC_CONTR=ADC_POWER|ADC_SPEEDHH|ADC_START;//打开AD电源,转换周期XX delay(10); //延时}/********************************************************************AD转换控制程序*********************************************************************/uint GetADCResult(uchar px) //转换输出的数据(PX为通道口){uint t;ADC_CONTR=ADC_POWER | ADC_SPEEDHH | px | ADC_START;//开始转换_nop_(); //延时一个机器周期_nop_(); //延时一个机器周期_nop_(); //延时一个机器周期_nop_(); //延时一个机器周期_nop_(); //延时一个机器周期while (!(ADC_CONTR & ADC_FLAG));//等待转换结束ADC_CONTR &= ~ADC_FLAG; //关闭AD转换t=(ADC_DATA<<2)|ADC_LOW2;return t;}/********************************************************************按键扫描*********************************************************************/ void key_scan(void){if(key1==0) //功能按键,显示调整和实测值{if(++keystat[0]>=30){keystat[0] = 1;}}elseif((key1)&&(keystat[0])){keystat[0] = 0;flag=!flag;}if(flag==1){//增加设定电流值if(key2==0) //增加设定电流值{if(++keystat[1]>=80){keystat[1]=1;setcurent=setcurent+5 ;if(setcurent>1500)setcurent=1500;write = 1;}}else if((key2)&&(keystat[1])){keystat[1] = 0;}//减小设定电流值if(key3==0) //减小设定电流值{if(++keystat[2]>=80){keystat[2] = 1;setcurent = setcurent-5;if(setcurent<1)setcurent=1;write = 1;}}else if((key3)&&(keystat[2])){keystat[2] = 0;}}}void Selectsort(uint A[],uchar n){uchar i,j,min;uint temp;for(i=0;i<n;i++){min=i;for(j=i+1;j<=n;j++) /* 从j往前的数据都是排好的,所以从j开始往下找剩下的元素中最小的*/{if(A[min]>A[j]) /* 把剩下元素中最小的那个放到A[i]中*/{temp=A[i];A[i]=A[j];A[j]=temp;}}}}/********************************************************************主函数*********************************************************************/ void main(){uint i;uchar j,t;initProg();InitADC(); //AD初始化setcurent=IapReadByte(0);setcurent=setcurent*100+IapReadByte(1);while(1){if(flag) //显示设定值t_to_dis(setcurent); //数值变换else //否则显示实测值t_to_dis(ad2); //数值变换if(ad2>=setcurent) //判断是否大于设定电流值OUT=0;elseOUT=1;if(write){write=0;IapEraseSector(0);IapProgramByte(0,setcurent/100);IapProgramByte(1,setcurent%100);}ad=GetADCResult(7);i=ad*10;if(i>=5120&&i<=7020){adcj[j++]=i;}if(j>90){j=0;Selectsort(adcj,60);adcj2[t++]=adcj[90];if(t>3){t=0;Selectsort(adcj2,3);ad1 = 500.0*((adcj[30]-5120)/10240.0)/0.185;ad1=ad1*0.707*3;ad2=abs(ad1);}}}}/********************************************************************求值函数*********************************************************************/ void t_to_dis(uint num){numb[0]=num/1000; ; //显示千位numb[1]=num/100%10; //显示百位numb[2]=num/10%10; //显示十位numb[3]=num%10; //显示个位}/********************************************************************定时器T0中断函数*********************************************************************/ void timer0(void)interrupt 1{TH0=(65536-800)/256;TL0=(65536-800)%256;cnt++;switch(cnt){case 1: WEI|=0X0F; DUAN=~seg7code[numb[0]]; wei1=0; break; //分十位case 2: WEI|=0X0F; DUAN=~seg7code[numb[1]]; wei2=0; break;//分个位case 3: WEI|=0X0F; DUAN=~seg7code[numb[2]]; wei3=0; break;//秒十位case 4: WEI|=0X0f; DUAN=~seg7code[numb[3]]; wei4=0; break; //输出小default: cnt=0;break;}key_scan();//按键扫描}/********************************************************************结束*********************************************************************/ 【尺寸图】【图片展示】【加装配套外壳效果】。
电流传感器ACS712的原理与应用

示 意图如 图4所示 ,系统 由一个主控 系统 和 多个检测模块组成 ,各检测模块与 主控
系统 问 通 过 4 5 线 进 行 通 信 ,构 成 分 布 8总
I 1 I+ 稿 2 P
3和 4 I. P
) 6 GND
铍 测 I流 输 入 或 输 … 乜
信 地
式 的应 用系统。电流检测模块 的结构示意
输 出端 不能开路 ,突发性 绝缘 击穿等 缺
出端 。
P-
P,
p— p—
详细 介绍新型线性电 流传感 AS1的 C7 特点、 2
工作原理 、特 性 曲线及其典 型应 用电路 对
AS I C 7 2茸A 0 8 9的接 口进 行 了分析和设计 , D00
点。新型线性 电流传感器 AC 7 2 S 1 能有效 克服这些缺点 ,为工业 、汽车、商业和通
e0
l |丁 0J
信系统中的交流或直流电流感测提供经济
实惠的精 密解决方案。
设计 了 一种基于 A S 1 C 72的多点 电流检测 系统
它 能 准确 、实 时地 检 测 多点 电流 ,使 设 备 隐 患 得 到 及 时 的 处 理 ,确 保 人 身 安 全 和 设 备 安
全。
VC C }源 l 乜
AC 7 2 含 一 个 电 阻 RFI )[ S 1内 ( NT i - I 个缓 冲 放 大 器 ,用 户 可 以 通 过 FI R 引 TE
一
I( p A)
7 5O 7 0O
—
,
的接 V电路 组成 , 个电流检测模块能监 I 每 测 8 的电流。各模块 采集到的电流数据 路 通 过 RS 8 线 传 送 到 主 控 系统 ,主 控 4 5总
ACS712的原理与应用

ACS712的原理与应用1. 介绍ACS712是一种集成了霍尔效应传感器的电流测量模块。
它能够测量交流和直流电流,并将电流通过电压输出来传递给微控制器等设备。
ACS712模块的工作原理基于霍尔效应,通过测量磁场的强度来确定经过电流传感器的电流大小。
2. 基本原理ACS712模块的基本原理是利用霍尔效应测量电流。
霍尔效应是指当电流通过导体时,会在其周围产生一个磁场。
该磁场的强度与通过导体的电流成正比。
通过将霍尔效应传感器置于电流路径中,可以通过测量磁场强度来确定电流的大小。
3. 型号和规格ACS712有多种型号和规格可供选择,根据不同的应用需求进行选择。
以下是一些常见的ACS712型号及其规格:•ACS712ELCTR-05B-T: 5A测量范围,敏感度为185mV/A•ACS712ELCTR-20A-T: 20A测量范围,敏感度为100mV/A•ACS712ELCTR-30A-T: 30A测量范围,敏感度为66mV/A 根据实际需求选择合适的型号和规格非常重要,以确保精准测量电流。
4. 连接和使用方法ACS712模块的连接和使用非常简单。
以下是一般的步骤:1.将ACS712模块的VCC引脚连接到供电电源的正极,GND引脚连接到供电电源的负极。
2.将ACS712模块的OUT引脚连接到需要测量电流的负载或电流回路。
3.将ACS712模块的过压保护引脚连接到微控制器或其他设备的输入引脚(可选)。
4.根据模块的型号和规格,连接相应的电压输出引脚(VOUT),通常为VOUT+和VOUT-。
5.使用微控制器或其他设备读取VOUT引脚的电压值,并将其转换为相应的电流值。
5. 应用领域ACS712模块广泛应用于各种电流测量和监控系统中。
以下是一些常见的应用领域:•家庭电力监测:ACS712模块可以用于监测家庭电力消耗,帮助用户了解和控制电力使用情况。
•工业自动化:ACS712模块可以用于监测工业设备的电流,实时监控设备的运行状况和电力消耗。
Acs712霍尔效应电流传感器

Acs712霍尔效应电流传感器Acs712Allegro 发布全新低噪音2100Vrms 霍尔效应电流传感器马萨诸塞州伍斯特市,2006年12月18 B-Allegr 。
推出两款全新高性能、低噪音2100 Vrms 绝缘电流传感器。
与上一代电流传感器相比,Allegro 全新电流传感器ACS712 (双向)及ACS713 (单向) 有噪音更低、精确度更高的特点。
这些传感器还包抵集成屏蔽,可有效削弱通过引脚框的较高 dV/dt 瞬态, 从而使得该解决方案非常适合电动机控制及高端电流感测应用。
2006年12月18开始生产之日起至今,ACS712系列三个型号:ACS712ELCTR-05B-TACS712ELCTR-20A-TACS712ELCTR-30A-T此系列产品销量一直在电流传感器行业中遥遥领先.行业领头者。
这些传感器的响应时间比之前的器件缩短了两倍以上,因此非常适合保护及髙速应用。
此外,器件中还添加了滤波引脚,从而可进一步降低输出噪音并改善低电流精确度, 并且不会产生外部RC 滤波器的衰减影响。
电流传感器IC 系列是基于霍尔效应的创新型单片绝缘器件,可提供采用业界领先的小型封装的全面集成解决方案。
带2.1 kVRMS 电压绝缘及低电阻电流导体的全集成、基于霍尔效应的线性电流传感器IC特点*1•:低噪音模拟信号路径*2*:可通过新的滤波引脚设昼器件带宽*3•: 5ps 输出上升时间,对应步进输入电流ACS712此系列共含三个型号,检测电流5A.20A.30A 以下给大家一一列兴出来。
灵敏度电流■电源传感器类型 封装/外壳 霍尔效应 8-SOIC (0.154", 精确度5A型号 电流•传感 ACS712ELCTR-05B-T 3.90mm 宽) ACS712ELCTR-20A-T 3.90mm 宽) ACS712ELCTR-30A-T 3.90mm 宽) 型号 电源电压输出频率 ±1.5% 180-190 mV/A10mA 20A30A ±1.5% 96-104 mV/A10mA ±1.5% 63-69 mV/A10mAACS712ELCTR-05B-T 4.5 V-5.5 V 2.5V ACS712ELCTR-20A-T 4.5 V-5.5 V 2.5VACS712ELCTR-30A-T 4.5 V-5.5 V 2.5V 霍尔效应 8-SOIC (0.154M , 霍尔效应 8-SOIC (0.154", 响应时间电极标记80kHz 5ps 双向80kHz 5ps 双向 80kHz 5ps 双向 工作温度 负 40085 °C 负 40°C-85°C 负 40°C-85°C*4•: 80千赫带宽*5•:总输出误差为1.5% (当TA = 25c C 时)*6*:小型低厚度SOIC8封装*7*: 1.2 mQ 内部传导电阻*8*:引脚1-4至5-8之间2.1 VRMS 最小绝缘电压*9•: 5.0伏特,单电源操作*10*: 66至185 mV/A 输出灵敏度*11*:输出电压与交流或宜流电流成比例*12*:出厂时精确度校准*13*:极稳定的输出偏置电压*14•:近零的磁滞*14*:电源电压的成比例输出Typical Application描述Allegro ACS712可为工业、商业和通信系统中的交流或直流电流感测提供经济实惠且精确的 解决方案。
acs712转化公式

acs712转化公式ACS712是一种电流传感器模块,常用于测量交流和直流电流。
它能够将电流转化为电压信号,并通过模拟输出端口输出。
在实际应用中,我们经常需要将电流转化为数字信号,以便进行进一步的处理和分析。
本文将介绍ACS712转化公式以及其在电流测量中的应用。
ACS712转化公式可以用来计算电流对应的模拟输出电压。
根据ACS712的规格书,其输出电压与电流之间存在线性关系,具体的转化公式如下:Vout = Vref + Sensitivity × Iin其中,Vout是模拟输出电压,Vref是零电流时的参考电压,Sensitivity是灵敏度,Iin是输入电流。
通过这个公式,我们可以根据测量到的模拟输出电压来计算对应的电流值。
为了精确测量电流,我们需要事先确定参考电压和灵敏度的数值。
参考电压是指在零电流状态下的输出电压。
在ACS712模块中,通常使用Vcc/2作为参考电压,其中Vcc是供电电压。
通过这样的设置,当没有电流通过传感器时,模拟输出电压应该为Vcc/2。
灵敏度是指单位电流对应的输出电压的变化量。
在ACS712模块中,灵敏度的数值取决于具体的型号。
例如,ACS712ELC-05B的灵敏度为185mV/A,即每安培的电流变化引起模拟输出电压的变化为185毫伏。
在实际应用中,我们可以通过测量模拟输出电压来计算对应的电流值。
首先,我们需要将模拟输出电压转化为数字信号,可以通过使用模数转换器(ADC)实现。
然后,根据转化公式,我们可以计算出电流值。
除了计算电流值,ACS712还可以用于监测电流的变化。
通过实时测量模拟输出电压,我们可以实时监测电流的变化情况。
这在一些需要对电流进行实时监测和控制的应用中非常有用,比如电力系统中的电流保护和控制。
要注意的是,ACS712模块的输出电压是相对于参考电压的差值。
因此,在使用模块时,我们需要对模拟输出电压进行偏移量的修正,以得到准确的电流值。
小电流霍尔传感器芯片

小电流霍尔传感器芯片主要用于检测磁场并转换成电信号,广泛应用于电流测量、位置检测、速度检测等领域。
下面介绍一些常见的小电流霍尔传感器芯片:
1. ACS758:该芯片是一款高灵敏度、低噪声的霍尔效应传感器,常用于电流检测、磁场测量等领域。
它具有低功耗、线性度好、抗干扰能力强等优点。
2. ACS712:该芯片是一款线性霍尔传感器,专为电流检测而设计。
它能够将电流转换成电压,具有高精度、低噪声、响应速度快等优点。
3. AH800:该芯片是一款高精度、低功耗的霍尔电流传感器芯片,能够测量直流和交流电流。
它具有线性度好、温度稳定性高、响应速度快等优点。
4. ACS724:该芯片是一款数字霍尔传感器,适用于电流检测和位置检测。
它具有高灵敏度、低噪声、低功耗等优点,并且支持SPI和I2C 通信协议。
5. ACS660:该芯片是一款高灵敏度、低噪声的霍尔效应传感器,适用于电动车电池管理和电机控制等领域。
它具有高精度、快速响应、低功耗等优点。
这些小电流霍尔传感器芯片都具有不同的特点和应用领域,可以根据具体需求选择适合的芯片。
acs712工作原理

acs712工作原理
ACS712是一种基于霍尔效应的电流传感器,用于测量直流和低频交流电路中的电流。
它的主要工作原理是在电路中产生一个磁场,并观察该磁场对传感器的霍尔元件的影响。
当电流通过传感器的导线时,它会在周围产生一个磁场。
这个磁场会引起在传感器内部的霍尔元件中的电荷分离,从而产生电压信号,这个信号与电流大小成正比。
ACS712通过内部的放大器将输出信号放大,使得输出信号的幅度与输入电流的大小成正比。
该输出信号可以通过模拟电压型输出或者PWM脉冲输出两种方式进行输出。
ACS712的精度和灵敏度高,能够提供高达5A、20A、30A等不同规格的电流检测范围,同时也具有超过2.1kV RMS的高隔离性能,能够满足安全和精度要求较高的电流检测应用。
在实际应用中,ACS712常用于电池充放电检测、电机控制、电力负载检测等领域。
通过测量电路中的电流大小,可以帮助用户了解电路中的电流变化情况,为后续的电路控制、保护及优化提供重要的数据支持。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
电流检测方法介绍
一、串电阻检测
优点:电路结构清晰,成本低,实时性好,精度较高;
缺点:温漂较大,无隔离效果,量程较大时,需要分多个挡来处理结果,容易受GND地的干扰;
总结:一般的产品都可以用该方案解决。
实际调试过程中,信号容易受地线干扰,通过PCB合理的布局跟软件的滤波处理,能解决干扰的问题。
另外,当电流量程较大时,需要做两级甚至两级以上的处理(原因:采样电阻小,小电流的时候,信号很难采集到;采样电阻曾大时,大电流的时候超过运放的电压)
二、电流互感器检测
电磁式电流互感器优点:结构简单可靠,寿命较长,便于维护。
价格较低。
电磁式电流互感器缺点:重量大。
不能用于高频检测。
精度较低。
三、其他检测方式(这里不做详细介绍)
AVAGO的光耦隔离放大器。
TI的电容式隔离放大器
ADI的西格玛德尔塔式隔离放大器。
四、基于霍尔感应原理的电流检测专用芯片(ACS712为例讲解)
1)命名说明:ACS712ELCTR-20A-T为例
A Allegro
CS current sensor
712 part number
E 温度等级, Allegro温度等级常用的
S(-20~85) E(-40~85) K(-40~125) L(-40~150) LC 封装
TR 包装,TR为卷带盘装
20A 量程
T 符合环保要求
2)ACS712主要特点
●80KHZ带宽
●总输出误差为1.5%
●采用小型贴片SOIC8封装
● 1.2mΩ内部电阻
●左侧大电流引脚(PIN1-4)与右侧低电压引脚(PIN5-8)最小绝缘
电压为2100V
●5V单电压工作
●出厂时精准校准
●该器件不可应用于汽车领域
3)原理与应用领域
原理与简介:该芯完全基于霍尔感应的原理设计,由一个精确的低偏移线性霍尔传感器电路与位于接近IC表面的铜箔组成(如下图所示),电流流过铜箔时,产生一个磁场,霍尔元件根据磁场感应出一个线性的电压信号,经过内部的放大、滤波、斩波与修正电路,输出一个电压信号,该信号从芯片的第七脚输出,直接反应出流经铜箔电流的大小。
ACS712根据尾缀的不一样,量程分为三个规格:±5A、±20A、±30A。
输入与输出在量程范围内为良好的线性关系,其系数Sensitivity分别为,185 mV/A、100 mV/A、66mV/A。
因为斩波电路的原因,其输出将加载于0.5*Vcc上。
ACS712的Vcc电源一般建议采用5V。
输出与输入的关系为Vout=0.5Vcc+Ip*Sensitivity。
一般输出的电压信号介于0.5V~4.5V之间。
典型的应用:电机领域,载荷检测和管理,开关电源领域,和各种电子产品过电流故障保护。
4)性能特点:
5)输入电流与输出电压对应曲线及计算公式:
a. ACS712ELCTR-05B电流电压对应关系如下图,Ip=0A即没有输入电流的时
候,对应输出电压为2.5V.精确度为185mV/A即为图中斜线的斜率。
取VCC=5V,计算公式为:
Vout = 2.5 + 0.185*Ip
b. ACS712ELCTR-20A电流电压对应关系如下图,精确度为100mV/A即为图中斜
线的斜率。
取VCC=5V,计算公式为:
Vout = 2.5 + 0.1*Ip
b.ACS712ELCTR-30A电流电压对应关系如下图,精确度为66mV/A即为图中斜线
的斜率。
取VCC=5V,计算公式为:
Vout = 2.5 + 0.066*Ip
6)更多典型应用:
A-D转换器.用更简单的解决方案取代电流互感器ACS电路. C1是一个函数的负载电阻和滤波所需的.如果期望的充分的范围内,R1可以省略.
应用5 10 A的过流故障锁存器.故障阈值由R1和R2.电路闭锁过流故障,并持有它,直到5 V轨断电
五、 ACS712模块介绍:
为了方便广大工程师与学生在调试产品、参加大赛、毕业设计中节省时间,鄙人做了一套ACS712各个系列的电流检测模块。
包括±30A、±20A、±5A三种量程。
下面以±5A的为例介绍。
标注图片:
PCB效果图:
原理图及其他设计资料,欢迎来淘宝店获取,轩微电子链接:
±5A链接地址:
/item.htm?spm=a1z10.3.0.66.AuuB
i8&id=16414481203&
±20A链接地址:
/item.htm?spm=a1z10.3.0.68.AuuB
i8&id=20922332190&
±30A链接地址:
/item.htm?spm=a1z10.3.0.70.AuuBi8&id=
16417830316&
深圳市轩微电子科技有限公司是一家专业的电子元器件分销商和现货供应商,公司目前主营:测试座、各大品牌集成电路、各种分立元件、电子模块等,公司备有大量现货,在全球各地开辟了广泛稳
固的供货渠道。
目前可为国内制造商提供快捷可靠的异地交货,为客户提供零风险提货, 保障客户各项权益。
轩微电子科技公司拥有强大的研发能力,可根据客户需求提供相应产品开发协助服务,参与系统研发,公司把高标准,精细化作业服务原则,把以品质提升价值作为经营理念,把客户的产品质量和经济效益是我公司的工作重点作为基本方针,公司秉着修身、治业、怀天下的价值理念全心全意为客户创造价值。
我们的奋斗目标是成为性价比最高的电子元器件供应商!。