displacement sensor

CN224933438UActive Publication Date: 2026-11-03GUANGDONG BOYI JINGKE SENSING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522435646.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-11-03
Estimated Expiration
2035-11-17

AI Technical Summary

Technical Problem

Existing displacement sensors are large in size, resulting in them taking up a lot of space during installation and use.

Method used

The design employs a layout in which control components, cables, and sensor bodies are arranged sequentially along a first direction. Combined with segmented probe components and guide components, the integrated circuit board and probe components are housed within the pen casing, forming a compact structure.

Benefits of technology

This effectively reduces the overall size of the displacement sensor, making it easy to install and use in space-constrained environments, thus improving space utilization and measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224933438U_ABST
    Figure CN224933438U_ABST
Patent Text Reader

Abstract

The utility model discloses a kind of displacement sensors, it is related to sensor technical field, wherein, displacement sensor includes sensor main body, including pen shell and circuit board and probe assembly movably arranged in the pen shell;The probe assembly is used for the abutment of measured object, the probe assembly is also used to move along first direction under the action of measured object, the circuit board is used to detect the scale on the probe assembly and form feedback signal;Control component, by cable with the circuit board electric connection, the control component, the cable and the sensor main body are sequentially arranged along the first direction, the control component is used to measure the displacement of measured object according to the feedback signal;The technical scheme provided by the utility model is that control component, cable and sensor main body are sequentially arranged along first direction, effectively reduce the overall volume of pen type displacement sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of sensor technology, and in particular to a displacement sensor. Background Technology

[0002] In the field of industrial measurement and automation control, displacement sensors are commonly used to detect minute changes in the displacement of objects, with applications covering precision machinery, electronic manufacturing, and equipment condition monitoring. However, existing displacement sensors are generally large in size, thus occupying a significant amount of space during actual installation and use. Utility Model Content

[0003] The main purpose of this invention is to propose a displacement sensor that aims to reduce the overall size of a pen-type displacement sensor.

[0004] To achieve the above objectives, the present invention proposes a displacement sensor comprising a sensor body, a pen shell, a circuit board, and a probe assembly movably disposed within the pen shell; the probe assembly is used for contact with a measured object, and is also used to move along a first direction under the action of the measured object; the circuit board is used to detect the scale on the probe assembly to generate a feedback signal; a control component is electrically connected to the circuit board via a cable; the control component, the cable, and the sensor body are arranged sequentially along the first direction; the control component is used to measure the displacement of the measured object based on the feedback signal.

[0005] In one embodiment, the probe assembly includes a detection probe, a probe rod, and a grating element. The probe rod includes a first connecting section, a first transition section, and a second connecting section that are connected to each other. The second connecting section is located at one end of the first transition section near the circuit board. The first connecting section has a contact end. The detection probe is located at the contact end, and the grating element is located at the second connecting section.

[0006] In one embodiment, along the first direction, the outer diameter of the first connecting segment is larger than the outer diameter of the second connecting segment.

[0007] In one embodiment, the second connecting segment has a first mounting groove and a through hole communicating with the first mounting groove. The grating element is disposed on the first mounting groove, and the through hole is disposed on the side of the second connecting segment near the circuit board.

[0008] In one embodiment, the sensor body further includes a connecting component disposed within the pen housing, the connecting component having a mounting cavity, the probe rod being movably disposed within the mounting cavity, and the circuit board being disposed at the end of the connecting component away from the contact end.

[0009] In one embodiment, the sensor body further includes a first guide assembly, the connecting assembly includes a probe sleeve, the probe sleeve has a first groove on at least one side along the second direction, the first guide assembly is sleeved on the outer periphery of the probe rod, the first guide assembly is slidably connected to the first groove, and the first direction intersects the second direction.

[0010] In one embodiment, the sensor body further includes a second guide assembly, the connecting assembly includes a bracket connected to the probe sleeve, the bracket has a second groove on at least one side along the second direction, the second guide assembly is sleeved on the outer periphery of the probe rod, and the second guide assembly is slidably connected to the second groove.

[0011] In one embodiment, the bracket includes a first mounting section and a second mounting section connected to each other, the first mounting section being connected to the probe sleeve, the circuit board being disposed in the second mounting section, and the second connecting section being movably disposed within the second mounting section; and / or, in the extension direction of the probe rod, the outer diameter of the first mounting section is larger than the outer diameter of the second mounting section.

