Circuit for generating differential reference voltages, circuit for detecting signal peak, and electronic device
10855264 ยท 2020-12-01
Assignee
Inventors
- Cheng Tao (Anhui, CN)
- Xiangyu Ji (Anhui, CN)
- Yu Chen (Anhui, CN)
- Jiaxi Fu (Anhui, CN)
- Haiyan Wei (Anhui, CN)
Cpc classification
H03F2203/45156
ELECTRICITY
H03F2203/45022
ELECTRICITY
H03F2203/45008
ELECTRICITY
H03F3/45179
ELECTRICITY
International classification
H03K5/153
ELECTRICITY
Abstract
A circuit for generating differential reference voltages, a circuit for detecting a signal peak, and an electronic device. In the circuit for generating reference voltages, a common-mode extraction circuit receives a first differential signal and a second differential signal, extracts a common-mode level from the first differential signal and the second differential signal, and applies the common-mode level to a non-inverting input terminal of a first operational amplifier. The first operational amplifier, a main control switch, a first voltage dividing resistor, a second voltage dividing resistor, and a first direct current power source constitute a feedback loop, to generate differential reference voltages matching with the common-mode level. Adjusting a current provided by the first direct current power source can change the differential reference voltages, obtaining a reference for to-be-detected amplitude of the signals. Signal amplitude is detected with high precision, and detection reliability of a peak detecting circuit is improved.
Claims
1. A circuit for generating differential reference voltages, comprising: a common-mode extraction circuit, wherein a first input terminal of the common-mode extraction circuit is configured to receive a first differential signal, a second input terminal of the common-mode extraction circuit is configured to receive a second differential signal, and an output terminal of the common-mode extraction circuit serves as a first output terminal of the circuit for generating differential reference voltages; a first operational amplifier, wherein a non-inverting input terminal of the first operational amplifier is connected to the output terminal of the common-mode extraction circuit; a main control switch, wherein a control terminal of the main control switch is connected to an output terminal of the first operational amplifier, and an input terminal of the main control switch is connected to a first power source; a first voltage dividing resistor, wherein a first terminal of the first voltage dividing resistor is connected to an output terminal of the main control switch, and a second terminal of the first voltage dividing resistor is connected to an inverting input terminal of the first operational amplifier, the first terminal of the first voltage dividing resistor serves as a second output terminal of the circuit for generating differential reference voltages, and the second terminal of the first voltage dividing resistor serves as a third output terminal of the circuit for generating differential reference voltages; a second voltage dividing resistor, wherein a first terminal of the second voltage dividing resistor is connected to the second terminal of the first voltage dividing resistor, and a second terminal of the second voltage dividing resistor serves a fourth output terminal of the circuit for generating differential reference voltages; and a first direct current power source, wherein a first terminal of the first direct current power source is connected to a second terminal of the second voltage dividing resistor, a second terminal of the first direct current power source is grounded, and a current supplied by the first direct current power source is adjustable.
2. The circuit for generating differential reference voltages according to claim 1, wherein the common-mode extraction circuit comprises: a first common-mode extraction resistor, wherein a first terminal of the first common-mode extraction resistor serves as the first input terminal of the common-mode extraction circuit; and a second common-mode extraction resistor, wherein a first terminal of the second common-mode extraction resistor is connected to a second terminal of the first common-mode extraction resistor at a common node, a second terminal of the second common-mode extraction resistor serves as the second input terminal of the common-mode extraction circuit, and the common node serves as the output terminal of the common-mode extraction circuit.
3. The circuit for generating differential reference voltages according to claim 1, wherein the main control switch is a PMOS (p-channel metal-oxide-semiconductor) transistor.
4. A circuit for detecting a signal peak, comprising the circuit for generating differential reference voltages according to claim 1.
5. The circuit for detecting the signal peak according to claim 4, further comprising an amplification-rectification circuit, wherein the amplification-rectification circuit comprises: a second direct current power source; a first switch transistor, a second switch transistor, and a third switch transistor that are connected in parallel; a fourth switch transistor, a fifth switch transistor, and a sixth switch transistor that are connected in parallel; and a first capacitor; wherein a first common terminal of the first switch transistor, the second switch transistor, and the third switch transistor is connected to a first terminal of the second direct current power source, and a second common terminal of the first switch transistor, the second switch transistor and the third switch transistor is connected to a second power source; wherein a first common terminal of the fourth switch transistor, the fifth switch transistor, and the sixth switch transistor are connected to the first terminal of the second direct current power source, and a second common terminal of the fourth switch transistor, the fifth switch transistor, and the sixth switch transistor are connected to the second power source; wherein a second terminal of the second direct current power source is grounded; wherein a first terminal of the first capacitor is connected to the second common terminal of the first switch transistor, the second switch transistor, and the third switch transistor, a second terminal of the first capacitor is connected to the second common terminal of the fourth switch transistor, the fifth switch transistor and the sixth switch transistor; wherein the first terminal of the first capacitor serves as a first output terminal of the amplification-rectification circuit, and the second terminal of the first capacitor serves as a second output terminal of the amplification-rectification circuit; and wherein a control terminal of the first switch transistor is configured to receive the first differential signal, a control terminal of the second switch transistor is configured to receive the second differential signal, a control terminal of the third switch transistor is connected to the third output terminal of the circuit for generating differential reference voltages, a control terminal of the fourth switch transistor is connected to the first output terminal of the circuit for generating differential reference voltages, a control terminal of the fifth switch transistor is connected to the fourth output terminal of the circuit for generating differential reference voltages, and a control terminal of the sixth switch transistor is connected to the second output terminal of the circuit for generating differential reference voltages.
6. The circuit for detecting the signal peak according to claim 5, wherein: the third switch transistor comprises a first sub-switch transistor and a second sub-switch transistor that are connected in parallel, wherein first sub-switch transistor and the second sub-switch transistor are identical in specifications, and the fourth switch transistor comprises a third sub-switch transistor and a fourth sub-switch transistor that are connected in parallel, wherein the third sub-switch transistor and the fourth sub-switch transistor are identical in specifications.
7. The circuit for detecting the signal peak according to claim 5, further comprising: a filter circuit, arranged between the second power source and the amplification-rectification circuit; wherein the filter circuit comprises the first capacitor, a first filter resistor, and a second filter resistor; a first terminal of the first filter resistor is connected to the second power source, and a second terminal of the first filter resistor is connected to the second common terminal of the first switch transistor, the second switch transistor, and the third switch transistor; and a first terminal of the second filter resistor is connected to the second power source, and a second terminal of the second filter resistor is connected to the second common terminal of the fourth switch transistor, the fifth switch transistor, and the sixth switch transistor.
8. The circuit for detecting the signal peak according to claim 5, further comprising: a comparator, wherein a non-inverting input terminal of the comparator is connected to the first output terminal of the amplification-rectification circuit, and an inverting input terminal of the comparator is connected to the second output terminal of the amplification-rectification circuit.
9. The circuit for detecting the signal peak according to claim 5, wherein: each of the first switch transistor, the second switch transistor, the third switch transistor, the fourth switch transistor, the fifth switch transistor, and the sixth switch transistor is an NMOS (n-channel metal-oxide-semiconductor) transistor.
10. An electronic device, comprising the circuit for detecting the signal peak according to claim 4.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) For clearer illustration of the technical solutions according to embodiments of the present disclosure or conventional techniques, hereinafter are briefly described the drawings to be applied in embodiments of the present disclosure or conventional techniques.
(2) Apparently, the drawings in the following descriptions are only some embodiments of the present disclosure, and other drawings may be obtained by those skilled in the art based on the provided drawings without creative efforts.
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(11) Hereinafter technical solutions in embodiments of the present disclosure are described clearly and completely in conjunction with the drawings in embodiments of the present closure. Apparently, the described embodiments are only some rather than all of the embodiments of the present disclosure. Any other embodiments obtained based on the embodiments of the present disclosure by those skilled in the art without any creative effort fall within the scope of protection of the present disclosure.
(12) Reference is made to
(13) The circuit shown in
(14) Reference is made to
(15) Accordingly, an issue of how to improve reliability of a detection result of a peak detecting circuit is converted into an issue of how to provide accurate and reliable to-be-detected amplitude V.sub.amp of the signals to a comparator in a circuit for detecting a signal peak.
(16) In order to address the above issue, a circuit for generating differential reference voltages is provided according to an embodiment of the present disclosure. Referring to
(17) A first input terminal of the common-mode extraction circuit 101 is configured to receive a first differential signal RX+. A second input terminal of the common-mode extraction circuit 101 is configured to receive a second differential signal RX. An output terminal of the common-mode extraction circuit 101 serves as a first output terminal of the circuit for generating differential reference voltages, and outputs a common-mode level V.sub.cmi.
(18) A non-inverting input terminal of the first operational amplifier OP is connected to the output terminal of the common-mode extraction circuit 101. An inverting input terminal of the first operational amplifier OP is connected to a second terminal of the first voltage dividing resistor R2A. An output terminal of the first operational amplifier OP is connected to a control terminal of the main control switch MP.
(19) The control terminal of the main control switch MP is connected to the output terminal of the first operational amplifier OP. An input terminal of the main control switch MP is connected to a first power source (a voltage source). The first power source is configured to supply a current. An output terminal of the main control switch MP is connected to a first terminal of the first voltage dividing resistor R2A.
(20) The first terminal of the first voltage dividing resistor R2A is connected to the output terminal of the main control switch MP. The second terminal of the first voltage dividing resistor R2A is connected to the inverting input terminal of the first operational amplifier OP. The first terminal of the first voltage dividing resistor R2A serves as a second output terminal of the circuit for generating differential reference voltages, and is configured to provide a signal V.sub.rp. The second terminal of the first voltage dividing resistor R2A serves as a third output terminal the circuit for generating differential reference voltages, and is configured to provide a signal V.sub.cmr.
(21) A first terminal of the second voltage dividing resistor R2B is connected to the second terminal of the first voltage dividing resistor R2A. A second terminal of the second voltage dividing resistor R2B is connected to a first terminal of the first direct current power source I0. A second terminal of the first direct current power source I0 is grounded. A current supplied by the first direct current power source I0 is adjustable. The first direct current power source I0 may be regarded as a current adjustment circuit, which is configured to adjust a current flowing through the main control switch MP, the first voltage dividing resistor R2A, and the second voltage dividing resistor R2B. The second terminal of the second voltage dividing resistor R2B serves as a fourth output terminal of the circuit for generating differential reference voltages, and is configured to provide a signal V. In an embodiment, a resistance of the first voltage dividing resistor R2A is equal to a resistance of the second voltage dividing resistor R2B.
(22) In the circuit for generating differential reference voltages according to this embodiment, the common-mode extraction circuit 101 receives the differential signal RX+ and the differential signal RX via, extracts a common-mode level V.sub.cmi from the differential signal RX+ and the differential signal RX, and applies the common-mode level V.sub.cmi to the non-inverting input terminal of the first operational amplifier OP. The first operational amplifier OP, the main control switch MP, the first voltage dividing resistor R2A, the second voltage dividing resistor R2B, and the first direct current power source I0 constitute a feedback loop to generate differential reference voltages V.sub.rp, V.sub.m, and V.sub.cmr that match with the common-mode level V.sub.cmi. In order to distinguish the above three voltages. V.sub.rp is denoted as a first differential reference voltage, V.sub.m is denoted as a second differential reference voltage, and V.sub.cmr is denoted as a third differential reference voltage. The first differential reference voltage V.sub.rp represents a reference voltage for a positive swing of the differential signals, the second differential reference voltage V.sub.m represents a reference voltage for a negative swing of the differential signals, and the third differential reference voltage V.sub.cmr is equal to the common-mode level V.sub.cmi. Signals provided by the circuit for generating differential reference voltages have following relationships.
V.sub.cmr=V.sub.cmi.
V.sub.amp=I0*R2A=I0*R2B.
(23) I0 represents the current flowing through the first voltage dividing resistor R2A and the second voltage dividing resistor R2B.
V.sub.rp=V.sub.cmr+V.sub.amp=V.sub.cmi+I0*R2A.
V.sub.m=V.sub.cmrV.sub.amp=V.sub.cmiI0*R2B.
(24) From the above equations, it can be seen that the reference V.sub.am may be accurately calculated based on the resistance of the first voltage dividing resistor R2A and the second voltage dividing resistor R2B, and the current I0. V.sub.amp, V.sub.rp and V.sub.m can be changed by adjusting the current I0 via the first direct current power source I0. Thereby, the reference V.sub.amp for the to-be-detected amplitude of the signals can be obtained. Therefore, amplitude of a signal is detected with high precision according to this embodiment.
(25) In an embodiment, a structure of the common-mode extraction circuit 101 may be configured on requirement. Reference is made to
(26) A first terminal of the first common-mode extraction resistor R1A serves as the first input terminal of the common-mode extraction circuit 101.
(27) A first terminal of the second common-mode extraction resistor R1B is connected to a second terminal of the first common-mode extraction resistor R1A at a common node. A second terminal of the second common-mode extraction resistor R1B serves as the second input terminal of the common-mode extraction circuit 101. The common node between the first common-mode extraction resistor R1A and the second common-mode extraction resistor R1B serves as the output terminal of the common-mode extraction circuit 101.
(28) In an embodiment, a type of the main control switch MP may be selected on requirement. For example, the main control switch MP may be a PMOS transistor.
(29) Corresponding to the aforementioned circuit for generating differential reference voltages, a circuit for detecting a signal peak is further provided according to an embodiment of the present disclosure. The circuit for detecting the signal peak may apply any of the aforementioned circuits for generating differential reference voltages as a source of one or more differential reference voltages. The one or more differential reference voltages may include, but is not limited to, V.sub.rp, V.sub.m, V.sub.cmr and/or V.sub.amp. In an embodiment, the one or more differential reference voltages are directly applied to the technical solution as shown in
(30) In another embodiment of the present disclosure, an amplification circuit in the circuit for detecting a signal peak is further improved. An amplification-rectification circuit matched with the circuit for generating differential reference voltages is provided, which can both amplify and rectify a signal.
(31) Referring to
(32) A first terminal of the second direct current power source I1 is connected to a first common terminal of the first switch transistor M1A, the second switch transistor M1B, and the third switch transistor M1X, and further connected to a first common terminal of the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A. A second terminal of the second direct current power source I1 is grounded.
(33) The first common terminal of the first switch transistor M1A, the second switch transistor MB, and the third switch transistor M1X is connected to the first terminal of the second direct current power source I1. A second common terminal of the first switch transistor MIA, the second switch transistor M1B, and the third switch transistor M1X is connected to a second power source VDD. The second power source is a voltage source.
(34) The first common terminal of the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A is connected to the first terminal of the second direct current power source I1. A second common terminal of the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A is connected to the second power source.
(35) A first terminal of the first capacitor C1 is connected to the second common terminal of the first switch transistor M1A, the second switch transistor M1B, and the third switch transistor M1X. A second terminal of the first capacitor C1 is connected to the second common terminal of the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A. The first terminal of the first capacitor C1 serves as a first output terminal of the amplification-rectification circuit, and is configured to provide a comparing signal VX for a comparator in a subsequent stage. The second terminal of the first capacitor C1 serves as a second output terminal of the amplification-rectification circuit, and is configured to provide a comparing signal VX+ for the comparator in the subsequent stage.
(36) A control terminal of the first switch transistor MIA is configured to receive the first differential signal RX+.
(37) A control terminal of the second switch transistor M1B is configured to receive the second differential signal RX.
(38) A control terminal of the third switch transistor M1X is connected to the third output terminal of the circuit for generating differential reference voltages.
(39) A control terminal of the fourth switch transistor M2Y is connected to the first output terminal of the circuit for generating differential reference voltages.
(40) A control terminal of the fifth switch transistor M2B is connected to the fourth output terminal of the circuit for generating differential reference voltages.
(41) A control terminal of the sixth switch transistor M2A is connected to the second output terminal of the circuit for generating differential reference voltages.
(42) A direct current balancing technique is used in the amplification-rectification circuit according to this embodiment. A comparison error due to a mismatch between the common-mode level V.sub.cmi extracted from the differential signals and the reference common-mode level V.sub.cmr outputted by the feedback loop is eliminated. In a case that the third switching transistor M1X and the fourth switching transistor M2Y are not considered, the structure of the amplification-rectification circuit is identical to the structure of the circuit as shown in
(43) In the above structure, a bias current generated at the second common terminal of the first switching transistor MIA, the second switching transistor M1B, and the third switching transistor M1X, and a bias current generated at the second common terminal of the fourth switching transistor M2Y, the fifth switching transistor M2B, and the sixth switching transistor M2A are as follows.
IVX=gm*(V.sub.GS,1A+V.sub.GS,1B+2V.sub.GS,1X).
IVX+=gm*(V.sub.GS,2A+V.sub.GS,2B+2V.sub.GS,2Y)
(44) It is assumed that each of the third switch transistor M1X and the fourth switch transistor M1Y are twice each of the first switch transistor M1A, the second switch transistor M1B, the fifth switch transistor M2A, and the sixth switch transistor M2B in transconductance. In an embodiment, each of M1X and M1Y includes two sub-switch transistors that are connected in parallel. As an example shown in
(45) There are V.sub.GS,1A=V.sub.GS,1B=V.sub.cmiVM and the third switch transistor M1X satisfies V.sub.GS,1X=V.sub.cmrVM.
(46) There are V.sub.GS,2A=V.sub.GS,2B=V.sub.cmrVM, and the fourth switch transistor M2Y satisfies V.sub.GS,2Y=V.sub.cmiVM.
(47) The following equations can be deduced.
IVX=2*gm*(V.sub.cmi+V.sub.cmr2VM)=4*gm*(V.sub.cmiVM+0.5*Vos).
IVX+=2*gm*(V.sub.cmr+V.sub.cmi2VM)=4*gm*(V.sub.cmiVM+0.5*Vos).
(48) From the above two equations, it can be seen that the bias currents flowing through two second common terminals of the switching transistors in the amplification-rectification circuit are same. Therefore, the mismatch between V.sub.cmr and V.sub.cmi is eliminated. An operation process of the amplification-rectification circuit is as follows. In a case that the the inputted differential signal RX+ and the differential signal RX is higher (or lower) than the differential reference amplitudes V.sub.rp and V.sub.m in amplitude, the current flowing from I1 to the terminal VX is greater (or less) than the current flowing from I1 to the terminal VX+. Consequently, VX+ is greater than (or less than) VX, and an output of the comparator in the subsequent stage is immediately flipped from logic 0 (or 1) to logic 1 (or 0). Thereby, an event of signal amplitude detection is completed.
(49) Further, in an embodiment of the present disclosure, the circuit for detecting a signal peak may further include a filter circuit arranged between the second power source and the amplification-rectification circuit, so as to ensure stability of the signals VX and VX+ outputted by the amplification-rectification circuit.
(50) The filter circuit includes the first capacitor C1, a first filter resistor R3A, and a second filter resistor R3B. A first terminal of the first filter resistor R3A is connected to the second power source, and a second terminal of the first filter resistor R3A is connected to the second common terminal of the first switch transistor MIA, the second switch transistor M1B, the third switch transistor M1X. A first terminal of the second filter resistor R3B is connected to the second power source, and a second terminal of the second filter resistor R3B is connected to the second common terminal of and the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A.
(51) Further, in an embodiment of the present disclosure, a comparator may be included in the circuit for detecting the signal peak. Referring to
(52) In an embodiment of the present disclosure, types of the first switch transistor MIA, the second switch transistor M1B, the third switch transistor M1X, the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A may be configured on requirement. For example, each of the first switch transistor MIA, the second switch transistor M1B, the third switch transistor M1X, the fourth switch transistor M2Y, the fifth switch transistor M2B, and the sixth switch transistor M2A may be a NMOS transistor.
(53) Based the above various embodiments, hereinafter a technical solution according to an embodiment of the present disclosure is briefly described with reference to
(54) To-be-detected amplitude of an inputted signal may be small. Thereby, in order to improve detection accuracy, the amplification-rectification circuit receives the inputted differential signals RX+ and RX. The amplification-rectification circuit further receives the amplitude threshold signal V.sub.rp, the amplitude threshold signal V.sub.m, and the common-mode voltage V.sub.cmi that are generated by the circuit for generating differential reference voltages. The differential signals RX+ and RX are compared and pre-amplified, so as to provide a sufficient resolution between the signal amplitude and the reference threshold for a subsequent circuit to process. The pre-amplified signals pass the amplification-rectification circuit, so that negative half-cycles of the pre-amplified signal are inverted. Then, the signal is filtered by a filter circuit to extract information on signal amplitude. The information on signal amplitude is sent to the comparator for comparison, so as to determine whether the swing amplitude V.sub.amp of the currently inputted signal reaches a differential threshold of 0.5*(V.sub.rpV.sub.m). In an embodiment, a high level is outputted (i.e. DETO is logic I) in case of V.sub.amp>0.5*(V.sub.rpV.sub.m), otherwise a low level is outputted (i.e. DETO is logic 0). The aforementioned modules are only defined from a perspective of functions, and the functions may be combined and integrated in practice.
(55) Further, an electronic device is provided according to an embodiment of the present disclosure. The electronic device includes the circuit for detecting the signal peak according to any one of the embodiments of the present disclosure. The electronic device includes, but is not limited to, an air conditioner, a television, a mobile phone, or the like.
(56) The embodiments of the present disclosure are described in a progressive manner, and each embodiment places emphasis on the difference from other embodiments. Therefore, one embodiment can refer to other embodiments for the same or similar parts.
(57) According to the description of the disclosed embodiments, those skilled in the art can implement or use the present disclosure. Various modifications made to these embodiments may be obvious to those skilled in the art, and the general principle defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments described herein but confirms to a widest scope in accordance with principles and novel features disclosed in the present disclosure.