A visual inspection method for the running stability of a three-axis turntable

By analyzing the rotation video of the three-axis turntable when running at low speed, the rotation smoothness and stability are calculated, which solves the problem of inaccurate detection in the existing technology and improves the accuracy of stability judgment when running at low speed.

CN118397518BActive Publication Date: 2024-09-03SHAANXI FUKUNSHUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410831538.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-03
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

The existing three-axis turntable is unstable or unstable when running at low speed, resulting in inaccurate detection results and affecting equipment performance.

Method used

By acquiring the rotation video of the three-axis turntable operating at low speed, the area changes and coordinate changes of the turntable frame in adjacent frame images are analyzed, the rotation stability is calculated, and the stability fluctuations during one rotation are further analyzed, and weighted fusion is performed. To judge the stability of the turntable.

Benefits of technology

It improves the stability detection accuracy of the three-axis turntable in low-speed operation and ensures the stable performance of the equipment in low-speed operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397518B
    Figure CN118397518B
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and specifically to a visual detection method for the stability of a three-axis turntable in operation, comprising: obtaining a rotation video of each turntable frame of the three-axis turntable in a low-speed operation state; obtaining the rotation stability corresponding to each frame image in each rotation video according to the area change of the turntable frame area in adjacent frame images in the rotation video and the horizontal and vertical coordinate changes of the turntable frame area; obtaining the first stability of each turntable frame when it rotates one circle according to the fluctuation change of the rotation stability of the corresponding frame image when the turntable frame rotates one circle; obtaining the second stability of each turntable frame when it rotates multiple circles; weighted fusion of the second stabilities of all turntable frames of the three-axis turntable to judge the stability of the three-axis turntable in a low-speed operation state. The present invention improves the accuracy of stability detection of the three-axis turntable in a low-speed operation state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, and in particular to a method for visually detecting the stability of a three-axis turntable running state. Background Art

[0002] The electric three-axis turntable mainly provides accurate spatial coordinate positioning, precise angular rate and other test benchmarks for inertial components or navigation systems. The inertial test turntable has extremely high requirements for accuracy and stability, and the accuracy of some parameters is required to be Level, widely used in aerospace, missile flight simulation and other fields. However, when the turntable runs at a lower speed, the system will show an unsteady or unstable state, that is, low-speed creeping. The nonlinear characteristics of the dead zone of low-speed operation have a great influence on the accuracy, which seriously affects the performance of the turntable equipment.

[0003] In the existing detection of the running stability of the three-axis turntable, the running stability of the three-axis turntable is detected by analyzing the rotation stability of each turntable frame in two adjacent frames of images when the three-axis turntable is running at a low speed. However, as the three-axis turntable runs for a long time, the running of the three-axis turntable may become unstable. The result of detecting the running stability of the three-axis turntable by analyzing the rotation stability of the turntable frame in two adjacent frames of images will be inaccurate. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a method for visually detecting the stability of the running state of a three-axis turntable.

[0005] A three-axis turntable running state stability visual detection method of the present invention adopts the following technical solution:

[0006] An embodiment of the present invention provides a method for visually detecting the stability of a three-axis turntable operation state, the method comprising the following steps:

[0007] Obtaining a rotation video of each turntable frame of the three-axis turntable in a low-speed operation state, wherein the rotation video includes a plurality of frame images;

[0008] According to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area, the rotation stability corresponding to each frame image in each rotating video is obtained;

[0009] According to the fluctuation of the rotation stability of the corresponding frame image when the turntable frame rotates one circle, the first stability when each turntable frame rotates one circle is obtained; according to the fluctuation of the first stability when the turntable frame rotates multiple circles, the second stability when each turntable frame rotates multiple circles is obtained;

[0010] The second stability of all turntable frames of the three-axis turntable is weightedly fused to determine the stability of the three-axis turntable under low-speed operation.

[0011] Furthermore, the method of obtaining the rotational stability corresponding to each frame image in each rotating video according to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area includes the following specific steps:

