Thread detection device and control method

By employing a multi-parameter collaborative detection and data traceability mechanism, the problems of high misjudgment rate and low detection accuracy in existing thread detection technologies have been solved, achieving efficient and stable thread detection and quality traceability.

CN121677832APending Publication Date: 2026-03-17SHANDONG PINZHENG METAL PROD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing thread inspection technologies rely solely on a single engagement resistance parameter to determine compliance, failing to accurately identify whether engagement jamming stems from misalignment between the workpiece and gauge or from defects in the thread's dimensions or shape, resulting in a high false positive rate. Furthermore, a single controller architecture struggles to balance high-speed data acquisition with stable logic control and lacks real-time attitude adjustment for coaxiality deviations, easily leading to decreased inspection accuracy and equipment damage. Finally, the connection between inspection data and workpiece traceability is weak, making it difficult to meet the requirements of full lifecycle quality traceability.

Method used

A multi-parameter collaborative detection method is adopted, which uses programmable logic controllers and embedded microcontroller units to coordinate and schedule, collect and adjust engagement parameters in real time, and combine platform attitude fine-tuning and data traceability mechanism to generate workpiece digital ID card, thereby realizing data closed-loop traceability.

Benefits of technology

Accurately identify the causes of spin-locking, reduce the false judgment rate, improve detection accuracy and stability, achieve quality traceability, and reduce the cost of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121677832A_ABST
    Figure CN121677832A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of thread detection in deep hole machining, and discloses a thread detection device and a control method, and the method comprises the steps: collecting a specification parameter, a qualified resistance threshold value, a platform stroke limit parameter, a rotation coaxiality deviation threshold value and a resistance change rate threshold value of a target thread workpiece, and obtaining a detection parameter set, the target threaded workpiece is a to-be-detected threaded workpiece; a detection parameter control database is constructed, a programmable logic controller inputs a detection parameter set into the database to obtain initial control parameters, and meanwhile, the programmable logic controller and an embedded micro-control unit are cooperatively scheduled. The device has the beneficial effects that the technical problem that the misjudgment rate is high due to the fact that the qualification is judged only through a single screwing resistance parameter and screwing clamping stagnation is caused by misalignment of a workpiece and a gauge or the size or form defect of a thread cannot be accurately identified in the existing thread detection technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of thread detection in deep hole machining, and particularly relates to a thread detection device and a control method. BACKGROUND

[0002] Traditional thread detection methods mostly rely on a single rotation resistance parameter to determine the eligibility, and a single controller is mainly used in the control architecture, which not only is difficult to distinguish the rotation jam caused by different factors such as misalignment of the workpiece and the gauge, thread size deviation, etc., but also has the contradiction that high-speed data acquisition and stable logic scheduling are difficult to balance. At the same time, most schemes lack real-time posture adjustment mechanism for coaxiality deviation, which is easy to cause detection accuracy to decrease or workpiece and gauge to be damaged due to alignment error, and the traceability correlation between detection data and workpiece is not closed loop, which cannot meet the management needs of modern industry for quality full life cycle traceability.

[0003] Therefore, the existing thread detection technology only determines the eligibility through a single rotation resistance parameter, which cannot accurately identify whether the rotation jam is caused by misalignment of the workpiece and the gauge or thread size or shape defects, resulting in high misjudgment rate. The single controller architecture is difficult to balance the needs of high-speed data acquisition and stable logic control, either the response speed is insufficient to capture the instantaneous resistance change, or the logic scheduling ability is weak to realize complex abnormal processing. The real-time posture correction function for coaxiality deviation is lacking, which is easy to cause detection error or equipment and workpiece damage due to alignment error. The traceability correlation between detection data and workpiece is not close, which is difficult to meet the quality traceability and control requirements in batch production scene. SUMMARY

[0004] The application aims to solve the technical problem that the existing thread detection technology only determines the eligibility through a single rotation resistance parameter, which cannot accurately identify whether the rotation jam is caused by misalignment of the workpiece and the gauge or thread size or shape defects, resulting in high misjudgment rate.

[0005] In order to achieve the above-mentioned goal, the application provides a thread detection device and a control method.

[0006] The specific technical scheme adopted by the application is as follows: A thread detection device control method, the method comprising: Collecting specification parameters, qualified resistance threshold, platform stroke limit parameters, rotation coaxiality deviation threshold and resistance change rate threshold of a target threaded workpiece to obtain a detection parameter set, the target threaded workpiece being a threaded workpiece to be detected; Constructing a detection parameter control database, and inputting the detection parameter set into the database to obtain initial control parameters by a programmable logic controller, and simultaneously scheduling with an embedded micro control unit; A control model containing parameter adjustment and parameter compensation modules is constructed based on the database and the set of detection parameters. The programmable logic controller is responsible for the global scheduling of the model, and the embedded microcontroller unit is responsible for high-speed data processing. The initial control parameters are used to drive the motor to move the chuck to hold the gauge and drive the platform to rotate so that the gauge is engaged with the workpiece. The embedded microcontroller unit collects the real-time parameter set and synchronizes it to the programmable logic controller. The real-time parameter set is used as the current detection node status. The programmable logic controller calls the parameter adjustment module to obtain the adjustment control parameters and the parameter compensation module to obtain the compensation parameters. The embedded microcontroller unit responds to the abnormal interrupt. The detection continues by adjusting control and compensation parameters until the detection is completed, generating a digital ID for the workpiece and marking it. If the coaxiality deviation of the rotation exceeds the threshold, the programmable logic controller issues an instruction to adjust the workpiece posture through the platform posture fine-tuning mechanism. If the resistance change rate exceeds the threshold, it is determined that the rotation is stuck and the detection stops. The programmable logic controller displays the results synchronously. The generated digital ID card for the workpiece corresponds one-to-one with the detection data stored in the RFID module and the number printed by the laser marking machine, thus enabling data traceability.

