BL0942 Application Guide V1.0.zh-CN - en
BL0942 Application Guide V1.0.zh-CN - en
BL0942 Application Guide V1.0.zh-CN - en
com
Version Information
BL0942Application Guide
Table of contents
BL0942It is a special chip developed by Shanghai Belling Co., Ltd. for power measurement in the
field of Internet of Things. Has a small size (SSOP10L/TSSOP14package), simple peripheral circuit, and
low cost.
Chip features:
⚫ Two independentSigma-Delta ADC, one current and one voltage.
⚫ Can measure current and voltage effective value, fast current effective value, active power, current and voltage waveform
⚫ The factory gain error of the batch is less than1%, peripheral components can be exempted from calibration if they meet certain conditions.
⚫ The current channel has overcurrent monitoring function, and the monitoring threshold and response time can be set
⚫ Built-in waveform register, can output waveform data for load type analysis
⚫ Power failure monitoring, below2.7VWhen, the chip enters the reset state
bySOP10LEncapsulation as an example
VDD 1 10 TX/SDO
BL0942
35mVrms IN 3 8 SCLK_BPS
SSOP10L
2,3 IP,IN Analog input of current channel, maximum differential voltage of pin ±50mV (35mV rms)
4 VP Voltage signal input terminal, maximum differential voltage ±100mV (70mV rms)
6 CF1 Power status output, which can be configured by the OT_FUNX register, outputs a variety of power information
7 SEL UART/SPI communication mode selection (0: UART 1: SPI), there is an internal pull-down resistor, if it is left
floating, it is 0 level (UART), and if the pin is directly connected to VDD, it is high level (SPI)
8 SCLK_BPS SPI mode clock input, in UART mode, the baud rate can be selected
10 TX/SDO UART/SPI multiplexed pin, UART TX/SPI DOUT, requires external pull-up resistor
Taking resistance sampling as an example, sampling can also be done using a transformer;
L N
220V -3.3V
AC -DC
-
510
VDD
RL 68nF IN
RX/SDI
BL 0 9 4 2
Alloy resistance
IP Uart/SPI
1mΩ 510 68nF
TX/SDO
MCU
CF1
CF2/ZX
VP
GND
R1
68nF
390K
510
load
390K
390K
390K
390K
R2
Notice:
Shanghai Belling Co., Ltd. 2/5 V1.0
Yishan Road, Shanghai810Number021-24261000
www.belling.com.cn
BL0942 Built-in clock calibration-free measurement chip
1)CF1,CF2The pin can be configured as overcurrent alarm output;ZXUsed to output voltage zero-crossing signal; if only the electrical parameter detection
2)SPI,UARTThe interface rate and communication protocol are described in "BL0942 datasheet v1.0.pdf”;
3)BL0920Gain correction has been done at the factory. If calibration is not required, the accuracy of the peripheral components is guaranteed to be within1%within; 4)Tx
Consider that smart home products generally have a maximum current not exceeding16A, the current adopts alloy resistor1milliohm, the
voltage sampling channel uses resistor voltage dividing method to220Vvoltage drops to57.52mVrmsby chipVPpin for sampling.
BL0942andMCUThe connection circuit is very simple. When the system levels are consistent, you only need to connectTx,RX,UART way of
communication4800Bps,N,8,1.MCUObtain power, voltage, current, power frequency, and active energy pulse count through communication
frames.
BL0942When defining products, we take into account that smart home product manufacturers are not professional measuring instrument manufacturers, do not have professional
calibration equipment, and have relatively low requirements for energy measurement accuracy. They only provide electricity reference information and do not use billing standards. The smart
device only needs to read the power, voltage, current, and calculate the power consumption based on the active energy pulse count, soBL0942When the circuit leaves the factory, it is guaranteed
If the customer's peripheral device accuracy1%, the accuracy of the whole machine can reach2%within;
divider turns the AC220Vvoltage drops tomVlevel signal toVPpin;MCUpassUartinterface obtainedBL0942register data;
Notice:
1)A_WATTThe register is in complement mode. If it is negative power, it needs to be converted;
If a current transformer is used (CT), voltage transformer (PT) for sampling, the typical front-end circuit is as follows:
Assume that the current transformerCT1The transformation ratio isRt=2000(2000:1),Load ResistanceR5(3.3Europe);Voltage transformer (PT1)
Actual current value =Current RMS register value*Vref=Current RMS register value∗1.218
ampere
305978*(R5*1000)/Rt 305978*(3.3*1000)/2000
Actual voltage value =Voltage RMS register value*Vref*(R8+R9+R10+R11+R12)=Voltage RMS register value*1.218*(20*5)
73978* 7*1000 73978*0.0249*1000
volt
Actual active power value =Active power register value*Vref2∗(R8+R9+R10+R11+R12)=Active power register value∗1.2182∗(20*5)
3537*(R5*1000)*R7*1000 3537*(3.3*1000)*0.0249*1000
Rt 2000
watt
CF_CNTThe register stores the number of electric energy pulses;
=1638.4*256*Vref2∗(R8+R9+R10+R11+R12)= 1638.4*256*1.2182∗(20*5)
Spend
3600000*3537*(R5*1000)*R7*1000 3600000*3537*(3.3*1000)*0.0249*1000
Rt 2000
usually inPCBDuring wiring, it may be due to board wiring or external electromagnetic interference. When there is no load, due to the
influence of noise signals, the chip detects noise power, resulting in positive or negative power in the active power register.
BL0942It has a patented power anti-submarine function to ensure that the board-level noise power will not accumulate power when there is no current
input. Active power anti-creep threshold register (WA_CREEP) ,for8bitunsigned number, default is0BH. The value is the same as the merit
The corresponding relationship between the power register values is shown in the following formula. When the absolute value of the input active
power signal is less than this value, the output active power register is zero. This allows the value output to the active power register to be0.
external internal
address name bit width default value describe
read/write read/write
WA_CREEP =WATT*256;
3125
When the current channel is in the anti-submarine state, the effective value of the channel is not measured and is also cut off to0.
=134/623.4=0.215watt.
In actual applications, the setting of the active power anti-scratch threshold register can be increased according to the application requirements, such as1No
measurement is required below watts. The threshold is set to1WCorresponding parameters: =623.4/(3125/256)≈51,WA_CREEP=0x33;
PCBDesign considerations
1) The resistors and capacitors for current sampling should be as close as possibleBL0942pins to prevent the leads from being too long,PCBInterference from other signal
lines on the board; (The current sampling signal is approximately5uV~16mV) In order to reduce interference to the current sampling signal, the ground wire of the
2) sampling resistor is routed separately from the power supply ground; the current channel is differential sampling,IP,INThe signal traces are parallel and close together,
PCBKeep traces on the board as short as possible. Current samplingIP,INThe external circuit parameters should be balanced as much as possible, and the traces should
3) be kept parallel and as short as possible; since the load current flows through the alloy resistor, it is necessary to pay attention to the maximum possible load current.
4) 16A,existPCB The wiring connecting the alloy sampling resistor on the board should be as thick as possible (high current wiring)
5) Since the resistor voltage dividing network for voltage sampling converts AC220Vvoltage drops to57.52mVleft and right, pay attention to whether the withstand voltage of
the voltage dividing resistor meets the requirements, and consider the creepage distance; keep a distance from the current sampling trace to prevent signal crosstalk.
references:BL0942_Datasheet_V1.0.pdf