[0012] For any rotating video, obtain the area difference of the turntable frame area between adjacent frame images in the rotating video, obtain the average ordinate difference of all pixel points in the turntable frame area between adjacent frame images in the rotating video, and obtain the average abscissa difference of all pixel points in the turntable frame area between adjacent frame images in the rotating video;

[0013] According to the area difference, the average ordinate difference and the average abscissa difference, a rotation angle difference corresponding to the first frame image in adjacent frame images of the rotation video is obtained;

[0014] According to the change of the difference of the rotation angles corresponding to the adjacent frame images in the rotating video, the rotation smoothness corresponding to each frame image in each rotating video is obtained.

[0015] Furthermore, the step of obtaining the rotation angle difference corresponding to the first frame image in adjacent frame images of the rotating video according to the area difference, the average ordinate difference and the average abscissa difference includes the following specific steps:

[0016] The area difference, the average ordinate difference, and the average abscissa difference are merged to obtain a rotation angle difference corresponding to the first frame image in adjacent frame images of the rotation video;

[0017] The method for obtaining the rotation angle difference is as follows: any rotation video is recorded as a target rotation video;

[0018]

[0019] In the formula, Rotate the video for the target The number of pixels in the frame area of ​​the transfer table. The number of pixels in any frame of the target rotation video. Rotate the video for the target The number of pixels in the frame area of ​​the transfer table. To take the absolute value, Rotate the video for the target The mean ordinate value of all pixels in the turntable frame area in the frame image. The maximum vertical coordinate of the pixel points in the turntable frame area of ​​all frame images of the target rotation video, Rotate the video for the target The mean ordinate value of all pixels in the turntable frame area in the frame image. Rotate the video for the target The mean value of the horizontal coordinates of all pixels in the turntable frame area in the frame image. The maximum horizontal coordinate of the pixel points in the turntable frame area of ​​all frames of the target rotation video, Rotate the video for the target The mean value of the horizontal coordinates of all pixels in the turntable frame area in the frame image. Rotate the video for the target The rotation angle difference corresponding to the frame image.

[0020] Furthermore, the step of obtaining the rotational stability corresponding to each frame image in each rotating video according to the change of the rotational angle difference corresponding to adjacent frame images in the rotating video includes the following specific steps:

[0021] Rotate the target in the video The rotation angle difference corresponding to the frame image, The absolute value of the difference in the rotation angle corresponding to the frame image is recorded as the first difference change, and the inverse proportional value of the first difference change is used as the first difference change in the target rotation video. The rotation smoothness corresponding to the frame image, the target rotation video is any rotation video.

[0022] Furthermore, the first stability of each turntable frame when it rotates one circle is obtained according to the fluctuation change of the rotation stability of the corresponding frame image when the turntable frame rotates one circle, and the specific steps include the following:

[0023] Get the number of frame images corresponding to one rotation of the turntable frame, recorded as ; When the turntable frame rotates one circle The rotation stability corresponding to the frame image, The absolute value of the difference in rotational stability corresponding to the frame image is recorded as a rotational stability difference when the turntable frame rotates one circle. , obtain the cumulative value of all rotational stability differences when the turntable frame rotates one circle, and obtain the variance of the rotational stability corresponding to all frame images when the turntable frame rotates one circle;

[0024] The first stability of each turntable frame when it rotates one circle is obtained according to the accumulated value of all rotation stability differences when the turntable frame rotates one circle and the variance of the rotation stability corresponding to all frame images when the turntable frame rotates one circle.

[0025] Furthermore, a specific method for obtaining the first stability when each turntable frame rotates one circle is as follows:

[0026] The accumulated value and the variance are integrated to obtain a first stability when the turntable frame rotates one circle, the accumulated value and the variance are inversely proportional to the first stability, and the first stability is a normalized value;

[0027] The method for obtaining the first stability when the turntable frame rotates one circle is: any turntable frame is recorded as a target turntable frame;

[0028]

[0029] In the formula, is the number of frame images corresponding to one rotation of the target turntable frame. The target turntable frame rotates one circle. The rotational stability corresponding to the frame image, When the target turntable frame rotates one circle The rotational stability corresponding to the frame image, To take the absolute value, is the variance of the rotational stability of all frame images when the target turntable frame rotates one circle, The first stability of the target turntable frame when it rotates one circle. is an exponential function with a natural constant as the base. Model to present inverse proportional relationship and normalization processing, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.

