Double-core electric power meter terminal

By using analog switch switching connection mode in the dual-core power meter terminal, the time-sharing operation of the metering core and management core is achieved, which solves the problems of low data reading efficiency and data communication impact, and improves data processing speed and reliability. Suitable for smart grids.

CN221976988UActive Publication Date: 2024-11-08BEIJING WULITAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420265452.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-02
Publication Date
2024-11-08
Estimated Expiration
2034-02-02

AI Technical Summary

Technical Problem

The existing dual-core power meter terminals are inefficient when reading data in the background, and the data communication between the management core and the metering core is affected.

Method used

A dual-core power meter terminal is designed to enable the metering core and management core to operate the FLASH memory in time through analog switch switching connection mode, realize efficient data reading, and improve data processing speed through serial communication cooperation.

Benefits of technology

It improves data processing speed, improves data reading efficiency, and ensures normal data communication and management between the management core and the metering core, with high reliability and meeting the needs of the smart grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221976988U_ABST
    Figure CN221976988U_ABST
Patent Text Reader

Abstract

The utility model discloses a double-core electric power meter terminal, which comprises a metering core, a management core, an EEPROM (Electrically Erasable Programmable Read-Only Memory), a FLASH memory and a display unit, the metering core communicates with the management core through a serial port; the metering core is provided with a voltage sampling input end and a current sampling input end; the EEPROM is connected with the metering core, and the display unit is connected with the management core; the dual-core electric power meter terminal further comprises an analog switch, a switch control end of the analog switch is connected with a control signal output end of the metering core, and a signal input end, a first data end and a second data end of the analog switch are respectively connected with the FLASH memory, the metering core and the management core, so that when a control signal of the metering core is at a high level, the metering core is connected with the FLASH memory, and the management core is connected with the FLASH memory. And when the control signal of the metering core is at a low level, the analog switch is switched to the management core to be connected with the FLASH memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric power measurement, and in particular to a dual-core electric power meter terminal. Background Art

[0002] The terminal equipment such as measuring instruments commonly used in the power industry generally have the following functions: real-time measurement function: including three-phase voltage, three-phase current, total active power, total reactive power, active and reactive power of each phase, system frequency, etc.; electric energy metering function: including cumulative power consumption of all phases, power consumption of each phase, power consumption of each time, etc.; power freezing function: including timed freezing, instantaneous freezing, daily freezing, and monthly freezing; power load measurement and curve storage function; event recording function, including overvoltage, overcurrent, loss of voltage, power outage, etc.

[0003] In measuring instruments, the measurement, calculation and storage of various data are the core functions of measuring instruments. The data that measuring instruments need to store can be divided into three categories: real-time data (such as real-time measured voltage, current values, etc.), electric energy data (such as cumulative power consumption, time-sharing power, combined-phase and split-phase power, etc.), and event record data (such as load curves, frozen power, event records, etc.); among them, real-time data does not need to be saved after power failure, and is temporarily stored in the RAM of the MCU of the instrument terminal. Electric energy data is stored in EEPROM, and large-capacity event record data is stored in FLASH memory.

[0004] In the existing dual-core power meter terminal design, the metering core completes the real-time collection of electrical parameters, the calculation and freezing of electric energy, the judgment of power supply abnormalities and the storage of fault recordings, among which the real-time data of electrical parameters is stored in RAM, and the electric energy related data (including frozen data, demand curves), event record data, recording data, etc. are stored in FLASH memory; the management core mainly completes the local display of the meter terminal, the input and output control and the data communication with the outside world. In the existing dual-core power meter terminal, when the background needs to read a large amount of data in the meter terminal (such as frozen electricity, demand curves, event records, etc.), the meter terminal needs to complete the protocol parsing by the management core after receiving the background command and then communicate with the metering core. The metering core reads the data in the FLASH memory and forwards it to the management core and then transmits it to the background through the communication interface. In this process, the management core needs to exchange a large amount of data with the metering core, which will have a certain impact on the efficiency of the meter terminal data uplink, and will also affect the normal data communication and management between the management core and the metering core. Utility Model Content