[0012] In one embodiment, the circuit board includes a third mounting section, a second transition section, and a fourth mounting section that are interconnected. The third mounting section is disposed on the second mounting section and has a transmitting part. The fourth mounting section is disposed on the second mounting section and has a receiving part. The grating element is located between the transmitting part and the receiving part.

[0013] In one embodiment, the second mounting section has a light-transmitting hole and a second mounting groove on both sides along the second direction, the transmitting part is disposed in the light-transmitting hole, and the receiving part is disposed in the second mounting groove.

[0014] The technical solution of this utility model achieves a compact design of the pen displacement sensor structure by arranging the control components, cables and sensor body in sequence along the first direction, effectively reducing the overall volume of the pen displacement sensor, and thus making the pen displacement sensor easy to install and use in space-constrained environments. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0016] Figure 1This is a schematic diagram of the structure of an embodiment of the displacement sensor provided by this utility model; Figure 2 A structural cross-sectional view of an embodiment of the displacement sensor provided by this utility model; Figure 3 for Figure 2 A magnified view of a section at point A in the middle; Figure 4 A schematic diagram of the probe rod in one embodiment of the displacement sensor provided by this utility model; Figure 5 A schematic diagram of the support structure in one embodiment of the displacement sensor provided by this utility model; Figure 6 A schematic diagram of the structure of the first guide component and the second guide component in one embodiment of the displacement sensor provided by this utility model.

[0017] Explanation of icon numbers: 1. Sensor body; 11. Pen shell; 12. Circuit board; 121. Third mounting section; 1211. Transmitter; 122. Second transition section; 123. Fourth mounting section; 1231. Receiver; 13. Probe assembly; 131. Detection probe; 132. Probe rod; 1321. First connecting section; 13211. Contact end; 1322. First transition section; 1323. Second connecting section; 13231. First mounting groove; 13232. Through hole; 133. Grating element; 14. Connector 1. Connecting component; 141. Mounting cavity; 142. Probe sleeve; 143. First slide groove; 144. Bracket; 1441. First mounting section; 1442. Second mounting section; 14421. Light-transmitting hole; 14422. Second mounting groove; 145. Second slide groove; 15. First guide assembly; 151. Linear ball bearing; 1511. First strip hole; 152. First pin; 16. Second guide assembly; 161. Connecting bushing; 162. Second pin; 2. Control assembly; 3. Cable.

[0018] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0019] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present utility model.

[0020] It should be noted that if the embodiments of this utility model involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.

[0021] Furthermore, if the embodiments of this utility model involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this utility model.

[0022] This utility model proposes a displacement sensor.

[0023] Please see Figure 1 , Figure 2 and Figure 3 In one embodiment of this utility model, the displacement sensor includes a sensor body 1, a cable 3, and a control component 2. The sensor body 1 includes a pen housing 11, a circuit board 12, and a probe assembly 13 movably disposed within the pen housing 11. The probe assembly 13 is used for contact with a measured object and is also used to move along a first direction under the action of the measured object. The circuit board 12 is used to detect the scale on the probe assembly 13 to generate a feedback signal. The control component 2 is electrically connected to the circuit board 12 via the cable 3. The control component 2, the cable 3, and the sensor body 1 are arranged sequentially along the first direction. The control component 2 is used to measure the displacement of the measured object based on the feedback signal.

[0024] The technical solution of this utility model achieves a compact design of the pen displacement sensor structure by arranging the control component 2, cable 3 and sensor body 1 in sequence along the first direction, effectively reducing the overall volume of the pen displacement sensor, and thus making the pen displacement sensor easy to install and use in space-constrained environments.

[0025] In this embodiment, the probe assembly 13 is configured as a structure capable of linear motion and transmitting displacement information. The probe assembly 13 can achieve the above-mentioned functions in various ways. For example, the probe assembly 13 can adopt a slider and guide rail combination, or utilize a telescopic rod structure supported by an elastic element to achieve linear motion. Furthermore, the scale on the probe assembly 13 can be implemented using grating stripes, making it easier for the circuit board 12 to detect the scale on the probe assembly 13 and convert it into a physical marker for feedback signals. The circuit board 12 is configured as a module for signal acquisition and processing. The circuit board 12 can implement the scale detection function on the probe assembly 13 using various technical means. For example, the circuit board 12 can use a photoelectric sensor to scan the grating stripes on the probe assembly 13. The control assembly 2 is configured as a device for receiving feedback signals and calculating displacement, which can be implemented in various ways. For example, the control assembly 2 can directly perform signal analysis and displacement calculation using a PCB board. Furthermore, the cable 3 between the control assembly 2 and the circuit board 12 can be a flexible flat cable or a shielded cable 3 to adapt to different installation environments and reduce signal interference.