[0007] Furthermore, the qualified resistance threshold is obtained by performing several engagement tests on several standard threaded workpieces of the same specification with a gauge, and then adding the average value of the test results to the preset tolerance. The initial control parameters include the clamping torque of the three-jaw chuck and the axial movement speed of the platform; The threshold values ​​for coaxiality deviation, resistance change rate, and platform stroke limit parameters are all set according to the tolerance grade of the target threaded workpiece and the performance of the testing equipment. The programmable logic controller (PLC) and the embedded microcontroller unit (MCU) achieve millisecond-level data interaction through short-range differential serial communication. This communication method includes the structural design related to parameter types, data lengths, and verification. The embedded MCU has interrupt priorities, with the priority order being: extreme position interrupt is higher than engagement jamming warning interrupt, and engagement jamming warning interrupt is higher than data acquisition interrupt. The real-time parameter set includes platform position data, engagement resistance data, engagement coaxiality deviation value, and resistance change rate. The adjustment control parameters include platform attitude adjustment parameters.

[0008] Furthermore, the construction of the detection parameter control database includes: Collect the specification parameters, qualified resistance threshold, platform stroke limit parameters, screw coaxiality deviation threshold and resistance change rate threshold of multiple threaded workpieces to obtain multiple sample detection parameter sets; Collect control parameters and real-time parameter sets of the multiple threaded workpieces under different detection node states to obtain multiple sets of control parameters and multiple sets of real-time parameters. The detection parameter control database is constructed using the multiple sets of sample detection parameters, multiple detection node states, and multiple sets of control parameters.

[0009] Furthermore, the detection parameter control database is constructed using the multiple sets of sample detection parameters, multiple detection node states, and multiple sets of control parameters, including: Based on the set of multiple sample detection parameters, information on multiple entities, including the rotation coaxiality deviation threshold and the drag change rate threshold, is obtained. Based on the states of the multiple detection nodes, a first attribute and multiple first attribute values ​​are obtained, including the spin-locked warning state. Based on the multiple sets of control parameters, obtain a first sub-attribute containing platform attitude adjustment parameters and multiple first sub-attribute values; Based on the multiple real-time parameter sets, a second sub-attribute containing the rotational coaxiality deviation value and the drag change rate, as well as multiple second sub-attribute values, are obtained; The detection parameter control database is constructed based on the multiple entity information, the first attribute, multiple first attribute values, the first sub-attribute, multiple first sub-attribute values, the second sub-attribute, and multiple second sub-attribute values.

[0010] Furthermore, based on the detection parameter control database and the detection parameter set, a control model suitable for detecting the target threaded workpiece is constructed, including: The parameter adjustment module, which includes platform attitude adjustment logic, is constructed. Based on the detection parameter control database, the initial detection node state of the target threaded workpiece is obtained, including the initial thread coaxiality deviation value, resistance change rate, and initial control parameters. Obtain the status of each subsequent detection node, including the deviation value of the rotation coaxiality, the abnormal state of the resistance change rate, the warning state of multi-round rotation jamming, and the control parameters corresponding to the previous detection node; Establish a mapping relationship between the status of subsequent detection nodes and the corresponding control parameters of the previous detection node, including the correspondence between abnormal states and adjusted control parameters. The parameter adjustment module is constructed based on the mapping relationship; The parameter compensation module is constructed to compensate for the coaxiality deviation value of the threaded workpiece and the resistance change rate. The module collects the compensation parameters of the target threaded workpiece under multiple real-time parameter sets. The multiple real-time parameter sets include the coaxiality deviation value of the threaded workpiece and the resistance change rate. The compensation parameters include the coaxiality compensation coefficient and the resistance change rate compensation coefficient. Multiple sample compensation parameters are obtained, and the parameter compensation module is constructed based on a data fitting algorithm or neural network. The multiple real-time parameter sets and multiple sample compensation parameters are data-identified to obtain a constructed dataset. The constructed dataset is used to train, validate, and test the module until the compensated detection error does not exceed the allowable error corresponding to the tolerance grade of the target threaded workpiece, thus completing the construction of the parameter compensation module; Based on the completed parameter adjustment module and parameter compensation module, the completed control model is obtained.

