Displacement sensor system
By using the micro control unit MCU and laser technology in the displacement sensor system, combined with the linear array receiving array and signal processing module, the problem of poor comprehensive performance in the existing technology is solved, and a high-precision, low-cost, and adaptable displacement sensor is achieved. system.
Patent Information
- Application Number
- CN202410659335.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for existing displacement sensors to achieve the comprehensive performance of high precision, large measurement range, small size, and low cost at the same time, resulting in poor consistency in their applications and affecting the promotion of sensor technology.
A displacement sensor system based on a micro control unit MCU is designed, including a transmitting module, a receiving module and a signal processing module. It utilizes the parallel, monochromatic, and concentrated brightness characteristics of the laser beam to achieve high accuracy through a linear array receiving array and signal amplification module. Displacement measurement, and improves system flexibility and reliability through adjustment devices and protection circuit modules.
It achieves highly integrated and high-precision displacement measurement. The system is simple, compact and low-cost. It can select multiple data output modes according to user needs, has higher applicability and meets a variety of application needs.
Smart Images

Figure CN118566935A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of sensors, and in particular relates to a displacement sensor system. Background Art
[0002] There are many ways to measure the displacement of an object, which can be divided into contact or non-contact measurement according to the contact method. The products have different choices according to the measurement range, size, cost, measurement accuracy, interface method, function and other differences. In order to meet the ever-changing application needs, there is an urgent need for a sensor with complete functions, reliable measurement results, easy use, strong adaptability, strong robustness and low cost. Therefore, the displacement sensor based on laser technology has been widely used due to its unique advantages such as non-contact method, high accuracy, large range and small size.
[0003] The principle of laser displacement measurement is mainly divided into three basic types: time-of-flight ranging, interferometric ranging and triangulation ranging. Time-of-flight ranging is suitable for absolute measurement of medium and long distances, and its measurement accuracy is average; interferometric ranging is suitable for short-distance high-precision relative measurement, while triangulation ranging is an absolute measurement method, and its measurement distance and accuracy are between the first two, and it is widely used.
[0004] However, laser displacement sensors based on the principle of triangulation integrate many technologies such as mechanics, electronics, optics, and signal processing. The design of each link and the interaction between each link have a great impact on the performance of the whole machine. Existing displacement sensors are based on different design ideas, resulting in different processing difficulties, costs, structural complexity, structural dimensions, and performance. They cannot meet the requirements of various parameters at the same time, and their consistency is poor, which affects the promotion and application of sensor technology.
[0005] Based on the above, this application provides a technical solution to solve the above technical problems. Summary of the invention
[0006] In view of the defects of displacement sensors in the prior art that it is difficult to simultaneously achieve high precision, large measurement range, compact size and low cost, the present invention provides a displacement sensor system, which is implemented based on a microcontroller unit MCU and includes the following structure:
[0007] A transmitting module, wherein a laser beam is emitted from the transmitting module and directed toward the object to be measured, and a reflective surface of the object to be measured receives and reflects the laser beam;
[0008] A receiving module, the receiving module is used to receive a first reflected light beam emitted by the reflecting surface, and record a position of the first reflected light beam in the receiving module;
[0009] A signal processing module, wherein the signal processing module is used to calculate the position of the object to be measured according to the position change of the first reflected light beam in the receiving module.
[0010] In a specific embodiment of the present invention, the receiving module is used to receive a first reflected light beam emitted by a reflecting surface, and recording the position of the first reflected light beam in the receiving module specifically includes:
[0011] The receiving module includes a receiving lens, an optical path correction module, and a receiving image sensor. The first reflected light beam is focused onto the receiving image sensor through the receiving lens, and the optical path correction module is used to change the direction of the light path.
[0012] In a specific embodiment of the present invention, the receiving image sensor is a linear array receiving array, which scans, receives and samples the second reflected light reflected by the optical path correction module, and outputs a first analog signal, and the waveform of the first analog signal corresponds one-to-one to the displacement of the object under test in the time domain; the receiving module also includes an optical signal amplification module, which is used to amplify the first analog signal to obtain a first amplified signal, and transmit the first amplified signal to the signal processing module, and the signal processing module calculates the displacement of the object under test based on the first amplified signal.
[0013] In a specific embodiment of the present invention, the laser beam is emitted by the emission module and directed toward the object to be measured, specifically comprising:
[0014] The transmitting module includes a transmitting laser tube and a transmitting lens. The laser beam is emitted by the transmitting laser tube and irradiated to the reflective surface of the object to be measured after being focused by the transmitting lens. The transmitting module also includes an adjusting device, which includes a transmitting bracket and an adjusting screw. The transmitting bracket is used to support the transmitting module, and the adjusting screw is used to adjust the focal position of the laser beam after being focused by the transmitting lens. The adjustment of the transmitting direction and the focusing position of the laser beam are independent of each other.
[0015] In a specific embodiment of the present invention, the signal processing module includes a central processing unit, and the central processing unit includes a transmitting drive module, a receiving drive module and a signal processing module. The transmitting drive module is connected to the transmitting module and is used to drive the transmitting laser tube to emit a laser beam; the receiving drive module is connected to the receiving module and is used to output a timing signal to the linear array receiving tube, so that the linear array receiving tube forms a first analog signal according to the timing signal and the first reflection signal.
[0016] In a specific embodiment of the present invention, the signal processing module further includes a key module and a protection module, and the user inputs preset parameters through the key module, and the protection circuit module includes an overcurrent protection circuit, an overvoltage protection circuit, an anti-reverse connection protection circuit, an electrostatic protection circuit and a surge protection circuit;
[0017] The receiving driving module includes a digital output circuit, an analog output circuit, an output driving circuit and a display module. The display module is used to display the displacement data calculated by the signal processing module.
[0018] In a specific embodiment of the present invention, the transmitting drive module includes a feedback receiving tube PD, a first operational amplifier U1B, a second operational amplifier U1A, a first filter capacitor C1, a second filter capacitor C2, a sampling resistor and an operational amplifier control resistor. The feedback receiving tube PD receives the set emission light intensity data, and the emission light intensity data is amplified by the first operational amplifier U1B and the second operational amplifier U1A, and then filtered by the first filter capacitor C1 and the second filter capacitor C2, and combined with the first control signal LD-CTRL and the second control signal LD-ON, to control the transmitting laser tube to emit a specific laser beam.
[0019] In a specific embodiment of the present invention, the first operational amplifier U1B is connected in parallel with the first filter capacitor C1, the second operational amplifier U1A is connected in parallel with the second filter capacitor C2, and the first filter capacitor C1 is connected in series with the second filter capacitor C2; the transmitting drive module, the overcurrent protection circuit, and the overvoltage protection circuit are all connected in series, the overcurrent protection circuit includes a current control transistor Q1 and a current protection resistor connected in series, the overvoltage protection circuit includes a voltage control transistor Q2, a voltage protection resistor and a clamping diode D3, the voltage control transistor Q2 is connected in series with the clamping diode D3 and in parallel with the voltage protection resistor, the positive electrode of the clamping diode is grounded, and the negative electrode is connected to the light-emitting diode LD.
[0020] In a specific embodiment of the present invention, the central processing unit is also connected to an output module, which is used to output a current value or a voltage value. The output module includes: a third operational amplifier U1C, an analog switch S1, an output drive circuit, a voltage output circuit and a current output circuit. The analog switch S1 controls the conduction of the voltage output circuit or the current output circuit. The voltage output circuit includes a fourth operational amplifier U1D and an output transistor Q5 connected in series. The current output circuit includes a first operational amplifier U1B, a current limiting resistor R4 and a transistor Q3 connected in series. The emitter of the transistor Q3 is grounded to the reverse input terminal of the first operational amplifier U1B.
[0021] In a specific embodiment of the present invention, the central processing unit also includes an output mode switching circuit, the output mode switching circuit includes a PNP output circuit and an NPN output circuit, the output circuits are respectively connected in series with the PNP output circuit and the NPN output circuit, and the NPN output mode or the PNP output mode is selected by the preset parameters.
[0022] The present invention can bring at least one of the following beneficial effects: the present invention proposes a displacement sensor system, which is implemented based on a microcontroller unit MCU. A laser beam is emitted by a transmitting module and directed toward an object to be measured. A reflective surface of the object to be measured receives and reflects the laser beam. A receiving module receives a first reflected beam emitted by the reflective surface and records the position of the first reflected beam in the receiving module. A signal processing module calculates the position of the object to be measured according to the position change of the first reflected beam in the receiving module. The displacement sensor system utilizes the parallelism, monochromaticity, and concentrated brightness characteristics of lasers, and realizes high-integration and high-precision displacement measurement based on a microcontroller unit MCU. The displacement sensor system is simple to implement, compact, low-cost, and has a large measurement range. In addition, the displacement sensor system proposed by the present invention can select a variety of different personalized data outputs according to user needs, and has higher applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The preferred implementation scheme will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and their implementation methods.
[0024] Figure 1 A schematic diagram of the structure of a displacement sensor system provided by an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of the structure of a transmitting module in a displacement sensor system provided by an embodiment of the present invention;
[0026] Figure 3A A schematic diagram of the structure of a transmitting module, a receiving module and an optical path in a displacement sensor system provided by an embodiment of the present invention;
[0027] Figure 3B A schematic diagram of the structure of a transmitting module, a receiving module and an optical path in a displacement sensor system after the object to be measured has moved provided in an embodiment of the present invention;
[0028] Figure 4 A schematic diagram of the circuit structure of a transmitting driving module in a displacement sensor system provided by an embodiment of the present invention;
[0029] Figure 5 A schematic diagram of the circuit structure of an output module in a displacement sensor system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] Various aspects of the present invention are described in further detail below.
[0031] Unless otherwise defined or indicated, all professional and scientific terms used herein have the same meanings as those familiar to those skilled in the art. In addition, any methods and materials similar or equivalent to those described herein can be applied to the present invention.
[0032] The following is an explanation of the terms.
[0033] Unless otherwise clearly specified and limited, the "or" mentioned in the present invention includes the relationship of "and". The "and" is equivalent to the Boolean logic operator "AND", the "or" is equivalent to the Boolean logic operator "OR", and "AND" is a subset of "OR".
[0034] It is to be understood that although the terms "first", "second", etc. may be used herein to describe different elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. Therefore, the first element may be referred to as the second element without departing from the teachings of the present invention.
[0035] In the present invention, the terms "comprising", "including" or "comprising" indicate that various components can be applied together in the mixture or composition of the present invention. Therefore, the term "consisting mainly of..." is included in the terms "comprising", "including" or "comprising".
[0036] Unless otherwise clearly specified and limited, the terms "connected", "connected" and "connection" in the present invention should be understood in a broad sense, for example, it can be a fixed connection, or it can be connected through an intermediary medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0037] For example, if an element (or component) is referred to as being on, coupled to, or connected to another element, the element may be directly formed on, coupled to, or connected to the other element, or there may be one or more intervening elements between them. In contrast, if the expressions "directly on," "directly coupled to," and "directly connected to" are used herein, then no intervening elements are indicated. Other words used to describe the relationship between elements should be similarly interpreted, such as "between" and "directly between," "attached" and "directly attached," "adjacent" and "directly adjacent," and the like.
[0038] It should also be noted that the words "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to directions in the drawings. The words "inner" and "outer" used refer to directions toward or away from the geometric center of a particular component, respectively. It can be understood that these terms are used here to describe the relationship of one element, layer or region relative to another element, layer or region as shown in the drawings. In addition to the orientations described in the drawings, these terms should also include other orientations of the device.
[0039] Other aspects of the present invention will be apparent to those skilled in the art in view of the disclosure herein.
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0041] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The drawings only show the components related to the present application and are not drawn according to the number, shape and size of the components in actual implementation. The type, quantity and proportion of each component in actual implementation may be changed arbitrarily, and the component layout may also be more complicated. For example, the thickness of the components in the drawings may be exaggerated for the sake of clarity.
[0042] Example
[0043] In view of the defects of displacement sensors in the existing technology that it is difficult to achieve high precision, large measurement range, small size and low cost at the same time, Figure 1 The present invention proposes a displacement sensor system, which is implemented based on a microcontroller unit MCU and includes the following structure:
[0044] A transmitting module, wherein a laser beam is emitted from the transmitting module and directed toward the object to be measured 7, and a reflective surface of the object to be measured 7 receives and reflects the laser beam;
[0045] A receiving module, the receiving module is used to receive a first reflected light beam emitted by the reflecting surface, and record a position of the first reflected light beam in the receiving module;
[0046] A signal processing module, wherein the signal processing module is used to calculate the position of the object to be measured according to the position change of the first reflected light beam in the receiving module.
[0047] The displacement sensor system proposed in this embodiment utilizes the characteristics of laser parallelism, monochromaticity, and concentrated brightness, and realizes high-integration and high-precision displacement measurement based on a microcontroller unit MCU. The displacement sensor system is simple to implement, compact, low-cost, and has a large measurement range.
[0048] In a preferred embodiment of the present invention, see Figure 2 The schematic diagram of the structure of the transmitting module is shown, wherein the laser beam is emitted from the transmitting module and directed toward the object to be measured, specifically including:
[0049] The transmitting module includes a transmitting laser tube 1 and a transmitting lens 2. The laser beam is emitted by the transmitting laser tube 1 and is focused by the transmitting lens 2 and then irradiated onto the reflective surface of the object to be measured. The transmitting module also includes an adjusting device, which includes a transmitting bracket 3 and an adjusting screw 4. The transmitting bracket 3 is used to support the transmitting module, and the adjusting screw 4 is used to adjust the focal position of the laser beam after being focused by the transmitting lens.
[0050] Preferably, the two operations of adjusting the emission direction of the laser beam and adjusting the focus position are independent of each other and do not affect each other.
[0051] Preferably, the transmitting module further includes a fastening screw 5 and a printed circuit board 6 , wherein the fastening screw 5 is used to fix the transmitting laser tube 1 , and the printed circuit board 6 is communicatively connected with the transmitting laser tube 1 .
[0052] In a preferred embodiment of the present invention, referring to FIG. 3 , the receiving module is used to receive a first reflected light beam emitted by a reflecting surface, and recording the position of the first reflected light beam in the receiving module specifically includes:
[0053] The receiving module includes a receiving lens 8, an optical path correction module 9, and a receiving image sensor 10. The first reflected light beam is focused onto the optical path correction module 9 through the receiving lens 8, and then reflected onto the receiving image sensor 10 through the optical path correction module 9. The optical path correction module 9 is used to change the direction of the optical path. The optical path correction module can shorten the optical path length in the optical axis direction of the receiving lens 8, further improve the integration level of the displacement sensor system, and reduce the structural size.
[0054] In a preferred embodiment of the present invention, the receiving image sensor 10 is a linear array receiving array, which scans, receives and samples the second reflected light reflected by the optical path correction module, and outputs a first analog signal, and the waveform of the first analog signal corresponds one-to-one to the displacement of the object under test 7 in the time domain; the receiving module also includes an optical signal amplifying module, which is used to amplify the first analog signal to obtain a first amplified signal, and transmit the first amplified signal to the signal processing module, and the signal processing module calculates the displacement of the object under test based on the first amplified signal.
[0055] Specifically, Figure 3B As shown, since the distance between the object under test 7 and the displacement sensor system increases from D to D', the light spot formed on the linear array receiving tube moves from G to G', and the first analog signal is a waveform obtained by the signal processing module based on the real-time calculation of the light spot in the continuous time, and the waveform of the first analog signal corresponds one-to-one to the displacement of the object under test 7 in the time domain.
[0056] In a preferred embodiment of the present invention, Figure 1 As shown, the signal processing module includes a central processing unit, and the central processing unit includes a transmitting drive module, a receiving drive module and a signal processing module. The transmitting drive module is connected to the transmitting module and is used to drive the transmitting laser tube to emit a laser beam; the receiving drive module is connected to the receiving module and is used to output a timing signal to the linear array receiving tube, so that the linear array receiving tube forms a first analog signal according to the timing signal and the first reflection signal.
[0057] In a preferred embodiment of the present invention, the signal processing module further includes a key module and a protection module, and the user inputs preset parameters through the key module, and the protection circuit module includes an overcurrent protection circuit, an overvoltage protection circuit, an anti-reverse connection protection circuit, an electrostatic protection circuit and a surge protection circuit;
[0058] The receiving driving module includes a digital output circuit, an analog output circuit, an output driving circuit and a display module. The display module is used to display the displacement data calculated by the signal processing module.
[0059] Preferably, the menu of the button unit provides several user options for the user to choose from, including but not limited to: laser beam intensity, digital output mode or analog output mode, output current value, output voltage value, NPN output mode or PNP output mode, etc. The user's selection constitutes a preset parameter, and the button unit transmits the preset parameter to the signal processing module, and the signal processing module transmits the preset parameter to the corresponding module to achieve personalized display.
[0060] The structure of the key unit is prior art and will not be described in detail here.
[0061] Preferably, digital mode output or analog mode output is selected by the preset parameters input by the user in the button module, and the digital output circuit and the analog output circuit are both connected in series with an analog switch. When the preset parameters indicate the digital output mode, the analog switch connects the digital output circuit, and the digital output circuit transmits the displacement data D-D' to the display module; when the preset parameters indicate the analog output mode, the analog switch connects the analog output circuit, and the analog output circuit transmits the displacement data D-D' to the display module.
[0062] In another preferred embodiment, the displacement data DD′ can be transmitted to other devices via a serial communication interface.
[0063] In a preferred embodiment of the present invention, Figure 4 As shown, the transmitting drive module includes a feedback receiving tube PD, a first operational amplifier U1B, a second operational amplifier U1A, a first filter capacitor C1, a second filter capacitor C2, a sampling resistor and an operational amplifier control resistor. The feedback receiving tube PD receives the set emission light intensity data, and the emission light intensity data is amplified by the first operational amplifier U1B and the second operational amplifier U1A, and then filtered by the first filter capacitor C1 and the second filter capacitor C2, and combined with the first control signal LD-CTRL and the second control signal LD-ON, the emission laser tube 1 is controlled to emit a specific laser beam.
[0064] Preferably, the first operational amplifier U1B is connected in parallel with the first filter capacitor C1, the second operational amplifier U1A is connected in parallel with the second filter capacitor C2, and the first filter capacitor C1 is connected in series with the second filter capacitor C2; the transmitting drive module, the overcurrent protection circuit, and the overvoltage protection circuit are all connected in series, the overcurrent protection circuit includes a current control transistor Q1 and a current protection resistor connected in series, the overvoltage protection circuit includes a voltage control transistor Q2, a voltage protection resistor and a clamping diode D3, the voltage control transistor Q2 is connected in series with the clamping diode D3 and in parallel with the voltage protection resistor, the positive pole of the clamping diode D3 is grounded, and the negative pole is connected to the light emitting diode LD, which is used to protect the laser tube, and D1 is a varistor, which is used to protect the voltage control transistor Q2.
[0065] More specifically, the first operational amplifier U1B is connected in parallel with the resistor R2 and the sliding resistor VR1, and the resistor R2 and the sliding resistor VR1 are connected in series to jointly control the amplification ratio of the first operational amplifier U1B. Similarly, the second operational amplifier U1A is connected in parallel with the resistor R4 to control the amplification ratio of the second operational amplifier U1A.
[0066] Preferably, the limiting current of the driving circuit is controlled by R5 to ensure that the current limiting operation is performed when the control fails. The overvoltage protection circuit also includes a first resistor R7 and a second resistor R9. R11 is a pull-down resistor for voltage clamping.
[0067] In a preferred embodiment of the present invention, Figure 5 As shown, the central processing unit is also connected to an output module, and the output module is used to output a current value or a voltage value. The output module includes: a third operational amplifier U1C, an analog switch S1, an output drive circuit, a fuse F1, a voltage output circuit and a current output circuit. The analog switch S1 controls the conduction of the voltage output circuit or the current output circuit. The voltage output circuit includes a fourth operational amplifier U1D and an output transistor Q5 connected in series with each other. The current output circuit includes a first operational amplifier U1B, a current limiting resistor R4 and a transistor Q3 connected in series with each other. The emitter of the transistor Q3 is grounded to the reverse input terminal of the first operational amplifier U1B. The current output circuit also includes a resistor R8 for controlling the amplification ratio of the operational amplifier.
[0068] V / I indicates the output current value mode or voltage value mode, OUT_VI is the output current value or voltage value, and Vin is the voltage value input to the output module.
[0069] Preferably, the transistor Q3 is also connected to a bias module and a voltage divider module, the bias module includes a first bias resistor R10 and a second bias resistor R12, and the voltage divider module includes resistors R14 and R15 connected in series, both connected to the collector side of the transistor Q3.
[0070] In a preferred embodiment of the present invention, the central processing unit also includes an output mode switching circuit, the output mode switching circuit includes a PNP output circuit and an NPN output circuit, the output circuits are respectively connected in series with the PNP output circuit and the NPN output circuit, the PNP output circuit includes a PNP sampling resistor R1, and the NPN output circuit includes an NPN sampling resistor R12.
[0071] Preferably, the NPN output mode or the PNP output mode is selected according to the user's input to the key module. Specifically, dual input level control can be used to ensure that the NPN output circuit and the PNP output circuit are not turned on at the same time. Table 1 shows the state of the dual input level control of the NPN output circuit and the PNP output circuit, wherein OUT_NPN and OUT_PNP are two input signals of the output mode switching circuit, and the NPN output is 1, indicating that the NPN output circuit is turned on, and at this time it is the NPN output mode, and the NPN output is 0, indicating that the NPN output circuit is disconnected; the PNP output is 1, indicating that the PNP output circuit is turned on, and at this time it is the PNP output mode, and the PNP output is 0, indicating that the PNP output circuit is disconnected.
[0072]
[0073]
[0074] This setting can combine the NPN output mode and the PNP output mode. The user only needs to select the menu of the key unit to switch the working mode at will, which increases the applicability of the product and meets the diverse needs of users.
[0075] In summary, the present invention has achieved the following effects:
[0076] The present invention proposes a displacement sensor system, which is implemented based on a microcontroller unit (MCU). A laser beam is emitted from a transmitting module and directed toward an object to be measured. A reflective surface of the object to be measured receives and reflects the laser beam. A receiving module receives a first reflected beam emitted from the reflective surface and records the position of the first reflected beam in the receiving module. A signal processing module calculates the position of the object to be measured according to the position change of the first reflected beam in the receiving module. The displacement sensor system utilizes the parallelism, monochromaticity, and concentrated brightness characteristics of lasers, and implements high-integration, high-precision displacement measurement based on a microcontroller unit (MCU). The displacement sensor system is simple to implement, compact, low-cost, and has a large measurement range. In addition, the displacement sensor system proposed by the present invention can select a variety of different personalized data outputs according to user needs, and has higher applicability.
[0077] Based on this application, it should be understood by those skilled in the art that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0078] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0079] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.
[0080] All documents mentioned in the present invention are cited as references in this application, just as each document is cited as reference separately. In addition, it should be understood that after reading the above content of the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the claims attached to this application.
Claims
1. A displacement sensor system, which is implemented based on a microcontroller unit (MCU), characterized in that: Includes the following structures: A transmitting module, wherein a laser beam is emitted from the transmitting module and directed toward the object to be measured, and a reflective surface of the object to be measured receives and reflects the laser beam; A receiving module, the receiving module is used to receive a first reflected light beam emitted by the reflecting surface, and record a position of the first reflected light beam in the receiving module; A signal processing module, wherein the signal processing module is used to calculate the position of the object to be measured according to the position change of the first reflected light beam in the receiving module.
2. The displacement sensor system according to claim 1, characterized in that: The receiving module is used to receive a first reflected light beam emitted by the reflecting surface, and recording the position of the first reflected light beam in the receiving module specifically includes: The receiving module includes a receiving lens, an optical path correction module, and a receiving image sensor. The first reflected light beam is focused onto the receiving image sensor through the receiving lens, and the optical path correction module is used to change the direction of the light path.
3. The displacement sensor system according to claim 2, characterized in that: The receiving image sensor is a linear array receiving array, which scans, receives and samples the second reflected light reflected by the optical path correction module, and outputs a first analog signal. The waveform of the first analog signal corresponds one-to-one to the displacement of the object under test in the time domain. The receiving module also includes an optical signal amplifying module, which is used to amplify the first analog signal to obtain a first amplified signal, and transmit the first amplified signal to the signal processing module. The signal processing module calculates the displacement of the object under test based on the first amplified signal.
4. The displacement sensor system according to claim 3, characterized in that: The laser beam is emitted from the emission module and directed toward the object to be measured, specifically including: The transmitting module includes a transmitting laser tube and a transmitting lens. The laser beam is emitted by the transmitting laser tube and irradiated to the reflective surface of the object to be measured after being focused by the transmitting lens. The transmitting module also includes an adjusting device, which includes a transmitting bracket and an adjusting screw. The transmitting bracket is used to support the transmitting module, and the adjusting screw is used to adjust the focal position of the laser beam after being focused by the transmitting lens. The adjustment of the transmitting direction and the focusing position of the laser beam are independent of each other.
5. The displacement sensor system according to claim 4, characterized in that: The signal processing module includes a central processing unit, which includes a transmitting drive module, a receiving drive module and a signal processing module. The transmitting drive module is connected to the transmitting module and is used to drive the transmitting laser tube to emit a laser beam; the receiving drive module is connected to the receiving module and is used to output a timing signal to the linear array receiving tube, so that the linear array receiving tube forms a first analog signal according to the timing signal and the first reflected signal.
6. The displacement sensor system according to claim 5, characterized in that: The signal processing module also includes a key module and a protection module, and the user inputs preset parameters through the key module. The protection circuit module includes an overcurrent protection circuit, an overvoltage protection circuit, an anti-reverse connection protection circuit, an electrostatic protection circuit and a surge protection circuit; The receiving driving module includes a digital output circuit, an analog output circuit, an output driving circuit and a display module. The display module is used to display the displacement data calculated by the signal processing module.
7. The displacement sensor system according to claim 6, characterized in that: The transmitting drive module includes a feedback receiving tube, a first operational amplifier, a second operational amplifier, a first filter capacitor, a second filter capacitor, a sampling resistor and an operational amplifier control resistor. The feedback receiving tube receives the set transmitting light intensity data. The transmitting light intensity data is amplified by the first operational amplifier and the second operational amplifier, and then filtered by the first filter capacitor and the second filter capacitor, and then combined with the first control signal and the second control signal to control the transmitting laser tube to emit a specific laser beam.
8. The displacement sensor system according to claim 7, characterized in that: The first operational amplifier is connected in parallel with the first filter capacitor, the second operational amplifier is connected in parallel with the second filter capacitor, and the first filter capacitor is connected in series with the second filter capacitor; the transmitting drive module, the overcurrent protection circuit, and the overvoltage protection circuit are all connected in series, the overcurrent protection circuit includes a current control transistor and a current protection resistor connected in series, the overvoltage protection circuit includes a voltage control transistor, a voltage protection resistor and a clamping diode, the voltage control transistor is connected in series with the clamping diode and in parallel with the voltage protection resistor, the positive electrode of the clamping diode is grounded, and the negative electrode is connected to the light-emitting diode.
9. The displacement sensor system according to claim 5, characterized in that: The central processing unit is also connected to an output module, which is used to output a current value or a voltage value. The output module includes: a third operational amplifier, an analog switch, an output drive circuit, a voltage output circuit and a current output circuit. The analog switch controls the conduction of the voltage output circuit or the current output circuit. The voltage output circuit includes a fourth operational amplifier and an output transistor connected in series. The current output circuit includes a first operational amplifier, a current limiting resistor and a transistor connected in series. The emitter of the transistor is grounded to the reverse input terminal of the first operational amplifier.
10. The displacement sensor system according to claim 6, characterized in that: The central processing unit also includes an output mode switching circuit, which includes a PNP output circuit and an NPN output circuit. The output circuits are respectively connected in series with the PNP output circuit and the NPN output circuit, and the NPN output mode or the PNP output mode is selected according to the preset parameters.
Citation Information
Patent Citations
Miniature digital CMOS laser displacement sensor circuit system
CN109883335A
Laser displacement sensor
CN111895919A
Small high-precision laser displacement sensor
CN111965657A
Intelligent distance measuring system of high-precision laser displacement sensor
CN113050107A
Laser ranging device
CN117991279A
Cited By
Laser displacement sensor and displacement detection method thereof
CN120651115A
Laser displacement sensor and displacement detection method thereof
CN120651115B
