Distance measuring device for engineering cost
By employing the TDC-GP22 chip and a two-stage amplifier circuit in the laser rangefinder, the problem of temperature and voltage affecting the time measurement module was solved, achieving higher ranging accuracy and precision.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2026-04-07
AI Technical Summary
In existing laser ranging devices, the time measurement module is easily affected by temperature and operating voltage, resulting in inaccurate ranging accuracy and large errors.
A time-to-digital converter module based on the TDC-GP22 chip, combined with a two-stage amplifier circuit and a signal shaping circuit, is used to improve the accuracy of time interval measurement.
Through unique calibration and precision technology, the error of time interval measurement is reduced, the ranging accuracy is improved, noise and interference are reduced, and the accuracy of ranging results is ensured.
Smart Images

Figure CN224096001U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of distance measurement technology, and in particular to a distance measurement device for engineering cost estimation. Background Technology
[0002] Laser ranging uses a time measurement module to measure the time interval between the laser beam's round trip between the emission point and the target, thereby calculating the distance between the two points. Since laser ranging measures the time interval between the emitted and received pulses, the accuracy of this time measurement determines the accuracy of the ranging operation.
[0003] Common measurement methods are implemented using the internal delay unit of a microcontroller or FPGA. However, this unit is easily affected by temperature and operating voltage. Once the temperature or operating voltage fluctuates, the measurement results will change significantly, making the time interval measurement inaccurate and resulting in a large error in the measured distance. Summary of the Invention
[0004] In order to solve the technical problems existing in the background art, the present invention provides a ranging device for engineering cost estimation, which helps to improve the accuracy of the measurement results of the time interval between the laser pulse and the target point, thereby reducing the error of the final measured distance.
[0005] To achieve the above technical solution, in a first aspect, this utility model provides a ranging device for engineering cost estimation, comprising: a laser emitting module, a laser receiving module, a time-to-digital converter module, and a microcontroller; wherein the time-to-digital converter module is based on a TDC-GP22 chip;
[0006] The microcontroller is connected to the laser emitting module and the time-to-digital converter module, and the laser receiving module is connected to the time-to-digital converter module; a display module is also connected to the microcontroller.
[0007] The microcontroller is used to send start pulses to the laser emission module and the time-to-digital converter module;
[0008] The laser emitting module is used to emit laser light towards the target under test based on the received start pulse;
[0009] The laser receiving module is used to receive the laser reflected back from the target under test and send a stop pulse to the time-to-digital converter module;
[0010] The time-to-digital conversion module is used to start timing based on the received start pulse as the laser emission time and to stop timing based on the received stop pulse as the stop time, in order to calculate the time interval between the laser emission time and the stop time;
[0011] The microcontroller is also used to read the time interval calculated by the time-to-digital converter and display it through the display module.
[0012] Furthermore, the microcontroller is also connected to a communication module, which is used to connect with an external host computer to realize communication between the device and the external host computer.
[0013] Furthermore, the microcontroller 4 is connected to the SNN enable pin 9, SCK clock pin 10, S1 data input pin 11, SO data output pin 12, RSTN reset control pin 13, and INTN pin 8 of the TDC-GP22 chip, respectively.
[0014] Furthermore, the laser emitting module includes: a first amplification circuit and a laser emitter; wherein, the first amplification circuit includes a transistor Q1, the base of transistor Q1 is connected to a microcontroller (e.g., connected to the microcontroller's I / O interface) and the first end of a third resistor R3; the emitter of transistor Q1 is grounded; the collector of transistor Q1 is connected to the first end of a fourth resistor R4 and the positive terminal of the laser emitter; the second ends of the third resistor R3 and the fourth resistor R4 are connected to a power supply VCC2, and the negative terminal of the laser emitter is grounded; transistor Q1 is a high-frequency transistor 9018.
[0015] Furthermore, the laser receiving module includes: a laser receiver, a second amplification circuit, and a signal shaping circuit.
[0016] Furthermore, the second amplifier circuit includes a first-stage amplifier circuit and a second-stage amplifier circuit;
[0017] The first-stage amplifier circuit includes: a third capacitor C3, the first terminal of which is connected to the positive terminal of the laser receiver; the second terminal of the third capacitor C3 is connected to the first terminal of the fifth resistor R5; the negative terminal of the laser receiver is grounded; the second terminal of the fifth resistor R5 is connected to the first terminal of the fourth capacitor C4, the first terminal of the sixth resistor R6, and the negative terminal of the first operational amplifier U1; the positive terminal of the first operational amplifier U1 is grounded through the tenth resistor R10; the output terminal of the first operational amplifier U1 is connected to the second terminal of the fourth capacitor U4 and the second terminal of the sixth resistor R6.
[0018] The second-stage amplifier circuit includes: a sixth capacitor C6, the first terminal of which is connected to the output terminal of the first operational amplifier U1; the second terminal of the sixth capacitor C6 is connected to the first terminal of the ninth resistor R9, the second terminal of the ninth resistor R9 is connected to the first terminal of the fifth capacitor C5, the first terminal of the seventh adjustable resistor, and the negative terminal of the second operational amplifier U2; the positive terminal of the second operational amplifier U2 is grounded through the eleventh resistor R11; the second terminal of the seventh adjustable resistor is connected to the first terminal of the eighth resistor R8; and the output terminal of the second operational amplifier U2 is connected to the second terminal of the eighth resistor R8 and the second terminal of the fifth capacitor C5.
[0019] Furthermore, the first operational amplifier U1 and the second operational amplifier U2 employ operational amplifiers including, but not limited to, the following models: MAX410 and AD8675.
[0020] The beneficial effects of this utility model are as follows:
[0021] (1) This utility model uses a time-to-time conversion module based on the TDC-GP22 chip to calculate the round-trip time between the laser pulse from the emission point and the target point. Since the TDC-GP22 chip uses delay line insertion technology, it is not easily affected by temperature and working voltage through unique calibration and precision technology, thereby improving the measurement result of the time interval and reducing the error of the final measurement distance.
[0022] (2) The laser pulse receiving module of this utility model uses a two-stage amplifier circuit to amplify the pulse signal converted by the laser pulse receiver and to shape the amplified pulse signal to convert the input unstable pulse waveform into a stable pulse waveform, thereby reducing noise and interference, improving the waveform resolution, enabling the time data conversion module to accurately identify and capture the waveform, and then stop timing, further improving the accuracy of time interval measurement.
[0023] (3) The amplification circuit used in the laser pulse receiving module of this utility model includes two-stage amplification. The first-stage amplification circuit adopts a fixed amplification gain, and the second-stage amplification circuit adopts an adjustable amplification gain, which improves the flexibility of use. Attached Figure Description
[0024] The accompanying drawings, which form part of this specification, are used to provide a further understanding of this utility model. The illustrative embodiments of this utility model and their descriptions are used to explain this utility model and do not constitute an improper limitation of this utility model.
[0025] Figure 1 This is an electrical principle block diagram of a distance measuring device for engineering cost estimation according to this utility model.
[0026] Figure 2This is a circuit diagram of the time-to-digital conversion module and the laser emission module of a distance measuring device for engineering cost estimation according to this utility model.
[0027] Figure 3 This is a circuit diagram of the laser receiving module of a distance measuring device for engineering cost estimation according to this utility model. Detailed Implementation
[0028] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0029] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, each technical and scientific term used in this embodiment has the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0030] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to the present invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0031] In this utility model, terms such as "upper", "lower", "left", "right", "front", "back", "vertical", "horizontal", "side", and "bottom" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only used to facilitate the description of the structural relationship between the various components or elements of this utility model and do not specifically refer to any component or element in this utility model. They should not be construed as limiting this utility model.
[0032] In this utility model, terms such as "fixed connection," "connected," and "joined" should be interpreted broadly, indicating a fixed connection, an integral connection, or a detachable connection; a direct connection or an indirect connection through an intermediate medium. For those skilled in the art, the specific meaning of the above terms in this utility model can be determined according to the specific circumstances, and should not be construed as a limitation of this utility model.
[0033] Example 1:
[0034] like Figure 1 As shown, this embodiment provides a ranging device for engineering cost estimation, including: a laser emitting module 2, a laser receiving module 1, a time-to-digital converter module 3, and a microcontroller 4; wherein, the time-to-digital converter module 3 is implemented based on the TDC-GP22 chip.
[0035] The microcontroller 4 is connected to the laser emitting module 2 and the time-to-digital converter module 3, and the laser receiving module 1 is connected to the time-to-digital converter module 3; the microcontroller 4 is also connected to the display module 5.
[0036] The microcontroller 4 is used to send start pulses to the laser emission module 2 and the time-to-digital converter module 3.
[0037] The laser emitting module 2 is used to emit laser light towards the target under test according to the received start pulse.
[0038] The time-to-digital conversion module 3 is used to take the received start pulse as the laser emission time and start timing.
[0039] The laser receiving module 1 is used to receive the laser reflected back from the target under test and send a stop pulse to the time-to-digital converter module 3. The time-to-digital converter module 3 takes the received stop pulse as the stop time, stops the timing, calculates the time interval between the laser emission time and the stop time, and sends a calculation completion command to the microcontroller 4 after the calculation is completed.
[0040] The microcontroller 4 is also used to read the time interval calculated by the time-to-digital converter 3 based on the received calculation completion instruction.
[0041] Display module 5 displays the time interval read by microcontroller 4. Display module 5 can also be used for device settings. Display module 5 may be a touchscreen display.
[0042] In this embodiment, the microprocessor 4 can be an STM32 series microcontroller.
[0043] In this embodiment, the microcontroller 4 is also connected to a communication module 6, which connects to an external host computer 7 to enable bidirectional communication between the device and the host computer 7. This allows the received time intervals to be sent to the host computer 7 via the communication module 6, and the host computer 7 to configure the device. The communication module 6 is implemented based on an RS422 or RS385 communication circuit.
[0044] More specifically, the microcontroller 4 communicates with the TDC-GP22 chip through a four-wire SPI communication interface to configure the TDC-GP22 chip and read information such as the time interval it measures. The microprocessor 4 is connected to the SNN enable pin 9, SCK clock pin, S1 data input pin 11, and SO data output pin 12 of the TDC-GP22 chip, respectively. The S1 data input pin 11 and SO data output pin 12 are connected to the MISO and MOSI terminals of the microcontroller's SPI, respectively.
[0045] The RSTN reset control pin 13 of the TDC-GP22 chip is connected to the microcontroller's IO interface, facilitating hardware reset of the TDC-GP22 chip. The INTN pin 8 of the TDC-GP22 chip is connected to the microcontroller's IO interface. The state of the INTN pin 8 determines whether the TDC-GP22 chip has completed the measurement calculation or overflowed. It is active low. That is, when the state of the INTN pin 8 is low, the TDC-GP22 chip has completed the calculation and sends a calculation completion command to the microcontroller.
[0046] The TDC-GP22 chip's VCC1 pin 14, PT2 pin 23, and Vio pin 3 are all connected to the power supply VCC1. The TDC-GP22 chip's GND pin 4, FIRE_IN pin 7, CLK32IN pin 16, and Vio pin 22 are all grounded. The TDC-GP22 chip's XIN pin 1 is connected to the first terminal of the first resistor R1, the first terminal of the crystal oscillator Y, and the first terminal of the first capacitor C1. The TDC-GP22 chip's XOUT pin 2 is connected to the second terminal of the first resistor R1, the second terminal of the crystal oscillator Y, and the first terminal of the first capacitor C2. The second terminals of the first capacitor C1 and the second terminals of the second capacitor C2 are grounded. The TDC-GP22 chip's EN_START pin 32 is connected to the power supply VCC1 through the second resistor R2. The TDC-GP22 chip's EN_STOP1 pin 26 is connected to the power supply VCC1 through the thirteenth resistor R13. In this embodiment, VCC1 uses a 3.3V power supply.
[0047] The START pin 31 of the TDC-GP22 chip is connected to the microcontroller, and the STOP1 pin 30 of the TDC-GP22 chip is connected to the laser receiving module.
[0048] When the state of INTN pin 8 is low, the TDC-GP22 chip has completed the calculation and sent the result (i.e., the time interval) to the microcontroller.
[0049] Furthermore, the laser emitting module 2 includes: a first amplification circuit and a laser emitter L1. The first amplification circuit includes a transistor Q1. The base of the transistor Q1 is connected to a microcontroller (e.g., the microcontroller's I / O interface) and the first end of a third resistor R3. The emitter of the transistor Q1 is grounded. The collector of the transistor Q1 is connected to the first end of a fourth resistor R4 and the positive terminal of the laser emitter. The second ends of the third resistor R3 and the fourth resistor R4 are connected to a power supply VCC2. The negative terminal of the laser emitter is grounded.
[0050] Since the start-up pulse output by the microcontroller is generally insufficient to drive the laser emitter normally, an amplifier circuit is needed to amplify the start-up pulse. Moreover, due to the relatively high operating frequency, the transistor Q1 can be a high-frequency transistor 9018, thus enabling the laser emission to be completed well.
[0051] The laser receiving module 1 includes a laser receiver L2, a second amplification circuit 1-1, and a signal shaping circuit 1-2. The laser receiver L2 receives the laser signal reflected from the target and converts it into a pulse signal, i.e., a stop pulse. The second amplification circuit 1-1 amplifies the pulse. The second amplification circuit 1-1 includes two stages: a fixed-gain amplification stage and a variable-gain amplification stage to meet various environmental requirements. The signal shaping circuit 1-2 shapes the amplified signal to generate a regular square wave signal, enabling the time-to-digital conversion module to calculate the time interval more accurately.
[0052] The first-stage amplifier circuit includes: a third capacitor C3, the first end of which is connected to the positive terminal of the laser receiver; the second end of the third capacitor C3 is connected to the first end of the fifth resistor R5; the negative terminal of the laser receiver is grounded; the second end of the fifth resistor R5 is connected to the first end of the fourth capacitor C4, the first end of the sixth resistor R6, and the negative terminal of the first operational amplifier U1; the positive terminal of the first operational amplifier U1 is grounded through the tenth resistor R10; and the output terminal of the first operational amplifier U1 is connected to the second end of the fourth capacitor U4 and the second end of the sixth resistor R6.
[0053] The second-stage amplifier circuit includes: a sixth capacitor C6, the first terminal of which is connected to the output terminal of the first operational amplifier U1; the second terminal of the sixth capacitor C6 is connected to the first terminal of the ninth resistor R9, the second terminal of the ninth resistor R9 is connected to the first terminal of the fifth capacitor C5, the first terminal of the seventh adjustable resistor, and the negative terminal of the second operational amplifier U2; the positive terminal of the second operational amplifier U2 is grounded through the eleventh resistor R11. The second terminal of the seventh adjustable resistor is connected to the first terminal of the eighth resistor R8; the output terminal of the second operational amplifier U2 is connected to the second terminal of the eighth resistor R8 and the second terminal of the fifth capacitor C5.
[0054] In this embodiment, the first operational amplifier U1 and the second operational amplifier U2 may be operational amplifiers including but not limited to the following: MAX410 and AD8675, etc.
[0055] The signal shaping circuit 1-2 includes: a seventh capacitor C7, the first end of which is connected to the output of the second operational amplifier U2; the second end of which is connected to the input of the first logic chip U3 and the first end of the twelfth resistor R12; the output of the first logic chip U3 is connected to the input of the second logic chip U4; the output of the second logic chip U4 is connected to the first end of the eighth capacitor C8 and the second end of the twelfth resistor R12; and the second end of the eighth capacitor C8 is connected to the STOP1 pin 30 of the TDC-GP22 chip.
[0056] This embodiment uses a signal shaping circuit to help convert an unstable input pulse waveform into a stable pulse waveform, thereby reducing noise and interference, improving waveform resolution, enabling the time data conversion module to accurately identify and capture the waveform, and thus stop timing, further improving the accuracy of time interval measurement.
[0057] In this embodiment, the first logic chip U3 and the second logic chip U4 are CD4011 chips.
[0058] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, for the terminal embodiments, since they are basically similar to the method embodiments, the description and comparison are simple, and the relevant parts can be referred to the description in the method embodiments.
[0059] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0060] The above description is merely a preferred embodiment of this utility model and is not intended to limit the utility model. Various modifications and variations can be made to this utility model by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this utility model should be included within the protection scope of this utility model.
Claims
1. A distance measuring device for engineering cost estimation, characterized in that, include: The system comprises a laser emitting module, a laser receiving module, a time-to-digital converter module, and a microcontroller; the time-to-digital converter module is based on the TDC-GP22 chip. The microcontroller is connected to the laser emitting module and the time-to-digital converter module, and the laser receiving module is connected to the time-to-digital converter module; a display module is also connected to the microcontroller. The microcontroller is used to send start pulses to the laser emission module and the time-to-digital converter module; The laser emitting module is used to emit laser light towards the target under test based on the received start pulse; The laser receiving module is used to receive the laser reflected back from the target under test and send a stop pulse to the time-to-digital converter module; The time-to-digital conversion module is used to calculate the time interval between the laser emission time and the stop time by taking the received start pulse as the laser emission time and starting the timing accordingly, and by taking the received stop pulse as the stop time. The microcontroller is also used to read the time interval calculated by the time-to-digital converter and display it through the display module.
2. The distance measuring device for engineering cost estimation according to claim 1, characterized in that, The microcontroller is also connected to a communication module, which is used to connect to an external host computer to enable communication between the device and the external host computer.
3. The distance measuring device for engineering cost estimation according to claim 1, characterized in that, Microcontroller 4 is connected to the SNN enable pin 9, SCK clock pin 10, S1 data input pin 11, SO data output pin 12, RSTN reset control pin 13 and INTN pin 8 of the TDC-GP22 chip, respectively.
4. The distance measuring device for engineering cost estimation according to claim 1, characterized in that, The laser emitting module includes: a first amplification circuit and a laser emitter; wherein, the first amplification circuit includes a transistor Q1, the base of transistor Q1 is connected to the microcontroller and the first end of the third resistor R3; the emitter of transistor Q1 is grounded; the collector of transistor Q1 is connected to the first end of the fourth resistor R4 and the positive terminal of the laser emitter; the second ends of the third resistor R3 and the fourth resistor R4 are connected to the power supply VCC2, and the negative terminal of the laser emitter is grounded; transistor Q1 is a high-frequency transistor 9018.
5. The distance measuring device for engineering cost estimation according to claim 1, characterized in that, The laser receiving module includes: a laser receiver, a second amplification circuit, and a signal shaping circuit.
6. The distance measuring device for engineering cost estimation according to claim 5, characterized in that, The second amplifier circuit includes a first-stage amplifier circuit and a second-stage amplifier circuit; The first-stage amplifier circuit includes: a third capacitor C3, the first terminal of which is connected to the positive terminal of the laser receiver; the second terminal of the third capacitor C3 is connected to the first terminal of the fifth resistor R5; the negative terminal of the laser receiver is grounded; the second terminal of the fifth resistor R5 is connected to the first terminal of the fourth capacitor C4, the first terminal of the sixth resistor R6, and the negative terminal of the first operational amplifier U1; the positive terminal of the first operational amplifier U1 is grounded through the tenth resistor R10; the output terminal of the first operational amplifier U1 is connected to the second terminal of the fourth capacitor U4 and the second terminal of the sixth resistor R6. The second-stage amplifier circuit includes: a sixth capacitor C6, the first terminal of which is connected to the output terminal of the first operational amplifier U1; the second terminal of the sixth capacitor C6 is connected to the first terminal of the ninth resistor R9, the second terminal of the ninth resistor R9 is connected to the first terminal of the fifth capacitor C5, the first terminal of the seventh adjustable resistor, and the negative terminal of the second operational amplifier U2; the positive terminal of the second operational amplifier U2 is grounded through the eleventh resistor R11; the second terminal of the seventh adjustable resistor is connected to the first terminal of the eighth resistor R8; and the output terminal of the second operational amplifier U2 is connected to the second terminal of the eighth resistor R8 and the second terminal of the fifth capacitor C5.
7. The distance measuring device for engineering cost estimation according to claim 6, characterized in that, The first operational amplifier U1 and the second operational amplifier U2 are operational amplifiers including, but not limited to, the following models: MAX410 and AD8675.