Displacement measuring device and displacement measuring method thereof

By combining the main electrode group and the secondary electrode group, the coupling voltage signal between the main electrode and the secondary electrode is monitored in real time, which solves the problem of detection dead zone in the existing technology and realizes high-resolution and real-time displacement measurement.

CN123134872APending Publication Date: 2026-11-20HKC CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611628070.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-21
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing precision measuring devices have detection dead zones, making it impossible to accurately calculate the current displacement through voltage comparison.

Method used

Design a displacement measuring device that adopts a combination structure of a main electrode group and a secondary electrode group. The main electrode group includes a first electrode and a second electrode, at least one of which is in a fully covered state. The secondary electrode group includes a third electrode and a fourth electrode. By real-time monitoring of the coupling voltage signals of the main electrode and the secondary electrode, the target main electrode and the target secondary electrode are identified, and the current displacement is calculated by combining the scanning pulse signal.

Benefits of technology

It achieves an effective voltage gradient signal at any location, avoids detection dead zones, improves measurement resolution and real-time performance, and ensures consistent measurement accuracy across the entire range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123134872A_ABST
    Figure CN123134872A_ABST
Patent Text Reader

Abstract

The application provides a displacement measuring device and a displacement measuring method thereof. The displacement measuring device comprises a grating ruler, a detection electrode group and a detection circuit. The detection electrode group comprises a main electrode group and a secondary electrode group. The main electrode group comprises a first electrode and a second electrode, and the secondary electrode group comprises a third electrode corresponding to the first electrode and a fourth electrode corresponding to the second electrode. At least one of the first electrode and the second electrode completely covers one grating electrode at the same time, which is a full coverage state. The corresponding electrodes in the secondary electrode group partially cover two adjacent grating electrodes in the measurement direction. The detection circuit is configured to provide a scanning pulse signal to the grating ruler, monitor the coupling voltage signals of the first electrode and the second electrode in real time, identify the electrode in the full coverage state as a target main electrode, and identify the electrode corresponding to the target main electrode as a target secondary electrode. The current displacement is calculated based on the coupling voltage signals of the target main electrode and the target secondary electrode. The displacement measuring device can eliminate the detection dead zone in the traditional grating ruler measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of displacement measurement technology, and in particular to a displacement measuring device and a displacement measuring method thereof. Background Technology

[0002] In the field of precision machining, precision displacement (or angle) sensors are an indispensable and important component, as their measurement accuracy directly determines the precision level of the manufacturing process. Grating-type measuring devices, as a type of precision sensor capable of accurately calibrating displacement or rotation angle, are widely used in the precision manufacturing industry.

[0003] Currently, the most widely used precision measuring device is the optical grating ruler. The working principle of an optical grating ruler relies on counting the transmission or reflection of light on the grating ruler. An optical sensor converts the optical signal into an electrical signal, which is then used to calculate the distance. A novel scanning grating ruler scheme has been proposed in related technologies. This scheme sets detection electrodes on multiple scanning and fixed gratings. By utilizing the different waveforms generated by the gratings over time, and by acquiring different coupled waveforms at different positions through the detection electrodes, the current position can be determined.

[0004] However, the existing scanning grating detection method has a "detection dead zone" problem, which makes it impossible to make accurate calculations by voltage comparison. Summary of the Invention

[0005] This application provides a displacement measuring device and a displacement measuring method thereof, aiming to solve the problem that the traditional grating ruler measurement method in the prior art has a detection dead zone and cannot accurately calculate the current displacement.

[0006] To address the aforementioned technical problems, the first technical solution provided in this application is: to provide a displacement measuring device. This displacement measuring device includes: a grid ruler comprising a plurality of grids periodically arranged along the measuring direction; The detection electrode group is positioned opposite to the grid ruler and can move relative to the grid ruler along the measurement direction, thereby coupling with the grid to form a coupled voltage signal; the detection electrode group includes a main electrode group and a secondary electrode group; The main electrode group includes a first electrode and a second electrode, which are configured such that at least one of them completely covers a gate in the measurement direction at the same time, i.e., a full coverage state. The sub-electrode group includes a third electrode and a fourth electrode, with the first electrode, second electrode, third electrode and fourth electrode arranged alternately along the measurement direction; The first electrode corresponds to the third electrode, and the second electrode corresponds to the fourth electrode; wherein, when the first electrode or the second electrode is in a fully covered state, the corresponding third electrode or the fourth electrode partially covers the two adjacent gates in the measurement direction; The detection circuit, electrically connected to the grid ruler and the detection electrode group respectively, is configured as follows: Provide scan pulse signals with different phases to multiple gates of the grid ruler; The first coupling voltage signal of the first electrode and the second coupling voltage signal of the second electrode are monitored in real time. The first electrode and / or the second electrode in the full coverage state are identified as the target main electrode, and the third electrode or the fourth electrode corresponding to the target main electrode is identified as the target secondary electrode. The current displacement is calculated based on the primary coupled voltage signal of the target primary pole and the secondary coupled voltage signal of the target secondary pole.

[0007] In some embodiments, the linewidth of the gate is A, and the line spacing between two adjacent gates is B; wherein, B≤A, A+B=W; The linewidth of the first electrode, the second electrode, the third electrode, and the fourth electrode is all W; The center-to-center distance between the first electrode and the second electrode is (n1·W+A); The center-to-center distance between the first electrode and the third electrode is (n²·W+A); The center-to-center distance between the first electrode and the fourth electrode is n3·W; Where n1, n2, and n3 are all positive integers, and n1 < n2 < n3.

[0008] In some embodiments, the grid ruler further includes a common electrode disposed on one side of a plurality of grids along the extension direction of the grids, and the common electrode extends beyond or is aligned with the outermost grid at opposite ends along the measurement direction. The first electrode and the second electrode are defined as main electrodes. The main electrode includes a main body and an extension part. Along the extension direction of the gate, the main body is disposed opposite to the gate, and the extension part is connected to the main body and disposed opposite to the common electrode. When the main electrode is in a fully covered state, it can couple with the gate and the common electrode to form a main electrode voltage signal. The detection electrode group also includes a reference electrode, which is disposed on the side of the main body away from the extension portion and spaced apart from the main electrode group. The width of the reference electrode along the measurement direction covers the gate width region jointly covered by the first electrode and the second electrode, and extends beyond the width C at both ends. The reference electrode is used to couple with the gate in the gate width region to form a coupled reference voltage signal and serve as a threshold voltage signal.

[0009] In some embodiments, the detection circuit is electrically connected to the reference electrode, and the detection circuit is further configured to: The coupled reference voltage signal of the reference electrode is received in real time and used as the threshold voltage signal; The target main electrode is identified by comparing the coupling voltage signal of the first electrode with the threshold voltage signal, and the coupling voltage signal of the second electrode with the threshold voltage signal.

[0010] In some embodiments, the detection circuit includes: The coarse measurement module is configured to receive the first coupled voltage signal and the second coupled voltage signal in real time, and output a high level when the amplitude of the first coupled voltage signal and the second coupled voltage signal is greater than the threshold voltage; The precision measurement module, whose control terminal is electrically connected to the coarse measurement module, is configured to receive the third and fourth coupled voltage signals generated by the change in the relative position of the sub-electrode group and the gate. When the output signal of the coarse measurement module is at a high level, the module performs a logical OR operation on the third and fourth coupled voltage signals and outputs them after analog-to-digital conversion. The processing unit is configured to receive the coarse measurement signal output by the coarse measurement module and the fine measurement signal output by the fine measurement module, and to perform calculations based on the coarse measurement signal, the fine measurement signal and the trigger signal to obtain the current displacement.

[0011] In some embodiments, the coarse measurement module includes: The first comparison unit includes a first comparator and a first switching transistor; the non-inverting input terminal of the first comparator is connected to the first electrode, and the inverting input terminal is connected to the threshold voltage signal; the gate and drain of the first switching transistor are electrically connected to the first comparison output node of the first comparator. The second comparison unit includes a second comparator and a second switching transistor; the non-inverting input of the second comparator is connected to the second electrode, and the inverting input is connected to the threshold voltage signal; the gate and drain of the second switching transistor are electrically connected to the second comparison output node of the second comparator; the source of the first switching transistor and the source of the second switching transistor are connected to the first output node. The precision measurement module includes: The first input unit includes a third switch transistor, the gate of which is connected to the first output node and the drain of which is coupled to the third electrode. The second input unit includes a fourth switch transistor, the gate of which is connected to the first output node and the drain of which is coupled to the fourth electrode; the source of the third switch transistor and the source of the fourth switch transistor are connected to the second output node. The sampling unit includes a fifth switching transistor and an analog-to-digital converter unit; the gate of the fifth switching transistor receives the sampling control signal, the drain is connected to the second output node, and the source is connected to the analog-to-digital converter unit.

[0012] In some embodiments, the processing unit is electrically connected to the output terminals of the first output node and the analog-to-digital conversion unit, respectively; the processing unit is configured to: Record the first moment when the first output node switches to a high level, and calculate the first time interval between the rising edge of the trigger signal and the first moment. After the first moment, sampling control signals are generated sequentially after delays of the first preset time, the second preset time, and the third preset time, and transmitted to the gate of the fifth switch; wherein, the time interval between the first moment and the next electrode coupling moment is the first preset time, and the time interval between the first moment and the two coupling moments of the target sub-electrode are the second preset time and the third preset time, respectively; The analog-to-digital conversion unit samples and performs analog-to-digital conversion on the first sampled voltage, the second sampled voltage, and the third sampled voltage at the first preset time, the second preset time, and the third preset time, respectively. The target main electrode is identified based on the first sampled voltage; Based on the target master electrode, the current displacement is calculated according to the first time interval, the pulse scan interval of adjacent gates, the second sampling voltage, and the third sampling voltage.

[0013] In some embodiments, the first input unit further includes: The first follower and the first capacitor are connected as follows: the non-inverting input of the first follower is connected to the third electrode, the inverting input of the first follower is connected to its own output, and the output of the first follower is connected to the drain of the third switching transistor; one end of the first capacitor is connected to the output of the first follower, and the other end is connected to a low voltage signal. The second input unit also includes: The second follower and the second capacitor are connected. The non-inverting input of the second follower is connected to the fourth electrode, the inverting input of the second follower is connected to its own output, and the output of the second follower is connected to the drain of the fourth switching transistor. One end of the second capacitor is connected to the output of the second follower, and the other end is connected to a low voltage signal.