[0030] Furthermore, the second stability of each turntable frame when it rotates multiple circles is obtained according to the fluctuation of the first stability when the turntable frame rotates multiple circles, and the specific steps include the following:

[0031] Get the target turntable frame rotation The variance of all first stability during the circle, the target turntable frame is any turntable frame, is a preset first value, and the target turntable frame is rotated The inverse proportional value of the variance of all first stability during the circle, as the target turntable frame rotation Second stability during laps.

[0032] Furthermore, the weighted fusion of the second stabilities of all turntable frames of the three-axis turntable to determine the stability of the three-axis turntable in a low-speed operation state includes the following specific steps:

[0033]

[0034] In the formula, The second stability of the first turntable frame of the three-axis turntable, The second stability of the second turntable frame of the three-axis turntable, The second stability of the third turntable frame of the three-axis turntable, is the stability index of the three-axis turntable. is the preset second value, is the preset third value, is a preset fourth value, the first turntable frame is the turntable frame of the outermost axis of the three-axis turntable, the second turntable frame is the turntable frame of the middle axis of the three-axis turntable, the third turntable frame is the turntable frame of the innermost axis of the three-axis turntable, and the , ;

[0035] According to the size of the stability index of the three-axis turntable, the stability of the three-axis turntable in the low-speed operation state is judged.

[0036] Furthermore, judging the stability of the three-axis turntable in a low-speed operation state according to the stability index of the three-axis turntable includes the following specific steps:

[0037] If the stability index of the three-axis turntable is greater than the preset first threshold, the three-axis turntable is stable under low-speed operation; if the stability index of the three-axis turntable is less than or equal to the preset first threshold, the three-axis turntable is not stable under low-speed operation.

[0038] Furthermore, the specific method for obtaining the area of ​​the turntable frame region is as follows:

[0039] Each frame of image is input into the semantic segmentation network, and the turntable frame area is output. The number of pixels in the turntable frame area in each frame of image is obtained, and the number of pixels is used as the area of ​​the turntable frame area in the frame image.

[0040] The beneficial effect of the technical solution of the present invention is: after obtaining the rotation video of each turntable frame of the three-axis turntable in the low-speed operation state, the present invention obtains the rotation stability corresponding to each frame image in each rotation video by analyzing the area change of the turntable frame area in adjacent frame images in the rotation video and the horizontal and vertical coordinate changes of the turntable frame area, the rotation stability describes the rotation stability of the rotation frame within the time interval of two adjacent frame images, further analyzes the fluctuation change of the rotation stability of the corresponding frame image when the turntable frame rotates one circle, obtains the first stability when each turntable frame rotates one circle, and analyzes the fluctuation of the first stability when the turntable frame rotates multiple circles, to obtain the second stability of each turntable frame, finally performs weighted fusion on the second stabilities of all turntable frames of the three-axis turntable, judges the stability of the three-axis turntable in the low-speed operation state, and improves the accuracy of stability detection of the three-axis turntable in the low-speed operation state. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0042] Figure 1 A flowchart of a method for visually detecting the stability of a three-axis turntable operating state provided by an embodiment of the present invention;

[0043] Figure 2 A flowchart for obtaining the stability of a three-axis turntable in a low-speed operation state provided by an embodiment of the present invention;

[0044] Figure 3 A schematic diagram of the rotation of a turntable frame provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a three-axis turntable running state stability visual detection method proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0047] The specific scheme of the visual detection method of the running state stability of a three-axis turntable provided by the present invention is described in detail below with reference to the accompanying drawings.

[0048] See also Figure 1 and Figure 2 , which shows a flowchart of a method for visually detecting the running stability of a three-axis turntable provided by an embodiment of the present invention and a flowchart for obtaining the stability of the three-axis turntable in a low-speed running state, the method comprising the following steps:

[0049] Step S001: Obtain a rotation video of each turntable frame of a three-axis turntable in a low-speed operation state, wherein the rotation video includes a plurality of frame images.

