A real-time signal loss detection circuit and method

By designing a real-time detection circuit for signal loss of components such as operational amplifiers, comparators, clock circuits, and latches, we solve the problems of difficulty in integrating capacitors and low detection accuracy in the existing technology, and achieve high-precision, wide-frequency range signals. Loss detection simplifies system complexity and improves fault location efficiency.

CN114113988BActive Publication Date: 2024-09-03LIANYUNGANG JARI ELECTRONICS CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111470575.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-03
Publication Date
2024-09-03
Estimated Expiration
2041-12-03

AI Technical Summary

Technical Problem

In existing solution-to-digital conversion circuits, the signal loss detection circuit has problems such as difficulty in integrating capacitors, low detection accuracy, and limited frequency range, making it difficult to quickly locate the fault point.

Method used

A real-time signal loss detection circuit including an operational amplifier, comparator, clock circuit, edge detection circuit, signal median detection circuit and latch circuit is designed. The signal is received without distortion through the operational amplifier and the comparator converts it into a square wave signal. , edge and median detection generate clock signals, and the latch outputs the loss signal to achieve real-time detection.

Benefits of technology

It achieves real-time detection of signal loss without large capacitance, easy integration, high detection accuracy, and wide frequency range, simplifying system complexity and improving fault location efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114113988B
    Figure CN114113988B
Patent Text Reader

Abstract

The present invention discloses a real-time signal loss detection circuit and method, the circuit includes an operational amplifier, a first comparator, a second comparator, a clock circuit, a clock processing circuit, an edge detection circuit, a signal median detection circuit and a latch. REF is an input signal to be detected, the operational amplifier circuit receives the input signal without distortion, and obtains a signal REF_Buf. The first comparator is used to convert the reference signal REF_Buf into a square wave signal REF_SW with a duty cycle of 50%, and the second comparator is used to detect whether the amplitude of the signal REF_Buf meets the system requirements, and obtains a square wave signal REF_Peak; the signal REF_SW enters the edge detection circuit to obtain an edge detection signal REF_Edge, the clock circuit and the clock processing circuit are used to generate clock signals CLK1~CLK3, which are input into the post-stage median detection circuit to generate a median signal REF_Mid, and the signals REF_Peak and REF_Mid enter the latch to obtain a signal loss detection result. The real-time signal loss detection circuit of the present invention does not rely on peripheral parameters, is easy to integrate, has high detection accuracy, and has a wide detection frequency range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of simulation and testing technology, and in particular to a circuit and method for detecting loss of analog reference signals in circuits such as solution-to-digital conversion, which can detect whether the amplitude of the reference signal reaches a minimum requirement. Background Art

[0002] In the solution-to-digital conversion circuit, the analog reference signal is the carrier signal of the angle signal, and its importance is self-evident. If the reference signal amplitude is lower than 80% of the rated value or is lost, the conversion result will be wrong. Since most conversion circuits lack the necessary flag signals, it is difficult to quickly locate the fault point when a problem occurs. Therefore, a signal loss detection circuit is required to perform real-time detection of the signal amplitude in order to quickly and accurately locate the fault. The existing common signal loss detection circuits mostly use a first-order or multi-order RC filter circuit to filter the reference signal, and then input it into the post-stage comparator for amplitude comparison, so as to determine whether the signal is lost or whether the amplitude is lower than the set value. However, this circuit has three disadvantages: First, the capacitance C in this circuit is relatively large and difficult to integrate, so it needs to be placed outside the chip, which increases the complexity of the system; second, it is difficult to filter the changing signal into DC using the first-order RC filtering method, resulting in low reference loss detection accuracy; although the multi-order RC filtering method can better filter the signal into DC, it requires multiple peripheral parameters, which further increases the complexity of the system and is difficult to integrate; third, in response to the changing signal frequency, the appropriate resistance and capacitance values ​​need to be replaced in order to better complete the signal loss detection, and the usage scenarios are limited. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a real-time signal loss detection circuit which is independent of peripheral parameters, easy to integrate, has high detection accuracy and a wide detection frequency range in view of the deficiencies in the prior art.

