Power-on startup method, device, electronic equipment and storage medium for electric energy meter

By synchronizing data between the metering core and the management core in a multi-core modular power meter, the problem of reducing power on-up efficiency caused by frequent power outages is solved, and the working efficiency of the power meter is improved.

CN115327466BActive Publication Date: 2025-04-08GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210460824.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2025-04-08
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

During operation or testing, frequent power-off operations of multi-core modular power meters will reduce the power-on efficiency, affecting the normal operation of the power meter.

Method used

The metering core obtains the legal metering function information of the electric energy meter, the management core obtains the extended function data, and the management core and the metering core perform data synchronization and periodic data transmission, so as to determine that the electric energy meter is operating normally.

Benefits of technology

The power-on efficiency of the power-on meter has been improved and the problem of reduced power-on efficiency caused by frequent power-on meter shutdowns is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115327466B_ABST
    Figure CN115327466B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, electronic device and storage medium for powering on an electric energy meter. The method includes: a metering core obtains legal metering function information of the electric energy meter, and a management core obtains extended function data of the electric energy meter. Based on the legal metering function information and the extended function data, the management core performs data synchronization with the metering core to obtain data synchronization result information of the electric energy meter. Based on the data synchronization result information, the management core performs periodic data transmission with the metering core to obtain data transmission result information between the management core and the metering core. According to the data synchronization result information and the data transmission result information, it is determined that the electric energy meter is operating normally. The present invention improves the working efficiency of the electric energy meter by providing a method for powering on an electric energy meter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of operating an electric energy meter, and in particular to a power-on startup method, a device, an electronic device and a storage medium for an electric energy meter. Background Art

[0002] Traditional electronic energy meters are usually designed with a "single core", which can technically achieve the separation of legal and illegal metering, but it is difficult for power supply companies to verify whether "independent" metering has been truly achieved. If a dual-core energy meter solution is adopted, the "legal metering part" and the "illegal metering part" can be intuitively isolated, and the metering function can be physically independent of other functions in a modular form. The dual-core energy meter solution can effectively achieve the separation of legal and illegal systems, and ensure the reliability and stability of the energy meter's metering function. However, the dual-core synchronization problem will affect the overall reliable operation of the energy meter, and more specifically, it will affect the energy data synchronization, parameter and clock synchronization, display function, fee control and communication functions of the dual-core of the energy meter.

[0003] The energy data synchronization, LCD display, safety fee control, external communication and other advanced functions of the multi-core modular energy meter are all based on the normal synchronization of the dual cores. During operation or testing, the multi-core modular energy meter may experience frequent power outages and power restorations. The dual-core interaction time cost and reliability during the power-on process are very high, which will directly affect the power-on efficiency of the multi-core modular energy meter.

[0004] On the other hand, the energy meter works in a complex power grid environment with various fluctuations and strong interferences for a long time without supervision, and has almost stringent requirements on safety, reliability, low power consumption, etc. The dual-core interactive function of the multi-core modular energy meter is susceptible to abnormalities due to defects in the software and hardware design of the energy meter in a complex power grid environment. What's worse is that if the multi-core modular energy meter used in the field is disassembled and returned to the laboratory environment, it may not completely reproduce the field problems. In the multi-core modular energy meter, the metering core and the management core are electrically isolated, and the metering core is more susceptible to the external power grid environment and functional abnormalities.

[0005] Therefore, in order to improve the working efficiency of the electric energy meter and solve the technical problem that the current multi-core modular electric energy meter may affect the power-on efficiency of the electric energy meter due to frequent power outages and power-on processes during operation or testing, it is urgent to construct a power-on startup method for the electric energy meter. Summary of the invention

[0006] The present invention provides a power-on startup method, device, electronic device and storage medium for an electric energy meter, which solves the technical problem that the power-on efficiency of the electric energy meter may be affected by frequent power-off and power-on operations during operation or testing of the existing multi-core modular electric energy meter.

[0007] In a first aspect, the present invention provides a method for powering on an electric energy meter, the method being applied to a multi-core module, the multi-core module comprising a management core and a metering core; the method comprising:

