Method for automatically measuring internal and external threads
Through the signal processing technology of the laser sensor and data processing center, combined with the execution device and Bluetooth module, the rapid automatic measurement of internal and external threads is achieved, solving the problems of large measurement errors and low efficiency, and improving measurement accuracy and stability.
Patent Information
- Application Number
- CN202510619943.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, the measurement of internal and external threads has problems such as large measurement errors, manual recording is prone to errors, and low measurement efficiency, and it is urgent to improve measurement accuracy and stability.
The laser sensor is used to combine the data processing center and execution equipment to generate execution signals through signal processing technologies such as current to voltage, amplification, filtering, analog-to-digital conversion, etc., and transmit data to the upper computer in real time through the Bluetooth module to generate a detailed measurement report.
It realizes rapid automatic measurement of internal and external threads, reduces manual intervention, and improves measurement accuracy and measurement stability.
Smart Images

Figure CN120403436A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of machining, and particularly to an automatic measurement method for internal and external threads. Background Art
[0002] In the field of machining, the machining accuracy of internal and external threads is not only an important part of the quality control of production enterprises, but also one of the important indicators for quality acceptance by users.
[0003] At present, the measurement of internal and external threads includes the measurement of parameters such as pitch and flank angle to ensure that they meet the production standards. For the measurement of internal and external threads, it is usually carried out manually by using ring gauges in combination with measuring tools. A ring gauge is a tool used to detect the size and shape of threads, mainly used to measure whether the size and shape of internal and external threads meet the standards. When measuring, it is necessary to manually control the ring gauge and plug gauge to be sleeved on the workpiece to be measured, and then combine measuring tools such as depth gauges for manual measurement.
[0004] However, in the process of using the above measurement method, manual measurement not only has problems such as large measurement errors, easy errors in manual recording, and inconsistent correspondence, but also requires a lot of manpower and has low measurement efficiency. Therefore, it is urgent to improve it to improve the measurement accuracy and stability.
[0005] Therefore, it is necessary to provide an automatic measurement method for internal and external threads to solve the above problems.
[0006] It should be noted that the above information disclosed in this background art section is only used to understand the background art of the concept of this application, and therefore, it may include information that does not constitute the prior art. Summary of the Invention
[0007] Based on the above problems existing in the prior art, the problem to be solved by this application is: to provide an automatic measurement method for internal and external threads, which can achieve rapid and automatic measurement, improve the measurement accuracy of internal and external threads, and reduce manual intervention.
[0008] The technical solution adopted by this application to solve its technical problems is: an automatic measurement method for internal and external threads, including: The data processing center receives the measurement signal from the laser sensor and preprocesses the measurement signal; Convert the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, and amplify the converted voltage signal through at least one amplifier circuit, and then input it to the data processing center; The data processing center performs real-time analysis and processing on the received digital signal, generates an execution signal, transmits the execution signal to the execution device, and the execution device outputs according to the signal instruction; Establish a communication connection between the data processing center and the execution device, realize data transmission through the Bluetooth module, and transmit each measurement result to the host computer in real time. The host computer stores and analyzes the received data to generate a detailed measurement report.
[0009] During the implementation of the technical solution of this application, after analyzing and processing the measurement signal, an execution signal of the execution device is generated. After the execution device completes the instruction according to the execution signal, the internal and external threads can be measured, and after the measurement is completed, data transmission is realized through the Bluetooth module, and a detailed measurement report is generated by the host computer.
[0010] Further, the preprocessing of the measurement signal further includes: converting the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, amplifying the converted voltage signal through at least one amplifier circuit, and then inputting it into the data processing center; filtering the amplified voltage signal through a filter circuit to remove high-frequency noise and interference signals, and performing smoothing processing through a low-pass filter; inputting the voltage signal after filtering and smoothing into an analog-to-digital converter, and performing sample and hold through a sampling circuit, and then sending it to the data processing center.
[0011] Further, the amplification of the converted voltage signal is realized by an amplifier circuit. The amplifier circuit has an input stage, an output stage and an intermediate stage, wherein the input stage uses a differential amplifier and the output stage uses a complementary symmetry push-pull output circuit.
[0012] Further, the sampling circuit is a combined circuit. The combined circuit has a sampling stage and a holding stage. Among them, the analog signal input in the sampling stage enters the holding capacitor through a switch. In the holding stage, the holding capacitor is isolated from the input signal, and even if the input signal changes, it can ensure that the signal output by the sample and hold circuit remains stable.
[0013] Further, the execution device is a push rod motor, and a calibration object for measuring the starting position is connected to the telescopic rod of the push rod motor by a calibration sensor.
[0014] Further, the execution signal is a PWM pulse width modulation signal, and the execution signal is dynamically generated by the data processing center according to the real-time analysis result.
[0015] Further, the execution device is provided with a drive circuit, and the drive circuit is an H-bridge drive circuit, and the forward and reverse rotation of the push rod motor is controlled by the positive and negative polarities of the execution signal.
[0016] Further, the measurement method uses a lithium battery as the power source and is equipped with a battery control and management circuit. The lithium battery control and management circuit is used to control the charging and discharging of the lithium battery, cooperate with a boost circuit and a voltage stabilizing circuit to provide a working voltage for the laser sensor, and provide a stable power output for the H-bridge drive circuit of the push rod motor.
[0017] An internal and external thread automatic measurement system includes: A data reception and preprocessing module, which is used to receive the measurement signal from the laser sensor by the data processing center and preprocess the measurement signal; A measurement signal processing module, which is used to convert the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, amplify the converted voltage signal through at least one amplifier circuit, and then input it to the data processing center; An execution signal processing module, which is used to analyze and process the digital signal received by the data processing center in real time, generate an execution signal, transmit the execution signal to the execution device, and the execution device outputs according to the signal instruction; A communication connection module, which is used to establish a communication connection between the data processing center and the execution device, realize data transmission through a Bluetooth module, transmit each measurement result to the host computer in real time, and the host computer stores and analyzes the received data to generate a detailed measurement report.
[0018] The beneficial effect of this application is as follows: An internal and external thread automatic measurement method provided by this application can generate an execution signal for the execution device after analyzing and processing the measurement signal. After the execution device completes the instruction according to the execution signal, it can measure the internal and external threads, and realize data transmission through the Bluetooth module after the measurement is completed, and generate a detailed measurement report through the host computer.
[0019] In addition to the purposes, features and advantages described above, this application has other purposes, features and advantages. The following will refer to the drawings to make a further detailed description of this application. Description of the Drawings
[0020] The specification drawings forming a part of this application are used to provide a further understanding of this application. The schematic embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation of this application. In the drawings: Figure 1 It is a schematic overall flow diagram of an internal and external thread automatic measurement method in this application; Figure 2 It is a schematic diagram of the module composition of an internal and external thread automatic measurement system in this application. Detailed Embodiments
[0021] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present application.
[0023] Embodiment 1: As Figure 1 shown, the present application provides an automatic internal and external thread measurement method for measuring internal and external threads during the machining process, where the measurement parameters include pitch, flank angle, etc. The method includes the following steps: Step S101: The data processing center receives the measurement signal from the laser sensor and preprocesses the measurement signal. In the traditional internal and external thread measurement process, the method of using a ring plug gauge in combination with a measuring tool is adopted. The ring plug gauge is a common thread measuring tool used to measure the inner diameter and outer diameter dimensions of the thread. It usually consists of two parts: a handle and an adjustable measuring head. The measuring head usually consists of a rotatable ring and a fixed plug. These parts are designed to be able to slide between the inner diameter and outer diameter of the thread to accurately measure the thread size. And this process requires manual repeated adjustment of the measuring head position and reading and recording data, which is time-consuming and error-prone. Therefore, in this embodiment, a laser sensor is adopted. The laser sensor is fixedly installed on the end face of the ring plug gauge, scans the thread surface through a laser beam, collects data in real time, and transmits it to the data processing center. The measurement signal collected by the laser sensor is an analog signal. In order to improve the data processing efficiency, the collected analog signal also needs to be preprocessed and then analyzed by the data processing center. Among them, the data processing center can be a CPU controller, and the CPU controller has functions such as data reception, data analysis, and data transmission. Among them, the preprocessing of the measurement signal further includes the following steps: Step S201: Convert the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, amplify the converted voltage signal through at least one amplifier circuit, and then input it to the data processing center. The analog signals collected by the laser sensor are generally current signals. Compared with voltage signals, voltage signals are more convenient for processing and transmission, and have better anti-interference ability and measurement accuracy. Therefore, it is necessary to first convert the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, and amplify the converted voltage signal through at least one amplifier circuit to ensure that the signal strength meets the subsequent processing requirements. Among them, the current-to-voltage circuit uses an operational amplifier to achieve the conversion. For the specific current-to-voltage circuit, reference can be made to the prior art, where the conversion from current signal to voltage signal is achieved by introducing voltage shunt negative feedback in the integrated operational amplifier, which will not be elaborated in detail in this embodiment; The amplification of the converted voltage signal is achieved by an amplifier circuit. The amplifier circuit has an input stage, an output stage, and an intermediate stage. The input stage uses a differential amplifier, which can suppress zero drift and reduce temperature drift. The output stage uses a complementary symmetry push-pull output circuit to ensure that the output signal is stable and distortion-free. The intermediate stage is responsible for signal gain adjustment; It should be noted that in addition to using a single amplifier circuit alone, multiple cascaded amplifier circuits can also be used to further improve signal gain and stability, and ensure data processing accuracy. Each cascaded amplifier circuit uses the same design principle. Through step-by-step amplification, signal attenuation and noise interference are effectively reduced, and finally a high-quality voltage signal is output for the CPU controller to analyze.
[0024] Step S202: Filter the amplified voltage signal through a filter circuit to remove high-frequency noise and interference signals, and perform smoothing processing through a low-pass filter; After converting and amplifying the current signal collected by the laser sensor, it is also necessary to filter the voltage signal, because high-frequency noise and interference signals may be introduced during the conversion and amplification processes, affecting data accuracy. The filter circuit uses an RC low-pass filter, which can filter out high-frequency noise, and through the smoothing processing of the low-pass filter, the signal becomes more stable, ensuring data accuracy; Step S203: Input the voltage signal after filtering and smoothing processing into an analog-to-digital converter, perform sample and hold through a sampling circuit, and then send it to the data processing center; The signals collected by the laser sensor are analog signals. To enable the data processing center to recognize and process these signals, analog-to-digital conversion is also required. The analog signals are converted into digital signals, and sampling and holding are performed through a sampling circuit to ensure that the signals are not distorted during the conversion process. Then, the stable analog signals are accurately converted into digital signals by an analog-to-digital converter and finally transmitted to the data processing center. Among them, the model of the analog-to-digital converter can be selected according to actual needs, such as AD7606, and the sampling circuit selects an S / H-ADC combined circuit. During the operation of this circuit, it has a sampling stage and a holding stage respectively. In the sampling stage, the input analog signal passes through a switch and enters the holding capacitor. In the holding stage, the holding capacitor is isolated from the input signal, ensuring that the signal output by the sampling and holding circuit remains stable even if the input signal changes, thus guaranteeing the accuracy and reliability of the analog-to-digital conversion; Step S301: The data processing center performs real-time analysis and processing on the received digital signals, generates an execution signal, transmits the execution signal to the execution device, and the execution device outputs according to the signal instruction; During the process of high-precision measurement using a ring plug gauge in combination with a laser sensor, it is also necessary to use it in combination with an execution device to complete the measurement process. Among them, the execution device is a push rod motor, and the telescopic rod of the push rod motor is connected to a calibration object for measuring the starting position of the calibration sensor. After the laser sensor completes data acquisition, the data processing center will perform real-time analysis and processing on the received digital signals, and then generate an execution signal and send it to the push rod motor. The push rod motor makes an accurate displacement according to the received execution signal. Since the displacement of the push rod motor can be accurately controlled by the data processing center, only by obtaining the displacement data of the push rod motor after receiving the execution signal, the internal and external threads of the workpiece can be accurately measured, overcoming the subjective error and operation error in the manual measurement process; Among them, the execution signal is a PWM pulse width modulation signal, and the displacement accuracy of the push rod motor is controlled by adjusting the pulse width. This execution signal is dynamically generated by the data processing center according to the real-time analysis result to ensure that the push rod motor can achieve accurate displacement in each pulse cycle, thus realizing the high-precision measurement of the internal and external threads of the workpiece; The execution device is provided with a drive circuit, and this drive circuit is an H-bridge drive circuit. The H-bridge drive circuit is a two-way motor drive circuit that can control the forward and reverse rotation of the push rod motor according to the positive and negative polarities of the PWM signal, thus realizing accurate displacement control; Each bridge arm of the H-bridge drive circuit is composed of MOSFET transistors. By controlling the on and off of the transistors, the stable operation of the motor in each working state is ensured, further improving the reliability and accuracy of the measurement system; Step S401: Establish a communication connection between the data processing center and the execution device, realize data transmission through the Bluetooth module, transmit each measurement result to the host computer in real time, and the host computer stores and analyzes the received data to generate a detailed measurement report. To accurately obtain measurement data in real time, it is also necessary to establish a communication connection between the data processing center and the execution device. In this embodiment, data transmission is realized through the Bluetooth module, and each measurement result is transmitted to the host computer in real time. After the host computer stores and analyzes the received data, it sends a calibration instruction to the laser sensor for calibration before each measurement to ensure the accuracy and consistency of the measurement data, thereby improving the stability and reliability of the overall measurement system. This method requires the use of a lithium battery as the power source, so it is also necessary to have a lithium battery control and management circuit. This lithium battery control and management circuit is used to control the charging and discharging of the lithium battery, cooperate with the boost circuit and voltage stabilizing circuit to provide the working voltage for the laser sensor, and provide a stable power output for the H-bridge drive circuit of the push rod motor. Specifically, the lithium battery control and management circuit can refer to the prior art and includes multiple safety protection functions such as overcharge protection, over-discharge protection, and short-circuit protection, which will not be described in detail in this application.
[0025] Embodiment 2: As Figure 2 shown, the present application also proposes an internal and external thread automatic measurement system. This system runs the internal and external thread automatic measurement method in Embodiment 1. This system includes: A data reception and preprocessing module, which is used for the data processing center to receive the measurement signal from the laser sensor and preprocess the measurement signal; A measurement signal processing module, which is used to convert the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, amplify the converted voltage signal through at least one amplifier circuit, and then input it to the data processing center; An execution signal processing module, which is used for the data processing center to perform real-time analysis and processing on the received digital signal, generate an execution signal, transmit the execution signal to the execution device, and the execution device outputs according to the signal instruction; A communication connection module, which is used to establish a communication connection between the data processing center and the execution device, realize data transmission through the Bluetooth module, transmit each measurement result to the host computer in real time, and the host computer stores and analyzes the received data to generate a detailed measurement report.
[0026] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An automatic measurement method for internal and external threads, characterized in that: Including: The data processing center receives the measurement signal from the laser sensor and preprocesses the measurement signal; The current signal in the measurement signal is converted into a voltage signal through a current-to-voltage circuit, and the converted voltage signal is amplified by at least one amplifier circuit and then input into the data processing center; The data processing center analyzes and processes the received digital signal in real time, generates an execution signal, transmits the execution signal to the execution device, and the execution device outputs according to the signal instruction; A communication connection is established between the data processing center and the execution device, data transmission is realized through a Bluetooth module, and each measurement result is transmitted to the host computer in real time. The host computer stores and analyzes the received data and generates a detailed measurement report.
2. The automatic measurement method for internal and external threads according to claim 1, wherein: The preprocessing of the measurement signal further includes: converting the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, amplifying the converted voltage signal by at least one amplifier circuit, and then inputting it into the data processing center; filtering the amplified voltage signal through a filter circuit to remove high-frequency noise and interference signals, and performing smoothing processing through a low-pass filter; inputting the voltage signal after filtering and smoothing into an analog-to-digital converter, and performing sample and hold through a sampling circuit, and then sending it to the data processing center.
3. The automatic measurement method for internal and external threads according to claim 2, characterized in that: The amplification of the converted voltage signal is realized by an amplifier circuit. The amplifier circuit has an input stage, an output stage and an intermediate stage, wherein the input stage uses a differential amplifier and the output stage uses a complementary symmetry push-pull output circuit.
4. A method for automatically measuring internal and external threads according to claim 2, characterized in that: The sampling circuit is a combined circuit. The combined circuit has a sampling stage and a holding stage. The analog signal input in the sampling stage enters the holding capacitor through a switch. In the holding stage, the holding capacitor is isolated from the input signal, and even if the input signal changes, it can ensure that the signal output by the sample and hold circuit remains stable.
5. A method for automatically measuring internal and external threads according to claim 1, characterized in that: The execution device is a push rod motor, and a calibration object for measuring the starting position is connected to the telescopic rod of the push rod motor by a calibration sensor.
6. The automatic measurement method for internal and external threads according to claim 5, wherein: The execution signal is a PWM pulse width modulation signal, and the execution signal is dynamically generated by the data processing center according to the real-time analysis result.
7. A method for automatically measuring internal and external threads according to claim 6, characterized in that: The execution device is provided with a drive circuit, and the drive circuit is an H-bridge drive circuit, and the forward and reverse rotation of the push rod motor is controlled by the positive and negative polarities of the execution signal.
8. A method for automatically measuring internal and external threads according to claim 7, characterized in that: This measurement method uses a lithium battery as the power source, and a battery control and management circuit is used in combination. The lithium battery control and management circuit is used to control the charging and discharging of the lithium battery, cooperate with a boost circuit and a voltage stabilizing circuit to provide a working voltage for the laser sensor, and provide a stable power output for the H-bridge drive circuit of the push rod motor.
9. An automatic internal and external thread measurement system, characterized in that: Including: A data reception and preprocessing module for the data processing center to receive the measurement signal from the laser sensor and preprocess the measurement signal; A measurement signal processing module for converting the current signal in the measurement signal into a voltage signal through a current-to-voltage circuit, amplifying the converted voltage signal by at least one amplifier circuit, and then inputting it into the data processing center; An execution signal processing module, which is used for a data processing center to perform real-time analysis and processing on received digital signals, generate execution signals, transmit the execution signals to an execution device, and the execution device performs output according to signal instructions; A communication connection module, which is used to establish a communication connection between the data processing center and the execution device, realize data transmission through a Bluetooth module, transmit each measurement result to a host computer in real time, and the host computer stores and analyzes the received data to generate a detailed measurement report.
10. An automatic internal and external thread measurement system according to claim 9, characterized in that: It is used to implement the internal and external thread automatic measurement method according to any one of claims 1 to 8.