[0004] Another technical problem to be solved by the present invention is to provide a real-time signal loss detection method that is independent of peripheral parameters, easy to integrate, has high detection accuracy and a wide detection frequency range by using the above-mentioned real-time signal loss detection circuit in view of the shortcomings of the prior art.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A signal loss real-time detection circuit is characterized in that it includes an operational amplifier, a first comparator, a second comparator, a clock circuit, a clock processing circuit, an edge detection circuit, a signal median detection circuit and a latch circuit. A signal REF is connected to the positive input terminal of the operational amplifier, and the negative input terminal of the operational amplifier is connected to the output terminal, the first comparator and the positive input terminal of the second comparator to obtain a signal REF_Buf; the negative input terminal of the second comparator is connected to the loss detection voltage VLOS , the output terminal REF_Peak is connected to the latch D terminal; the inverting input terminal of the first comparator is connected to the square wave conversion voltage V SC The first comparator output terminal REF_SW and the clock signal CLK1 are connected to the edge detection circuit input terminal, the edge detection circuit output terminal REF_Edge and the clock signal CLK1 are connected to the clock processing circuit to generate clock signals CLK2 and CLK3; the clock signals CLK1-CLK3 and the signal REF_Edge are connected to the median detection circuit input terminal, the median detection circuit output terminal REF_Mid is connected to the latch E terminal, and the latch output terminal is the loss signal LOS. By setting V LOS Voltage size, can detect signal loss in real time.

[0007] Preferably, the operational amplifier adopts a two-stage amplification structure.

[0008] Preferably, the first comparator and the second comparator adopt a two-stage open-loop structure.

[0009] Preferably, the clock circuit includes inverters INV1 to INV5, capacitors C1 and C2. The input end of INV1 is connected to the output end of INV4 and the input end of INV5, the output end of INV1 is connected to the input end of INV2 and one end of C1, the other end of C1 is connected to GND, the output end of INV2 is connected to the input end of INV3, the output end of INV3 is connected to the input end of INV4 and one end of C2, the other end of C2 is connected to GND, and the output end of INV5 is a clock signal CLK1, whose frequency can reach 1MHz.

[0010] Preferably, the edge detection circuit includes D flip-flops DFF1-DFF2 and a 2-input XOR gate XOR1. The input signal REF_SW is connected to the D terminal of DFF1, the input signal CLK1 is connected to the Clk terminals of DFF1 and DFF2, the Q terminal of DFF1 is connected to the D terminal of DFF2 and the input terminal of XOR1, the Q terminal of DFF2 is connected to the input terminal of XOR1, and the output terminal of XOR1 is connected to the output signal REF_Edge.

[0011] Preferably, the clock processing circuit includes D flip-flops DFF1 to DFF3 with a clear terminal and a D flip-flop DFF4 without a clear terminal, a 2-input NAND gate NAND1, a 3-input NAND gate NAND2, a 2-input NOR gates NOR1 to NOR3, a 3-input NOR gate NOR4, an inversion gate INV1 and a 2-input XOR gate XOR1;

[0012] The input signal CLK1 is connected to the Clk terminals of DFF1 to DFF4;

[0013] The input signal REF_Edge is connected to the CLR terminal of DFF1~DFF3;

[0014] The D end of DFF1 is connected to the output end of NOR2 and the input end of NOR3, the Q end of DFF1 is connected to the D end of DFF2, NAND2 and the input end of NOR4, and the Q non-end of DFF1 is connected to the input end of NAND1 and NOR1;

[0015] The Q end of DFF2 is connected to the D end of DFF3, the input end of NAND2 and NOR4, and the Q non-end of DFF2 is connected to the input end of NAND1;

[0016] The Q terminal of DFF3 is connected to the input terminals of NAND2, NOR1 and NOR4;

[0017] The D terminal of DFF4 is connected to the output terminal of XOR1, and the Q terminal is connected to the output signal CLK3;

[0018] The output end of NAND1 is connected to the input end of XOR1 and the output signal CLK2;

[0019] The output of NOR1 is connected to the input of XOR1;

[0020] The output end of NAND2 is connected to the input end of INV1;

[0021] The output of NOR4 is connected to the input of NOR3;

[0022] The output of INV1 is connected to the input of NOR2;

