A metering sensor with high-speed RS485 response capability
By designing a metering sensor with high-speed RS485 response capability, and employing a main control MCU, RS485 communication module, and IR near-infrared module, the problems of integration and communication security of existing metering sensors are solved, achieving communication stability and efficiency, and improving the availability and flexibility of the system.
Patent Information
- Application Number
- CN202522369062.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-07
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2035-11-07
AI Technical Summary
Existing metering sensors suffer from insufficient integration, electrical isolation, and communication security issues in industrial automation, smart buildings, and the Internet of Things.
A metering sensor with high-speed RS485 response capability was designed. It adopts a main control MCU, RS485 communication module, IR near-infrared communication module, rate control module and power supply module. Electrical isolation is achieved through optocoupler U2. The RS485 communication module supports multi-node communication, the IR near-infrared module provides point-to-point transmission, and the main control MCU has a built-in single-phase power metering chip to enhance communication security and system integration.
It achieves communication stability and high-speed response in complex power environments, enhances system availability and flexibility, ensures continuous communication stability and high data transmission efficiency, reduces external components, and simplifies circuit structure.
Smart Images

Figure CN224985498U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of power sensor technology, specifically relating to a metering sensor with high-speed RS485 response capability. Background Technology
[0002] In fields such as industrial automation, smart buildings, energy management systems, and the Internet of Things (IoT), metering sensors are responsible for the real-time acquisition, processing, and uploading of critical physical quantity data. The RS485 communication interface, due to its advantages such as strong anti-interference capability, long transmission distance, and support for multi-point networking, has become one of the most mainstream industrial bus communication methods in these fields. However, as modern industrial systems increasingly demand higher real-time performance, data density, and system efficiency, existing metering sensors suffer from insufficient integration and lack necessary electrical isolation and communication security guarantees.
[0003] To address the shortcomings of existing technologies, people have conducted long-term research and proposed various solutions. For example, Chinese patent literature discloses an anti-theft controller for an electricity metering box based on a load control system [201010128072.6]. Its microcontroller is connected to an RS-485 interface circuit, an electric lock, an infrared transceiver circuit, a switch input interface, a switch output interface, a power supply circuit, a buzzer, a status indicator light, a battery, and sensors. The electric lock controls the opening and closing of the metering box door; the switch input interface collects the actions of the sensors installed at the door to monitor the door's status; the switch output interface generates an output signal to actively report the door's status; and the power supply circuit incorporates AC / DC conversion and charge / discharge control circuits to provide a stable operating power supply.
[0004] The above solution addresses the problem of insufficient integration in the metering system to some extent, but it still has many shortcomings, such as electrical isolation and communication security issues. Summary of the Invention
[0005] The purpose of this invention is to address the above-mentioned problems by providing a metering sensor with a reasonable design, good communication security, and high-speed RS485 response capability.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: a metering sensor with high-speed RS485 response capability, including a main control MCU, the main control MCU being connected to a metering module, a storage module, an RS485 communication module, an IR near-infrared communication module, a rate control module, and a power supply module, the metering module including a single-phase power metering chip built into the main control MCU, the rate control module including an optocoupler U2 connected to the main control MCU, and the optocoupler U2 being connected to an interface JS2.
[0007] In the aforementioned metering sensor with high-speed RS485 response capability, the RS485 communication module includes an RS485 communication chip, which is connected to interfaces J1, J2 and JS1.
[0008] In the aforementioned metering sensor with high-speed RS485 response capability, the RS485 communication module acquires data from multiple power sensors via an RS485 bus.
[0009] In the aforementioned metering sensor with high-speed RS485 response capability, the IR near-infrared communication module includes an infrared sensor IR2 and a light-emitting diode IR1. The infrared sensor IR2 is connected to the main control MCU through a transistor Q1.
[0010] In the aforementioned metering sensor with high-speed RS485 response capability, the IR near-infrared communication module acquires data from a single power sensor.
[0011] In the aforementioned metering sensor with high-speed RS485 response capability, the main control MCU is connected to the emulation port J4.
[0012] In the aforementioned metering sensor with high-speed RS485 response capability, the main control MCU is connected to indicator LED1 and indicator LED2, and indicator LED1 is connected to transistor Q2.
[0013] In the aforementioned metering sensor with high-speed RS485 response capability, the storage module includes FLASH memory and ROM memory integrated in the main control MCU.
[0014] In the aforementioned metering sensor with high-speed RS485 response capability, the power module includes a power chip IC1, which is connected to a voltage regulator chip IC2.
[0015] In the aforementioned metering sensor with high-speed RS485 response capability, the metering module has a current and voltage sampling circuit, which is connected to the main control MCU.
[0016] Compared with existing technologies, the advantages of this utility model are as follows: the rate control module achieves electrical isolation between the control end and the controlled end, effectively preventing high voltage and surge current from entering the main control circuit, ensuring that the main control MCU and RS485 communication module will not be interfered with by rate switching and other operations in complex power environments, thus ensuring continuous stability and high-speed response of communication; at the same time, it is equipped with RS485 communication module and IR near-infrared communication module, which enhances the availability and flexibility of the system; the single-phase power metering chip is built into the main control MCU, forming a highly integrated SoC solution, reducing external components and making the circuit structure simpler. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the structure of this utility model; Figure 2 This is a circuit diagram of the main control MCU of this utility model; Figure 3 This is a circuit diagram of the RS485 communication module of this utility model; Figure 4 This is a circuit diagram of the power module of this utility model; Figure 5 This is a circuit diagram of the IR near-infrared communication module of this utility model; Figure 6 This is a circuit diagram of the storage module of this utility model; Figure 7 This is a circuit diagram of the metering module of this utility model; Figure 8 This is a circuit diagram of the rate control module of this utility model; In the diagram, the main control MCU1, metering module2, storage module3, RS485 communication module4, IR near-infrared communication module5, rate control module6, and power supply module7 are shown. Detailed Implementation
[0018] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0019] like Figure 1-8 As shown, a metering sensor with high-speed RS485 response capability includes a main control MCU1, which is connected to a metering module 2, a storage module 3, an RS485 communication module 4, an IR near-infrared communication module 5, a rate control module 6, and a power supply module 7. The metering module 2 includes a single-phase energy metering chip built into the main control MCU1. The rate control module 6 includes an optocoupler U2 connected to the main control MCU1, which is connected to an interface JS2. Directly using I / O ports to control high-power loads or circuits without isolation is prone to causing the main control MCU1 to crash or be damaged due to external power grid fluctuations, surges, or other interference, resulting in communication interruptions. The optocoupler U2, using models such as TLP521, provides electrical isolation to prevent high-voltage side noise from affecting the main control MCU1. It also enables switch control for rate switching or external event triggering, such as time-of-use pricing.
[0020] Specifically, RS485 communication module 4 includes an RS485 communication chip, which is connected to interfaces J1, J2, and JS1. RS485 communication chips typically support half-duplex communication, employ an internal isolation structure, and feature strong anti-interference capabilities and long transmission distances.
[0021] Specifically, RS485 communication module 4 acquires data from multiple power sensors via RS485 bus, adopts standard protocols such as Modbus RTU or DL / T645 to realize master-slave multi-node communication, and supports adjustable baud rates from 9600bps to 115200bps to ensure high-speed data transmission and real-time monitoring.
[0022] Furthermore, the IR near-infrared communication module 5 includes an infrared sensor IR2 and a light-emitting diode IR1. The infrared sensor IR2 is connected to the main control MCU1 via a transistor Q1. The IR near-infrared communication module 5 is based on the principle of infrared optical communication. The light-emitting diode IR1 emits a modulated infrared signal, while the infrared sensor IR2 receives external infrared commands. The signal is amplified and shaped by the transistor Q1 to achieve data interaction with the main control MCU1.
[0023] Furthermore, the IR near-infrared communication module 5 collects data from a single power sensor, typically used for local debugging or handheld device communication. It supports point-to-point transmission, avoids electromagnetic interference, and the communication device is attached to the meter during data collection to achieve communication.
[0024] In addition, the main control MCU1 is connected to an emulation port J4, which is usually a JTAG or SWD interface, for program debugging and firmware download. It supports real-time tracing and breakpoint setting, which facilitates development and maintenance.
[0025] Meanwhile, the main control MCU1 is connected to indicator lights LED1 and LED2. LED1 is connected to transistor Q2. Indicator lights LED1 and LED2 are used to display the system status, such as normal power supply, communication activity, or fault alarm. Transistor Q2 acts as a switch driver, enhancing the LED driving capability and extending its service life.
[0026] As can be seen, storage module 3 includes FLASH memory and ROM memory integrated within the main control MCU1. The FLASH memory stores program code and dynamic data, supporting online updates and parameter configuration, while the ROM memory stores firmware startup code and basic library functions, ensuring reliable system startup and operation. Storage module 3 also supports data backup and power failure protection to prevent the loss of critical data.
[0027] Clearly, power module 7 includes power chip IC1, which is connected to voltage regulator chip IC2. Power chip IC1 is typically an AC-DC or DC-DC converter that converts the input power supply to a 5V or 3.3V system voltage. Voltage regulator chip IC2 provides a stable low-voltage output, ensuring accurate operating voltage for each module and providing overcurrent and overvoltage protection.
[0028] Preferably, the single-phase power metering chip integrates a digital filter and a high-precision metering algorithm, supports multiple power quality standards, and ensures measurement accuracy and stability.
[0029] Obviously, the metering module 2 has a current and voltage sampling circuit, which is connected to the main control MCU1. The current and voltage sampling circuit converts the analog signal into a digital signal through a high-precision ADC, so that the main control MCU1 can perform data processing and calculation.
[0030] In summary, the principle of this embodiment is as follows: with the main control MCU1 as the control and calculation center, it first continuously and accurately collects and calculates power parameters through the metering module 2, which consists of an internal metering chip and an external sampling circuit. Then, it realizes high-speed data polling and centralized management of numerous sensors in the network through the RS485 communication module 4 with a bus topology. And it provides convenient near-field wireless communication for specific individual sensors through the IR near-infrared communication module 5 based on infrared transceiver. In this process, the main control MCU1 dynamically calls the programs and data in the storage module 3 and responds to the instructions issued by the isolated rate control module 6. Thus, based on the power module 7, it collaboratively completes a complete closed loop from data perception, processing, transmission to final control execution.
[0031] The specific embodiments described herein are merely illustrative examples illustrating the spirit of this utility model. Those skilled in the art to which this utility model pertains may make various modifications or additions to the described specific embodiments or use similar methods to substitute them, without departing from the spirit of this utility model or exceeding the scope defined by the appended claims.
[0032] Although this document uses terms such as main control MCU1, metering module 2, storage module 3, RS485 communication module 4, IR near-infrared communication module 5, rate control module 6, and power supply module 7 frequently, the possibility of using other terms is not excluded. These terms are used merely for the convenience of describing and explaining the essence of this utility model; interpreting them as any additional limitation would contradict the spirit of this utility model.
Claims
1. A metering sensor with high-speed RS485 response capability, comprising a main control MCU (1), wherein the main control MCU (1) is connected to a metering module (2), a storage module (3), an RS485 communication module (4), an IR near-infrared communication module (5), a rate control module (6), and a power supply module (7), characterized in that, The metering module (2) includes a single-phase power metering chip built into the main control MCU (1), and the rate control module (6) includes an optocoupler U2 connected to the main control MCU (1), and the optocoupler U2 is connected to an interface JS2.
2. The metering sensor with high-speed RS485 response capability according to claim 1, characterized in that, The RS485 communication module (4) includes an RS485 communication chip, which is connected to interfaces J1, J2 and JS1.
3. A metering sensor with high-speed RS485 response capability according to claim 2, characterized in that, The RS485 communication module (4) acquires data from multiple power sensors via the RS485 bus.
4. A metering sensor with high-speed RS485 response capability according to claim 1, characterized in that, The IR near-infrared communication module (5) includes an infrared sensor IR2 and a light-emitting diode IR1. The infrared sensor IR2 is connected to the main control MCU (1) through a transistor Q1.
5. A metering sensor with high-speed RS485 response capability according to claim 4, characterized in that, The IR near-infrared communication module (5) acquires data from a single power sensor.
6. A metering sensor with high-speed RS485 response capability according to claim 1, characterized in that, The main control MCU (1) is connected to the simulation port J4.
7. A metering sensor with high-speed RS485 response capability according to claim 5, characterized in that, The main control MCU (1) is connected to indicator LED1 and indicator LED2, and indicator LED1 is connected to transistor Q2.
8. A metering sensor with high-speed RS485 response capability according to claim 1, characterized in that, The storage module (3) includes a FLASH memory and a ROM memory integrated in the main control MCU (1).
9. A metering sensor with high-speed RS485 response capability according to claim 1, characterized in that, The power module (7) includes a power chip IC1, which is connected to a voltage regulator IC2.
10. A metering sensor with high-speed RS485 response capability according to claim 1, characterized in that, The metering module (2) has a current and voltage sampling circuit, which is connected to the main control MCU (1).
Citation Information
Patent Citations
Negative-control-system-based electricity-stealing prevention controller of electric energy metering box
CN102195243A