[0014] In some embodiments, the detection circuit further includes a reset module, which includes a sixth switch and a seventh switch; The gate of the sixth switch is connected to the processing unit, the drain is connected to the first output node, and the source is connected to a low-voltage signal. The gate of the seventh switch is connected to the processing unit, the drain is connected to the second output node, and the source is connected to a preset voltage signal. The processing unit is also configured to transmit reset control signals to the sixth and seventh switching transistors respectively at the end of the measurement cycle.

[0015] To address the aforementioned technical problems, the second technical solution provided in this application is: a displacement measurement method, applied to the displacement measurement device provided in any of the embodiments above. This displacement measurement method includes: During the scan cycle, scan pulse signals are sequentially applied to multiple gates on the grating ruler; Record the rising edge of the trigger signal and monitor the output signal of the coarse measurement module in real time; Record the first moment when the coarse measurement module outputs a high level, and calculate the first time interval between the rising edge of the trigger signal and the first moment. After the first moment, a sampling control signal is generated and output to the sampling control terminal of the precision measurement module; Read the first, second, and third sampled voltages output from the precision measurement module; Determine if the first sampled voltage is low; In response to the first sampling voltage being low, the current displacement is:

[0016] In response to the first sampling voltage being high, the current displacement is:

[0017] Where x represents the current displacement; Δt1 represents the first time interval; h represents the phase difference time between the scan pulse signals of adjacent gates; W represents the arrangement period width of the gates; A represents the linewidth of the gates; n1 represents the spacing parameter between the first electrode and the second electrode, and the center spacing between the first electrode and the second electrode is (n1·W+A); Ve2 represents the second sampling voltage at the second preset sampling time; and Ve3 represents the third sampling voltage at the third preset sampling time.

[0018] The beneficial effects of this application are as follows: Unlike existing technologies, this application provides a displacement measuring device and its displacement measuring method. By setting at least one of the first and second electrodes in the main electrode group to be in a fully covered state completely covering the gate, the circuit can accurately identify the current integer multiple of the gate pitch position. Furthermore, by utilizing the characteristic that the corresponding secondary electrode partially covers two adjacent gates when the main electrode is fully covered, the coupling voltage signal of the secondary electrode changes linearly with the displacement. This coupling voltage value can then be used to infer sub-pixel level precise displacement, further improving measurement resolution. By monitoring the main electrode voltage in real time and identifying the target main electrode and the corresponding target secondary electrode through the detection circuit, the logic decoupling of coarse positioning of the main electrode and fine positioning of the secondary electrode is achieved. This allows the system to automatically switch detection channels without pre-estimating the waveform position, simplifying the control logic and improving the real-time performance of the detection. Through the corresponding arrangement of the main electrode group and the secondary electrode group, and the coordination of full and partial coverage, an effective voltage gradient signal exists at any position within the entire measurement range, avoiding the generation of detection dead zones and helping to maintain the consistency of measurement accuracy across the entire range. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0020] Figure 1 This is a schematic diagram of the first state structure of a displacement measuring device provided in an embodiment of the related technology; Figure 2 It corresponds Figure 1 A schematic diagram of the measurement waveforms under the condition of the displacement measuring device; Figure 3 This is a schematic diagram of the second state structure of a displacement measuring device provided in an embodiment of the related technology; Figure 4 This is a schematic diagram of the third state structure of the displacement measurement state provided in an embodiment of the related technology; Figure 5 This is a schematic diagram of a state structure of the displacement measuring device provided in the first embodiment of this application; Figure 6 This is a schematic diagram of the electrode dimensions and structure of the displacement measuring device provided in the first embodiment of this application; Figure 7 This is a schematic diagram of another state structure of the displacement measuring device provided in the first embodiment of this application; Figure 8 This is a schematic diagram of a state structure of the displacement measuring device provided in the second embodiment of this application; Figure 9 This is a schematic diagram of the detection circuit provided in the first embodiment of this application; Figure 10 This is a schematic diagram of the measurement waveform of the displacement measuring device in the first state according to an embodiment of this application; Figure 11 This is a schematic diagram of the detection circuit provided in the second embodiment of this application; Figure 12 This is another schematic diagram of the displacement measuring device provided in the first embodiment of this application; Figure 13 This is a schematic diagram of the measurement waveform of the displacement measuring device in the second state according to an embodiment of this application; Figure 14 This is a flowchart illustrating the steps of a displacement measurement method provided in one embodiment of this application.

[0021] Figure label: 11-Gate; 12-Detection electrode; 13-Shift register; 20-Grid ruler; 21-Gate; 211-First gate; 212-Second gate; 213-Third gate; 214-Fourth gate; 215-Fifth gate; 216-Sixth gate; 217-Seventh gate; 22-Common electrode; 30-Detection electrode group; 31-Main electrode group; 311-First electrode; 312-Second electrode; 32-Sub-electrode group; 321-Third electrode; 322-Fourth electrode; 33-Main electrode; 331-Main body; 332-Extension section; 34-Reference electrode; 40-Detection circuit; 41-Coarse measurement module; 411-First comparison unit; 412-Second comparison unit; 42-Fine measurement module; 421-First input unit; 422-Second input unit; 423-Sampling unit; 43-Processing unit; 44-Reset module; OP1 - First comparator; OP2 - Second comparator; OP3 - First follower; OP4 - Second follower; N1 - First switch; N2 - Second switch; N3 - Third switch; N4 - Fourth switch; N5 - Fifth switch; N6 - Sixth switch; N7 - Seventh switch; C1 - First capacitor; C2 - Second capacitor; Q1 - First comparator output node; Q2 - Second comparator output node; P1 - First output node; P2 - Second output node; ADC - Analog-to-digital converter; Vin1 - First coupled voltage signal; Vi n2 - Second coupling voltage signal; Vin3 - Third coupling voltage signal; Vin4 - Fourth coupling voltage signal; Vref - Threshold voltage signal; Ve1 - First sampling voltage; Ve2 - Second sampling voltage; Ve3 - Third sampling voltage; SW1 - Sampling control signal; SW2 - Reset control signal; STV - Trigger signal; △t1 - First time interval; △t2 - First preset time; △t3 - Second preset time; △t4 - Third preset time; △t5 - Fourth preset time; VSS - Negative power supply potential; V1 - Preset voltage signal. Detailed Implementation

[0022] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0023] In the following description, specific details such as particular system architectures, interfaces, and technologies are presented for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.

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

[0025] The terms "first," "second," and "third" in this application are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. All directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationships and movements between components in a specific orientation (as shown in the figures). If the specific orientation changes, the directional indications also change accordingly. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.

[0026] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0027] Please see Figure 1 and Figure 2 , Figure 1 This is a schematic diagram of the first state structure of a displacement measuring device provided in an embodiment of the related technology. Figure 2 It corresponds Figure 1 A schematic diagram of the measurement waveform of a displacement measuring device. In related technologies, the displacement measuring device includes a shift register 13, a grating ruler, and a detection electrode 12. The grating ruler includes multiple gates 11 arranged periodically along the measurement direction. The shift register 13 includes displacement register units corresponding one-to-one with the multiple gates 11, used to provide scanning pulse signals of different phases to the gates 11. The detection electrode 12 is disposed above the grating ruler and can move relative to the grating ruler along the measurement direction, thereby coupling with the gates 11 to form a coupled voltage signal.

[0028] Detection electrodes 12 are disposed on the gates 11 that are scanned and fixed one by one. The waveform of each gate 11 changes over time as follows: Figure 2As shown, the waveform obtained by the detection electrode 12 differs at different positions, thus revealing the current position. This method requires the detection unit to know the timing of the characteristic waveform's appearance in advance to perform targeted voltage detection on the coupled waveform. However, this detection method has a detection dead zone.

[0029] Please see Figure 3 and Figure 4 , Figure 3 This is a schematic diagram of the second state structure of a displacement measuring device provided in an embodiment of the related technology. Figure 4 This is a schematic diagram of the third state structure of displacement measurement provided in an embodiment of related technology. When the detection electrode 12 and the gate 11 are completely aligned, there is a displacement that cannot be accurately calculated by voltage comparison. Furthermore, this detection method requires prior estimation of the position of the coupling waveform to facilitate voltage detection.

[0030] like Figure 3 and Figure 4 As shown, the detection electrode 12 moves from the right side to the left side of the gate 11, completely covering the gate 11. The detection electrode 12 covers only the same gate 11 and completely covers the gate 11. The coupling waveform is exactly the same at any position in this displacement range. Therefore, the current displacement cannot be accurately calculated by voltage comparison. This displacement range is the detection dead zone.

[0031] To address the aforementioned detection dead zone problem, this application provides a displacement measuring device and method. By ensuring that at least one of the first and second electrodes in the main electrode group is fully covered by the gate, the circuit can accurately identify the current integer multiple of the gate pitch position. Furthermore, by utilizing the characteristic that the corresponding secondary electrode partially covers two adjacent gates when the main electrode is fully covered, the coupling voltage signal of the secondary electrode changes linearly with displacement. This coupling voltage value can then be used to infer sub-pixel level precision displacement, further improving measurement resolution. By monitoring the main electrode voltage in real time and identifying the target main electrode and its corresponding target secondary electrode, the logic decoupling of coarse main electrode positioning and fine secondary electrode positioning is achieved. This allows the system to automatically switch detection channels without pre-estimating waveform positions, simplifying control logic and improving real-time detection. Through the corresponding arrangement of the main electrode group and the secondary electrode group, and the coordination of full and partial coverage, an effective voltage gradient signal exists at any position within the entire measurement range, avoiding the generation of detection dead zones and maintaining consistent measurement accuracy across the entire range.

[0032] The present application will now be described in detail with reference to the accompanying drawings and embodiments.

[0033] Please see Figure 5 , Figure 5This is a schematic diagram of a displacement measuring device in one state according to the first embodiment of this application. In this embodiment, a displacement measuring device is provided, which includes: The grid ruler 20 includes a plurality of grids 21 arranged periodically along the measurement direction; The detection electrode group 30 is disposed opposite to the grid ruler 20 and can move relative to the grid ruler 20 along the measurement direction, thereby coupling with the gate 21 to form a coupled voltage signal; the detection electrode group 30 includes a main electrode group 31 and a secondary electrode group 32. The main electrode group 31 includes a first electrode 311 and a second electrode 312. The first electrode 311 and the second electrode 312 are configured such that at least one of them completely covers a gate 21 in the measurement direction at the same time, which is a full coverage state. The sub-electrode group 32 includes a third electrode 321 and a fourth electrode 322. The first electrode 311, the second electrode 312, the third electrode 321 and the fourth electrode 322 are arranged sequentially and alternately along the measurement direction. The first electrode 311 corresponds to the third electrode 321, and the second electrode 312 corresponds to the fourth electrode 322; wherein, when the first electrode 311 or the second electrode 312 is in a fully covered state, the corresponding third electrode 321 or the fourth electrode 322 partially covers the two adjacent gates 21 in the measurement direction. The detection circuit 40, electrically connected to the grid ruler 20 and the detection electrode group 30 respectively, is configured as follows: Scan pulse signals with different phases are provided to multiple gates 21 of the grid ruler 20; The first coupling voltage signal Vin1 of the first electrode 311 and the second coupling voltage signal Vin2 of the second electrode 312 are monitored in real time. The first electrode 311 and / or the second electrode 312 in the full coverage state are identified as the target main electrode, and the third electrode 321 or the fourth electrode 322 corresponding to the target main electrode are identified as the target secondary electrode. The current displacement is calculated based on the primary coupled voltage signal of the target primary pole and the secondary coupled voltage signal of the target secondary pole.

