Analog-to-digital interface sampling circuit and sampling method
By using asynchronous metastable circuit processing unit to sample the analog signal in the analog-digital interface sampling circuit, the metastable problem in cross-clock domain transmission is solved, the power consumption and delay time is reduced, and the analog signal is improved The tolerance of pulse width distortion achieves effective decoupling of the correlated analog signals.
Patent Information
- Application Number
- CN202411080661.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-08
AI Technical Summary
When the existing analog-to-digital interface sampling circuit transmits analog signals across the clock domain, it leads to metastable problems, increases power consumption and design difficulty, long delay time, and high requirements for pulse width distortion of analog signals, so it is impossible to effectively decouple the correlation. analog signal.
Design an analog-to-digital interface sampling circuit, using a pair of asynchronous clock signals to sample the analog signal at the same level, reduce power consumption, reduce delay time through the asynchronous metastable circuit processing unit, and allow the analog signal pulse width to be changed or changed. Short, realizes decoupling of the associated analog signal.
It reduces the requirement of analog signals in the layout trace equal length, reduces sampling synchronization delay time, improves processing capability, and improves tolerance for pulse width distortion of analog signals, avoiding the propagation of metastable problems.
Smart Images

Figure CN118590067B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of analog-to-digital interface sampling circuits, and in particular to an analog-to-digital interface sampling circuit and a sampling method. Background Art
[0002] With the continuous development of electronic technology, a large number of analog circuits and digital circuits are integrated on a single chip. In the communication link, there are a large number of sampling and detection applications for paired specific pulse width combination waveforms transmitted from analog circuits. The cdc (clock domain crossing) signal refers to the signal transmitted from one clock domain to another asynchronous clock domain. The two clocks are either of different frequencies or of the same frequency but different phases. When the effective edge of the transmitting clock is too close to the effective edge of the receiving clock, when the transmitting data changes within the setup / hold time (setup time / hold time) of the receiving clock edge, metastable state will occur, and the output of the sampling register will enter an indeterminate state. Metastable state will not only lead to logical misjudgment, but also the intermediate voltage value between the output 0-1 will cause the next stage to produce metastable state (that is, cause the propagation of metastable state), and the propagation of metastable state expands the fault surface, making it difficult to handle. For the processing of the pulse width waveform transmitted by the analog circuit, the digital circuit uses CLK to directly sample, such as Fig. 9 As shown, due to the cross-clock domain problem between the two, metastable states will occur in the digital circuit, which will eventually lead to failure of the digital function.
[0003] At present, digital circuits are usually implemented using traditional two-stage synchronizers. Fig.10 Although this method can solve the metastable problem of analog signals to digital signals, there are still several problems:
[0004] (1) A high-frequency clock with a pulse width at least twice that of the analog signal is required for sampling and synchronization processing, which increases the overall power consumption and design difficulty of the digital circuit.
[0005] (2) The synchronization of analog signals to digital circuits has a long delay time and requires 2 CLK cycles.
[0006] (3) The requirements for the distortion of the analog signal pulse width are relatively high, and the pulse width distortion range is relatively small.
[0007] (4) It is more suitable for synchronizing a single analog signal to a digital circuit. However, it cannot achieve the decoupling function for synchronizing related pairs of analog signals. Summary of the invention
[0008] The purpose of the present invention is to provide an analog-to-digital interface sampling circuit and a sampling method to address the above-mentioned problems. The circuit does not require a high-frequency clock compared to the analog signal for sampling, but only requires a clock similar to the analog signal for sampling, thereby reducing power consumption, decoupling a pair of related analog signals, and reducing the requirement for equal length of analog signal routing in the layout.
[0009] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is as follows:
[0010] According to one aspect of the present invention, an analog-to-digital interface sampling circuit and a sampling method are provided, wherein the sampling circuit comprises a first analog signal input channel, a second analog signal input channel, a sampling processing circuit unit, a first digital signal output channel, a second digital signal output channel and a sampling clock input channel;
[0011] The first analog signal input channel and the second analog signal input channel are respectively connected to the sampling and processing circuit unit;
[0012] The first digital signal output channel and the second digital signal output channel are respectively connected to the sampling and processing circuit unit;
[0013] The sampling clock input channel is connected to the sampling processing circuit unit;
[0014] The first analog signal input channel is used to connect the first analog signal to the sampling and processing circuit unit, and the second analog signal input channel is used to connect the second analog signal paired with the first analog signal to the sampling and processing circuit;
[0015] The sampling and processing circuit unit is used to use a pair of asynchronous clock signals to sample the first analog signal or the second analog signal at the same level, so that the first analog signal is converted into a first digital signal or the second analog signal is converted into a second digital signal;
[0016] The first digital signal output channel is used to output the first digital signal, and the second digital signal output channel is used to output the second digital signal;
[0017] The sampling clock input channel is used to provide a sampling clock signal to the sampling processing circuit unit.
[0018] Preferably, the first analog signal and the second analog signal are a pair of analog signals generated by an analog circuit, and the first analog signal and the second analog signal have a strong correlation in timing.
[0019] Preferably, the sampling processing circuit unit includes a first asynchronous metastable circuit processing unit and a second asynchronous metastable circuit processing unit, the first analog signal input channel is connected to the first asynchronous metastable circuit processing unit, and the second analog signal input channel is connected to the second asynchronous metastable circuit processing unit.
[0020] Preferably, the first asynchronous metastable circuit processing unit includes a first register A, a first register B, a first NOT gate and a first OR gate, the first analog signal input channel is respectively connected to the data input ends of the first register A and the first register B, the sampling clock input channel is connected to the clock signal input end of the first register A, the sampling clock input channel is connected to the clock signal input end of the first register B through the first NOT gate, the data output ends of the first register A and the first register B are respectively connected to the first OR gate, and the first digital signal output channel is connected to the first OR gate.
[0021] Preferably, the second asynchronous metastable circuit processing unit includes a second register A, a second register B, a second NOT gate and a second OR gate, the second analog signal input channel is respectively connected to the data input ends of the second register A and the second register B, the sampling clock input channel is connected to the clock signal input end of the second register A, the sampling clock input channel is connected to the clock signal input end of the second register B through the second NOT gate, the data output ends of the second register A and the second register B are respectively connected to the second OR gate, and the second digital signal output channel is connected to the second OR gate.
[0022] Preferably, a sampling method for an analog-to-digital interface sampling circuit comprises the following steps:
[0023] S1, connecting a pair of correlated analog signals to a sampling and processing circuit unit;
[0024] S2, each analog signal is connected to the input end of two registers, one register is connected to the positive edge of the sampling clock, and the other register is connected to the negative edge of the sampling clock, and the analog signals are sampled respectively using the sampling clock;
[0025] S3. The analog signal sampled by the sampling clock passes through an OR gate to generate a synchronized digital signal.
[0026] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0027] (1) The present invention connects a pair of related analog signals to a sampling and processing circuit unit, and uses the sampling and processing circuit unit to decouple the analog signals, thereby reducing the requirement for equal length of analog signal routing in the layout. In addition, there is no need to use a high-frequency clock compared to the analog signal for sampling, but only a clock close to the analog signal is needed for sampling, thereby reducing power consumption.
[0028] (2) Compared with the traditional metastable two-stage register synchronizer, it reduces the delay time from sampling synchronization to the digital domain and improves the processing capability of analog signals.
[0029] (3) Reduce the constraints on the pulse width of the analog signal waveform, allowing the waveform pulse width to become longer or shorter and still be correctly analyzed. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0031] Figure 2 A circuit schematic diagram of an asynchronous metastable circuit processing unit of the present invention;
[0032] Figure 3 Output waveform diagrams for four abnormal situations of positive and negative edge alignment of the present invention;
[0033] Figure 4 Output waveform diagram of abnormal situation of leading and lagging clock signal of the present invention;
[0034] Figure 5 Output waveform diagrams of four abnormal conditions of two simulation signals of the present invention;
[0035] Figure 6 It is a simulated signal waveform diagram of two simulated signals of the present invention;
[0036] Figure 7 is an output waveform diagram of two associated analog signals of the present invention;
[0037] Figure 8 is an output waveform diagram of two associated analog signals of the present invention;
[0038] Fig. 9 It is a circuit schematic diagram of the prior art;
[0039] Fig.10 The schematic diagram of the circuit of the prior art. DETAILED DESCRIPTION
[0040] 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 with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many details listed in the specification are only for the purpose of enabling the reader to have a thorough understanding of one or more aspects of the invention, and these aspects of the present invention can be realized even without these specific details.
[0041] See also Figures 1 to 8 The present invention provides an analog-to-digital interface sampling circuit and a sampling method, and the technical solution is as follows:
[0042] like Figure 1-2 As shown, an analog-to-digital interface sampling circuit includes a first analog signal input channel, a second analog signal input channel, a sampling processing circuit unit, a first digital signal output channel, a second digital signal output channel and a sampling clock input channel. The first analog signal input channel is used to access the first analog signal, and the second analog signal input channel is used to access the second analog signal. The first analog signal and the second analog signal are a pair of analog signals generated by the analog circuit, and the first analog signal and the second analog signal have a strong correlation in timing. The first analog signal input channel and the second analog signal input channel are respectively connected to the sampling processing circuit unit, and the first analog signal and the second analog signal are respectively passed into the sampling processing circuit unit, and the sampling processing circuit unit is used to convert the first analog signal into a first digital signal, and convert the second analog signal into a second digital signal.
[0043] The sampling processing circuit unit includes a first asynchronous metastable circuit processing unit and a second asynchronous metastable circuit processing unit. The first asynchronous metastable circuit processing unit is used to process the first analog signal, and the second asynchronous metastable circuit processing unit is used to process the second analog signal.
[0044] The first asynchronous metastable circuit processing unit includes a first register A, a first register B, a first NOT gate and a first OR gate. The first analog signal is connected to the data input ends of the first register A and the first register B respectively. The data input ends of the first register A and the first register B are the D ends of the D flip-flop. The clock input end of the first register A is directly connected to the sampling clock input channel, and the clock input end of the first register B is connected to the sampling clock input channel through the first NOT gate. The sampling clock input channel is connected to the sampling clock signal to provide a sampling clock signal for the first register A and the first register B. The output end of the first register A is connected to the first input end of the first OR gate, and the output end of the first register B is connected to the second input end of the first OR gate. The output end of the first OR gate is connected to the first digital signal output channel. The first analog signal passes through two registers respectively, and after passing through the two registers, the output passes through an OR gate, and finally a digital signal is obtained, and the digital signal can avoid the metastable problem.
[0045] The second asynchronous metastable circuit processing unit includes a second register A, a second register B, a second NOT gate and a second OR gate. The second analog signal is connected to the data input ends of the second register A and the second register B respectively. The data input ends of the second register A and the second register B are the D ends of the D flip-flop. The clock input end of the second register A is directly connected to the sampling clock input channel, and the clock input end of the second register B is connected to the sampling clock input channel through the second NOT gate. The sampling clock input channel is connected to the sampling clock signal to provide a sampling clock signal for the second register A and the second register B. The output end of the second register A is connected to the first input end of the second OR gate, and the output end of the second register B is connected to the second input end of the second OR gate. The output end of the second OR gate is connected to the second digital signal output channel. The second analog signal passes through the two registers respectively, and the output after passing through the two registers passes through an OR gate, and finally a digital signal is obtained, and the digital signal can avoid the metastable problem.
[0046] The present application also discloses a sampling method of an analog-to-digital interface sampling circuit, which comprises the following steps:
[0047] S1, connecting a pair of correlated analog signals to a sampling and processing circuit unit;
[0048] S2, each analog signal is connected to the input end of two registers, one register is connected to the positive edge of the sampling clock, and the other register is connected to the negative edge of the sampling clock, and the analog signals are sampled respectively using the sampling clock;
[0049] S3. The analog signal sampled by the sampling clock passes through an OR gate to generate a synchronized digital signal.
[0050] Since the sampling clock signal width is similar to the pulse width of the analog signal generated by the analog circuit, there is an asynchronous metastable problem. Taking the processing of the first analog signal as an example, several metastable situations that may occur during the sampling process of the sampling circuit and the circuit response strategies are analyzed. The results are as follows:
[0051] When the analog signal and the clock signal are perfectly aligned:
[0052] When the analog signal and the clock signal are completely aligned (the clock cycle is aligned with the analog signal pulse), timing (setup time / hold time) violations may occur on both the positive and negative edges of the clock, resulting in metastable problems and causing subsequent circuit failures. For the first asynchronous metastable circuit processing unit, the worst metastable problem is handled in two cases: positive edge alignment and negative edge alignment. Each case corresponds to four abnormal conditions, as follows:
[0053] like Figure 3As shown, the first column in the figure shows four abnormal conditions of positive edge alignment, and the four abnormal conditions are: abnormal condition one, the metastable sampling along the first rising edge is high, and the metastable sampling along the second rising edge is low; abnormal condition two, the metastable sampling along the first rising edge is high, and the metastable sampling along the second rising edge is high; abnormal condition three, the metastable sampling along the first rising edge is low, and the metastable sampling along the second rising edge is low; abnormal condition four, the metastable sampling along the first rising edge is low, and the metastable sampling along the second rising edge is high.
[0054] Abnormal situation 1: The analog signal ana_async is connected to the asynchronous metastable circuit processing unit. After the analog signal ana_async passes through the first register A, the pulse of the output signal dig_p is consistent with the pulse of the analog signal ana_async. After the analog signal ana_async passes through the first register B, the pulse of the output signal dig_n is delayed by 0.5T relative to the analog signal ana_async, and the pulse width of the output signal dig_n is consistent with the pulse width of the analog signal ana_async. Finally, the output signal dig_p and the output signal dig_n pass through the first OR gate, and the first OR gate outputs the first digital signal dig_sync. The first digital signal dig_sync is in phase with the first analog signal ana_async, and the pulse width of the first digital signal dig_sync is extended to 1.5T relative to the pulse width of the analog signal ana_async. When the metastable state is high along the first rising edge metastable sampling and low along the second rising edge metastable sampling, the pulse of the first analog signal will be extended to 1.5T in phase after the first analog signal passes through the first asynchronous metastable circuit processing unit, solving the metastable problem.
[0055] Abnormal situation 2: The analog signal ana_async is connected to the asynchronous metastable circuit processing unit. After the analog signal ana_async passes through the first register A, the pulse of the output signal dig_p is in phase with the analog signal ana_async, and its pulse width is extended to 2T. After the analog signal ana_async passes through the first register B, the pulse of the output signal dig_n is delayed by 0.5T relative to the analog signal ana_async, and the pulse width of the output signal dig_n is consistent with the pulse width of the analog signal ana_async. Finally, the output signal dig_p and the output signal dig_n pass through the first OR gate, and the first OR gate outputs the first digital signal dig_sync. The first digital signal dig_sync is in phase with the first analog signal ana_async, and the pulse width of the first digital signal dig_sync is extended to 2T relative to the pulse width of the analog signal ana_async. When the metastable state is high along the first rising edge metastable sampling and high along the second rising edge metastable sampling, the pulse of the first analog signal will be extended to the same phase 2T after passing through the first asynchronous metastable circuit processing unit, thereby solving the metastable problem.
[0056] Abnormal situation three: the analog signal ana_async is connected to the asynchronous metastable circuit processing unit. After the analog signal ana_async passes through the first register A, the output signal dig_p has no pulse. After the analog signal ana_async passes through the first register B, the pulse of the output signal dig_n is delayed by 0.5T relative to the analog signal ana_async, and the pulse width of the output signal dig_n is consistent with the pulse width of the analog signal ana_async. Finally, the output signal dig_p and the output signal dig_n pass through the first OR gate, and the first OR gate outputs the first digital signal dig_sync. The pulse of the first digital signal dig_sync is delayed by 0.5T relative to the analog signal ana_async, and the pulse width of the first digital signal dig_sync is 1T. When the metastable state is that the metastable sampling along the first rising edge is low and the metastable sampling along the second rising edge is low, the pulse of the first analog signal is delayed by 0.5T after the first analog signal passes through the first asynchronous metastable circuit processing unit, thereby solving the metastable problem.
[0057] Abnormal situation four: the analog signal ana_async is connected to the asynchronous metastable circuit processing unit. After the analog signal ana_async passes through the first register A, the pulse of the output signal dig_p is delayed by 1T, and its pulse width is consistent with the analog signal ana_async. After the analog signal ana_async passes through the first register B, the pulse of the output signal dig_n is delayed by 0.5T relative to the analog signal ana_async, and the pulse width of the output signal dig_n is consistent with the pulse width of the analog signal ana_async. Finally, the output signal dig_p and the output signal dig_n pass through the first OR gate, and the first OR gate outputs the first digital signal dig_sync. The first digital signal dig_sync is delayed by 0.5T relative to the first analog signal ana_async, and the pulse width of the first digital signal dig_sync is extended to 1.5T relative to the pulse width of the analog signal ana_async. When the metastable state is low along the first rising edge and high along the second rising edge, the pulse of the first analog signal is delayed by 0.5T after passing through the first asynchronous metastable circuit processing unit, and its pulse width is extended to 1.5T, thus solving the metastable problem.
[0058] The above is an analysis of the asynchronous metastable circuit processing unit's response to the four metastable abnormal conditions under alignment. After being processed by the asynchronous metastable circuit processing unit, the pulse of the analog signal ana_async generated by the analog circuit will be extended to 1.5T / 2T in phase; or delayed by 0.5T, with a pulse length of 1T or 1.5T, thus solving the metastable problem in the circuit and generating a correct synchronously sampled digital signal for use by subsequent circuits.
[0059] The second column in the figure shows the abnormal conditions under negative edge alignment, which also corresponds to four abnormal conditions. The four metastable abnormal conditions under negative edge alignment are equivalent to the condition of 180° phase shift under positive edge alignment. The principle is the same as that of positive edge alignment, so I will not go into details. Similarly, the pulse of the analog signal ana_async generated by the analog circuit will still be extended to 1.5T / 2T in phase under the four conditions of negative edge alignment; or delayed by 0.5T, with a pulse length of 1T or 1.5T, solving the metastable problem from the circuit and generating the correct synchronous sampling digital signal for use by subsequent circuits.
[0060] When the clock signal is not aligned with the analog signal:
[0061] like Figure 4As shown, the first column in the figure shows the case where the sampling clock signal leads by 0-180°, which can be regarded as a relative delay of 0-T for the analog signal. The output signal of the first register A is relatively delayed by 1T, and its pulse width remains unchanged. The output signal of the first register B is relatively delayed by 0.5T, and its pulse width remains unchanged. The two output signals pass through the first OR gate to obtain the first digital signal. The first digital signal is relatively delayed by 0.5T, and its pulse width is extended to 1.5T. The pulse signal can be sampled normally, which is similar to the above-mentioned abnormal situation four. The sampling clock lags behind the sampling clock signal, corresponding to the second column in the figure. Similarly, this situation can sample the pulse signal normally, and the pulse width of the obtained first digital signal is extended to 1.5T, which is similar to the abnormal situation one. From the above, it can be seen that the situation where the clock signal and the analog signal are not aligned is more likely to meet the design requirements and can be regarded as a subset of the extreme cases of the above-mentioned asynchronous metastable circuit processing unit.
[0062] The above analysis is based on the analysis of the first analog signal. A second analog signal is added to the first analog signal. Both analog signals are synchronized using the above circuit. The worst case waveform after synchronization has 16 combinations. Figure 5 As shown, under four abnormal conditions, the final digital signals of the two analog signals can prove that the circuit of the present application can solve the metastable problem.
[0063] Examples
[0064] like Figure 6 As shown, it is assumed that the analog circuit generates two analog signals, namely, analog signal ana_p_async and analog signal ana_n_async. These two analog signals construct two symbols, namely symbol1 and symbol2. The total pulse width of each symbol is 2*Tsym. The pulse width of analog signal ana_p_async and analog signal ana_n_async is Tsym. The clock frequency of the digital circuit is freq=1 / Tsym.
[0065] Due to the complexity of analog circuits, the pulse signals generated under different working conditions will not be standard. Generally, the pulse will be delayed or shortened relative to the standard pulse. Assume that the pulse distortion range generated by the analog signal ana_p_async and the analog signal ana_n_async is [0.6*Tsym, 1.4*Tsym]. At the same time, the routing delays of the analog signal ana_p_async and the analog signal ana_n_async inside the chip are different, and they will not reach the digital circuit at the same time. Assume that the routing error of the two signals on the chip is 0.1*Tsym.
[0066] Then, consider the analog circuit in abnormal situation 1: the analog signal ana_p_async and the analog signal ana_n_async are distorted to the standard 0.6*Tsym, and the routing error of the two signals on the chip reaches 0.1*Tsym. Figure 7 As shown in the figure, the digital signal dig_p_sync and the digital signal dig_n_sync are both extended to 2T. In addition to being able to solve the metastable problem of the analog-to-digital interface, it can also greatly improve the tolerance to pulse distortion of analog signals and the error tolerance of chip routing. At the same time, the delay Tdly time of the sampling circuit is shorter, and the 2*Tclk time of the general synchronizer is not required.
[0067] Considering the analog circuit in abnormal situation 2, the analog signal ana_p_async and the analog signal ana_n_async are distorted to the standard 1.4*Tsym, and the routing error of the two analog signals on the chip reaches 0.1*Tsym. Figure 8 As shown, the sampling processing circuit unit of the present application can still achieve the correct sampling function very well.
[0068] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An analog-to-digital interface sampling circuit, characterized in that: The device comprises a first analog signal input channel, a second analog signal input channel, a sampling processing circuit unit, a first digital signal output channel, a second digital signal output channel and a sampling clock input channel; the first analog signal input channel and the second analog signal input channel are respectively connected to the sampling processing circuit unit; the first digital signal output channel and the second digital signal output channel are respectively connected to the sampling processing circuit unit; the sampling clock input channel is connected to the sampling processing circuit unit; the first analog signal input channel is used to connect the first analog signal to the sampling processing circuit unit, and the second analog signal input channel is used to connect the second analog signal paired with the first analog signal to the sampling processing circuit; The sampling processing circuit unit is used to use a pair of asynchronous clock signals to sample the first analog signal or the second analog signal at the same level, so that the first analog signal is converted into a first digital signal or the second analog signal is converted into a second digital signal; the first digital signal output channel is used to output the first digital signal, and the second digital signal output channel is used to output the second digital signal; the sampling clock input channel is used to provide a sampling clock signal for the sampling processing circuit unit; the sampling processing circuit unit includes a first asynchronous metastable circuit processing unit and a second asynchronous metastable circuit processing unit, the first analog signal input channel is connected to the first asynchronous metastable circuit processing unit, and the second analog signal input channel is connected to the second asynchronous metastable circuit processing unit; the first asynchronous metastable circuit processing unit includes a first register A, a first register B, a first NOT gate and a first OR gate, the first analog signal input channel is connected to the data input terminals of the first register A and the first register B respectively, the sampling clock input channel is connected to the clock signal input terminal of the first register A, and the sampling clock input channel is connected to the clock signal input terminal of the first register B through the first NOT gate, the first register A and the first register B The data output ends of the second register A and the second register B are respectively connected to the first OR gate, and the first digital signal output channel is connected to the first OR gate; the second asynchronous metastable circuit processing unit includes a second register A, a second register B, a second NOT gate and a second OR gate, the second analog signal input channel is respectively connected to the data input ends of the second register A and the second register B, the sampling clock input channel is connected to the clock signal input end of the second register A, and the sampling clock input channel is connected to the clock signal input end of the second register B through the second NOT gate, the data output ends of the second register A and the second register B are respectively connected to the second OR gate, and the second digital signal output channel is connected to the second OR gate.
2. The analog-to-digital interface sampling circuit according to claim 1, characterized in that: The first analog signal and the second analog signal are a pair of analog signals generated by an analog circuit, and the first analog signal and the second analog signal have a strong correlation in timing.
3. A sampling method for the analog-to-digital interface sampling circuit according to claim 1, characterized in that: The following steps are involved: S1, connecting a pair of correlated analog signals to a sampling and processing circuit unit; S2, each analog signal is connected to the input end of two registers, one register is connected to the positive edge of the sampling clock, and the other register is connected to the negative edge of the sampling clock, and the analog signals are sampled respectively using the sampling clock; S3. The analog signal sampled by the sampling clock passes through an OR gate to generate a synchronized digital signal.
