CN114563753A - Power failure detection method, device and equipment for electric energy meter and computer readable storage medium - Google Patents

Power failure detection method, device and equipment for electric energy meter and computer readable storage medium Download PDF

Info

Publication number
CN114563753A
CN114563753A CN202110390167.3A CN202110390167A CN114563753A CN 114563753 A CN114563753 A CN 114563753A CN 202110390167 A CN202110390167 A CN 202110390167A CN 114563753 A CN114563753 A CN 114563753A
Authority
CN
China
Prior art keywords
voltage
electric energy
energy meter
power
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110390167.3A
Other languages
Chinese (zh)
Other versions
CN114563753B (en
Inventor
陈爱华
蒋杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chint Group R & D Center Shanghai Co ltd
Original Assignee
Chint Group R & D Center Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chint Group R & D Center Shanghai Co ltd filed Critical Chint Group R & D Center Shanghai Co ltd
Priority to CN202110390167.3A priority Critical patent/CN114563753B/en
Publication of CN114563753A publication Critical patent/CN114563753A/en
Application granted granted Critical
Publication of CN114563753B publication Critical patent/CN114563753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The application provides a method, a device and equipment for detecting power failure of an electric energy meter and a computer readable storage medium; the method is applied to a power-down detection circuit of the electric energy meter, and the power-down detection circuit of the electric energy meter is in communication connection with a processor; the method comprises the following steps: acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency; processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence; if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage; and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result. This application is gathered detection voltage according to presetting the collection frequency and is handled the analysis, has improved the power failure detection rate.

Description

Power failure detection method, device and equipment for electric energy meter and computer readable storage medium
Technical Field
The application relates to the technical field of power failure detection of electric energy meters, in particular to a power failure detection method, device and equipment for an electric energy meter and a computer readable storage medium.
Background
In the prior art, the power failure detection of the electric energy meter mainly depends on a processor (MCU, Microcontroller Unit), and specifically, a power monitoring circuit is arranged in the MCU or a power comparator is arranged on an IO interface of the MCU to perform the power failure detection of the electric energy meter; for example, the first implementation: detecting the DC output voltage of the AC/DC circuit, and informing the MCU of being in a power-down state after detecting that the voltage is lower than a set voltage, wherein the power-down detection mode takes the normal DC output voltage of the AC/DC circuit as an example and 10V set by the detection voltage as an example, and when the power-down is detected, the energy of an electrolytic capacitor on the DC output is lost by 0.5C (12^2-10^2) joules; the implementation mode two is as follows: the voltage is measured by adopting a metering chip and is used as the voltage for power failure detection, for example: when the measured voltage is lower than 220 × 0.7V, the MCU is informed of being in a power failure state, the updating speed of the effective voltage value of the metering chip is generally 200 and 500ms in normal conditions, the MCU is informed of performing power failure processing after the power failure is delayed by 200 and 500ms, and when the rapid power failure occurs, the metering chip cannot detect a voltage zero-crossing signal and does not output the effective voltage value any more, so that the power failure detection delay is caused.
The power failure detection of the processor is performed through detecting the output end of the power supply circuit, the power failure detection method detects that the power failure time is later, so that the power failure protection time is shorter, namely, the time for outputting the power to a system to normally supply power is shorter after the power supply is disconnected and input, and thus the problems that a standby power supply is possibly not connected in time, or a standby battery is under-voltage, or data backup is not in time, and finally data storage is unreliable or the state is disordered and the like, which are caused by the unpredictable when the power failure protection is not in time, are caused.
Disclosure of Invention
The application provides a power failure detection method, a power failure detection device, power failure detection equipment and a computer readable storage medium for an electric energy meter, and aims to solve the technical problem that power failure protection is not timely due to the fact that the power failure detection time of an existing electric energy meter is delayed.
On one hand, the application also provides a power-down detection method of the electric energy meter, the power-down detection method of the electric energy meter is applied to a power-down detection circuit of the electric energy meter, and the power-down detection circuit of the electric energy meter is in communication connection with the processor;
the power failure detection method for the electric energy meter comprises the following steps:
acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency;
processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage;
and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
In some embodiments of the present application, the preset collection frequency is set according to an alternating current frequency;
the preset reference voltage is determined according to the rated alternating current voltage of the electric energy meter and an allowable coefficient, and the preset reference voltage is the product of the rated alternating current voltage of the electric energy meter and the allowable coefficient.
In some embodiments of the application, the processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to an acquisition sequence of the respective detection voltages to form an effective voltage sequence includes:
acquiring a reference voltage output by a voltage output module in the processor;
subtracting half of the reference voltage from the detection voltage to obtain the lowest effective voltage, and arranging the lowest effective voltage according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence.
In some embodiments of the present application, after processing the detection voltages to obtain the lowest effective voltages and arranging the lowest effective voltages according to the collection sequence of the respective detection voltages to form an effective voltage sequence, the method includes:
judging whether two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence;
if two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence, judging that a zero crossing point exists in the effective voltage sequence;
and if two adjacent minimum effective voltages with opposite directions do not exist in the effective voltage sequence, judging that zero-crossing points do not exist in the effective voltage sequence.
In some embodiments of the present application, the comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power down prompt according to the voltage comparison result, includes:
acquiring the peak voltage or the effective voltage of the zero line or the live line, setting a preset reference voltage according to the peak voltage or the effective voltage, and comparing the voltage sum with the preset reference voltage;
if the voltage sum is larger than the preset reference voltage, continuously monitoring;
and if the voltage sum is less than or equal to the preset reference voltage, outputting a power-down prompt.
In some embodiments of the present application, after processing the detection voltages to obtain the lowest effective voltages and arranging the lowest effective voltages according to the collection sequence of the respective detection voltages to form an effective voltage sequence, the method includes:
and if the zero crossing point does not exist in the effective voltage sequence at the preset time interval, outputting a power-down prompt.
In some embodiments of the application, the acquiring a detection voltage acquired by an ac signal sampling module in the processor according to a preset acquisition frequency includes:
acquiring a clock signal sent by a timer in the processor;
and taking the frequency of the clock signal as a preset acquisition frequency, and acquiring the detection voltage according to the preset acquisition frequency.
On the other hand, this application still provides an electric energy meter power failure detection device, electric energy meter power failure detection device sets up in the treater, treater and electric energy meter power failure detection circuit communication connection, electric energy meter power failure detection device includes:
the detection acquisition module is used for acquiring detection voltage acquired by the alternating current signal sampling module in the processor according to a preset acquisition frequency;
the processing and sorting module is used for processing the detection voltages to obtain the lowest effective voltages and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
the voltage counting module is used for acquiring target effective voltages between adjacent zero-crossing points if the effective voltage sequence has the zero-crossing points, and counting the voltage sum of each target effective voltage;
and the comparison output module is used for comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
On the other hand, this application still provides an electric energy meter detection equipment that falls, electric energy meter detection equipment that falls includes:
a power failure detection circuit of the electric energy meter;
one or more processors;
a memory; and
the structure of the electric energy meter power failure detection circuit is as described above;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the power meter power down detection method described above.
In another aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is loaded by a processor to execute the steps in the power failure detection method for an electric energy meter.
The method in the technical scheme is applied to the power-down detection circuit of the electric energy meter, and the power-down detection circuit of the electric energy meter is in communication connection with the processor; according to the method, an alternating current signal sampling module in a processor collects detection voltages according to a preset collection frequency, the preset collection frequency is multiple times of the alternating current frequency, a plurality of detection voltages are collected in an alternating current period, zero crossing points in a detection voltage sequence are determined by processing the detection voltages, and the voltage between two adjacent zero crossing points is analyzed, so that whether the electric energy meter is powered down in a half waveform period of the alternating current is determined, specifically, the detection voltages are converted into minimum effective voltages, and the minimum effective voltages are arranged according to the collection sequence of the respective detection voltages to form an effective voltage sequence; if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage; the voltage sum is compared with the preset reference voltage to obtain a voltage comparison result, and whether the power failure of the electric energy meter is determined according to the comparison result.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a specific schematic diagram of a power down detection circuit in a power down detection device for an electric energy meter according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating an embodiment of a power-down detection method for an electric energy meter provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a specific structure of a power-down detection circuit in the power-down detection method for the electric energy meter provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an embodiment of a power-down detection device for an electric energy meter provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an embodiment of a power down detection device for an electric energy meter provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any inventive step, are within the scope of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The embodiment of the application provides a method, a device and equipment for detecting power failure of an electric energy meter and a computer readable storage medium, which are respectively described in detail below.
The power-down detection method of the electric energy meter in the embodiment of the invention is based on a power-down detection circuit, the power-down detection method of the electric energy meter is applied to a power-down detection device of the electric energy meter, the power-down detection circuit of the electric energy meter is a part of the power-down detection device of the electric energy meter, the power-down detection device of the electric energy meter is arranged in power-down detection equipment of the electric energy meter, one or more processors, a memory and one or more application programs are arranged in the power-down detection equipment of the electric energy meter, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to realize the power-down detection method of the electric energy meter; the power failure detection equipment of the electric energy meter can be a detection terminal.
As shown in fig. 1, fig. 1 is a specific schematic diagram of a power-down detection circuit of an electric energy meter in the power-down detection device of the electric energy meter according to the embodiment of the present disclosure, in which the power-down detection device 100 of the electric energy meter (an electric energy meter power-down detection device is integrated in the power-down detection device 100 of the electric energy meter) is implemented, and a computer-readable storage medium corresponding to the power-down detection of the electric energy meter is operated in the power-down detection device 100 of the electric energy meter, so as to perform the power-down detection step of the electric energy meter.
It should be understood that the devices included in the power-down detection device of the electric energy meter in fig. 1 do not limit the embodiment of the present invention, that is, the number and types of the devices included in the power-down detection device of the electric energy meter do not affect the overall implementation of the technical solution in the embodiment of the present invention, and can be calculated as equivalent replacements or derivations of the technical solution claimed in the embodiment of the present invention.
The power failure detection device 100 of the electric energy meter in the embodiment of the invention comprises: acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency; processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence; if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage; and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
The power-down detection device 100 of the electric energy meter in the embodiment of the present invention may be an independent power-down detection device of the electric energy meter, or may be a power-down detection device network or a power-down detection device cluster of the electric energy meter, for example, the power-down detection device 100 of the electric energy meter described in the embodiment of the present invention includes, but is not limited to, a computer, a network host, a single power-down detection device of the network electric energy meter, a plurality of power-down detection device sets of the network electric energy meter, or a cloud power-down detection device formed by a plurality of power-down detection devices of the electric energy meter.
Those skilled in the art can understand that the power down detection circuit of the power meter in the power down detection device of the power meter shown in fig. 1 is only specific to one embodiment of the present application, and does not constitute a limitation of the present application, and may further include more or less circuit elements than those shown in fig. 1, for example, only 1 power down detection device of the power meter is shown in fig. 1, and it can be understood that the power down detection circuit of the power meter in the power down detection device of the power meter may further include one or more other power down detection devices of the power meter, which is not limited herein; the power-down detection device 100 for the electric energy meter may further include a memory for storing the detection voltage collected historically.
In addition, the specific power-off detection device 100 of the power-off detection circuit of the power meter in the power-off detection device of the power meter can be provided with a display device, or the power-off detection device 100 of the power meter is not provided with a display device which is in communication connection with an external display device, and the display device is used for outputting the execution result of the power-off detection method of the power meter in the power-off detection device of the power meter.
It should be noted that the specific schematic diagram of the power down detection circuit of the electric energy meter in the power down detection device shown in fig. 1 is only an example, and the specific schematic diagram of the power down detection circuit of the electric energy meter in the power down detection device described in the embodiment of the present invention is to more clearly illustrate the technical scheme of the embodiment of the present invention, and does not limit the technical scheme provided by the embodiment of the present invention.
Based on the power failure detection circuit of the electric energy meter in the power failure detection equipment, the embodiment of the power failure detection method of the electric energy meter is provided. The power failure detection method for the electric energy meter in the embodiment comprises the following steps:
acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency;
processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage;
and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
The power-down detection method for the electric energy meter in the embodiment is applied to power-down detection equipment for the electric energy meter, the type of the power-down detection equipment for the electric energy meter is not particularly limited, and the power-down detection equipment for the electric energy meter can be a terminal.
In this embodiment, the power-down detection device for the electric energy meter includes a power-down detection circuit for the electric energy meter, the power-down detection circuit for the electric energy meter is in communication connection with the processor, and the power-down detection circuit for the electric energy meter includes:
a first resistor (R1), a second resistor (R2), and a third resistor (R3);
one end of the first resistor (R1), one end of the second resistor (R2) and one end of the third resistor (R3) are respectively connected with an alternating current signal sampling module in the processor;
the other end of the first resistor (R1) is connected with a zero line or a live line, the other end of the second resistor (R2) is connected with a voltage output module in the processor, and the other end of the third resistor (R3) is grounded.
As shown in fig. 1, the power-down detection circuit of the electric energy meter in this embodiment includes a first resistor (R1), a second resistor (R2), and a third resistor (R3), where one end of the first resistor (R1), one end of the second resistor (R2), and one end of the third resistor (R3) are respectively connected to an ac signal sampling module in the processor, the other end of the first resistor (R1) is connected to a zero line or a fire line, the other end of the second resistor (R2) is connected to a voltage output module in the processor, and the other end of the third resistor (R3) is grounded.
In some embodiments of the present application, the second resistor (R2) has the same resistance value as the third resistor (R3), and the second resistor (R2) and the third resistor (R3) divide the voltage;
the resistance value of the first resistor (R1) is a preset multiple of the resistance value of the second resistor (R2) or the resistance value of the third resistor (R3), and the preset multiple is more than ten.
That is, in this embodiment, the resistance of the second resistor (R2) is the same as the resistance of the third resistor (R3), the divided voltages at two ends between the second resistor (R2) and the third resistor (R3) are the same, the voltage at two ends between the second resistor (R2) and the third resistor (R3) is half of the reference voltage output by the voltage output module (VREF, full name: voltagerefer) in the processor, the resistance of the first resistor (R1) is a preset multiple of the resistance of the second resistor (R2) or the resistance of the third resistor (R3), and the preset multiple is greater than ten, that is, the resistance of the first resistor (R1) in this embodiment is much greater than the second voltage and the third voltage, the voltage of the alternating current is shared by the first resistor (R1), and those skilled in the art can connect multiple resistors in series to serve as the first resistor (R1).
It can be understood that in the embodiment of fig. 1, a capacitor is further disposed in the power down detection of the electric energy meter, and the capacitor is used for removing interference, so that a person skilled in the art can set required circuit elements according to specific requirements on the premise of not affecting the overall efficacy of the power down detection circuit of the electric energy meter.
In this embodiment, the processor is provided with an alternating current signal sampling module (ADC, which is called as an Analog-to-Digital Converter or an Analog-to-Digital Converter), the alternating current signal sampling module in the processor samples a voltage signal at a preset sampling frequency, the preset sampling frequency is set according to an alternating current frequency, for example, if the frequency of the alternating current in a certain area of china is 50Hz, the preset sampling frequency is set to 1000Hz, so that 20 times of detection voltages can be sampled in a period of an alternating current wave, a program for analyzing the detection voltages is provided in the processor, the processor determines zero-crossing points in the detection voltages, processes and analyzes 10 detection voltages between two adjacent zero-crossing points, and can determine whether power failure occurs, that is, the power failure detection device of the electric energy meter analyzes data of half of the alternating current wave, the power down detection result can be obtained within 10 ms. The embodiment can quickly determine power failure, meanwhile, the voltage detection precision depends on the precision of the resistor and the sampling precision of the alternating current signal sampling module, the sampling precision is high, and misjudgment conditions are few.
As shown in fig. 2, fig. 2 is a schematic flow chart of an embodiment of a power failure detection method for an electric energy meter in the embodiment of the present application, where the power failure detection method for the electric energy meter includes steps 201 and 204:
and 201, acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency.
In this embodiment, the power-down detection device of the electric energy meter receives the power-down detection instruction, where a trigger mode of the power-down detection instruction of the electric energy meter is not specifically limited, that is, the power-down detection device may be actively triggered by a user, for example, the user connects the power-down detection device of the electric energy meter to a circuit of the device, and actively triggers the power-down detection instruction; in addition, the power-down detection instruction can also be automatically triggered by the power-down detection equipment of the electric energy meter, for example, the power-down detection instruction is preset in the power-down detection equipment of the electric energy meter and is triggered in real time in the working process of the equipment, the power-down detection equipment of the electric energy meter monitors the state of the equipment, and the power-down detection instruction is automatically triggered when the power-down detection equipment of the electric energy meter detects that the equipment of the electric energy meter works.
After the power-down detection device of the electric energy meter receives the power-down detection instruction, a processor in the power-down detection device of the electric energy meter sends a sampling instruction to an alternating current signal sampling module, and the alternating current signal sampling module samples a detection voltage according to a preset sampling frequency, wherein the preset sampling frequency of the alternating current signal sampling module in the processor in this embodiment is set according to the alternating current frequency, for example, the preset sampling frequency is 1000Hz or 2000 Hz.
Specifically, in this embodiment, a timer is set in the processor, and the power-down detection device of the electric energy meter obtains a clock signal sent by the timer in the processor; the electric energy meter power failure detection equipment takes the frequency of the clock signal as a preset acquisition frequency, and acquires detection voltage according to the preset acquisition frequency.
It can be understood that, the electric energy meter falls the detection voltage of half cycle of detection equipment analysis alternating current, confirms whether there is the phenomenon of falling the electricity, crosses lowly and can influence the analysis accuracy if predetermine the collection frequency, and sampling frequency is higher and higher to data processing's hardware requirement, consequently, need set up sampling frequency according to specific demand to realize accurately falling the electricity and detect under the low-cost condition, specifically:
and 202, processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence.
The electric energy meter power failure detection equipment processes the detection voltage to obtain the lowest effective voltage, namely, the electric energy meter power failure detection equipment can directly analyze the detection voltage in the embodiment, but the data calculation amount is large, so that the electric energy meter power failure detection equipment converts the detection voltage into the lowest effective voltage, and the electric energy meter power failure detection equipment arranges the lowest effective voltage according to the collection sequence of the respective detection voltages to form an effective voltage sequence.
Specifically, the step 202 includes:
(1) acquiring a reference voltage output by a voltage output module in the processor;
(2) subtracting half of the reference voltage from the detection voltage to obtain the lowest effective voltage, and arranging the lowest effective voltage according to the collection sequence of the respective detection voltages to form an effective voltage sequence.
The method comprises the steps that electric energy meter power failure detection equipment obtains a reference voltage output by a voltage output module in a processor; the reference voltage can be 3.3V, the electric energy meter power failure detection equipment subtracts half of the reference voltage from the detection voltage to obtain the lowest effective voltage, and the electric energy meter power failure detection equipment arranges the lowest effective voltage according to the collection sequence of the respective detection voltages to form an effective voltage sequence.
After step 202 in this embodiment, the method includes:
judging whether two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence;
if two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence, judging that a zero crossing point exists in the effective voltage sequence;
and if two adjacent minimum effective voltages with opposite directions do not exist in the effective voltage sequence, judging that zero crossing points do not exist in the effective voltage sequence.
In the embodiment, the electric energy meter power failure detection equipment judges whether two adjacent minimum effective voltages with opposite directions exist in an effective voltage sequence; if two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence, the electric energy meter power failure detection equipment judges that a zero crossing point exists in the effective voltage sequence; if two adjacent minimum effective voltages with opposite directions do not exist in the effective voltage sequence, the electric energy meter power failure detection equipment judges that zero crossing points do not exist in the effective voltage sequence.
As can be understood by those skilled in the art, under special conditions, if two minimum effective voltages with opposite directions and adjacent directions do not exist in the effective voltage sequence, the power-down detection device of the electric energy meter further determines whether two zero points exist at intervals in the effective voltage sequence, if two zero points exist at intervals in the effective voltage sequence, the power-down detection device of the electric energy meter determines that a zero-crossing point exists in the effective voltage sequence, and if two zero points do not exist at intervals in the effective voltage sequence, the power-down detection device of the electric energy meter determines that a zero-crossing point does not exist in the effective voltage sequence.
In this embodiment, the alternating current is sine wave (or cosine wave), a half cycle is between two zero points, the electric energy meter power failure detection device determines whether two minimum effective voltages with opposite directions and adjacent exist in an effective voltage sequence, finds a zero crossing point in the effective voltage sequence, extracts a to-be-effective voltage between two adjacent zero points, and analyzes the to-be-effective voltage, thereby realizing voltage data analysis of a half waveform cycle, specifically:
and 203, if zero-crossing points exist in the effective voltage sequence, acquiring target effective voltages between adjacent zero-crossing points, and counting the voltage sum of each target effective voltage.
If a zero crossing point exists in the effective voltage sequence, the electric energy meter power-down detection device acquires target effective voltages between adjacent zero crossing points and counts the voltage sum of each target effective voltage, namely, the preset sampling frequency is 1000Hz, the target effective voltages between adjacent zero crossing points are 10, the electric energy meter power-down detection device counts 10 target effective voltages to acquire the voltage sum, and it can be understood that when the zero crossing points exist in the effective voltage sequence, 10 sampling points are totally arranged between two zero crossing points, and the sampling points are half a sampling period of 10ms, so that the sum of all sampling values between the two zero crossing points is equivalent to a half-cycle average value Uavg of an input voltage Ui signal.
And 204, comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
The method comprises the steps that a reference voltage is preset in electric energy meter power failure detection equipment, the preset reference voltage is determined according to the rated alternating current voltage of the electric energy meter and an allowable coefficient, namely the preset reference voltage is the product of the rated alternating current voltage of the electric energy meter and the allowable coefficient, wherein the allowable coefficient is smaller than 1, for example, the rated working voltage of the electric energy meter is 220V, but the electric energy meter can work at 50% of the rated alternating current voltage of the electric energy meter, and when a power failure detection point is set to be 70% of the rated alternating current voltage of the electric energy meter, an AC/DC circuit of the electric energy meter can still normally output direct current in a range of 50% -70% of the rated alternating current voltage of the electric energy meter; therefore, when the preset reference voltage is set, the working voltage can be multiplied by a coefficient, and optionally, the allowable coefficient can be 0.5-0.7. The electric energy meter power failure detection equipment compares the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputs a power failure prompt according to the voltage comparison result. Specifically, step 204 includes:
(1) acquiring the peak voltage or the effective voltage of the zero line or the live line, setting a preset reference voltage according to the peak voltage or the effective voltage, and comparing the voltage sum with the preset reference voltage;
(2) if the voltage sum is larger than the preset reference voltage, continuously monitoring;
(3) and if the voltage sum is less than or equal to the preset reference voltage, outputting a power failure prompt.
In the embodiment, the electric energy meter power failure detection equipment acquires the peak voltage or the effective voltage of a zero line or a live line, a preset reference voltage is set according to the peak voltage or all the effective voltages, and the electric energy meter power failure detection equipment compares the voltage sum with the preset reference voltage; if the voltage sum is larger than the preset reference voltage, the electric energy meter power failure detection equipment judges that no power failure phenomenon occurs and continuously monitors; and if the voltage sum is less than or equal to the preset reference voltage, the power failure detection equipment of the electric energy meter judges that the power failure phenomenon occurs, and outputs a power failure prompt if the power failure phenomenon occurs.
In the power failure detection method for the electric energy meter, an alternating current signal sampling module in a processor collects detection voltages according to preset collection frequency, the preset collection frequency is multiple times of alternating current frequency, a plurality of detection voltages are collected in one alternating current period, zero crossing points in a detection voltage sequence are determined by processing the detection voltages, and voltage between two adjacent zero crossing points is analyzed, so that whether the electric energy meter has power failure in a half waveform period of alternating current is determined, specifically, the detection voltages are converted into minimum effective voltages, and the minimum effective voltages are arranged according to the collection sequence of the respective detection voltages to form an effective voltage sequence; if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage; the voltage sum is compared with the preset reference voltage to obtain a voltage comparison result, and whether the power failure of the electric energy meter is determined according to the comparison result.
In some embodiments of the present application, it is specifically described that when there is no zero crossing point in the effective voltage sequence, the power-down detection method of the electric energy meter performs analysis, that is, the power-down detection device of the electric energy meter determines that a half waveform period of the alternating current is 10ms, and the zero crossing point can be detected in the effective voltage sequence under a condition that no power-down occurs for 10ms in a normal case, in order to avoid timing errors, the power-down detection device of the electric energy meter sets a time greater than 10ms as a preset time interval, and outputs a power-down prompt if the preset time interval does not have the zero crossing point in the effective voltage sequence, so that the power-down detection device of the electric energy meter realizes power-down detection at the beginning.
For convenience of understanding, this embodiment provides an example of processing specific parameters in the power down detection method for the electric energy meter, and referring to fig. 3, fig. 3 is a schematic diagram of a specific structure of a power down detection circuit in the power down detection method for the electric energy meter provided in this embodiment.
In fig. 3, R1+ R2+ R3+ R4 corresponds to the first resistor in the above embodiment, R11 corresponds to the second resistor in the above embodiment, R12 corresponds to the third resistor in the above embodiment, R11 ═ R12, R1+ R2+ R3+ R4 is much larger than R11, and C1 is used to filter the interference signal on the circuit. And an ADC (analog to digital converter) arranged in the MCU is used for sampling the alternating voltage signal Uo.
(1) Principle analysis
As shown in fig. 3, the following relationship exists for the currents in fig. 3:
Figure BDA0003016364810000121
through simplification:
Figure BDA0003016364810000122
since R1+ R2+ R3+ R4 is much larger than R11, the formula is shown in the above
Figure BDA0003016364810000131
Neglect, then become:
Figure BDA0003016364810000132
from the above equation, Uo is equivalent to superimposing an ac signal proportional to the Ui signal on the dc component of 0.5 VREF.
(2) And MCU processing procedure:
the built-in ADC of the MCU samples the Uo signal at 1ms intervals and converts it to a digital signal. Taking a 12-bit ADC as an example, the LSB of the full scale is 4095, and 0.5VREF corresponds to a LSB of 2048.
Subtract 2048 from the sampled LSB and record the LSB [ i ]; equivalent to removing 0.5VREF, the following holds:
Figure 1
if the LSB [ i-1] sampled last time is different from the LSB [ i ] sampled this time, the Ui signal is proved to have zero crossing.
Adding all sampling values between two zero crossings: i LSB [ i-10] | + | LSB [ i-9] | + | LSB [ i-8] | + | LSB [ i-7] | … … + | LSB [ i-1]
I.e. equivalent to the half-cycle average Uavg of the Ui signal. (AC 50Hz signal period 20ms, half cycle 10ms, corresponding to 10 sampling points)
And when the MCU detects that Uavg is lower than 70% of the normal input 220V, determining that power is down. The power down signal is delayed by a maximum of 10 ms.
If the zero crossing is not detected for more than 12ms (a certain margin is reserved to avoid the deviation caused by the frequency change), the power failure is directly judged.
It will be appreciated that the LSB represents the last bit in the digital stream and also represents the smallest unit that makes up the full scale input range. For a 12-bit converter, the value of the LSB corresponds to the quotient of the full-scale input range of the analog signal divided by 4096. If expressed in real numbers, a 12-bit converter would have a corresponding LSB size of 1mV for the full scale input range of 4.096V.
In the embodiment, the alternating-current operating voltage range of the electric energy meter is wide, for example, the electric energy meter can still operate under 50% Un (Un is a reference voltage, and is generally 220V). When the power failure detection point is set to be 70% Un, the AC/DC circuit of the electric energy meter can still normally output direct current in the interval of 50% -70% Un, the supporting time is increased, and the risk that a standby power supply is possibly not connected in time, or a standby battery is under-voltage, or data backup is not in time when the power failure occurs is avoided; meanwhile, the detection precision depends on the precision of the resistor and the ADC sampling precision, the sampling precision is high, and misjudgment conditions are few.
Furthermore, for convenience of understanding, in the present embodiment, specific parameters are added to the power down detection circuit of the electric energy meter, and VREF is 3.3V, R11 and R12 are 10K Ω, and R1, R2, R3, and R4 are 330K Ω:
Figure BDA0003016364810000141
is 0.0076, which can be ignored. The following table shows the output voltage of Ui at various voltages Uo.
Ui(V) R1+R2+R3+R4(kΩ) R11/R12(kΩ) VREF(V) Uo(V)
0 1320 10 3.3 1.65
311.08 1320 10 3.3 2.83
-311.08 1320 10 3.3 0.47
373.296 1320 10 3.3 3.064
-373.296 1320 10 3.3 0.236
311.08V is a positive peak voltage of 220V (220X 1.414)
-311.08V is the positive peak voltage (-220 x 1.414) of 220V voltage
373.296V is 1.2 times the positive peak voltage of 220V (220X 1.2X 1.414)
-373.296V is a positive peak voltage (-220X 1.2X 1.414) of 1.2 times 220V voltage
From the above table, VREF is still not exceeded 3.3V at 1.2 times the voltage.
The data in the embodiment can accurately determine the accuracy of the power failure detection of the electric energy meter.
As shown in fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a power failure detection apparatus for an electric energy meter.
In order to better implement the power-down detection method for the electric energy meter in the embodiment of the present application, on the basis of the power-down detection method for the electric energy meter, the embodiment of the present application further provides a power-down detection device for the electric energy meter, the power-down detection device for the electric energy meter is arranged in the processor, the processor is in communication connection with the power-down detection circuit for the electric energy meter, and the power-down detection device for the electric energy meter comprises:
the detection acquisition module 301 is configured to acquire a detection voltage acquired by the alternating current signal sampling module in the processor according to a preset acquisition frequency;
a processing and sorting module 302, configured to process the detection voltages to obtain minimum effective voltages, and arrange the minimum effective voltages according to an acquisition sequence of the respective detection voltages to form an effective voltage sequence;
a voltage counting module 303, configured to obtain a target effective voltage between adjacent zero-crossing points if there is a zero-crossing point in the effective voltage sequence, and count a voltage sum of each target effective voltage;
and the comparison output module 304 is configured to compare the voltage sum with a preset reference voltage to obtain a voltage comparison result, and output a power failure prompt according to the voltage comparison result.
In some embodiments of the present application, the power down detection apparatus for an electric energy meter includes:
the preset acquisition frequency is set according to the alternating current frequency, the preset acquisition frequency is greater than the alternating current frequency, and the preset acquisition frequency is in direct proportion to the alternating current frequency;
the preset reference voltage is determined according to the rated alternating current voltage of the electric energy meter and an allowable coefficient, and the preset reference voltage is the product of the rated alternating current voltage of the electric energy meter and the allowable coefficient.
In some embodiments of the present application, the processing and sorting module 302 in the power-down detection apparatus for an electric energy meter executes the processing of the detection voltage to obtain a lowest effective voltage, and arranges the lowest effective voltage according to an acquisition sequence of the respective detection voltages to form an effective voltage sequence, including:
acquiring a reference voltage output by a voltage output module in the processor;
subtracting half of the reference voltage from the detection voltage to obtain the lowest effective voltage, and arranging the lowest effective voltage according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence.
In some embodiments of the present application, the power down detection apparatus for an electric energy meter includes:
judging whether two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence;
if two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence, judging that a zero crossing point exists in the effective voltage sequence;
and if two adjacent minimum effective voltages with opposite directions do not exist in the effective voltage sequence, judging that zero crossing points do not exist in the effective voltage sequence.
In some embodiments of the present application, the comparing and outputting module 304 in the power failure detection apparatus of the electric energy meter performs the comparing of the voltage sum with a preset reference voltage, obtains a voltage comparison result, and outputs a power failure prompt according to the voltage comparison result, including:
acquiring the peak voltage or the effective voltage of the zero line or the live line, setting a preset reference voltage according to the peak voltage or the effective voltage, and comparing the voltage sum with the preset reference voltage;
if the voltage sum is larger than the preset reference voltage, continuously monitoring;
and if the sum of the voltages is less than or equal to the preset reference voltage, outputting a power failure prompt.
In some embodiments of the present application, the power-down detection apparatus for an electric energy meter includes;
and if the zero crossing point does not exist in the effective voltage sequence at the preset time interval, outputting a power-down prompt.
In some embodiments of the present application, the detection acquiring module 301 includes;
acquiring a clock signal sent by a timer in the processor;
and taking the frequency of the clock signal as a preset acquisition frequency, and acquiring the detection voltage according to the preset acquisition frequency.
The power failure detection device for the electric energy meter acquires detection voltages according to preset acquisition frequency through an alternating current signal sampling module in a processor, wherein the preset acquisition frequency is multiple times of the alternating current frequency, so that a plurality of detection voltages are acquired in an alternating current period, zero crossing points in a detection voltage sequence are determined by processing the detection voltages, and the voltage between two adjacent zero crossing points is analyzed, so that whether the electric energy meter has power failure in a half waveform period of alternating current is determined, specifically, the detection voltages are converted into minimum effective voltages, and the minimum effective voltages are arranged according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence; if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage; the voltage sum is compared with the preset reference voltage to obtain a voltage comparison result, and whether the power failure of the electric energy meter is determined according to the comparison result.
An embodiment of the present invention further provides an apparatus for detecting a power failure of an electric energy meter, as shown in fig. 5, fig. 5 is a schematic structural diagram of an embodiment of the apparatus for detecting a power failure of an electric energy meter provided in an embodiment of the present application.
The electric energy meter power failure detection device integrates any electric energy meter power failure detection device provided by the embodiment of the invention, and comprises:
a power failure detection circuit of the electric energy meter;
one or more processors;
a memory; and
the structure of the power failure detection circuit of the electric energy meter is as above;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor for performing the steps of the power meter power down detection method in any of the above power meter power down detection method embodiments.
Specifically, the method comprises the following steps: the power meter power down detection apparatus may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the power meter brown-out detection apparatus configuration shown in fig. 5 does not constitute a limitation of the power meter brown-out detection apparatus, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 401 is a control center of the power-down detection device of the electric energy meter, connects each part of the power-down detection device of the whole electric energy meter by using various interfaces and lines, and executes various functions and processing data of the power-down detection device of the electric energy meter by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the power-down detection device of the electric energy meter. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created from use of the power meter power down detection apparatus, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory processor to provide the processor 401 access to the memory 402.
The power-down detection device of the electric energy meter further comprises a power supply 403 for supplying power to each component, and preferably, the power supply 403 can be logically connected with the processor 401 through a power management system, so that functions of managing charging, discharging, power consumption management and the like can be realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The power meter power down detection apparatus may further include an input unit 404, and the input unit 404 may be configured to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the power down detection device of the power meter may further include a display unit and the like, which are not described herein again. Specifically, in this embodiment, the processor 401 in the power-down detection device for the electric energy meter loads an executable file corresponding to a process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions as follows:
acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency;
processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage;
and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. The power failure detection method comprises a step of detecting the power failure of the electric energy meter, and a step of detecting the power failure of the electric energy meter. For example, the computer program may be loaded by a processor to perform the steps of:
acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency;
processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage;
and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, and are not described herein again.
In a specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above detailed description is given to the method for detecting power failure of an electric energy meter provided in the embodiment of the present application, and specific examples are applied herein to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. The power-down detection method for the electric energy meter is characterized in that the power-down detection method for the electric energy meter is applied to a power-down detection circuit of the electric energy meter, and the power-down detection circuit of the electric energy meter is in communication connection with a processor;
the power failure detection method for the electric energy meter comprises the following steps:
acquiring detection voltage acquired by an alternating current signal sampling module in the processor according to a preset acquisition frequency;
processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
if the effective voltage sequence has zero crossing points, acquiring target effective voltages between adjacent zero crossing points, and counting the voltage sum of each target effective voltage;
and comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result, and outputting a power failure prompt according to the voltage comparison result.
2. The power-down detection method for an electric energy meter according to claim 1,
the preset acquisition frequency is set according to the alternating current frequency;
the preset reference voltage is determined according to the rated alternating current voltage of the electric energy meter and an allowable coefficient, and the preset reference voltage is the product of the rated alternating current voltage of the electric energy meter and the allowable coefficient.
3. The method for detecting power failure of an electric energy meter according to claim 1, wherein the step of processing the detection voltages to obtain the lowest effective voltages, and arranging the lowest effective voltages according to the collection sequence of the respective detection voltages to form an effective voltage sequence comprises the steps of:
acquiring a reference voltage output by a voltage output module in the processor;
subtracting half of the reference voltage from the detection voltage to obtain the lowest effective voltage, and arranging the lowest effective voltage according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence.
4. The method for detecting power failure of the electric energy meter according to claim 1, wherein the step of processing the detection voltage to obtain the lowest effective voltage, arranging the lowest effective voltage according to the collection sequence of the respective detection voltages to form an effective voltage sequence, comprises the steps of:
judging whether two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence;
if two adjacent minimum effective voltages with opposite directions exist in the effective voltage sequence, judging that a zero crossing point exists in the effective voltage sequence;
and if two adjacent minimum effective voltages with opposite directions do not exist in the effective voltage sequence, judging that zero-crossing points do not exist in the effective voltage sequence.
5. The method for detecting power failure of an electric energy meter according to claim 1, wherein the step of comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result and outputting a power failure prompt according to the voltage comparison result comprises the steps of:
acquiring the peak voltage or the effective voltage of the zero line or the live line, setting a preset reference voltage according to the peak voltage or the effective voltage, and comparing the voltage sum with the preset reference voltage;
if the voltage sum is larger than the preset reference voltage, continuously monitoring;
and if the voltage sum is less than or equal to the preset reference voltage, outputting a power-down prompt.
6. The method for detecting power failure of the electric energy meter according to claim 1, wherein the step of processing the detection voltage to obtain the lowest effective voltage, arranging the lowest effective voltage according to the collection sequence of the respective detection voltages to form an effective voltage sequence, comprises the steps of:
and if the zero crossing point does not exist in the effective voltage sequence at the preset time interval, outputting a power-down prompt.
7. The method for detecting power failure of the electric energy meter according to any one of claims 1 to 6, wherein the step of obtaining the detection voltage collected by an alternating current signal sampling module in the processor according to a preset collection frequency comprises the following steps:
acquiring a clock signal sent by a timer in the processor;
and taking the frequency of the clock signal as a preset acquisition frequency, and acquiring the detection voltage according to the preset acquisition frequency.
8. The utility model provides an electric energy meter power failure detection device, its characterized in that, electric energy meter power failure detection device sets up in the treater, treater and electric energy meter power failure detection circuit communication connection, electric energy meter power failure detection device includes:
the detection acquisition module is used for acquiring detection voltage acquired by the alternating current signal sampling module in the processor according to a preset acquisition frequency;
the processing and sorting module is used for processing the detection voltages to obtain the lowest effective voltages and arranging the lowest effective voltages according to the acquisition sequence of the respective detection voltages to form an effective voltage sequence;
the voltage counting module is used for acquiring target effective voltages between adjacent zero-crossing points if the zero-crossing points exist in the effective voltage sequence, and counting the voltage sum of each target effective voltage;
and the comparison output module is used for comparing the voltage sum with a preset reference voltage to obtain a voltage comparison result and outputting a power failure prompt according to the voltage comparison result.
9. The utility model provides an electric energy meter power failure detection equipment which characterized in that, electric energy meter power failure detection equipment includes:
a power failure detection circuit of the electric energy meter;
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the power meter power down detection method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon a computer program which is loaded by a processor to perform the steps of the power meter power down detection method of any one of claims 1 to 7.
CN202110390167.3A 2021-04-12 2021-04-12 Method, device, equipment and computer readable storage medium for detecting power failure of electric energy meter Active CN114563753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110390167.3A CN114563753B (en) 2021-04-12 2021-04-12 Method, device, equipment and computer readable storage medium for detecting power failure of electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110390167.3A CN114563753B (en) 2021-04-12 2021-04-12 Method, device, equipment and computer readable storage medium for detecting power failure of electric energy meter

Publications (2)

Publication Number Publication Date
CN114563753A true CN114563753A (en) 2022-05-31
CN114563753B CN114563753B (en) 2023-09-22

Family

ID=81712775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110390167.3A Active CN114563753B (en) 2021-04-12 2021-04-12 Method, device, equipment and computer readable storage medium for detecting power failure of electric energy meter

Country Status (1)

Country Link
CN (1) CN114563753B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116243234A (en) * 2023-05-11 2023-06-09 石家庄科林电气股份有限公司 Power failure detection method and system of multimode assembled electric energy meter and electric energy meter
CN116773894A (en) * 2023-06-15 2023-09-19 浙江恒业电子股份有限公司 Collector power failure detection system and method thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270372A (en) * 2004-03-31 2006-10-05 Victor Co Of Japan Ltd Locked-state determination circuit for digital pll
CN101465560A (en) * 2008-12-29 2009-06-24 南京南瑞继保电气有限公司 Method for rapidly switching power supply
CN101881793A (en) * 2009-05-08 2010-11-10 深圳市金威源科技有限公司 Alternating current power failure detection method and warning circuit
CN102005812A (en) * 2009-09-01 2011-04-06 北京动力源科技股份有限公司 Method and device for judging alternating current power failure
CN103353558A (en) * 2013-05-31 2013-10-16 深圳市康必达控制技术有限公司 Power quality monitoring method
CN108020809A (en) * 2017-12-04 2018-05-11 珠海中慧微电子有限公司 Communication module and the detection alarm method that has a power failure with have a power failure detection and alarm function
DE102017208312A1 (en) * 2017-05-17 2018-11-22 BSH Hausgeräte GmbH Determining zero crossings and voltage values of a mains voltage
CN109444643A (en) * 2018-12-20 2019-03-08 武汉海王科技有限公司 A kind of single-phase sinusoidal signal power down rapid detection method and system
CN110554231A (en) * 2019-07-24 2019-12-10 深圳供电局有限公司 Voltage monitoring method, voltage monitoring device, computer equipment and storage medium
CN112180284A (en) * 2020-09-23 2021-01-05 歌尔科技有限公司 Power failure detection method and device for alternating current power supply of electric equipment and related equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270372A (en) * 2004-03-31 2006-10-05 Victor Co Of Japan Ltd Locked-state determination circuit for digital pll
CN101465560A (en) * 2008-12-29 2009-06-24 南京南瑞继保电气有限公司 Method for rapidly switching power supply
CN101881793A (en) * 2009-05-08 2010-11-10 深圳市金威源科技有限公司 Alternating current power failure detection method and warning circuit
CN102005812A (en) * 2009-09-01 2011-04-06 北京动力源科技股份有限公司 Method and device for judging alternating current power failure
CN103353558A (en) * 2013-05-31 2013-10-16 深圳市康必达控制技术有限公司 Power quality monitoring method
DE102017208312A1 (en) * 2017-05-17 2018-11-22 BSH Hausgeräte GmbH Determining zero crossings and voltage values of a mains voltage
CN108020809A (en) * 2017-12-04 2018-05-11 珠海中慧微电子有限公司 Communication module and the detection alarm method that has a power failure with have a power failure detection and alarm function
CN109444643A (en) * 2018-12-20 2019-03-08 武汉海王科技有限公司 A kind of single-phase sinusoidal signal power down rapid detection method and system
CN110554231A (en) * 2019-07-24 2019-12-10 深圳供电局有限公司 Voltage monitoring method, voltage monitoring device, computer equipment and storage medium
CN112180284A (en) * 2020-09-23 2021-01-05 歌尔科技有限公司 Power failure detection method and device for alternating current power supply of electric equipment and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗小莉 等: "动态电压质量问题检测方法", 电力自动化设备, vol. 27, no. 1, pages 115 - 118 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116243234A (en) * 2023-05-11 2023-06-09 石家庄科林电气股份有限公司 Power failure detection method and system of multimode assembled electric energy meter and electric energy meter
CN116243234B (en) * 2023-05-11 2023-08-11 石家庄科林电气股份有限公司 Power failure detection method and system of multimode assembled electric energy meter and electric energy meter
CN116773894A (en) * 2023-06-15 2023-09-19 浙江恒业电子股份有限公司 Collector power failure detection system and method thereof
CN116773894B (en) * 2023-06-15 2023-12-15 浙江恒业电子股份有限公司 Collector power failure detection system and method thereof

Also Published As

Publication number Publication date
CN114563753B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN114563753A (en) Power failure detection method, device and equipment for electric energy meter and computer readable storage medium
CN112180284A (en) Power failure detection method and device for alternating current power supply of electric equipment and related equipment
CN215180829U (en) Power failure detection circuit and equipment for electric energy meter
CN203811727U (en) Device for detecting commercial power
CN111142032B (en) Method, device and equipment for determining battery electric quantity and storage medium
CN111007313A (en) Electricity stealing identification circuit and method and electricity meter
CN112986708A (en) Method and device for judging whether bus capacitor needs to be overhauled or replaced
CN205506928U (en) Electronic load ripple detection device
CN109633357B (en) Method and device for monitoring grounding insulation of multiple buses in three buses
CN208588813U (en) A kind of battery group real-time monitoring device
CN109596947B (en) Electrical insulation aging monitoring and early warning method and device based on insulation conductance
CN208255327U (en) Multichannel power quality analysis device based on 3G network
CN116430141A (en) Online evaluation method, terminal and storage medium for capacitor health status
CN206725726U (en) A kind of voltage check device of large-size machine
CN210534231U (en) A collection system for dynamic power consumption detects
CN113422432B (en) Electrical fire prevention and control system based on non-invasive load monitoring
CN115015748A (en) Loop relay state detection system based on alternating current-direct current power supply
CN109116117A (en) A kind of resistance measurement device and measurement method
CN108572275A (en) One kind is shoved detecting system and detection method
CN112240992B (en) Protection polarity verification method, device and equipment based on line empty charge transient current
CN213149201U (en) Double-circuit power supply real-time monitoring device
CN204330989U (en) A kind of accumulator overload performance pick-up unit
CN208314066U (en) One kind is shoved detection system
CN113391234A (en) Electric leakage detection method, control device and electric leakage detection equipment
CN206114827U (en) Power cable insulating properties on -line monitoring device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant