Matching method, device and medium for testing GIS partial discharge sensors
Through the distance measuring assembly and display prompts on the bracket, the UHF sensor in the GIS device is automatically matched, which solves the problem of low detection sensitivity caused by the matching difference between the basin insulator and the sensor, and improves matching efficiency and accuracy.
Patent Information
- Application Number
- CN202411288101.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-09-14
AI Technical Summary
The matching difference between UHF sensors and basin insulators in existing GIS equipment leads to low detection sensitivity, affecting the normal operation of the transformer, and it is difficult for basin insulators of different specifications to match suitable UHF sensors.
Multiple through holes on the bracket are used for distance measurement, distance detection and image recognition are detected by ultrasonic sensors and cameras, reference curves are constructed to determine the shape of the sensing surface, automatically match the target UHF sensor, and visual prompts are performed through the display.
It improves the matching and installation efficiency of UHF sensors, ensures the accuracy and sensitivity of detection signals, and simplifies the installation process.
Smart Images

Figure CN118795302B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent power equipment, and in particular to a matching method, a device and a medium for a sensor used to test GIS partial discharge. Background Art
[0002] Gas insulated switchgear (GIS) is a commonly used device in transformers. GIS equipment may have partial discharge during use, affecting the normal operation of the transformer. In the 110KV and above GIS equipment currently in operation, the ground knife insulation sheet usually uses an exposed and unwrapped metal shielded basin insulator. Usually, an external ultra-high frequency (UHF) sensor is installed on the outer surface of the basin insulator. The UHF sensor detects the electromagnetic wave signal radiated by the GIS partial discharge to ensure the safe operation of the transformer.
[0003] The outer surface of the pot insulator is an arc surface. If the sensing surface of the UHF sensor does not match the outer arc of the pot insulator, or the central sensing surface of the UHF sensor cannot be aligned with the center position of the pot insulator, the sensitivity of the coupled UHF signal will be very low, affecting normal detection. This requires that the sensing surface of the UHF sensor be set to an arc surface and be able to fit closely to the outer surface of the pot insulator.
[0004] However, the length and thickness of the outer arc of pot insulators of different specifications are different. The larger the size of the pot insulator, the smaller the curvature of the UHF sensor contact surface, and vice versa. If the pot insulator and the UHF sensor are not provided by the same supplier, the installer cannot determine the compatible UHF sensor and can only test-install the UHF sensor model by model. If the matching difference between the outer arc surface of the pot insulator and the sensing surface of the UHF sensor is relatively subtle, it is difficult to see with the human eye, which affects subsequent use. Summary of the invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a matching method, device, and medium for testing sensors for GIS partial discharge, which can automatically determine the target UHF sensor to be adapted, and provide visual prompts through a display to improve the matching efficiency and accuracy of the UHF sensor.
[0006] In a first aspect, an embodiment of the present invention provides a matching method for a sensor for testing GIS partial discharge, which is applied to a reference UHF sensor, wherein the reference UHF sensor is mounted on a bracket, and the bracket is mounted on a pot-type insulator. The front of the reference UHF sensor is a sensing surface, a display is provided on the back, and a movable ranging component is provided on the upper side, wherein the ranging component includes a camera and an ultrasonic sensor, and the moving range of the ranging component corresponds to the two ends of the sensing surface. A horizontal bar is provided on the inner side of the bracket, and the horizontal bar is provided with a first through hole and a second through hole arranged transversely and having different shapes, and the sensing surface abuts against the pot-type insulator, and the ranging component is aligned with the horizontal bar, and the method includes:
[0007] Move the distance measuring component, record the first horizontal coordinate of the ultrasonic sensor when the first through hole is detected, detect the first distance value by the ultrasonic sensor, record the second horizontal coordinate of the ultrasonic sensor when the second through hole is detected, and detect the second distance value by the ultrasonic sensor, wherein the origin of the horizontal coordinate is aligned with the center point of the sensing surface;
[0008] Determine a first coordinate point in a preset reference curve based on the first horizontal coordinate, longitudinally move the reference curve so that the vertical coordinate value of the first coordinate point is the first distance value, and determine a second coordinate point in the moved reference curve based on the second horizontal coordinate, wherein the reference curve is used to characterize the shape of the cross section of the sensing surface;
[0009] When the ordinate value of the second coordinate point is equal to the second distance value, determining the reference UHF sensor as the target UHF sensor;
[0010] When the ordinate value of the second coordinate point is not equal to the second distance value, based on a first difference between the first distance value and the second distance value, determining a target UHF sensor from a preset target mapping table, wherein the target mapping table records a mapping relationship between the first difference and an optional UHF sensor;
[0011] Target prompt information is displayed through the display, wherein the target prompt information is used to indicate the target UHF sensor.
[0012] According to some embodiments of the present invention, an indicator light is further provided on the back of the reference UHF sensor, and target prompt information is displayed through the display, including:
[0013] When the ordinate value of the second coordinate point is equal to the second distance value, the indicator light is controlled to be displayed in a preset first style, and the preset first prompt information is determined as the target prompt information, wherein the first prompt information is used to indicate that the reference UHF sensor is adapted to the pot-type insulator;
[0014] When the ordinate value of the second coordinate point is not equal to the second distance value, the indicator light is controlled to be displayed in a preset second style, after the target UHF sensor is determined, the target model information preset by the target UHF sensor is obtained, the target model information and the first difference are determined as the target prompt information, and the indicator light is controlled to be displayed in a preset third style, wherein the first style, the second style and the third style are different from each other;
[0015] When the target UHF sensor cannot be determined based on the target mapping table, the second style is maintained to control the indicator light display, and a preset second prompt message is displayed through the display, wherein the second prompt message is used to indicate a matching abnormality.
[0016] According to some embodiments of the present invention, the first through hole is a square through hole, the second through hole is a circular through hole, a first horizontal coordinate of the ultrasonic sensor is recorded when the first through hole is detected, a first distance value is detected by the ultrasonic sensor, a second horizontal coordinate of the ultrasonic sensor is recorded when the second through hole is detected, and a second distance value is detected by the ultrasonic sensor, comprising:
[0017] Whenever the moving distance of the distance measuring component reaches a preset step value, the camera is started to acquire a real-time image, and graphic recognition is performed based on the real-time image;
[0018] When a right angle is detected from the real-time image, the indicator light is controlled to be displayed in a preset fourth style, the distance measuring component is continuously moved until a complete square is detected from the real-time image, the first horizontal coordinate and the first distance value are obtained, and the indicator light is controlled to be displayed in a preset fifth style;
[0019] When an arc is detected from the real-time image, the indicator light is controlled to be displayed in the fourth style, the distance measuring component is continuously moved until a complete circle is detected from the real-time image, the second horizontal coordinate and the second distance value are obtained, and the indicator light is controlled to be displayed in the fifth style;
[0020] The acquired first horizontal coordinate, the first distance value, the second horizontal coordinate and the second distance value are displayed in real time on the display.
[0021] According to some embodiments of the present invention, the ultrasonic sensor is located in a first direction of the camera, and the camera moves laterally in a second direction, where the second direction is the opposite direction of the first direction. Before acquiring the first horizontal coordinate and the first distance value, or before acquiring the second horizontal coordinate and the second distance value, the method further includes:
[0022] Determining half of a width of a target through hole as a first length based on image recognition, wherein the target through hole is the first through hole or the second through hole;
[0023] Acquire a preset second length and a third length, wherein the second length is half of the imaging width of the camera, and the third length is the distance between the center of the camera and the center of the ultrasonic sensor;
[0024] Subtract the first length from the second length and add the third length to obtain a target offset value;
[0025] The ranging component continues to be moved toward the second direction based on the target offset value.
[0026] According to some embodiments of the present invention, adjustment rails and fixing clips are provided on both sides of the bracket, each of the fixing clips is fixed to the upper and lower sides of the pot-type insulator, and both sides of the reference UHF sensor are installed on the adjustment rails by bolts. After moving the ranging assembly, the method further includes:
[0027] When a target straight line is identified inside the first through hole or the second through hole in the real-time image, a first height value and a second height value are determined, wherein the first height value and the second height value are height values of two ends of the target straight line and a lower edge of the real-time image, respectively;
[0028] Determine a difference between the first height value and the second height value as a first adjustment value, and determine a smaller one of the first height value and the second height value as a second adjustment value;
[0029] First adjustment information is generated based on the first adjustment value, second adjustment information is generated based on the second adjustment value, and the first adjustment information and the second adjustment information are displayed on the display.
[0030] According to some embodiments of the present invention, the horizontal bar is further provided with a third through hole, the shapes of the first through hole, the second through hole and the third through hole are different from each other, the second through hole is located in the middle of the horizontal bar, the first through hole and the third through hole are respectively located on both sides of the second through hole, the distance between the first through hole and the second through hole is not equal to the distance between the third through hole and the second through hole, and based on the first difference between the first distance value and the second distance value, determining the target UHF sensor from a preset target mapping table includes:
[0031] Continue to move the distance measuring component, record a third horizontal coordinate of the ultrasonic sensor when the third through hole is detected, and detect a third distance value by the ultrasonic sensor;
[0032] The target UHF sensor is determined from the target mapping table based on the first difference value and the third distance value.
[0033] According to some embodiments of the present invention, determining the target UHF sensor from the target mapping table based on the first difference value and the third distance value includes:
[0034] determining a second difference value based on the third distance value and the second distance value;
[0035] Acquire the target mapping table, wherein the target mapping table records a mapping relationship between the first difference, the second difference, and the optional UHF sensor;
[0036] The target UHF sensor is determined in the target mapping table based on the first difference and the second difference.
[0037] According to some embodiments of the present invention, detecting the first distance value by the ultrasonic sensor, and detecting the second distance value by the ultrasonic sensor include:
[0038] Continuously collecting multiple first candidate values through the first through hole by using the ultrasonic sensor, arranging the multiple first candidate values in order to obtain a first sequence, and determining a maximum difference value of the multiple first candidate values;
[0039] When the maximum difference value is greater than or equal to a preset difference threshold, an abnormal prompt message is displayed on the display, wherein the abnormal prompt message is used to indicate that the electromagnetic interference is too large and the operation of the ranging component is stopped;
[0040] When the maximum difference value is less than the difference threshold, determining a first difference value between two adjacent first candidate values in the first sequence, taking an average value of a plurality of the first candidate values as the first distance value, and determining an average value of the plurality of the first difference values as a third adjustment value;
[0041] When a second candidate value is detected at the second through hole by the ultrasonic sensor, a sum of the second candidate value and the third adjustment value is determined as the second distance value.
[0042] In a second aspect, an embodiment of the present invention provides a matching device for a sensor for testing GIS partial discharge, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the matching method for sensors for testing GIS partial discharge as described in the first aspect above.
[0043] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a matching device for a sensor for testing GIS partial discharge as described in the second aspect above.
[0044] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the matching method of sensors for testing GIS local discharge as described in the first aspect above.
[0045] The matching method of the sensor for testing GIS partial discharge according to the embodiment of the present invention has at least the following beneficial effects: moving the distance measuring component, recording the first horizontal coordinate of the ultrasonic sensor when the first through hole is detected, detecting the first distance value by the ultrasonic sensor, recording the second horizontal coordinate of the ultrasonic sensor when the second through hole is detected, detecting the second distance value by the ultrasonic sensor, wherein the origin of the horizontal coordinate is aligned with the center point of the sensing surface; determining the first coordinate point in a preset reference curve based on the first horizontal coordinate, longitudinally moving the reference curve so that the vertical coordinate value of the first coordinate point is the first distance value, and determining the second coordinate point in the moved reference curve based on the second horizontal coordinate, wherein the reference curve is used to characterize the shape of the cross section of the sensing surface; when the vertical coordinate value of the second coordinate point is equal to the second distance value, determining the reference UHF sensor as the target UHF sensor; when the vertical coordinate value of the second coordinate point is not equal to the second distance value, determining the target UHF sensor from a preset target mapping table based on the first difference between the first distance value and the second distance value, wherein the target mapping table records the mapping relationship between the first difference value and the optional UHF sensor; displaying the target prompt information through the display, wherein the target prompt information is used to indicate the target UHF sensor. According to the technical solution of the embodiment of the present invention, it is possible to use multiple through holes on the bracket to measure distance to construct a first coordinate point and a second coordinate point, and determine whether the sensing surface and the outer arc surface of the pot-type insulator are consistent based on whether the reference curve after the move includes the second coordinate point. In the case of inconsistency, the adaptive target UHF sensor is automatically matched based on the first difference table lookup, and a visual prompt is given through the display, thereby effectively improving the matching and installation efficiency of the UHF sensor. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 is a schematic diagram of the installation of a reference UHF sensor provided by an embodiment of the present invention;
[0047] Figure 2 is a rear perspective view of a reference UHF sensor provided by one embodiment of the present invention;
[0048] Figure 3 is a flow chart of a matching method for testing sensors for GIS partial discharge provided by another embodiment of the present invention;
[0049] Figure 4 is a schematic diagram of another embodiment of the present invention in which the curvature of the sensing surface is greater than the reference curve;
[0050] Figure 5 is a schematic diagram of another embodiment of the present invention in which the curvature of the sensing surface is smaller than the reference curve;
[0051] Figure 6 is a schematic diagram of a moving distance of an ultrasonic sensor aligned with a through hole center provided by another embodiment of the present invention;
[0052] Figure 7 is a schematic diagram of detecting a target straight line provided by another embodiment of the present invention;
[0053] Figure 8 It is a structural diagram of a matching device for a sensor for testing GIS partial discharge provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0054] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0055] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0056] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0057] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0058] The embodiment of the present invention provides a matching method, device, and medium for testing a sensor for partial discharge in GIS, wherein the matching method for testing a sensor for partial discharge in GIS comprises: moving a distance measuring component, recording a first horizontal coordinate of an ultrasonic sensor when a first through hole is detected, detecting a first distance value by means of the ultrasonic sensor, recording a second horizontal coordinate of the ultrasonic sensor when a second through hole is detected, detecting a second distance value by means of the ultrasonic sensor, wherein the origin of the horizontal coordinate is aligned with the center point of the sensing surface; determining a first coordinate point in a preset reference curve based on the first horizontal coordinate, longitudinally moving the reference curve so that the longitudinal coordinate value of the first coordinate point is the first distance value, and The second coordinate point is determined in the reference curve after the movement at the second horizontal coordinate, wherein the reference curve is used to characterize the shape of the cross section of the sensing surface; when the ordinate value of the second coordinate point is equal to the second distance value, the reference UHF sensor is determined as the target UHF sensor; when the ordinate value of the second coordinate point is not equal to the second distance value, based on the first difference between the first distance value and the second distance value, the target UHF sensor is determined from a preset target mapping table, wherein the target mapping table records the mapping relationship between the first difference and the optional UHF sensor; and the target prompt information is displayed through a display, wherein the target prompt information is used to indicate the target UHF sensor. According to the technical solution of the embodiment of the present invention, it is possible to use multiple through holes on the bracket for distance measurement to construct the first coordinate point and the second coordinate point, determine whether the sensing surface and the outer arc surface of the pot insulator are consistent according to whether the reference curve after the movement includes the second coordinate point, and automatically match the adapted target UHF sensor based on the first difference in the table in the case of inconsistency, and provide a visual prompt through the display, thereby effectively improving the matching and installation efficiency of the UHF sensor.
[0059] First, the hardware structure of this embodiment is described. Figure 1 and Figure 2 , Figure 1 The installation diagram of the reference UHF sensor 1 provided in the embodiment of the present invention is as follows: Figure 2 A rear perspective view of a reference UHF sensor 1 provided in an embodiment of the present invention.
[0060] In this embodiment, the reference UHF sensor 1 is installed on the bracket 2, and the bracket 2 is installed on the pot-type insulator 3. The front of the reference UHF sensor 1 is a sensing surface 15, and a display is provided on the back. A movable ranging component 11 is provided on the upper side. The ranging component 11 includes a camera 112 and an ultrasonic sensor 113. The moving range of the ranging component 11 corresponds to the two ends of the sensing surface 15. A horizontal bar 21 is provided on the inner side of the bracket 2. The horizontal bar 21 is provided with a first through hole 211 and a second through hole 212 that are arranged laterally and have different shapes. The sensing surface 15 abuts against the pot-type insulator 3, and the ranging component 11 is aligned with the horizontal bar 21.
[0061] It should be noted that if Figure 1 As shown, fixing clips 22 are respectively provided at the four top corners of the bracket 2 , and the bracket 2 can be fixedly connected to the basin insulator 3 by the cooperation of the four fixing clips 22 which are clamped on the surface of the basin insulator 3 .
[0062] It should be noted that a horizontal bar 21 is provided on the upper side of the bracket 2 near the pot-type insulator 3, and a plurality of graphic through holes are provided in the horizontal bar 21. In this embodiment, a square first through hole 211, a circular second through hole 212, and a triangular third through hole are used as examples. The second through hole 212 is provided in the middle of the horizontal bar 21. Since the sensing surface 15 and the pot-type insulator 3 are both symmetrical arc surfaces, if the first through hole 211 and the third through hole are symmetrical with the second through hole 212, then the first distance value and the third distance value are the same, and subsequent judgment cannot be performed. Therefore, the first through hole 211 and the third through hole in this embodiment are at different distances from the second through hole 212, for example Figure 1 As shown, the distance between the first through hole 211 and the second through hole 212 is smaller than the distance between the third through hole and the second through hole 212 .
[0063] It should be noted that the bracket 2 is a hollow structure, and the reference UHF sensor 1 can be embedded in the bracket 2 and pass through the bracket 2 to fit the outer arc surface of the pot insulator 3. In this embodiment, adjustment rails 23 are provided on both sides of the bracket 2, and the reference UHF sensor 1 is connected to the adjustment rails 23 by bolts 14, so that the bracket 2 can adapt to UHF sensors of different sizes, and the height of both sides of the reference UHF sensor 1 can be adjusted by the tightness of the bolts 14, thereby improving the installation flexibility.
[0064] It should be noted that the reference UHF sensor 1 of this embodiment is used for fitness identification, and the matching algorithm and related data of this embodiment are deployed in the existing UHF sensor. These algorithms and data have no further effect after being put into use, and the setting of the distance measuring component 11 will increase the hardware cost of the UHF sensor. Therefore, this embodiment does not add relevant components to all UHF sensors, but sets a specific UHF sensor as the reference UHF sensor 1, deploys the matching algorithm and related mapping table in the reference UHF sensor 1, and adds the distance measuring component 11. Although the hardware cost of the reference UHF sensor 1 is increased to a certain extent, a reference UHF sensor 1 can be used for matching any pot-type insulator 3. After determining the target UHF sensor, the reference UHF sensor 1 is removed from the bracket 2, and then a target UHF sensor is installed. Even if the target UHF sensor finally determined is the model corresponding to the reference UHF sensor 1, a UHF sensor without the distance measuring component 11 is taken as the target UHF sensor and installed in the bracket 2 for subsequent use. The reference UHF sensor 1 can be repeatedly used in different pot-type insulators 3, thereby improving the reuse rate and matching efficiency.
[0065] It should be noted that an additional distance measuring component 11 is provided on the upper side of the reference UHF sensor 1. Figure 2 As shown, a fixed connection plate can be provided on the upper side of the reference UHF sensor 1, a driving motor 111 is installed in the connection plate, and the distance measuring component 11 is connected through a driving rod. The height of the distance measuring component 11 is aligned with the horizontal bar 21, so that the distance measuring component 11 moves from one end of the sensing surface 15 to the other end under the driving action of the driving motor 111, ensuring that all through holes are scanned. A camera and an ultrasonic sensor 113 are provided in the distance measuring component 11. The camera is used to capture images. The ultrasonic sensor 113 realizes distance measurement through ultrasonic waves. When the ultrasonic sensor 113 is aligned with the first through hole 211 or the second through hole 212, the distance between the ultrasonic sensor 113 and the pot insulator 3 can be detected through the first through hole 211 or the second through hole 212. The distance measuring component can move in a straight line. This embodiment does not limit the camera and the ultrasonic sensor 113 to be aligned with the sensing surface 15. The distance measuring component is close to or away from the pot insulator 3. It will not affect the implementation of the technical solution of this embodiment. The corresponding values in the mapping table can be adaptively adjusted.
[0066] It should be noted that the sensing surface 15 of the reference UHF sensor 1 is an arc surface, and abuts against the area corresponding to the flange 31 of the pot-type insulator 3 .
[0067] It should be noted that a display 12 and an indicator light 13 are provided on the back of the reference UHF sensor 1, and relevant information can be displayed through the display 12. The indicator light 13 is provided with a variety of different display styles, such as displaying different colors, flashing modes, etc.
[0068] The following is based on Figure 1 and Figure 2 The structure shown is used to further illustrate the technical solution of the embodiment of the present invention.
[0069] Reference Figure 3 , Figure 3 A flowchart of a matching method for a sensor for testing GIS partial discharge is provided in an embodiment of the present invention. The matching method for a sensor for testing GIS partial discharge includes but is not limited to the following steps:
[0070] S10, moving the distance measuring component, recording a first horizontal coordinate of the ultrasonic sensor when the first through hole is detected, detecting a first distance value by the ultrasonic sensor, recording a second horizontal coordinate of the ultrasonic sensor when the second through hole is detected, detecting a second distance value by the ultrasonic sensor, wherein the origin of the horizontal coordinate is aligned with the center point of the sensing surface;
[0071] S20, determining a first coordinate point in a preset reference curve based on the first horizontal coordinate, longitudinally moving the reference curve so that the vertical coordinate value of the first coordinate point is a first distance value, and determining a second coordinate point in the moved reference curve based on the second horizontal coordinate, wherein the reference curve is used to characterize the shape of a cross section of the sensing surface;
[0072] S30, when the ordinate value of the second coordinate point is equal to the second distance value, determining the reference UHF sensor as the target UHF sensor;
[0073] S40, when the ordinate value of the second coordinate point is not equal to the second distance value, based on a first difference between the first distance value and the second distance value, determining a target UHF sensor from a preset target mapping table, wherein the target mapping table records a mapping relationship between the first difference and the optional UHF sensor;
[0074] S50, displaying target prompt information through a display, wherein the target prompt information is used to indicate a target UHF sensor.
[0075] It should be noted that after the reference UHF sensor is mounted on the bracket and started, since the first through hole and the second through hole are fixedly set in the horizontal bar, and the coordinate system is constructed with the center of the sensing surface as the origin, the horizontal coordinates of the first through hole and the second through hole are actually known in advance. In this embodiment, the coordinates corresponding to the center point of the first through hole are used as the first horizontal coordinate, and the coordinates corresponding to the center of the second through hole are used as the second horizontal coordinate. Of course, since the distance between the camera and the ultrasonic sensor is also fixed, the target offset value can be calculated through the following S121 to S124 for movement, and the horizontal coordinates of the position where the ultrasonic sensor performs distance detection can be recorded as the first horizontal coordinate and the second horizontal coordinate.
[0076] It should be noted that if Figure 1 and Figure 4 As shown, this embodiment constructs a rectangular coordinate system based on a horizontal plane, the origin of the coordinate is located on the sensing surface, the left and right directions of the reference UHF sensor 1 are the X-axis, and the vertical direction is the Y-axis, that is, the positive direction of the Y-axis is the direction from the reference UHF sensor 1 to the pot insulator 3 (such as Figure 4 shown from top to bottom).
[0077] For example, Figure 1 As shown, after the reference UHF sensor 1 is installed, the center of the sensing surface 15 is usually located at the center of the bracket 2, the positions of the first through hole 211 and the second through hole 212 are fixed, the first through hole 211 is a square through hole, and the second through hole 212 is a circular through hole, so the first horizontal coordinate is the lateral deviation value of the intersection of the diagonals of the first through hole 211 and the center of the bracket 2, and the second horizontal coordinate is the lateral deviation value of the center of the second through hole 212 and the center of the bracket 2, which can be pre-set in the reference UHF sensor 1.
[0078] It should be noted that the ranging component can be reset and moved to one end of the reference UHF sensor after each startup, and then move end-to-end horizontally to complete scanning and identification; since the shapes of the first through hole and the second through hole are different, the ranging component can also be started from any position for scanning, and the currently scanned through hole is determined by graphic recognition to be the first through hole or the second through hole.
[0079] For example, Figure 1 and Figure 2 As shown, the distance measuring component 11 is reset to the left side of the reference UHF sensor 1, and moves from left to right. The first through hole detected is the first through hole 211, and the second through hole is the second through hole 212. For another example, the distance measuring component 11 moves from the middle of the reference UHF sensor 1 to the left, and the first through hole scanned is identified as a circle, so it is determined to be the second through hole 212, and the relevant data is recorded as the second horizontal coordinate and the second distance value. The next through hole scanned is identified as a square, and is confirmed to be the first through hole 211, and the relevant data is recorded as the first horizontal coordinate and the first distance value.
[0080] It should be noted that the ultrasonic sensor is aligned with the first through hole when detecting the first distance value, so the measured first distance value is the distance value from the ultrasonic sensor to the surface of the pot insulator, and the second distance value is the same. Since the ultrasonic sensor is located on the upper side of the sensing surface, whether the sensing surface is completely attached to the pot insulator will not affect the measurement of the ultrasonic sensor.
[0081] For example, Figure 4 As shown, when the ultrasonic sensor 113 is aligned with the first through hole, the measured first distance value D1 is the straight-line distance from the ultrasonic sensor 113 to the pot insulator 3 , and when the ultrasonic sensor 113 is aligned with the first through hole, the measured second distance value D3 is the straight-line distance from the ultrasonic sensor 113 to the pot insulator 3 .
[0082] It should be noted that the sensing surface of the reference UHF sensor is fixed and known, so the reference curve can be pre-constructed according to the cross-sectional shape of the sensing surface, such as Figure 1 , Figure 4 and Figure 5 As shown, the reference curve of the sensing surface 15 is an arc symmetrical with respect to the Y axis. If the reference UHF sensor 1 matches the pot-type insulator 3, the sensing surface 15 fits the pot-type insulator 3. At this time, the reference curve can actually also characterize the cross-sectional shape of the pot-type insulator 3 adapted to the reference UHF sensor 1. As long as the first distance value and the second distance value can meet the conditions related to the reference curve in this embodiment, it can be determined that the reference UHF sensor matches the pot-type insulator.
[0083] It should be noted that, when the first abscissa and the second abscissa are determined, the corresponding first coordinate point and second coordinate point can be determined on the reference curve. If the sensing surface matches the pot insulator, the two will fit together (in this embodiment, the slight error of the points on the two fitting surfaces in the longitudinal axis direction is not considered for the time being). All the points on the surface of the pot insulator will fall on the reference curve, and the first distance value will be equal to the ordinate value of the first coordinate point. If the sensing surface does not match the pot insulator, since the sensing surface is a symmetric arc, it can be ensured that the installation part of the sensing surface and the pot insulator has the same axis of symmetry. The first distance value and the ordinate value of the first coordinate point will not be equal. However, if the first through hole is relatively close to both ends and the sensing surface is relatively close to the pot insulator, under the condition of certain measurement errors, it may also cause the ordinate value of the first coordinate point to be equal to or approximate to the first distance value, affecting the normal judgment. Therefore, in this embodiment, a second coordinate point is further introduced for secondary judgment to ensure the accuracy of recognition.
[0084] It should be noted that in this embodiment, the reference curve is moved based on the first distance value, which can reduce the measurement error of the ultrasonic sensor. After the reference curve is moved, only a constant is added to the ordinate value of each coordinate point, and the shape of the reference curve will not be affected. At this time, when the second abscissa is brought in to determine the second coordinate point, it can be ensured that the judgment of the second distance value will not be misjudged due to the measurement error of the ultrasonic sensor, and it can also achieve the effect of secondary matching to ensure the judgment accuracy. The second coordinate point and the first coordinate point in this embodiment are not determined based on the same reference curve. The first coordinate point is determined based on the reference curve before movement, and the second coordinate point is determined based on the reference curve after movement. Therefore, the first abscissa and the second abscissa cannot be directly substituted into the same reference curve to determine. The same is true for the following third coordinate point, and it will not be repeated later.
[0085] Exemplarily, after the first abscissa x1 and the second abscissa x2 are determined, the measured first distance value is D1, and the second distance value is D2. The first coordinate point on the reference curve is (x1, y1). If y1 = D1, the reference curve will not move. According to x2, the second coordinate point (x2, y2) is obtained on the moved reference curve. When y2 = D2 is satisfied, it can be determined that the sensing surface of the reference UHF sensor fits the pot insulator, and it is determined as the target UHF sensor.
[0086] Exemplarily, as Figure 4 shown, the curvature of the sensing surface 15 is greater than that of the pot insulator 3. Continuing with the example where the first abscissa is x1 and the second abscissa is x2, the first coordinate point is (x1, y1), then y1 < D1 will be satisfied. At this time, the reference curve moves in the positive direction of the Y axis, and the moving distance is D1 - y1, obtaining Figure 4The reference curve shown by the lower dotted line. At this time, substituting the second abscissa x2 into the reference curve gives the second coordinate point (x2, y2). At this time, y2 < D2, then it can be determined that the induction surface 15 does not match the pot insulator 3. For the case where the curvature of the induction surface 15 is less than that of the pot insulator 3, reference can be made to Figure 5 as shown, y1 > D1, control the reference curve to move up by D1 - y1, and after moving, it satisfies y2 > D2, which will not be repeated here.
[0087] In this embodiment, moving the reference curve using the first coordinate point can not only reduce the measurement error of the ultrasonic sensor, but also determine whether the induction surface and the pot insulator match by whether the moved second coordinate point matches the second distance value. It does not require complex calculations, only need to add or subtract the ordinate constant D1 - y1 in the expression of the reference curve. Compared with manual observation, it has a higher degree of automation and accuracy, improving the matching recognition efficiency.
[0088] It should be noted that when the ordinate value of the second coordinate point is not equal to the second distance value, it is necessary to further determine the target UHF sensor that meets the requirements. When the induction surface and the pot insulator match, they can fit together with each other. Therefore, the arc contour of the induction surface is the same as that of the pot insulator. In two arc surfaces with the same curvature, the difference in the distance values of two points in the same position is fixed, that is, the first difference in this embodiment is related to the curvature of the arc surface. For example, the size of pot insulator A is larger than that of pot insulator B, and the curvature of the contact surface between the reference UHF sensor and pot insulator A is less than that of the contact surface with pot insulator B. When the reference UHF sensor is installed on pot insulator A and pot insulator B through a bracket, the positions of the first through hole and the second through hole depend on the cross bar, so the distance between them is fixed. The first difference determined in pot insulator A is less than the first difference determined in pot insulator B; another example is that pot insulator A and pot insulator C have different models but the same size. Since the distance between the first through hole and the second through hole is fixed, the first difference determined in pot insulator A is equal to the first difference determined in pot insulator C. Based on this, the reference UHF sensor can be used to pre-test in the arc surfaces of different specifications of pot insulators. After obtaining the mapping relationship between different first differences and pot insulators, then determine the UHF sensor known to match the test pot insulator as the available UHF sensor, so as to form the mapping relationship between the first difference and the available UHF sensor, and thus obtain the target mapping table.
[0089] It should be noted that after determining the target UHF sensor by looking up the table, in this embodiment, a display is also provided in the reference UHF sensor, and the target prompt information can be displayed on the display, so as to display the determined target UHF sensor. For example, the model of the UHF sensor can be displayed, which is not limited here.
[0090] In addition, in one embodiment, an indicator light is also provided on the back of the reference UHF sensor, and step S50 specifically includes but is not limited to the following steps:
[0091] S51, when the ordinate value of the second coordinate point is equal to the second distance value, the indicator light is controlled to be displayed in a preset first style, and the preset first prompt information is determined as the target prompt information, wherein the first prompt information is used to indicate that the reference UHF sensor is adapted to the pot-type insulator;
[0092] S52, when the ordinate value of the second coordinate point is not equal to the second distance value, the indicator light is displayed in a preset second style, and after the target UHF sensor is determined, the target model information preset by the target UHF sensor is obtained, the target model information and the first difference are determined as the target prompt information, and the indicator light is displayed in a preset third style, wherein the first style, the second style and the third style are different from each other;
[0093] S53, when the target UHF sensor cannot be determined based on the target mapping table, the second style control indicator light display is maintained, and a preset second prompt message is displayed through the display, wherein the second prompt message is used to indicate a matching abnormality.
[0094] It should be noted that if Figure 1 As shown, in this embodiment, an indicator light is provided on the back of the reference UHF sensor 1, and the indicator light is used to remotely prompt the installer. The installer can determine the current matching status without having to observe the display closely, thereby improving the visualization of the matching process and matching results.
[0095] It should be noted that in step S51, the sensing surface matches the pot-type insulator. At this time, the target prompt information is used to indicate that the reference UHF sensor is adapted to the pot-type insulator. For example, the model of the reference UHF sensor can be displayed, and the indicator light is displayed in the first style. For example, the indicator light is always green. The installer does not need to check the target display information on the display screen, and can also determine that the reference UHF sensor is the target UHF sensor through the indicator light at a longer distance.
[0096] It should be noted that in step S52, if the sensing surface does not match the pot-type insulator, the indicator light is first displayed in the second style, for example, the indicator light is always on yellow, and the installer can determine that the reference UHF sensor does not match based on the always on yellow light when on standby at a distance, and needs to wait for further matching results. After the target UHF sensor is determined according to the method of the above embodiment, the indicator light displays a third style, for example, a flashing green light, and the installer can determine at a distance that the target UHF sensor has been determined and is not the reference UHF sensor, and needs to further check the target model information recorded in the target prompt information from the display to determine the target UHF sensor to be used in the end.
[0097] It should be noted that in step S53, the target mapping table does not record the target UHF sensor and maintains the second style. If the installer observes that the yellow light is on for a long time, he can determine that he needs to go to the display to check and perform subsequent operations under the guidance of the second prompt information. For example, matching can only be performed through manual testing, or the reference UHF sensor is installed in the wrong position, resulting in matching failure.
[0098] In addition, in one embodiment, the first through hole is a square through hole, and the second through hole is a circular through hole, and step S10 specifically includes but is not limited to the following steps:
[0099] S111, whenever the moving distance of the ranging component reaches a preset step value, starting the camera to obtain a real-time image, and performing pattern recognition based on the real-time image;
[0100] S112, when a right angle is detected from the real-time image, the indicator light is controlled to be displayed in a preset fourth style, the distance measuring component is continuously moved until a complete square is detected from the real-time image, a first horizontal coordinate and a first distance value are obtained, and the indicator light is controlled to be displayed in a preset fifth style;
[0101] S113, when an arc is detected from the real-time image, the indicator light is controlled to be displayed in the fourth style, the distance measuring component is continuously moved until a complete circle is detected from the real-time image, a second horizontal coordinate and a second distance value are obtained, and the indicator light is controlled to be displayed in the fifth style;
[0102] S114, displaying the acquired first horizontal coordinate, first distance value, second horizontal coordinate, and second distance value in real time on a display.
[0103] It should be noted that image recognition requires a certain amount of computing time. If image acquisition and image recognition are continuously performed through the camera, it will cause great computing pressure on the reference UHF sensor. This embodiment performs real-time image acquisition after moving a certain distance according to the preset step value, and performs graphic recognition to determine whether the first through hole or the second through hole is currently photographed.
[0104] It should be noted that the first through hole in this embodiment is square and the second through hole is circular, so the through holes can be identified by simple graphic recognition. When a right angle is detected, it is determined to be the first through hole, and when an arc is detected, it is determined to be the second through hole.
[0105] It should be noted that after detecting the first through hole or the second through hole, the indicator light is controlled by the fourth style, so that the installer can determine that the reference UHF sensor has detected a through hole of a specific shape. Before this, the indicator light displays the second style. Taking the normally yellow light as an example, the fourth style may be a yellow light flashing at a slower frequency. When the complete shape is detected, the fifth style may be a yellow light flashing at a faster frequency, thereby prompting the installer that the through hole identification and distance value collection have been completed.
[0106] It should be noted that the present embodiment also displays the first horizontal coordinate, the first distance value, the second horizontal coordinate and the second distance value in real time on the display. The first horizontal coordinate and the second horizontal coordinate can be set in advance and displayed after being obtained from the saved data, or they can be detected after moving according to the following steps S121 to S124. The installer can monitor the current matching status in real time through the display to improve the visualization effect.
[0107] In addition, in one embodiment, the ultrasonic sensor is located in a first direction of the camera, and the camera moves laterally in a second direction, where the second direction is the opposite direction of the first direction. In step S10, before obtaining the first horizontal coordinate and the first distance value, or before obtaining the second horizontal coordinate and the second distance value, the method further includes:
[0108] S121, determining half of the width of the target through hole as a first length based on image recognition, wherein the target through hole is the first through hole or the second through hole;
[0109] S122, obtaining a preset second length and a third length, wherein the second length is half of the imaging width of the camera, and the third length is the distance between the center of the camera and the center of the ultrasonic sensor;
[0110] S123, subtracting the first length from the second length and adding the third length to obtain a target offset value;
[0111] S124, continue to move the distance measurement component in the second direction based on the target offset value.
[0112] It should be noted that the ultrasonic sensor of the present embodiment is arranged in the opposite direction to the moving direction of the camera, that is, when the second direction is the moving direction, the ultrasonic sensor is located behind the camera. When the camera starts to detect the target through hole, the ultrasonic sensor is not aligned with the target through hole. When the real-time image taken includes the complete target through hole, the ultrasonic sensor may also be not aligned with the target through hole, so that the ranging component only needs to move in one direction, thereby improving the moving efficiency of the ranging component. If the ultrasonic sensor is arranged in the second direction of the camera, the ranging component needs to move backward to a certain extent, thereby increasing unnecessary moving distance.
[0113] It should be noted that after identifying the first through hole or the second through hole, since the first through hole and the second through hole in this embodiment are both symmetrical in shape, the midpoint is used as the ranging point, and the position corresponding to the ranging point is used as the first horizontal coordinate and the second horizontal coordinate, which can ensure that each time the reference UHF sensor is used, a fixed first horizontal coordinate and a fixed second horizontal coordinate are obtained, thereby improving the reliability of data matching.
[0114] It should be noted that, by using the specific shapes of the first through hole and the second through hole, the distance between the camera and the ultrasonic sensor is known, so the second length and the third length can be preset, and the second length represents half of the camera imaging width, and the third length represents the distance between the center of the camera and the center of the ultrasonic sensor. When a complete figure is detected, the edge of the target figure overlaps with the edge of the real-time image, for example, the second wide side is detected for a rectangle, and the second wide side overlaps with the edge of the real-time image; a closed arc is detected for a circle, and the arc is tangent to the edge of the real-time image. On this basis, the first length is subtracted from the second length, and the distance obtained is the distance between the center of the target through hole and the center of the camera. After adding the third length, the distance between the center of the target through hole and the center of the ultrasonic sensor is obtained. After moving with this as the target offset value, it can be ensured that the center of the target through hole overlaps with the center of the ultrasonic sensor, thereby determining a fixed first horizontal coordinate or second horizontal coordinate.
[0115] For example, Figure 6 As shown, taking the first through hole 211 as the target through hole as an example, when a complete square is detected within the imaging range 114 of the camera 112, the length of the rectangle is determined by simple image ranging, and half of it is taken as the first length L1, that is, the length of the rectangle is 2×L1, half of the imaging width of the camera 112 is L2, the center distance between the camera 112 and the ultrasonic sensor 113 is L3, L2-L1 is the center distance between the first through hole 211 and the camera 112, and L4 obtained by adding L3 is the target offset value, that is, L4=L2-L1+L3, when the ultrasonic sensor 113 continues to move horizontally by L4, it is aligned with the center of the first through hole 211.
[0116] In addition, in one embodiment, an adjustment track and a fixing clip are provided on both sides of the bracket, each fixing clip is fixed to the upper and lower sides of the pot-type insulator, and both sides of the reference UHF sensor are installed on the adjustment track by bolts. In step S10, after moving the ranging component, the method further includes:
[0117] S131, when a target straight line is identified inside the first through hole or the second through hole of the real-time image, a first height value and a second height value are determined, wherein the first height value and the second height value are height values between two ends of the target straight line and a lower edge of the real-time image, respectively;
[0118] S132, determining a difference between the first height value and the second height value as a first adjustment value, and determining a smaller one of the first height value and the second height value as a second adjustment value;
[0119] S133, generating first adjustment information based on the first adjustment value, generating second adjustment information based on the second adjustment value, and displaying the first adjustment information and the second adjustment information on a display.
[0120] It should be noted that the first through hole and the second through hole of the present embodiment are of regular shapes, and therefore no other straight lines appear on the inner sides of the first through hole and the second through hole. However, the reference UHF sensor is fixed to the adjustment rail by bolts, and therefore the heights of the two sides are likely to be uneven. If the target straight line is detected, it can be determined that the installation angle of the reference UHF sensor has a certain inclination, causing the imaging angle of the camera to be tilted, so that the camera obliquely shoots the joint between the insulating part and the flange of the basin-type insulator from the first through hole or the second through hole, and the joint is reflected as a straight line in the image.
[0121] It should be noted that after detecting the target straight line, it is necessary to adjust the angle of the reference UHF sensor in time so that the sensing surface is parallel to the flange to avoid affecting the accuracy of the first distance value and the second distance value. After detecting the target straight line, this embodiment determines the first height value and the second height value by detecting the height values from the two ends of the target straight line to the lower edge of the implementation image, determines the difference between the first height value and the second height value as the first adjustment value, and adjusts the height difference between the two sides by the first adjustment value; at the same time, the horizontal bar should be located above the flange, so it is necessary to further determine the smaller of the first height value and the second height value as the second adjustment value, and move the reference UHF sensor upward as a whole to ensure that the sensing surface can completely cover the flange, so as to avoid the sensitivity reduction of the coupled ultra-high frequency signal.
[0122] It should be noted that after determining the first adjustment value and the second adjustment value, the first adjustment information and the second adjustment information are generated. For example, the first adjustment information indicates that the adjustment side is the left side or the right side, the adjustment direction is upward or downward, and the adjustment value is the first adjustment value. The second adjustment information indicates the overall increased second adjustment value.
[0123] For example, Figure 7 As shown, after the target straight line 115 is detected in the real-time image, taking the left side as an example where the left side is lower than the right side, the height of the left side is H1, and the height of the right side is H2, satisfying H2>H1, then the first adjustment value is H2-H1, and the second adjustment value is H1. The first adjustment information is used to indicate an upward shift of H2-H1 on the right side, and the second information is used to indicate an overall upward shift of H1. After movement based on the first adjustment information, both sides are aligned, and the height is H1. After movement based on the second adjustment information, the target straight line 115 is no longer included in the implementation image.
[0124] In addition, in one embodiment, the horizontal bar is further provided with a third through hole, the shapes of the first through hole, the second through hole and the third through hole are different from each other, the second through hole is located in the middle of the horizontal bar, the first through hole and the third through hole are respectively located on both sides of the second through hole, and the distance between the first through hole and the second through hole is not equal to the distance between the third through hole and the second through hole. Step S40 specifically includes but is not limited to the following steps:
[0125] S41, continue to move the distance measuring component, record the third horizontal coordinate of the ultrasonic sensor when the third through hole is detected, and detect the third distance value by the ultrasonic sensor;
[0126] S42: Determine a target UHF sensor from a target mapping table based on the first difference value and the third distance value.
[0127] It should be noted that if Figure 1 As shown, the first through hole 211 is a square through hole, the second through hole 212 is a circular through hole, and the third through hole 213 is a triangular through hole. The three through holes are distributed at unequal distances. The second through hole 212 is located in the middle of the horizontal bar 21. The distance between the first through hole 211 and the second through hole 212 is different from the distance between the second through hole 212 and the third through hole 213, so as to avoid the first distance value and the third distance value being equal due to axial symmetry.
[0128] It should be noted that the detection principle of the third horizontal coordinate and the third distance value can refer to the second horizontal coordinate and the second distance value mentioned above, and will not be repeated here.
[0129] It should be noted that, according to the description of the above embodiment, the first difference can uniquely correspond to outer arc surfaces with different curvatures, thereby being able to uniquely associate with the target UHF sensor. For two arc surfaces with similar and smaller curvatures, the value of the first difference is very close, and it is very likely to cause incorrect matching due to measurement errors. Therefore, this embodiment further introduces a third distance value as an additional matching condition, and the third through hole and the first through hole are not symmetrical with the second through hole, so the third distance value has a certain difference from the first distance value. Using the third distance value and the first difference to match simultaneously can ensure the accuracy of the table lookup.
[0130] In addition, in one embodiment, step S42 specifically includes but is not limited to the following steps:
[0131] S421, determining a second difference value based on the third distance value and the second distance value;
[0132] S422, obtaining a target mapping table, wherein the target mapping table records a mapping relationship between the first difference, the second difference, and an optional UHF sensor;
[0133] S423: Determine a target UHF sensor in a target mapping table based on the first difference and the second difference.
[0134] It should be noted that when the ordinate value of the second coordinate point is not equal to the second distance value, for pot-type insulators with the same specifications, the distance between the two fixed points is usually fixed. In order to further improve the matching accuracy, this embodiment further determines the second difference through the third distance value and the second distance value, and performs table lookup matching through the two sets of data formed between the three fixed points to ensure the accuracy of the identified target UHF sensor.
[0135] For example, Figure 4 As shown, the ordinate value of the second coordinate point is greater than the second distance value, then the curvature of the sensing surface 15 is greater than the curvature of the outer arc surface of the pot insulator 3. At this time, the first distance value D1, the second distance value D2 and the third distance value D3 detected by the ultrasonic sensor 113 correspond to the three fixed positions of the pot insulator 3. The calculated first difference C1=D2-D1, the second difference C2=D2-D3, since the first through hole and the third through hole are asymmetrical, C1 and C2 are not equal to each other. Looking up the target mapping table with two different values can ensure the matching accuracy of the target UHF sensor.
[0136] For example, Figure 5 As shown, Figure 5 and Figure 4 Corresponding to the same pot-type insulator 3, the difference lies in the different curvatures of the inductive surface 15. Figure 5 In the example shown, the ordinate value of the second coordinate point is smaller than the second distance value, that is, the curvature of the sensing surface 15 is smaller than the curvature of the outer arc surface of the pot-type insulator 3. Figure 5 The distance between the ultrasonic sensor 113 and the pot insulator 3 in the example shown is smaller than Figure 4 In the example shown, the distance between the ultrasonic sensor 113 and the pot insulator 3 is Figure 4 The example shown, Figure 5 In the example shown, the first distance value D1, the second distance value D2 and the third distance value D3 are smaller in value, but the numerical difference between the three is constant, and the numerical difference depends on the difference of the sensing surface 15 in the Y-axis direction, that is, Figure 5 The center of the inductive surface 15 of the example shown is in contact with the pot insulator 3. Figure 4 In the example shown, the distance between the center of the sensing surface 15 and the center of the pot insulator 3 is K (K is a positive number), then Figure 4 The first distance value D1 is Figure 5 The difference of the first distance value D1 is K, and the same is true for D2 and D3. Therefore, based on Figure 5 The first difference C1=D2-D1 and the second difference C2=D2-D1 calculated by the example are Figure 4C1 and C2 in the example are the same, that is, C1 and C2 only depend on the curvature of the pot insulator itself, and have nothing to do with the distance of the ultrasonic sensor 113. Therefore, even if the sensing surfaces 15 in the two examples are different, the same target UHF sensor can be matched to ensure the matching accuracy of the target UHF sensor.
[0137] In addition, in one embodiment, in step S10, the first distance value is detected by an ultrasonic sensor, and the second distance value is detected by an ultrasonic sensor, specifically including but not limited to the following steps:
[0138] S141, continuously collecting multiple first candidate values through an ultrasonic sensor at the first through hole, arranging the multiple first candidate values in order to obtain a first sequence, and determining a maximum difference value of the multiple first candidate values;
[0139] S142, when the maximum difference value is greater than or equal to a preset difference threshold, an abnormal prompt message is displayed on the display, wherein the abnormal prompt message is used to indicate that the electromagnetic interference is too large and the operation of the ranging component is stopped;
[0140] S143, when the maximum difference value is less than the difference threshold, determining a first difference value between two adjacent first candidate values in the first sequence, taking an average value of the plurality of first candidate values as the first distance value, and determining an average value of the plurality of first difference values as the third adjustment value;
[0141] S144, when the second candidate value is detected in the second through hole by the ultrasonic sensor, the sum of the second candidate value and the third adjustment value is determined as the second distance value.
[0142] It should be noted that the ultrasonic sensor uses the ultrasonic principle to measure distance, and has certain advantages in detection efficiency and accuracy. However, the pot insulator may release certain electromagnetic waves during use. Even if the pot insulator is not put into use before the UHF sensor is installed, the ultrasonic sensor may not be able to measure the distance due to certain electromagnetic interference in the overall equipment. Based on this, when the first distance measurement is performed in this embodiment, the first candidate value is measured multiple times, and whether the electromagnetic interference will affect the measurement is determined according to the fluctuation of the first candidate value.
[0143] It should be noted that after obtaining the first sequence, if the maximum difference value between the first candidate values is greater than the difference threshold, it can be judged that the electromagnetic interference is too large and normal ranging cannot be completed, and an abnormal prompt message is displayed on the display, such as prompting the installer to replace a different sensor for ranging.
[0144] It should be noted that when the maximum difference value is less than the difference threshold, the electromagnetic wave interference is small, and normal measurement can be performed. The average value of the first candidate value is used as the first distance value. Of course, the median can also be selected, and no further limitation is made here. In order to improve the accuracy of ranging, this embodiment further determines the average value of multiple first difference values as a third adjustment value, which is used to characterize the interference that electromagnetic waves will cause to ranging. The third adjustment value can be a positive number or a negative number. If it is a positive number, the second candidate value needs to be increased to obtain the second distance value. If it is a negative number, the second candidate value needs to be deducted to obtain the second distance value.
[0145] like Figure 8 As shown, Figure 8 The present invention also provides a matching device for testing a sensor for GIS partial discharge, including:
[0146] The processor 801 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0147] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the matching method of the sensor for testing GIS partial discharge in the embodiment of this application;
[0148] Input / output interface 803, used to implement information input and output;
[0149] The communication interface 804 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0150] A bus 805 that transmits information between various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);
[0151] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .
[0152] An embodiment of the present application also provides an electronic device, including the matching device of the sensor for testing GIS local discharge as described above.
[0153] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned matching method of sensors for testing GIS local discharge is implemented.
[0154] As a non-transient computer-readable storage medium, the memory 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 devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0155] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0156] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A sensor matching method for testing GIS partial discharge, characterized in that: Applied to a reference UHF sensor, the reference UHF sensor is mounted on a bracket, the bracket is mounted on a pot-type insulator, the front of the reference UHF sensor is a sensing surface, a display is provided on the back, a movable distance measuring component is provided on the upper side, the distance measuring component includes a camera and an ultrasonic sensor, the moving range of the distance measuring component corresponds to the two ends of the sensing surface, a horizontal bar is provided on the inner side of the bracket, the horizontal bar is provided with a first through hole and a second through hole arranged transversely and having different shapes, the first through hole is a square through hole, the second through hole is a circular through hole, the sensing surface abuts against the pot-type insulator, the distance measuring component is aligned with the horizontal bar, and the method includes: Move the distance measuring component, record the first horizontal coordinate of the ultrasonic sensor when the first through hole is detected, detect the first distance value by the ultrasonic sensor, record the second horizontal coordinate of the ultrasonic sensor when the second through hole is detected, and detect the second distance value by the ultrasonic sensor, wherein the origin of the horizontal coordinate is aligned with the center point of the sensing surface; Determine a first coordinate point in a preset reference curve based on the first horizontal coordinate, longitudinally move the reference curve so that the vertical coordinate value of the first coordinate point is the first distance value, and determine a second coordinate point in the moved reference curve based on the second horizontal coordinate, wherein the reference curve is used to characterize the shape of the cross section of the sensing surface; When the ordinate value of the second coordinate point is equal to the second distance value, determining the reference UHF sensor as the target UHF sensor; When the ordinate value of the second coordinate point is not equal to the second distance value, based on a first difference between the first distance value and the second distance value, determining a target UHF sensor from a preset target mapping table, wherein the target mapping table records a mapping relationship between the first difference and an optional UHF sensor; Displaying target prompt information through the display, wherein the target prompt information is used to indicate the target UHF sensor; Wherein, an indicator light is also provided on the back of the reference UHF sensor, and target prompt information is displayed through the display, including: When the ordinate value of the second coordinate point is equal to the second distance value, the indicator light is controlled to be displayed in a preset first style, and the preset first prompt information is determined as the target prompt information, wherein the first prompt information is used to indicate that the reference UHF sensor is adapted to the pot-type insulator; When the ordinate value of the second coordinate point is not equal to the second distance value, the indicator light is controlled to be displayed in a preset second style, after the target UHF sensor is determined, the target model information preset by the target UHF sensor is obtained, the target model information and the first difference are determined as the target prompt information, and the indicator light is controlled to be displayed in a preset third style, wherein the first style, the second style and the third style are different from each other; When the target UHF sensor cannot be determined based on the target mapping table, maintaining the second style to control the indicator light display, and displaying a preset second prompt information through the display, wherein the second prompt information is used to indicate a matching abnormality; The method includes recording a first horizontal coordinate of the ultrasonic sensor when the first through hole is detected, detecting a first distance value by the ultrasonic sensor, and recording a second horizontal coordinate of the ultrasonic sensor when the second through hole is detected, detecting a second distance value by the ultrasonic sensor, including: Whenever the moving distance of the distance measuring component reaches a preset step value, the camera is started to acquire a real-time image, and graphic recognition is performed based on the real-time image; When a right angle is detected from the real-time image, the indicator light is controlled to be displayed in a preset fourth style, the distance measuring component is continuously moved until a complete square is detected from the real-time image, the first horizontal coordinate and the first distance value are obtained, and the indicator light is controlled to be displayed in a preset fifth style; When an arc is detected from the real-time image, the indicator light is controlled to be displayed in the fourth style, the distance measuring component is continuously moved until a complete circle is detected from the real-time image, the second horizontal coordinate and the second distance value are obtained, and the indicator light is controlled to be displayed in the fifth style; The acquired first horizontal coordinate, the first distance value, the second horizontal coordinate and the second distance value are displayed in real time on the display.
2. The matching method of the sensor for testing GIS partial discharge according to claim 1, characterized in that: The ultrasonic sensor is located in a first direction of the camera, the camera moves laterally in a second direction, the second direction is the opposite direction of the first direction, and before acquiring the first horizontal coordinate and the first distance value, or before acquiring the second horizontal coordinate and the second distance value, the method further includes: Determining half of a width of a target through hole as a first length based on image recognition, wherein the target through hole is the first through hole or the second through hole; Acquire a preset second length and a third length, wherein the second length is half of the imaging width of the camera, and the third length is the distance between the center of the camera and the center of the ultrasonic sensor; Subtract the first length from the second length and add the third length to obtain a target offset value; The ranging component continues to be moved toward the second direction based on the target offset value.
3. The sensor matching method for testing GIS partial discharge according to claim 1, characterized in that: Adjustment rails and fixing clips are provided on both sides of the bracket, each of the fixing clips is fixed to the upper and lower sides of the pot-type insulator, and both sides of the reference UHF sensor are installed on the adjustment rails by bolts. After moving the ranging component, the method further includes: When a target straight line is identified inside the first through hole or the second through hole in the real-time image, a first height value and a second height value are determined, wherein the first height value and the second height value are height values of two ends of the target straight line and a lower edge of the real-time image, respectively; Determine a difference between the first height value and the second height value as a first adjustment value, and determine a smaller one of the first height value and the second height value as a second adjustment value; First adjustment information is generated based on the first adjustment value, second adjustment information is generated based on the second adjustment value, and the first adjustment information and the second adjustment information are displayed on the display.
4. The sensor matching method for testing GIS partial discharge according to claim 1, characterized in that: The horizontal bar is further provided with a third through hole, the shapes of the first through hole, the second through hole and the third through hole are different from each other, the second through hole is located in the middle of the horizontal bar, the first through hole and the third through hole are respectively located on both sides of the second through hole, the distance between the first through hole and the second through hole is not equal to the distance between the third through hole and the second through hole, and based on a first difference between the first distance value and the second distance value, determining a target UHF sensor from a preset target mapping table, including: Continue to move the distance measuring component, record a third horizontal coordinate of the ultrasonic sensor when the third through hole is detected, and detect a third distance value by the ultrasonic sensor; The target UHF sensor is determined from the target mapping table based on the first difference value and the third distance value.
5. The sensor matching method for testing GIS partial discharge according to claim 4, characterized in that: Determining the target UHF sensor from the target mapping table based on the first difference value and the third distance value includes: determining a second difference value based on the third distance value and the second distance value; Acquire the target mapping table, wherein the target mapping table records a mapping relationship between the first difference, the second difference, and the optional UHF sensor; The target UHF sensor is determined in the target mapping table based on the first difference and the second difference.
6. The sensor matching method for testing GIS partial discharge according to claim 1, characterized in that: Detecting a first distance value by the ultrasonic sensor, and detecting a second distance value by the ultrasonic sensor, comprises: Continuously collecting multiple first candidate values through the first through hole by using the ultrasonic sensor, arranging the multiple first candidate values in order to obtain a first sequence, and determining a maximum difference value of the multiple first candidate values; When the maximum difference value is greater than or equal to a preset difference threshold, an abnormal prompt message is displayed on the display, wherein the abnormal prompt message is used to indicate that the electromagnetic interference is too large and the operation of the ranging component is stopped; When the maximum difference value is less than the difference threshold, determining a first difference value between two adjacent first candidate values in the first sequence, taking an average value of a plurality of the first candidate values as the first distance value, and determining an average value of the plurality of the first difference values as a third adjustment value; When a second candidate value is detected at the second through hole by the ultrasonic sensor, a sum of the second candidate value and the third adjustment value is determined as the second distance value.
7. A matching device for a sensor used to test GIS partial discharge, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the matching method of the sensor for testing GIS local discharge as described in any one of claims 1 to 6.
8. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the matching method of sensors for testing GIS partial discharge as described in any one of claims 1 to 6.