[0026] In this embodiment, the application integrates the circuit board 12 and the probe assembly 13 within the pen shell 11 to form the sensor body 1, thereby making the sensor body 1 elongated and reducing the size of the pen-type displacement sensor. The probe assembly 13 is used to directly contact the object being measured and move along the first direction, saving the conversion mechanism between the sensor and the object and simplifying the mechanical path between the displacement sensor and the object. The scale of the probe assembly 13 is located below the detection end of the circuit board 12. The object being measured drives the probe assembly 13 to move, thereby causing the scale on the probe assembly 13 to move synchronously. The detection end of the circuit board 12 detects the scale on the probe assembly 13 below to form a feedback signal. The control component 2 is electrically connected to the circuit board 12 via a cable 3 and is arranged sequentially with the cable 3 and the sensor body 1 along the first direction. This linear arrangement makes the entire device have a linear layout, optimizing the space utilization of the pen-type displacement sensor. The working principle of this application is as follows: The sensor body 1 uses the pen shell 11 as the outer shell of the overall structure, integrating the circuit board 12 and the probe assembly 13 inside it, reducing the size of the sensor body 1. The probe assembly 13 is movably disposed within the pen housing 11 and is used to directly contact the object being tested. When the object being tested acts on the probe assembly 13, the probe assembly 13 is displaced along a first direction under the influence of the object being tested, thereby causing the scale on the probe assembly 13 to move. The circuit board 12 generates a feedback signal by detecting the displacement change of the scale, thereby realizing real-time monitoring of the displacement state of the probe assembly 13.

[0027] like Figure 2 and Figure 4As shown, in one embodiment, the probe assembly 13 includes a detection probe 131, a probe rod 132, and a grating element 133. The probe rod 132 includes a first connecting section 1321, a first transition section 1322, and a second connecting section 1323 connected to each other. The second connecting section 1323 is located at one end of the first transition section 1322 near the circuit board 12. The first connecting section 1321 has a contact end 13211. The detection probe 131 is located at the contact end 13211, and the grating element 133 is located at the second connecting section 1323. In this embodiment, the segmented design of the probe rod 132 clearly defines the functional areas of the probe rod 132. The first connecting segment 1321, the first transition segment 1322, and the second connecting segment 1323 all extend along the first direction, reducing the overall space occupied by the probe assembly 13 within the pen housing 11 and improving the problem of the sensor body 1 being too large. Specifically, the first connecting segment 1321 has a contact end 13211, so that the first connecting segment 1321 serves as the contact part of the probe rod 132 to bear the force of the object being measured. The design of the first connecting segment 1321 having a larger outer diameter than the second connecting segment 1323 can effectively disperse stress and avoid local deformation of the first connecting segment 1321. The first transition segment 1322 serves as an intermediate buffer, smoothly connecting the first connecting segment 1321 and the second connecting segment 1323, reducing stress concentration and frictional loss of the probe rod 132 during movement. The second connecting section 1323 is used to install the grating component 133. The grating component 133 is positioned close to the circuit board 12 in the second connecting section 1323, which shortens the signal detection path of the circuit board 12. The detection probe 131 is located at the contact end 13211 of the first connecting section 1321, which makes it easier for the detection probe 131 to come into contact with the object being measured.

[0028] In a preferred embodiment, the grating element 133 may be grating glass, which is light-transmitting and has grating scale.

[0029] like Figure 4 As shown, in one embodiment, along the first direction, the outer diameter of the first connecting segment 1321 is larger than the outer diameter of the second connecting segment 1323.

[0030] In this embodiment, by setting the outer diameter of the first connecting segment 1321 to be larger than the outer diameter of the second connecting segment 1323 in a first direction, this application effectively improves the contradiction between the structural strength and space occupation of the probe assembly 13. The larger outer diameter of the first connecting segment 1321 ensures the bending resistance of the first connecting segment 1321, thereby ensuring the stability of the probe rod 132 when subjected to external resistance forces and avoiding the impact of bending deformation on the accuracy of displacement detection. Simultaneously, the smaller outer diameter of the second connecting segment 1323 allows for better adaptation to the compact space of the pen shell 11 near the circuit board 12, facilitating the installation and arrangement of the grating component 133 and reducing the radial space occupied by the probe rod 132 within the sensor body 1.