[0008] The metering core acquires legal metering function information of the electric energy meter, and the management core acquires extended function data of the electric energy meter;

[0009] Based on the legal metering function information and the extended function data, the management core synchronizes data with the metering core to obtain data synchronization result information of the electric energy meter;

[0010] Based on the data synchronization result information, the management core and the metering core perform periodic data transmission to obtain data transmission result information between the management core and the metering core;

[0011] According to the data synchronization result information and the data transmission result information, it is determined that the electric energy meter is operating normally.

[0012] Optionally, based on the legal metering function information and the extended function data, the management core performs data synchronization with the metering core to obtain data synchronization result information of the electric energy meter, including:

[0013] Based on the legal metrology function information and the extended function data, the management core performs bidirectional signal detection with the metering core to obtain bidirectional signal detection result information;

[0014] According to the two-way signal detection result information, the management core and the metering core synchronize the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter.

[0015] Optionally, according to the bidirectional signal detection result information, the management core and the metering core perform data synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter, including:

[0016] According to the two-way signal preparation detection information, the legal metrology function information and the extended function data, the management core performs handshake data synchronization with the metering core to obtain handshake data synchronization result information;

[0017] Based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter.

[0018] Optionally, the parameters include configuration parameters of an advanced application module in the metering core; based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data, and after obtaining the data synchronization result information of the electric energy meter, the method further includes:

[0019] Determine whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, control the metering core to start high-speed waveform data sampling; if not, control the metering core to close high-speed waveform data sampling.

[0020] In a second aspect, the present invention provides a power-on start-up device for an electric energy meter, the device being applied to a multi-core module, the multi-core module comprising a management core and a metering core; the device comprising:

[0021] An acquisition module, used to acquire the legal metering function information of the electric energy meter through the metering core, and to acquire the extended function data of the electric energy meter through the management core;

[0022] A synchronization module, configured to synchronize the management core with the metering core based on the legal metering function information and the extended function data, and obtain data synchronization result information of the electric energy meter;

[0023] A transmission module, configured to perform periodic data transmission between the management core and the metering core based on the data synchronization result information, and obtain data transmission result information between the management core and the metering core;

[0024] The determination module is used to determine that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information.

[0025] Optionally, the synchronization module includes:

[0026] A detection submodule, configured to perform bidirectional signal detection between the management core and the metering core based on the legal metrology function information and the extended function data, and obtain bidirectional signal detection result information;

[0027] The synchronization submodule is used to synchronize the legal metering function information and the extended function data with the management core and the metering core according to the bidirectional signal detection result information, so as to obtain the data synchronization result information of the electric energy meter.

[0028] Optionally, the synchronization submodule includes:

[0029] A handshake unit, configured to prepare detection information, the legal metrology function information and the extended function data according to the bidirectional signal, synchronize the management core with the metering core to obtain handshake data synchronization result information;

[0030] A parameter unit is used for, based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter.

[0031] Optionally, the parameters include configuration parameters of an advanced application module in the metering core; the device further includes:

[0032] The judgment module is used to judge whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, the metering core is controlled to start high-speed waveform data sampling; if not, the metering core is controlled to close high-speed waveform data sampling.

[0033] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are performed.

[0034] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the method provided in the first aspect are performed.

[0035] It can be seen from the above technical scheme that the present invention has the following advantages: the present invention provides a power-on startup method for an electric energy meter, which obtains the legal metering function information of the electric energy meter through the metering core, and obtains the extended function data of the electric energy meter through the management core, based on the legal metering function information and the extended function data, the management core synchronizes data with the metering core to obtain the data synchronization result information of the electric energy meter, based on the data synchronization result information, the management core performs periodic data transmission with the metering core to obtain the data transmission result information between the management core and the metering core, and determines that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information, through a power-on startup method for an electric energy meter, solves the technical problem that the power-on efficiency of the current multi-core modular electric energy meter may be affected by frequent power-off and power-on operations during operation or testing, thereby improving the working efficiency of the electric energy meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0037] Figure 1 A flowchart of a first embodiment of a method for powering on and starting an electric energy meter according to the present invention;