[0023] The output terminal of NOR3 is connected to the input terminal of NOR2.

[0024] Preferably, the signal median detection circuit includes D flip-flops DFF1 to DFF14 with clear terminals, D latches LA1 to LA10, inverters INV1 to INV3, 5-input NOR gates NOR1 to NOR2, and 4-input AND gate AND1;

[0025] The input signal D is connected to the input terminal of the invertor INV1;

[0026] The output of INV1 is connected to the input of INV2 and the CLR of DFF3;

[0027] The input signal CLK1 is connected to the input terminal of INV3 and the Clk terminal of DFF2;

[0028] The output end of INV3 is connected to the Clk end of DFF1 and DFF2;

[0029] The D end of DFF1 is connected to the output end of INV2, the Q end is connected to the D end of DFF2, the E end of the Q non-end LA1 to LA10, and the CLR end is connected to the Q end of DFF2 and the D end of DFF3;

[0030] The CLR terminal of DFF2 is connected to GND;

[0031] The Q end of DFF3 is connected to the CLR end of DFF4 to DFF14;

[0032] The D terminal of DFF4 is connected to the Q terminal, the Clk terminal of DFF5 and the input terminal of XOR1, and the Clk terminal is connected to the input signal CLK2;

[0033] The D terminal of DFF5 is connected to the Q terminal, the Clk terminal of DFF6, the input terminal of XOR2 and the D terminal of LA1;

[0034] The D terminal of DFF6 is connected to the Q terminal, the Clk terminal of DFF7, the input terminal of XOR3 and the D terminal of LA2;

[0035] The D terminal of DFF7 is connected to the Q terminal, the Clk terminal of DFF8, the input terminal of XOR4 and the D terminal of LA3;

[0036] The D terminal of DFF8 is connected to the Q terminal, the Clk terminal of DFF9, the input terminal of XOR5 and the D terminal of LA4;

[0037] The D terminal of DFF9 is connected to the Q terminal, the Clk terminal of DFF10, the input terminal of XOR6 and the D terminal of LA5;

[0038] The D terminal of DFF10 is connected to the Q terminal, the Clk terminal of DFF11, the input terminal of XOR7 and the D terminal of LA6;

[0039] The D terminal of DFF11 is connected to the Q terminal, the Clk terminal of DFF12, the input terminal of XOR8 and the D terminal of LA7;

[0040] The D terminal of DFF12 is connected to the Q terminal, the Clk terminal of DFF13, the input terminal of XOR9 and the D terminal of LA8;

[0041] The D terminal of DFF13 is connected to the Q terminal, the Clk terminal of DFF14, the input terminal of XOR10 and the D terminal of LA9;

[0042] The D terminal of DFF14 is connected to the Q terminal, the input terminal of AND1 and the D terminal of LA10;

[0043] The Q terminal of LA1 is connected to the input terminal of XOR1;

[0044] The Q terminal of LA2 is connected to the input terminal of XOR2;

[0045] The Q terminal of LA3 is connected to the input terminal of XOR3;

[0046] The Q terminal of LA4 is connected to the input terminal of XOR4;

[0047] The Q terminal of LA5 is connected to the input terminal of XOR5;

[0048] The Q terminal of LA6 is connected to the input terminal of XOR6;

[0049] The Q terminal of LA7 is connected to the input terminal of XOR7;

[0050] The Q terminal of LA8 is connected to the input terminal of XOR8;

[0051] The Q terminal of LA9 is connected to the input terminal of XOR9;

[0052] The Q terminal of LA10 is connected to the input terminal of XOR10;

[0053] The output of XOR1 is connected to the input of NOR2;

[0054] The output of XOR2 is connected to the input of NOR2;

[0055] The output of XOR3 is connected to the input of NOR2;

[0056] The output of XOR4 is connected to the input of NOR2;

[0057] The output of XOR5 is connected to the input of NOR2;

[0058] The output of XOR6 is connected to the input of NOR1;

[0059] The output of XOR7 is connected to the input of NOR1;

[0060] The output of XOR8 is connected to the input of NOR1;

[0061] The output of XOR9 is connected to the input of NOR1;

[0062] The output of XOR10 is connected to the input of NOR1;