[0034] The grating ruler 20 consists of multiple gates 21 arranged periodically along the measurement direction, typically made of conductive materials such as metals or doped semiconductors, used to carry scan pulse signals. The scan pulse signals of different gates 21 have different phases. The detection period is the same as the scan period of the scan pulse signal.

[0035] The detection electrode group 30 is disposed opposite to the grid ruler 20, that is, the projection of the detection electrode group 30 on the grid ruler 20 at least partially overlaps with the gate 21. There is a small gap between the detection electrode group 30 and the grid ruler 20. When the detection electrode group 30 moves along the measurement direction, the capacitive coupling effect between it and the gate 21 changes, thereby generating a coupled voltage signal.

[0036] Specifically, the detection electrode group 30 includes a main electrode group 31 and a secondary electrode group 32. The main electrode group 31 consists of a first electrode 311 and a second electrode 312, and the secondary electrode group 32 consists of a third electrode 321 and a fourth electrode 322. These four electrodes are arranged sequentially at intervals along the measurement direction.

[0037] In this configuration, the first electrode 311 corresponds to the third electrode 321, and the second electrode 312 corresponds to the fourth electrode 322. At any measurement position, at least one of the first electrode 311 and the second electrode 312 is in a state of completely covering one gate 21, i.e., a full-coverage state. At this time, the coupled voltage signal obtained by that electrode reaches its peak value or a specific reference value. Meanwhile, the secondary electrode (the third or fourth electrode 322) corresponding to the fully covered main electrode 33 is in a state of partially covering two adjacent gates 21, and the magnitude of its coupled voltage signal depends on the coverage ratio.

[0038] When the detection circuit 40 is working, it provides scanning pulse signals with different phases to the grid ruler 20, exciting the grid 21 to generate an alternating electric field. At the same time, the detection circuit 40 monitors the coupling voltage signals of each electrode of the detection electrode group 30 in real time; wherein, the coupling voltage signal of the first electrode 311 is the first coupling voltage signal Vin1, the coupling voltage signal of the second electrode 312 is the second coupling voltage signal Vin2, the coupling voltage signal of the third electrode 321 is the third coupling voltage signal Vin3, and the coupling voltage signal of the fourth electrode 322 is the fourth coupling voltage signal Vin4.

[0039] The detection circuit 40 identifies the first electrode 311 and / or the second electrode 312, which are in a full-coverage state, as the target main electrode based on the first coupling voltage signal Vin1 and the second coupling voltage signal Vin2. Then, based on the target main electrode, it identifies the third electrode 321 or the fourth electrode 322 corresponding to the target main electrode as the target secondary electrode. Then, it determines the approximate displacement range (an integer multiple of gate 21) of the current displacement by the timing of the main electrode coupling voltage signal of the target main electrode, and calculates the precise subgate pitch displacement by combining it with the secondary electrode coupling voltage signal of the target secondary electrode (the magnitude of the secondary electrode coupling voltage signal is proportional to the coverage ratio).

[0040] This embodiment sets at least one of the first electrode 311 and the second electrode 312 in the main electrode group 31 to be in a fully covered state, completely covering the gate 21. This allows the circuit to accurately identify the current integer multiple gate pitch position. Furthermore, by utilizing the characteristic that the corresponding secondary electrode partially covers two adjacent gates 21 when the main electrode 33 is fully covered, the coupling voltage signal of the secondary electrode changes linearly with displacement. This coupling voltage value can then be used to infer sub-pixel level precise displacement, further improving measurement resolution. The detection circuit 40 monitors the voltage of the main electrode 33 in real time and identifies the target main electrode and its corresponding target secondary electrode, achieving logical decoupling between coarse main electrode positioning and fine secondary electrode positioning. This allows the system to automatically switch detection channels without pre-estimating waveform positions, simplifying control logic and improving real-time detection. The corresponding arrangement of the main electrode group 31 and the secondary electrode group 32, along with the coordination of full and partial coverage, ensures an effective voltage gradient signal at any position within the entire measurement range, avoiding detection dead zones and maintaining consistent measurement accuracy across the entire range.

[0041] Please see Figure 6 , Figure 6 This is a schematic diagram of the electrode dimensions of the displacement measuring device provided in the first embodiment of this application. In some embodiments, the linewidth of the gate 21 is A, and the line spacing between two adjacent gates 21 is B; wherein, B≤A, A+B=W; The linewidths of the first electrode 311, the second electrode 312, the third electrode 321, and the fourth electrode 322 are all W; The center-to-center distance between the first electrode 311 and the second electrode 312 is (n1·W+A); The center-to-center distance between the first electrode 311 and the third electrode 321 is (n2·W+A); The center-to-center distance between the first electrode 311 and the fourth electrode 322 is n3·W; Where n1, n2, and n3 are all positive integers, and n1 < n2 < n3.

[0042] Wherein, the linewidth is the width of the electrode in the measurement direction, and the line spacing is the width of the distance between two adjacent electrodes in the measurement direction. In this embodiment, let the linewidth of the gate 21 be A, the line spacing between two adjacent gates 21 be B, and B≤A, A+B=W (i.e., the period width of the gate 21). In the main electrode group 31, let the linewidth of the first electrode 311, the second electrode 312, the third electrode 321, and the fourth electrode 322 all be W; let the center distance between the first electrode 311 and the second electrode 312 be (n1·W+A), the center distance between the first electrode 311 and the third electrode 321 be (n2·W+A), and the center distance between the first electrode 311 and the fourth electrode 322 be n3·W.

[0043] It needs to be explained, such as Figure 5 As shown, the center-to-center distance between the first electrode 311 and the second electrode 312 is equal to the vertical distance from the left edge of the first electrode 311 to the left edge of the second electrode 312. Therefore, to better observe the relationship between the center-to-center distance between the electrodes in the main electrode group 31 and the linewidth and period width of the gate 21, the vertical distance from the left edge of the first electrode 311 to the left edge of the second electrode 312 is used instead of the center-to-center distance between the first electrode 311 and the second electrode 312 in the figure. Similarly, the vertical distance from the left edge of the first electrode 311 to the left edge of the third electrode 321 is used instead of the center-to-center distance between the first electrode 311 and the third electrode 321, and the vertical distance from the left edge of the first electrode 311 to the left edge of the fourth electrode 322 is used instead of the center-to-center distance between the first electrode 311 and the fourth electrode 322.

[0044] The above configuration allows the electrodes to completely cover one gate 21 cycle, thereby achieving the maximum coupling capacitance change rate in the full-coverage state. The center-to-center distance between the first electrode 311 and the second electrode 312 is (n1·W+A), which determines the relative positional relationship of the two main electrodes 33 in the measurement direction, ensuring that at any measurement position, at least one main electrode 33 can completely cover one gate 21. The center-to-center distance between the first electrode 311 and the third electrode 321 is (n2·W+A), which causes a specific phase shift of the third electrode 321 relative to the first electrode 311. When the first electrode 311 is in the full-coverage state, the third electrode 321 partially covers two adjacent gates 21. The center-to-center distance between the first electrode 311 and the fourth electrode 322 is n3·W, which causes an even-numbered multiple of the cycle shift of the fourth electrode 322 relative to the first electrode 311, forming a complementary detection logic with the third electrode 321. The integer relationship n1 < n2 < n3 ensures the spatial order and logical uniqueness of the four electrodes, avoiding signal confusion caused by electrode overlap or disordered placement. Specifically, the values ​​of A and B can be adjusted according to the requirements of manufacturing precision and measurement resolution. For example, if A is 10 μm and B is 5 μm, then W is 15 μm. The specific values ​​of n1, n2, and n3 can be determined according to the required measurement range and electrode layout density. For example, n1 is 1, n2 is 3, and n3 is 4.

[0045] In this embodiment, by defining the linewidth of the gate 21 as A, the line spacing as B, and the period width as W, with B≤A, the gate 21 has a stable geometric structure, which is beneficial for forming a uniform and high-intensity electric field distribution, thereby improving the strength of the coupled signal. By setting the linewidth of the detection electrodes to W, the electrodes can achieve a complete change process from full coverage to complete non-coverage within one cycle, which is beneficial for obtaining the maximum amplitude coupled voltage signal and improving the signal-to-noise ratio. By setting the center distance between the first electrode 311 and the second electrode 312 to (n1·W+A), the two main electrodes 33 are spatially staggered by a specific phase, ensuring that at least one main electrode 33 is in a full-coverage state at any displacement position, thereby achieving dead-zone-free integer multiple gate pitch positioning. By setting the center distance between the first electrode 311 and the third electrode 321 to (n2·W+A), the third electrode 321 is in a state of partially covering the adjacent gate 21 when full coverage occurs. The voltage value of its coupled voltage signal is linearly related to the coverage ratio, which is beneficial for accurately deriving the sub-gate pitch displacement from the voltage value. By setting the center distance between the first electrode 311 and the fourth electrode 322 to n3·W, the fourth electrode 322 and the third electrode 321 form a complementary or specific phase relationship. This facilitates the elimination of signal uncertainty through the voltage combination logic of the dual sub-electrodes, further improving the accuracy and robustness of position calculation. By constraining n1 < n2 < n3 to an integer, the logical consistency and uniqueness of the electrode layout are ensured, which simplifies the circuit identification algorithm and improves the real-time performance and reliability of displacement calculation.

[0046] For example, such as Figure 5 As shown, in this embodiment, in the gate ruler 20, the line spacing between two adjacent gates 21 is less than the line width of the gate 21, i.e., B < A. In the main electrode group 31, the center-to-center distance between the first electrode 311 and the second electrode 312 is (2W + A), the center-to-center distance between the first electrode 311 and the third electrode 321 is (4W + A), and the center-to-center distance between the first electrode 311 and the fourth electrode 322 is 7W.