[0038] Figure 2 A flowchart of a second embodiment of a method for powering on and starting an electric energy meter according to the present invention;

[0039] Figure 3 It is a structural block diagram of an embodiment of a power-on starting device of an electric energy meter of the present invention;

[0040] Figure 4 The present invention is a structural block diagram of an embodiment of a power-on starting device for an electric energy meter. DETAILED DESCRIPTION

[0041] The embodiments of the present invention provide a power-on startup method, device, electronic device and storage medium for an electric energy meter, which are used to solve the technical problem that the power-on efficiency of the current multi-core modular electric energy meter may be affected by frequent power-off and power-on operations during operation or testing.

[0042] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] For example, see Figure 1 , Figure 1 This is a flowchart of a first embodiment of a method for powering on an electric energy meter according to the present invention. The method is applied to a multi-core module, and the multi-core module includes a management core and a metering core. The method includes:

[0044] Step S101, the metering core acquires legal metering function information of the electric energy meter, and the management core acquires extended function data of the electric energy meter;

[0045] Step S102: Based on the legal metering function information and the extended function data, the management core synchronizes data with the metering core to obtain data synchronization result information of the electric energy meter;

[0046] Step S103: Based on the data synchronization result information, the management core and the metering core perform periodic data transmission to obtain data transmission result information between the management core and the metering core.

[0047] Step S104: determining that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information.

[0048] In a power-on startup method for an electric energy meter provided in an embodiment of the present invention, the legal metering function information of the electric energy meter is obtained through a metering core, and the extended function data of the electric energy meter is obtained through a management core. Based on the legal metering function information and the extended function data, the management core synchronizes data with the metering core to obtain data synchronization result information of the electric energy meter. Based on the data synchronization result information, the management core performs periodic data transmission with the metering core to obtain data transmission result information between the management core and the metering core. According to the data synchronization result information and the data transmission result information, it is determined that the electric energy meter is operating normally. Through a power-on startup method for an electric energy meter, the technical problem that the power-on efficiency of the electric energy meter currently existing in a multi-core modular electric energy meter may be affected by frequent power-off and power-on operations during operation or testing is solved, thereby improving the working efficiency of the electric energy meter.

[0049] For example 2, please refer to Figure 2 , Figure 2 The present invention is a flowchart of a power-on startup method of an electric energy meter, wherein the method is applied to a multi-core module, wherein the multi-core module comprises a management core and a metering core; the metering core and the management core communicate with each other in a dual-port communication mode of "SPI+UART"; the metering core and the management core use SPI to transmit high-speed waveform sampling data, and use a UART communication channel to exchange metering data to prevent mutual interference; the method comprises:

[0050] Step S201, the metering core acquires legal metering function information of the electric energy meter, and the management core acquires extended function data of the electric energy meter;

[0051] In the embodiment of the present invention, the metering core obtains the legal metering function information of the electric energy meter, and the management core obtains the extended function data of the electric energy meter.

[0052] In the specific implementation, programs and data related to legal metering such as electricity metering and real-time clock are placed in the metering core for processing; other extended functions (such as display, multi-rate, fee control, communication, etc.) are placed in the management core for processing; the legal metering part and the illegal metering part (extended function) are separated from hardware and software in a modular form to ensure the stability of the metering function.

[0053] Step S202: Based on the legal metrology function information and the extended function data, the management core and the metering core perform a two-way signal detection to obtain two-way signal detection result information;

[0054] In an embodiment of the present invention, bidirectional signal detection is completed between the management chip and the metering chip, and the bidirectional signal detection includes: the metering chip detects the arrival signal of the management chip, the management chip detects the power-off signal of the metering chip, and the management chip detects the clock synchronization signal of the metering chip. The management chip and the metering chip perform bidirectional signal detection to obtain bidirectional signal detection result information.

[0055] In a specific implementation, the arrival signal is sent from the management chip to the metering chip, and the arrival state is a low level.