[0050] It should be noted that the main purpose of this embodiment is to detect the stability of the three-axis turntable in a low-speed operation state through machine vision, and relevant data is obtained before starting the analysis.

[0051] Specifically, a rotation video of each turntable frame of the three-axis turntable in a low-speed operation state is obtained, and the rotation video includes several frame images, as follows:

[0052] A small high-definition camera is installed at the fixed axis of each rotating axis of the three-axis turntable, and a rotation video of the turntable frame is captured when the three-axis turntable is running at a low speed. In this embodiment, the distance between the small high-definition camera and the fixed axis is set to 5 cm. When the three-axis turntable is running, the small high-definition camera works at the same time, and the acquired rotation video is saved in the computer. In order to achieve the effect of real-time stability detection, the shooting time of the video data can be appropriately shortened. The shooting time set in this embodiment is 1 minute. Each rotation video contains several frames of images.

[0053] It should be noted that when shooting the rotation video of the entire turntable from the outside, due to the inconsistent speed of each axis, when the outer axis rotates to the same position, the position of the inner axis cannot be determined, so the stability of the turntable operation is not good. Therefore, installing a small high-definition camera at the fixed axis of each axis can eliminate the influence of inconsistent rotation of the inner and outer axes, making it easier to detect changes in instability. The turntable frame of the three-axis turntable contains three frames, one for each axis.

[0054] At this point, the rotation video of each turntable frame of the three-axis turntable in the low-speed operation state is obtained.

[0055] Step S002: Obtain the rotational stability corresponding to each frame image in each rotating video according to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area.

[0056] It should be noted that the time intervals of different frame images are the same. By analyzing the changes in adjacent frame images in the same rotating video, the rotational smoothness corresponding to each frame image in the rotating video can be obtained. In this embodiment, the rotation direction of the shaft is gradually moving from the left side of the small high-definition camera to the right side, and so on. The rotation direction of the shaft is the rotation direction of the turntable frame. In the frame image, the turntable frame gradually appears from the left side of the image until it gradually disappears to the right side. By analyzing the differences between the turntable frame in adjacent frame images, the rotational smoothness corresponding to the frame image can be obtained.

[0057] It should be further explained that, since the radius of the rotation axis is smaller than the width of the turntable frame, when the turntable frame rotates, the area of ​​the turntable frame in the frame image gradually increases until it repeats after one rotation cycle. The smaller the horizontal coordinate of the pixel point of the turntable frame, the larger the vertical coordinate, and the fewer the number of pixel points of the turntable frame, it indicates that the angular position of one side of the turntable frame is closer to the 0-degree position in the camera image; on the contrary, the larger the horizontal coordinate, the larger the vertical coordinate, and the fewer the number of pixel points of the turntable frame, it indicates that the angular position of one side of the turntable is closer to the 180-degree position in the camera image, please refer to Figure 3 , Figure 3 This is a schematic diagram of the rotation of the turntable frame of this embodiment. Figure 3 There are two states in it. In state a, the turntable frame has not appeared in the frame image. As it rotates to state b, part of the turntable frame completely appears in the frame image. By analyzing the area change of the turntable frame between adjacent frame images and the corresponding horizontal and vertical coordinate changes, the rotation smoothness corresponding to each frame image is obtained.

[0058] Specifically, the area of ​​the transfer frame region in each frame of the image is obtained as follows:

[0059] Each frame of image is input into the semantic segmentation network, and the turntable frame area and the background area are output. The number of pixels in the turntable frame area in each frame of image is obtained, and the number of pixels is used as the area of ​​the turntable frame area in the frame image.

[0060] The semantic segmentation network used in this embodiment is the DeepLabV3 network, which is a well-known technology, and this embodiment will not repeat the specific results and training methods of the network.

[0061] Specifically, according to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area, the rotation stability corresponding to each frame image in each rotating video is obtained, which includes the following steps:

[0062] Firstly, according to the area change of the turntable frame region in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame region, the rotation angle difference corresponding to each frame image in each rotating video is obtained.

