A composite insulator creepage distance measurement method and device based on optical scanning

Through optical scanning technology and laser distance measurement, the problem of low accuracy of traditional measurement methods is solved, and high-precision measurement of composite insulator creepage distance is realized. It is suitable for measuring surface profiles of irregular equipment, providing a fast and reliable solution.

CN117368934BActive Publication Date: 2024-12-13GUANGZHOU GUANGHUA ZHIDIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311139280.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-05
Publication Date
2024-12-13
Estimated Expiration
2043-09-05

AI Technical Summary

Technical Problem

The traditional composite insulator creepage distance measurement method has the problems of high measurement difficulty, long measurement time and low measurement accuracy, and it is impossible to accurately evaluate the irregular contour and creepage distance of the insulator surface.

Method used

Using an optical scanning method, two laser displacement sensors are used to obtain measurement data, establish a plane rectangular coordinate system, fuse coordinate data, calculate the creepage distance of the insulator, and use laser distance measurement technology to achieve non-contact accurate measurement.

Benefits of technology

It provides a high-precision, fast and reliable creepage distance measurement method, which is suitable for measuring the surface profile of irregular equipment, avoiding the uncertainty and error of contact measurement and improving measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117368934B_ABST
    Figure CN117368934B_ABST
Patent Text Reader

Abstract

The present application discloses a composite insulator creepage distance measurement method and device based on optical scanning, the method comprising: obtaining measurement data of two laser displacement sensors; the measurement data includes the position of the laser point; wherein, the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of another laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor; establishing a plane rectangular coordinate system; determining the coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fusing the coordinate data corresponding to the two laser displacement sensors to obtain fused data; and calculating the creepage distance of the insulator according to the fused data. The present application can improve the measurement accuracy of the creepage distance of the insulator, and can be widely used in the technical field of measuring the creepage distance of the insulator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of measuring creepage distance of insulators, and in particular to a method and device for measuring creepage distance of composite insulators based on optical scanning. Background Art

[0002] In recent years, with the rapid development of industry, agriculture and transportation road construction, the demand for electricity has increased, the scale of power grids has continued to expand, the number of AC and DC power grids has continued to increase, and the voltage level of power system transmission lines has continued to increase. In particular, the ultra-high voltage and ultra-high voltage AC and DC transmission systems that have been vigorously developed in recent years have led to a large number of electrical equipment and composite insulators being used in power transmission and transformation systems. Composite insulators have the following advantages over porcelain and glass insulators: high strength and resistance to breakage, good seismic performance; light weight, easy transportation and installation; excellent resistance to pollution flashover and wet flashover; no need to clean, reducing operation and maintenance costs. In my country, the design and manufacturing technology of composite insulators has now entered a mature stage. More and more power users and experts prefer to use composite insulators to build or improve electrical facilities, especially for large porcelain components for high-voltage electrical equipment. The use of composite insulators has good economic benefits and technical advantages. The silicone rubber jacket is the outer insulation part of the composite insulator. Its function is to make the composite insulator have sufficiently high external insulation performance against wet flashover and pollution flashover, and protect the glass fiber winding tube from atmospheric invasion. The processing technology of silicone rubber jackets has developed from the original single-umbrella molding and bonding process to the now commonly used overall injection molding process. The manufacturing efficiency of silicone rubber jackets has been improved by at least 5 times, and the appearance quality has been significantly improved.

[0003] Surface flashover is a manifestation of the loss of insulation performance of the external insulation of the insulator. Once a pollution flashover accident occurs, it will directly lead to a large-scale power outage in the power grid, and sometimes even cause the collapse of the power grid system, seriously affecting the safe operation of the power system. The consequences it brings to various fields of industrial and agricultural production are difficult to count. The occurrence of pollution flashover is closely related to the shape of the insulator itself and the creepage distance. Creepage distance is a must-measure item in the sampling test and acceptance test dimensional inspection of composite insulators. The large and small sheds of composite insulators are designed to increase their creepage distance. Under the same voltage level, if the creepage distance of the composite insulator is too short, it will cause leakage flashover, and if the creepage distance is too long, it will cause the shed spacing to decrease. Under the influence of the natural environment, pollution flashover and ice flashover are prone to occur, so the creepage distance sampling inspection of composite insulators is very important.