[0011] Furthermore, the detection is continued using the adjusted control parameters and the compensation parameters, including: correcting the adjusted control parameters using the compensation parameters to obtain the final control parameters; The final control parameters are used to drive the chuck, platform operation, and platform attitude fine-tuning; Continue to inspect the target threaded workpiece, and simultaneously monitor the coaxiality deviation of the screw thread and the rate of change of resistance to prevent the screw thread from getting stuck. The compensation parameters include the rotation coaxiality compensation coefficient and the drag change rate compensation coefficient; the adjustment control parameters include the platform attitude adjustment parameters.

[0012] A thread inspection device includes a frame with a three-jaw chuck driven by a drive motor. A gauge holding a target threaded workpiece is clamped within the chuck. The target threaded workpiece is coaxial with the gauge and is placed on a movable platform. The drive motor moves the chuck holding the gauge and the platform, causing the gauge to engage with the workpiece. The resistance to engagement between the target threaded workpiece and the gauge is tested segment by segment, using the thread pitch as a unit. The thread quality is determined by the resistance and the rate of change of resistance. A miniature pressure sensor or torque sensor is fixed to the end of the gauge or inside the clamping jaws of the three-jaw chuck, and is coaxial with the gauge under force. The movable platform is guided and supported by horizontal and vertical attitude fine-tuning mechanisms. The miniature pressure sensor or torque sensor and the drive motor are all connected to a programmable logic controller and an embedded microcontroller unit. Furthermore, the frame is also equipped with a coaxiality detection component for detecting the coaxiality of the result gauge and the target threaded workpiece; an output and traceability component for displaying the detection results and traceability marks; and a fusion control unit, which includes a programmable logic controller and an embedded microcontroller unit, which are connected via short-range differential serial communication to achieve millisecond-level data interaction. Furthermore, the coaxiality detection component includes 2-4 sets of miniature displacement sensors evenly arranged along the circumference of the gauge, or a laser alignment sensor installed on the movable platform at the corresponding position of the gauge, for real-time detection of the radial offset between the gauge axis and the target threaded workpiece axis. The safety detection component includes photoelectric switches positioned at the travel limit positions of the movable platform to detect the platform's movement boundaries and prevent collisions due to overtravel. The results output and traceability components include a display screen, a laser marking machine, and an RFID module connected to the control unit. The display screen is used to display the test results, batch information, and quality requirements in real time. The laser marking machine is used to print the number associated with the workpiece's digital ID. The RFID module is used to store test data and traceability information. The integrated control unit includes a programmable logic controller and an embedded microcontroller unit, which are connected via short-range differential serial communication to achieve millisecond-level data interaction; Among them, the embedded microcontroller unit is responsible for high-speed data acquisition and processing of the force detection component, coaxiality detection component, and safety detection component, and calculates the resistance change rate. It has an interrupt priority of stroke limit interruption > coaxiality deviation interruption > resistance change rate interruption, and prioritizes emergency exceptions. The programmable logic controller is responsible for global scheduling, calling the parameter adjustment and compensation module to generate control commands, drive the drive motor and the attitude fine-tuning mechanism of the movable platform, and control the output of control results and the operation of the traceability component. The force detection component, coaxiality detection component, safety detection component, drive motor, attitude fine-tuning mechanism of the movable platform, display screen, laser marking machine and radio frequency identification module are all electrically connected to the fusion control unit.

[0013] The positive effects of this invention are as follows: By coordinating and fusing multiple parameters, and by matching the generated workpiece digital ID with the detection data stored in the RFID module and the number printed by the laser marking machine, data traceability is achieved. This solves the technical problem of existing thread inspection technologies that rely solely on a single engagement resistance parameter to determine compliance, making it impossible to accurately identify whether engagement jamming is due to misalignment between the workpiece and gauge or defects in the thread's size or shape, leading to a high misjudgment rate. Simultaneously, multi-parameter coordinating detection can accurately distinguish the specific causes of engagement jamming. Combined with real-time attitude adjustment, this significantly reduces the detection misjudgment rate and the risk of workpiece and gauge damage. The fusion architecture of the programmable logic controller and embedded microcontroller ensures the stability of logic scheduling, achieves high-speed data acquisition and processing, and improves batch inspection efficiency. The one-to-one correspondence between the workpiece digital ID, the data stored in the RFID module, and the laser marking number constructs a complete quality traceability closed loop, facilitating rapid tracing of the detection data and production batch of problematic workpieces. This effectively improves the accuracy, stability, and traceability of thread inspection while reducing the cost of manual intervention. Attached Figure Description

[0014] Figure 1 This is a three-dimensional structural diagram of the mechanical part of the thread detection device in the thread detection device and control method of the present invention; Figure 2 yes Figure 1 The image shows a front view of the mechanical part of the thread detection device in the thread detection device and control method of the present invention. Figure 3 yes Figure 2 The mechanical part of the thread detection device in the thread detection device and control method of the present invention is shown as a cross-sectional view along line AA. Figure 4 yes Figure 3 The diagram shows an enlarged view of the mechanical part M of the thread detection device in the thread detection device and control method of the present invention. Figure 5 yes Figure 1 The image shows a side view of the mechanical part of the thread detection device in the thread detection device and control method of the present invention. Figure 6 This is a flowchart of the control method in the thread detection device and control method of the present invention; Legend: 1—Platform, 2—Spring, 3—Three-jaw chuck, 4—Panel, 5—Reinforcing rib, 6—Drive motor, 7—Cavity, 8—Frame, 9—First bearing, 10—Mounting platform, 11—Through hole, 12—Snap-fit ​​groove, 13—Limit groove, 14—Target threaded workpiece, 15—Gazette, 16—Fixed platform, 17—Bracket, 18—First photoelectric switch, 1801—Second photoelectric switch, 19—Guide post, 20—Guide seat, 21—Guide sleeve, 22—Fixed seat, 23—Clamping part, 24—Locking hole, 25—Claw guide block, 26—Claw clamping block. Detailed Implementation