[0031] like Figure 4 As shown, in one embodiment, the second connecting segment 1323 has a first mounting groove 13231 and a through hole 13232 communicating with the first mounting groove 13231. The grating element 133 is disposed on the first mounting groove 13231, and the through hole 13232 is disposed on the side of the second connecting segment 1323 near the circuit board 12.

[0032] In this embodiment, the first mounting groove 13231 is used to precisely embed and fix the grating element 133, effectively preventing the grating element 133 from shifting due to vibration or external force during the movement of the probe assembly 13, thereby ensuring the stability of the detection feedback signal of the circuit board 12. The design of the through hole 13232 communicating with the first mounting groove 13231 makes it easier for the circuit board 12 to measure the scale on the grating element 133, enabling light or electrical signals to be efficiently transmitted to the circuit board 12 and reducing the possibility of signal attenuation. Furthermore, the through hole 13232 is located on the side of the second connecting section 1323 near the circuit board 12, shortening the physical distance between the grating element 133 and the circuit board 12. This not only improves signal reception efficiency but also further reduces the space occupied by the sensor body 1 in the axial direction, making the sensor body 1 more miniaturized.

[0033] like Figure 2 As shown, in one embodiment, the sensor body 1 further includes a connecting component 14, which is disposed within the pen housing 11. The connecting component 14 has a mounting cavity 141, and the probe rod 132 is movably disposed within the mounting cavity 141. The circuit board 12 is disposed at the end of the connecting component 14 away from the contact end 13211.

[0034] In this embodiment, the connecting component 14 is disposed within the pen housing 11 and forms a tight fit with the pen housing 11, thereby effectively reducing the overall volume of the sensor body 1. The mounting cavity 141 provides a precise guide track for the probe rod 132, ensuring that the probe rod 132 moves strictly along a straight line in the first direction during movement, significantly reducing measurement errors caused by shaking or offset. The probe rod 132 is movably disposed within the mounting cavity 141, and the limiting effect of the mounting cavity 141 stabilizes the movement trajectory of the probe rod 132, making the displacement feedback signal detected by the circuit board 12 more reliable. The circuit board 12 is positioned at the end of the movement path of the probe rod 132, which not only shortens the distance between the circuit board 12 and the probe assembly 13, but also optimizes the utilization of internal space, making the structure of the sensor body 1 more compact and improving the defect of excessive size of the sensor body 1. In one embodiment, an elastic element may be sleeved on the outer periphery of the second connecting segment 1323. One end of the elastic element elastically abuts against the second connecting segment 1323, and the other end of the elastic element elastically abuts against the inner wall of the mounting cavity 141, making it easier for the elastic element to drive the probe rod 132 to reset. In a preferred embodiment, the elastic element is set as a spring.

[0035] like Figure 2 and Figure 6 As shown, in one embodiment, the sensor body 1 further includes a first guide component 15, and the connecting component 14 includes a probe sleeve 142. The probe sleeve 142 has a first groove 143 on at least one side along the second direction. The first guide component 15 is sleeved on the outer periphery of the probe rod 132. The first guide component 15 is slidably connected to the first groove 143. The first direction intersects the second direction.

[0036] In this embodiment, the probe sleeve 142 serves as a support structure for part of the probe rod 132. The probe sleeve 142 accommodates the probe rod 132 and provides movement space for it. Simultaneously, it engages with the first guide assembly 15 via the first sliding groove 143. The first guide assembly 15 is tightly fitted onto the outer periphery of the probe rod 132. Through its sliding connection with the first sliding groove 143, the movement of the probe rod 132 is limited to a first direction, effectively suppressing lateral displacement of the probe rod 132 during movement and improving the stability of its movement within the pen housing 11.

[0037] In this embodiment, the first direction may be consistent with the axial direction of the pen shell 11, and the second direction may be consistent with the radial direction of the pen shell 11. The probe sleeve 142 has first grooves 143 on both sides along the second direction. The first guide assembly 15 includes a linear ball bearing 151 and a first pin 152. The linear ball bearing 151 is sleeved on the probe rod 132 and has a first slot 1511. The first pin 152 passes through the first slot 1511 and the probe rod 132 respectively. The two ends of the first pin 152 are slidably connected to the first grooves 143 respectively, so that the first guide assembly 15 can guide the probe rod 132 to move along the first direction, thereby realizing the high-precision and low-friction linear motion of the probe rod 132.