[0004] However, the traditional creepage distance measurement method is a contact measurement method using a leather tape measure, masking tape, or metal wire. The principle is to place such soft materials close to the surface of the insulator along the creepage distance path, and to indirectly measure the creepage distance by measuring the length of such materials after they are straightened. This method has the limitations of great measurement difficulty, long measurement time, and low measurement accuracy. Summary of the invention

[0005] In view of this, the present application provides a composite insulator creepage distance measurement method and device based on optical scanning to improve the measurement accuracy of the insulator creepage distance.

[0006] One aspect of the present application provides a composite insulator creepage distance measurement method based on optical scanning, comprising:

[0007] Acquire measurement data of two laser displacement sensors; the measurement data includes the position of the laser point; wherein the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of the other laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor;

[0008] Establish a plane rectangular coordinate system;

[0009] Determine coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fuse the coordinate data corresponding to the two laser displacement sensors to obtain fused data;

[0010] The creepage distance of the insulator is calculated according to the fused data.

[0011] Optionally, the obtaining of measurement data of two laser displacement sensors includes:

[0012] Obtain the output distance value of each laser displacement sensor and the angle with the horizontal plane;

[0013] Obtain the rotation center distance between two laser displacement sensors;

[0014] Get the displacement value of the encoder.

[0015] Optionally, determining coordinate data corresponding to the measurement data in the plane rectangular coordinate system includes:

[0016] Calibrate the output distance value, the angle, the rotation center distance and the displacement value;

[0017] The coordinates corresponding to the position of each laser point after calibration in the plane rectangular coordinate system are determined as coordinate data.

[0018] Optionally, before fusing the coordinate data corresponding to the two laser displacement sensors to obtain fused data, the method further includes:

[0019] For the coordinates of each laser point corresponding to each laser displacement sensor in the plane rectangular coordinate system, calculate the coordinate distance between two adjacent coordinates;

[0020] If the coordinate distance is greater than a preset threshold distance, the two adjacent coordinates are excluded to obtain new coordinate data.

[0021] Optionally, fusing the coordinate data corresponding to the two laser displacement sensors to obtain fused data includes:

[0022] For each coordinate corresponding to each laser displacement sensor, the coordinate of the last fusion point is selected as the center coordinate; the fusion point is obtained by fusing the data points collected by the left and right sensors;

[0023] Using the center coordinates of the circle as a circle with a set radius, determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle;

[0024] If the coordinates of the next laser points corresponding to the two laser displacement sensors are respectively within the corresponding circles, the laser point with the smallest horizontal coordinate is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal;

[0025] If the coordinates of the next laser point corresponding to only one laser displacement sensor are within the corresponding circle, the laser point within the circle is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal;

[0026] If the coordinates of the next laser points corresponding to the two laser displacement sensors are not in the corresponding circle, the set radius is increased to obtain a larger circle, and it is determined again whether the coordinates of the next laser point of the circle center coordinates are within the larger circle; if the coordinates of the laser point exist within the larger circle, the corresponding steps are executed according to the number of coordinates of the laser points within the larger circle; if there are still no coordinates of the laser point within the larger circle, an error is reported.

[0027] Optionally, determining the fused data according to the coordinates obtained after the traversal includes:

[0028] The coordinates of the same laser point of the two laser displacement sensors are taken as a coordinate pair, and coordinate fusion is performed according to the distances of the two coordinates in each coordinate pair to the horizontal axis and the distances to the vertical axis. After all coordinate pairs are fused, multiple fused coordinates are obtained as fused data.

[0029] Optionally, calculating the creepage distance of the insulator according to the fused data includes:

[0030] Calculating the distance between all two adjacent fusion coordinates in the fusion data;

[0031] The calculated distances of all adjacent fused coordinates are summed to obtain the creepage distance of the insulator.

[0032] Another aspect of the present application further provides a composite insulator creepage distance measuring device based on optical scanning, comprising:

[0033] The first unit is used to obtain measurement data of two laser displacement sensors; the measurement data includes the position of the laser point; wherein the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of the other laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor;

[0034] The second unit is used to establish a plane rectangular coordinate system;

