Position cooperative correction triggering method for rotary delay device
By adopting the position collaborative correction trigger method in the rotation delay device, using components such as self-recovery counter and calibration register group, high-resolution position-signal synchronization is achieved, solving the problem of synchronization error in the prior art, and significantly improving rotation 延迟装置的时域性能和信号质量。
Patent Information
- Application Number
- CN202411298339.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-12-17
AI Technical Summary
In the prior art, the position measurement method of the rotation delay device cannot achieve high resolution, resulting in a low resolution of the reference position, resulting in a quantization error at the synchronization level, and unable to effectively improve the time domain performance.
Using a position collaborative correction trigger method, the data acquisition and calibration of cyclic buffering and sequential sequence cache is realized through components such as self-recovery counters, multiplexers, calibration register groups, incremental encoding counters and numerical comparators, and improves rotation delay. The position of the device is synchronized with the phase of the signal.
It effectively improves the position-signal phase synchronization performance of the rotation delay device, improves the acquisition performance and stability, reduces the phase synchronization time of the position-optical signal, and improves the signal quality and consistency of terahertz measurements.
Smart Images

Figure CN119147030A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of instruments and meters, and in particular relates to a position coordination correction triggering method for a rotation delay device. Background Art
[0002] The rotation delay device is a key component of time-domain millimeter-wave, time-domain terahertz and other instruments. It is mostly used to generate continuous optical signal pulses with rapidly changing optical path, and ultimately convert high-speed optical signals into low-speed analog voltage signals that can realize time-domain detection.
[0003] The device evenly installs multiple reflectors on a gear plate. As the gear plate rotates, each reflector moves to a different position, and outputs a light signal with characteristic information as these positions change. As the reflectors move, the obtained time domain signal has different characteristic meanings, so it is necessary to accurately match the reflector position with the time domain signal.
[0004] At present, the general method of measuring position using encoder position sensors is to associate the time domain signal with the position, that is, it is considered that the encoder position and the time domain signal at the same time are synchronized. However, in this method, the angular positions of multiple reflectors are evenly distributed, while the actual gear plates and reflectors cannot be ideal due to various factors; and the encoder position pulse is used as the reference position. The frequency of the encoder pulse is low, and it is impossible to achieve a high resolution in the time domain, which leads to a low resolution of the reference position and a quantization error at the synchronization level. Summary of the invention
[0005] In view of the above-mentioned defects existing in the prior art, the present invention provides a position coordinated correction trigger method for a rotation delay device, which can improve the relative position accuracy of the reference position and the analog signal, improve the time domain performance of the rotation delay device, and ultimately achieve the purpose of improving terahertz measurement.
[0006] The present invention is achieved through the following technical solutions:
[0007] A triggering method for coordinated position correction of a rotation delay device comprises the following steps:
[0008] Step 1: Configure data;
[0009] The data includes the single-circuit frame data volume C of the self-recovery counter 1, the number of cyclic buffer data P1 of the controller 9, the number of sequential sequence buffer data P2, and the C position calibration data of the calibration register group 3, which are recorded as L1-L C ;
[0010] Step 2: The analog-to-digital conversion driver 10 reads the data acquired by the analog-to-digital converter 11 and sends it to the controller 9, and then writes it into the circular buffer cache 7 in a circular buffer manner, and the circular cache range is 1-P1; at the same time, the incremental encoder counter 5 collects the position data of the incremental encoder 4 in real time;
[0011] Step 3: Synchronously with step 2, the multiplexer 2 selects the Nth data Ln in the calibration register group 3 according to the count value N output by the self-resetting counter 1 and outputs it; the value comparator 6 compares the real-time position data L from the incremental encoder counter 5 with the position calibration data Ln output by the multiplexer 2;
[0012] Step 4: When the real-time position data L obtained by the numerical comparator 6 is equal to the position accuracy data Ln, the numerical comparator 6 outputs a trigger signal T;
[0013] Step 5: When the trigger signal T appears, the acquisition controller 9 stops writing data to the circular buffer cache 7, and starts writing the data acquired by the analog-to-digital conversion driver 10 to the sequential sequence cache 8 from the starting data storage space address 1 of the cache; at the same time, the value of the self-recovery counter 1 is increased by 1. If the count value of the self-recovery counter 1 is C at this time, the count value of the self-recovery counter 1 is set to 1;
[0014] Step 6: When the amount of data written into the sequential sequence buffer 8 is equal to P2, stop writing data into the sequential sequence buffer 8; and send the data in the circular buffer buffer 7 and the sequential sequence buffer 8 to the external device to complete the collection of one frame of data;
[0015] Step 7: Repeat steps 2 to 6 to complete the continuous collection of data frames until you want to stop collecting.
[0016] Furthermore, the amount of circular buffer data P1 and the amount of sequential sequence buffer data P2 should meet the following conditions:
[0017]
[0018] Where Ln is L1-L C A is the effective signal range based on the Ln position and in the direction opposite to the movement of the gear plate 13; B is the effective signal angle range based on the Ln position and in the direction of the movement of the gear plate 13; s is the rotation speed of the gear plate 13; SR is the sampling speed of the analog-to-digital converter 11, and C is the single-turn frame data volume.
[0019] Furthermore, in step 1, the C position calibration data of the calibration register group 3 are obtained by the following method, including:
[0020] S11, placing the reflector 41 of the terahertz measurement system in the path of the light emitted by the gear plate 11 and the half-reflecting half-mirror 34;
[0021] S12, the gear plate 13 is rotated at a constant speed, and the analog-to-digital converter 11 continuously collects analog signals to obtain a continuous analog signal V L , continuously collect the signal generated by the gear plate 13 rotating R circles;
[0022] S13, the analog signal V L According to the angle 0-360°, it is intercepted into R independent analog signal segments V L1 -V LR ;
[0023] S14, according to the angle corresponding method, R independent analog signal segments V L1 -V LR The data in are aligned according to the angle data, and the analog signal amplitudes in the corresponding segments are averaged after alignment to obtain the averaged angle position-analog signal relationship sequence, which is recorded as:
[0024] V=f(L)
[0025] Where V is the amplitude value of the analog signal, and L is the angular position;
[0026] S15, obtaining a reference level VS value;
[0027] VS=k×VM
[0028] Wherein, VM is the maximum amplitude value in the V=f(L) signal, and k is the proportional coefficient of the screening reference level;
[0029] S16, finding the rising edge of the signal in the amplitude value of the analog signal, and searching for the position LPs at the angle position corresponding to the VS amplitude value in each rising edge; the VS amplitude value must simultaneously meet the following conditions:
[0030] |V LPs -VS|<=|V LPsp -VS|
[0031] |V LPs -VS|<=|V LPsq -VS|
[0032] Among them, V LPs is the analog signal amplitude corresponding to the position PLs; V LPsp is the analog signal amplitude value corresponding to the position before position PLs; V LPsq It is the analog signal amplitude value corresponding to the position after position PLs;
[0033] S17, corresponding to the calibration position value L1-L of the reflective tooth 14 C The following conditions must be met at the same time:
[0034] |L X –LPs|<=|L X+1 –LPs|
[0035] |L X –LPs|<=|L X-1 –LPs|
[0036] Among them, L X It is L1-L C The value in; L X-1 , L X+1 They are L measured by incremental encoder 4 X The previous value and the next value.
[0037] Further, in step S15, the k value is between 0.7 and 0.95;
[0038] Furthermore, in step S18, the L1-L C The number should be consistent with the single-circle frame data volume C, otherwise, readjust the proportional coefficient k value in step S16 until L1-L C The number is equal to the C value.
[0039] Further, in step S1, the terahertz measurement system includes: a self-recovery counter 1, a multiplexer 2, a calibration register group 3, an incremental encoder 4, an incremental encoding counter 5, a numerical comparator 6, a circular buffer cache 7, a sequential sequence cache 8, an acquisition controller 9, an analog-to-digital conversion driver 10, an analog-to-digital converter 11 and a configuration controller 12; the analog-to-digital converter 11, the analog-to-digital conversion driver 10 and the acquisition controller 9 are connected in sequence, and the incremental encoder 4, the incremental encoding counter 5 and the numerical comparator 6 are connected in sequence; the configuration controller 12 is respectively connected to the self-recovery counter 1, the calibration register group 3 and the acquisition controller 9; the multiplexer 2 is respectively connected to the self-recovery counter 1, the calibration register group 3 and the numerical comparator 6, the self-recovery counter 1 and the calibration register group 3 pass data to the multiplexer 2, and the output signal of the multiplexer 2 is passed to the numerical comparator 6; the output signal of the multiplexer 6 is connected to the self-recovery counter 1 and the acquisition controller 9; the acquisition controller 9 is respectively connected to the circular buffer cache 7 and the sequential sequence cache 8, and the connected interface is a digital port supporting bidirectional data transmission.
[0040] Furthermore, the incremental encoder 4 is a real-time relative encoder with a zero-position pulse indication; the self-recovery counter 1, the multiplexer 2, the calibration register group 3, the incremental encoding counter 5, the numerical comparator 6, the acquisition controller 9, and the analog-to-digital conversion driver 10 need to be implemented using hardware with accurate processing time characteristics, and the circular buffer cache 7 and the sequential sequence cache 8 are random access memories RAM that can complete a read or write to a specific address once within a fixed time.
[0041] Furthermore, the incremental encoder 4 is coaxially connected to the gear plate 13, and the connection method includes coaxial coupling locking, bonding, and welding.
[0042] Compared with the prior art, the advantages of the present invention are as follows:
[0043] 1. A triggering method for coordinated correction of the position of a rotation delay device of the present invention can achieve phase synchronization between the position of the rotation delay device and the acquisition signal, and can effectively improve the acquisition performance and stability;
[0044] 2. Self-calibration can achieve fast and reliable calibration, which can ensure the synchronization consistency of different devices and the same device under different conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0046] Figure 1 It is a flow chart of a triggering method for coordinated position correction of a rotation delay device according to the present invention;
[0047] Figure 2 Schematic diagram of terahertz measurement system;
[0048] Figure 3 It is a schematic diagram of the key structure and position of the rotation delay device;
[0049] Figure 4 A flow chart of a method for obtaining calibration data of C positions of a calibration register set;
[0050] Figure 5 A schematic diagram of the key signal timing characteristics when obtaining calibration data for C positions of the calibration register group;
[0051] Figure 6 A schematic diagram of the key signal timing characteristics of a triggering method for coordinated position correction of a rotation delay device;
[0052] Figure 7 A schematic diagram showing the positional relationship of the main components during normal operation of a device that supports calibration data of C positions of a self-calibration calibration register group;
[0053] Figure 8 A schematic diagram of the positional relationship of the main components of a device that supports calibration data of C positions of a self-calibration calibration register group when executing a calibration process;
[0054] In the figure: self-recovery counter 1, multiplexer 2, calibration register group 3, incremental encoder 4, incremental encoder counter 5, numerical comparator 6, circular buffer cache 7, sequential sequence cache 8, acquisition controller 9, analog-to-digital conversion driver 10, analog-to-digital converter 11, configuration controller 12; gear plate 13, reflective teeth 14, reflective mirror 15, acquired analog signal position 16, measured analog signal waveform 17, encoder acquisition position 18, analog acquisition time corresponding to the angle position 19, position accuracy position 20, position coordinate axis 21, measured analog signal coordinate axis 22, reference voltage VS amplitude indicator line 23 valid data frame schematic 24, invalid data 25, data transmission process 26, position matching value indicator line 27, calibration data counter 28, calibration position valid value 29, time axis 30, trigger signal 31, detector 32, sample 33, half-reflective half-mirror 34, optical system 35, signal generator 36, drive motor 37, linear slide 38, connecting device 39, laser 40, reflector 41. DETAILED DESCRIPTION
[0055] In order to clearly and completely describe the technical solution and its specific working process of the present invention, the specific implementation methods of the present invention are as follows in conjunction with the accompanying drawings of the specification:
[0056] Example 1
[0057] A triggering method for coordinated position correction of a rotation delay device comprises the following steps:
[0058] Step 1: Configure data;
[0059] The data includes the single-circuit frame data volume C of the self-recovery counter 1, the number of cyclic buffer data P1 of the controller 9, the number of sequential sequence buffer data P2, and the C position calibration data of the calibration register group 3, which are recorded as L1-L C ;
[0060] Step 2: The analog-to-digital conversion driver 10 reads the data acquired by the analog-to-digital converter 11 and sends it to the controller 9, and then writes it into the circular buffer cache 7 in a circular buffer manner, and the circular cache range is 1-P1; at the same time, the incremental encoder counter 5 collects the position data of the incremental encoder 4 in real time;
[0061] Step 3: Synchronously with step 2, the multiplexer 2 selects the Nth data Ln in the calibration register group 3 according to the count value N output by the self-resetting counter 1 and outputs it; the value comparator 6 compares the real-time position data L from the incremental encoder counter 5 with the position calibration data Ln output by the multiplexer 2;
[0062] Step 4: When the real-time position data L obtained by the numerical comparator 6 is equal to the position accuracy data Ln, the numerical comparator 6 outputs a trigger signal T;
[0063] Step 5: When the trigger signal T appears, the acquisition controller 9 stops writing data to the circular buffer cache 7, and starts writing the data acquired by the analog-to-digital conversion driver 10 to the sequential sequence cache 8 from the starting data storage space address 1 of the cache; at the same time, the value of the self-recovery counter 1 is increased by 1. If the count value of the self-recovery counter 1 is C at this time, the count value of the self-recovery counter 1 is set to 1;
[0064] Step 6: When the amount of data written into the sequential sequence buffer 8 is equal to P2, stop writing data into the sequential sequence buffer 8; and send the data in the circular buffer 7 and the sequential sequence buffer 8 to the external device to complete the collection of one frame of data;
[0065] Step 7, repeat steps 2 to 6 to complete the continuous collection of data frames until you want to stop collecting.
[0066] In this embodiment, the incremental encoder 4 uses a 10000-line abz pulse encoder with a resolution of 16 bits, the analog-to-digital converter 12 uses a SAR-type ADC device with a rate of 15M S / s and a resolution of 14 bits, and the gear plate 13 of the rotating delay line is a single-sided gear plate with 12 equally divided teeth.
[0067] Except for the circular buffer cache 7 and the sequential sequence cache 8, the modules of the implementation method related processes are all implemented using FPGA, model XC7K160T-FFG676. The circular buffer cache 7 and the sequential sequence cache 8 are respectively implemented using 2GB integrated RAM, totaling 4GB.
[0068] The encoder 15 and the gear plate 13 are locked and fixed using an axial coupling and an axial top screw.
[0069] Among them, the amount of circular buffer data P1 and the amount of sequential sequence buffer data P2 should meet the following conditions:
[0070]
[0071] Where Ln is L1-L CA is the effective signal range based on the Ln position and in the direction opposite to the movement of the gear plate 13; B is the effective signal angle range based on the Ln position and in the direction of the movement of the gear plate 13; s is the rotation speed of the gear plate 13; SR is the sampling speed of the analog-to-digital converter 11, and C is the single-turn frame data volume.
[0072] The principle of this embodiment is described in detail below with reference to the accompanying drawings:
[0073] like Figure 6 As shown, the time coordinate axis 25 describes the time flow direction in the figure, that is, the direction from left to right is the direction in which time moves forward, as follows:
[0074] The data waveform of the incremental encoder counter 5 is the position 18 collected by the encoder, and the data value of the multiplexer 2 is the position matching value indicator line 27; when the waveform value of the position 18 collected by the encoder is equal to the position matching value indicator line 27 at the same time, a trigger signal T is immediately generated.
[0075] When the trigger signal T appears, the self-recovery counter 1 changes its own count value to N+1 in the next clock cycle, as shown in the waveform value of the calibration data counter 28; after another clock cycle, the output value of the multiplexer 2 changes according to the count value N+1 of the self-recovery counter 1, and updates the output of the currently required address calibration value Ln.
[0076] When the trigger signal T arrives, the sequential sequence buffer 8 starts to be written in the next clock cycle until P2 data are written.
[0077] After the acquisition controller 9 completes writing P2 data to the sequential sequence buffer 8 and before the trigger signal T arrives, it starts to write the circular buffer 7 cyclically, and continuously writes the acquisition data into the circular buffer buffer 7 in a cyclic overwriting manner. Figure 6 The P3 and P1 data will be continuously written into the circular buffer cache 7. In the next clock cycle after the trigger signal arrives, the operation of writing into the circular buffer cache 7 stops, leaving the P1 data before the trigger signal arrives.
[0078] When P2 data are written, the complete P1 plus P2 data in the circular buffer cache 7 and the sequential sequence cache 8 are sent out to the outside, and the collection of one frame is completely completed.
[0079] Compared with the traditional technical solution, the rotation delay device realized by using laser and photoelectric sensor measurement has reduced the phase synchronization level of position-optical signal from 2ms to less than 100us; comparing the signal quality of terahertz equipment before and after using this technical solution, the phase jitter has been reduced from 130us when not in use to 2ps, and the signal consistency has been improved by about 6%. This proves that this technical solution has the beneficial effect of significantly improving the position-signal phase performance of the rotation delay device.
[0080] Example 2
[0081] This embodiment provides a method for obtaining the C position calibration data of the calibration register group 3, which is specifically as follows:
[0082] Step 1: Place the reflector 41 of the terahertz measurement system in the path of the light emitted from the gear plate 11 and the half-reflecting half-mirror 34; Figure 7 The sample 33 in the figure is replaced by the reflector 41, and the structure after the replacement is as follows Figure 8 as stated;
[0083] The sample 33 is replaced by the reflector 41, which specifically includes the following contents:
[0084] Action 1: The laser 40 is started;
[0085] Action 2: The driving motor 33 is started, and the reflecting mirror 41 connected to the connecting device 39 is driven to move linearly through the transmission of the linear slide 38 and the connecting device 39, until the light of the laser 40 can be projected into the gear plate 13;
[0086] Action 3: Place a reflector 41 at the signal detection window.
[0087] The above actions are performed in no particular order.
[0088] In this embodiment, the available wavelength of the reflector 41 and the optical system 35 should include the working wavelength of the laser 40 .
[0089] In this embodiment, the driving motor 37, the linear slide 38, the connector 39, and the reflector 41 need to be fixedly connected, and bonding, flange connection, and various locking and supporting structures and devices may be used.
[0090] like Figure 2As shown, the terahertz measurement system includes: a self-recovery counter 1, a multiplexer 2, a calibration register group 3, an incremental encoder 4, an incremental encoding counter 5, a numerical comparator 6, a circular buffer cache 7, a sequential sequence cache 8, an acquisition controller 9, an analog-to-digital conversion driver 10, an analog-to-digital converter 11 and a configuration controller 12; the analog-to-digital converter 11, the analog-to-digital conversion driver 10 and the acquisition controller 9 are connected in sequence, and the incremental encoder 4, the incremental encoding counter 5 and the numerical comparator 6 are connected in sequence; the configuration controller 12 is respectively connected to the self-recovery counter 1, the calibration register group 3 and the acquisition controller 9; the multiplexer 2 is respectively connected to the self-recovery counter 1, the calibration register group 3 and the numerical comparator 6, the self-recovery counter 1 and the calibration register group 3 pass data to the multiplexer 2, and the output signal of the multiplexer 2 is passed to the numerical comparator 6; the output signal of the multiplexer 6 is connected to the self-recovery counter 1 and the acquisition controller 9; the acquisition controller 9 is respectively connected to the circular buffer cache 7 and the sequential sequence cache 8, and the connected interface is a digital port supporting bidirectional data transmission;
[0091] In this embodiment, the incremental encoder 4 is a real-time relative encoder with a zero pulse indication; the self-recovery counter 1, multiplexer 2, calibration register group 3, incremental encoder counter 5, numerical comparator 6, acquisition controller 9, analog-to-digital conversion driver 10 need to be implemented using hardware with accurate processing time characteristics, including FPGA (field programmable gate array), CPLD (complex programmable logic device), and hardware method circuits constructed by discrete logic elements. The circular buffer cache 7 and sequential sequence cache 8 are random access memories RAM that can complete a read or write to a specific address once within a fixed time.
[0092] The incremental encoder 4 is coaxially connected to the gear plate 13, and the connection method includes coaxial coupling locking, bonding, and welding.
[0093] Step 2: Rotate the gear plate 13 at a constant speed, and the analog-to-digital converter 11 continuously collects analog signals to obtain a continuous analog signal V L , which is in the form of Figure 5 As shown in the waveform 17 of the simulated signal under test, the signal generated by the gear plate 13 rotating R circles is collected;
[0094] Step 3: Convert the analog signal V L According to the angle 0-360°, it is intercepted into R independent analog signal segments V L1 -V LR ;
[0095] Step 4: According to the angle correspondence, the R signal segments V obtained in the previous step are L1 -V LRThe data in are aligned according to the angle data, and the analog signal amplitudes in the corresponding segments are averaged after alignment to obtain the averaged angle position-analog signal relationship sequence, which is recorded as:
[0096] V=f(L)
[0097] Where V is the amplitude of the analog signal, such as Figure 5 The analog signal waveform in 17; L is the angular position, such as Figure 5 The position 18 collected by the encoder on the middle position coordinate axis 21 and the angular position 19 corresponding to the simulation collection time are represented;
[0098] Step 5: Obtain the reference level VS value when the following formula is satisfied;
[0099] VS=k×VM
[0100] Among them, VM is the maximum amplitude value obtained in the V=f(L) signal, and the VS value is displayed as Figure 5 The amplitude indicator line of the reference voltage VS is 23. Wherein k is the proportional coefficient of the screening reference level, and the k value should be between 0.7-0.95;
[0101] Step 6: Find the rising edge of the signal in the measured analog signal waveform 17, and search for the position LPs on the position coordinate axis 21 that is closest to the VS amplitude value in each rising edge, that is, Figure 5 The analog signal position obtained in 16;
[0102] Step 7: Then search and find the angle position closest to the position LPs, that is, obtain the calibration position value L1-L of the phase reflective tooth 14 C ,Right now Figure 5 The position accuracy value in ;
[0103] Step 8: L1-L mentioned above C The number should be consistent with the single-circle frame data volume C mentioned above, otherwise the proportional coefficient k value in step 6 should be adjusted until L1-L C The number is equal to the C value.
[0104] The preferred embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, a variety of simple modifications can be made to the technical solution of the present invention, and these simple modifications all belong to the protection scope of the present invention.
[0105] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.
[0106] In addition, various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the present invention, they should also be regarded as the contents disclosed by the present invention.
Claims
1. A triggering method for coordinated position correction of a rotation delay device, characterized in that: The specific steps include: Step 1: Configure data; The data includes the single-circuit frame data volume C of the self-recovery counter (1), the cyclic buffer data volume P1 of the controller (9), the sequential sequence buffer data volume P2, and the C position calibration data of the calibration register group (3), which are recorded as L1-L C ; Step 2: The analog-to-digital conversion driver (10) reads the data acquired by the analog-to-digital converter (11), sends it to the controller (9), and then writes it into the circular buffer cache (7) in a circular buffer manner, and the circular cache range is 1-P1; at the same time, the incremental encoder counter (5) collects the position data of the incremental encoder (4) in real time; Step 3: In synchronization with step 2, the multiplexer (2) selects the Nth data Ln in the calibration register group (3) for output according to the count value N output by the self-resetting counter (1); the value comparator (6) compares the real-time position data L from the incremental encoder counter (5) with the position calibration data Ln output by the multiplexer (2); Step 4: When the real-time position data L obtained by the numerical comparator (6) is equal to the position accuracy data Ln, the numerical comparator (6) outputs a trigger signal T; Step 5: When the trigger signal T appears, the acquisition controller (9) stops writing data into the circular buffer cache (7), and starts writing the data acquired by the analog-to-digital conversion driver (10) into the sequential sequence cache (8) from the starting data storage space address 1 of the cache; at the same time, the value of the self-recovery counter (1) is increased by 1, and if the count value of the self-recovery counter (1) is C at this time, the count value of the self-recovery counter (1) is set to 1; Step 6: When the amount of data written into the sequential sequence buffer (8) is equal to P2, stop writing data into the sequential sequence buffer (8); and send the data in the circular buffer buffer (7) and the sequential sequence buffer (8) to the external device, completing the collection of one frame of data; Step 7: Repeat steps 2 to 6 to complete the continuous collection of data frames until you want to stop collecting.
2. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 1, characterized in that: The number of circular buffer data P1 and the number of sequential sequence buffer data P2 should meet the following conditions: Where Ln is L1-L C A is the effective signal range in the direction opposite to the movement of the gear plate (13) based on the Ln position, and B is the effective signal angle range in the direction opposite to the movement of the gear plate (13) based on the Ln position; s is the rotation speed of the gear plate (13); SR is the sampling speed of the analog-to-digital converter (11), and C is the single-turn frame data volume.
3. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 1, characterized in that: In step 1, the C position calibration data of the calibration register group (3) are obtained by the following method, including: S11, placing the reflector (41) of the terahertz measurement system in the path of the light emitted by the gear plate (11) and the half-reflecting half-mirror (34); S12, the gear plate (13) is rotated at a constant speed, and the analog-to-digital converter (11) continuously collects analog signals to obtain a continuous analog signal V L , continuously collecting signals generated by the gear plate (13) rotating R circles; S13, the analog signal V L According to the angle 0-360°, it is intercepted into R independent analog signal segments V L1 -V LR ; S14, according to the angle corresponding method, R independent analog signal segments V L1 -V LR The data in are aligned according to the angle data, and the analog signal amplitudes in the corresponding segments are averaged after alignment to obtain the averaged angle position-analog signal relationship sequence, which is recorded as: V=f(L) Where V is the amplitude value of the analog signal, and L is the angular position; S15, obtaining a reference level VS value; VS=k×VM Wherein, VM is the maximum amplitude value in the V=f(L) signal, and k is the proportional coefficient of the screening reference level; S16, finding the rising edge of the signal in the amplitude value of the analog signal, and searching for the position LPs at the angle position corresponding to the VS amplitude value in each rising edge; the VS amplitude value must simultaneously meet the following conditions: |V LPs -VS|<=|V LPsp -VS| |V LPs -VS|<=|V LPsq -VS| Among them, V LPs is the analog signal amplitude corresponding to the position PLs; V LPsp is the analog signal amplitude value corresponding to the position before position PLs; V LPsq It is the analog signal amplitude value corresponding to the position after position PLs; S17, corresponding to the calibration position value L1-L of the reflective tooth (14) C The following conditions must be met at the same time: |L X –LPs|<=|L X+1 –LPs| |L X –LPs|<=|L X-1 –LPs| Among them, L X It is L1-L C The value in; L X-1 , L X+1 They are L measured by incremental encoder 4 X The previous value and the next value.
4. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 3, characterized in that: In step S15, the k value is between 0.7 and 0.
95.
5. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 3, characterized in that: In step S18, the L1-L C The number should be consistent with the single-circle frame data volume C, otherwise, readjust the proportional coefficient k value in step S16 until L1-L C The number is equal to the C value.
6. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 1, characterized in that: In step S1, the terahertz measurement system comprises: a self-recovering counter (1), a multiplexer (2), a calibration register group (3), an incremental encoder (4), an incremental encoder counter (5), a numerical comparator (6), a circular buffer cache (7), a sequential sequence cache (8), an acquisition controller (9), an analog-to-digital conversion driver (10), an analog-to-digital converter (11) and a configuration controller (12); the analog-to-digital converter (11), the analog-to-digital conversion driver (10) and the acquisition controller (9) are connected in sequence, and the incremental encoder (4), the incremental encoder counter (5) and the numerical comparator (6) are connected in sequence; the configuration controller (12) is respectively connected to The self-recovery counter (1), the calibration register group (3) and the acquisition controller (9) are connected; the multiplexer (2) is respectively connected to the self-recovery counter (1), the calibration register group (3) and the value comparator (6); the self-recovery counter (1) and the calibration register group (3) transmit data to the multiplexer (2), and the output signal of the multiplexer (2) is transmitted to the value comparator (6); the output signal of the multiplexer (6) is connected to the self-recovery counter (1) and the acquisition controller (9); the acquisition controller (9) is respectively connected to the circular buffer cache (7) and the sequential sequence cache (8), and the connection interface is a digital port supporting bidirectional data transmission.
7. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 1, characterized in that: The incremental encoder (4) is a real-time relative encoder with a zero pulse indication; the self-recovery counter (1), the multiplexer (2), the calibration register group (3), the incremental encoder counter (5), the numerical comparator (6), the acquisition controller (9), and the analog-to-digital conversion driver (10) need to be implemented using hardware with accurate processing time characteristics; the circular buffer cache (7) and the sequential sequence cache (8) are random access memories RAM that can complete one read or write of a specific address within a fixed time.
8. A triggering method for coordinated position correction of a rotation delay device as claimed in claim 1, characterized in that: The incremental encoder (4) is coaxially connected to the gear plate (13), and the connection method includes coaxial coupling locking, bonding, and welding.
Citation Information
Cited By
Delay circuit of pulse sequence, integrated circuit, interaction system, method and equipment
CN120567121A