[0005] To this end, the present application provides a dual-core electric power meter terminal to solve the problems in the prior art that the data reading efficiency is low when reading data in the meter terminal in the background, and the normal data communication between the management core and the metering core is affected.

[0006] In order to achieve the above-mentioned purpose, the present application provides the following technical solutions: a dual-core electric power meter terminal, characterized in that the terminal includes a metering core, a management core, an EEPROM memory, a FLASH memory and a display unit; the metering core communicates with the management core through a serial port; the metering core is provided with a voltage sampling input terminal and a current sampling input terminal; the EEPROM memory is connected to the metering core, and the display unit is connected to the management core; characterized in that:

[0007] The dual-core power meter terminal also includes an analog switch, a switch control end of the analog switch is connected to the control signal output end of the metering core, and the signal input end, the first data end, and the second data end of the analog switch are respectively connected to the FLASH memory, the metering core, and the management core, so that when the control signal of the metering core is at a high level, the metering core is connected to the FLASH memory, and when the control signal of the metering core is at a low level, the analog switch switches to the management core to connect to the FLASH memory.

[0008] Optionally, the analog switch is a four-channel single-pole double-throw analog switch, and the four channels correspond to the MISO pin, MOSI pin, CLK pin and CS pin in the SPI port of the metering core / management core respectively.

[0009] Optionally, the metering core is provided with a metering core busy signal JLMSC setting terminal and a management core busy signal GLMSC detecting terminal;

[0010] The management core is provided with a management core busy signal GLMSC setting terminal and a metering core busy signal JLMSC detection terminal;

[0011] A detection link for detecting the working mode of the FLASH memory is established between the metering core and the management core.

[0012] Optionally, the voltage sampling input terminal is connected to a voltage sampling module, and the voltage sampling module is used to collect three-phase voltage.

[0013] Optionally, the current sampling input terminal is connected to a current sampling module, and the current sampling module is used to collect three-phase current.

[0014] Optionally, the management core is provided with an RS485 interface, and the RS485 interface of the management core is connected to the RS485 interface of the monitoring computer via an RS485 communication cable.

[0015] Optionally, the management core is provided with an RJ45 interface, and the RJ45 interface of the management core is connected to the RJ45 interface of the monitoring computer through an RJ45 communication cable.

[0016] Optionally, the management core is provided with a CAN interface, and the CAN interface of the management core is connected to the CAN interface of the monitoring computer via a CAN interface bus.

[0017] Optionally, the second controller is connected to a USB interface of the monitoring computer via a USB cable.

[0018] Optionally, the analog switch is a SGM330A analog switch.

[0019] Optionally, the metering chip is a RN7326 three-phase metering chip, and the management chip is a HC32F460 control chip.

[0020] Compared with the prior art, this application has at least the following beneficial effects:

[0021] 1. This application uses the metering core to complete the measurement, metering, data calculation and storage in the dual-core power meter terminal, and uses the management core to complete the data display and management of various communication interfaces and communication protocol conversion in the dual-core power meter terminal. The metering core and the management core collaborate to realize various functions of the dual-core power meter terminal, effectively improving the data processing speed of the dual-core power meter terminal to meet the development needs of the smart grid.

[0022] 2. The present application is provided with an analog switch, and the switch control end of the analog switch is connected to the control signal output end of the metering core, and the signal input end, the first data end, and the second data end of the analog switch are respectively connected to the FLASH memory, the metering core, and the management core, so that when the control signal of the metering core is at a high level, the metering core is connected to the FLASH memory, and when the control signal of the metering core is at a low level, the analog switch is switched to connect the management core to the FLASH memory, so that the metering core and the management core can operate the FLASH memory in a time-sharing manner, that is, the metering core and the management core can directly access the FLASH memory, which improves the efficiency of data reading. At the same time, it ensures normal data communication and management between the management core and the metering core, and has high reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more intuitively illustrate the prior art and the present application, exemplary drawings are given below. It should be understood that the specific shapes and structures shown in the drawings should not generally be regarded as limiting conditions for implementing the present application; for example, those skilled in the art are capable of easily making conventional adjustments or further optimizations to the addition / reduction / attribution division, specific shapes, positional relationships, connection methods, dimensional ratios, etc. of certain units (components) based on the technical concepts and exemplary drawings disclosed in the present application.

