Automatic phase alignment system and method for demodulated switching signals in dynamic environment

CN117220670BActive Publication Date: 2024-11-05CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311235132.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2024-11-05
Estimated Expiration
2043-09-22

Smart Images

  • Figure CN117220670B_ABST
    Figure CN117220670B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of capacitive sensing technology, and in particular to a demodulation switch signal automatic phase alignment system and alignment method under a dynamic environment, wherein the demodulation switch signal automatic phase alignment method under a dynamic environment comprises: S1, a logic circuit outputs an excitation signal to a measured object; S2, a front-end analog circuit outputs a position signal of the measured object; S3, an analog-to-digital conversion sensor collects a demodulation signal output by a phase-sensitive demodulation circuit; S4, a logic circuit generates a positive phase demodulation signal and a negative phase demodulation signal according to the demodulation signal output by a low-pass filter; S5, a CORDIC module is used to calculate the phase angle; S6, a demodulation switch signal phase adjustment module moves the phase of the demodulation switch signal; S7, a phase difference after the demodulation switch signal and the position signal are phase-aligned is detected. The present invention uses an FPGA digital circuit, has a high operating frequency, and has strong anti-interference performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of capacitive sensing technology, and in particular to an automatic phase alignment system and method for demodulating switch signals in a dynamic environment. Background Art

[0002] Capacitive sensing has more and more applications in the aerospace field, such as inertial sensors, accelerometers, and sensitive structure measurement systems. To separate the position information of the test quality from the noise, it is necessary to lock the signal frequency through an appropriate demodulation signal, average the frequencies of other signals (noise signals) to zero, extract the effective signal, and improve the signal-to-noise ratio. One of the key technical difficulties is the problem of phase alignment and locking of the position signal and the demodulation signal. When the phases are aligned, the noise can be removed to the greatest extent and the signal-to-noise ratio can be improved. However, most of the current automatic phase alignment methods are phase alignment methods under static environmental conditions, such as the automatic phase alignment method proposed in patent CN202211169409.7: the position signal and the demodulation signal of the object under test are phase aligned in a static environment.

[0003] In the sensitive structure measurement system, since the position of the test mass suspended on the suspension structure is not fixed but in a dynamically changing state, the position signal read by the capacitive sensor is also changing dynamically. The previously used automatic phase alignment method is not applicable in this state. Summary of the invention

[0004] In order to solve the problem that the existing automatic phase alignment method cannot perform phase alignment for the position signal and demodulation signal of the test mass that are in dynamic change, the present invention provides an automatic phase alignment system and alignment method for demodulation switch signals in a dynamic environment, which can perform phase alignment for the position signal and demodulation signal of the test mass that are in dynamic change.

[0005] The automatic phase alignment system for demodulation switch signals in a dynamic environment proposed by the present invention comprises a front-end analog circuit, a phase-sensitive demodulation circuit and an analog-to-digital conversion sensor, wherein the input end of the front-end analog circuit is connected to the output end of the object to be measured, the output end of the front-end analog circuit is connected to the input end of the phase-sensitive demodulation circuit, the output end of the phase-sensitive demodulation circuit is connected to the input end of the analog-to-digital conversion sensor, and further comprises an FPGA digital circuit, the FPGA digital circuit comprises a logic circuit, a low-pass filter, a CORDIC module, a demodulation switch signal phase adjustment module and a detection module, the output end of the analog-to-digital conversion sensor is connected to the input end of the FPGA digital circuit, and the output end of the FPGA digital circuit acts on the phase-sensitive demodulation circuit and the object to be measured respectively;