[0056] The power-off signal is sent from the metering chip to the management chip in an open-drain mode, and the power-off state is low level. The 220V primary side signal is divided and rectified for output, or detected by the metering chip. When the power supply voltage reaches the critical voltage, it should be able to send a power-off signal to the management unit within 10ms. When the metering chip sends a valid power-off signal, it should maintain the MVCC power supply within the normal range for at least 200ms, so that the management chip can save data.

[0057] The clock synchronization signal is sent by the metering chip to the management chip in an open-drain mode. The falling edge is the start of the second signal.

[0058] Step S203: According to the two-way signal detection result information, the management core and the metering core synchronize the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter;

[0059] In an optional embodiment, according to the bidirectional signal detection result information, the management core and the metering core perform data synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter, including:

[0060] According to the two-way signal preparation detection information, the legal metrology function information and the extended function data, the management core performs handshake data synchronization with the metering core to obtain handshake data synchronization result information;

[0061] Based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter.

[0062] In an embodiment of the present invention, according to the two-way signal preparation detection information, the legal metering function information and the extended function data, the management core and the metering core perform handshake data synchronization to obtain handshake data synchronization result information; based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data to obtain the data synchronization result information of the electric energy meter.

[0063] In an optional embodiment, the parameters include configuration parameters of the advanced application module in the metering core; based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data, and after obtaining the data synchronization result information of the electric energy meter, the method further includes:

[0064] Determine whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, control the metering core to start high-speed waveform data sampling; if not, control the metering core to close high-speed waveform data sampling.

[0065] In an embodiment of the present invention, it is determined whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, the metering core is controlled to start high-speed waveform data sampling; if not, the metering core is controlled to close high-speed waveform data sampling.

[0066] In the specific implementation, the metering core actively initiates a handshake command to the management core, and the handshake command includes: the first stage handshake synchronizes the running time and communication address of the metering core, the second stage handshake synchronizes the instantaneous data of the metering core, and completes the initialization of the metering core to obtain the handshake data synchronization result information.

[0067] In the first phase of handshake synchronization, the metering chip sends a data frame containing the metering chip clock and communication address information to the management chip. The management chip correctly parses the received data frame and returns the response frame to the metering chip. The first phase of handshake synchronization is completed.

[0068] In the second stage of handshake synchronization, after the metering core initializes the metering chip and completes an instantaneous quantity update, the metering core initiates the second stage of handshake to the management core. The metering core sends a data frame containing the metering core instantaneous quantity information to the management core. The management core correctly parses the received data frame and returns the response frame to the metering core. The second stage of handshake synchronization is completed.

[0069] The instantaneous quantity data includes the current voltage, current, frequency, active power, reactive power, power factor, total active power in both positive and negative directions, total reactive power in combination, total reactive power in four quadrants and other measurement-related data of the metering core.

[0070] Based on the handshake data synchronization result information, the metering core and the management core complete parameter synchronization to obtain the data synchronization result information of the electric energy meter. The synchronization parameters include: basic parameters of the metering core and configuration parameters of advanced application modules in the metering core.

[0071] In the parameter synchronization described in step S3, the metering core sends a data frame containing basic parameters of the metering core and advanced module configuration parameters to the management core. The management core correctly parses the received data frame and returns a response frame to the metering core, and the parameter synchronization is completed.

[0072] The basic parameters of the metering core include rated voltage, rated current, maximum current, active power accuracy grade, reactive power accuracy grade, active power constant, reactive power constant and other metering related parameters.

[0073] Advanced application module, using the high-speed waveform sampling data output by the metering core through SPI to carry out advanced data applications, including non-intrusive load identification and power quality monitoring.

[0074] Advanced module configuration parameters, specifically refer to the high-speed waveform sampling data configuration output through SPI, including the number of cycle points, the number of ADC sampling data bits, voltage coefficient, current coefficient, and phase coefficient.

[0075] If the management core detects the advanced application module and obtains the configuration parameters of the advanced application module from the metering core, it controls the metering core to start the high-speed waveform sampling data output through the SPI interface, otherwise it controls the metering core to close the high-speed waveform sampling data output.