[0047] like Figure 5 and Figure 7 As shown, Figure 7 This is a schematic diagram of another state structure of the displacement measuring device provided in the first embodiment of this application. During the measurement process, at any position, at least one of the first electrode 311 and the second electrode 312 completely covers a gate 21 in the measurement direction.

[0048] Specifically, during the measurement process, such as Figure 7 As shown, under normal conditions, one of the first electrode 311 and the second electrode 312 is fully covered, while the corresponding secondary electrode partially covers the two adjacent gate electrodes 21; for example, Figure 7In this embodiment, the first electrode 311 completely covers the second gate 212, thus the first electrode 311 serves as the target main electrode, and the corresponding third electrode 321 serves as the target secondary electrode. The third electrode 321 partially covers the adjacent sixth gate 216 and seventh gate 217, respectively. The detection circuit 40 can identify the first electrode 311 in the fully covered state as the target main electrode based on the voltage values ​​of the first coupling voltage signal Vin1 and the second coupling voltage signal Vin2, and identify the corresponding third electrode 321 as the target secondary electrode based on the main electrode 33. The detection circuit 40 utilizes the main electrode coupling... The timing of the combined voltage signal determines the approximate displacement range of the current displacement, i.e., the position of the gate 21 covered by the target main electrode, and calculates the precise sub-gate pitch displacement by combining it with the sub-electrode coupling voltage signal of the target sub-electrode. Specifically, the sub-gate pitch displacement refers to the coverage width of the portion of two adjacent gates 21 covered by the target sub-electrode, arranged in the first order of the measurement direction. For example, if the target sub-electrode partially covers two adjacent gates 21 along the measurement direction, with one gate on the left and one on the right, the coverage width of the covered portion of the left gate 21 is the sub-gate pitch displacement. In this embodiment, multiple gates 21 are arranged along the positive direction of the measurement direction, sequentially as the first gate 211, the second gate 212, the third gate 213, the fourth gate 214, the fifth gate 215, the sixth gate 216, the seventh gate 217, and so on.

[0049] like Figure 5 As shown, during the measurement process, there is also a critical measurement state. In this state, both the first electrode 311 and the second electrode 312 are in a full-coverage state. Along the measurement direction, the edge of the first electrode 311 away from the second electrode 312 is flush with the side edge of the covered gate 21, and the edge of the second electrode 312 away from the first electrode 311 is flush with the side edge of the covered gate 21. That is, along the measurement direction, the first electrode 311 and the second electrode 312 just cover the two gates 21. At this time, the third electrode 321 and the fourth electrode 322 are also in a full-coverage state. In this state, the detection circuit 40 can directly calculate the current displacement based on the first coupling voltage signal Vin1 of the first electrode 311.

[0050] Please see Figure 8 , Figure 8 This is a schematic diagram of a displacement measuring device provided in the second embodiment of this application. In this embodiment, the grid ruler 20 further includes a common electrode 22. Along the extending direction of the grid 21, the common electrode 22 is disposed on one side of the plurality of grids 21, and the two ends of the common electrode 22 along the measurement direction extend beyond the outermost grid 21 or are aligned with the outermost grid 21. The first electrode 311 and the second electrode 312 are defined as the main electrode 33. The main electrode 33 includes a main body portion 331 and an extension portion 332. Along the extension direction of the gate 21, the main body portion 331 is disposed opposite to the gate 21, and the extension portion 332 is connected to the main body portion 331 and disposed opposite to the common electrode 22. When the main electrode 33 is in a fully covered state, it can couple with the gate 21 and the common electrode 22 to form a main electrode voltage signal. The detection electrode group 30 also includes a reference electrode 34. The reference electrode 34 is disposed on the side of the main body 331 away from the extension portion 332 and is spaced apart from the main electrode group 31. The width of the reference electrode 34 along the measurement direction covers the width region of the gate 21 jointly covered by the first electrode 311 and the second electrode 312, and extends beyond the width C at both ends. The reference electrode 34 is used to couple with the gate 21 in the width region of the gate 21 to form a coupled reference voltage signal, and serves as a threshold voltage signal Vref.

[0051] In this embodiment, the first electrode 311 and the second electrode 312 are defined as main electrodes 33, each of which consists of a main body portion 331 and an extension portion 332. The main body portion 331 is disposed opposite to the gate 21 along the extension direction of the gate 21 (the length direction of the gate 21), and is mainly responsible for direct capacitive coupling with the gate 21 to generate a main electrode coupling voltage signal that varies with displacement. The length of the main body portion 331 in the extension direction of the gate 21 is less than the length of the gate 21 in the extension direction of the gate 21, so that when measuring displacement, the amplitude of the coupling voltage signal of the main body portion 331 in the fully covered state is less than the amplitude of the coupling voltage signal of the main electrode 33 in the fully covered state in the above embodiment. Therefore, in order to enable the main electrode 33 to couple and form a main electrode voltage signal with specific amplitude and phase characteristics in the fully covered state, a common electrode 22 is also provided in this embodiment. The common electrode 22 is disposed on one side of the multiple gates 21 along the extension direction of the gate 21, and is used to provide a stable reference potential plane for forming an auxiliary capacitive coupling field with the extension portion 332 of the main electrode 33. This auxiliary capacitive coupling field works together with the capacitive coupling field between the main body portion 331 and the gate 21, so that the main electrode 33 can couple and form a main electrode coupled voltage signal with specific amplitude and phase characteristics in the fully covered state. The shape of the extension portion 332 can match the shape of the common electrode 22, for example, both are elongated strips, to maximize the coupling area.

[0052] Specifically, the common electrode 22 extends beyond or is aligned with the outermost gate 21 at both ends along the measurement direction. This arrangement ensures that the edge effects of the electric field distribution are uniformly processed within the effective measurement area of ​​the grid ruler 20, avoiding the impact of edge electric field distortion on detection accuracy. The distance by which the common electrode 22 extends beyond the outermost gate 21 can be set according to the electric field shielding requirements, for example, exceeding half a grid pitch.

[0053] Furthermore, the detection electrode group 30 also includes a reference electrode 34. The reference electrode 34 is disposed on the side of the main body 331 away from the extension portion 332, and is spaced apart from the main electrode group 31 (first electrode 311 and second electrode 312) to avoid signal crosstalk. The width of the reference electrode 34 along the measurement direction covers the width region of the gate 21 jointly covered by the first electrode 311 and the second electrode 312, and extends beyond the width C at both ends. Here, the width C can be the linewidth A of the gate 21, or a safety distance set according to the electric field diffusion characteristics. The purpose of the reference electrode 34 is to provide a stable coupled reference voltage signal.

[0054] When the detection electrode group 30 is displaced relative to the gate ruler 20, the reference electrode 34 remains coupled to a certain width of the gate 21 region. Due to its special design in width and position, the coupled voltage signal received by the reference electrode 34 is insensitive to small displacements or has specific linear variation characteristics. This coupled reference voltage signal is used as a threshold voltage signal Vref, which is input to the detection circuit 40 and compared with the output signal of the main electrode 33 to determine whether the main electrode 33 is in a full-coverage state or a specific coverage ratio state. Exemplarily, in one embodiment, the width of the reference electrode 34 can be slightly larger than the sum of the coverage areas of the first electrode 311 and the second electrode 312 to ensure that the complete gate 21 periodic characteristics are covered at any position. Alternatively, the spacing between the reference electrode 34 and the main electrode group 31 can be set to be greater than the electrode linewidth to reduce parasitic capacitive coupling.

[0055] By setting the common electrode 22 and extending its two ends beyond or aligning it with the outermost gate 21, the electric field distribution at the edge of the gate ruler 20 becomes more uniform, which helps reduce measurement errors caused by edge effects and improves the linearity of the measurement area. By making the main electrode 33 include a connected main body 331 and an extension 332, the main electrode 33 can be coupled to both the gate 21 and the common electrode 22 simultaneously, forming a more stable main electrode coupling voltage signal, which helps improve the signal-to-noise ratio and anti-interference capability. By setting the reference electrode 34, which covers the width of the gate 21 jointly covered by the first electrode 311 and the second electrode 312 and extends to both ends, the reference electrode 34 can be coupled to the gate 21 to form a coupled reference voltage signal. This signal serves as the threshold voltage signal Vref, which helps to accurately determine the coverage state of the main electrode 33 and eliminate misjudgments caused by voltage fluctuations or noise. Through the specific design of the width of the reference electrode 34, its coupling voltage can reflect the overall coverage characteristics of the gate 21, which helps the detection circuit 40 to predict the location of the characteristic waveform in advance by comparing the relative relationship between the main electrode coupling voltage signal and the threshold voltage signal Vref, thus improving detection accuracy.

[0056] In some embodiments, the detection circuit 40 is electrically connected to the reference electrode 34, and the detection circuit 40 is further configured to: The coupled reference voltage signal of the reference electrode 34 is received in real time and used as the threshold voltage signal Vref; The target main electrode is identified by comparing the coupling voltage signal of the first electrode 311 with the threshold voltage signal Vref, and the coupling voltage signal of the second electrode 312 with the threshold voltage signal Vref.

[0057] Specifically, the detection circuit 40 is directly electrically connected to the reference electrode 34 via wires or printed circuit traces to acquire the coupling reference voltage signal generated by the coupling between the reference electrode 34 and the gate 21 in real time. This coupling reference voltage signal is defined as a threshold voltage signal Vref in the circuit and is used as a reference level to determine the coverage state of the main electrode 33. The first electrode 311 and the second electrode 312 are defined as two adjacent main electrodes 33 in the main electrode group 31, and their coupling voltage signals change with their relative positions to the gate 21.

[0058] The detection circuit 40 is configured to simultaneously receive the coupling voltage signal and the threshold voltage signal Vref from the first electrode 311 and compare them; and simultaneously receive the coupling voltage signal and the threshold voltage signal Vref from the second electrode 312 and compare them. Based on the comparison results, the detection circuit 40 can identify the main electrode 33, which is currently in a full-coverage state, i.e., the target main electrode.

[0059] Specifically, the detection circuit 40 can implement signal comparison by setting a comparator. When the coupling voltage signal of the first electrode 311 is higher than the threshold voltage signal Vref, it indicates that the first electrode 311 is in a full coverage state; when the coupling voltage signal of the second electrode 312 is higher than the threshold voltage signal Vref, it indicates that the second electrode 312 is in a full coverage state. Due to the spatial misalignment design of the first electrode 311 and the second electrode 312, usually only one main electrode 33 is in a full coverage state at any position. Therefore, the comparison result can determine whether the first electrode 311 or the second electrode 312 is the target main electrode.