[0035] The third unit is used to determine the coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fuse the coordinate data corresponding to the two laser displacement sensors to obtain fused data;

[0036] The fourth unit is used to calculate the creepage distance of the insulator according to the fused data.

[0037] Another aspect of the present application also provides an electronic device, including a processor and a memory;

[0038] The memory is used to store programs;

[0039] The processor executes the program to implement the method described.

[0040] Another aspect of the present application further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the method described.

[0041] The present application also discloses a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above method.

[0042] Beneficial effects:

[0043] 1) This application adopts a composite insulator creepage distance measurement method using laser scanning, and uses laser ranging as a non-contact measurement technology to provide an accurate, fast and reliable distance measurement method, which can be applied to the measurement of various irregular equipment surface profiles without emission, and has extremely high accuracy. 2) This application adopts a laser scanning method, which can measure the distance of the composite insulator surface by emitting a laser beam and receiving the light reflected back. This non-contact measurement method does not require direct contact with the composite insulator, avoiding the uncertainty and measurement error caused by the straightening process of the contact material in the traditional contact measurement method. 3) The advantage of the laser ranging technology used in this application is that it can provide accurate distance measurement results and has a fast measurement speed. By using a laser scanning instrument, the irregular profile of the composite insulator surface can be measured with high precision. This is crucial for creepage distance measurement, because it requires accurate measurement of the distance on the insulator surface to evaluate its withstand voltage capability. 4) In addition, the laser ranging technology used in this application can also meet the measurement needs of various irregular equipment surfaces. Whether it is a flat surface or a curved surface, laser scanning can accurately measure its contour, and has extremely high accuracy in measurement. In summary, this application uses a composite insulator creepage distance measurement method using laser scanning, and with the help of the accuracy, rapidity and reliability of laser ranging technology, it achieves accurate measurement of the surface contour of irregular equipment, providing a high-precision solution for creepage distance measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A schematic diagram of a flow chart of a composite insulator creepage distance measurement method based on optical scanning provided in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a host computer displaying the creepage distance of a composite insulator provided in an embodiment of the present application;

[0047] Figure 3 A structural block diagram of a composite insulator creepage distance measurement device based on optical scanning provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.

[0050] The terms "first", "second", etc. in the specification and claims and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Moreover, the terms "comprises", "comprising", or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further limitations, an element limited by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0052] Reference Figure 1 The embodiment of the present application provides a composite insulator creepage distance measurement method based on optical scanning, including steps S100 to S130, which are as follows:

[0053] S100: Acquire measurement data of two laser displacement sensors; the measurement data include the position of the laser point; wherein, the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of the other laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor.

[0054] First, the application subject of the method of the present application is explained. The method of the present application can be applied to equipment or devices with data calculation functions, such as a single-chip microcomputer, a host computer, a PC host and a server. For example, the present application takes a single-chip microcomputer as an example for explanation. More specifically, the single-chip microcomputer can be an STM32 single-chip microcomputer.

[0055] Furthermore, the STM32 microcontroller can be used to collect the measurement data of the two laser displacement sensors, and S100 can include:

[0056] Obtain the output distance value of each laser displacement sensor and the angle with the horizontal plane;

[0057] Obtain the rotation center distance between two laser displacement sensors;

[0058] Get the displacement value of the encoder.

[0059] Specifically, the STM32 microcontroller is used to collect the distance value L output by the laser sensor on the left side. L , the laser sensor on the right outputs the distance value L R , the angle between the left laser sensor and the horizontal plane is θ L , the angle between the right laser sensor and the horizontal plane is θ R , encoder displacement increment NUM, the rotation center distance D of the two laser displacement sensors, the above data can be used to establish a rectangular coordinate system, and then calculate the creepage distance of the composite insulator. For the sake of simplicity, the laser displacement sensor can be referred to as a sensor or a laser sensor.

[0060] S110: Establish a plane rectangular coordinate system.

[0061] Specifically, take the left and right laser sensors as planes, the left laser sensor as the origin when the power is turned on, the moving direction (rightward) as the X-axis, the direction from the insulator to the laser sensor as the Y-axis, establish a rectangular coordinate system, and the sensor moves to the right.

[0062] S120: Determine coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fuse the coordinate data corresponding to the two laser displacement sensors to obtain fused data.