[0063] Secondly, according to the change of the difference of the rotation angles corresponding to the adjacent frame images in the rotating video, the rotation smoothness corresponding to each frame image in each rotating video is obtained.

[0064] Preferably, the rotation angle difference corresponding to each frame image in each rotating video is obtained according to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area, as follows:

[0065] For any rotating video, obtain the area difference of the turntable frame area between adjacent frame images in the rotating video, obtain the average vertical coordinate difference of all pixel points in the turntable frame area between adjacent frame images in the rotating video, obtain the average horizontal coordinate difference of all pixel points in the turntable frame area between adjacent frame images in the rotating video, fuse the area difference, the average vertical coordinate difference, and the average horizontal coordinate difference to obtain the rotation angle difference corresponding to the first frame image in the adjacent frame images of the rotating video.

[0066] As a specific example, the specific method for obtaining the rotation angle difference is as follows:

[0067] Any rotation video is recorded as the target rotation video.

[0068]

[0069] In the formula, Rotate the video for the target The number of pixels in the frame area of ​​the transfer table. The number of pixels in any frame of the target rotation video. Rotate the video for the target The number of pixels in the frame area of ​​the transfer table. To take the absolute value, Rotate the video for the target The mean ordinate value of all pixels in the turntable frame area in the frame image. The maximum vertical coordinate of the pixel points in the turntable frame area of ​​all frame images of the target rotation video, Rotate the video for the target The mean ordinate value of all pixels in the turntable frame area in the frame image. Rotate the video for the target The mean value of the horizontal coordinates of all pixels in the turntable frame area in the frame image. The maximum horizontal coordinate of the pixel points in the turntable frame area of ​​all frames of the target rotation video, Rotate the video for the target The mean value of the horizontal coordinates of all pixels in the turntable frame area in the frame image. Rotate the video for the target The rotation angle difference corresponding to the frame image.

[0070] It should be noted that, in this embodiment, the upper left corner of the frame image is used as the coordinate origin, the horizontal rightward direction is the positive direction of the horizontal axis, and the vertical downward direction is the positive direction of the vertical axis. The larger the value, the greater the difference in the area of ​​the transfer frame in adjacent frames. The greater the difference in the rotation angles corresponding to the frame images; The larger the value, the greater the difference in the vertical coordinates of the transfer frame area in adjacent frames. The greater the difference in the rotation angles corresponding to the frame images; The larger the value, the greater the difference in the horizontal coordinates of the transfer frame area in adjacent frames. The greater the difference in the rotation angles corresponding to the frame images.

[0071] Furthermore, according to the change of the rotation angle difference corresponding to adjacent frame images in the rotating video, the rotation stability corresponding to each frame image in each rotating video is obtained, which is as follows:

[0072] Rotate the target in the video The rotation angle difference corresponding to the frame image, The absolute value of the difference in the rotation angle corresponding to the frame image is recorded as the first difference change, and the inverse proportional value of the first difference change is used as the first difference change in the target rotation video. The rotation smoothness corresponding to the frame image, the target rotation video is any rotation video.

[0073] As a specific example, the specific method for obtaining the rotational stability is as follows:

[0074]

[0075] In the formula, Rotate the video for the target The rotation angle difference corresponding to the frame image, Rotate the video for the target The rotation angle difference corresponding to the frame image, To take the absolute value, Rotate the video for the target The rotational smoothness corresponding to the frame image.

[0076] It should be noted that The smaller the value, the smaller the difference in the rotation angles of adjacent frame images. The larger the rotation stability of the frame image, the greater the rotation stability of the frame image. If there are no adjacent frame images, the rotation angle difference and rotation stability analysis will not be performed.

[0077] At this point, the rotational smoothness corresponding to each frame image in each rotating video is obtained.

[0078] Step S003, according to the fluctuation of the rotation smoothness of the corresponding frame image when the turntable frame rotates one circle, obtain the first stability when each turntable frame rotates one circle; according to the fluctuation of the first stability when the turntable frame rotates multiple circles, obtain the second stability when each turntable frame rotates multiple circles.