[0015] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments: Specific Implementation

[0016] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0018] The specific implementation of the present invention will be described in detail below with reference to specific embodiments.

[0019] like Figure 6 As shown, this invention provides a control method for a thread detection device, the method comprising: S100: Collect the specification parameters, qualified resistance threshold, platform stroke limit parameters, rotation coaxiality deviation threshold and resistance change rate threshold of the target threaded workpiece to obtain a set of detection parameters. The target threaded workpiece is the threaded workpiece to be detected. S200: Constructs a detection parameter control database. The programmable logic controller inputs the detection parameter set into the database to obtain the initial control parameters, and coordinates with the embedded microcontroller unit for scheduling. A control model containing parameter adjustment and parameter compensation modules is constructed based on the database and the set of detection parameters. The programmable logic controller is responsible for the global scheduling of the model, and the embedded microcontroller unit is responsible for high-speed data processing. S300: The initial control parameters drive the motor to move the chuck to hold the gauge and drive the platform to rotate so that the gauge is engaged with the workpiece. The embedded microcontroller unit collects the real-time parameter set and synchronizes it to the programmable logic controller. S400: The real-time parameter set is used as the current detection node status. The programmable logic controller calls the parameter adjustment module to obtain the adjustment control parameters and calls the parameter compensation module to obtain the compensation parameters. The embedded microcontroller unit responds to the abnormal interrupt. S500: The system continues testing by adjusting control and compensation parameters until testing is complete, generating a digital ID for the workpiece and marking it. If the coaxiality deviation exceeds the threshold, the programmable logic controller (PLC) issues an instruction to adjust the workpiece posture through the platform's posture fine-tuning mechanism. If the resistance change rate exceeds the threshold, the system is determined to be stuck and testing is stopped, with the PLC displaying the results synchronously. The generated digital ID for the workpiece corresponds one-to-one with the testing data stored in the RFID module and the number printed by the laser marking machine, enabling data traceability.

[0020] The set of detection parameters includes the specifications of the threaded workpiece, such as diameter, pitch, and thread profile, as well as judgment thresholds, including acceptable resistance, coaxiality deviation, and resistance change rate, and platform travel boundary parameters. These are all basic data that need to be clarified before detection and can be obtained through industry-standard parameter calibration methods. After constructing the detection parameter control database, the programmable logic controller (PLC) is responsible for calling the database to obtain initial control parameters, such as chuck clamping force and platform movement speed, and works in conjunction with the embedded microcontroller unit (MCU). In other words, the PLC coordinates the overall logic scheduling, and the MCU... Focusing on high-speed data acquisition and processing, the two have a clear division of labor and work together. After the drive motor drives the chuck to rotate and clamp the gauge, and the platform moves the workpiece to achieve engagement, the embedded microcontroller unit (MCU) collects data such as platform position, engagement resistance, coaxiality deviation, and resistance change rate in real time through sensors and synchronizes it to the programming logic controller (PLC). Based on this real-time data, the PLC calls the parameter adjustment module and the compensation module to generate control commands related to attitude adjustment and parameter correction, respectively. The embedded microcontroller unit (MCU) prioritizes responding to abnormal interruptions such as extreme positions and engagement jamming. In subsequent testing, if the coaxiality deviation exceeds the threshold, the PLC will rotate the motor to drive the platform attitude fine-tuning mechanism to correct the workpiece position. If the resistance change rate exceeds the threshold, the testing will be stopped immediately and the result will be displayed. After the testing is completed, the generated digital ID of the workpiece will be bound to the test data stored in the RFID module and the number printed by the laser marking machine.

[0021] The qualified resistance threshold is obtained by performing several engagement tests on several standard threaded workpieces of the same specification with a gauge, taking the average of the test results and then adding a preset tolerance. The initial control parameters include the clamping torque of the three-jaw chuck and the axial movement speed of the platform; The threshold values ​​for coaxiality deviation, resistance change rate, and platform stroke limit parameters are all set according to the tolerance grade of the target threaded workpiece and the performance of the testing equipment. The programmable logic controller (PLC) and the embedded microcontroller unit (MCU) achieve millisecond-level data interaction through short-range differential serial communication. This communication method includes the structural design related to parameter types, data lengths, and verification. The embedded MCU has interrupt priorities, with the priority order being: extreme position interrupt is higher than engagement jamming warning interrupt, and engagement jamming warning interrupt is higher than data acquisition interrupt. The real-time parameter set includes platform position data, engagement resistance data, engagement coaxiality deviation value, and resistance change rate. The adjustment control parameters include platform attitude adjustment parameters.