[0063] Furthermore, the step of determining the coordinate data corresponding to the measurement data in the plane rectangular coordinate system may include:

[0064] The output distance value, the angle, the rotation center distance and the displacement value are calibrated; and the coordinates corresponding to the position of each laser point in the plane rectangular coordinate system after calibration are determined as coordinate data.

[0065] Specifically, in the recorded measurement data, determine the last distance value L output by the left laser sensor L , the laser sensor on the right outputs the distance value L R , the angle between the left laser sensor and the horizontal plane is θ L , the angle between the right laser sensor and the horizontal plane is θ R .

[0066] In the recorded measurement data, the left laser sensor outputs the distance value L L1 , the laser sensor on the right outputs the distance value L R1 , the angle between the left and right laser sensors and the horizontal plane remains unchanged, the encoder displacement increases by NUM, and when the laser rotates, the distance D between the rotation centers of the two sensors will change and be recorded as DK.

[0067] Record the coordinates of the left and right laser points as C L (x1,y1),C R (x2,y2).

[0068] Then the calculation relationship of x1, y1, x2, y2 is obtained as follows:

[0069] x1=NUM+(L L -L L1 )*cosθ L

[0070] y1=(L L -L L1 )*sinθ L

[0071] x2=NUM+D-(L R +L R1 )*cosθ R +DK

[0072] y2=(L R -L R1 )*sinθ R ;

[0073] The timer is used to determine whether the encoder has carried a position. If a carry occurs, the variable is increased by one, and if a debit occurs, the variable is decreased by one. This variable is the actual encoder position. The sensor is calibrated. Calibration is to store the encoder position of one meter in the microcontroller memory. Then the relationship for obtaining the encoder displacement increment NUM is as follows:

[0074]

[0075] Where T represents one meter distance, B represents one meter encoder position, NUM is the increment NUM, and RB represents the actual encoder position.

[0076] Take out seven coordinate points from the data stored in the left laser sensor, and determine whether the vertical coordinate of the fourth point is the maximum value of the seven points. If not, move the coordinate point to the right. If it is, then record the horizontal coordinate A of this point. Repeat this three times to obtain the three points with the largest horizontal coordinates of the left laser sensor A, B, and C. Similarly, the three points with the largest horizontal coordinates of the right laser sensor a, b, and c can be obtained. Then DK = ((Aa) + (Bb) + (Cc)) / 3, where DK is the change in the distance between the rotation centers of the two sensors.

[0077] Furthermore, before the step of fusing the coordinate data corresponding to the two laser displacement sensors to obtain fused data, the method may further include:

[0078] For the coordinates of each laser point corresponding to each laser displacement sensor in the plane rectangular coordinate system, the coordinate distance between two adjacent coordinates is calculated; if the coordinate distance is greater than a preset threshold distance, the two adjacent coordinates are excluded to obtain new coordinate data.

[0079] Specifically, interference will be generated at the jump points where the laser jumps from the top of the shed to the bottom of the insulator and from the bottom of the insulator to the top of the shed, thereby collecting one or two jump interference points that are seriously inconsistent with the actual contour. In places where individual sheds have serious reflections, there will be individual points that cause the laser to exceed the range, and it is necessary to filter out unnecessary interference points. Therefore, this embodiment can calculate the coordinate distance between the current point and the front and rear points. If it exceeds a certain threshold, such as 3 cm or 5 cm, it proves that the current point and the front and rear points are discontinuous, and the interference points are filtered out.

[0080] The reason why two laser sensors are needed in this embodiment is that when using one laser displacement sensor, the theoretical error value converges when the number of segmentation points reaches a certain area, the error does not change linearly with the increase of the segmentation point value, and a single laser sensor cannot scan the entire surface contour of the insulator.

[0081] Furthermore, the step of fusing the coordinate data corresponding to the two laser displacement sensors to obtain fused data may include:

[0082] For each coordinate corresponding to each laser displacement sensor, the coordinate of the last fusion point is selected as the center coordinate; the fusion point is obtained by fusing the data points collected by the left and right sensors;

[0083] Using the center coordinates of the circle as a circle with a set radius, determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle;

