A method, device, electronic device and storage medium for detecting loose screws
Through image detection and photosensitive refraction processing technology, the loose state of the equipment screws is judged, which solves the problems of low manual inspection efficiency and easy misjudgment in the prior art, and achieves efficient and reliable screw loose detection.
Patent Information
- Application Number
- CN202510080808.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-01-20
AI Technical Summary
In the prior art, the detection of loose equipment screws depends on manual inspection, which is inefficient and easy to misjudgment, resulting in safety hazards and equipment failures.
By selecting the target screw, the first alignment screw and the second alignment screw, using image detection and comparison techniques, the horizontal position offset of the screw is judged, and the loose condition interval value and the tightening condition interval value are obtained through light-sensitive refraction processing to determine the loose state of the screw.
It improves the efficiency and reliability of screw loose detection, reduces the misjudgment rate, enhances the accurate judgment of the screw state, and ensures the safe and stable operation of the equipment.
Smart Images

Figure CN119492329B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment inspection, and in particular to a method, device, electronic device and storage medium for detecting loose screws. Background Art
[0002] Loose screws may lead to serious safety accidents, such as bridge collapse, mechanical equipment failure, etc. By timely detecting loose screws, these potential dangers can be prevented and the safety of personnel and property can be guaranteed.
[0003] In the prior art, the detection of whether the screws in the equipment are loose mostly relies on manual on-site inspection based on historical experience, which can easily lead to misjudgment and greatly reduce the efficiency and reliability of the inspection work. Summary of the invention
[0004] In order to overcome the above-mentioned deficiencies of the prior art, the present application provides a screw loosening detection method, device, electronic device and storage medium.
[0005] In a first aspect, the present application provides a method for detecting loose screws, the method comprising:
[0006] Select a target screw, a first comparison screw, and a second comparison screw, and connect a first-category marking line 1, a first-category reference marking line 2, a second-category marking line 1, and a second-category reference marking line 2 according to a linear relationship between the target screw and the first comparison screw and the second comparison screw under a normal tightening condition;
[0007] Detecting the lateral image information to be tested in the current period, and when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too low, outputting a normal screw detection result; and when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too high, outputting an abnormal screw detection result;
[0008] When it is impossible to determine whether the horizontal position of the target screw in the lateral image information to be tested has changed, the screw loosening verification information is output;
[0009] According to the screw loosening verification information, a first position point, a second position point, a third position point and a fourth position point that need to be subjected to light-sensitive refraction processing are marked, and according to the light-sensitive refraction feedback signal image information of the first position point, the second position point, the third position point and the fourth position point, a loosening condition interval value and a tightening condition interval value of the target screw are statistically calculated;
[0010] The relationship between the image information set of the refraction signal to be tested and the interval value of the loose condition and the interval value of the tightening condition is determined, and a normal screw detection result or an abnormal screw detection result is output.
[0011] Preferably, a target screw to be inspected is obtained, and according to the target screw, a first comparison screw and a second comparison screw whose surrounding distance is closest and whose screw nuts are both in the same horizontal plane and parallel to the horizontal plane are selected;
[0012] Respectively detecting reference lateral image information between the target screw and the first comparison screw and the second comparison screw under a normal tightening condition, wherein the reference lateral image information is horizontal position information between the target screw and the first comparison screw and the second comparison screw;
[0013] Connect the first comparison screw and the target screw to obtain a first type marking line one, connect the second comparison screw and the target screw to obtain a second type marking line one, mark a first type reference marking line two and a second type reference marking line two on the target screw, the first type reference marking line two and the first type marking line one are located on the same horizontal line, and the second type reference marking line two is located on the same horizontal line as the second type marking line one.
[0014] Preferably, the lateral image information between the target screw and the first comparison screw and the second comparison screw at the current period is detected to obtain the lateral image information to be measured, and the lateral image information to be measured is compared with the reference lateral image information to obtain the image comparison result;
[0015] When the image comparison result shows that the horizontal position of the target screw is too low, it is judged that the target screw is in a tightening condition, and a normal screw detection result is output;
[0016] When the image comparison result shows that the horizontal position of the target screw is too high, it is judged that the target screw is in a loose condition and an abnormal screw detection result is output.
[0017] Preferably, the first type of mark line 2 to be tested and the second type of mark line 2 to be tested of the target screw in the current period are detected. When the first type of mark line 2 to be tested coincides with the first type of reference mark line 1, the second type of mark line 2 to be tested coincides with the second type of mark line 1, and the image comparison result shows that the horizontal position of the target screw remains unchanged, it is determined that the target screw is in a tightening condition, and a normal screw detection result is output;
[0018] When the first type of mark line 2 to be tested forms an angle with the first type of mark line 1, the second type of mark line 2 to be tested forms an angle with the second type of mark line 1, and the image comparison result shows that it is impossible to determine whether the horizontal position of the target screw has changed, the target screw is subjected to light refraction processing and the screw loosening verification information is output.
[0019] Preferably, according to the screw loosening verification information, the horizontal position of the lower surface of the nut under the target screw tightening condition is counted to obtain the nut horizontal line, and the vertical position of the two sides of the screw diameter under the target screw tightening condition is counted to obtain the screw vertical line;
[0020] According to the first type of marking line 1 and the second type of marking line 2, four points where the horizontal line of the nut and the vertical line of the screw intersect are marked to obtain a first position point, a second position point, a third position point and a fourth position point;
[0021] The light sensing signals emitted at the first position point, the second position point, the third position point and the fourth position point under the normal tightening condition or the abnormal loosening condition of the target screw in the historical period are fed back to the reference refraction signal image information on the first comparison screw and the second comparison screw, and a reference refraction signal image information set is obtained according to the reference refraction signal image information;
[0022] Grayscale image processing is performed on the refraction signal image information to obtain a grayscale refraction image information set. According to the grayscale refraction image information set, a loose condition interval value when the target screw is in an abnormal loose condition is divided, and a tightening condition interval value when the target screw is in a normal tightening condition is divided.
[0023] Preferably, the refraction signal image information set to be measured is detected according to the first position point, the second position point, the third position point, the fourth position point and the reference refraction signal image information set;
[0024] When the image information sets of the refraction signals to be tested all fall within the value range of the tightening condition interval, the target screw is in the tightening condition, and a normal screw detection result is output;
[0025] When the refraction signal image information set to be tested contains refraction signal image information to be tested that falls within the loose condition interval value range, it is determined that the target screw is in a loose condition, and an abnormal screw detection result is output.
[0026] In a second aspect, a screw loosening detection device comprises:
[0027] A line marking module is used to select a target screw, a first comparison screw, and a second comparison screw, and connect a first-class marking line 1, a first-class reference marking line 2, a second-class marking line 1, and a second-class reference marking line 2 according to the linear relationship between the target screw and the first comparison screw and the second comparison screw under normal tightening conditions;
[0028] The screw condition judgment module 1 is used to detect the lateral image information to be tested in the current period, and when it is judged that the horizontal position of the target screw in the lateral image information to be tested is too low, the screw detection normal result is output; when it is judged that the horizontal position of the target screw in the lateral image information to be tested is too high, the screw detection abnormal result is output;
[0029] The screw condition judgment module 2 is used to output screw loosening verification information when it is impossible to judge whether the horizontal position of the target screw in the lateral image information to be tested has changed;
[0030] A verification information collection module is used to mark the first position point, the second position point, the third position point and the fourth position point that need to be subjected to light-sensitive refraction processing according to the screw loosening verification information, and to calculate the loosening condition interval value and the tightening condition interval value of the target screw according to the light-sensitive refraction feedback signal image information of the first position point, the second position point, the third position point and the fourth position point;
[0031] The screw condition judgment module three is used to judge the relationship between the image information set of the refraction signal to be tested and the loose condition interval value and the tightening condition interval value, and output the normal screw detection result or the abnormal screw detection result.
[0032] In a third aspect, the present invention provides an electronic device, comprising: a memory for storing a computer software program; and a processor for reading and executing the computer software program, thereby implementing a method for detecting loose screws as described in any one of the first aspects.
[0033] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer software program, and when the computer software program is executed by a processor, a method for detecting loose screws as described in any one of the first aspects is implemented.
[0034] Compared with the prior art, the present invention has the following characteristics and beneficial effects:
[0035] By comparing and referencing the tightening feature information of the first and second comparison screws in the surrounding area, a differential analysis is performed on whether the screws are tightened or loosened under various conditions. That is, through forward and lateral image detection and comparison, three situations are initially judged, namely, the target screw can be directly judged to be abnormally loose, the target screw can be directly judged to be normally tightened, and the target screw state cannot be directly judged. According to the judgment result of the third situation, a further verification is performed to reduce the probability of misjudgment, that is, the refraction signal obtained by the photosensitive refraction processing is fed back to the image information on the first and second comparison screws to judge different condition information, and the image information set of the refraction signal to be tested obtained by the feedback refraction is detected by the selected four position points. The four position points are selected to reduce the occurrence of misjudgment and enhance the reliability of the final analysis result. That is, through the consideration of the above-mentioned multiple situations and the judgment processing of information differentiation, the orderliness of the entire process of judging the looseness of the target screw and the accuracy of the judgment result are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flowchart of a method for detecting loose screws mainly embodied in this embodiment.
[0037] Figure 2 It is a structural block diagram of a screw loosening detection device mainly embodied in this embodiment.
[0038] Figure 3 This is a functional block diagram of the electronic device provided by the present invention.
[0039] Figure 4 A functional block diagram of a computer-readable storage device provided by the present invention. DETAILED DESCRIPTION
[0040] The present invention is further described in detail below in conjunction with the following examples.
[0041] Reference Figure 1 , a method for detecting screw loosening, the method comprising the following steps:
[0042] S1. Select a target screw, a first comparison screw, and a second comparison screw, and connect a first-category marking line 1, a first-category reference marking line 2, a second-category marking line 1, and a second-category reference marking line 2 according to the linear relationship between the target screw and the first comparison screw and the second comparison screw under normal tightening conditions.
[0043] S2. Detect the lateral image information to be tested in the current period, and when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too low, output the normal result of the screw detection; when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too high, output the abnormal result of the screw detection.
[0044] S3. When it is impossible to determine whether the horizontal position of the target screw in the lateral image information to be measured has changed, output screw loosening verification information.
[0045] S4. According to the screw loosening verification information, mark the first position point, the second position point, the third position point and the fourth position point that need to be processed by light-sensitive refraction, and according to the light-sensitive refraction feedback signal image information of the first position point, the second position point, the third position point and the fourth position point, calculate the loosening condition interval value and the tightening condition interval value of the target screw.
[0046] S5. Determine the relationship between the image information set of the refraction signal to be tested and the interval value of the loose condition and the interval value of the tightening condition, and output a normal screw detection result or an abnormal screw detection result.
[0047] Specifically, by comparing and referencing the tightening feature information of the first and second comparison screws in the surrounding area, a differential analysis is performed on whether the screws are tightened or loosened under various conditions, that is, by detecting and comparing the forward and lateral images, three situations are initially judged, that is, it can be directly judged that the target screw is abnormally loose, it can be directly judged that the target screw is normally tightened, and it is impossible to directly judge the state of the target screw. According to the judgment result of the third situation, a further verification is performed to reduce the probability of misjudgment, that is, the refraction signal obtained by the photosensitive refraction processing is fed back to the image information on the first and second comparison screws to judge different condition information, and the image information set of the refraction signal to be tested obtained by the feedback refraction is detected by the selected four position points. The four position points are selected to reduce the occurrence of misjudgment and enhance the reliability of the final analysis result. That is, through the consideration of the above-mentioned multiple situations and the judgment processing of information differentiation, the orderliness of the entire process of judging the looseness of the target screw and the accuracy of the judgment result are improved.
[0048] The specific step S1 includes the following sub-steps:
[0049] Obtain a target screw to be inspected, and select a first comparison screw and a second comparison screw whose surrounding distance is closest and whose screw caps are both in the same horizontal plane and parallel to the horizontal plane according to the target screw.
[0050] Reference lateral image information between the target screw and the first comparison screw and the second comparison screw under normal tightening conditions is detected respectively, and the reference lateral image information is horizontal position information between the target screw and the first comparison screw and the second comparison screw respectively.
[0051] Connect the first comparison screw and the target screw to obtain the first type marking line one, connect the second comparison screw and the target screw to obtain the second type marking line one, mark the first type reference marking line two and the second type reference marking line two on the target screw, the first type reference marking line two and the first type marking line one are located on the same horizontal line, and the second type reference marking line two is located on the same horizontal line as the second type marking line one.
[0052] Specifically, such as the target screw (if it is A), the first comparison screw and the second comparison screw (if they are B and C respectively, the three screws A, B, and C are all in a tightened state, and the top of the nut and the bottom surface of the nut are all on the same horizontal line, if it is the horizontal line T), reference lateral image information (that is, lateral image detection is performed under the condition that it is perpendicular to the bottom surface of the nut and is in a parallel horizontal plane with the screw rod, mainly including the horizontal line T), the first type of marking line one (that is, the straight line connecting the nut tops of A and B, if it is L1), the second type of marking line one (that is, the straight line connecting the nut tops of A and C, if it is L2), the first type of reference marking line two (that is, the straight line connecting the nut top of the target screw and the nut edge of the target screw, if it is l1, and l1 coincides with L1 and l1 is less than L1), the second type of reference marking line two (that is, the straight line connecting the nut top of the target screw and the nut edge of the target screw, if it is l2, and l2 coincides with L2 and l2 is less than L2).
[0053] The specific step S2 includes the following sub-steps:
[0054] The lateral image information between the target screw and the first comparison screw and the second comparison screw at the current period is detected to obtain the lateral image information to be measured, and the lateral image information to be measured is compared with the reference lateral image information to obtain the image comparison result.
[0055] When the image comparison result shows that the horizontal position of the target screw is too low, it is judged that the target screw is in a tightening condition and a normal screw detection result is output.
[0056] When the image comparison result shows that the horizontal position of the target screw is too high, it is judged that the target screw is in a loose condition and an abnormal screw detection result is output.
[0057] Specifically, such as the lateral image information to be tested (the interpretation is the same as that of the reference lateral image information, and no further explanation is given here), the image comparison result (i.e., comparing the horizontal position of the top of the target screw nut in the image information), when the image comparison result is that the horizontal position of the target screw is low (indicating that the screw of the target screw is embedded in a deeper position, so it will be tighter than before, and the target screw is judged to be in a tightened condition), when the image comparison result is that the horizontal position of the target screw is high (indicating that the screw of the target screw is turned and raised, and the possibility of tilt can be ruled out, because the prerequisite is that the screw nut is horizontal, so it can be directly judged that the target screw is in a loose condition).
[0058] The specific step S3 includes the following sub-steps:
[0059] Detect the first type of mark line 2 to be tested and the second type of mark line 2 to be tested of the target screw in the current period. When the first type of mark line 2 to be tested coincides with the first type of reference mark line 1, the second type of mark line 2 to be tested coincides with the second type of mark line 1, and the image comparison result shows that the horizontal position of the target screw remains unchanged, it is judged that the target screw is in a tightening condition, and the normal screw detection result is output.
[0060] When the first type of mark line 2 to be tested forms an angle with the first type of mark line 1, the second type of mark line 2 to be tested forms an angle with the second type of mark line 1, and the image comparison result shows that it is impossible to determine whether the horizontal position of the target screw has changed, the target screw is subjected to light refraction processing and the screw loosening verification information is output.
[0061] Specifically, such as the first type of mark line to be tested two (the explanation is the same as the first type of reference mark line two, no further explanation is given here, if it is la), the second type of mark line to be tested two (the explanation is the same as the second type of reference mark line one, no further explanation is given here, if it is lb), when the first type of mark line to be tested two and the first type of reference mark line one coincide with each other, the second type of mark line to be tested two and the second type of mark line one coincide with each other (just judging by this one condition, two situations can be judged: one is that la is l1 and lb is l2, that is, no rotation change occurs; the other is that la rotates one or several circles and returns to the original position and coincides with l1, lb rotates one or several circles and returns to the original position and coincides with l2, that is, a rotation change occurs. For further accurate judgment, the image comparison result is judged again), and the image comparison result If the horizontal position of the target screw remains unchanged (it means that the target screw is in la, which is l1, and lb, which is l2, that is, no rotation change occurs, then it is judged that the target screw is in a tightening condition), when the first type of mark line 2 to be tested forms an angle with the first type of mark line 1, the second type of mark line 2 to be tested forms an angle with the second type of mark line 1, and the image comparison result shows that it is impossible to judge whether the horizontal position of the target screw has changed (la and L1, as well as lb and L2 obviously form an angle, which can explain two situations, one is that A is loose and rotated, and the other is that A is tightened and rotated. Then further judge the image comparison result. If the result cannot be directly judged, for example, the amplitude of the position change does not reach the detection range, then further light refraction processing is performed to output the screw loosening verification information to improve the rigor of the entire processing work).
[0062] The specific step S4 includes the following sub-steps:
[0063] According to the screw loosening verification information, the horizontal position of the lower surface of the nut under the target screw tightening condition is counted to obtain the nut horizontal line, and the vertical position of the two sides of the screw diameter under the target screw tightening condition is counted to obtain the screw vertical line.
[0064] According to the first type marking line one and the second type marking line two, four points where the horizontal line of the nut and the vertical line of the screw intersect are marked to obtain the first position point, the second position point, the third position point and the fourth position point.
[0065] The light sensing signals emitted from the first position point, the second position point, the third position point and the fourth position point respectively under the normal tightening condition or the abnormal loosening condition of the target screw in the historical period are fed back to the reference refraction signal image information on the first comparison screw and the second comparison screw, and the reference refraction signal image information set is obtained based on the reference refraction signal image information.
[0066] Grayscale image processing is performed on the refraction signal image information to obtain a grayscale refraction image information set. According to the grayscale refraction image information set, a loose condition interval value when the target screw is in an abnormal loose condition is divided, and a tightening condition interval value when the target screw is in a normal tightening condition is divided.
[0067] Specifically, such as the horizontal lines of the nut (L1, L2), the vertical lines of the screw (i.e., in the direction of L1: there are two A lines, if it is H1, H2, in the direction of L2: there are two A lines, if it is H3, H4), the first position point (i.e., the intersection of L1 and H1), the second position point (i.e., the intersection of L1 and H2), the third position point (i.e., the intersection of L2 and H3) and the fourth position point (i.e., the intersection of L2 and H4), the reference refraction signal image information set (i.e., the light sensing signal is emitted at the four positions of H1, H2, H3, and H4) The signal refraction image information of the signal that is fed back or not fed back and directly projected onto B or C, several image information detected in the historical period, and including the conditions of screw tightening and screw loosening), grayscale refraction image information set (that is, through the processing of grayscale images, to reduce the interference of other interfering information on the signal refraction image analysis, so as to make the signal refraction image characteristics clearer), tightening condition interval value (if it is the area range a1), loosening condition interval value (if it is the area range a1).
[0068] The specific step S5 includes the following sub-steps:
[0069] According to the first position point, the second position point, the third position point, the fourth position point and the reference refraction signal image information set, a refraction signal image information set to be measured is detected.
[0070] When the image information sets of the refraction signal all fall within the value range of the tightening condition interval, the target screw is in the tightening condition and the normal screw detection result is output.
[0071] When the refraction signal image information set to be tested contains refraction signal image information to be tested that falls within the loose condition interval value range, it is determined that the target screw is in a loose condition, and an abnormal screw detection result is output.
[0072] Specifically, such as the tightening condition interval value and the loosening condition interval value (that is, the refracted signal falls within a certain position range on A or B, for example, when the target screw is slightly tilted or in the original tightened horizontal position, detection is performed at the H3 and H4 positions, and the image information of the signal refraction of the situation where A is buckled inward or outward in the direction of B will have image information of multiple position conditions, that is, they are all under the same premise: inward or outward in the direction of B, if the part of the different position range refracted on B is a1, it is the tightening condition interval value, if the part of the different position range refracted on B is detected to be a2, it is the loosening condition interval value), when the measured refraction signal image information set all falls within the tightening condition interval value range (indicating that A is embedded in a deeper position, that is, it is more tightened), when the measured refraction signal image information set contains the measured refraction signal image information that falls within the loosening condition interval value range (indicating that A has rotated and increased in height, because the light sensing signal is not blocked, it means that there is a gap, or A is tilted, it can be judged that A is abnormally loose).
[0073] A screw loosening detection device, by applying a screw loosening detection method as described above, comprises a connection marking module, a screw condition judgment module 1, a screw condition judgment module 2, a verification information collection module and a screw condition judgment module 3, referring to Figure 2 , select the target screw, the first comparison screw and the second comparison screw through the connection marking module, and connect the first type marking line 1, the first type reference marking line 2, the second type marking line 1 and the second type reference marking line 2 according to the linear relationship between the target screw and the first comparison screw and the second comparison screw under normal tightening conditions; detect the lateral image information to be tested in the current period through the screw condition judgment module 1, and when it is judged that the horizontal position of the target screw in the lateral image information to be tested is too low, output the normal result of the screw detection; when it is judged that the horizontal position of the target screw in the lateral image information to be tested is too high, output the abnormal result of the screw detection; the screw condition judgment module 2 cannot judge that the lateral image information to be tested is too high. When the horizontal position of the target screw in the lateral image information is measured to see if there is a change, the screw loosening verification information is output; the first position point, the second position point, the third position point and the fourth position point that need to be photosensitive refraction processing are marked according to the screw loosening verification information through the verification information acquisition module, and the loosening condition interval value and the tightening condition interval value of the target screw are statistically calculated according to the photosensitive refraction feedback signal image information of the first position point, the second position point, the third position point and the fourth position point; the relationship between the refraction signal image information set to be measured and the loosening condition interval value and the tightening condition interval value is judged through the screw condition judgment module three, and the normal screw detection result or the abnormal screw detection result is output.
[0074] Corresponds to Figure 1 A method for detecting screw loosening in the present disclosure also provides an electronic device 500, such as Figure 3FIG. 5 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present disclosure, including:
[0075] The processor 510, the memory 520, and the computer program 511; the memory 520 is used to store execution instructions, including the computer program 511, and is used to temporarily store the operation data in the processor 510. When the electronic device 500 is running, the processor 510 communicates with the memory 520 so that the processor 510 executes Figure 1 Steps of a method for detecting loose screws.
[0076] The present disclosure also provides a computer-readable storage medium 600. Figure 4 As shown, the computer readable storage medium stores a computer program 611, and when the computer program 611 is executed by the processor 510, the steps of a method for detecting loose screws described in the above method embodiment are executed.
[0077] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for detecting loose screws, characterized in that: The following steps are involved: Select a target screw, a first comparison screw, and a second comparison screw, and connect a first-category marking line 1, a first-category reference marking line 2, a second-category marking line 1, and a second-category reference marking line 2 according to a linear relationship between the target screw and the first comparison screw and the second comparison screw under a normal tightening condition; Obtain a target screw to be inspected, and select, according to the target screw, a first comparison screw and a second comparison screw whose surrounding distance is closest and whose screw nuts are both in the same horizontal plane and parallel to the horizontal plane; Respectively detecting reference lateral image information between the target screw and the first comparison screw and the second comparison screw under a normal tightening condition, wherein the reference lateral image information is horizontal position information between the target screw and the first comparison screw and the second comparison screw; Connecting the first comparison screw and the target screw to obtain a first type marking line 1, connecting the second comparison screw and the target screw to obtain a second type marking line 1, marking a first type reference marking line 2 and a second type reference marking line 2 on the target screw, the first type reference marking line 2 and the first type marking line 1 are located on the same horizontal line, and the second type reference marking line 2 is located on the same horizontal line as the second type marking line 1; Detecting the lateral image information to be tested in the current period, and when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too low, outputting a normal screw detection result; and when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too high, outputting an abnormal screw detection result; When it is impossible to determine whether the horizontal position of the target screw in the lateral image information to be tested has changed, the screw loosening verification information is output; According to the screw loosening verification information, a first position point, a second position point, a third position point and a fourth position point that need to be subjected to light-sensitive refraction processing are marked, and according to the light-sensitive refraction feedback signal image information of the first position point, the second position point, the third position point and the fourth position point, a loosening condition interval value and a tightening condition interval value of the target screw are statistically calculated; According to the screw loosening verification information, the horizontal position of the lower surface of the nut under the target screw tightening condition is counted to obtain the nut horizontal line, and the vertical position of the two sides of the screw diameter under the target screw tightening condition is counted to obtain the screw vertical line; According to the first type of marking line 1 and the second type of marking line 2, four points where the horizontal line of the nut and the vertical line of the screw intersect are marked to obtain a first position point, a second position point, a third position point and a fourth position point; The light sensing signals emitted at the first position point, the second position point, the third position point and the fourth position point under the normal tightening condition or the abnormal loosening condition of the target screw in the historical period are fed back to the reference refraction signal image information on the first comparison screw and the second comparison screw, and a reference refraction signal image information set is obtained according to the reference refraction signal image information; The relationship between the image information set of the refraction signal to be tested and the interval value of the loose condition and the interval value of the tightening condition is determined, and a normal screw detection result or an abnormal screw detection result is output.
2. A method for detecting screw loosening according to claim 1, characterized in that: The steps of detecting the lateral image information to be tested in the current period, and outputting a normal screw detection result when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too low, and outputting an abnormal screw detection result when it is determined that the horizontal position of the target screw in the lateral image information to be tested is too high, are specifically as follows: Detecting lateral image information between the target screw and the first comparison screw and the second comparison screw at the current period to obtain lateral image information to be measured, and comparing the lateral image information to be measured with the reference lateral image information to obtain an image comparison result; When the image comparison result shows that the horizontal position of the target screw is too low, it is judged that the target screw is in a tightening condition, and a normal screw detection result is output; When the image comparison result shows that the horizontal position of the target screw is too high, it is judged that the target screw is in a loose condition and an abnormal screw detection result is output.
3. A method for detecting screw loosening according to claim 2, characterized in that: When it is impossible to determine whether the horizontal position of the target screw in the lateral image information to be tested has changed, the steps of outputting the screw loosening verification information are specifically as follows: Detect the first type of mark line 2 to be tested and the second type of mark line 2 to be tested of the target screw at the current period. When the first type of mark line 2 to be tested coincides with the first type of reference mark line 1, the second type of mark line 2 to be tested coincides with the second type of mark line 1, and the image comparison result shows that the horizontal position of the target screw remains unchanged, it is determined that the target screw is in a tightening condition, and the screw detection result is normal; When the first type of mark line 2 to be tested forms an angle with the first type of mark line 1, the second type of mark line 2 to be tested forms an angle with the second type of mark line 1, and the image comparison result shows that it is impossible to determine whether the horizontal position of the target screw has changed, the target screw is subjected to light refraction processing and the screw loosening verification information is output.
4. A method for detecting screw loosening according to claim 1, characterized in that: The steps of determining the relationship between the image information set of the refraction signal to be tested and the interval value of the loose condition and the interval value of the tightening condition, and outputting a normal screw detection result or an abnormal screw detection result are specifically as follows: Detecting a refraction signal image information set to be measured according to the first position point, the second position point, the third position point, the fourth position point and the reference refraction signal image information set; When the image information sets of the refraction signals to be tested all fall within the range of the tightening condition interval value, the target screw is in the tightening condition, and a normal screw detection result is output; When the refraction signal image information set to be tested contains refraction signal image information to be tested that falls within the loose condition interval value range, it is determined that the target screw is in a loose condition, and an abnormal screw detection result is output.
5. A screw loosening detection device, characterized in that: The device is used to implement a screw loosening detection method according to any one of claims 1 to 4, comprising: A line marking module is used to select a target screw, a first comparison screw, and a second comparison screw, and connect a first-class marking line 1, a first-class reference marking line 2, a second-class marking line 1, and a second-class reference marking line 2 according to the linear relationship between the target screw and the first comparison screw and the second comparison screw under normal tightening conditions; The screw condition judgment module 1 is used to detect the lateral image information to be tested in the current period, and when it is judged that the horizontal position of the target screw in the lateral image information to be tested is too low, the screw detection normal result is output; when it is judged that the horizontal position of the target screw in the lateral image information to be tested is too high, the screw detection abnormal result is output; The screw condition judgment module 2 is used to output screw loosening verification information when it is impossible to judge whether the horizontal position of the target screw in the lateral image information to be tested has changed; A verification information collection module is used to mark the first position point, the second position point, the third position point and the fourth position point that need to be subjected to light-sensitive refraction processing according to the screw loosening verification information, and to calculate the loosening condition interval value and the tightening condition interval value of the target screw according to the light-sensitive refraction feedback signal image information of the first position point, the second position point, the third position point and the fourth position point; The screw condition judgment module three is used to judge the relationship between the image information set of the refraction signal to be tested and the loose condition interval value and the tightening condition interval value, and output the normal screw detection result or the abnormal screw detection result.
6. An electronic device, characterized in that: include: Memory for storing computer software programs; A processor is used to read and execute the computer software program, thereby implementing a method for detecting loose screws as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The storage medium stores a computer software program, and when the computer software program is executed by the processor, a method for detecting loose screws as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Bolt looseness detection method and device for 360-degree dynamic image monitoring system of train
CN117593290A
Bolt looseness quantitative detection method based on image processing
CN118225297A