[0022] Furthermore, the construction of the detection parameter control database includes: Collect the specification parameters, qualified resistance threshold, platform stroke limit parameters, screw coaxiality deviation threshold and resistance change rate threshold of multiple threaded workpieces to obtain multiple sample detection parameter sets; Collect control parameters and real-time parameter sets of the multiple threaded workpieces under different detection node states to obtain multiple sets of control parameters and multiple sets of real-time parameters. The detection parameter control database is constructed using the multiple sets of sample detection parameters, multiple detection node states, and multiple sets of control parameters.

[0023] Furthermore, the detection parameter control database is constructed using the multiple sets of sample detection parameters, multiple detection node states, and multiple sets of control parameters, including: Based on the set of multiple sample detection parameters, information on multiple entities, including the rotation coaxiality deviation threshold and the drag change rate threshold, is obtained. Based on the states of the multiple detection nodes, a first attribute and multiple first attribute values ​​are obtained, including the spin-locked warning state. Based on the multiple sets of control parameters, obtain a first sub-attribute containing platform attitude adjustment parameters and multiple first sub-attribute values; Based on the multiple real-time parameter sets, a second sub-attribute containing the rotational coaxiality deviation value and the drag change rate, as well as multiple second sub-attribute values, are obtained; The detection parameter control database is constructed based on the multiple entity information, the first attribute, multiple first attribute values, the first sub-attribute, multiple first sub-attribute values, the second sub-attribute, and multiple second sub-attribute values.

[0024] Furthermore, based on the detection parameter control database and the detection parameter set, a control model suitable for detecting the target threaded workpiece is constructed, including: The parameter adjustment module, which includes platform attitude adjustment logic, is constructed. Based on the detection parameter control database, the initial detection node state of the target threaded workpiece is obtained, including the initial thread coaxiality deviation value, resistance change rate, and initial control parameters. Obtain the status of each subsequent detection node, including the deviation value of the rotation coaxiality, the abnormal state of the resistance change rate, the warning state of multi-round rotation jamming, and the control parameters corresponding to the previous detection node; Establish a mapping relationship between the status of subsequent detection nodes and the corresponding control parameters of the previous detection node, including the correspondence between abnormal states and adjusted control parameters. The parameter adjustment module is constructed based on the mapping relationship; The parameter compensation module is constructed to compensate for the coaxiality deviation value of the threaded workpiece and the resistance change rate. The module collects the compensation parameters of the target threaded workpiece under multiple real-time parameter sets. The multiple real-time parameter sets include the coaxiality deviation value of the threaded workpiece and the resistance change rate. The compensation parameters include the coaxiality compensation coefficient and the resistance change rate compensation coefficient. Multiple sample compensation parameters are obtained, and the parameter compensation module is constructed based on a data fitting algorithm or neural network. The multiple real-time parameter sets and multiple sample compensation parameters are data-identified to obtain a constructed dataset. The constructed dataset is used to train, validate, and test the module until the compensated detection error does not exceed the allowable error corresponding to the tolerance grade of the target threaded workpiece, thus completing the construction of the parameter compensation module; Based on the completed parameter adjustment module and parameter compensation module, the completed control model is obtained.

[0025] Furthermore, the detection is continued using the adjusted control parameters and the compensation parameters, including: correcting the adjusted control parameters using the compensation parameters to obtain the final control parameters; The final control parameters are used to drive the chuck, platform operation, and platform attitude fine-tuning. Continue to inspect the target threaded workpiece, and simultaneously monitor the coaxiality deviation of the screw thread and the rate of change of resistance to prevent the screw thread from getting stuck. The compensation parameters include the rotation coaxiality compensation coefficient and the drag change rate compensation coefficient; the adjustment control parameters include the platform attitude adjustment parameters. Example