[0084] If the coordinates of the next laser points corresponding to the two laser displacement sensors are respectively within the corresponding circles, the laser point with the smallest horizontal coordinate is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal;

[0085] If the coordinates of the next laser point corresponding to only one laser displacement sensor are within the corresponding circle, the laser point within the circle is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal;

[0086] If the coordinates of the next laser points corresponding to the two laser displacement sensors are not in the corresponding circle, the set radius is increased to obtain a larger circle, and it is determined again whether the coordinates of the next laser point of the circle center coordinates are within the larger circle; if the coordinates of the laser point exist within the larger circle, the corresponding steps are executed according to the number of coordinates of the laser points within the larger circle; if there are still no coordinates of the laser point within the larger circle, an error is reported.

[0087] Specifically, the last fusion point is the center of the circle (the last fusion point is the point fused from one of the left and right lasers last time, obtained in the same way as the following steps), and one is taken from the data of the left and right stored laser sensors to set the radius. For example, a circle is drawn with a radius of r = 5 mm, and the distance L from the unfused point to the center of the circle is calculated. L (the distance from the left laser sensor storage point to the center of the circle), L R The relationship between (the distance from the right laser sensor storage point to the center of the circle) and the radius r is judged; if both points are in the circle: the one with the smaller x coordinate is the next fusion point; if only one point is in the circle: the point in the circle is the next fusion point; if both points are outside the circle: the set radius of the circle is changed to r=10mm, and the position of the two points and the center of the circle is judged again. If neither is there, an error is reported. Among them, the left and right laser sensors, the first collected data are fused first (in this embodiment, the test direction is to the right, so the left laser sensor data is the first point to form a complete insulator creepage distance, and this point is the first fusion point), and because this embodiment can also filter out interference points, each point can be successfully fused.

[0088] Furthermore, the step of determining the fused data according to the coordinates obtained after the traversal may include:

[0089] The coordinates of the same laser point of the two laser displacement sensors are taken as a coordinate pair, and coordinate fusion is performed according to the distances of the two coordinates in each coordinate pair to the horizontal axis and the distances to the vertical axis. After all coordinate pairs are fused, multiple fused coordinates are obtained as fused data.

[0090] Specifically, the fusion rules may include: the switching of the left and right lasers (one laser cannot collect all points of the insulator creepage distance, there will definitely be blind spots that cannot be collected, so two laser sensors are used. The purpose of the switching is to fuse all points of the two laser sensors into all points of the insulator creepage distance. The left one collects this part, and the right one collects another part. Some places overlap, so it is necessary to switch the data collected by the left and right lasers to form a complete insulator creepage distance) conditions: the current fusion point has not undergone a mutation, for example, the two fusion points are both within a circle with a radius of r, and the previous fusion point is taken from the left memory. If the X-axis coordinate of the point in the left memory is greater than the X-axis coordinate of the point in the right memory, then it proves that the fusion point has undergone a mutation, otherwise, no mutation has occurred.

[0091] Record the coordinates of the left laser storage point L(X L , Y L ), the coordinates of the right laser storage point of this fusion R(X R , Y R ), the coordinates of the previous fusion point D(X, Y), the distance between the previous fusion point and the left laser storage point L L , the distance between the last fusion point and the right laser storage point is L R , the X-axis distance D between the previous fusion point and the left laser storage point L , the X-axis distance D between the previous fusion point and the right laser storage point R , the distance D between the left and right laser storage points LR , the Y-axis distance DY between the left and right laser storage points.

[0092] When the current fusion point and storage point do not change suddenly, if the left and right laser sensors are switched, the coordinates of the next fusion point are:

[0093] D((X L +X R ) / 2,(Y L +Y R ) / 2);

[0094] If the left and right laser sensors do not switch, the coordinates of the next fusion point are:

[0095] If D L <D R ,D(X L ,Y L )

[0096] If DL >D R ,D(X R ,Y R );

[0097] When the fusion point and storage point suddenly change, and DY is greater than 10cm, it proves that the laser storage point is no longer the data required by this step, but belongs to the data of the previous fusion point. LR As a filtering condition, for example, when it is less than 5 cm, it can be said that the previous data has been filtered out in this step, and then the fusion can be continued.

[0098] Finally, all the data from the left and right laser sensors are fused.