[0079] It should be noted that the rotational stability corresponding to each frame image obtained above is obtained by analyzing the fluctuation change of the rotational stability of the corresponding frame image when the turntable frame rotates one circle, so as to obtain the stability of each turntable frame when it rotates one circle; because the rotational stability changes of the frame images corresponding to the first half and the second half of the turntable frame when it rotates one circle should be similar, and the fluctuation of the rotational stability corresponding to different positions during one rotation should be small; therefore, if the rotational stability changes of the frame images corresponding to the first half and the second half of the turntable frame when it rotates one circle are similar, and the fluctuation of the rotational stability corresponding to all the frame images when it rotates one circle is small, then the stability of the turntable frame when it rotates one circle is better, and then the stability fluctuation when the turntable frame rotates multiple circles is analyzed to obtain the stability of each turntable frame.

[0080] Preferably, the first stability of each turntable frame when it rotates one circle is obtained according to the fluctuation change of the rotation stability of the corresponding frame image when the turntable frame rotates one circle, which is specifically as follows:

[0081] Get the number of frame images corresponding to one rotation of the turntable frame, recorded as ; When the turntable frame rotates one circle The rotation stability corresponding to the frame image, The absolute value of the difference in rotational stability corresponding to the frame image is recorded as a rotational stability difference when the turntable frame rotates one circle. , obtain the cumulative value of all rotational smoothness differences when the turntable frame rotates one circle, obtain the variance of the rotational smoothness corresponding to all frame images when the turntable frame rotates one circle, fuse the cumulative value and the variance to obtain the first stability when the turntable frame rotates one circle, the cumulative value and the variance are inversely proportional to the first stability, and the first stability is a normalized value.

[0082] As a specific example, a specific method for obtaining the first stability when the turntable frame rotates one circle is as follows:

[0083] Any turntable frame is recorded as the target turntable frame.

[0084]

[0085] In the formula, is the number of frame images corresponding to one rotation of the target turntable frame. When the target turntable frame rotates one circle The rotational stability corresponding to the frame image, When the target turntable frame rotates one circle The rotational stability corresponding to the frame image, To take the absolute value, is the variance of the rotational stability of all frame images when the target turntable frame rotates one circle, The first stability of the target turntable frame when it rotates one circle. is an exponential function with a natural constant as the base. Model to present inverse proportional relationship and normalization processing, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation.

[0086] It should be noted that It indicates the cumulative difference in the rotation stability of the first half circle and the second half circle when the target turntable frame rotates one circle. The smaller it is, the better the first stability of the target turntable frame when it rotates one circle, that is, The bigger, The smaller it is, the closer the rotation stability is when the target turntable frame rotates one circle, and the better the first stability is when the target turntable frame rotates one circle; the number of frame images corresponding to the target turntable frame rotating one circle needs to be guaranteed to be an even number. If it is an odd number, the last frame image will be discarded.

[0087] Further, according to the fluctuation of the first stability when the turntable frame rotates for multiple turns, the second stability when each turntable frame rotates for multiple turns is obtained, which is specifically as follows:

[0088] Get the target turntable frame rotation The variance of all first stability during the circle, the target turntable frame is any turntable frame, is the preset first value. Describe, rotate the target turntable frame The inverse proportional value of the variance of all first stability during the circle, as the target turntable frame rotation Second stability during laps.

[0089] So far, to the second stability of each turntable frame.

[0090] Step S004: weighted fusion is performed on the second stabilities of all turntable frames of the three-axis turntable to determine the stability of the three-axis turntable in a low-speed operation state.

[0091] It should be noted that the above analysis is about the stability of each turntable frame when it rotates multiple times, that is, the second stability. By weighting the second stabilities of all turntable frames of the three-axis turntable, the stability of the three-axis turntable during operation is comprehensively obtained.

[0092] Specifically, the second stability of all turntable frames of the three-axis turntable is weightedly integrated to determine the stability of the three-axis turntable in a low-speed operation state, as follows:

[0093]