[0063] The output of NOR1 is connected to the input of AND1;

[0064] The output of NOR2 is connected to the input of AND1;

[0065] The input terminal of AND1 is connected to the input signal CLK3 , and the output terminal is connected to the output signal OUT.

[0066] A real-time signal loss detection method, characterized in that the method adopts the above-mentioned real-time signal loss detection circuit, and the method is that REF is the input signal to be detected, and the operational amplifier receives the input signal without distortion to obtain the signal REF_Buf, which is convenient for the subsequent comparator to complete the comparison. The first comparator is used to convert the signal REF_Buf into a square wave signal REF_SW with a duty cycle of 50%, and the second comparator is used to detect whether the amplitude of the signal REF_Buf meets the system requirements to obtain the square wave signal REF_Peak. The signal REF_SW enters the edge detection circuit to obtain the edge detection signal REF_Edge, and the clock circuit and the clock processing circuit are used to generate clock signals CLK1~CLK3, which are input into the subsequent median detection circuit to generate the median signal REF_Mid. Finally, the signals REF_Peak and REF_Mid enter the latch to obtain the signal loss detection result. When the signal is lost or lower than the set value V LOS When the signal is not lost or higher than the set value V LOS When , the latch outputs a high level.

[0067] Compared with the prior art, the present invention has the following beneficial technical effects:

[0068] a) This circuit does not require large-value capacitors and is easy to integrate;

[0069] b) Compared with the first-order RC filter detection circuit, the comparator directly compares with the stable voltage, and the detection accuracy is high;

[0070] c) For the changing signal to be detected, the median detection circuit has a built-in counter circuit, which can track the peak value of the signal to be detected in real time. The detection can be completed without adjusting the circuit parameters, and the application range is wide. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 The signal loss real-time detection circuit diagram of the present invention;

[0072] Figure 2 A clock signal circuit diagram of the present invention;

[0073] Figure 3 is an edge detection circuit diagram of the present invention;

[0074] Figure 4 A clock processing circuit diagram of the present invention;

[0075] Figure 5 is a circuit diagram of a median detection of the present invention;

[0076] Figure 6 Waveform diagram of some nodes of the present invention. DETAILED DESCRIPTION

[0077] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not intended to be construed as

[0078] It is not intended to limit the scope of the present invention.

[0079] Reference Figure 1 A signal loss real-time detection circuit, the signal loss real-time detection circuit includes an operational amplifier, a first comparator, a second comparator, a clock circuit, a clock processing circuit, an edge detection circuit, a signal median detection circuit and a latch circuit. The signal REF is connected to the positive input terminal of the operational amplifier, the negative input terminal of the operational amplifier is connected to the output terminal, the first comparator and the positive input terminal of the second comparator, and the signal REF_Buf is obtained; the negative input terminal of the second comparator is connected to the loss detection voltage V LOS , the output terminal REF_Peak is connected to the latch D terminal; the inverting input terminal of the first comparator is connected to the square wave conversion voltage V SC The first comparator output terminal REF_SW and the clock signal CLK1 are connected to the edge detection circuit input terminal; the edge detection circuit output terminal REF_Edge and the clock signal CLK1 are connected to the clock processing circuit to generate clock signals CLK2 and CLK3, the clock signals CLK1-CLK3 and the signal REF_Edge are connected to the median detection circuit input terminal, the median detection circuit output terminal REF_Mid is connected to the latch E terminal, and the latch output terminal is the loss signal LOS. By setting V LOS Voltage size, can detect signal loss in real time.

[0080] Reference Figure 2 The clock circuit of the present invention comprises inverters INV1 to INV5, capacitors C1 and C2. The input end of INV1 is connected to the output end of INV4 and the input end of INV5, the output end of INV1 is connected to the input end of INV2 and one end of C1, the other end of C1 is connected to GND, the output end of INV2 is connected to the input end of INV3, the output end of INV3 is connected to the input end of INV4 and one end of C2, the other end of C2 is connected to GND, and the output end of INV5 is the clock signal CLK1.