[0099] S130: Calculate the creepage distance of the insulator according to the fused data.

[0100] Further, S130 may include:

[0101] Calculating the distance between all two adjacent fusion coordinates in the fusion data;

[0102] The calculated distances of all adjacent fused coordinates are summed to obtain the creepage distance of the insulator.

[0103] Specifically, the steps of calculating the creepage distance of the composite insulator may include:

[0104] All collected data are integrated and stored in the array D(X,Y). At this time, this array includes all the data of the surface profile of the composite insulator. The distance between all two adjacent points is calculated and then summed to obtain the creepage distance S of the insulator. The calculation expression is:

[0105] ΔX=X i+1 -X i

[0106] ΔY=Y i+1 -Y i

[0107]

[0108] Where i represents the i-th point and N represents the total number of all points.

[0109] In order to facilitate a clearer understanding of the present application, the technical effects of the present application will be illustrated with specific examples below.

[0110] Reference Figure 2 , this embodiment provides a schematic diagram of a host computer displaying the creepage distance of a composite insulator.

[0111] Specifically, this embodiment can realize the measurement of the creepage distance of the composite insulator, upload it to the screen of the display device or the screen of the host computer, and then display the creepage distance. The technician can judge whether the composite insulator meets the production needs based on the schematic diagram of the creepage distance. Experiments have proved that the present application can not only measure the creepage distance of the insulator, but also realize the measurement of the irregular surface contour of the equipment without emission, and has extremely high accuracy.

[0112] Reference Figure 3 The present application embodiment provides a composite insulator creepage distance measuring device based on optical scanning, comprising:

[0113] The first unit is used to obtain measurement data of two laser displacement sensors; the measurement data includes the position of the laser point; wherein the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of the other laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor;

[0114] The second unit is used to establish a plane rectangular coordinate system;

[0115] The third unit is used to determine the coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fuse the coordinate data corresponding to the two laser displacement sensors to obtain fused data;

[0116] The fourth unit is used to calculate the creepage distance of the insulator according to the fused data.

[0117] The specific implementation of the creepage distance measurement device is substantially the same as the specific implementation of the above-mentioned creepage distance measurement method, and will not be described in detail herein.

[0118] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above creepage distance measurement method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc. Specifically, the electronic device can be a user terminal or a server.

[0119] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned creepage distance measurement method is implemented.

[0120] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0121] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction so that the electronic device executes Figure 1 The method shown.

[0122] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.

[0123] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.

[0124] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0125] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0126] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0127] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0128] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0129] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

[0130] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the described embodiments. Technical personnel familiar with the field may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A composite insulator creepage distance measurement method based on optical scanning, characterized in that: include: Acquire measurement data of two laser displacement sensors; the measurement data includes the position of the laser point; wherein the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of the other laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor; Establish a plane rectangular coordinate system; Determine coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fuse the coordinate data corresponding to the two laser displacement sensors to obtain fused data; The coordinate data corresponding to the two laser displacement sensors are fused to obtain fused data, including: For each coordinate corresponding to each laser displacement sensor, the coordinate of the last fusion point is selected as the center coordinate; the fusion point is obtained by fusing the data points collected by the left and right sensors; Using the center coordinates of the circle as a circle with a set radius, determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle; If the coordinates of the next laser points corresponding to the two laser displacement sensors are respectively within the corresponding circles, the laser point with the smallest horizontal coordinate is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal; If the coordinates of the next laser point corresponding to only one laser displacement sensor are within the corresponding circle, the laser point within the circle is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal; If the coordinates of the next laser points corresponding to the two laser displacement sensors are not in the corresponding circle, the set radius is increased to obtain a larger circle, and it is determined again whether the coordinates of the next laser point of the circle center coordinates are in the larger circle; if the coordinates of the laser point exist in the larger circle, the corresponding steps are performed according to the number of coordinates of the laser points in the larger circle; if there are still no coordinates of the laser point in the larger circle, an error is reported; The step of determining the fused data according to the coordinates obtained after the traversal includes: The coordinates of the same laser point of the two laser displacement sensors are regarded as a coordinate pair, and coordinate fusion is performed according to the distances of the two coordinates in each coordinate pair to the horizontal axis and the distances to the vertical axis. After all the coordinate pairs are fused, multiple fused coordinates are obtained as fused data; The creepage distance of the insulator is calculated according to the fused data.