[0038] like Figure 2 and Figure 6 As shown, in one embodiment, the sensor body 1 further includes a second guide assembly 16, and the connecting assembly 14 includes a bracket 144 connected to the probe sleeve 142. The bracket 144 has a second groove 145 on at least one side along the second direction. The second guide assembly 16 is sleeved on the outer periphery of the probe rod 132, and the second guide assembly 16 is slidably connected to the second groove 145.

[0039] In this embodiment, the bracket 144 serves as a support structure for another part of the probe rod 132. The bracket 144 also connects the probe sleeve 142 and the circuit board 12. The second groove 145, arranged along the second direction on the bracket 144, provides a stable mounting base for the second guide assembly 16. Simultaneously, the sliding connection mechanism formed by the second guide assembly 16 and the second groove 145 not only allows the probe rod 132 to move stably along the first direction but also restricts the lateral displacement of the probe rod 132 using the sidewall of the second groove 145. The second guide assembly 16 cooperates with the first guide assembly 15, thereby enabling the probe rod 132 to move more stably within the pen casing 11 along the first direction.

[0040] In this embodiment, the bracket 144 has second sliding grooves 145 on both sides along the second direction. The second guide assembly 16 includes a connecting bushing 161 and a second pin 162. The connecting bushing 161 is sleeved on the probe rod 132. The second pin 162 passes through the connecting bushing 161 and the probe rod 132 respectively. The two ends of the second pin 162 are slidably connected to the second sliding grooves 145 respectively, so that the second guide assembly 16 can cooperate with the first guide assembly 15 to guide the probe rod 132 to move along the first direction, thereby realizing the high-precision and low-friction linear motion of the probe rod 132.

[0041] like Figure 5As shown, in one embodiment, the bracket 144 includes a first mounting section 1441 and a second mounting section 1442 connected to each other. The first mounting section 1441 is connected to the probe sleeve 142, the circuit board 12 is disposed in the second mounting section 1442, and the second connecting section 1323 is movably disposed within the second mounting section 1442; and / or, in the extending direction along the probe rod 132, the outer diameter of the first mounting section 1441 is larger than the outer diameter of the second mounting section 1442.

[0042] In this embodiment, the application effectively improves the problem of excessive size of the sensor body 1 by adopting a segmented design of the bracket 144. The first mounting section 1441 is used for mounting the probe rod 132 and for fixed connection with the probe sleeve 142, ensuring the stability of the probe assembly 13 during movement. The second mounting section 1442 is used to provide a mounting area for the circuit board 12, which not only shortens the distance between the circuit board 12 and the probe assembly 13, but also reduces the length of the signal transmission cable 3 and the wiring space. The size difference design between the first mounting section 1441 and the second mounting section 1442, combined with the fact that the outer diameter of the first connecting section 1321 of the probe rod 132 is larger than the outer diameter of the second connecting section 1323, improves the space utilization of the probe rod 132, bracket 144 and circuit board 12 in the pen shell 11.

[0043] like Figure 3 As shown, in one embodiment, the circuit board 12 includes a third mounting section 121, a second transition section 122, and a fourth mounting section 123 that are interconnected. The third mounting section 121 is disposed on the second mounting section 1442 and has a transmitting part 1211. The fourth mounting section 123 is disposed on the second mounting section 1442 and has a receiving part 1231. The grating element 133 is located between the transmitting part 1211 and the receiving part 1231.

[0044] In this embodiment, the third mounting section 121 and the fourth mounting section 123 are two mounting arms of the circuit board 12, respectively. The third mounting section 121 and the fourth mounting section 123 are respectively located on the second mounting section 1442, improving the stability of the circuit board 12 mounted on the bracket 144 and alleviating the problem of inconvenient installation of the circuit board 12 in narrow spaces, thereby further miniaturizing the sensor body 1. The fourth mounting section 123 and the third mounting section 121 form a symmetrical layout along the second direction. The transmitting unit 1211, in conjunction with the receiving unit 1231, accurately captures the scale after the displacement of the grating element 133 and feeds back the signal to the circuit board 12, improving the detection accuracy of the circuit board 12.