[0060] In this embodiment, the detection circuit 40 receives the coupling reference voltage signal of the reference electrode 34 in real time and uses it as the threshold voltage signal Vref. This allows the detection circuit 40 to dynamically acquire a reference level reflecting the overall coupling characteristics of the current gate 21, which helps eliminate the influence of absolute voltage drift caused by process deviations or environmental factors on the judgment result. By comparing the coupling voltage signals of the first electrode 311 and the second electrode 312 with the threshold voltage signal Vref, the detection circuit 40 can accurately distinguish the coverage state of the first electrode 311 and the second electrode 312, thereby quickly locking the target main electrode in a fully covered state at any displacement position. By identifying the target main electrode, subsequent timing control and voltage reading logic can be performed on the correct electrode channel, which helps ensure that the voltage data read by the detection circuit 40 strictly corresponds to the current electrode coverage ratio, thereby improving the accuracy and real-time performance of position calculation. Through the above comparison and identification mechanism, the system can automatically select the optimal detection channel without knowing the precise displacement position in advance, which helps simplify the control logic and improve the robustness and adaptability of the system to different displacement speeds. Specifically, the structure and function of the detection circuit 40 are as follows, and can be found in the detailed description below.

[0061] Please see Figure 9 , Figure 9 This is a schematic diagram of the detection circuit 40 provided in the first embodiment of this application. In this embodiment, a detection circuit 40 is provided, which is the detection circuit 40 provided in the above embodiment, and includes: The coarse measurement module 41 is configured to receive the first coupled voltage signal Vin1 and the second coupled voltage signal Vin2 in real time, and output a high level when the amplitude of the first coupled voltage signal Vin1 and the second coupled voltage signal Vin2 is greater than the threshold voltage. The precision measurement module 42, whose control terminal is electrically connected to the coarse measurement module 41, is configured to receive the third coupled voltage signal Vin3 and the fourth coupled voltage signal Vin4 generated by the relative position change between the sub-electrode group 32 and the gate 21, and to perform a logical OR operation on the third coupled voltage signal Vin3 and the fourth coupled voltage signal Vin4 during the high-level phase of the output signal of the coarse measurement module 41, and then perform analog-to-digital conversion before outputting the result. The processing unit 43 is configured to receive the coarse measurement signal output by the coarse measurement module 41 and the fine measurement signal output by the fine measurement module 42, and perform calculations based on the coarse measurement signal, the fine measurement signal and the trigger signal STV to obtain the current displacement.

[0062] The coarse measurement module 41 receives the first coupling voltage signal Vin1 and the second coupling voltage signal Vin2 in real time. When it detects that any main electrode 33 completely covers the gate 21 (i.e., the coupling voltage value exceeds the threshold), it outputs a high-level coarse measurement signal to determine the approximate position range. At the same time, the fine measurement module 42 selects and reads the coupling voltage signal of the target sub-electrode (third electrode 321, fourth electrode 322) corresponding to the current main electrode 33 according to the control of the coarse measurement signal. It then obtains the fine measurement signal reflecting the minute displacement change through analog-to-digital conversion.

[0063] The processing unit 43 receives the coarse measurement signal, the fine measurement signal, and the trigger signal STV. First, it uses the time difference between the trigger moment in the coarse measurement signal and the trigger signal STV to determine the integer part of the current displacement (coarse measurement position). Then, it calculates the fractional part (fine measurement offset) by combining it with the electrode coverage ratio represented by the fine measurement signal. Finally, it eliminates phase ambiguity through logical judgment and synthesizes the precise current displacement coordinates. This displacement measurement architecture uses the full coverage state of the main electrode 33 as the trigger reference and interval indicator for fine measurement, and utilizes the linear change characteristics of the half-coverage voltage of the electrodes in the secondary electrode group 32 for fine positioning.

[0064] The above configuration effectively eliminates the detection dead zone present in traditional scanning grating 20 when the electrodes are fully aligned, achieving continuous high-precision measurement throughout the entire travel range. Simultaneously, the architecture separating coarse and fine measurements ensures rapid positioning while utilizing voltage amplitude to infer coverage ratios, thus improving measurement accuracy. Furthermore, the fine measurement module 42 operates only within the effective range and selects specific signals, reducing signal processing complexity and enhancing the system's anti-interference capability and measurement stability.

[0065] Please continue reading. Figure 9 In some embodiments, the coarse measurement module 41 includes: The first comparison unit 411 includes a first comparator OP1 and a first switch N1; the non-inverting input terminal of the first comparator OP1 is connected to the first electrode 311, and the inverting input terminal is connected to the threshold voltage signal Vref; the gate 21 and the drain of the first switch N1 are electrically connected to the first comparison output node Q1 of the first comparator OP1. The second comparison unit 412 includes a second comparator OP2 and a second switch N2; the non-inverting input terminal of the second comparator OP2 is connected to the second electrode 312, and the inverting input terminal is connected to the threshold voltage signal Vref; the gate 21 and drain of the second switch N2 are electrically connected to the second comparison output node Q2 of the second comparator OP2; the source of the first switch N1 and the source of the second switch N2 are connected to the first output node P1; Precision measurement module 42 includes: The first input unit 421 includes a third switch N3, the gate 21 of the third switch N3 is connected to the first output node P1, and the drain is coupled to the third electrode 321. The second input unit 422 includes a fourth switch N4, the gate 21 of which is connected to the first output node P1 and the drain of which is coupled to the fourth electrode 322; the source of the third switch N3 and the source of the fourth switch N4 are connected to the second output node P2. The sampling unit 423 includes a fifth switch N5 and an analog-to-digital converter (ADC). The gate 21 of the fifth switch N5 receives the sampling control signal, the drain is connected to the second output node P2, and the source is connected to the ADC.

[0066] The coarse measurement module 41 can utilize the complementarity of the spatial distribution of the first electrode 311 and the second electrode 312 to cover all possible displacement states, so as to quickly determine the approximate range of the current displacement. The first comparator OP1 is used to compare the coupling voltage received by the first electrode 311 with the threshold voltage signal Vref. When the overlap between the first electrode 311 and the gate 21 reaches a certain level, causing the coupling voltage to exceed the threshold, the first comparator OP1 outputs a high level; otherwise, it outputs a low level. The first switch N1 is controlled by the output of the first comparator OP1. When the comparator outputs a high level, the first switch N1 is turned on.

[0067] Similarly, the second comparator OP2 compares the coupling voltage of the second electrode 312 with the same threshold voltage signal Vref, and the second switch N2 is controlled by the output of the second comparator OP2. The sources of the first switch N1 and the second switch N2 converge at the first output node P1, forming a logical "OR" relationship. Due to the spacing design of the first electrode 311 and the second electrode 312, at least one electrode is in a high-coupling state at any displacement position. Therefore, the first output node P1 will be pulled high at any time, thus outputting a control level indicating the presence of a "high-coupling signal". This first output node P1 serves not only as the coarse measurement result but also as the enable signal for the fine measurement module 42.

[0068] The precision measurement module 42 is responsible for taking high-precision readings within the range determined by the coarse measurement. The third switch N3 and the fourth switch N4 are controlled by the first output node P1. When the first output node P1 is high, the third switch N3 and the fourth switch N4 are turned on, transmitting the coupling voltages of the third electrode 321 and the fourth electrode 322 to the second output node P2, respectively. Due to the design of the third electrode 321 and the fourth electrode 322, they provide high-precision analog voltage signals in different displacement ranges. At this time, the voltage on the second output node P2 reflects the current precise position.

[0069] The fifth switch N5 in the sampling unit 423 acts as a sampling switch. When a sampling control signal is received, it closes to sample the voltage of the second output node P2 and transmit it to the analog-to-digital converter (ADC) for digital processing. Specifically, taking the linewidth of the gate 21 as A, the spacing between two adjacent gates 21 as A (i.e., A=B), and the linewidth of the electrodes in the detection electrode group 30 as 2A, the center-to-center spacing between the first electrode 311 and the second electrode 312 is an odd multiple of A. This ensures that when one electrode completely covers the gate line, the other electrode is in a half-covered state, thereby ensuring that the first output node P1 can accurately reflect the presence of the fully covered electrode.

[0070] The threshold voltage signal Vref is set to a reference potential slightly lower than the maximum coupling voltage to ensure that the comparator flips only in the high-sensitivity region of full coverage or near-full coverage, avoiding false triggering in the low-sensitivity region of partial coverage. In some embodiments, the reference electrode 34 (see...) Figure 8 The inverting inputs of the first comparator OP1 and the second comparator OP2 are connected respectively to use the coupled reference voltage signal as the threshold voltage signal Vref as the comparison reference for the voltage signal.

[0071] Furthermore, the center-to-center distance between the first electrode 311 and the third electrode 321 is an odd multiple of A, and the center-to-center distance between the first electrode 311 and the fourth electrode 322 is an even multiple of A. This ensures that within the roughly determined range, one electrode can provide a voltage change curve with good linearity for precise positioning. The analog-to-digital converter (ADC) is a high-precision ADC capable of converting analog voltage into digital signals for subsequent processors to calculate specific displacement values.

[0072] In this embodiment, a coarse measurement module 41 is constructed by setting up a first comparator OP1 and a first switch N1, a second comparator OP2 and a second switch N2. The sources of the two switches are combined at the first output node P1. This allows the device to utilize the spatial complementary characteristics of the first electrode 311 and the second electrode 312 to trigger a high level at the first output node P1 through a high coupling voltage at any displacement position, thereby quickly locking the approximate range of the current displacement and eliminating the detection dead zone problem present in traditional single-electrode detection. By simultaneously controlling the gates 21 of the third switch N3 and the fourth switch N4 through the first output node P1, the coarse measurement result enables the fine measurement module 42, ensuring that the fine measurement module 42 only operates after the coarse measurement confirms the high coupling state, thus improving the signal-to-noise ratio and effectiveness of signal acquisition. The coupling voltages of the third electrode 321 and the fourth electrode 322 are coupled to the second output node P2 through the third switch N3 and the fourth switch N4, and sampled by the sampling unit 423. This enables the device to acquire high-precision analog voltage signals. Combined with the special design of the electrode spacing, high-resolution measurement of minute displacements is achieved, further improving the overall measurement accuracy.