[0081] Reference Figure 3 The edge detection circuit of the present invention includes D flip-flops DFF1-DFF2 and a 2-input XOR gate XOR1. The input signal REF_SW is connected to the D end of DFF1, the input signal CLK1 is connected to the Clk ends of DFF1 and DFF2, the Q end of DFF1 is connected to the D end of DFF2 and the input end of XOR1, the Q end of DFF2 is connected to the input end of XOR1, and the output end of XOR1 is connected to the output signal REF_Edge.

[0082] Reference Figure 4The clock processing circuit of the present invention includes D flip-flops DFF1 to DFF3 with a clear terminal and a D flip-flop DFF4 without a clear terminal, a 2-input NAND gate NAND1, a 3-input NAND gate NAND2, a 2-input NOR gate NOR1 to NOR3, a 3-input NOR gate NOR4, an inversion gate INV1 and a 2-input XOR gate XOR1.

[0083] The input signal CLK1 is connected to the Clk terminals of DFF1 to DFF4.

[0084] The input signal REF_Edge is connected to the CLR terminals of DFF1 to DFF3.

[0085] The D end of DFF1 is connected to the output end of NOR2 and the input end of NOR3, the Q end of DFF1 is connected to the D end of DFF2, NAND2 and the input end of NOR4, and the Q non-end of DFF1 is connected to the input ends of NAND1 and NOR1.

[0086] The Q end of DFF2 is connected to the D end of DFF3, NAND2 and the input end of NOR4, and the Q non-end of DFF2 is connected to the input end of NAND1.

[0087] The Q terminal of DFF3 is connected to the input terminals of NAND2, NOR1 and NOR4.

[0088] The D terminal of DFF4 is connected to the output terminal of XOR1, and the Q terminal is connected to the output signal CLK3.

[0089] The output terminal of NAND1 is connected to the input terminal of XOR1 and the output signal CLK2.

[0090] The output terminal of NOR1 is connected to the input terminal of XOR1.

[0091] The output terminal of NAND2 is connected to the input terminal of INV1.

[0092] The output terminal of NOR4 is connected to the input terminal of NOR3.

[0093] The output terminal of INV1 is connected to the input terminal of NOR2.

[0094] The output terminal of NOR3 is connected to the input terminal of NOR2.

[0095] Reference Figure 5 The signal median detection circuit of the present invention includes D flip-flops DFF1-DFF14 with clear terminals, D latches LA1-LA10, inverters INV1-INV3, 5-input NOR gates NOR1-NOR2 and 4-input AND gate AND1.

[0096] The input signal REF_Edge is connected to the input terminal of the inverter INV1.

[0097] The output terminal of INV1 is connected to the input terminal of INV2 and the CLR terminal of DFF3.

[0098] The input signal CLK1 is connected to the input terminal of INV3 and the Clk terminal of DFF2.

[0099] The output terminal of INV3 is connected to the Clk terminals of DFF1 and DFF2.

[0100] The D end of DFF1 is connected to the output end of INV2, the Q end is connected to the D end of DFF2, the Q non-end is connected to the E ends of LA1 to LA10, and the CLR end is connected to the Q end of DFF2 and the D end of DFF3.

[0101] The CLR terminal of DFF2 is connected to GND.

[0102] The Q terminal of DFF3 is connected to the CLR terminals of DFF4 to DFF14.

[0103] The D terminal of DFF4 is connected to the Q terminal, the Clk terminal of DFF5 and the input terminal of XOR1, and the Clk terminal is connected to the input signal CLK2.

[0104] The D terminal of DFF5 is connected to the Q terminal, the Clk terminal of DFF6, the input terminal of XOR2, and the D terminal of LA1.

[0105] The D terminal of DFF6 is connected to the Q terminal, the Clk terminal of DFF7, the input terminal of XOR3 and the D terminal of LA2.

[0106] The D terminal of DFF7 is connected to the Q terminal, the Clk terminal of DFF8, the input terminal of XOR4 and the D terminal of LA3.

[0107] The D terminal of DFF8 is connected to the Q terminal, the Clk terminal of DFF9, the input terminal of XOR5 and the D terminal of LA4.

[0108] The D terminal of DFF9 is connected to the Q terminal, the Clk terminal of DFF10, the input terminal of XOR6 and the D terminal of LA5.

