CN114487610A - Method for automatically identifying equipment capacitor discharge time and detection device - Google Patents
Method for automatically identifying equipment capacitor discharge time and detection device Download PDFInfo
- Publication number
- CN114487610A CN114487610A CN202111682067.4A CN202111682067A CN114487610A CN 114487610 A CN114487610 A CN 114487610A CN 202111682067 A CN202111682067 A CN 202111682067A CN 114487610 A CN114487610 A CN 114487610A
- Authority
- CN
- China
- Prior art keywords
- waveform
- period
- equipment
- value
- capacitor
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R27/00—Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
- G01R27/02—Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
- G01R27/26—Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Relating To Insulation (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
The invention belongs to the technical field of capacitance detection, and provides a method and a detection device for automatically identifying the discharge time of a device capacitor, which comprises the following steps: acquiring the working voltage waveform of the equipment through an oscilloscope; judging whether the waveform is qualified or not according to a preset voltage value, and if not, re-acquiring the working voltage waveform of the equipment; if the waveform is qualified, calculating the period of the waveform according to the peak position in the waveform; finding a plurality of position points meeting preset conditions according to the period of the waveform, and intercepting two new waveforms from the waveform according to the position points; after the two waveforms are aligned, the discharging position of the capacitor is found by comparing the two new waveforms, so that the discharging time point of the capacitor is obtained. The method has the advantages that the method can be used for finding the capacitor discharge point after the waveform is converted by automatically processing the data acquired by the oscilloscope, and compared with a mode of manually reading parameters in the oscilloscope, the method improves the accuracy of finding the capacitor discharge time point.
Description
Technical Field
The invention relates to the technical field of capacitance detection, in particular to a method and a detection device for automatically identifying the discharge time of a device capacitor.
Background
In the product safety qualification test and certification, the capacitive discharge of the input port is a very important item, and the experiment of the item is performed in all motor products. The capacitor discharge must cut off the input voltage at the peak of the power supply according to the test requirements, and an oscilloscope is also needed to capture the waveform and read data while cutting off the voltage. First, in the case of a common power supply using a switch control, typically, the voltage is 50Hz or 60Hz, the interval between each peak is 16.7ms to 20ms, and it is not easy for an operator to cut off the input voltage at the peak of the power supply; secondly, in actual operation, the maximum value of the discharge voltage at the moment is difficult to grasp by manual operation of an oscilloscope, and the introduced error is large.
Disclosure of Invention
The invention aims to provide a method and a detection device for automatically identifying the discharge time of a capacitor of equipment, which are used for solving the problem of automatic detection of the discharge time of the capacitor.
In order to achieve the purpose, the invention adopts the technical scheme that:
a method of automatically identifying the discharge time of a device capacitor, comprising the steps of:
acquiring the working voltage waveform of the equipment through an oscilloscope;
judging whether the waveform is qualified or not according to a preset voltage value, and if the waveform is not qualified, re-acquiring the working voltage waveform of the equipment;
if the waveform is qualified, calculating the period of the waveform according to the peak position in the waveform;
finding a plurality of position points meeting preset conditions according to the period of the waveform, and intercepting two new waveforms from the waveform according to the position points;
after the two waveforms are aligned, the discharging position of the capacitor is found by comparing the two new waveforms, so that the discharging time point of the capacitor is obtained.
Further, the step of judging whether the waveform is qualified according to a preset voltage value includes: and calculating a voltage threshold according to a preset voltage value, comparing the maximum value and the minimum value of the voltage in the waveform with the voltage threshold, and if the voltage threshold is between the maximum value and the minimum value, judging the waveform as a qualified waveform.
Further, the step of calculating the period of the waveform by the peak position in the waveform comprises:
finding out peak position points of which all peak voltage values are greater than the voltage threshold value according to the waveform;
calculating the difference between all the adjacent two peak position points, and calculating the average value of the difference as the first period of the waveform;
and removing the difference values which are more than twice the first period value and less than one half of the first period from the difference values, calculating the average value of the residual difference values, and taking the average value as the second period of the waveform.
Further, the step of finding a plurality of position points meeting a preset condition according to the period of the waveform is counting a preset number of position points from the position point where the last difference is located, and judging whether the difference between two adjacent position points is within a preset multiple range of the second period; if the difference value exceeds the preset multiple range, the position points are reselected for counting until the difference values among the position points meeting the preset number are all within the preset multiple range of the second period, then the first point in the position points with the preset number is used as the starting point of waveform interception, the distance value from the first point to the second point in the position points is used as the length, and two new waveforms are intercepted from the waveform.
The invention also provides an automatic detection device for the discharge time of the equipment capacitor, further comprising:
a capacitive discharge time detection system in which the method of automatically recognizing a capacitive discharge time of an apparatus according to claim 1 is provided, the capacitive discharge time detection system being installed in a computer;
one end of the oscilloscope is connected with the computer, and the other end of the oscilloscope is connected with the equipment through the switch box;
and the power supply is respectively connected with the computer and the to-be-detected power supply and sends the real-time voltage value to the computer through the power meter.
Further, the capacitance discharge time detection system includes:
the parameter setting module is used for setting the oscilloscope parameters, the switch channel and the detection parameters of the equipment;
the power supply parameter adjusting module is used for adjusting the output voltage value of the power supply in real time;
the detection module is used for detecting the capacitance discharge time of the equipment by a method of automatically identifying the capacitance discharge time of the equipment;
and the data processing module is used for processing the detection data of the equipment acquired by the oscilloscope and obtaining the capacitance discharge time point of the equipment through calculation.
And the detection information display module is used for displaying the test result data of the equipment.
Further, the data processing module comprises:
the waveform acquisition unit is used for acquiring the working voltage waveform of the equipment through an oscilloscope;
the waveform judging unit is used for judging whether the waveform is qualified or not according to a preset voltage value;
the period calculating unit is used for calculating the period of the waveform according to the peak position in the waveform;
the waveform intercepting unit is used for finding a plurality of position points meeting preset conditions according to the period of the waveform and intercepting two new waveforms from the waveform according to the position points;
and the comparison unit is used for finding the discharging position of the capacitor by comparing the two new waveforms after the two waveforms are aligned, so that the discharging time point of the capacitor is obtained.
And the device connection state display module is used for displaying the connection state of each device in the device to a user through light.
Compared with the prior art, the invention at least comprises the following beneficial effects:
(1) according to the invention, the voltage waveform of the equipment is acquired by the oscilloscope, and the data acquired by the oscilloscope is automatically processed, so that the capacitance discharge time of the equipment is obtained, the aim of automatic equipment test is fulfilled, and the detection data of the equipment is not required to be recorded in a manual oscilloscope reading mode.
(2) According to the method, after the voltage waveform of the equipment acquired by the oscilloscope is acquired in the detection system, the waveform is converted and then the capacitor discharge point is found, so that compared with a mode of manually reading parameters in the oscilloscope, the accuracy of finding the capacitor discharge time point is improved.
(3) The device can automatically detect the capacitor discharge time of the equipment, and can realize continuous detection of multiple pieces of equipment through the matching arrangement of the switch box and the system, thereby saving a large amount of time which originally needs manual operation.
Drawings
FIG. 1 is a flowchart illustrating an overall recognition method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a cycle of a waveform calculated from peak positions in the waveform according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an automatic detection apparatus according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of a capacitor discharge time detection system according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data processing module according to a second embodiment of the present invention.
Detailed Description
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
Moreover, descriptions of the present invention as relating to "first," "second," "a," etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit ly indicating a number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
The following are specific embodiments of the present invention, and the technical solutions of the present invention will be further described with reference to the drawings, but the present invention is not limited to these embodiments.
Example one
As shown in fig. 1, the method for automatically identifying the discharge time of the capacitor of the device of the present invention comprises the steps of:
s1, acquiring the working voltage waveform of the equipment through an oscilloscope;
s2, judging whether the waveform is qualified or not according to a preset voltage value, and if not, acquiring the working voltage waveform of the equipment again;
the step of judging whether the waveform is qualified according to a preset voltage value comprises the following steps: calculating a voltage threshold At according to a preset voltage value, comparing a maximum value Amax and a minimum value Amin of voltage in a waveform with the voltage threshold At, and if the voltage threshold At is between the maximum value Amax and the minimum value Amin, judging the waveform as a qualified waveform.
And S3, if the waveform is qualified, calculating the period of the waveform according to the peak position in the waveform.
As shown in fig. 2, the step of calculating the period of the waveform from the peak position in the waveform includes:
s31, finding out peak position points of which all peak voltage values are larger than the voltage threshold value according to the waveform;
s32, calculating the difference between all adjacent two peak position points, and calculating the average value of the difference as the first period of the waveform;
and S33, removing the difference values which are more than twice the first period value and less than one half of the first period from the difference values, calculating the average value of the residual difference values, and taking the average value as the second period of the waveform.
And S4, finding a plurality of position points meeting preset conditions according to the period of the waveform, and intercepting two new waveforms from the waveform according to the position points.
The step of finding a plurality of position points meeting the preset condition according to the period of the waveform is to count a preset number of position points from the position point where the last difference value is located forward, and judge whether the difference value between two adjacent position points is within a preset multiple range of the second period; if the difference value exceeds the preset multiple range, the position points are reselected for counting until the difference values among the position points meeting the preset number are all within 0.9-1.1 times of the second period, then the first point Pstart in the position points with the preset number is used as the starting point of waveform interception, and the distance value len from the first point to the second point in the position points is used as the length, so that two new waveforms are intercepted from the waveform. Where waveform a1 is a waveform of length len taken from the point Pstart, and waveform a2 is a waveform of length len taken from the point Pstart +0.5 × len.
And S5, after the two waveforms are aligned, the position of capacitor discharge is found by comparing the two new waveforms, and thus the time point of capacitor discharge is obtained.
The alignment of the two waveforms a1 and a2 means that the waveform a1 is moved to the right as a whole, and the difference is calculated with the waveform a2 every time the waveform a1 moves to the right, and then the waveform corresponding to the minimum value of the differences is obtained as a new a1 waveform. Then, the new A1 waveform and the A2 waveform are compared, the waveforms of A1 and A2 are overlapped theoretically, but when the trends of the waveforms start to obviously deviate, the corresponding point is the discharge point of the capacitor in the device, and after the discharge point is calculated, the voltage from the waveform to the discharge point can be used for judging whether the discharge is carried out at the highest position of the voltage.
According to the invention, the capacitor discharge time of the equipment is obtained by automatically processing the data acquired by the oscilloscope, the aim of automation of equipment test is realized, and the detection data of the equipment is recorded without manually reading the oscilloscope.
Example two
As shown in fig. 3, the automatic detection device for the discharge time of the device capacitor of the present invention includes:
a capacitance discharge time detection system in which a method of automatically recognizing the discharge time of a device capacitance is provided, the capacitance discharge time detection system being installed in a computer;
one end of the oscilloscope is connected with the computer, and the other end of the oscilloscope is connected with the equipment through the switch box. The power supply is respectively connected with the computer and the equipment, and the system can directly set corresponding parameters of the power supply and control the working state of the power supply. The voltage output value of the power supply is transmitted to the system after being acquired through the data of the power meter, so that a user can know whether the power supply works in a stable state.
As shown in fig. 4, the capacitance discharge time detection system includes: the device comprises a parameter setting module, a power parameter adjusting module, a detection module, a data processing module, a detection information display module and a device connection state display module.
The parameter setting module is used for setting the oscilloscope parameters, the switch channel and the detection parameters of the equipment. The parameter setting of the oscillograph is mainly to set which oscillograph and the channel of the oscillograph and the attenuation ratio of the oscillograph probe. The detection parameters of the device are mainly set for conditions such as the number of times and time of detection of the device.
The switch channel corresponds with the switch box, is provided with a plurality of wiring mouths on the switch box, and every wiring mouth is corresponding different switch channels, and the user needs the wiring mouth of select line connection before detecting for the system can prevent accident through switch box controlgear's operating condition. Moreover, when a plurality of devices need to be detected, the devices can be connected to different wiring ports on the switch box, and corresponding switch channels are arranged in the system, so that the continuous detection of the devices can be realized without manual operation in the middle.
The power supply parameter adjusting module is used for adjusting the output voltage value of the power supply in real time. The power supply parameter is used for monitoring a manual power supply real-time value, when the deviation of the power supply real-time value and the set value is larger than 1.5%, the system pops up a prompt window to prompt a user to adjust the power supply parameter, meanwhile, the test is stopped, and the test is started again until the user adjusts the power supply parameter to the deviation smaller than 1.5%.
The detection module is used for testing the working voltage of the equipment by an automatic detection method of the working voltage of the equipment. When a user clicks the test start button, the detection module sends a corresponding control instruction, and the equipment is correspondingly detected according to the capacitance discharge time identification method. The detection of capacitor discharge needs to be performed with power-off operation in detection, and the detection module can enable equipment to be powered off by controlling a switch channel on the switch box, so that the oscilloscope collects voltage waveforms generated by capacitor discharge of the equipment.
The data processing module is used for processing the detection data of the equipment acquired by the oscilloscope, and calculating to obtain the capacitance discharge time point of the equipment.
As shown in fig. 5, the data processing module includes: the device comprises a waveform acquisition unit, a waveform judgment unit, a period calculation unit, a waveform interception unit and a comparison unit.
The waveform acquisition unit is used for acquiring the working voltage waveform of the equipment through the oscilloscope. The waveform judging unit is used for judging whether the waveform is qualified according to a preset voltage value. The period calculating unit is used for calculating the period of the waveform according to the peak position in the waveform. The waveform intercepting unit is used for finding a plurality of position points meeting preset conditions according to the period of the waveform and intercepting two new waveforms from the waveform according to the position points. The comparison unit is used for finding the discharging position of the capacitor by comparing the two new waveforms after the two waveforms are aligned, so that the discharging time point of the capacitor is obtained.
After the voltage waveform of the equipment acquired by the oscilloscope is acquired in the detection system, the waveform is converted and then the capacitor discharge point is found, so that compared with a mode of manually reading parameters in the oscilloscope, the accuracy of the capacitor discharge time point is improved.
The detection information display module is used for displaying test result data of the equipment, a user can directly read detection data through the detection information display module without manually calculating the detection data according to waveforms on the oscilloscope, and the user can check a voltage waveform diagram of the equipment in the detection process in real time.
And the device connection state display module is used for displaying the connection state of each device in the device to a user through lamplight.
The user can learn the connection state between each device through the pilot lamp that sets up in this module, and the system just can open corresponding testing process under the intact state is all connected to all devices.
The device can automatically detect the capacitor discharge time of the equipment, and can realize continuous detection of multiple pieces of equipment through the matching arrangement of the switch box and the system, thereby saving a large amount of time which originally needs manual operation.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.
Claims (8)
1. A method for automatically identifying the discharge time of a device capacitor is characterized by comprising the following steps:
acquiring the working voltage waveform of the equipment through an oscilloscope;
judging whether the waveform is qualified or not according to a preset voltage value, and if not, re-acquiring the working voltage waveform of the equipment;
if the waveform is qualified, calculating the period of the waveform according to the peak position in the waveform;
finding a plurality of position points meeting preset conditions according to the period of the waveform, and intercepting two new waveforms from the waveform according to the position points;
after the two waveforms are aligned, the discharging position of the capacitor is found by comparing the two new waveforms, so that the discharging time point of the capacitor is obtained.
2. The method for automatically identifying the discharge time of the capacitor of the equipment as claimed in claim 1, wherein the step of judging whether the waveform is qualified according to the preset voltage value comprises the steps of: and calculating a voltage threshold according to a preset voltage value, comparing the maximum value and the minimum value of the voltage in the waveform with the voltage threshold, and if the voltage threshold is between the maximum value and the minimum value, judging the waveform as a qualified waveform.
3. The method of claim 2, wherein the step of calculating the period of the waveform from the position of the peak in the waveform comprises:
finding out peak position points of which all peak voltage values are greater than the voltage threshold value according to the waveform;
calculating the difference between all the adjacent two peak position points, and calculating the average value of the difference as the first period of the waveform;
and removing the difference values which are more than twice the first period value and less than one half of the first period from the difference values, calculating the average value of the residual difference values, and taking the average value as the second period of the waveform.
4. The method of claim 3, wherein the step of finding a plurality of position points satisfying a predetermined condition according to the period of the waveform comprises counting a predetermined number of position points from a position point at which a last difference value is located, and determining whether a difference value between two adjacent position points is within a predetermined multiple of the second period; if the difference value exceeds the preset multiple range, the position points are reselected for counting until the difference values among the position points meeting the preset number are all within the preset multiple range of the second period, then the first point in the position points with the preset number is used as the starting point of waveform interception, the distance value from the first point to the second point in the position points is used as the length, and two new waveforms are intercepted from the waveform.
5. An apparatus for automatically detecting the discharge time of a device capacitor, comprising:
a capacitive discharge time detection system in which the method of automatically recognizing a capacitive discharge time of an apparatus according to claim 1 is provided, the capacitive discharge time detection system being installed in a computer;
one end of the oscilloscope is connected with the computer, and the other end of the oscilloscope is connected with the equipment through the switch box;
and the power supply is respectively connected with the computer and the to-be-detected power supply and sends the real-time voltage value to the computer through the power meter.
6. The apparatus according to claim 5, wherein the system for detecting the discharge time of the capacitor comprises:
the parameter setting module is used for setting the oscilloscope parameters, the switch channel and the detection parameters of the equipment;
the power supply parameter adjusting module is used for adjusting the output voltage value of the power supply in real time;
the detection module is used for detecting the capacitance discharge time of the equipment by a method of automatically identifying the capacitance discharge time of the equipment;
the data processing module is used for processing the detection data of the equipment acquired by the oscilloscope and obtaining the capacitance discharge time point of the equipment through calculation;
and the detection information display module is used for displaying the test result data of the equipment.
7. The apparatus according to claim 6, wherein the data processing module comprises:
the waveform acquisition unit is used for acquiring the working voltage waveform of the equipment through an oscilloscope;
the waveform judging unit is used for judging whether the waveform is qualified or not according to a preset voltage value;
the period calculating unit is used for calculating the period of the waveform according to the peak position in the waveform;
the waveform intercepting unit is used for finding a plurality of position points meeting preset conditions according to the period of the waveform and intercepting two new waveforms from the waveform according to the position points;
and the comparison unit is used for finding the discharging position of the capacitor by comparing the two new waveforms after the two waveforms are aligned, so that the discharging time point of the capacitor is obtained.
8. The apparatus according to claim 6, further comprising a device connection status display module for displaying the connection status of each device in the apparatus to a user through a light.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111682067.4A CN114487610A (en) | 2021-12-31 | 2021-12-31 | Method for automatically identifying equipment capacitor discharge time and detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111682067.4A CN114487610A (en) | 2021-12-31 | 2021-12-31 | Method for automatically identifying equipment capacitor discharge time and detection device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114487610A true CN114487610A (en) | 2022-05-13 |
Family
ID=81510400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111682067.4A Pending CN114487610A (en) | 2021-12-31 | 2021-12-31 | Method for automatically identifying equipment capacitor discharge time and detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114487610A (en) |
-
2021
- 2021-12-31 CN CN202111682067.4A patent/CN114487610A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104090252B (en) | Comprehensive detecting system and method for cable type fault indicator | |
CN104865493A (en) | CELL panel open-short circuit detection device and method | |
CN108088696A (en) | Air conditioner external unit test system | |
CN116683567B (en) | High-precision bidirectional direct-current power supply for electric control test of new energy automobile | |
CN111999090A (en) | Offline detection device and method for vehicle air conditioner | |
CN108561324A (en) | Fan testing device, air conditioner and fan testing method of air conditioner | |
CN107702823A (en) | A kind of automatic calibrating method of the temperature transmitter based on discrete analysis | |
CN207318702U (en) | Possesses the electric energy meter calibrating apparatus for carrying out fault diagnosis and analysis | |
CN116436833A (en) | Fault diagnosis method, device and equipment in switch port test | |
CN115061060A (en) | Card detection method, system, computer program product and readable storage medium | |
CN114487610A (en) | Method for automatically identifying equipment capacitor discharge time and detection device | |
CN114509596A (en) | Automatic detection method and device for equipment working voltage | |
CN109031088A (en) | A kind of circuit board multichannel current test method and its system | |
CN208350976U (en) | The monitoring system of test macro is directed in integrated circuit electronic component testing | |
CN107543574B (en) | Automatic detector for high-temperature aging test of airborne sensor and operation method | |
CN109100671A (en) | The monitoring method and monitoring system of test macro are directed in integrated circuit electronic component testing | |
CN214097746U (en) | Automatic detection device for high-voltage wire harness | |
CN113624450B (en) | Testing method and system for correlation light curtain | |
CN214843978U (en) | Detection device | |
CN204168262U (en) | Rectifier and trigger pulse detecting equipment | |
CN111257702B (en) | New energy automobile controller's withstand voltage test system | |
CN205691751U (en) | A kind of simulated automotive starts intelligent test instrument apparatus | |
CN214041629U (en) | Voltage testing jig | |
CN114184928B (en) | Performance detection system and detection method for Schottky diode in display module | |
CN118091235B (en) | Photovoltaic inverter residual current test generating device with self-diagnosis function |
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 |