[0073] Please see Figure 10 , Figure 10 This is a schematic diagram of the measurement waveform of the displacement measuring device in the first state according to an embodiment of this application. In some embodiments, the processing unit 43 is electrically connected to the first output node P1 and the output terminal of the analog-to-digital converter (ADC); the processing unit 43 is configured to: Record the first moment when the first output node P1 switches to a high level, and calculate the first time interval Δt1 between the rising edge of the trigger signal STV and the first moment. After the first moment, sampling control signals are generated sequentially after delays of the first preset time △t2, the second preset time △t3, and the third preset time △t4, and transmitted to the gate 21 of the fifth switch N5; wherein, the time interval between the first moment and the next electrode coupling moment is the first preset time △t2, and the time intervals between the first moment and the two coupling moments of the target sub-electrode are the second preset time △t3 and the third preset time △t4, respectively. The analog-to-digital conversion unit (ADC) receives the first sampled voltage Ve1, the second sampled voltage Ve2, and the third sampled voltage Ve3 after sampling and analog-to-digital conversion at the first preset time Δt2, the second preset time Δt3, and the third preset time Δt4, respectively. The target main electrode is identified based on the first sampling voltage Ve1; Based on the target master electrode, the current displacement is calculated according to the first time interval Δt1, the pulse scan interval time of the adjacent gate 21, the second sampling voltage, and the third sampling voltage.

[0074] Specifically, the processing unit 43 can be composed of digital logic circuits such as a microcontroller unit (MCU) or a field-programmable gate array (FPGA) to execute the core algorithm for displacement calculation. The processing unit 43 is connected to the first output node P1 via a digital interface, and the level transition signal output by the first output node P1 serves as the trigger reference. The processing unit 43 internally includes a timer module to record the rising edge of the trigger signal STV (i.e., the start of the gate 21 scan sequence or the arrival of a specific reference pulse) and the first moment when the first output node P1 switches to a high level; the difference between the two is the first time interval Δt1. This first time interval Δt1 reflects the time offset of the current displacement relative to the reference position.

[0075] Processing unit 43 also includes a delay generation module, used to generate a sampling control signal according to preset time parameters after detecting the first moment. Specifically, after the first moment, processing unit 43 delays by a first preset time Δt2, a second preset time Δt3, and a third preset time Δt4, respectively, generating three independent pulse signals or level-holding signals, which are transmitted to the gate 21 of the fifth switch N5 as sampling control signals. The first preset time Δt2 corresponds to the time interval from the first moment to the next electrode coupling moment, and is used to capture the voltage signal of the second output node P2 at the first preset time Δt2, for determining the target primary electrode; the second preset time Δt3 and the third preset time Δt4 correspond to the time intervals from the first moment to the two coupling moments of the target secondary electrode, respectively, and are used to capture the voltage values ​​of the target secondary electrode in two different coupling stages.

[0076] Specifically, the values ​​of the first preset time Δt2, the second preset time Δt3, and the third preset time Δt4 can be dynamically adjusted or statically configured according to the scanning frequency of gate 21, the electrode spacing, and the signal propagation delay to adapt to different operating frequencies and accuracy requirements. The sampling control signal can be a pulse signal or a level signal, as long as it can control the fifth switch N5 to close or turn on at a specified time.

[0077] The processing unit 43 further acquires the first sampling voltage Ve1, the second sampling voltage Ve2, and the third sampling voltage Ve3 through the analog-to-digital converter (ADC). The first sampling voltage Ve1 is used to identify the target master electrode, that is, to determine whether the first electrode 311 or the second electrode 312 triggered the high level of the first output node P1, thereby determining which coarse measurement interval is currently in. The high or low level of the first sampling voltage Ve1 directly corresponds to different master electrode states. After identifying the target master electrode, the processing unit 43 combines the first time interval Δt1, the known pulse scan interval time of adjacent gate 21 (i.e., time resolution), and the coupling voltage values ​​of the target sub-electrode represented by the second sampling voltage Ve2 and the third sampling voltage Ve3, and calculates the current precise displacement using a specific mathematical model or lookup table method.

[0078] In this embodiment, the processing unit 43 records the first moment when the first output node P1 switches to a high level and calculates the first time interval Δt1 with the rising edge of the trigger signal STV. This allows the system to accurately infer the approximate phase position of the displacement using time dimension information, further refining the interval information provided by the coarse measurement module 41 and improving the initial positioning accuracy. By generating sampling control signals sequentially after delaying the first moment by a first preset time Δt2, a second preset time Δt3, and a third preset time Δt4, the analog-to-digital converter (ADC) can perform voltage acquisition at the optimal sampling point of the electrode coupling waveform, avoiding sampling errors caused by signal jumps or noise and improving the accuracy of analog signal to digital signal conversion. By identifying the target master electrode through the first sampling voltage Ve1, the processing unit 43 can select the corresponding calculation logic and reference data according to different trigger sources, ensuring the correctness and consistency of the calculation logic within any displacement interval. Based on the target master electrode, the current displacement is calculated by combining the first time interval Δt1, the pulse scanning interval of the adjacent gate 21, and the second sampling voltage Ve2 and the third sampling voltage Ve3. This enables the system to eliminate the error caused by the non-ideal characteristics of the electrode in the single voltage measurement through the comprehensive calculation of the time difference and voltage value, and realize high-precision displacement measurement without dead zone, further improving the resolution and reliability of the overall measurement device.

[0079] Please see Figure 11 , Figure 11 This is a schematic diagram of the detection circuit 40 provided in the second embodiment of this application. In some embodiments, the first input unit 421 further includes: The first follower OP3 and the first capacitor C1 are connected as follows: the non-inverting input of the first follower OP3 is connected to the third electrode 321, the inverting input of the first follower OP3 is connected to its own output, and the output of the first follower OP3 is connected to the drain of the third switching transistor N3; one end of the first capacitor C1 is connected to the output of the first follower OP3, and the other end is connected to a low voltage signal. The second input unit 422 also includes: The second follower OP4 and the second capacitor C2 are connected. The non-inverting input of the second follower OP4 is connected to the fourth electrode 322, the inverting input of the second follower OP4 is connected to its own output, and the output of the second follower OP4 is connected to the drain of the fourth switching transistor N4. One end of the second capacitor C2 is connected to the output of the second follower OP4, and the other end is connected to a low voltage signal.

[0080] Both the first follower OP3 and the second follower OP4 are voltage follower structures. Their non-inverting inputs directly receive coupled voltage signals from the third electrode 321 and the fourth electrode 322, respectively, while their inverting inputs are directly connected to the outputs, forming a unity-gain buffer. This connection method ensures that the output voltage of the follower strictly follows the input voltage, while utilizing the high input impedance and low output impedance characteristics of the operational amplifier to achieve impedance transformation. One end of the first capacitor C1 is connected to the output of the first follower OP3, and the other end is connected to a low-voltage signal (such as ground potential or a fixed bias voltage). One end of the second capacitor C2 is connected to the output of the second follower OP4, and the other end is connected to a low-voltage signal.

[0081] Specifically, the first follower OP3 and the second follower OP4 can be implemented using low-power, high-bandwidth operational amplifiers to reduce signal transmission delay and distortion. The first capacitor C1 and the second capacitor C2 are selected as high-stability, low-leakage ceramic or film capacitors, and their capacitance values ​​can be optimized according to the signal frequency characteristics, for example, between a few picofarads and tens of picofarads, to provide sufficient bypass filtering. Specifically, the low-voltage signal can be the device's negative power supply potential VSS, or a stable reference ground voltage, ensuring that the capacitors can effectively guide high-frequency noise to ground.

[0082] During displacement measurement, the weak coupled voltage signals received by the third electrode 321 and the fourth electrode 322 are first input to their corresponding followers. Due to the high input impedance of the followers, no load effect is generated on the electrodes, ensuring the integrity of the coupled voltage. Subsequently, the signal is buffered by the followers, and the output terminal exhibits low impedance characteristics, enhancing the signal's driving capability. At this time, the capacitor connected in series at the output terminal forms a low-pass filter path to ground, bypassing high-frequency noise components in the signal to ground, thereby smoothing the output signal. The buffered pure voltage signal is then transmitted to the drains of the third switch N3 and the fourth switch N4. When the switches are turned on, the processed signal is transmitted to the subsequent circuit. This configuration improves the driving capability and anti-interference ability of the coupled voltage signal, enhancing the signal quality before sampling by the analog-to-digital converter (ADC).

[0083] By setting up the first follower OP3 and the second follower OP4, and utilizing their high input impedance and low output impedance characteristics, the weak coupling voltage signal generated by the third electrode 321 and the fourth electrode 322 is protected from load effects during transmission. This also enhances the signal driving capability, facilitating accurate switching and signal transmission by subsequent transistors. By connecting the first capacitor C1 and the second capacitor C2 in parallel to the low-voltage signal at the outputs of the first follower OP3 and the second follower OP4, respectively, high-frequency noise in the signal path is effectively bypassed and filtered out, thereby improving the purity of the output signal. This allows the analog-to-digital converter (ADC) to obtain more accurate voltage values, further enhancing the resolution and accuracy of displacement measurement.

[0084] Furthermore, in some embodiments, the detection circuit 40 further includes a reset module 44, which includes a sixth switch N6 and a seventh switch N7; The gate 21 of the sixth switch N6 is connected to the processing unit 43, the drain is connected to the first output node P1, and the source is connected to a low voltage signal. The gate 21 of the seventh switch N7 is connected to the processing unit 43, the drain is connected to the second output node P2, and the source is connected to the preset voltage signal V1. The processing unit 43 is also configured to transmit a reset control signal SW2 to the sixth switch N6 and the seventh switch N7 respectively at the end of the measurement cycle.

[0085] The reset module 44 is used to clear residual charge in the circuit after each measurement cycle to ensure that the voltage state at the start of the next measurement cycle is consistent. Both the sixth switch N6 and the seventh switch N7 are N-type metal-oxide-semiconductor field-effect transistors. The gate 21 of the sixth switch N6 receives the reset control signal SW2 from the processing unit 43. When the reset control signal SW2 is high, the sixth switch N6 is turned on; its drain is connected to the first output node P1, and its source is connected to a low-voltage signal (e.g., a negative power supply potential VSS). By turning on the sixth switch N6, the potential of the first output node P1 can be forcibly pulled down to the low-voltage signal potential. Similarly, the gate 21 of the seventh switch N7 receives the reset control signal SW2 from the processing unit 43. When the reset control signal SW2 is high, the seventh switch N7 is turned on; its drain is connected to the second output node P2, and its source is connected to a preset voltage signal V1 (e.g., a constant power supply voltage or a specific bias voltage). By turning on the seventh switch N7, the potential of the second output node P2 can be forcibly pulled up to the preset voltage signal V1.