[0006] The logic circuit is used to apply excitation to the object under test, the front-end analog circuit is used to collect and amplify the position signal output by the object under test, the phase-sensitive demodulation circuit is used to demodulate the position signal and output the demodulation signal, the analog-to-digital conversion sensor is used to collect the demodulation signal, the low-pass filter is used to filter the demodulation signal, the logic circuit is used to generate a positive phase demodulation signal and a negative phase demodulation signal using the filtered demodulation signal, the CORDIC module is used to perform an inverse tangent operation on the positive phase demodulation signal and the negative phase demodulation signal to obtain the phase angle, the demodulation switch signal phase adjustment module is used to move the phase of the demodulation switch signal according to the phase angle so that the demodulation switch signal and the position signal are phase-aligned, the detection module is used to determine whether the phases of the demodulation switch signal and the position signal are aligned and output the demodulation switch signal, the logic circuit applies the demodulation switch signal to the phase-sensitive demodulation circuit, and the phase-sensitive demodulation circuit locks the frequency and phase of the demodulation signal according to the demodulation switch signal.

[0007] The method for automatic phase alignment of demodulated switch signals in a dynamic environment proposed by the present invention is implemented by using an automatic phase alignment system for demodulated switch signals in a dynamic environment, and includes the following steps:

[0008] S1. The logic circuit outputs an excitation signal A(t) to the object under test:

[0009] A(t) = V0cos(ω0t) (1);

[0010] Wherein, V0 is the amplitude of the excitation signal, ω0 is the frequency of the excitation signal;

[0011] S2, the front-end analog circuit collects and amplifies the position information of the object under test, and outputs the position signal x(t) of the object under test. Assuming the phase angle of the position signal is θ, the position signal x(t):

[0012] x(t)=V s cos(ω0t+θ) (2);

[0013] Among them, V s is the amplitude of the position signal;

[0014] S3, the phase-sensitive demodulation circuit demodulates the position signal, and locks the frequency and phase of the demodulation signal according to the demodulation switch signal output by the logic circuit. The analog-to-digital conversion sensor collects the demodulation signal u output by the phase-sensitive demodulation circuit. o (t):

[0015]

[0016] S4, the low-pass filter filters the demodulated signal output by the analog-to-digital conversion sensor, and the logic circuit generates a positive phase demodulated signal u according to the demodulated signal output by the low-pass filter x (t):

[0017]

[0018] The phase of the demodulated signal is shifted by π / 2 and filtered through a low-pass filter to obtain the inverse demodulated signal u y (t):

[0019]

[0020] S5, CORDIC module calculates the phase angle θ according to the positive phase demodulation signal and the negative phase demodulation signal:

[0021]

[0022] S6, the demodulation switch signal phase adjustment module moves the phase of the demodulation switch signal according to the phase angle obtained in step S5, so that the demodulation signal output by the phase-sensitive demodulation circuit satisfies:

[0023]

[0024] S7. Use the detection module to detect the phase difference between the demodulated switch signal and the position signal after phase alignment. When the phase difference is less than the set threshold, determine that the demodulated switch signal and the position signal are phase aligned. When the phase difference is greater than or equal to the set threshold, execute step S4.

[0025] Preferably, the response frequency of the demodulated switch signal is greater than the resonance frequency of the measured object, thereby ensuring the accuracy of the phase alignment between the demodulated switch signal and the position signal.

[0026] Preferably, the threshold value τ in step S7 is set as follows:

[0027]

[0028] Among them, f ref is the frequency of the demodulated switching signal, f clk It is the clock of FPGA digital circuit.

[0029] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0030] (1) The automatic phase alignment system and alignment method for demodulation switch signals in a dynamic environment proposed in the present invention can remove noise from the phase-sensitive demodulation circuit to the greatest extent, improve the signal-to-noise ratio of the phase-sensitive demodulation circuit, and effectively improve the accuracy of capacitive sensing; at the same time, it also solves the shortcoming that the current static demodulation signal phase alignment method is not effective in a dynamic environment. The present invention can accurately align the phase of the demodulation signal with the position signal of the measured object when the measured object is in a dynamic environment.