[0076] Step S204, based on the data synchronization result information, the management core and the metering core perform periodic data transmission to obtain data transmission result information between the management core and the metering core;

[0077] In the embodiment of the present invention, based on the data synchronization result information, the management core and the metering core perform periodic data transmission to obtain data transmission result information between the management core and the metering core.

[0078] In the specific implementation, the metering core and the management core periodically synchronize the clock, instantaneous quantity data and minute frozen data. The metering core actively pushes the above data to the management core. After receiving the above data, the management core pushes the display items to the metering core and completes the freezing and storage of various data, including frozen quantity, event records, and load records, and obtains the data transmission result information between the management core and the metering core.

[0079] Periodic data synchronization: the metering chip sends periodic synchronization data to the management chip. The periodic synchronization data includes the following data: running clock, instantaneous quantity data, and minute frozen data.

[0080] The running clock is synchronized periodically. The metering chip sends a data frame containing the current clock information of the metering chip to the management chip at the 30th second of every minute. After the management chip receives the data frame containing the current clock information of the metering chip, it correctly parses it, sets the metering chip clock to the management chip, and returns the response frame to the metering chip. The running clock is synchronized periodically.

[0081] The instantaneous quantity data is synchronized periodically. The metering chip sends a data frame containing instantaneous quantity data information to the management chip every second. The management chip correctly parses the received data frame and returns the response frame to the metering chip. The instantaneous quantity data is synchronized periodically.

[0082] The minute-frozen data is synchronized periodically. The metering chip sends a data frame containing instantaneous data information to the management chip at the 00th second of every minute. The management chip correctly parses the received data frame and returns the response frame to the metering chip. The minute-frozen data is synchronized periodically.

[0083] The frozen quantities include voltage, current, frequency, active power, reactive power, power factor, total active power in both positive and negative directions, total reactive power in combination, and total reactive power in four quadrants.

[0084] Event records include programming records, closing and opening of the circuit breaker, overcurrent, loss of pressure and other events.

[0085] The load record content includes voltage, current, frequency, active power, reactive power, power factor, total active power of positive and negative directions, total reactive power of combined direction, total reactive power of four quadrants and other data. The above data types can be combined arbitrarily and different time intervals can be set.

[0086] Step S205, determining that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information;

[0087] In the embodiment of the present invention, it is determined that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information.

[0088] In a specific implementation, it is determined that the electric energy meter is operating normally based on the obtained data synchronization result information and the detailed data in the data transmission result information.

[0089] In a power-on startup method for an electric energy meter provided in an embodiment of the present invention, the legal metering function information of the electric energy meter is obtained through a metering core, and the extended function data of the electric energy meter is obtained through a management core. Based on the legal metering function information and the extended function data, the management core synchronizes data with the metering core to obtain data synchronization result information of the electric energy meter. Based on the data synchronization result information, the management core performs periodic data transmission with the metering core to obtain data transmission result information between the management core and the metering core. According to the data synchronization result information and the data transmission result information, it is determined that the electric energy meter is operating normally. Through a power-on startup method for an electric energy meter, the technical problem that the power-on efficiency of the electric energy meter currently existing in a multi-core modular electric energy meter may be affected by frequent power-off and power-on operations during operation or testing is solved, thereby improving the working efficiency of the electric energy meter.

[0090] See also Figure 3 , Figure 3 The structure diagram of a simulation management core test system of the present invention, wherein 301 is a field fault metering core, 302 is a simulation management core test system, 303 is a simulation management core, 304 is an advanced application module, and 305 is a monitoring device; the system is applied to a test method for a field fault metering core, and the simulation management core 303 performs the role of the management core as described above; the test method mainly detects the key functional points of the above-mentioned dual-core interaction process;

[0091] The test mainly includes the following key items:

[0092] 1) Bidirectional signal test between management chip and metering chip:

[0093] The analog management chip 303 detects the output power supply voltage of the metering chip, including voltage accuracy, ripple noise, etc.;

