With the improvement of living standards, the concept of green environmental protection is becoming more and more popular. People need to know the power consumption and operation status of each electrical appliance in the home in real time, and find out the links of energy waste in the home in time to contribute to the green earth. Therefore, smart sockets or home appliances with built-in metering modules are entering people's lives with the popularization of the Internet of Things.
1. System Design
The principle block diagram of this system is shown in Figure 1.
Figure 1: Block diagram
The metering chip used in this system is CSE7759 produced by Shenzhen Xinhai Technology Co., Ltd. This chip can provide active power, active energy, current effective value, and voltage effective value in the form of pulses.
1. Measurement design
(1) Current signal sampling
The equivalent circuit of current sampling is shown in Figure 2. When current flows through the manganese copper shunt, a voltage drop will be generated on the current sampling channel of the metering chip. Different current signals form different voltage drops on the shunt. The metering chip collects the voltage signal formed on the shunt to realize the collection of the current signal. The resistance of the shunt should not be too large. When a large current flows through, if the resistance of the shunt is too large, it is easy to cause the shunt to heat up, thereby affecting the size of the shunt resistance.
(2) Voltage signal sampling
Voltage sampling usually collects the signal on the neutral line. Since the voltage signal is large, the voltage signal is sampled directly by reducing the voltage through a resistor network. In principle, the voltage sampling signal should not exceed half of the maximum allowable input value of the channel. The maximum allowable input signal of the CSE7759 voltage channel is 470mv, so the maximum sampling signal of the voltage channel should be set to about 230mv during design.
(3) Power calibration
Load a standard load (the power value is known as P0) and measure the output period T0 of the pulse output terminal CF of the metering chip 7759. Since the output period of CF is 0 when there is no load, and since the power value is linear, we have:
Power calibration coefficient KP=(T0-0)/(P0-0) i.e. KP=T0/P0
When an unknown load is loaded, the pulse period T1 is measured by the MCU. If T0/P0=T1/P1, then P1=T1/KP
(4) Voltage and current calibration
The calculation method of voltage and current is the same as the calculation method of power
2. Communication Design
The communication module uses a small wireless module with an operating frequency of 433MHz, and the module uses the SPI bus to communicate with the MCU. Through this wireless module, the power, voltage, and current can be calibrated, and the power consumption data of each load can be read.
2. Conclusion
CSE7759 has the characteristics of small size (SOP8 package), built-in oscillator, simple peripheral circuit, high precision, etc., which can make the entire PCB very small, meeting the needs of miniaturization of smart socket-level home appliance metering modules. At the same time, it also has rich functions (can provide voltage RMS, current RMS and instantaneous power) and high precision, and is the best choice for energy metering chips in smart sockets and home appliance metering modules.
The smart socket and home appliance metering module designed based on CSE7759 has been tested and can accurately measure the power consumption of electrical appliances.
Previous article:Application of inverter power supply in actual use
Next article:The key to extending battery life in DSP systems: DC/DC regulators
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- TMS320C2X/C5X Memory Mode
- Seeking the test standard for constant pressure audio broadcasting
- Analysis of the whole process of IAR microcontroller programming software from project establishment to program burning
- Atom development board module for sale
- EEWORLD University Hall----Live Replay: Smaller, faster, more reliable connectors drive new developments in IoT applications
- How to achieve aperture tuning
- Black Gold's FPGA is really bad
- This amplifier is a bit figurative, isn't it?
- ad19.0.10 3D display problem
- LPC1114 temperature sensor DS18B20 program