[0031] (1) The present invention uses FPGA digital circuits with high operating frequency, and ensures the accuracy of phase alignment between the demodulated signal and the position signal of the measured object by making the response frequency of the demodulated signal greater than the resonant frequency of the measured object. The automatic phase alignment system and alignment method of demodulated switch signals in a dynamic environment proposed by the present invention have certain versatility and can be widely used in the automatic phase alignment of phase-sensitive demodulation circuits in the field of capacitive sensing. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a structural schematic diagram of a system for automatic phase alignment of demodulation switch signals in a dynamic environment provided by an embodiment of the present invention;

[0033] Figure 2 is a flow chart of a method for automatic alignment of demodulation switch signals in a dynamic environment provided by an embodiment of the present invention;

[0034] Figure 3 is a diagram showing the effect of an oscilloscope after phase alignment according to an embodiment of the present invention;

[0035] Figure 4 It is a structural schematic diagram of an FPGA digital circuit provided in an embodiment of the present invention;

[0036] Figure 5 is a circuit structure diagram of a phase-sensitive demodulation circuit provided according to an embodiment of the present invention;

[0037] Figure 6 is a schematic diagram of an output waveform of a phase-sensitive demodulation circuit provided in an embodiment of the present invention;

[0038] Figure 7 is a schematic diagram of the amplitude response of a digital filter provided according to an embodiment of the present invention;

[0039] Figure 8 4 is a schematic diagram of the phase response of a digital filter provided according to an embodiment of the present invention.

[0040] The reference numerals include: front-end analog circuit 1, phase-sensitive demodulation circuit 2, analog-to-digital conversion sensor 3, FPGA digital circuit 4, low-pass filter 41, CORDIC module 42, demodulation switch signal phase adjustment module 43 and detection module 44. DETAILED DESCRIPTION

[0041] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same modules are represented by the same reference numerals. In the case of the same reference numerals, their names and functions are also the same. Therefore, the detailed description thereof will not be repeated.

[0042] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.

[0043] Figure 1 It shows a schematic diagram of the structure of a system for automatic phase alignment of demodulation switch signals in a dynamic environment according to an embodiment of the present invention;

[0044] The automatic phase alignment system for demodulation switch signals in a dynamic environment proposed in an embodiment of the present invention includes a front-end analog circuit 1, a phase-sensitive demodulation circuit 2 and an analog-to-digital conversion sensor 3, wherein the input end of the front-end analog circuit 1 is connected to the output end of the object under test, the output end of the front-end analog circuit 1 is connected to the input end of the phase-sensitive demodulation circuit 2, the output end of the phase-sensitive demodulation circuit 2 is connected to the input end of the analog-to-digital conversion sensor 3, and further includes an FPGA digital circuit 4, the FPGA digital circuit 4 includes a logic circuit, a low-pass filter 41, a CORDIC module 42, a demodulation switch signal phase adjustment module 43 and a detection module 44, the output end of the analog-to-digital conversion sensor 3 is connected to the input end of the FPGA digital circuit 4, and the output end of the FPGA digital circuit 4 acts on the phase-sensitive demodulation circuit 2 and the object under test respectively;

[0045] The logic circuit is used to apply excitation to the object under test, the front-end analog circuit 1 is used to collect and amplify the position signal output by the object under test, the phase-sensitive demodulation circuit 2 is used to demodulate the position signal and output the demodulation signal, the analog-to-digital conversion sensor 3 is used to collect the demodulation signal, the low-pass filter 41 is used to filter the demodulation signal, the logic circuit is used to generate a positive phase demodulation signal and a negative phase demodulation signal using the filtered demodulation signal, the CORDIC module 42 is used to perform an inverse tangent operation on the positive phase demodulation signal and the negative phase demodulation signal to obtain a phase angle, the demodulation switch signal phase adjustment module 43 is used to move the phase of the demodulation switch signal according to the phase angle so that the demodulation switch signal and the position signal are phase-aligned, the detection module 44 is used to determine whether the phases of the demodulation switch signal and the position signal are aligned and output the demodulation switch signal, the logic circuit applies the demodulation switch signal to the phase-sensitive demodulation circuit 2, and the phase-sensitive demodulation circuit 2 locks the frequency and phase of the demodulation signal according to the demodulation switch signal.