[0086] At the end of the measurement cycle, processing unit 43 generates a reset control signal SW2, which simultaneously or sequentially controls the operation of the sixth switch N6 and the seventh switch N7. Specifically, the low voltage signal can be the system common ground potential, and the preset voltage signal V1 is a DC bias voltage that matches the subsequent sampling reference. The reset control signal SW2 is a pulse signal with a pulse width sufficient to ensure that the switches are fully turned on and stabilize the node voltage to the target potential before turning them off to restore the measurement state. Specifically, processing unit 43 generates the high-level reset control signal SW2 after a fourth preset time Δt5 from the moment the voltage of the first output node P1 switches to a high level.

[0087] By setting up a reset module 44 composed of the sixth switch N6 and the seventh switch N7, and controlling its conduction by the processing unit 43 at the end of the measurement cycle, the residual charge on the first output node P1 and the second output node P2 can be quickly discharged through a low voltage signal and a preset voltage signal V1, eliminating the interference of the previous measurement cycle on the current measurement cycle, thereby ensuring the accuracy and consistency of the starting level of each measurement. By independently controlling the reset potentials of the first output node P1 and the second output node P2, the reset states of the two nodes can be set to different reference potentials according to the circuit design requirements, which is beneficial to optimizing the input dynamic range of the subsequent comparators and switches, and further improving the stability and accuracy of voltage detection.

[0088] For example, in the following embodiments, the linewidth of the gate 21 is A, the line spacing between two adjacent gates 21 is B, the arrangement period width of the gates 21 is W, i.e., W=A+B, the linewidth of the first electrode 311, the second electrode 312, the third electrode 321 and the fourth electrode 322 are all W, the center spacing between the first electrode 311 and the second electrode 312 is (n1·W+A), the center spacing between the first electrode 311 and the third electrode 321 is (n2·W+A), and the center spacing between the first electrode 311 and the fourth electrode 322 is n3·W; n1, n2 and n3 are all positive integers, and n1<n2<n3.

[0089] Please refer to the following: Figure 7 and Figure 10In this embodiment, the first electrode 311 fully covers the second gate 212, and the second electrode 312 partially covers two adjacent gates 21. The waveform of the first coupling voltage signal Vin1 of the first electrode 311 is Vin1, and the waveform of the second coupling voltage signal Vin2 of the second electrode 312 is Vin2. The first coupling voltage signal Vin1 is a coupling waveform in a fully covered state, and its voltage is the highest coupling voltage Vmax. Vin2 is two adjacent half-covered coupling waveforms, so the amplitude of the two coupling voltages is lower than Vmax. Therefore, under the action of the first comparator OP1 and the second comparator OP2, the output terminal of the first comparator OP1 outputs a high level, and the output terminal of the second comparator OP2 maintains a low level. At the same time, the high level output by the output terminal of the first comparator OP1 (the first comparator output node Q1) is unidirectionally output to the first output node P1 through the first switch N1.

[0090] The first output node P1 is simultaneously connected to the processing unit 43. The processing unit 43 calculates the first time interval Δt1 between the first moment when the first output node P1 switches to a high level and the rising edge of the trigger signal STV. The phase difference time between the scanning pulse signals of adjacent gates 21 is h. It can be deduced that the current position should be less than W·Δt1 / h and greater than W·(Δt1 / h-1).

[0091] Simultaneously, processing unit 43 generates a high-level sampling control signal SW1 by delaying the first moment of voltage rise at the first output node P1 by a first preset time Δt2, a second preset time Δt3, and a third preset time Δt4. Simultaneously, it generates a high-level reset control signal SW2 by delaying the first moment of voltage rise at the first output node P1 by a fourth preset time Δt5.

[0092] After the reset control signal SW2 raises the potential, the sixth switch N6 is turned on, causing the potential of the first output node P1 to drop. Therefore, the first output node P1 is at a high potential from the first moment until a fourth preset time Δt5 is delayed, and at a low potential for the rest of the time. When the first output node P1 is at a high potential, the third switch N3 and the fourth switch N4 are turned on. Therefore, the third coupling voltage signal Vin3 of the third electrode 321 can be transmitted to the second output node P2 through the third switch N3. Since the sampling control signal SW1 is controlled by the processing unit 43 to output three high-level pulses, the fifth switch N5 is turned on during the high-level phase of SW1. The analog-to-digital converter (ADC) reads the voltage value of the second output node P2 three times, reading Ve1, Ve2, and Ve3 respectively.

[0093] When the analog-to-digital converter (ADC) reads the voltage for the first time, Ve1 is low, indicating that the first electrode 311 is the target master electrode. The voltages read for the second and third times are Ve2 and Ve3, respectively. These Ve2 and Ve3 voltages represent the coupling situation at the current displacement. The coverage ratio of the target sub-electrode over the gate 21 can be deduced from the voltage values. That is, the width of the left gate 21 covered is A·Ve2 / (Ve2+Ve3). Therefore, the specific position of the current displacement is: If A = B, then the specific position of the current displacement is: .

[0094] Please refer to the following: Figure 12 and Figure 13 , Figure 12 This is another schematic diagram of the displacement measuring device provided in the first embodiment of this application. Figure 13 This is a schematic diagram of the measurement waveform in the second state of the displacement measuring device provided in an embodiment of this application. In this embodiment, the first electrode 311 partially covers two adjacent gates 21 (the third gate 213 and the fourth gate 214), and the second electrode 312 fully covers the sixth gate 216. The waveform of the first coupling voltage signal Vin1 of the first electrode 311 is Vin1, and the waveform of the second coupling voltage signal Vin2 of the second electrode 312 is Vin2. The second coupling voltage signal Vin2 is the coupling waveform in the full coverage state, and its voltage is the highest coupling voltage Vmax. The first coupling voltage signal Vin1 is two adjacent half-coverage coupling waveforms, so the amplitude of the two coupling voltages is lower than Vmax. Therefore, under the action of the first comparator OP1 and the second comparator OP2, the output terminal of the first comparator OP1 (the first comparison output node Q1) maintains a low level, and the output terminal of the second comparator OP2 (the second comparison output node Q2) outputs a high level. At the same time, the high level output by the output terminal of the second comparator OP2 (the second comparison output node Q2) is unidirectionally output to the first output node P1 through the second switch N2.

[0095] Similarly, the processing unit 43 records the first moment when the first output node P1 switches to a high level and obtains the first time interval Δt1 at this time. It can be deduced that the current displacement position should be less than W·(Δt1 / h-n1-1) and greater than W·(Δt1 / h-n1-1)-A. Similarly, based on the same Δt2, Δt3, Δt4 and Δt5, the processing unit 43 generates the sampling control signal SW1 and the reset control signal SW2.

[0096] The reset control signal SW2 controls the sixth switch N6 to turn on, pulling down the potential of the first output node P1. During the high-potential phase, the first output node P1 controls the third switch N3 and the fourth switch N4 to turn on. The fifth switch N5 turns on when SW1 is high. The analog-to-digital converter (ADC) reads the third coupling voltage signal Vin3 and the fourth coupling voltage signal Vin4, repeating this process three times to obtain Ve1, Ve2, and Ve3 respectively. Ve1 is high, indicating that the second electrode 312 is the target main electrode. The voltage results of Ve2 and Ve3 represent the coupling situation at the current displacement. The coverage ratio of the target secondary electrode over the gate 21 can be deduced from the voltage values. Therefore, the coverage width of the fourth electrode 322 over the right gate 21 is A·Ve3 / (Ve2+Ve3). Thus, the specific position of the current displacement is: In this embodiment, taking A=B and n1=3 as an example, the specific position of the current displacement is: .

[0097] Please see Figure 14 , Figure 14 This is a schematic flowchart illustrating the steps of a displacement measurement method provided in one embodiment of this application. This embodiment provides a displacement measurement method applicable to the displacement measurement device provided in any of the above embodiments. The displacement measurement method includes: S1: During the scan cycle, scan pulse signals are sequentially applied to multiple gates 21 on the gate ruler 20; S2: Record the rising edge of the trigger signal STV and monitor the output signal of the coarse measurement module 41 in real time; S3: Record the first moment when the coarse measurement module 41 outputs a high level, and calculate the first time interval Δt1 between the rising edge of the trigger signal STV and the first moment; S4: After the first moment, trigger the generation of sampling control signal SW1 and output sampling control signal SW1 to the sampling control terminal of precision measurement module 42; S5: Read the first sampling voltage Ve1, the second sampling voltage Ve2, and the third sampling voltage Ve3 output from the output terminal of the precision measurement module 42; S6: Determine whether the first sampling voltage Ve1 is low; S7: In response to the first sampling voltage Ve1 being low, the current displacement is: x= A; S8: In response to the first sampling voltage Ve1 being high, the current displacement is: .

[0098] Where x represents the current displacement; Δt1 represents the first time interval Δt1; h represents the phase difference time between the scanning pulse signals of adjacent gates 21; W represents the arrangement period width of gates 21; A represents the linewidth of gates 21; n1 represents the spacing parameter between the first electrode 311 and the second electrode 312, and the center spacing between the first electrode 311 and the second electrode 312 is (n1·W+A); Ve2 represents the second sampling voltage Ve2 at the second preset sampling time Δt3; and Ve3 represents the third sampling voltage Ve3 at the third preset sampling time Δt4.

[0099] This displacement measurement method is applied to a displacement measuring device based on a scanning grating 20 using the capacitive coupling principle. First, during the scanning cycle, the control circuit sequentially applies scanning pulse signals to multiple gates 21 fixed on the grating 20, causing the gates 21 to generate an electric field waveform that varies with time. Simultaneously, the coarse measurement module 41 in the displacement measuring device includes a comparator circuit for monitoring the coupling voltage signal. When the coupling voltage exceeds a reference threshold, the coarse measurement module 41 outputs a high-level signal. The processing unit 43 records the rising edge of the trigger signal for scanning and the first moment when the coarse measurement module 41 outputs a high-level signal; the time difference between these two times is the first time interval Δt1. Since the scanning pulses have a fixed phase difference time h, the first time interval Δt1 reflects the approximate position range of the current displacement relative to the scanning cycle, i.e., the coarse measurement result.

[0100] After the first moment, the processing unit 43 predicts the optimal sampling window of the fine measurement module 42 based on the coarse measurement result, triggers the generation of a sampling control signal, and sends it to the fine measurement module 42. The fine measurement module 42 includes multiple detection electrodes and a sample-and-hold circuit. Under the control of the sampling control signal, it collects the coupling voltage at different preset time points to obtain the first sampling voltage Ve1, the second sampling voltage Ve2, and the third sampling voltage Ve3. The first sampling voltage Ve1 is used to determine the target main electrode that is currently in a full-coverage state. When the first sampling voltage Ve1 is low, the first electrode 311 is the target main electrode; when the second sampling voltage Ve2 is high, the second electrode 312 is the target main electrode.