[0109] The D terminal of DFF10 is connected to the Q terminal, the Clk terminal of DFF11, the input terminal of XOR7 and the D terminal of LA6.

[0110] The D terminal of DFF11 is connected to the Q terminal, the Clk terminal of DFF12, the input terminal of XOR8 and the D terminal of LA7.

[0111] The D terminal of DFF12 is connected to the Q terminal, the Clk terminal of DFF13, the input terminal of XOR9 and the D terminal of LA8.

[0112] The D terminal of DFF13 is connected to the Q terminal, the Clk terminal of DFF14, the input terminal of XOR10 and the D terminal of LA9.

[0113] The D terminal of DFF14 is connected to the Q terminal, the input terminal of AND1 and the D terminal of LA10.

[0114] The Q terminal of LA1 is connected to the input terminal of XOR1.

[0115] The Q terminal of LA2 is connected to the input terminal of XOR2.

[0116] The Q terminal of LA3 is connected to the input terminal of XOR3.

[0117] The Q terminal of LA4 is connected to the input terminal of XOR4.

[0118] The Q terminal of LA5 is connected to the input terminal of XOR5.

[0119] The Q terminal of LA6 is connected to the input terminal of XOR6.

[0120] The Q terminal of LA7 is connected to the input terminal of XOR7.

[0121] The Q terminal of LA8 is connected to the input terminal of XOR8.

[0122] The Q terminal of LA9 is connected to the input terminal of XOR9.

[0123] The Q terminal of LA10 is connected to the input terminal of XOR10.

[0124] The output terminal of XOR1 is connected to the input terminal of NOR2.

[0125] The output terminal of XOR2 is connected to the input terminal of NOR2.

[0126] The output terminal of XOR3 is connected to the input terminal of NOR2.

[0127] The output terminal of XOR4 is connected to the input terminal of NOR2.

[0128] The output terminal of XOR5 is connected to the input terminal of NOR2.

[0129] The output terminal of XOR6 is connected to the input terminal of NOR1.

[0130] The output terminal of XOR7 is connected to the input terminal of NOR1.

[0131] The output terminal of XOR8 is connected to the input terminal of NOR1.

[0132] The output terminal of XOR9 is connected to the input terminal of NOR1.

[0133] The output terminal of XOR10 is connected to the input terminal of NOR1.

[0134] The output terminal of NOR1 is connected to the input terminal of AND1.

[0135] The output terminal of NOR2 is connected to the input terminal of AND1.

[0136] The input terminal of AND1 is connected to the input signal CLK3 , and the output terminal is connected to the output signal OUT.

[0137] like Figure 6 For the present invention Figure 1 Waveform diagram of some nodes in . REF is the input signal, REF_SW is the output signal of the second comparator, REF_Edge is the output signal of the edge detection circuit, REF_Mid is the output signal of the median detection circuit, REF_Peak is the output signal of the first comparator, and LOS is the output signal of the latch, that is, the signal loss detection result. When the signal is lost, the latch outputs a low level; when the signal is normal, the latch outputs a high level.

Claims

1. A real-time signal loss detection circuit, characterized in that: include: An operational amplifier, a first comparator, a second comparator, a clock circuit, a clock processing circuit, an edge detection circuit, a signal median detection circuit and a latch; The signal REF is connected to the positive input terminal of the operational amplifier, and the negative input terminal of the operational amplifier is connected to the output terminal, the first comparator and the positive input terminal of the second comparator to obtain the signal REF_Buf; the negative input terminal of the second comparator is connected to the loss detection voltage V LOS The output terminal of the second comparator outputs the signal REF_Peak and connects to the latch D terminal; the inverting input terminal of the first comparator is connected to the square wave conversion voltage V SC ; The output end of the first comparator outputs a signal REF_SW, the output end of the first comparator and the signal end of the clock circuit CLK1 are connected to the input end of the edge detection circuit, the output end of the edge detection circuit outputs a signal REF_Edge, the output end of the edge detection circuit and the signal end of the clock circuit CLK1 are connected to the clock processing circuit to generate clock signals CLK2 and CLK3; the signal end of the clock circuit CLK1, the signal end of the clock processing circuit CLK2, the signal end of the clock processing circuit CLK3 and the output end of the edge detection circuit are connected to the input end of the median detection circuit, the output end of the median detection circuit outputs a signal REF_Mid and is connected to the E end of the latch, and the output end of the latch outputs a loss signal LOS.