[0046] The automatic phase alignment method of demodulation switch signals in a dynamic environment proposed in an embodiment of the present invention is implemented using an automatic phase alignment system for demodulation switch signals in a dynamic environment. The automatic phase alignment method of demodulation switch signals in a dynamic environment proposed in an embodiment of the present invention is introduced below.

[0047] Figure 2 The flowchart of the method for automatic phase alignment of demodulated switch signals in a dynamic environment provided by an embodiment of the present invention is shown. Figure 3The effect of the oscilloscope after phase alignment provided by the embodiment of the present invention is shown.

[0048] like Figure 2-Figure 3 As shown, the method for automatic phase alignment of demodulated switch signals in a dynamic environment proposed by the present invention specifically includes the following steps:

[0049] S1. The logic circuit outputs an excitation signal A(t) to the object under test:

[0050] A(t) = V0cos(ω0t) (1);

[0051] Wherein, V0 is the amplitude of the excitation signal, ω0 is the frequency of the excitation signal;

[0052] S2, the front-end analog circuit 1 collects and amplifies the position information of the object under test, and outputs the position signal x(t) of the object under test. Assuming the phase angle of the position signal is θ, the position signal x(t):

[0053] x(t)=V s cos(ω0t+θ) (2);

[0054] Among them, V s is the amplitude of the position signal;

[0055] S3, the phase-sensitive demodulation circuit 2 demodulates the position signal, and locks the frequency and phase of the demodulation signal according to the demodulation switch signal output by the logic circuit. The analog-to-digital conversion sensor 3 collects the demodulation signal u output by the phase-sensitive demodulation circuit 2. o (t):

[0056]

[0057] S4, the low-pass filter 41 filters the demodulated signal output by the analog-to-digital conversion sensor 3, and the logic circuit generates a positive phase demodulated signal u according to the demodulated signal output by the low-pass filter 41 x (t):

[0058]

[0059] The phase of the demodulated signal is shifted by π / 2 and filtered by a low-pass filter 41 to obtain an inverse demodulated signal u y (t):

[0060]

[0061] S5. The CORDIC module 42 calculates the phase angle θ according to the positive phase demodulation signal and the negative phase demodulation signal:

[0062]

[0063] S6, the demodulation switch signal phase adjustment module 43 moves the phase of the demodulation switch signal according to the phase angle obtained in step S5, so that the demodulation signal output by the phase-sensitive demodulation circuit 2 satisfies:

[0064]

[0065] S7. Use the detection module 44 to detect the phase difference after the demodulated switch signal and the position signal are phase-aligned. When the phase difference is less than the set threshold, determine that the demodulated switch signal and the position signal are phase-aligned. When the phase difference is greater than or equal to the set threshold, execute step S4.

[0066] The threshold value τ in step S7 is:

[0067]

[0068] Among them, f ref is the frequency of the demodulated switching signal, f clk It is the clock of FPGA digital circuit 4.

[0069] Figure 4 The structure of the FPGA digital circuit 4 provided according to an embodiment of the present invention is shown.

[0070] like Figure 4 As shown, the digital filter module is used to perform low-pass filtering on the output signal of the phase-sensitive demodulation circuit 2 and the phase-shifted output signal of the phase-sensitive demodulation circuit 2, the CORDIC module 42 is used to perform inverse tangent operation on the positive phase demodulation signal and the negative phase demodulation signal to obtain the calculation result of the phase angle, and the demodulation switch signal phase adjustment module 43 moves the phase of the demodulation switch signal according to the phase angle to align the phase of the demodulation switch signal with the position signal.