[0024] Figure 1 One of the circuit principle block diagrams of a dual-core power meter terminal provided in an embodiment of the present application;

[0025] Figure 2 The second circuit principle block diagram of a dual-core power meter terminal provided in an embodiment of the present application;

[0026] Figure 3 A third circuit principle block diagram of a dual-core power meter terminal provided in an embodiment of the present application;

[0027] Figure 4 A circuit schematic diagram of a dual-core power meter terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The present application is further described below in detail through specific embodiments in conjunction with the accompanying drawings.

[0029] In the description of this application: unless otherwise specified, the meaning of "plurality" is two or more. The terms "first", "second", "third", etc. in this application are intended to distinguish the objects referred to, and do not have special meanings in terms of technical connotations (for example, they should not be understood as emphasizing the importance or order, etc.). Expressions such as "including", "comprising", "having", etc. also mean "not limited to" (certain units, components, materials, steps, etc.).

[0030] The terms such as "upper", "lower", "left", "right", "middle", etc. cited in this application are usually used to indicate the general relative position relationship for the purpose of intuitive understanding by referring to the drawings, and are not absolute limitations on the position relationship in the actual product.

[0031] like Figures 1 to 4 As shown, a dual-core electric meter terminal includes a metering core, a management core, an EEPROM memory, a FLASH memory and a display unit; the metering core and the management core communicate through a serial port; the metering core is provided with a voltage sampling input terminal and a current sampling input terminal; the EEPROM memory is connected to the metering core, and the display unit is connected to the management core; the characteristics are:

[0032] The dual-core power meter terminal also includes an analog switch, a switch control end of the analog switch is connected to the control signal output end of the metering core, and the signal input end, the first data end, and the second data end of the analog switch are respectively connected to the FLASH memory, the metering core, and the management core, so that when the control signal of the metering core is at a high level, the metering core is connected to the FLASH memory, and when the control signal of the metering core is at a low level, the analog switch switches to the management core to connect to the FLASH memory.

[0033] like Figure 4 As shown, in the embodiment of the present application, U2 is a FLASH memory and U5 is an analog switch.

[0034] In the embodiment of the present application, a metering core and a management core are provided in the dual-core power meter terminal, and the metering core and the management core cooperate to realize various functions of the dual-core power meter terminal; the measurement, metering and data calculation and storage in the dual-core power meter terminal are realized by the metering core, and the metering core is the metering core; the data display and the management of various communication interfaces and the conversion of communication protocols in the dual-core power meter terminal are realized by the management core, and the management core is the management core. In the dual-core power meter terminal, the metering core completes the real-time collection of electrical parameters such as voltage, current, power, and power factor, the calculation and freezing of electric energy, the judgment of power supply abnormalities, and the storage of fault recordings, among which the real-time data of electrical parameters is stored in RAM, and the electric energy-related data includes frozen data, and the demand curve, event record data, and recording data are stored in the FLASH memory; the management core mainly completes the local display of the meter terminal, the input and output control, and the data communication with the outside world, and the management core and the metering core communicate using a serial port module.

[0035] In the embodiment of the present application, the measurement, metering, data calculation and storage in the dual-core power meter terminal are completed through the metering core, and the data display, management of various communication interfaces and conversion of communication protocols in the dual-core power meter terminal are completed through the management core. The metering core and the management core work together to realize various functions of the dual-core power meter terminal, effectively improving the data processing speed of the dual-core power meter terminal to meet the development needs of the smart grid.

[0036] In an embodiment of the present application, an analog switch is set, the switch control end of the analog switch is connected to the control signal output end of the metering core, and the signal input end, the first data end, and the second data end of the analog switch are respectively connected to the FLASH memory, the metering core, and the management core, so that when the control signal of the metering core is at a high level, the metering core is connected to the FLASH memory, and when the control signal of the metering core is at a low level, the analog switch is switched to connect the management core to the FLASH memory, so that the metering core and the management core can operate the FLASH memory in a time-sharing manner, that is, the metering core and the management core can directly access the FLASH memory, thereby improving the efficiency of data reading. At the same time, normal data communication and management between the management core and the metering core are ensured, and the reliability is high.

