CN111965412B - Surge detection method, device, equipment and storage medium - Google Patents

Surge detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN111965412B
CN111965412B CN201910419873.9A CN201910419873A CN111965412B CN 111965412 B CN111965412 B CN 111965412B CN 201910419873 A CN201910419873 A CN 201910419873A CN 111965412 B CN111965412 B CN 111965412B
Authority
CN
China
Prior art keywords
surge
value
detected
voltage
equipment
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.)
Active
Application number
CN201910419873.9A
Other languages
Chinese (zh)
Other versions
CN111965412A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201910419873.9A priority Critical patent/CN111965412B/en
Publication of CN111965412A publication Critical patent/CN111965412A/en
Application granted granted Critical
Publication of CN111965412B publication Critical patent/CN111965412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2516Modular arrangements for computer based systems; using personal computers (PC's), e.g. "virtual instruments"
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing Relating To Insulation (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The embodiment of the invention discloses a surge detection method, a device, equipment and a storage medium. The method comprises the following steps: determining a voltage detection value at the current moment according to a historical voltage acquisition value acquired at the historical moment and a voltage acquisition value at the current moment; and if the device to be detected is detected to be continuously in a surge initial state, a surge descending state and a surge ending state according to the voltage detection value of the device to be detected, determining that the surge phenomenon is generated in the device to be detected. The embodiment of the invention determines the generation of the surge phenomenon by detecting the complete surge state, improves the detection accuracy of the surge phenomenon, avoids misjudgment caused by voltage surge, provides a basis for the failure or damage of equipment, and improves the efficiency and the accuracy of maintenance, repair and responsibility identification of the equipment.

Description

Surge detection method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of detection, in particular to a surge detection method, a device, equipment and a storage medium.
Background
When a lightning strike is encountered in a power supply circuit or a large load is switched on or off, a high voltage is generally generated in equipment, and the transient overvoltage is a surge voltage. The surge voltage has great damage to the equipment, so that the normal work of the equipment is influenced, and even the equipment is damaged, and therefore, the surge phenomenon is particularly important to prevent or detect.
Currently, surge detection is usually based on the change of instantaneous voltage or instantaneous current, that is, when the instantaneous voltage or instantaneous current is detected to be much larger than the peak value of current/voltage or overload current/voltage (e.g., the current/voltage is suddenly increased) in a steady state, it is determined that a surge phenomenon is generated. When the surge phenomenon is detected to be generated, a protective device can be designed on the periphery of the equipment, so that the damage of surge voltage or current to the equipment is avoided as much as possible.
However, the prior art has low detection accuracy for the surge phenomenon, is easy to cause misjudgment, is easy to influence the normal use of equipment, and brings difficulties to the maintenance, the repair and the responsibility confirmation of the equipment.
Disclosure of Invention
The embodiment of the invention provides a surge detection method, a device, equipment and a storage medium, which can improve the accuracy of surge voltage detection.
In a first aspect, an embodiment of the present invention provides a surge detection method, including:
determining a voltage detection value at the current moment according to a historical voltage acquisition value acquired at the historical moment and a voltage acquisition value at the current moment;
and if the equipment to be detected is detected to be continuously in a surge initial state, a surge descending state and a surge ending state according to the voltage detection value of the equipment to be detected, determining that a surge phenomenon is generated in the equipment to be detected.
In a second aspect, an embodiment of the present invention provides a surge detection device, including:
the voltage acquisition module is used for determining a voltage detection value at the current moment according to a historical voltage acquisition value acquired at a historical moment and a voltage acquisition value at the current moment;
the surge detection module is used for determining that a surge phenomenon is generated in the equipment to be detected if the equipment to be detected is continuously in a surge starting state, a surge descending state and a surge ending state according to the voltage detection value of the equipment to be detected.
In a third aspect, an embodiment of the present invention provides an apparatus, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the surge detection method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a surge detection method according to any embodiment of the present invention.
The embodiment of the invention collects the voltage collection value at each moment along with the time progress, determines the voltage detection value at each moment, identifies the surge state appearing in the equipment to be detected based on the voltage detection value at each moment, and determines the surge phenomenon generated in the equipment to be detected according to the detected surge starting state, the surge descending state and the surge ending state of the equipment to be detected which are continuously positioned in the equipment to be detected. The embodiment of the invention determines the generation of the surge phenomenon by detecting the complete surge state, improves the detection accuracy of the surge phenomenon, avoids misjudgment caused by voltage surge, provides a basis for the failure or damage of equipment, and improves the efficiency and the accuracy of maintenance, repair and responsibility identification of the equipment.
Drawings
Fig. 1 is a flowchart of a surge detection method according to an embodiment of the present invention;
fig. 2 is an exemplary diagram of a surge voltage detection circuit according to a first embodiment of the present invention;
fig. 3 is a flowchart of a surge detection method according to a second embodiment of the present invention;
fig. 4 is a diagram illustrating a structure of a surge warning networking according to a second embodiment of the present invention;
fig. 5 is a flowchart of a surge detection process according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a surge detection device according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Example one
Fig. 1 is a flowchart of a surge detection method according to an embodiment of the present invention, where the embodiment is applicable to a situation where surge detection is performed on a device to be detected, and the method may be implemented by a surge detection device, which may be implemented in software and/or hardware, and is preferably configured in the device to be detected, such as an outdoor camera. The method specifically comprises the following steps:
and step 110, determining the voltage detection value at the current moment according to the historical voltage acquisition value acquired at the historical moment and the voltage acquisition value at the current moment.
In the specific embodiment of the present invention, the object to be detected of the surge phenomenon is the device to be detected, and the device to be detected is generally a device which is easy to generate the surge phenomenon, such as outdoor equipment or large-scale load equipment. Wherein, outdoor equipment can include outdoor camera etc. for example cloud platform camera and ball machine camera etc. and it receives the thunderbolt easily in natural environment, and then leads to examining to produce surge phenomenon on the equipment of examining power supply circuit, influences equipment normal operating, damages equipment even. For equipment configured with a large load, when the large load is switched on or switched off, a surge phenomenon is easily generated in a power supply circuit, so that the normal operation of the equipment is influenced, and even the equipment is damaged. Therefore, accurate detection of surges is critical to maintenance, repair, and even acceptance of equipment damage liability.
In this embodiment, for the detection of the surge of the device to be detected, the surge detection circuit can be configured and installed in the device to be detected in advance, and the voltage on the power supply circuit in the device to be detected can be detected in real time through the surge detection circuit. Illustratively, fig. 2 is an exemplary diagram of a surge voltage detection circuit. As shown in fig. 2, the power supply voltage of the device to be detected is detected by using the single chip, wherein the voltage divider circuit in fig. 2 may be used to convert the power supply voltage of the device to be detected, so that the voltage input to the single chip is within the input requirement range of the single chip.
Specifically, the Voltage _ IN represents a Voltage obtained by rectifying and filtering an input Voltage of a system of the device to be detected, and the Voltage is input to an ADC input pin of a single chip Microcomputer (MCU) after passing through a Voltage division circuit. The capacitor C1 IN the Voltage division circuit is used for filtering, the resistance values of the resistor R1 and the resistor R2 are related to a Voltage value of Voltage _ IN, and the requirement is that the Voltage value Pin _ ADC _ IN after Voltage division conforms to the input Voltage of the single chip microcomputer, for example, for a certain type of single chip microcomputer, the input Voltage Pin _ ADC _ IN is required to be less than 3.3V. The single chip microcomputer is used for detecting the voltage value of the Pin _ ADC _ IN IN real time, judging whether surge voltage is generated or not according to the change of the voltage value of the Pin _ ADC _ IN IN a certain period, and recording the surge voltage at each moment IN the single chip microcomputer or a storage chip of the equipment to be detected. When the surge voltage is detected, the single chip microcomputer can inform a main control chip of the device to be detected through a communication interface, such as I2C or Uart, and the main control chip is linked with corresponding alarm and the like for processing.
In this embodiment, can carry out real-time or regularly gather the input voltage of singlechip through surge detection circuit, as the surge detects the basis. Correspondingly, the voltage acquisition value refers to an actual voltage value acquired in real time or at regular time, and the voltage detection value refers to a voltage value subjected to filtering processing, so that misjudgment of surge detection caused by voltage fluctuation is avoided. The current time refers to the current time for voltage acquisition in real time, and the historical time refers to each voltage acquisition time which is pushed forward by the current time for a period of time. Correspondingly, the historical voltage acquisition value refers to an actual acquisition voltage value corresponding to each historical time. When the voltage acquisition value at the current moment is acquired, at least one of the maximum value removal, the minimum value removal and the average value taking can be carried out according to the voltage acquisition value at the current moment and the historical voltage acquisition value, so that the voltage detection value at the current moment is obtained. And performing subsequent surge detection based on the voltage detection value at each moment.
In this embodiment, through handling the voltage acquisition value of actual collection to the voltage detection value after handling is the surge detection foundation, has avoided the voltage fluctuation to the erroneous judgement of detection, has improved the degree of accuracy that the surge detected.
And 120, if the device to be detected is continuously in a surge initial state, a surge descending state and a surge ending state according to the voltage detection value of the device to be detected, determining that a surge phenomenon is generated in the device to be detected.
In the embodiment of the invention, the voltage detection value according to the surge detection is based on the voltage detection value at the current moment, and can be combined with the voltage detection value at the previous moment, the voltage detection values at all moments in the previous period, or the voltage detection value at the corresponding moment before a certain period, so that the accuracy of the surge detection is improved based on the voltage detection value in the duration rather than simply based on the voltage value at one moment.
In the present embodiment, considering that the surge voltage is instantaneous, it usually takes 200ms to 300ms for one surge to be generated, raised, and lowered until recovered. Therefore, the surge phenomenon that is complete once can be divided into a surge starting state, a surge descending state and a surge ending state. The surge starting state is that voltage surge is judged according to a voltage detection value at the current moment, and a relatively high voltage value is kept in a certain time; the surge descending state refers to a state that the voltage value continuously descends within a certain time length; the surge end state is a state in which the voltage value is restored to the vicinity of the voltage detection value before the surge is generated. It should be noted that the change characteristics of the voltage value in the surge phenomenon are substantially the same, and the division of the surge state according to the change characteristics of the voltage value in the surge phenomenon is not limited to the above-mentioned surge state, and the surge state may be divided into more detailed voltage states, or the division node of the surge state may be changed.
Specifically, when a surge initial state is detected, a surge descending state can be detected, otherwise, the surge initial state is detected again; when the surge descending state is detected, the surge ending state can be detected, otherwise, the surge starting state is detected again. Besides the initial surge state, any surge state is not separately detected, and only when the previous surge state is detected, the next adjacent surge state is detected, so that the time continuity and effectiveness of the surge state detection are guaranteed. And when the surge ending state is detected, the equipment to be detected is considered to be continuously in the surge starting state, the surge descending state and the surge ending state, the detected surge phenomenon is determined, and the voltage detection values at all the moments in the detection period are stored. Therefore, the whole process of the surge is used as a detection basis, the accuracy of the surge detection is guaranteed, the voltage detection values at all times in the surge phenomenon are stored, the voltage detection values before and after the surge phenomenon can be stored, and a sufficient basis is provided for maintenance and repair of equipment and identification of equipment damage responsibility.
According to the technical scheme, the voltage acquisition value at each moment is acquired along with the time progress, the voltage detection value at each moment is determined, the surge state occurring in the equipment to be detected is identified based on the voltage detection value at each moment, and the surge phenomenon generated in the equipment to be detected is determined according to the detected surge starting state, the surge descending state and the surge ending state of the equipment to be detected which are continuously located in the equipment to be detected. The embodiment of the invention determines the generation of the surge phenomenon by detecting the complete surge state, improves the detection accuracy of the surge phenomenon, avoids misjudgment caused by voltage surge, provides a basis for the reason of equipment failure or damage, and improves the efficiency and the accuracy of maintenance, repair and responsibility confirmation of the equipment.
Example two
This embodiment provides a preferred implementation of the surge detection method based on the first embodiment, and can detect various states of the whole course of the surge. Fig. 3 is a flowchart of a surge detection method according to a second embodiment of the present invention, where step 110 may specifically include the following steps 310 to 320, and step 120 may specifically include the following steps 330 to 360, as shown in fig. 3, where the method includes the following steps:
and 310, acquiring a voltage acquisition value at the current moment according to a preset acquisition interval in a detection period.
In the embodiment of the invention, the duration of the one-time surge phenomenon is 200ms to 300ms, so that a certain duration slightly longer than the duration of the one-time surge phenomenon can be used as a detection period, and the equipment to be detected can be repeatedly detected according to the detection period. Because the generation of the surge voltage is instantaneous and the generation time is extremely short, a shorter acquisition interval can be set, and the voltage acquisition is carried out on the equipment to be detected regularly in the detection period. Accordingly, knowing the detection period and the preset acquisition interval, the acquisition times in one detection period can be obtained. The detection period may be a fixed value, preferably not exceeding 500ms, for example, any value between [300ms,500 ]. The preset acquisition interval is preferably no more than 0.5ms and can be adjusted accordingly. And then in the detection period, according to a preset acquisition interval, when each interval arrives, acquiring the voltage acquisition value at the current moment.
Illustratively, when surge detection is performed on equipment to be detected, a timer in the single chip microcomputer is started, 500ms is used as a detection period, 0.5ms is used as an acquisition interval, a voltage acquisition value at the current moment is acquired and temporarily recorded every 0.5ms, and 1000 times of continuous acquisition can be performed in the current detection period. For another example, the voltage acquisition value at the current time may be acquired and temporarily recorded every 0.2ms with an acquisition interval of 0.2ms, and 2500 times of continuous acquisition may be performed in the current detection period.
And 320, filtering the historical voltage acquisition value in the first time length and the voltage acquisition value at the current moment to generate a voltage detection value at the current moment.
In the specific embodiment of the present invention, in order to prevent the voltage acquisition value from being unstable and causing erroneous determination, the embodiment may perform filtering processing on the voltage acquisition value to obtain a voltage value that is relatively stable at each time as a voltage detection value, and perform subsequent surge detection on the voltage detection value.
Specifically, since the generation of the surge voltage is instantaneous, the filtering processing may be performed in a short first time period by performing a processing manner including at least one of removing a maximum value, removing a minimum value, and taking an average value on the voltage acquisition value at the current time and the historical voltage acquisition value at each acquisition time in the first time period before the current time, so as to obtain the voltage detection value at the current time. The first duration is a fixed time length, and specifically, when the voltage detection value at the current time is obtained through filtering calculation each time, the first duration is limited to be the first duration which is connected to and before the current time with the current time as a reference. The first time period is preferably not more than 5ms, and accordingly, the number of voltage acquisition values subjected to filtering processing can be obtained according to the acquisition interval.
For example, assuming that the acquisition interval is 0.5ms, the first duration is 5ms, and the corresponding first duration includes 10 voltage acquisition values at the current time. When the voltage acquisition value at the current moment is acquired, the latest 9 historical voltage acquisition values before the current moment can be extracted, and 10 voltage acquisition values of the voltage acquisition value at the current moment are added. And then removing the maximum value and the minimum value in the 10 voltage acquisition values, and carrying out average value calculation on the rest voltage acquisition values to obtain the voltage detection value at the current moment.
In the initial detection stage, if the voltage acquisition duration does not meet the first duration, filtering may be performed based on the acquired voltage acquisition value to obtain the voltage detection value at the current time. And when the voltage acquisition duration reaches the first duration, performing unified processing according to the filtering mode. For example, when a first voltage acquisition value is acquired, the voltage acquisition value is a voltage detection value; when the second voltage acquisition value is acquired, the average value of the two voltage acquisition values can be used as the voltage detection value at the second moment; when the third voltage acquisition value is acquired, the average value of the three voltage acquisition values can be calculated, or the voltage detection value at the third moment can be obtained according to the uniform filtering mode, and so on.
It is worth noting that the key of the filtering of the voltage acquisition value lies in denoising the voltage acquisition value so as to prevent factors such as fluctuation, jitter or instability of the voltage from influencing the accuracy of the voltage acquisition and avoid misjudgment of surge detection. Therefore, the filtering method in the present embodiment is not limited to this, and any data filtering method may be applied to the present embodiment.
Step 330, according to a preset acquisition interval, if a ratio value between the detected voltage value at the current moment and the detected voltage value at the previous moment is detected to be greater than a preset ratio threshold, determining that the detected voltage value at the previous moment is a surge starting value, and if the detected voltage value in the second time period is continuously greater than the detected voltage value at the previous moment, determining that the equipment to be detected is in a surge starting state.
In an embodiment of the present invention, the surge initiation state describes a process in which the voltage detection value suddenly increases at the present time and is maintained at a relatively high level for a certain period of time. In this embodiment, the voltage sampling value at the current time within a certain range of the voltage detection value at the previous collection time may be regarded as a voltage detection value within a normal range, or a voltage detection value that does not involve a surge phenomenon. For example, if the voltage sampling value at the present time is within a floating range of 5% of the voltage detection value at the previous acquisition time, it is considered as a non-surge state, i.e., the ratio of the voltage detection value at the present time to the voltage detection value at the previous time is within a range of [0.95,1.05 ]. Therefore, in this embodiment, a proportional threshold value, preferably 1.05, is preset for the surge state, and if the proportional value between the voltage detection value at the current time and the voltage detection value at the previous time is greater than the preset proportional threshold value, it is determined that the voltage of the device to be detected suddenly increases, and a surge state is suspected to occur, and it is determined that the voltage detection value at the previous time is the surge starting value. Meanwhile, in a second time period after the voltage sudden increase is judged, if the voltage detection value at each current moment is continuously larger than the surge initial value, the equipment to be detected is determined to be in the surge initial state. Among them, the second period of time is preferably [15ms,40ms ].
For example, assuming that the acquisition interval is 0.5ms and the voltage floating range in the non-surge state is 5%, the proportional threshold value is 1.05, and assuming that the second time period is 20ms, if it is detected that the proportional value between the voltage detection value at the current time and the voltage detection value at the previous time is greater than 1.05, the voltage detection value at the previous time is determined as the initial surge value. And meanwhile, if the 40 voltage detection values within 20ms of the current moment are all larger than the initial surge value, determining that the equipment to be detected is in the initial surge state.
If the ratio between the voltage detection value at the current moment and the voltage detection value at the previous moment is not greater than the preset ratio threshold, or the voltage detection value in the second time length is not continuously greater than the voltage detection value at the previous moment, the current detection state is cleared, the next detection period is entered again, and the next surge detection process is started.
And 340, taking the third duration as a step length, and if the voltage detection value at the current moment is detected to be smaller than the voltage detection value at the moment corresponding to the previous step length and the continuous smaller times meet a preset times threshold, determining that the equipment to be detected is in a surge descending state.
In an embodiment of the present invention, the detection of the surge-down state is performed according to a third time period and a preset time threshold, wherein the third time period is preferably [10ms,30ms ]. Based on the change characteristic of the surge voltage, the sum of the time length corresponding to the product of the third time length and the preset time threshold and the second time length generally meets about 100 ms. Therefore, according to the second time length and the third time length, the preset time threshold value can be determined. Specifically, after the device enters the surge initial state, the voltage detection values at the time corresponding to every third time are extracted by taking the third time as the step length, and if the voltage detection value at the current time is smaller than the voltage detection value at the time corresponding to the last step length and the number of times of continuous smaller times meets the preset number threshold, the device to be detected is determined to be in the surge descending state. In this embodiment, by continuously comparing the voltage detection values at certain time intervals, it is possible to prevent a situation in which the circuit voltage itself suddenly increases and is erroneously determined as a surge voltage.
For example, assuming that the second time duration is 20ms and the third time duration is 10ms, the preset number threshold may be determined to be 8 times. And after the surge starting state is entered, comparing the voltage detection value at the current moment with the voltage detection value at the corresponding moment before 10ms every 10 ms. And if the voltage detection value of each next interval moment is greater than that of the previous interval moment in the continuous 80ms, determining that the equipment to be detected is in a surge descending state. For another example, if it is assumed that the second time period is 20ms and the third time period is 20ms, the preset number threshold may be determined to be 4 times.
After the surge initial state is judged to enter, if the voltage detection value at the current moment is smaller than the voltage detection value at the moment corresponding to the previous step continuously for less times and does not meet the preset time threshold value, the surge initial state is regarded as a non-surge state, the current detection state is cleared, the next detection period is entered again, and the next surge detection process is started.
And step 350, after the fourth time of the surge initial state, if the ratio value between the voltage detection value at the current moment and the surge initial value is detected to be smaller than a preset ratio threshold value, determining that the equipment to be detected is in the surge ending state.
In an embodiment of the present invention, the surge end state is determined according to the voltage detection value after the fourth time period. The fourth duration is the duration of the full surge, preferably [200ms,300ms ], depending on the characteristics of the surge voltage variation. If the surge descending state is successfully detected, determining that the equipment to be detected is in the surge ending state from the surge starting state after the fourth time, according to the voltage detection value and the surge starting value at each acquisition moment, if the ratio value between the voltage detection value and the surge starting value at the current moment is detected to be smaller than a preset ratio threshold value, namely the ratio value falls into a normal voltage floating range.
For example, assuming that the fourth duration is 250ms and the preset proportion threshold is 1.05, when two conditions of detecting a surge descent state and being 250ms away from a surge starting state are simultaneously met, comparing the voltage detection value at the current moment with the surge starting value, and if the proportion value between the voltage detection value at the current moment and the surge starting value is less than 1.05, determining that the device to be detected is in a surge ending state.
After the surge descending state is judged to enter, if the ratio value between the voltage detection value at the current moment and the surge initial value is not smaller than a preset ratio threshold value and the whole detection duration exceeds the current detection period, the state is regarded as a non-surge state, the current detection state is cleared, the next detection period is entered again, and the next surge detection process is started.
And step 360, if the equipment to be detected is continuously in a surge initial state, a surge descending state and a surge ending state according to the voltage detection value of the equipment to be detected, determining that a surge phenomenon is generated in the equipment to be detected.
In a specific embodiment of the present invention, the second duration and a third duration of the threshold of consecutive preset times are consecutive in time progress, and the third duration of the threshold of consecutive preset times is within a range of a fourth duration. When the initial surge state is detected, the detection of the surge descending state can be carried out, otherwise, the detection of the initial surge state is carried out again; when the surge descending state is detected, the surge ending state can be detected, otherwise, the surge starting state is detected again. Besides the initial surge state, any surge state is not separately detected, and only when the previous surge state is detected, the next adjacent surge state is detected, so that the time continuity and effectiveness of the surge state detection are guaranteed. And when the surge ending state is detected, the equipment to be detected is considered to be continuously in the surge starting state, the surge descending state and the surge ending state, and the detected surge phenomenon is determined.
And 370, storing the voltage detection value in the detection period of the surge phenomenon in the equipment to be detected for equipment maintenance and reason analysis.
In a specific embodiment of the present invention, after it is determined that the surge phenomenon is detected, the temporarily recorded voltage detection value in the detection period in which the surge phenomenon is generated is saved. Wherein, can keep surge detected value in the singlechip, because the memory capacity of singlechip is limited, can also keep surge detected value in the memory chip of examining check out test set.
For example, about two bytes of storage space are required for storing one voltage detection value, about 300ms is required for detecting one surge process, about 600 voltage detection values exist in one surge process if the acquisition interval is 0.5ms, and about 1.2K bytes of storage space is required for the voltage detection value in the corresponding one surge process. The single chip microcomputer has limited storage space and cannot store multiple surge data, so that after a surge phenomenon is detected, the single chip microcomputer can transmit the surge data to a main control chip of the equipment to be detected, the main control chip writes the surge data and surge generation time information such as year, month, day, time, minute, second and the like into a storage chip of the equipment to be detected for storage, and the equipment cannot be cleared when the power is cut off. Since the surge has a large influence on the device, the device is usually maintained or repaired within a short time after the surge is detected, so that the surge data can be stored for a total of the most recent times, for example, 20 times, in view of the timeliness of the storage of the surge data and the prevention of the waste of the storage space in the device, and the oldest data is overwritten when the storage times are exceeded.
Further, the present embodiment can perform a surge warning in view of protection of the device after detecting the surge phenomenon. Fig. 4 is a diagram illustrating a structure of a surge warning networking. As shown in fig. 4, the device to be detected includes the surge detection circuit shown in fig. 2, the alarm output is one of the tail cables of the device to be detected, and the alarm device may be a flashing light, a buzzer, or the like. The equipment to be detected can be connected to the monitoring management platform through a network, and the monitoring management platform can be connected with a plurality of pieces of equipment to be detected and manages the equipment to be detected. When the equipment to be detected gives an alarm, the monitoring management platform is informed to give an early warning prompt, and the alarm display can be carried out in a WEB interface so as to give a prompt to a user.
Specifically, when the device to be detected detects a surge through the surge detection circuit, an alarm is generated once. The following three alarm modes can be used: the method I is characterized in that the tail line of the device to be detected is provided with alarm output which can be connected with a flash lamp and a buzzer, the flash lamp can be lightened or the buzzer can make a sound after surge alarm is generated, and the alarm duration time can be set by a user. And in the second mode, the equipment to be detected can be accessed by logging in a WEB interface through a browser, the live condition, the current state, the set parameters and the like of the equipment to be detected can be checked, when surge alarm occurs, prompt information can be superposed in the live condition, the surge alarm occurs, the alarm times are displayed, the current surge waveform is displayed, and a user can click the collected information to collect the surge alarm information for the most recent times for analysis. And in the third mode, the equipment to be detected can be accessed into the monitoring management platform through a network, the monitoring management platform can monitor thousands of equipment which can be accessed on the management platform, after the equipment to be detected generates a surge alarm, the information can be pushed onto the monitoring management platform, the monitoring management platform superposes the information in the second similar mode, and the data of the surge of nearly many times can also be collected.
Correspondingly, the staff can confirm the reason of equipment failure or damage based on surge warning and many times of surge data to take corresponding protective measures, for example, to outdoor equipment to be detected, can adjust the mounted position of outdoor equipment according to many times of surge data, with this probability that reduces equipment and meets with the thunderbolt and produce the surge phenomenon. For another example, when the equipment is maintained or repaired, the reason of the fault or damage of the equipment can be determined according to the surge data, so that the responsibility can be confirmed, and the problem that the maintenance cost of the mechanism to which the equipment belongs is increased due to the damage of the equipment caused by unknown reasons is avoided.
Illustratively, the flow of the surge detection process is shown in fig. 5 based on the flows of voltage collection, surge state identification, and surge alarm. And in the detection period, acquiring a voltage acquisition value at the current moment according to a preset acquisition interval, and filtering the historical voltage acquisition value in the first time period and the voltage acquisition value at the current moment to generate a voltage detection value at the current moment. According to a preset acquisition interval, if the ratio value between the voltage detection value at the current moment and the voltage detection value at the previous moment is detected to be larger than a preset ratio threshold value, determining that the voltage detection value at the previous moment is a surge initial value, and if the voltage detection value in the second time period is continuously larger than the voltage detection value at the previous moment, determining that the equipment to be detected is in a surge initial state. And taking the third duration as a step length, and if the voltage detection value at the current moment is detected to be smaller than the voltage detection value at the moment corresponding to the previous step length and the continuous smaller times meet a preset times threshold, determining that the equipment to be detected is in a surge descending state. After the fourth time of the surge initial state, if the ratio value between the detected voltage value and the surge initial value at the current moment is detected to be smaller than a preset ratio threshold value, determining that the equipment to be detected is in a surge ending state, and determining that a surge phenomenon is generated in the equipment to be detected. And storing the voltage detection value in the detection period in which the surge phenomenon is generated in the equipment to be detected for equipment maintenance and reason analysis. If any condition is not met, the current detection state is cleared, the next detection period is entered again, and the next surge detection process is started.
It should be noted that the characteristics of the voltage value change in the surge phenomenon are substantially the same, and further, the division of the surge state according to the characteristics of the voltage value change in the surge phenomenon is not limited to the above-described surge state, and the surge state may be divided into more and more detailed voltage states, or the division node of the surge state may be changed. In addition, the embodiment is not limited to the surge detection based on the voltage, and since the current variation characteristics are similar to the voltage, the embodiment can also perform the surge detection on the device to be detected by using the current according to the same principle.
According to the technical scheme of the embodiment, in the detection period, the voltage acquisition value is acquired once every preset acquisition interval along with the time schedule, and the voltage detection value at each moment is determined after the voltage acquisition value in the first time length is subjected to filtering processing. And detecting the initial surge state, the descending surge state and the ending surge state based on the voltage detection value at each moment, determining that the surge phenomenon is generated in the equipment to be detected when the ending surge state is detected, storing the voltage detection value of the surge phenomenon in the detection period, and giving an alarm for the surge phenomenon. The embodiment of the invention determines the generation of the surge phenomenon by detecting the complete surge state, improves the detection accuracy of the surge phenomenon, avoids misjudgment caused by voltage surge, provides a basis for the reason of equipment failure or damage, and improves the efficiency and the accuracy of maintenance, repair and responsibility confirmation of the equipment.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a surge detection device according to a third embodiment of the present invention, where this embodiment is applicable to a situation where surge detection is performed on a device to be detected, and the surge detection device can implement the surge detection method according to any embodiment of the present invention. The device specifically includes:
the voltage acquisition module 610 is configured to determine a voltage detection value at the current time according to a historical voltage acquisition value acquired at a historical time and a voltage acquisition value at the current time;
the surge detection module 620 is configured to determine that a surge phenomenon occurs in the device to be detected if the device to be detected is continuously in a surge starting state, a surge descending state and a surge ending state according to a voltage detection value of the device to be detected.
Optionally, the voltage collecting module 610 is specifically configured to:
collecting a voltage collection value at the current moment according to a preset collection interval in a detection period;
and filtering the historical voltage acquisition value within a first time length and the voltage acquisition value at the current moment to generate the voltage detection value at the current moment.
Optionally, the surge detecting module 620 is specifically configured to:
according to a preset acquisition interval, if a ratio value between a voltage detection value at the current moment and a voltage detection value at the previous moment is detected to be larger than a preset ratio threshold value, determining that the voltage detection value at the previous moment is a surge initial value, and if the voltage detection value in a second time period is continuously larger than the surge initial value, determining that the equipment to be detected is in a surge initial state;
taking the third duration as a step length, if the voltage detection value at the current moment is detected to be smaller than the voltage detection value at the moment corresponding to the previous step length, and the number of times of continuous smaller times meets a preset number threshold, determining that the equipment to be detected is in a surge descending state;
after the fourth time of the surge starting state, if the ratio value between the voltage detection value at the current moment and the surge starting value is detected to be smaller than a preset ratio threshold value, determining that the equipment to be detected is in a surge ending state.
Further, the device also comprises a surge recording module 630; the surge recording module 630 is specifically configured to:
and after the surge phenomenon is determined to be generated in the equipment to be detected, storing a voltage detection value in a detection period in which the surge phenomenon is generated in the equipment to be detected for equipment maintenance and reason analysis.
According to the technical scheme of the embodiment, the functions of real-time or timing acquisition of the voltage acquisition value, filtering of the voltage acquisition value, comparison of the voltage detection value, identification of the surge state, storage of surge data, warning of the surge phenomenon and the like are realized through mutual matching of all functional modules. The embodiment of the invention determines the generation of the surge phenomenon by detecting the complete surge state, improves the detection accuracy of the surge phenomenon, avoids misjudgment caused by voltage surge, provides a basis for the failure or damage of equipment, and improves the efficiency and the accuracy of maintenance, repair and responsibility identification of the equipment.
Example four
Fig. 7 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. As shown in fig. 7, the apparatus specifically includes: one or more processors 710, one processor 710 being illustrated in FIG. 7; a memory 720 for storing one or more programs that, when executed by the one or more processors 710, cause the one or more processors 710 to implement the surge detection method described in any embodiment of the present invention. The processor 710 and the memory 720 may be connected by a bus or other means, such as the bus connection shown in FIG. 7.
The memory 720, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, and modules, such as program instructions corresponding to the surge detection method in the embodiment of the present invention (e.g., collection and filtering of voltage and detection and alarm of surge state). The processor 710 executes software programs, instructions and modules stored in the memory 720 so as to execute various functional applications of the device and data processing, namely, implement the above-mentioned surge detection method.
The memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 720 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 non-volatile solid state storage device. In some examples, the memory 720 may further include memory located remotely from the processor 710, which may be connected to devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program is used to execute a surge detection method when executed by a processor, where the method includes:
determining a voltage detection value at the current moment according to a historical voltage acquisition value acquired at the historical moment and a voltage acquisition value at the current moment;
and if the equipment to be detected is detected to be continuously in a surge initial state, a surge descending state and a surge ending state according to the voltage detection value of the equipment to be detected, determining that a surge phenomenon is generated in the equipment to be detected.
Of course, the embodiments of the present invention provide a computer-readable storage medium, whose computer-executable instructions are not limited to the method operations described above, but may also perform related operations in the surge detection method provided in any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device) execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method of surge detection, comprising:
determining a voltage detection value at the current moment according to a historical voltage acquisition value acquired at the historical moment and a voltage acquisition value at the current moment;
if the equipment to be detected is detected to be continuously in a surge initial state, a surge descending state and a surge ending state according to the voltage detection value of the equipment to be detected, determining that a surge phenomenon is generated in the equipment to be detected;
according to the voltage detection value of the equipment to be detected, whether the equipment to be detected is continuously in a surge state is detected, and the method comprises the following steps:
according to a preset acquisition interval, if a ratio value between a voltage detection value at the current moment and a voltage detection value at the previous moment is detected to be larger than a preset ratio threshold value, determining that the voltage detection value at the previous moment is a surge initial value, and if the voltage detection value in a second time period is continuously larger than the surge initial value, determining that the equipment to be detected is in a surge initial state;
taking the third duration as a step length, if the voltage detection value at the current moment is detected to be smaller than the voltage detection value at the moment corresponding to the previous step length, and the number of times of continuous smaller times meets a preset number threshold, determining that the equipment to be detected is in a surge descending state;
after the fourth time of the surge starting state, if the ratio value between the voltage detection value at the current moment and the surge starting value is detected to be smaller than a preset ratio threshold value, determining that the equipment to be detected is in a surge ending state.
2. The method of claim 1, wherein determining the voltage detection value at the current time according to the historical voltage acquisition value acquired at the historical time and the voltage acquisition value at the current time comprises:
collecting a voltage collection value at the current moment according to a preset collection interval in a detection period;
and filtering the historical voltage acquisition value within a first time length and the voltage acquisition value at the current moment to generate the voltage detection value at the current moment.
3. The method according to claim 1, characterized in that after said determination of the occurrence of surge phenomena in said device under test, it further comprises:
and storing the voltage detection value in the detection period in which the surge phenomenon is generated in the equipment to be detected for equipment maintenance and reason analysis.
4. A surge detection device, comprising:
the voltage acquisition module is used for determining a voltage detection value at the current moment according to a historical voltage acquisition value acquired at a historical moment and a voltage acquisition value at the current moment;
the surge detection module is used for determining that a surge phenomenon is generated in the equipment to be detected if the equipment to be detected is detected to be continuously in a surge initial state, a surge descending state and a surge ending state according to a voltage detection value of the equipment to be detected;
the surge detection module is specifically configured to:
according to a preset acquisition interval, if a ratio value between a voltage detection value at the current moment and a voltage detection value at the previous moment is detected to be larger than a preset ratio threshold value, determining that the voltage detection value at the previous moment is a surge initial value, and if the voltage detection value in a second time period is continuously larger than the surge initial value, determining that the equipment to be detected is in a surge initial state;
taking the third duration as a step length, if the voltage detection value at the current moment is detected to be smaller than the voltage detection value at the moment corresponding to the previous step length, and the number of times of continuous smaller times meets a preset number threshold, determining that the equipment to be detected is in a surge descending state;
after the fourth time length of the surge initial state, if the proportion value between the voltage detection value at the current moment and the surge initial value is detected to be smaller than a preset proportion threshold value, determining that the equipment to be detected is in a surge ending state.
5. The device of claim 4, wherein the voltage acquisition module is specifically configured to:
collecting a voltage collection value at the current moment according to a preset collection interval in a detection period;
and filtering the historical voltage acquisition value within a first time length and the voltage acquisition value at the current moment to generate the voltage detection value at the current moment.
6. The apparatus of claim 4, further comprising:
and the surge recording module is used for storing a voltage detection value in a detection period in which the surge phenomenon is generated in the equipment to be detected after the surge phenomenon is determined to be generated in the equipment to be detected, so that the equipment can be maintained and analyzed for reasons.
7. An apparatus, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the surge detection method of any of claims 1-3.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the surge detection method according to any one of claims 1-3.
CN201910419873.9A 2019-05-20 2019-05-20 Surge detection method, device, equipment and storage medium Active CN111965412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910419873.9A CN111965412B (en) 2019-05-20 2019-05-20 Surge detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910419873.9A CN111965412B (en) 2019-05-20 2019-05-20 Surge detection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111965412A CN111965412A (en) 2020-11-20
CN111965412B true CN111965412B (en) 2023-04-07

Family

ID=73357997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910419873.9A Active CN111965412B (en) 2019-05-20 2019-05-20 Surge detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111965412B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646041A (en) * 2016-12-08 2017-05-10 中国北方发动机研究所(天津) Engine start initial engaging surge voltage simulation method
CN206595714U (en) * 2017-03-31 2017-10-27 佛山市顺德区美的电热电器制造有限公司 Home appliance and the surge protection circuit for home appliance
CN107860998A (en) * 2017-10-31 2018-03-30 华勤通讯技术有限公司 A kind of method and terminal for monitoring electric surge
CN108387799A (en) * 2018-03-06 2018-08-10 浙江宇视科技有限公司 Over-pressed analysis system and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000156930A (en) * 1998-11-17 2000-06-06 Toshiba Corp Surge-detecting method and apparatus
US8520349B2 (en) * 2011-01-31 2013-08-27 Electronic Systems Protection, Inc. Supply voltage monitor
JP5778541B2 (en) * 2011-09-30 2015-09-16 株式会社サンコーシヤ Surge protection device and management system for surge protection device
CN106451399A (en) * 2016-12-07 2017-02-22 四川中光防雷科技股份有限公司 Intelligent surge protector

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646041A (en) * 2016-12-08 2017-05-10 中国北方发动机研究所(天津) Engine start initial engaging surge voltage simulation method
CN206595714U (en) * 2017-03-31 2017-10-27 佛山市顺德区美的电热电器制造有限公司 Home appliance and the surge protection circuit for home appliance
CN107860998A (en) * 2017-10-31 2018-03-30 华勤通讯技术有限公司 A kind of method and terminal for monitoring electric surge
CN108387799A (en) * 2018-03-06 2018-08-10 浙江宇视科技有限公司 Over-pressed analysis system and device

Also Published As

Publication number Publication date
CN111965412A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN110596486B (en) Intelligent early warning operation and maintenance method and system for charging pile
CN109839559B (en) Lightning protection detection robot system
CN114819415B (en) Power equipment fault prediction system based on data analysis
CN104122508B (en) Online monitoring method for backup power supply system of intelligent power distribution terminal
CN114295940A (en) Distribution network fault state monitoring system and method based on smart city
CN114865793A (en) Substation equipment intelligent management system and method based on big data
CN105450454A (en) Service monitoring and warning method and device
CN111537916B (en) Voltage sampling chip power supply ground disconnection fault diagnosis method, device and equipment
CN112461289A (en) Ring main unit fault monitoring method, system, terminal and storage medium
CN103278719A (en) Power equipment fault detection method and system based on matrix diagram and confidence coefficient
CN113253181A (en) Intelligent information data acquisition and analysis system based on big data
CN108226775B (en) Fault self-detection method and device of wind driven generator
CN114814450A (en) Power distribution network disconnection fault positioning method and system
CN111965412B (en) Surge detection method, device, equipment and storage medium
CN109980782A (en) A kind of the wireless monitor detector and system of electric line safe operation
CN117093943A (en) Power consumption monitoring and early warning method and device
CN114465217B (en) Lightning protection method and device based on high-frequency isolation
CN113300918A (en) Fault detection method of intelligent lamp pole, terminal device and storage medium
CN108038935B (en) Substation equipment inspection method, system and device and computer readable storage medium
CN113156529A (en) Start-stop control method, system, terminal and storage medium of metrological verification assembly line
CN110988454A (en) Method for monitoring small current by apparent power and real-time disposal
CN118112359B (en) Switch cabinet fault diagnosis method and system based on Internet of things
CN116125207A (en) Power failure detection method and device for low-voltage distribution transformer area, electronic equipment and medium
EP4198803A1 (en) Fault processing method and apparatus, network device and storage medium
CN110988453B (en) Method for judging small current variable by apparent power

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