2. The method for measuring creepage distance of composite insulators based on optical scanning according to claim 1, characterized in that: The obtaining of measurement data of two laser displacement sensors includes: Obtain the output distance value of each laser displacement sensor and the angle with the horizontal plane; Obtain the rotation center distance between two laser displacement sensors; Get the displacement value of the encoder.

3. The method for measuring creepage distance of composite insulators based on optical scanning according to claim 2, characterized in that: The determining of coordinate data corresponding to the measurement data in the plane rectangular coordinate system comprises: Calibrate the output distance value, the angle, the rotation center distance and the displacement value; The coordinates corresponding to the position of each laser point after calibration in the plane rectangular coordinate system are determined as coordinate data.

4. The method for measuring creepage distance of composite insulators based on optical scanning according to claim 1, characterized in that: Before fusing the coordinate data corresponding to the two laser displacement sensors to obtain fused data, the method further includes: For the coordinates of each laser point corresponding to each laser displacement sensor in the plane rectangular coordinate system, calculating the coordinate distance between two adjacent coordinates; If the coordinate distance is greater than a preset threshold distance, the two adjacent coordinates are excluded to obtain new coordinate data.

5. The method for measuring creepage distance of composite insulators based on optical scanning according to claim 1, characterized in that: The step of calculating the creepage distance of the insulator according to the fused data comprises: Calculating the distance between all two adjacent fusion coordinates in the fusion data; The calculated distances of all adjacent fused coordinates are summed to obtain the creepage distance of the insulator.

6. A composite insulator creepage distance measuring device based on optical scanning, characterized in that: include: The first unit is used to obtain measurement data of two laser displacement sensors; the measurement data includes the position of the laser point; wherein the forward direction is specified to be the right side of the insulator, and the laser displacement sensor in the forward direction moves to collect data, serving as the right sensor; the moving direction of the other laser displacement sensor is the opposite direction of the forward direction, and the other laser displacement sensor moves to collect data, serving as the left sensor; The second unit is used to establish a plane rectangular coordinate system; The third unit is used to determine the coordinate data corresponding to the measurement data in the plane rectangular coordinate system, and fuse the coordinate data corresponding to the two laser displacement sensors to obtain fused data; The coordinate data corresponding to the two laser displacement sensors are fused to obtain fused data, including: For each coordinate corresponding to each laser displacement sensor, the coordinate of the last fusion point is selected as the center coordinate; the fusion point is obtained by fusing the data points collected by the left and right sensors; Using the center coordinates of the circle as a circle with a set radius, determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle; If the coordinates of the next laser points corresponding to the two laser displacement sensors are respectively within the corresponding circles, the laser point with the smallest horizontal coordinate is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal; If the coordinates of the next laser point corresponding to only one laser displacement sensor are within the corresponding circle, the laser point within the circle is used as the next fusion point, and the coordinates of the fusion point are used as the new center coordinates of the circle, and the step of drawing a circle with the center coordinates of the circle as the set radius and determining whether the coordinates of the next laser point of the center coordinates of the circle are within the circle is executed until all the coordinates corresponding to the two laser displacement sensors are traversed, and the fusion data is determined according to the coordinates obtained after the traversal; If the coordinates of the next laser points corresponding to the two laser displacement sensors are not in the corresponding circle, the set radius is increased to obtain a larger circle, and it is determined again whether the coordinates of the next laser point of the circle center coordinates are in the larger circle; if the coordinates of the laser point exist in the larger circle, the corresponding steps are performed according to the number of coordinates of the laser points in the larger circle; if there are still no coordinates of the laser point in the larger circle, an error is reported; The step of determining the fused data according to the coordinates obtained after the traversal includes: The coordinates of the same laser point of the two laser displacement sensors are regarded as a coordinate pair, and coordinate fusion is performed according to the distances of the two coordinates in each coordinate pair to the horizontal axis and the distances to the vertical axis. After all the coordinate pairs are fused, multiple fused coordinates are obtained as fused data; The fourth unit is used to calculate the creepage distance of the insulator according to the fused data.

7. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 5.