[0037] It should be noted that the metering chip can write and read data into the FLASH memory, while the management chip can only read data from the FLASH memory but cannot write data into it.

[0038] In a possible implementation manner, the analog switch is a four-channel single-pole double-throw analog switch, and the four channels correspond to the MISO pin, the MOSI pin, the CLK pin, and the CS pin in the SPI port of the metering core / management core, respectively.

[0039] In the embodiment of the present application, the first pin of the SGM330A analog switch is connected to the 27th pin of the RN7326 three-phase metering chip; the second pin of the SGM330A analog switch is connected to the 31st pin of the RN7326 three-phase metering chip, the fifth pin of the SGM330A analog switch is connected to the 28th pin of the RN7326 three-phase metering chip, the 11th pin of the SGM330A analog switch is connected to the 29th pin of the RN7326 three-phase metering chip, and the 14th pin of the SGM330A analog switch is connected to the 30th pin of the RN7326 three-phase metering chip; the 4th pin of the SGM330A analog switch is connected to the 2nd pin of the BY512M memory chip, and the SGM330A analog switch The 7th pin of the SGM330A analog switch is connected to the 1st pin of the BY512M memory chip, the 9th pin of the SGM330A analog switch is connected to the 6th pin of the BY512M memory chip, and the 12th pin of the SGM330A analog switch is connected to the 5th pin of the BY512M memory chip; the 3rd pin of the SGM330A analog switch is connected to the 9th pin of the HC32F460 control chip, the 6th pin of the SGM330A analog switch is connected to the 8th pin of the HC32F460 control chip, the 10th pin of the SGM330A analog switch is connected to the 10th pin of the HC32F460 control chip, and the 13th pin of the SGM330A analog switch is connected to the 11th pin of the HC32F460 control chip.

[0040] In the embodiment of the present application, the IN pin of U5 is its switch control terminal. When the IN pin is at a high level, the signal input terminal D is connected to the S2 terminal, and when the IN pin is at a low level, the signal input terminal D is connected to the S1 terminal. The four lines of the S1 terminal of the analog switch U5 are connected to the SPI ports MISO, MOSI, CLK, and CS of the metering core, and the four lines of the S2 terminal of the analog switch U5 are connected to the SPI ports MISO, MOSI, CLK, and CS of the management core. The D terminal of the analog switch is connected to the SPI port of the FLASH chip U2. When the IN pin of the analog switch U5 is at a high level, the metering core FLASH chip is connected, and when the IN pin is at a low level, the management core and the FLASH chip are connected.

[0041] In an embodiment of the present application, the control pin IN of the analog switch is controlled by the metering core. When the monitoring computer 60 is not communicating with the measuring device, the metering core sets the control pin IN of the analog switch high, and the metering core operates the FLASH memory. All stored data is stored in the FLASH memory by the metering core. When the monitoring computer 60 needs to read the data in the measuring device through the communication interface, the management core notifies the metering core through serial communication after receiving the instruction. The metering core sets the control pin IN of the analog switch low, and the management core can directly access the FLASH chip to pass the relevant data to the monitoring computer 60.

[0042] In a possible implementation manner, the metering core is provided with a metering core busy signal JLMSC setting terminal and a management core busy signal GLMSC detection terminal;

[0043] The management core is provided with a management core busy signal GLMSC setting terminal and a metering core busy signal JLMSC detection terminal;

[0044] A detection link for detecting the working mode of the FLASH memory is established between the metering core and the management core.

[0045] In an embodiment of the present application, when the metering core is operating the FLASH memory, the metering core sets the JLMSC signal output by the 28th pin connected to the 1st pin of the FLASH memory to a high level. If the management core needs to access the FLASH memory at this time, the management core needs to detect the JLMSC signal output by the 28th pin of the metering core through the detection link, and apply to the metering core for access to the FLASH memory when it detects that the JLMSC signal output by the 28th pin of the metering core has become a low level; similarly, when the management core accesses the FLASH memory, the management core sets the JLMSC signal output by the 28th pin of the metering core to a high level. If the metering core needs to operate the FLASH memory at this time, the metering core needs to detect through the detection link that the JLMSC signal output by the 28th pin of the metering core has become a low level before operating the FLASH memory.