[0094] The analog management chip 303 detects the power-off signal output by the metering chip, including the output signal level, etc.;

[0095] The analog management chip 303 detects the clock synchronization signal output by the metering chip, including the interval of the second pulse, etc.

[0096] 2) Handshake synchronization test between management chip and metering chip:

[0097] The simulation management core 303 detects the first phase handshake command actively initiated by the metering core to see whether the metering core can correctly send the meter address and metering core clock;

[0098] The simulation management core 303 detects the second-stage handshake command actively initiated by the metering core to check whether the metering core can correctly send instantaneous quantity data.

[0099] 3) Parameter synchronization test between the metering chip and the management chip:

[0100] The simulation management core 303 detects whether the metering core can correctly synchronize the basic parameters of the metering core with the configuration parameters of the advanced application module;

[0101] The synchronization parameters include: basic parameters of the metering core and configuration parameters of the advanced application module. If the management core detects the advanced application module and obtains the configuration parameters of the advanced application module from the metering core, the metering core is controlled to start the high-speed waveform sampling data output through the SPI interface, otherwise the metering core is controlled to close the high-speed waveform sampling data output;

[0102] The basic parameters of the metering core include the rated voltage, rated current, maximum current, active power accuracy grade, reactive power accuracy grade, active power constant, reactive power constant and other metering related parameters;

[0103] The advanced module configuration parameters specifically refer to the high-speed waveform sampling data output by the SPI, including the number of cycle points, the number of ADC sampling data bits, the voltage coefficient, the current coefficient, and the phase coefficient.

[0104] 4) Periodic data synchronization test of the metering chip and the management chip:

[0105] The analog management chip 303 detects the clock, instantaneous quantity data and minute frozen data periodically and actively pushed by the metering chip to check whether the transmission format of the above data meets the dual-core interaction requirements.

[0106] See also Figure 4 , Figure 4 This is a structural block diagram of an embodiment of a power-on startup device for an electric energy meter of the present invention. The device is applied to a multi-core module, and the multi-core module includes a management core and a metering core; the device includes:

[0107] An acquisition module 401 is used to acquire the legal metering function information of the electric energy meter through the metering core, and to acquire the extended function data of the electric energy meter through the management core;

[0108] A synchronization module 402 is used for synchronizing the management core with the metering core based on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter;

[0109] A transmission module 403 is used for periodically transmitting data between the management core and the metering core based on the data synchronization result information to obtain data transmission result information between the management core and the metering core;

[0110] The determination module 404 is used to determine that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information.

[0111] In an optional embodiment, the synchronization module 402 includes:

[0112] A detection submodule, configured to perform bidirectional signal detection between the management core and the metering core based on the legal metrology function information and the extended function data, and obtain bidirectional signal detection result information;

[0113] The synchronization submodule is used to synchronize the legal metering function information and the extended function data with the management core and the metering core according to the bidirectional signal detection result information, so as to obtain the data synchronization result information of the electric energy meter.

[0114] In an optional embodiment, the synchronization submodule includes:

[0115] A handshake unit, configured to prepare detection information, the legal metrology function information and the extended function data according to the bidirectional signal, synchronize the management core with the metering core to obtain handshake data synchronization result information;

[0116] A parameter unit is used for, based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter.

[0117] In an optional embodiment, the parameters include configuration parameters of an advanced application module in the metering core; the device further includes:

[0118] The judgment module is used to judge whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, the metering core is controlled to start high-speed waveform data sampling; if not, the metering core is controlled to close high-speed waveform data sampling.

[0119] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the power-on startup method of the electric energy meter as described in any of the above embodiments.