[0071] Figure 5 The circuit structure of the phase-sensitive demodulation circuit provided according to the embodiment of the present invention is shown; Figure 6 The output waveform of the phase-sensitive demodulation circuit provided according to an embodiment of the present invention is shown.

[0072] like Figure 5-Figure 6 As shown, the signal input to the phase-sensitive demodulation circuit 2 is divided into an upper edge signal and a lower edge signal after passing through the analog switch. Figure 5 As shown, if the phase of the demodulation switch signal is not aligned with the phase of the position signal of the measured object, the phase-sensitive demodulation circuit 2 will output a 45°, 90° or 135° demodulation waveform, that is, the position signal of the measured object cannot be restored to a complete signal. If the demodulation switch signal is aligned with the phase of the position signal of the measured object, the phase-sensitive demodulation circuit 2 outputs a 0° or 180° demodulation waveform, and the position signal of the measured object can be completely restored. Whether the phase of the demodulation switch signal is aligned with the phase of the position signal of the measured object will greatly affect the performance of the sensitive structure measurement system.

[0073] Figure 7 shows the amplitude response of the digital filter provided according to an embodiment of the present invention; Figure 8 The phase response of the digital filter provided according to the embodiment of the present invention is shown.

[0074] like Figure 7-Figure 8 As shown, since the automatic phase alignment system and alignment method for demodulated switching signals in a dynamic environment proposed in the embodiments of the present invention have the characteristics of high requirements on the amplitude-frequency response, low delay and no requirements on the phase-frequency response of the filter, the digital filter module adopts an IIR filter, and the IIR filter adopts a 3rd-order 2-section structure, and the specific parameters are: sampling frequency Fs=100Hz, passband cutoff frequency Fpass=0.5Hz, stopband cutoff frequency Fstop=10Hz, passband attenuation coefficient Apass=1dB, and stopband attenuation coefficient Astop=80dB.

[0075] The CORDIC module 42 in the FPGA is set to the inverse tangent mode, that is, the input data is set to a 24-bit signed fixed-point number, and the output data is set to a 14-bit signed fixed-point number (3 integer bits). The angle accuracy of the final output of the CORDIC module 42 is:

[0076] 180°*2 -(14-3) =0.087890625° (9);

[0077] The response frequency of the demodulated switch signal of the automatic phase alignment system and alignment method of the demodulated switch signal in a dynamic environment proposed by the embodiment of the present invention is greater than the resonant frequency of the object under test, thereby ensuring the accuracy of the phase alignment of the demodulated switch signal and the position signal.

[0078] The calculation method of the resonant frequency of the measured object takes the following parameters of the sensitive structure measurement system as an example: the suspension wire length L of the sensitive structure measurement system is L = 0.47m, the distance from the suspension point to the center of mass is L' = 0.107m, and the calculation formula of the resonant frequency of the measured object is:

[0079]

[0080] Where g is the ground gravity coefficient, g = 9.8m / s 2 , by calculating formula (10), the resonant frequency of the test mass swing is 0.66 Hz.

[0081] Since the response frequency of the demodulated switch signal is greater than the resonant frequency of the position signal of the measured object, the FPGA uses an 80MHz clock, that is, the response period of the CORDIC module 42 is 18 clock periods. Therefore, the response frequency of the demodulated switch signal is 4.44MHz. The response frequency of the demodulated switch signal is much greater than the resonant frequency of the measured object, which can ensure that the phase of the demodulated switch signal and the position signal of the measured object can be quickly and accurately aligned.

[0082] In the embodiment of the present invention, the analog-to-digital conversion sensor 3 (AD) adopts the AD7712 analog-to-digital chip produced by ANALOG DEVICE.