[0046] In a possible implementation, the voltage sampling input terminal is connected to a voltage sampling module, and the voltage sampling module is used to collect three-phase voltages.

[0047] In a possible implementation, the current sampling input terminal is connected to a current sampling module, and the current sampling module is used to collect three-phase currents.

[0048] In a possible implementation manner, the management core is provided with an RS485 interface, and the RS485 interface of the management core is connected to the RS485 interface of the monitoring computer via an RS485 communication cable.

[0049] In a possible implementation, the management core is provided with an RJ45 interface, and the RJ45 interface of the management core is connected to the RJ45 interface of the monitoring computer through an RJ45 communication cable.

[0050] In a possible implementation manner, the management core is provided with a CAN interface, and the CAN interface of the management core is connected to the CAN interface of the monitoring computer via a CAN interface bus.

[0051] In a possible implementation manner, the analog switch is a SGM330A analog switch.

[0052] In a possible implementation manner, the metering chip is an RN7326 three-phase metering chip, and the management chip is an HC32F460 control chip.

[0053] The technical features of the above embodiments can be combined arbitrarily as long as there is no contradiction in the combination of these technical features. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described; these embodiments that are not explicitly written should also be considered to be within the scope of this specification.

Claims

1. A dual-core power meter terminal, characterized in that: The terminal comprises a metering core, a management core, an EEPROM memory, a FLASH memory and a display unit; the metering core and the management core communicate via a serial port; the metering core is provided with a voltage sampling input terminal and a current sampling input terminal; the EEPROM memory is connected to the metering core, and the display unit is connected to the management core; the characteristics are: The dual-core power meter terminal also includes an analog switch, a switch control end of the analog switch is connected to the control signal output end of the metering core, and the signal input end, the first data end, and the second data end of the analog switch are respectively connected to the FLASH memory, the metering core, and the management core, so that when the control signal of the metering core is at a high level, the metering core is connected to the FLASH memory, and when the control signal of the metering core is at a low level, the analog switch switches to the management core to connect to the FLASH memory.

2. A dual-core power meter terminal according to claim 1, characterized in that: The analog switch is a four-channel single-pole double-throw analog switch, and the four channels correspond to the MISO pin, the MOSI pin, the CLK pin and the CS pin in the SPI port of the metering core / management core respectively.

3. A dual-core power meter terminal according to claim 1, characterized in that: The metering core is provided with a metering core busy signal JLMSC setting terminal and a management core busy signal GLMSC detection terminal; The management core is provided with a management core busy signal GLMSC setting terminal and a metering core busy signal JLMSC detection terminal; A detection link for detecting the working mode of the FLASH memory is established between the metering core and the management core.

4. A dual-core power meter terminal according to claim 1, characterized in that: The voltage sampling input terminal is connected to a voltage sampling module, and the voltage sampling module is used to collect three-phase voltage.

5. A dual-core power meter terminal according to claim 1, characterized in that: The current sampling input terminal is connected to a current sampling module, and the current sampling module is used to collect three-phase current.

6. A dual-core power meter terminal according to claim 1, characterized in that: The management core is provided with an RS485 interface, and the RS485 interface of the management core is connected to the RS485 interface of the monitoring computer through an RS485 communication cable.

7. A dual-core power meter terminal according to claim 1, characterized in that: The management core is provided with an RJ45 interface, and the RJ45 interface of the management core is connected to the RJ45 interface of the monitoring computer through an RJ45 communication cable.

8. A dual-core electric power meter terminal according to claim 1, characterized in that: The management core is provided with a CAN interface, and the CAN interface of the management core is connected to the CAN interface of the monitoring computer through a CAN interface bus.

9. A dual-core electric power meter terminal according to claim 1, characterized in that: The analog switch is a SGM330A analog switch.

10. A dual-core electric power meter terminal according to claim 1, characterized in that: The metering chip is a RN7326 three-phase metering chip, and the management chip is a HC32F460 control chip.