[0045] like Figure 3 and Figure 5As shown, in one embodiment, the second mounting section 1442 has a light-transmitting hole 14421 and a second mounting groove 14422 on both sides along the second direction, the emitting part 1211 is disposed in the light-transmitting hole 14421, and the receiving part 1231 is disposed in the second mounting groove 14422.

[0046] In this embodiment, by providing light-transmitting holes 14421 and second mounting slots 14422 on both sides of the second mounting section 1442 along the second direction, the light-illuminating part and the receiving part 1231 of the circuit board 12 are integrated into a limited space, further improving the problem of the excessively large size of the sensor body 1. The light-transmitting holes 14421 directly illuminate the emitting part 1211, avoiding the introduction of additional light-guiding components, thereby simplifying the optical path structure. The emitting part 1211 uses the light-transmitting holes 14421 to achieve efficient and directional transmission of light, further reducing signal scattering and space waste. The receiving part 1231 is disposed on the second mounting slot 14422 and forms a symmetrical layout with the emitting part 1211 along the second direction, improving the reliability of signal reception.

[0047] The above description is merely an exemplary embodiment of the present utility model and does not limit the patent scope of the present utility model. Any equivalent structural transformations made based on the technical concept of the present utility model and the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.

Claims

1. A displacement sensor, characterized in that, include: The sensor body includes a pen shell, a circuit board, and a probe assembly movably disposed within the pen shell; the probe assembly is used for contact with the object being measured, and the probe assembly is also used to move along a first direction under the action of the object being measured; the circuit board is used to detect the scale on the probe assembly to generate a feedback signal. The control component is electrically connected to the circuit board via a cable. The control component, the cable, and the sensor body are arranged sequentially along the first direction. The control component is used to measure the displacement of the object being measured based on the feedback signal.

2. The displacement sensor as described in claim 1, characterized in that, The probe assembly includes a detection probe, a probe rod, and a grating element. The probe rod includes a first connecting section, a first transition section, and a second connecting section that are connected to each other. The second connecting section is located at one end of the first transition section near the circuit board. The first connecting section has a contact end. The detection probe is located at the contact end, and the grating element is located in the second connecting section.

3. The displacement sensor as described in claim 2, characterized in that, Along the first direction, the outer diameter of the first connecting segment is larger than the outer diameter of the second connecting segment.

4. The displacement sensor as described in claim 2, characterized in that, The second connecting segment has a first mounting groove and a through hole communicating with the first mounting groove. The grating element is disposed on the first mounting groove, and the through hole is disposed on the side of the second connecting segment close to the circuit board.

5. The displacement sensor as described in claim 2, characterized in that, The sensor body also includes a connecting component, which is disposed inside the pen housing. The connecting component has a mounting cavity, and the probe rod is movably disposed inside the mounting cavity. The circuit board is disposed at the end of the connecting component away from the contact end.

6. The displacement sensor as described in claim 5, characterized in that, The sensor body further includes a first guide assembly, and the connecting assembly includes a probe sleeve. The probe sleeve has a first groove on at least one side along the second direction. The first guide assembly is sleeved on the outer periphery of the probe rod and is slidably connected to the first groove. The first direction intersects the second direction.

7. The displacement sensor as described in claim 6, characterized in that, The sensor body further includes a second guide assembly. The connecting assembly includes a bracket connected to the probe sleeve. The bracket has a second sliding groove on at least one side along the second direction. The second guide assembly is sleeved on the outer periphery of the probe rod and is slidably connected to the second sliding groove.

8. The displacement sensor as described in claim 7, characterized in that, The bracket includes a first mounting section and a second mounting section connected to each other. The first mounting section is connected to the probe sleeve. The circuit board is disposed in the second mounting section. The second connecting section is movably disposed within the second mounting section. And / or, in the extension direction of the probe rod, the outer diameter of the first mounting section is larger than the outer diameter of the second mounting section.

9. The displacement sensor as described in claim 8, characterized in that, The circuit board includes a third mounting section, a second transition section, and a fourth mounting section that are interconnected. The third mounting section is located on the second mounting section and has a transmitting part. The fourth mounting section is located on the second mounting section and has a receiving part. The grating element is located between the transmitting part and the receiving part.

10. The displacement sensor as described in claim 9, characterized in that, The second mounting section has a light-transmitting hole and a second mounting groove on both sides along the second direction, the transmitting part is disposed in the light-transmitting hole, and the receiving part is disposed in the second mounting groove.