[0026] like Figures 1 to 5 As shown, a thread inspection device includes a frame 8, on which a three-jaw chuck 3 driven by a drive motor 6 is mounted. A gauge 15 holding a target threaded workpiece 14 is clamped within the three-jaw chuck 3. The target threaded workpiece 14 is coaxial with the gauge 15. The target threaded workpiece 14 is placed on a movable platform 1. The drive motor 6 moves the three-jaw chuck 3, clamping the gauge 15 and the drive platform 1, causing the gauge 15 to engage with the target threaded workpiece 14. The resistance to engagement between the target threaded workpiece 14 and the gauge 15 is tested segment by segment, using the thread pitch as a unit. The thread quality is determined by the resistance and the rate of change of resistance. A miniature pressure sensor or torque sensor is fixed to the end of the gauge 15 or inside the clamping jaws of the three-jaw chuck 3, and is coaxial with the gauge 15 under force. The movable platform 1 is guided and supported by horizontal and vertical attitude fine-tuning mechanisms. The miniature pressure sensor or torque sensor and the drive motor are all connected to a programmable logic controller and an embedded microcontroller unit. The drive motor 6 drives the three-jaw chuck 3 to clamp the gauge 15 and move the drive platform 1, so that the gauge 15 is screwed onto the target threaded workpiece 14. Specifically, the output shaft of the drive motor 6 is fixedly connected to the three-jaw chuck 3, and the three-jaw chuck 3 is rotatably connected to the support plate 4 through a cross-sectional bearing on the top surface of the support plate 4. At the same time, the outer circumference of the three-jaw chuck 3 is rotatably connected to the mounting platform 10 of the frame 8 through the first bearing 9. The bottom of the support plate 4 is also provided with reinforcing ribs 5 to prevent deformation of the support plate 4. The top of the mounting platform 10 is provided with a posture fine-tuning mechanism for four moving platforms. The posture fine-tuning mechanism includes a fixed seat 22 fixedly connected to the mounting platform 10, a guide post 19 fixed inside the fixed seat, a spring 2 sleeved on the outside of the guide post 19, a guide sleeve 21 slidably provided on the top of the spring 2, the guide sleeve 21 passes through the platform 1 and is fixed together with the guide seat 20, and the guide seat 20 is fixed together with the platform 1. The guide sleeve 21 and the guide seat 20 slide together on the outside of the guide post 19; the platform 1 has a through hole 11 in the middle, which allows the gauge 15 to move axially relative to each other within the through hole 11. The top inner wall of the through hole 11 has a snap-fit ​​groove 12, and the snap-fit ​​groove 12 has a flange that cooperates with the groove in the snap-fit ​​boss of the fixed table 16, so that the fixed table 16 is snapped onto the top surface of the platform. The fixed table 16 has a limiting groove 13, and the target threaded workpiece 14 is limited by the limiting groove 13, so that when the gauge 15 rotates inside or outside the target threaded workpiece 14, the target threaded workpiece 14 can remain stationary, ensuring the smooth engagement of the threaded connection. The mounting platform 10 is also equipped with a bracket 17 on its side. A first photoelectric switch 18 and a second photoelectric switch 1801 are fixed on the side of the bracket 17. The first photoelectric switch 18 and the second photoelectric switch 1801 form a safety detection component to detect the platform's movement boundary and prevent overtravel collisions. When the drive motor 6 drives the gauge 15 to rotate through the three-jaw chuck 3, the gauge 15 is threadedly engaged with the target threaded workpiece. At this time, under the action of the threaded connection force, the platform moves downward along the guide post, thereby realizing the purpose of the drive motor 6 driving the three-jaw chuck 3 to clamp the gauge 15 and drive the platform 1 to move, so that the gauge 15 is engaged with the target threaded workpiece 14. The drive motor 6, under the control of the programmable logic controller and the embedded microcontroller unit, measures the resistance encountered by the gauge after each pitch of rotation. The resistance is then compared with the standard resistance threshold, subtracting the resistance from the spring 2, guide sleeve 21, and guide seat 20. The thread is judged to be qualified or stuck by comparing the resistance and the rate of change of resistance. When the resistance and the rate of change of resistance exceed the standard threshold, the drive motor will rotate in the opposite direction, disengage from engagement, and re-attempt engagement. During this process, the attitude fine-tuning mechanism adjusts the attitude of the platform 1 within an adjustable range through the adaptive adjustment of the spring. If engagement is still not possible after repeated attempts, the system issues an alarm, indicating that the target threaded workpiece is placed incorrectly or that the platform has malfunctioned.

[0027] Furthermore, the frame 8 is also equipped with a coaxiality detection component for detecting the coaxiality of the result gauge and the target threaded workpiece; an output and traceability component for displaying the detection results and traceability marks; and a fusion control unit, which includes a programmable logic controller and an embedded microcontroller unit, which are connected by a short-range differential serial communication method to achieve millisecond-level data interaction. Furthermore, the coaxiality detection component includes 2 to 4 sets of miniature displacement sensors evenly arranged along the circumference of the gauge, or a laser alignment sensor installed on the movable platform at the corresponding position of the gauge, for real-time detection of the radial offset between the gauge axis and the axis of the target threaded workpiece. The safety detection component includes photoelectric switches positioned at the travel limit positions of the movable platform to detect the platform's movement boundaries and prevent collisions due to overtravel. The results output and traceability components include a display screen, a laser marking machine, and an RFID module connected to the control unit. The display screen is used to display the test results, batch information, and quality requirements in real time. The laser marking machine is used to print the number associated with the workpiece's digital ID. The RFID module is used to store test data and traceability information. The integrated control unit includes a programmable logic controller and an embedded microcontroller unit, which are connected via short-range differential serial communication to achieve millisecond-level data interaction; Among them, the embedded microcontroller unit is responsible for high-speed data acquisition and processing of the force detection component, coaxiality detection component, and safety detection component, and calculates the resistance change rate. It has an interrupt priority of stroke limit interruption > coaxiality deviation interruption > resistance change rate interruption, and prioritizes emergency exceptions. The programmable logic controller is responsible for global scheduling, calling the parameter adjustment and compensation module to generate control commands, drive the drive motor and the attitude fine-tuning mechanism of the movable platform, and control the output of control results and the operation of the traceability component. The force detection component, coaxiality detection component, safety detection component, drive motor, attitude fine-tuning mechanism of the movable platform, display screen, laser marking machine and radio frequency identification module are all electrically connected to the fusion control unit. The attitude fine-tuning mechanism, display screen and laser marking machine of the movable platform are fixed on the outside of the frame 8, and the force detection component, coaxiality detection component, safety detection component and drive motor radio frequency identification module are all fixed in the cavity 7 inside the frame 8.

