A method for calculating radial parameters of arc images
Arc image preprocessing and edge detection are performed using LabVIEW and the NI Vision Builder AI processing package. Combined with specific calculation methods, this solves the problem of low arc radial parameter calculation accuracy, achieves higher-precision arc morphology analysis, and supports the optimized design of the vacuum interrupter structure.
Patent Information
- Application Number
- CN202310983292.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2043-08-07
AI Technical Summary
At present, the calculation accuracy of arc radial parameters is low, which affects the accuracy of arc morphology analysis and makes it difficult to support the optimization of vacuum interrupter structure design.
LabVIEW software and NI Vision Builder AI processing package were used to preprocess the arc image, perform edge detection, and measure radial parameters. Combined with median filtering and convolution, the radial parameters of the arc were calculated using Max Caliper and Caliper functions, and unit conversion was performed.
The detection accuracy of arc radial parameters is improved, the accuracy of arc morphology analysis is ensured, and more precise theoretical support is provided for the structural design of vacuum interrupter.
Smart Images

Figure CN117078740B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vacuum switches, and in particular to a method for calculating radial parameters of an arc image. Background Art
[0002] The vacuum interrupter is a key component of a vacuum switch. Its excellent insulation properties make it capable of extinguishing the arc in vacuum switches. Arc morphology is the most intuitive indicator of arc combustion, extinction, and post-arc dielectric recovery. It also serves as a reference for vacuum interrupter structural design. Arc morphology analysis provides theoretical support for vacuum interrupter structural design, as well as for the analysis and research of physical phenomena such as various spots, plasma arc columns, and dielectric recovery.
[0003] Vacuum arc morphology analysis can be divided into three stages: arcing, arcing, and arcing extinction. Changes in the arc's radial parameters are a key indicator for distinguishing these three stages. Within a single opening and closing cycle, the arc's radial parameters rapidly rise during the arcing stage, remain essentially unchanged during the stable arcing stage, and rapidly drop to zero during the arcing extinction stage. Therefore, measuring the arc's radial parameters is crucial for accurately distinguishing the three stages of arc morphology. However, current research on measuring arc radial parameters is immature and requires further improvement in calculation accuracy to provide technical support for the study of arc control theory and the optimization of vacuum interrupter structural design. Summary of the Invention
[0004] In order to solve the problem of low accuracy in the existing calculation of arc radial parameters, the present invention provides a method for calculating the radial parameters of an arc image.
[0005] The technical solution adopted by the present invention to achieve the above-mentioned purpose is: a method for calculating the radial parameters of an arc image, which specifically includes the following steps:
[0006] S1. Use a camera to capture arc images and import the arc images into LabVIEW software. Use the NI Vision Builder AI processing package in LabVIEW software to pre-process the arc images.
[0007] S2. Use the NI Vision Builder AI processing package to perform edge detection on arc images;
[0008] S3. Use the Measure module in the NI Vision Builder AI processing package to measure the radial parameters of the arc;
[0009] S4. Convert the radial parameters of the arc into actual parameters in millimeters.
[0010] Preferably, the S1 specifically includes the following steps:
[0011] S1-1. Use a camera to capture arc images, create a new NI processing program in LabVIEW software, and import the captured arc images into LabVIEW software;
[0012] S1-2. Use the NI Vision Assistant processing package in LabVIEW software to grayscale and binarize the arc image.
[0013] S1-3. Use the Filter Image processing package in the Enhance module of the NI Vision Builder AI processing package and select the Median filter function to filter the arc image, with the Filter Size set to 11.
[0014] S1-4. Use the Filter Image processing package in the Enhance module of the NI Vision Builder AI processing package and select the Highlight Details function to perform convolution on the arc image, with the Filter Size set to 3.
[0015] Preferably, the step S2 specifically includes the following steps:
[0016] S2-1. Use the Sobel function in the Enhance module of the NI Vision Builder AI processing package to perform edge detection on the arc image and identify, segment, and extract the arc contour.
[0017] S2-2. Use the Count Pixels function in the Check for module of the NI Vision Builder AI processing package to count the location and quantity information of all arc edge pixels.
[0018] Preferably, the step S3 specifically includes the following steps:
[0019] S3-1. Use the Max Caliper function in the Measure module to measure the pixel with the largest ordinate on the upper edge of the arc and the pixel with the smallest ordinate on the lower edge of the arc. The ordinate values are Y1 and Y2 respectively. The maximum diameter of the pixel-level arc is calculated as follows:
[0020] Y 最大直径 =Y1-Y2
[0021] S3-2. Use the Caliper function in the Measure module to measure the pixel points with the average ordinate value of the upper edge of the arc and the pixel points with the average ordinate value of the lower edge of the arc. The ordinate values are Y3 and Y4 respectively. The average diameter of the pixel-level arc is calculated as follows:
[0022] Y 平均直径 =Y3-Y4
[0023] Preferably, in S3-1, the interval of the Max Caliper function is set to 5, and the edge strength is set to 128; in S3-2, the interval of the Caliper function is set to 5, the minimum length is set to 1, and the edge strength is set to 128.
[0024] Preferably, the S4 specifically includes the following steps:
[0025] S4-1. Using the fact that the upper and lower edges of the arc image coincide with the edges of the moving and static contacts, unit conversion is performed. The unit conversion calculation formula for the maximum diameter of the arc is as follows:
[0026]
[0027] The calculation formula for converting the average arc diameter into units is as follows:
[0028]
[0029] Preferably, the contact diameter is 78 mm.
[0030] The invention discloses a method for calculating radial parameters of an arc image. LabVIEW software is used in the entire image processing process. A median filter function and a convolution function are used in arc image preprocessing. This method enhances arc edge information while avoiding the influence of image noise on the positioning of arc image contour information, thereby improving arc positioning accuracy. A Max Caliper function and a Caliper function are used to perform statistical calculations on pixel points of the arc contour, ensuring accurate radial information measurement results. Finally, a formula is used for conversion, thereby improving detection accuracy and providing a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of the method for calculating the radial parameters of the arc image of the present invention.
[0032] Figure 2 This is the arc image after preprocessing of the present invention. DETAILED DESCRIPTION
[0033] The present invention provides a method for calculating the radial parameters of an arc image, comprising: Figure 1 and Figure 2 As shown, the specific steps include:
[0034] S1. Image import and preprocessing: Use a camera to capture arc images and import them into LabVIEW software. Use the NI Vision Builder AI processing package in LabVIEW software to preprocess the arc images. The specific steps include:
[0035] S1-1. Use a smart camera to capture arc images, create a new NI processing program in LabVIEW software, and import the captured arc images into LabVIEW software;
[0036] S1-2. Use the NI Vision Assistant processing package in LabVIEW software to grayscale and binarize the arc image.
[0037] S1-3. Use the Filter Image processing package in the Enhance module of the NI Vision Builder AI processing package and select the Median filter function to filter the arc image, where the Filter Size is set to 11.
[0038] S1-4. Use the Filter Image processing package in the Enhance module of the NI Vision Builder AI processing package and select the Highlight Details function to perform convolution on the arc image, with the Filter Size set to 3.
[0039] S2. Image edge detection: Use the NI Vision Builder AI processing package to perform edge detection on the arc image. The specific steps include:
[0040] S2-1. Use the Sobel function in the Enhance module of the NI Vision Builder AI processing package to perform edge detection on the arc image and identify, segment, and extract the arc contour.
[0041] S2-2. Use the Count Pixels function in the Check for module of the NI Vision Builder AI processing package to count the location and quantity information of all arc edge pixels.
[0042] S3. Parameter measurement: Use the Measure module in the NI Vision Builder AI processing package to measure the radial parameters of the arc. The specific steps include the following:
[0043] S3-1. Use the Max Caliper function in the Measure module to measure the pixel with the largest ordinate on the upper edge of the arc and the pixel with the smallest ordinate on the lower edge of the arc. The ordinate values are Y1 and Y2, respectively. Set the interval of the Max Caliper function to 5 and the edge strength to 128. The maximum diameter of the pixel-level arc is calculated as follows:
[0044] Y 最大直径 =Y1-Y2
[0045] S3-2. Use the Caliper function in the Measure module to measure the pixel points with the average ordinate value of the upper edge of the arc and the pixel points with the average ordinate value of the lower edge of the arc. The ordinate values are Y3 and Y4 respectively. Set the interval of the Caliper function to 5, the minimum length to 1, and the edge strength to 128. The average diameter of the pixel-level arc is calculated as follows:
[0046] Y 平均直径 =Y3-Y4
[0047] S4. Unit conversion: converting the radial parameters of the arc into actual parameters in millimeters, specifically including the following steps:
[0048] S4-1. Using the fact that the upper and lower edges of the arc image coincide with the edges of the moving and static contacts, unit conversion is performed. The unit conversion calculation formula for the maximum diameter of the arc is as follows:
[0049]
[0050] The calculation formula for converting the average arc diameter into units is as follows:
[0051]
[0052] Among them, the contact diameter is 78mm.
[0053] LabVIEW (Laboratory Virtual Instrument Engineering) is a software system developed by National Instruments for use with virtual instruments. By mastering the relevant technical knowledge, programming languages, and data algorithms, users can build simulated experimental instruments. Before the experiment begins, LabVIEW automatically creates a file with the experiment time and data save path. Initialization then assigns all experimental parameters, including acquisition parameters, experiment type, and experimenter and unit information. Within the experiment type, select the image processing module.
[0054] The invention discloses a method for calculating radial parameters of an arc image. LabVIEW software is used in the entire image processing process. A median filter function and a convolution function are used in arc image preprocessing. This method enhances arc edge information while avoiding the influence of image noise on the positioning of arc image contour information, thereby improving arc positioning accuracy. A Max Caliper function and a Caliper function are used to perform statistical calculations on pixel points of the arc contour, ensuring accurate radial information measurement results. Finally, a formula is used for conversion, thereby improving detection accuracy and providing a wide range of applications.
[0055] The present invention is described by way of example, and those skilled in the art will appreciate that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. Furthermore, under the teachings of the present invention, these features and embodiments may be modified to suit specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are intended to be within the scope of the present invention.
Claims
1. A method for calculating radial parameters of an arc image, characterized in that: The specific steps include: S1. Use a camera to capture arc images and import the arc images into LabVIEW software. Use the NI Vision Builder AI processing package in LabVIEW software to pre-process the arc images. S2. Use the NI Vision Builder AI processing package to perform edge detection on arc images; S3. Use the Measure module in the NI Vision Builder AI processing package to measure the radial parameters of the arc; S3-1. Use the Max Caliper function in the Measure module to measure the pixel with the largest ordinate on the upper edge of the arc and the pixel with the smallest ordinate on the lower edge of the arc. The ordinate values are Y1 and Y2 respectively. The maximum diameter of the pixel-level arc is calculated as follows: ; S3-2. Use the Caliper function in the Measure module to measure the pixel points with the average ordinate value of the upper edge of the arc and the pixel points with the average ordinate value of the lower edge of the arc. The ordinate values are Y3 and Y4 respectively. The average diameter of the pixel-level arc is calculated as follows: ; S4. converting the radial parameters of the arc into actual parameters in millimeters; S4-1. Using the fact that the upper and lower edges of the arc image coincide with the edges of the moving and static contacts, unit conversion is performed. The unit conversion calculation formula for the maximum diameter of the arc is as follows: ; The calculation formula for converting the average arc diameter into units is as follows: 。 2. The method for calculating the radial parameters of an arc image according to claim 1, characterized in that: The S1 specifically includes the following steps: S1-1. Use a camera to capture arc images, create a new NI processing program in LabVIEW software, and import the captured arc images into LabVIEW software; S1-2. Use the NI Vision Assistant processing package in LabVIEW software to grayscale and binarize the arc image. S1-3. Use the Filter Image processing package in the Enhance module of the NI Vision Builder AI processing package and select the Median filter function to filter the arc image, with the Filter Size set to 11. S1-4. Use the Filter Image processing package in the Enhance module of the NI Vision Builder AI processing package and select the Highlight Details function to perform convolution on the arc image, with the Filter Size set to 3.
3. The method for calculating the radial parameters of an arc image according to claim 1, characterized in that: The S2 specifically includes the following steps: S2-1. Use the Sobel function in the Enhance module of the NI Vision Builder AI processing package to perform edge detection on the arc image and identify, segment, and extract the arc contour. S2-2. Use the Count Pixels function in the Check for module of the NI Vision Builder AI processing package to count the location and quantity information of all arc edge pixels.
4. The method for calculating radial parameters of an arc image according to claim 1, characterized in that: In S3-1, the interval of the Max Caliper function is set to 5, and the edge strength is set to 128; in S3-2, the interval of the Caliper function is set to 5, the minimum length is set to 1, and the edge strength is set to 128.
5. The method for calculating the radial parameters of an arc image according to claim 1, characterized in that: The contact has a diameter of 78 mm.
Citation Information
Patent Citations
Method and device for detecting movement speed of vacuum switch contact
CN114066928A
Image processing method, device and equipment for detecting width of molten pool in real time and storage medium
CN115018816A