Relay contact and armature motion deviation time measurement method
Through the combination of image feature recognition and voltage data collection, non-contact measurement of the movement deviation time of the relay contact and the armature is achieved, solving the problems of high measurement difficulty and high cost in the existing technology, and providing a fast, simple and accurate Relay life assessment method.
Patent Information
- Application Number
- CN202410623970.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult to effectively measure the deviation time between the relay contact and the armature movement with the existing technology, which affects the accuracy and reliability of the relay life assessment.
Using a method based on image feature recognition, the armature movement of the relay is captured by a high-speed camera, and combined with the synchronously collected contact voltage waveform data, grayscale, binarization and denoising are performed, and straight lines are fitted to detect the armature movement boundary. Value filtering analyzes the voltage waveform and calculates the movement deviation time between the contact and the armature.
It realizes the non-contact measurement of the deviation time between the relay contact and the armature movement, reduces the subjective influence of personnel, is fast, simple to operate, low in cost, and can accurately reflect the wear and tear of the relay.
Smart Images

Figure CN118566710A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay parameter measurement, and in particular to a method for measuring the deviation time of relay contacts and armature movements based on image feature recognition; according to the time when the armature movement ends and the contact voltage waveform data collected synchronously, the deviation time of the contact and armature movement, that is, the time difference between the complete closure of the contacts and the complete closure of the armature, is obtained by combining the two parts for analysis. Background Art
[0002] The reliability life test of the relay mainly examines the electrical wear resistance of the contacts of the relay when it is working. During the opening and closing process, the contacts will be corroded by factors such as electric arcs, resulting in a gradual increase in electrical wear of the contacts. As the electrical wear of the contacts increases, the thickness of the contacts gradually decreases, thereby reducing the pressure on the contacts, increasing the contact resistance, and reducing the electrical life.
[0003] In order to ensure that the contacts have a small contact resistance and sufficient electrical life, the manufacturing process needs to ensure that the contacts have a certain free travel (also called breaking distance), excess travel (abbreviated as "overtravel") and contact pressure. These are important conditions to ensure the inherent reliability of the relay. When contact wear causes the overtravel to decrease to a certain extent, the contact pressure decreases and the free travel increases, resulting in an increase in contact resistance. When the contact resistance increases to the limit value, the relay has reached its life limit and needs to be replaced or repaired.
[0004] During the relay closure process, the normally open contact and the moving contact have a stage of common movement. The time from the first contact between the two to the complete closure of the armature is called the contact and armature movement deviation time. It can more comprehensively reflect the degree of contact wear and aging. Compared with other time parameters, the difficulty and cost of obtaining it are relatively low, and it is suitable as a basis for judging whether the relay is in a stable working condition. Summary of the invention
[0005] In view of the above shortcomings and deficiencies, the present invention provides a method for measuring the deviation time of the movement of relay contacts and armature, aiming to solve the technical problem of measuring the deviation time of the movement of contacts and armature.
[0006] In order to achieve the above object, the main technical solutions adopted by the present invention include: S1: Fix the relay within the shooting range and turn on the high-speed camera; S2: Select the appropriate camera shooting frequency to collect and save the relay armature's complete motion cycle; S3: The synchronous trigger sends a signal to control the relay action. The sensor measures the current and voltage between the relay contacts in real time and transmits it to the computer to draw a current and voltage waveform diagram. At the same time, it controls the image acquisition of the relay action shooting system. S4: pre-processing the saved relay armature motion image by graying, binarizing and denoising, so as to better obtain the moment when the armature motion starts and stops; S5: performing armature boundary straight line fitting on the pre-processed relay armature motion picture, and tracking the distance from the midpoint of the coil core to the fitting straight line to obtain whether the armature moves; S6: According to the time when the armature movement ends and the contact voltage waveform data collected synchronously, the deviation time of the contact and armature movement is obtained by combining the two parts for analysis, that is, the time difference between the complete closure of the contacts and the complete closure of the armature.
[0007] The triggering time of the synchronous trigger sending a signal to control the relay action in S3 is determined according to the shooting frequency and the time of one cycle of the actual action, so as to ensure that the relay contact voltage data is synchronized with the shooting, and obtain the contact voltage data and the picture of the armature movement at the same time; The grayscale and binarization in S4 makes the noise in the characteristic pixels in the image more obvious and easier to remove, and can more easily extract the effective area.
[0008] The S5 is specifically as follows: fitting a straight line greater than 250 pixels at the target position of the target area, then finding the midpoint of the iron core of the target area of the image by manual calibration, and judging the start and pause time of the armature movement based on the distance from the midpoint of the coil iron core to the fitting straight line; the fitting straight line is realized by the least squares method.
[0009] The S6 specifically filters the image through median filtering and then analyzes the voltage waveform. The median filtering is specifically as follows: suppose a one-dimensional sequence f1, f2...fn, take out m numbers from the input sequence in succession, sort the m numbers by size, take the number with the sequence number as the center point as the filter output, and remove abnormal points, noise points, and interference points in the signal through median filtering; after filtering the obtained contact voltage waveform, the contact and armature movement deviation time is obtained according to the difference between the time when the contact voltage starts to drop and the time when the armature movement is paused.
[0010] The present invention has the following beneficial effects and advantages: The present invention realizes non-contact measurement of the movement deviation time of relay contacts and armature based on image feature recognition and voltage data collection, and avoids subjective influence of personnel through image shooting and processing technology. It can combine the movement process with electrical data, and has the advantages of fast processing speed, simple operation and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 It is a flow chart of a method for measuring the deviation time between relay contacts and armature motion based on image feature recognition of the present invention; Figure 2 It is the waveform of contact voltage after filtering; Figure 3 It is a demonstration of the armature fitting straight line effect. DETAILED DESCRIPTION
[0012] The present invention will be further described below in conjunction with the accompanying drawings. Figure 1 As shown, the present invention is a method for measuring the movement deviation time of a relay contact and an armature, characterized in that it comprises the steps of: S1: Fix the relay, turn on the camera, adjust the slide, etc. to complete the hardware position adjustment. Fix the relay to be tested in the correct position to ensure that the relay will not shake due to fixation when it is in motion. Then turn on the high-speed camera, place the relay armature to be tested within the shooting range, and adjust the focal length and the distance between the lens and the relay so that the armature can be shot normally.
[0013] S2: Select a suitable camera shooting frequency to collect and save the relay armature after completing a movement cycle. Select a suitable shooting frequency. The frequency set this time is 2000Hz, which means taking 2000 pictures per second.
[0014] S3: The relay action is controlled by sending a signal through a synchronous trigger. The sensor measures the current and voltage between the relay contacts in real time and transmits them to the computer to draw a current and voltage waveform diagram. At the same time, it controls the image acquisition of the relay action shooting system.
[0015] In synchronous triggering, the trigger signal for high-speed camera shooting and the trigger signal for relay action are given at the same time. The trigger time needs to be determined according to the shooting frequency and the actual action cycle time. According to the frequency of 2000Hz, usually one cycle is 3s, ensuring that the whole process of relay armature closing and opening can be captured.
[0016] The voltage acquisition module starts to collect contact voltage data at the same time, so as to obtain contact voltage data and armature movement images at the same time as the shooting. The appropriate voltage acquisition module is selected to collect contact voltage through two voltage modules, large and small. The small voltage module is used to collect small voltage to compensate and adjust the large voltage, so that the measured voltage is more accurate.
[0017] S4: Pre-processing such as grayscale, binarization and denoising is performed on the saved relay armature motion image so as to better obtain the moment when the armature motion starts and stops.
[0018] Grayscale and binarization are used in the process of image preprocessing, which can make the noise points in the characteristic pixels in the image more obvious and easier to remove, and can make it easier to extract the effective area; the collected images will definitely have noise points. The collected relay armature images are processed through image preprocessing technology to remove the noise points in the image, which is convenient for the subsequent extraction of the target area; the grayscale and binarization operations will appear many times in the processing process.
[0019] S5: Perform armature boundary straight line fitting on the preprocessed relay armature motion image, and track the distance from the coil core midpoint to the fitting straight line to obtain whether the armature moves.
[0020] For the processed relay armature image group, a calibration is first performed to obtain the target area of the coil core and the armature, and then the boundary line fitting of the armature under this area is performed through the calibrated area (such as Figure 3 As shown in the figure), the distance from the midpoint of the core to the fitting line is measured and converted into variables to obtain the movement displacement of the armature, so as to better detect the movement and pause of the armature. The movement and pause time of the armature is calculated through the code, and the two times are saved for the calculation of the deviation time between the contact and the armature movement. The fitting line method uses the least squares method.
[0021] S6: Based on the start and end time of the armature movement and the synchronously collected contact voltage waveform data (such as Figure 2 As shown in the figure), the deviation time of contact and armature movement is obtained by combining the two parts of analysis.
[0022] The analysis of voltage waveform requires the use of median filtering to filter the image before analysis.
[0023] Suppose there is a one-dimensional sequence f1, f2...fn, take a window length of m (m is an odd number), and perform median filtering on it, which means taking out m numbers from the input sequence in succession, sorting these m numbers by size, and taking the number with the center point as the filter output, and removing abnormal points, noise points, and interference points in the signal through median filtering.
[0024] First, the collected voltage is processed by median filtering, and then the voltage waveform is displayed. When the contact is closed, the collected contact voltage should drop rapidly. The moment of contact closure is found through the characteristics of the waveform, and the closing time is saved to facilitate the calculation of the contact and armature movement deviation time. In the process of relay closure, the normally open contact and the moving contact have a stage of common movement. The time consumed from the first contact between the two to the complete closure of the armature is called the contact and armature movement deviation time; according to the definition of the contact and armature movement deviation time, the calculation process of the contact and armature movement deviation time is obtained by subtracting the time for the contact voltage to drop from the time for the armature movement to pause.
[0025] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for measuring the time deviation between the movement of relay contacts and armature, Features: The following steps are involved: S1: Fix the relay within the shooting range and turn on the high-speed camera; S2: Select the appropriate camera shooting frequency to collect and save the relay armature's complete motion cycle; S3: The synchronous trigger sends a signal to control the relay action. The sensor measures the current and voltage between the relay contacts in real time and transmits it to the computer to draw a current and voltage waveform diagram. At the same time, it controls the image acquisition of the relay action shooting system. S4: pre-processing the saved relay armature motion image by graying, binarizing and denoising, so as to better obtain the moment when the armature motion starts and stops; S5: performing armature boundary straight line fitting on the pre-processed relay armature motion picture, and tracking the distance from the midpoint of the coil core to the fitting straight line to obtain whether the armature moves; S6: According to the time when the armature movement ends and the contact voltage waveform data collected synchronously, the deviation time of the contact and armature movement is obtained by combining the two parts for analysis, that is, the time difference between the complete closure of the contacts and the complete closure of the armature.
2. A method for measuring the time deviation between the movement of relay contacts and armature according to claim 1, Features: The trigger time of the synchronous trigger sending a signal to control the relay action in S3 is determined according to the shooting frequency and the actual action cycle time, ensuring that the relay contact voltage data is synchronized with the shooting, and obtaining the contact voltage data and the armature movement picture at the same time.
3. A method for measuring the time deviation between the movement of relay contacts and armature according to claim 1, Features: The grayscale and binarization in S4 makes the noise in the characteristic pixels in the image more obvious and easier to remove, and can more easily extract the effective area.
4. A method for measuring the time deviation between the movement of relay contacts and armature according to claim 1, It is characterized in that The S5 is specifically as follows: fitting a straight line greater than 250 pixels at the target position of the target area, then finding the midpoint of the iron core of the target area of the image by manual calibration, and judging the start and pause time of the armature movement based on the distance from the midpoint of the coil iron core to the fitting straight line; the fitting straight line is realized by the least squares method.
5. A method for measuring the time deviation between the movement of relay contacts and armature according to claim 1, It is characterized in that The S6 specifically filters the image through median filtering and then analyzes the voltage waveform. The median filtering is specifically as follows: suppose a one-dimensional sequence f1, f2...fn, take out m numbers from the input sequence in succession, sort the m numbers by size, take the number with the sequence number as the center point as the filter output, and remove abnormal points, noise points, and interference points in the signal through median filtering; after filtering the obtained contact voltage waveform, the deviation time of the contact and armature movement is obtained according to the difference between the time when the contact voltage starts to drop and the time when the armature movement is paused.