[0120] An embodiment of the present invention further provides a computer storage medium on which a computer program is stored. When the computer program is executed by the processor, the power-on startup method of the electric energy meter as described in any of the above embodiments is implemented.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0122] In the several embodiments provided in the present application, it should be understood that the methods, devices, electronic devices and storage media disclosed in the present invention can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0125] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0126] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for powering on an electric energy meter, characterized in that: The method is applied to a multi-core module, wherein the multi-core module includes a management core and a metering core; the method includes: The metering core acquires legal metering function information of the electric energy meter, and the management core acquires extended function data of the electric energy meter; Based on the legal metering function information and the extended function data, the management core synchronizes data with the metering core to obtain data synchronization result information of the electric energy meter; Based on the data synchronization result information, the management core and the metering core perform periodic data transmission to obtain data transmission result information between the management core and the metering core; Determining that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information; Based on the legal metering function information and the extended function data, the management core performs data synchronization with the metering core to obtain data synchronization result information of the electric energy meter, including: Based on the legal metrology function information and the extended function data, the management core performs bidirectional signal detection with the metering core to obtain bidirectional signal detection result information; According to the two-way signal detection result information, the management core and the metering core perform data synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter; According to the two-way signal detection result information, the management core and the metering core synchronize the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter, including: According to the two-way signal preparation detection information, the legal metrology function information and the extended function data, the management core performs handshake data synchronization with the metering core to obtain handshake data synchronization result information; Based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data to obtain data synchronization result information of the electric energy meter; The parameters include configuration parameters of the advanced application module in the metering core; based on the handshake data synchronization result information, the management core and the metering core perform parameter synchronization on the legal metering function information and the extended function data, and after obtaining the data synchronization result information of the electric energy meter, the method further includes: Determine whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, control the metering core to start high-speed waveform data sampling; if not, control the metering core to stop high-speed waveform data sampling; The management core performs handshake data synchronization with the metering core, specifically including: the metering core actively initiates a handshake command to the management core, and the handshake command includes: the first stage handshake synchronizes the running time and communication address of the metering core; the second stage handshake synchronizes the instantaneous quantity data of the metering core, completes the initialization of the metering core, and obtains the handshake data synchronization result information; The configuration parameters of the advanced application module in the metering core specifically refer to the high-speed waveform sampling data configuration output through SPI, including the number of cycle points, the number of ADC sampling data bits, the voltage coefficient, the current coefficient, and the phase coefficient.

2. A power-on starting device for an electric energy meter, characterized in that: The device is applied to a multi-core module, and the multi-core module includes a management core and a metering core; the device includes: An acquisition module, used for acquiring the legal metering function information of the electric energy meter through the metering core, and acquiring the extended function data of the electric energy meter through the management core; A synchronization module, configured to synchronize data between the management core and the metering core based on the legal metering function information and the extended function data, and obtain data synchronization result information of the electric energy meter; A transmission module, configured to perform periodic data transmission between the management core and the metering core based on the data synchronization result information, and obtain data transmission result information between the management core and the metering core; A determination module, configured to determine that the electric energy meter is operating normally according to the data synchronization result information and the data transmission result information; The synchronization module comprises: A detection submodule, configured to perform bidirectional signal detection between the management core and the metering core based on the legal metrology function information and the extended function data, and obtain bidirectional signal detection result information; A synchronization submodule, configured to synchronize the legal metering function information and the extended function data with the management core and the metering core according to the bidirectional signal detection result information, so as to obtain data synchronization result information of the electric energy meter; The synchronization submodule comprises: A handshake unit, configured to prepare detection information, the legal metrology function information and the extended function data according to the bidirectional signal, synchronize the management core with the metering core to obtain handshake data synchronization result information; A parameter unit, configured to synchronize parameters of the legal metering function information and the extended function data with the management core and the metering core based on the handshake data synchronization result information, so as to obtain data synchronization result information of the electric energy meter; The parameters include configuration parameters of the advanced application module in the metering core; the device also includes: The judgment module is used to judge whether the management core obtains the configuration parameters of the advanced application module from the metering core; if so, the metering core is controlled to start high-speed waveform data sampling; if not, the metering core is controlled to close high-speed waveform data sampling.

3. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the method according to claim 1 is executed.

4. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 1 is performed.

Citation Information

Patent Citations

  • Synchronous processing method of multi-core intelligent electric energy meter and multi-core intelligent electric energy meter

    CN111257608A