2. A signal loss real-time detection circuit according to claim 1, characterized in that: The operational amplifier adopts a two-stage amplification structure.

3. The real-time signal loss detection circuit according to claim 1, characterized in that: The first comparator and the second comparator adopt a two-stage open-loop structure.

4. The real-time signal loss detection circuit according to claim 1, characterized in that: The clock circuit includes inverters INV1 to INV5, capacitors C1 and C2; The input end of INV1 is connected to the output end of INV4 and the input end of INV5, the output end is connected to the input end of INV2 and one end of C1, the other end of C1 is connected to GND, the output end of INV2 is connected to the input end of INV3, the output end of INV3 is connected to the input end of INV4 and one end of C2, the other end of C2 is connected to GND, and the output end of INV5 outputs the clock signal CLK1.

5. The real-time signal loss detection circuit according to claim 1, characterized in that: The edge detection circuit includes D flip-flops DFF1-DFF2, a 2-input XOR gate XOR1; The D terminal of DFF1 receives the signal REF_SW, the Clk terminals of DFF1 and DFF2 receive the signal CLK1, the Q terminal of DFF1 is connected to the D terminal of DFF2 and the input terminal of XOR1, the Q terminal of DFF2 is connected to the input terminal of XOR1, and the output terminal of XOR1 outputs the signal REF_Edge.

6. The real-time signal loss detection circuit according to claim 1, characterized in that: The clock processing circuit includes D flip-flops DFF1 to DFF3 with a clear terminal and a D flip-flop DFF4 without a clear terminal, a 2-input NAND gate NAND1, a 3-input NAND gate NAND2, a 2-input NOR gates NOR1 to NOR3, a 3-input NOR gate NOR4, an inversion gate INV1 and a 2-input XOR gate XOR1; The Clk terminal of DFF1~DFF4 is connected to the signal CLK1; The CLR terminal of DFF1~DFF3 is connected to the REF_Edge signal; The D end of DFF1 is connected to the output end of NOR2 and the input end of NOR3, the Q end of DFF1 is connected to the D end of DFF2, NAND2 and the input end of NOR4, and the Q non-end of DFF1 is connected to the input end of NAND1 and NOR1; The Q end of DFF2 is connected to the D end of DFF3, the input end of NAND2 and NOR4, and the Q non-end of DFF2 is connected to the input end of NAND1; The Q terminal of DFF3 is connected to the input terminals of NAND2, NOR1 and NOR4; The D terminal of DFF4 is connected to the output terminal of XOR1, and the Q terminal outputs the signal CLK3; The output end of NAND1 is connected to the input end of XOR1 and the output signal CLK2; The output of NOR1 is connected to the input of XOR1; The output end of NAND2 is connected to the input end of INV1; The output of NOR4 is connected to the input of NOR3; The output of INV1 is connected to the input of NOR2; The output terminal of NOR3 is connected to the input terminal of NOR2.