[0101] Then, based on the level of the first sampling voltage Ve1, the corresponding calculation formula is selected for displacement calculation. When the first sampling voltage Ve1 is low, it indicates that a specific electrode coverage relationship is currently in place. Using the coarse position reference determined by the first time interval Δt1, combined with the voltage ratio of Ve2 and Ve3, the fine displacement offset is calculated. When the first sampling voltage Ve1 is high, it indicates that another electrode coverage relationship is in place. The corresponding formula is used for calculation, which involves the spacing parameter n1, the arrangement period width W of the gate 21, and the linewidth A. Through the above steps, the complete displacement calculation from coarse measurement to fine measurement is realized.

[0102] By recording the first time interval Δt1 between the rising edge of the trigger signal STV and the first moment when the coarse measurement module 41 outputs a high level, the scanning period interval of the gate 21 where the current displacement is located can be determined, thereby achieving approximate displacement positioning and avoiding the problem of needing to pre-estimate the waveform position before sampling in traditional methods. By triggering the generation of a sampling control signal after the first moment and switching different displacement calculation formulas according to the state of the first sampling voltage Ve1, the ratio of the second sampling voltage Ve2 and the third sampling voltage Ve3 is used to reflect subtle changes in the electrode coverage ratio, eliminating the detection dead zone and enabling accurate calculation even in extreme positions such as complete or partial electrode overlap. Combining parameters such as the gate 21 arrangement period width and linewidth, the voltage signal is converted into a precise displacement value through a mathematical model, improving the resolution and accuracy of displacement measurement and achieving high-sensitivity detection of minute displacements.

[0103] The above are merely embodiments of this application and do not limit the scope of patent protection of this application. Any equivalent structural or procedural changes made using the content of this application’s specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.

Claims

1. A displacement measuring device, characterized in that, include: A grid ruler, comprising multiple grids periodically arranged along the measurement direction; A detection electrode group is disposed opposite to the grid ruler and is movable relative to the grid ruler along the measurement direction, thereby coupling with the grid to form a coupled voltage signal; the detection electrode group includes a main electrode group and a secondary electrode group; The main electrode group includes a first electrode and a second electrode, wherein the first electrode and the second electrode are configured such that at least one of them completely covers one of the gates in the measurement direction at the same time, i.e., a full coverage state; The sub-electrode group includes a third electrode and a fourth electrode, wherein the first electrode, the second electrode, the third electrode, and the fourth electrode are arranged sequentially at intervals along the measurement direction; The first electrode corresponds to the third electrode, and the second electrode corresponds to the fourth electrode; wherein, when the first electrode or the second electrode is in the full coverage state, the corresponding third electrode or the fourth electrode partially covers the two adjacent gates in the measurement direction; The detection circuit, electrically connected to the grating ruler and the detection electrode group respectively, is configured as follows: A scan pulse signal with a different phase is provided to the plurality of gates of the grid ruler; The first coupling voltage signal of the first electrode and the second coupling voltage signal of the second electrode are monitored in real time to identify the first electrode and / or the second electrode in the full coverage state as the target main electrode, and the third electrode or the fourth electrode corresponding to the target main electrode as the target secondary electrode. The current displacement is calculated based on the main electrode coupling voltage signal of the target main electrode and the secondary electrode coupling voltage signal of the target secondary electrode.

2. The displacement measuring device according to claim 1, characterized in that, The linewidth of the gate is A, and the line spacing between two adjacent gates is B; where B≤A, A+B=W; The linewidth of the first electrode, the second electrode, the third electrode, and the fourth electrode is all W; The center-to-center distance between the first electrode and the second electrode is (n1·W+A); The center-to-center distance between the first electrode and the third electrode is (n²·W+A); The center-to-center distance between the first electrode and the fourth electrode is n3·W; Where n1, n2, and n3 are all positive integers, and n1 < n2 < n3.

3. The displacement measuring device according to claim 2, characterized in that, The grid ruler also includes a common electrode, which is disposed on one side of the plurality of grids along the extension direction of the grids, and the two ends of the common electrode along the measurement direction extend beyond or are aligned with the outermost grid. The first electrode and the second electrode are defined as main electrodes. Each main electrode includes a main body and an extension portion. Along the extension direction of the gate, the main body is disposed opposite to the gate, and the extension portion is connected to the main body and disposed opposite to the common electrode. When the main electrode is in the full-coverage state, it can couple with the gate and the common electrode to form a main electrode voltage signal. The detection electrode group also includes a reference electrode, which is disposed on the side of the main body away from the extension portion and spaced apart from the main electrode group. The width of the reference electrode along the measurement direction covers the gate width region jointly covered by the first electrode and the second electrode, and extends beyond the width C at both ends. The reference electrode is used to couple with the gate within the gate width region to form a coupled reference voltage signal, which serves as a threshold voltage signal.

4. The displacement measuring device according to claim 3, characterized in that, The detection circuit is electrically connected to the reference electrode, and the detection circuit is further configured to: The coupled reference voltage signal of the reference electrode is received in real time and used as the threshold voltage signal; The target main electrode is identified by comparing the coupling voltage signal of the first electrode with the threshold voltage signal, and the coupling voltage signal of the second electrode with the threshold voltage signal.

5. The displacement measuring device according to any one of claims 1-4, characterized in that, The detection circuit includes: The coarse measurement module is configured to receive the first coupled voltage signal and the second coupled voltage signal in real time, and output a high level when the amplitude of the first coupled voltage signal and the second coupled voltage signal is greater than a threshold voltage; The precision measurement module, with its control terminal electrically connected to the coarse measurement module, is configured to receive a third coupling voltage signal and a fourth coupling voltage signal generated by the change in the relative position of the sub-electrode group and the gate. When the output signal of the coarse measurement module is at a high level, the module performs a logical OR operation on the third coupling voltage signal and the fourth coupling voltage signal, and then performs analog-to-digital conversion before outputting the result. The processing unit is configured to receive the coarse measurement signal output by the coarse measurement module and the fine measurement signal output by the fine measurement module, and perform calculations based on the coarse measurement signal, the fine measurement signal and the trigger signal to obtain the current displacement.

6. The displacement measuring device according to claim 5, characterized in that, The coarse measurement module includes: The first comparison unit includes a first comparator and a first switching transistor; the non-inverting input of the first comparator is connected to the first electrode, and the inverting input is connected to the threshold voltage signal; the gate and drain of the first switching transistor are electrically connected to the first comparison output node of the first comparator. The second comparison unit includes a second comparator and a second switching transistor; the non-inverting input of the second comparator is connected to the second electrode, and the inverting input is connected to the threshold voltage signal; the gate and drain of the second switching transistor are electrically connected to the second comparison output node of the second comparator; the source of the first switching transistor and the source of the second switching transistor are connected to the first output node. The precision measurement module includes: The first input unit includes a third switch transistor, the gate of which is connected to the first output node and the drain of which is coupled to the third electrode. The second input unit includes a fourth switch transistor, the gate of which is connected to the first output node and the drain of which is coupled to the fourth electrode; the source of the third switch transistor and the source of the fourth switch transistor are connected to the second output node. The sampling unit includes a fifth switching transistor and an analog-to-digital converter unit; the gate of the fifth switching transistor receives a sampling control signal, the drain is connected to the second output node, and the source is connected to the analog-to-digital converter unit.

7. The displacement measuring device according to claim 6, characterized in that, The processing unit is electrically connected to the output terminals of the first output node and the analog-to-digital conversion unit, respectively; the processing unit is configured to: Record the first moment when the first output node switches to a high level, and calculate the first time interval between the rising edge of the trigger signal and the first moment. After the first moment, sampling control signals are generated sequentially after delays of a first preset time, a second preset time, and a third preset time, and transmitted to the gate of the fifth switch; wherein, the time interval between the first moment and the next electrode coupling moment is the first preset time, and the time interval between the first moment and the two coupling moments of the target sub-electrode are the second preset time and the third preset time, respectively; The analog-to-digital conversion unit receives the first sampled voltage, the second sampled voltage, and the third sampled voltage after performing analog-to-digital conversion at the first preset time, the second preset time, and the third preset time, respectively; The target main electrode is identified based on the first sampled voltage; Based on the target master electrode, the current displacement is calculated according to the first time interval, the pulse scan interval of adjacent gates, the second sampling voltage, and the third sampling voltage.

8. The displacement measuring device according to claim 6, characterized in that, The first input unit further includes: A first follower and a first capacitor are connected. The non-inverting input of the first follower is connected to the third electrode, the inverting input of the first follower is connected to its own output, and the output of the first follower is connected to the drain of the third switching transistor. One end of the first capacitor is connected to the output of the first follower, and the other end is connected to a low-voltage signal. The second input unit further includes: The second follower and the second capacitor are connected. The non-inverting input of the second follower is connected to the fourth electrode, the inverting input of the second follower is connected to its own output, and the output of the second follower is connected to the drain of the fourth switching transistor. One end of the second capacitor is connected to the output of the second follower, and the other end is connected to a low-voltage signal.

9. The displacement measuring device according to claim 6, characterized in that, The detection circuit also includes a reset module, which includes a sixth switch and a seventh switch. The gate of the sixth switch is connected to the processing unit, the drain is connected to the first output node, and the source is connected to a low-voltage signal. The gate of the seventh switch is connected to the processing unit, the drain is connected to the second output node, and the source is connected to a preset voltage signal. The processing unit is also configured to transmit reset control signals to the sixth switch and the seventh switch respectively at the end of the measurement cycle.

10. A displacement measurement method, applied to the displacement measuring device as described in any one of claims 1-9, characterized in that, include: During the scanning cycle, scanning pulse signals are sequentially applied to the plurality of gates on the grating ruler; Record the rising edge of the trigger signal and monitor the output signal of the coarse measurement module in real time; Record the first moment when the coarse measurement module outputs a high level, and calculate the first time interval between the rising edge of the trigger signal and the first moment. After the first moment, a sampling control signal is generated and output to the sampling control terminal of the precision measurement module; Read the first, second, and third sampled voltages output from the precision measurement module; Determine whether the first sampled voltage is low; In response to the first sampling voltage being low, the current displacement is: ; In response to the first sampling voltage being high, the current displacement is: ; Where x represents the current displacement; Δt1 represents the first time interval; h represents the phase difference time between the scanning pulse signals of adjacent gates; W represents the arrangement period width of the gate; A represents the linewidth of the gate; n1 represents the spacing parameter between the first electrode and the second electrode, and the center spacing between the first electrode and the second electrode is (n1·W+A); Ve2 represents the second sampling voltage at the second preset sampling time; and Ve3 represents the third sampling voltage at the third preset sampling time.