[0083] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0084] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for automatic phase alignment of demodulated switch signals in a dynamic environment, which is implemented by a system for automatic phase alignment of demodulated switch signals in a dynamic environment. The system for automatic phase alignment of demodulated switch signals in a dynamic environment comprises a front-end analog circuit, a phase-sensitive demodulation circuit and an analog-to-digital conversion sensor. The input end of the front-end analog circuit is connected to the output end of the object to be measured, the output end of the front-end analog circuit is connected to the input end of the phase-sensitive demodulation circuit, and the output end of the phase-sensitive demodulation circuit is connected to the input end of the analog-to-digital conversion sensor. The method is characterized in that: It also includes an FPGA digital circuit, which includes a logic circuit, a low-pass filter, a CORDIC module, a demodulation switch signal phase adjustment module and a detection module. The output end of the analog-to-digital conversion sensor is connected to the input end of the FPGA digital circuit, and the output end of the FPGA digital circuit acts on the phase-sensitive demodulation circuit and the object under test respectively; The logic circuit is used to apply excitation to the object under test, the front-end analog circuit is used to collect and amplify the position signal output by the object under test, the phase-sensitive demodulation circuit is used to demodulate the position signal and output a demodulation signal, the analog-to-digital conversion sensor is used to collect the demodulation signal, the low-pass filter is used to filter the demodulation signal, the logic circuit is used to generate a positive phase demodulation signal and a negative phase demodulation signal using the filtered demodulation signal, the CORDIC module is used to perform an inverse tangent operation on the positive phase demodulation signal and the negative phase demodulation signal to obtain a phase angle, the demodulation switch signal phase adjustment module is used to move the phase of the demodulation switch signal according to the phase angle so that the demodulation switch signal is phase-aligned with the position signal, the detection module is used to determine whether the phase of the demodulation switch signal is aligned with the position signal and output the demodulation switch signal, the logic circuit applies the demodulation switch signal to the phase-sensitive demodulation circuit, and the phase-sensitive demodulation circuit locks the frequency and phase of the demodulation signal according to the demodulation switch signal; The steps include: S1. The logic circuit outputs an excitation signal to the object under test. : (1); in, is the amplitude of the excitation signal, is the frequency of the excitation signal; S2. The front-end analog circuit collects and amplifies the position information of the object under test, and outputs the position signal x(t) of the object under test. The phase angle of the position signal is assumed to be , then the position signal x(t): (2); in, is the amplitude of the position signal; S3, the phase-sensitive demodulation circuit demodulates the position signal, and locks the frequency and phase of the demodulation signal according to the demodulation switch signal output by the logic circuit, and the analog-to-digital conversion sensor collects the demodulation signal output by the phase-sensitive demodulation circuit : (3); S4, the low-pass filter filters the demodulated signal output by the analog-to-digital conversion sensor, and the logic circuit generates a positive phase demodulated signal according to the demodulated signal output by the low-pass filter : (4); Shift the phase of the demodulated signal , and after filtering through the low-pass filter, the inverted demodulated signal is obtained : (5); S5, the CORDIC module calculates the phase angle according to the positive phase demodulation signal and the negative phase demodulation signal : (6); S6, the demodulation switch signal phase adjustment module moves the phase of the demodulation switch signal according to the phase angle obtained in step S5, so that the demodulation signal output by the phase-sensitive demodulation circuit satisfies: (7); S7. Use the detection module to detect the phase difference between the demodulated switch signal and the position signal after phase alignment. When the phase difference is less than a set threshold, determine that the demodulated switch signal is phase aligned with the position signal. When the phase difference is greater than or equal to the set threshold, execute step S4.

2. The method for automatic phase alignment of demodulated switch signals under dynamic environment according to claim 1, characterized in that: The response frequency of the demodulated switch signal is greater than the resonance frequency of the measured object, thereby ensuring the accuracy of the phase alignment between the demodulated switch signal and the position signal.

3. The method for automatic phase alignment of demodulated switch signals in a dynamic environment according to claim 1, characterized in that: The setting threshold in step S7 : (8); in, is the frequency of the demodulated switching signal, It is the clock of the FPGA digital circuit.