7. The real-time signal loss detection circuit according to claim 1, characterized in that: The signal median detection circuit includes D flip-flops DFF1 to DFF14 with clear terminals, D latches LA1 to LA10, inverters INV1 to INV3, 5-input NOR gates NOR1 to NOR2, and 4-input AND gate AND1; The input end of the invertor INV1 is connected to the signal REF_Edge; The output of INV1 is connected to the input of INV2 and the CLR of DFF3; The input terminal of INV3 and the Clk terminal of DFF2 are connected to the signal CLK1; The output of INV3 is connected to the Clk terminals of DFF1 and DFF3; The D end of DFF1 is connected to the output end of INV2, the Q end is connected to the D end of DFF2, the non-Q end is connected to the E ends of LA1 to LA10, and the CLR end is connected to the Q end of DFF2 and the D end of DFF3; The CLR terminal of DFF2 is connected to GND; The Q end of DFF3 is connected to the CLR end of DFF4 to DFF14; The D terminal of DFF4 is connected to the Q terminal, the Clk terminal of DFF5 and the input terminal of XOR1, and the Clk terminal is connected to the signal CLK2; The D terminal of DFF5 is connected to the Q terminal, the Clk terminal of DFF6, the input terminal of XOR2 and the D terminal of LA1; The D terminal of DFF6 is connected to the Q terminal, the Clk terminal of DFF7, the input terminal of XOR3 and the D terminal of LA2; The D terminal of DFF7 is connected to the Q terminal, the Clk terminal of DFF8, the input terminal of XOR4 and the D terminal of LA3; The D terminal of DFF8 is connected to the Q terminal, the Clk terminal of DFF9, the input terminal of XOR5 and the D terminal of LA4; The D terminal of DFF9 is connected to the Q terminal, the Clk terminal of DFF10, the input terminal of XOR6 and the D terminal of LA5; The D terminal of DFF10 is connected to the Q terminal, the Clk terminal of DFF11, the input terminal of XOR7 and the D terminal of LA6; The D terminal of DFF11 is connected to the Q terminal, the Clk terminal of DFF12, the input terminal of XOR8 and the D terminal of LA7; The D terminal of DFF12 is connected to the Q terminal, the Clk terminal of DFF13, the input terminal of XOR9 and the D terminal of LA8; The D terminal of DFF13 is connected to the Q terminal, the Clk terminal of DFF14, the input terminal of XOR10 and the D terminal of LA9; The D terminal of DFF14 is connected to the Q terminal, the input terminal of AND1 and the D terminal of LA10; The Q terminal of LA1 is connected to the input terminal of XOR1; The Q terminal of LA2 is connected to the input terminal of XOR2; The Q terminal of LA3 is connected to the input terminal of XOR3; The Q terminal of LA4 is connected to the input terminal of XOR4; The Q terminal of LA5 is connected to the input terminal of XOR5; The Q terminal of LA6 is connected to the input terminal of XOR6; The Q terminal of LA7 is connected to the input terminal of XOR7; The Q terminal of LA8 is connected to the input terminal of XOR8; The Q terminal of LA9 is connected to the input terminal of XOR9; The Q terminal of LA10 is connected to the input terminal of XOR10; The output of XOR1 is connected to the input of NOR2; The output of XOR2 is connected to the input of NOR2; The output of XOR3 is connected to the input of NOR2; The output of XOR4 is connected to the input of NOR2; The output of XOR5 is connected to the input of NOR2; The output of XOR6 is connected to the input of NOR1; The output of XOR7 is connected to the input of NOR1; The output of XOR8 is connected to the input of NOR1; The output of XOR9 is connected to the input of NOR1; The output of XOR10 is connected to the input of NOR1; The output of NOR1 is connected to the input of AND1; The output of NOR2 is connected to the input of AND1; The input terminal of AND1 receives the signal CLK3, and the output terminal outputs the signal OUT.

8. A real-time signal loss detection method, characterized in that: The method adopts the real-time signal loss detection circuit described in any one of claims 1 to 7. The method is as follows: REF is an input signal to be detected, and an operational amplifier receives the input signal without distortion to obtain a signal REF_Buf; a first comparator is used to convert the signal REF_Buf into a square wave signal REF_SW with a duty cycle of 50%, and a second comparator is used to detect whether the amplitude of the signal REF_Buf meets the system requirements to obtain a square wave signal REF_Peak; the signal REF_SW enters an edge detection circuit to obtain an edge detection signal REF_Edge, a clock circuit and a clock processing circuit are used to generate clock signals CLK1 to CLK3, which are input into a subsequent median detection circuit to generate a median signal REF_Mid; finally, the signals REF_Peak and REF_Mid enter a latch to obtain a signal loss detection result; when the signal is lost or is lower than a set value V LOS When the signal is not lost or higher than the set value V LOS When , the latch outputs a high level.

Citation Information

Patent Citations

  • Signal loss detector for high-speed serial interface of a programmable logic device

    CN101359033A

  • Loss of signal detector with PVT compensation

    CN110780190A

  • Reference clock loss detection circuit and detection method

    CN112305413A

  • High-speed serial signal loss detection circuit

    CN112345820A

  • System for accurately detecting amplitude of input signal

    CN113608111A