[0028] The foregoing has broadly outlined some aspects and features of the various embodiments and should be interpreted as merely illustrative of potential applications. Other beneficial results can be obtained by applying the disclosed information in different ways or by combining aspects of the disclosed embodiments. Further aspects and a more complete understanding can be obtained based on the detailed description of exemplary embodiments with reference to the accompanying drawings, within the scope defined by the claims.

[0029] The above embodiments provide a detailed description of the present invention. Of course, the above description is not intended to limit the present invention, nor is the present invention limited to the examples described above. Any changes, modifications, additions, reductions, or substitutions made by those skilled in the art within the scope of the present invention are also within the protection scope of the present invention.

Claims

1. A thread detection device control method characterized by, The method comprises: Collecting specification parameters, qualified resistance threshold values, platform stroke limit parameters, screwing axial deviation threshold values and resistance change rate threshold values of a target threaded workpiece to obtain a detection parameter set, the target threaded workpiece being a threaded workpiece to be detected; Building a detection parameter control database, and inputting the detection parameter set into the database by a programmable logic controller to obtain initial control parameters, and simultaneously cooperating with an embedded micro control unit for scheduling; Building a control model comprising a parameter adjustment module and a parameter compensation module according to the database and the detection parameter set, the programmable logic controller being responsible for global scheduling of the model, and the embedded micro control unit being responsible for high-speed data processing; Driving a motor by using the initial control parameters to drive a chuck to hold a gauge and drive a platform to move, so that the gauge is screwed with the workpiece, and the embedded micro control unit collects real-time parameter sets in real time and synchronizes them to the programmable logic controller; Taking the real-time parameter set as a current detection node state, calling the parameter adjustment module by the programmable logic controller to obtain adjustment control parameters, calling the parameter compensation module to obtain compensation parameters, and the embedded micro control unit responding to abnormal interruption; Continuing to detect by using the adjustment control parameters and the compensation parameters until the detection is completed, generating a digital identity card of the workpiece and marking the same; wherein, if the screwing axial deviation threshold value is exceeded, the programmable logic controller issues an instruction to adjust the workpiece posture by a platform posture fine adjustment mechanism; and if the resistance change rate threshold value is exceeded, it is determined that the screwing is stuck and the detection is stopped, and the programmable logic controller synchronously displays the result.

2. The control method of a thread inspection apparatus according to claim 1, characterized by The qualified resistance threshold value is obtained by screwing a plurality of standard threaded workpieces of the same specification with the gauge for a plurality of times, taking the mean value of the detection results, and adding a preset tolerance; The initial control parameters include three-jaw chuck clamping torque and platform axial movement speed; The screwing axial deviation threshold value, the resistance change rate threshold value and the platform stroke limit parameter are set according to the tolerance grade of the target threaded workpiece and the performance of the detection equipment; The programmable logic controller and the embedded micro control unit realize millisecond-level data interaction through close-range differential serial communication, which includes structure design related to parameter type, data length and verification; the embedded micro control unit is provided with an interruption priority, and the priority order is that the limit position interruption is higher than the screwing stuck early warning interruption, and the screwing stuck early warning interruption is higher than the data sampling interruption; the real-time parameter set includes platform position data, screwing resistance data, screwing axial deviation value and resistance change rate; and the adjustment control parameter includes platform posture adjustment parameter.

3. The control method of a thread inspection apparatus according to claim 2, wherein The building of the detection parameter control database comprises: Collecting specification parameters, qualified resistance threshold values, platform stroke limit parameters, screwing axial deviation threshold values and resistance change rate threshold values of a plurality of threaded workpieces to obtain a plurality of sample detection parameter sets; Collecting control parameters and real-time parameter sets of the plurality of threaded workpieces under different detection node states to obtain a plurality of control parameter sets and a plurality of real-time parameter sets; Building the detection parameter control database by using the plurality of sample detection parameter sets, the plurality of detection node states and the plurality of control parameter sets.

4. The control method of a thread inspection apparatus according to claim 3, wherein Building the detection parameter control database by using the plurality of sample detection parameter sets, the plurality of detection node states and the plurality of control parameter sets comprises: According to the plurality of sample detection parameter sets, a plurality of entity information containing the screwing axiality deviation threshold and the resistance change rate threshold are obtained; According to the plurality of detection node states, a first attribute containing the screwing stuck early warning state and a plurality of first attribute values are obtained; According to the plurality of control parameter sets, a first sub-attribute containing the platform posture adjustment parameter and a plurality of first sub-attribute values are obtained; According to the plurality of real-time parameter sets, a second sub-attribute containing the screwing axiality deviation value and the resistance change rate and a plurality of second sub-attribute values are obtained; According to the plurality of entity information, the first attribute, the plurality of first attribute values, the first sub-attribute, the plurality of first sub-attribute values, the second sub-attribute and the plurality of second sub-attribute values, a detection parameter control database is constructed.