[0094] In the formula, The second stability of the first turntable frame of the three-axis turntable, The second stability of the second turntable frame of the three-axis turntable, The second stability of the third turntable frame of the three-axis turntable, is the stability index of the three-axis turntable. is the preset second value, is the preset third value, is the preset fourth value. , , It is described that the first turntable frame is the turntable frame of the outermost axis of the three-axis turntable, the second turntable frame is the turntable frame of the middle axis of the three-axis turntable, and the third turntable frame is the turntable frame of the innermost axis of the three-axis turntable.

[0095] If the stability index of the three-axis turntable is greater than the preset first threshold, the three-axis turntable is stable under low-speed operation. If the stability index of the three-axis turntable is less than or equal to the preset first threshold, the three-axis turntable is not stable under low-speed operation. This embodiment is described with the first threshold being 0.64.

[0096] It should be noted that, since the stability of the outer axis will affect the stability of the inner axis, the weights from the outer to the inner are set as 0.42, 0.35, and 0.23 in this embodiment.

[0097] Through the above steps, a visual detection method for the running state stability of a three-axis turntable is completed.

[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for visually detecting the stability of a three-axis turntable operation state, characterized in that: The method comprises the following steps: Obtaining a rotation video of each turntable frame of the three-axis turntable in a low-speed operation state, wherein the rotation video includes a plurality of frame images; According to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area, the rotation stability corresponding to each frame image in each rotating video is obtained; According to the fluctuation of the rotation stability of the corresponding frame image when the turntable frame rotates one circle, the first stability when each turntable frame rotates one circle is obtained; according to the fluctuation of the first stability when the turntable frame rotates multiple circles, the second stability when each turntable frame rotates multiple circles is obtained; The second stability of all turntable frames of the three-axis turntable is weightedly integrated to determine the stability of the three-axis turntable under low-speed operation; The method of obtaining the rotational stability corresponding to each frame image in each rotating video according to the area change of the turntable frame area in adjacent frame images in the rotating video and the horizontal and vertical coordinate changes of the turntable frame area includes the following specific steps: For any rotating video, obtain the area difference of the turntable frame area between adjacent frame images in the rotating video, obtain the average ordinate difference of all pixel points in the turntable frame area between adjacent frame images in the rotating video, and obtain the average abscissa difference of all pixel points in the turntable frame area between adjacent frame images in the rotating video; According to the area difference, the average ordinate difference and the average abscissa difference, a rotation angle difference corresponding to the first frame image in adjacent frame images of the rotation video is obtained; According to the change of the difference of the rotation angles corresponding to the adjacent frame images in the rotation video, the rotation stability corresponding to each frame image in each rotation video is obtained; The first stability of each turntable frame when it rotates one circle is obtained according to the fluctuation change of the rotation stability of the corresponding frame image when the turntable frame rotates one circle, and the specific steps include the following: Get the number of frame images corresponding to one rotation of the turntable frame, recorded as ; When the turntable frame rotates one circle The rotation stability corresponding to the frame image, The absolute value of the difference in rotational stability corresponding to the frame image is recorded as a rotational stability difference when the turntable frame rotates one circle. , obtain the cumulative value of all rotational stability differences when the turntable frame rotates one circle, and obtain the variance of the rotational stability corresponding to all frame images when the turntable frame rotates one circle; According to the accumulated value of all rotation stability differences when the turntable frame rotates one circle and the variance of the rotation stability corresponding to all frame images when the turntable frame rotates one circle, the first stability when each turntable frame rotates one circle is obtained; The accumulated value and the variance are integrated to obtain a first stability when the turntable frame rotates one circle, the accumulated value and the variance are inversely proportional to the first stability, and the first stability is a normalized value; The method for obtaining the first stability when the turntable frame rotates one circle is: any turntable frame is recorded as a target turntable frame; In the formula, is the number of frame images corresponding to one rotation of the target turntable frame. When the target turntable frame rotates one circle The rotational stability corresponding to the frame image, When the target turntable frame rotates one circle The rotational stability corresponding to the frame image, To take the absolute value, is the variance of the rotational stability of all frame images when the target turntable frame rotates one circle, The first stability of the target turntable frame when it rotates one circle. is an exponential function with a natural constant as the base. Model to present inverse proportional relationship and normalization, As the input of the model, the implementer can set the inverse proportional function and normalization function according to the actual situation; The method of obtaining the second stability of each turntable frame when it rotates multiple circles according to the fluctuation of the first stability when the turntable frame rotates multiple circles includes the following specific steps: Get the target turntable frame rotation The variance of all first stability during the circle, the target turntable frame is any turntable frame, is a preset first value, and the target turntable frame is rotated The inverse proportional value of the variance of all first stability during the circle, as the target turntable frame rotation Second stability during laps; The weighted fusion of the second stabilities of all the turntable frames of the three-axis turntable to determine the stability of the three-axis turntable in a low-speed operation state includes the following specific steps: In the formula, The second stability of the first turntable frame of the three-axis turntable, The second stability of the second turntable frame of the three-axis turntable, The second stability of the third turntable frame of the three-axis turntable, is the stability index of the three-axis turntable. is the preset second value, is the preset third value, is a preset fourth value, the first turntable frame is the turntable frame of the outermost axis of the three-axis turntable, the second turntable frame is the turntable frame of the middle axis of the three-axis turntable, the third turntable frame is the turntable frame of the innermost axis of the three-axis turntable, and the , ; According to the size of the stability index of the three-axis turntable, the stability of the three-axis turntable in the low-speed operation state is judged.

2. According to claim 1, a three-axis turntable running state stability visual detection method is characterized in that: The step of obtaining the rotation angle difference corresponding to the first frame image in adjacent frame images of the rotating video according to the area difference, the average ordinate difference and the average abscissa difference includes the following specific steps: The area difference, the average ordinate difference, and the average abscissa difference are merged to obtain a rotation angle difference corresponding to the first frame image in adjacent frame images of the rotation video; The method for obtaining the rotation angle difference is as follows: any rotation video is recorded as a target rotation video; In the formula, Rotate the video for the target The number of pixels in the frame area of ​​the transfer table. The number of pixels in any frame of the target rotation video. Rotate the video for the target The number of pixels in the frame area of ​​the transfer table. To take the absolute value, Rotate the video for the target The mean ordinate value of all pixels in the turntable frame area in the frame image. The maximum vertical coordinate of the pixel points in the turntable frame area of ​​all frame images of the target rotation video, Rotate the video for the target The mean ordinate value of all pixels in the turntable frame area in the frame image. Rotate the video for the target The mean value of the horizontal coordinates of all pixels in the turntable frame area in the frame image. The maximum horizontal coordinate of the pixel points in the turntable frame area of ​​all frames of the target rotation video, Rotate the video for the target The mean value of the horizontal coordinates of all pixels in the turntable frame area in the frame image. Rotate the video for the target The rotation angle difference corresponding to the frame image.

3. According to claim 1, a three-axis turntable running state stability visual detection method is characterized in that: The method of obtaining the rotation smoothness corresponding to each frame image in each rotation video according to the change of the rotation angle difference corresponding to adjacent frame images in the rotation video includes the following specific steps: Rotate the target in the video The rotation angle difference corresponding to the frame image, The absolute value of the difference in the rotation angle corresponding to the frame image is recorded as the first difference change, and the inverse proportional value of the first difference change is used as the first difference change in the target rotation video. The rotation smoothness corresponding to the frame image, the target rotation video is any rotation video.

4. According to claim 1, a three-axis turntable running state stability visual detection method is characterized in that: The method of judging the stability of the three-axis turntable in a low-speed operation state according to the stability index of the three-axis turntable includes the following specific steps: If the stability index of the three-axis turntable is greater than the preset first threshold, the three-axis turntable is stable under low-speed operation; if the stability index of the three-axis turntable is less than or equal to the preset first threshold, the three-axis turntable is not stable under low-speed operation.

5. According to claim 1, a three-axis turntable running state stability visual detection method is characterized in that: The specific method for obtaining the area of ​​the turntable frame region is as follows: Each frame of image is input into the semantic segmentation network, and the turntable frame area is output. The number of pixels in the turntable frame area in each frame of image is obtained, and the number of pixels is used as the area of ​​the turntable frame area in the frame image.