5. The method of claim 4, wherein the control method is characterized by: According to the detection parameter control database and the detection parameter set, a control model suitable for the target threaded workpiece detection is constructed, including: The parameter adjustment module containing the platform posture adjustment logic is constructed, the initial detection node state of the target threaded workpiece is obtained according to the detection parameter control database, including the initial screwing axiality deviation value, the resistance change rate and the initial control parameter; The subsequent detection node states are obtained, including the screwing axiality deviation value, the resistance change rate abnormal state and a plurality of rounds of screwing stuck early warning states and the control parameters corresponding to the previous detection node; The mapping relationship between the subsequent detection node states and the control parameters corresponding to the previous detection node is constructed, including the corresponding relationship between the abnormal state and the adjustment control parameter, The parameter adjustment module is constructed according to the mapping relationship; The parameter compensation module associated with the screwing axiality deviation value and the resistance change rate compensation is constructed, the compensation parameters of the target threaded workpiece under a plurality of real-time parameter sets are collected, the plurality of real-time parameter sets include the screwing axiality deviation value and the resistance change rate, and the compensation parameters include the screwing axiality compensation coefficient and the resistance change rate compensation coefficient; A plurality of sample compensation parameters are obtained, the parameter compensation module is constructed based on a data fitting algorithm or a neural network, the plurality of real-time parameter sets and the plurality of sample compensation parameters are data labeled to obtain a constructed dataset, The module is trained, verified and tested using the constructed dataset until the detection error after compensation does not exceed the allowable error corresponding to the tolerance level of the target threaded workpiece, and the parameter compensation module construction is completed; The control model is constructed according to the constructed parameter adjustment module and parameter compensation module.

6. The method of claim 1, wherein The adjustment control parameter and the compensation parameter are used for continuous detection, including: the final control parameter is obtained by modifying the adjustment control parameter using the compensation parameter; The final control parameter is used to drive the chuck and the platform to run and the platform posture to be fine-tuned; The target threaded workpiece is continuously detected, and the screwing axiality deviation value and the resistance change rate are monitored in real time to prevent screwing from being stuck; The compensation parameter includes the screwing axiality compensation coefficient and the resistance change rate compensation coefficient; and the adjustment control parameter includes the platform posture adjustment parameter.

7. A thread inspection device, characterized in that The thread detection device comprises a rack, the rack being provided with a three-jaw chuck driven to rotate by a driving motor, a gauge clamped in the three-jaw chuck, the gauge being coaxial with a target threaded workpiece, the target threaded workpiece being arranged on a movable platform, the driving motor driving the three-jaw chuck to clamp the gauge and drive the movable platform to move, so that the gauge is screwed with the target threaded workpiece, the resistance of the target threaded workpiece and the gauge is tested in sections with a pitch as a unit, and whether the thread is qualified is determined according to the resistance and the resistance change rate; a micro pressure sensor or a torque sensor is fixed to the end of the gauge or the inner side of the clamping jaw of the three-jaw chuck, the micro pressure sensor or the torque sensor is coaxial with the gauge and bears force; the movable platform is guided and supported by a horizontal and vertical attitude fine adjustment mechanism; the micro pressure sensor or the torque sensor and the driving motor are connected with a programmable logic controller and an embedded micro control unit.

8. A thread inspection device according to claim 7, wherein, The rack is further provided with a coaxiality detection assembly for detecting the coaxiality of the gauge and the target threaded workpiece, an output and traceability assembly for displaying the detection result and traceability marks, and a fusion control unit comprising the programmable logic controller and the embedded micro control unit, which communicate with each other.

9. A thread inspection device according to claim 8, wherein, The coaxiality detection assembly comprises 2 to 4 groups of micro displacement sensors arranged uniformly along the circumference of the gauge, or a laser centering sensor installed at the corresponding position of the movable platform and the gauge, for detecting the radial offset of the gauge axis and the target threaded workpiece axis in real time; The safety detection assembly comprises a photoelectric switch arranged at the stroke limit position of the movable platform, for detecting the movement boundary of the platform to avoid overstroke collision; The result output and traceability assembly comprises a display screen, a laser marking machine and a radio frequency identification module connected with the control unit, the display screen being used for displaying the detection result, batch information and quality requirements in real time, the laser marking machine being used for printing the number associated with the digital identity card of the workpiece, and the radio frequency identification module being used for storing the detection data and traceability information; The fusion control unit comprises the programmable logic controller and the embedded micro control unit, which are connected through near distance differential serial communication mode to realize millisecond level data interaction; The embedded micro control unit is responsible for high-speed data acquisition and processing of the force detection assembly, the coaxiality detection assembly and the safety detection assembly, calculation of the resistance change rate, and has an interrupt priority of stroke limit interrupt> coaxiality deviation interrupt> resistance change rate interrupt, and preferentially responds to emergency exceptions; The programmable logic controller is responsible for global scheduling, calling of the parameter adjustment and compensation module to generate control instructions, driving the driving motor and the attitude fine adjustment mechanism of the movable platform to act, and simultaneously controlling the operation of the result output and traceability assembly; The force detection assembly, the coaxiality detection assembly, the safety detection assembly, the driving motor, the attitude fine adjustment mechanism of the movable platform, the display screen, the laser marking machine and the radio frequency identification module are all electrically connected with the fusion control unit.