Power-on-reset and phase comparator for chopper amplifiers
10727794 ยท 2020-07-28
Assignee
Inventors
Cpc classification
H03F2200/271
ELECTRICITY
H03F2200/261
ELECTRICITY
H03F2200/333
ELECTRICITY
International classification
H03F1/02
ELECTRICITY
H03L7/085
ELECTRICITY
Abstract
An apparatus includes an amplifier, an input port, a first modulator circuit connected to the input port, and a correction circuit. The correction circuit is configured to determine a common mode voltage of the input port and receive a first clock signal. The correction circuit is further configured to manipulate, based at least in part upon the common mode voltage of the input port, the first clock signal to generate a second clock signal. The second clock signal is produced for the first modulator circuit. The correction circuit is further configured to determine whether the second clock signal is out of phase with a third clock signal, and, based upon a determination that the second clock signal is out of phase with the third clock signal, reset the second clock signal.
Claims
1. An apparatus, comprising: an amplifier; an input port; a first modulator circuit connected to the input port; and a correction circuit configured to: determine a common mode voltage of the input port; receive a first clock signal; manipulate, based at least in part upon the common mode voltage of the input port, the first clock signal to generate a second clock signal, the second clock signal produced for the first modulator circuit; determine whether the second clock signal is out of phase with a third clock signal; and based upon a determination that the second clock signal is out of phase with the third clock signal, reset the second clock signal.
2. The apparatus of claim 1, further comprising a feedback port and a second modulator circuit connected to the feedback port, wherein: the third clock signal is produced for the second modulator circuit; and the correction circuit is further configured to: determine a common mode voltage of the feedback port from the second modulator circuit; determine whether a voltage event of the common mode voltage of the feedback port has occurred; and reset the second clock signal and reset the third clock signal based upon a determination: of occurrence of the voltage event of the common mode voltage of the feedback port; or that the second clock signal produced is out of phase with the third clock signal.
3. The apparatus of claim 1, further comprising a demodulator circuit connected to the amplifier, wherein the third clock signal is produced for the demodulator circuit.
4. The apparatus of claim 1, wherein the amplifier is of an operational amplifier.
5. The apparatus of claim 1, wherein the amplifier is of an instrumentation amplifier.
6. The apparatus of claim 1, wherein the correction circuit is further configured to determine whether a voltage event of the common mode voltage of the input port has occurred.
7. The apparatus of claim 6, wherein the voltage event is an undervoltage, an overvoltage event, or a transient voltage event arising from the common mode voltage of the input port.
8. The apparatus of claim 6, wherein the correction circuit is further configured to, based on a determination of occurrence of the voltage event of the common mode voltage of the input port, reset the second clock signal.
9. The apparatus of claim 1, wherein the reset of the second clock signal includes a reset of a frequency divider.
10. A method, comprising: determining a common mode voltage of an input port of an amplifier; receiving a first clock signal; manipulating, based at least in part upon the common mode voltage of the input port, the first clock signal to generate a second clock signal, the second clock signal produced for a first modulator circuit of the amplifier; determining whether the second clock signal is out of phase with a third clock signal; and based upon a determination that the second clock signal is out of phase with the third clock signal, resetting the second clock signal.
11. The method of claim 10, wherein the third clock signal is produced for a second modulator circuit of the amplifier, and the method further comprises: determining a common mode voltage of a feedback port from the second modulator circuit; determining whether a voltage event of the common mode voltage of the feedback port has occurred; and resetting the second clock signal and resetting the third clock signal based upon a determination: of occurrence of the voltage event of the common mode voltage of the feedback port; or that the second clock signal produced is out of phase with the third clock signal.
12. The method of claim 10, wherein the third clock signal is produced for a demodulator circuit of the amplifier.
13. The method of claim 10, further comprising determining whether a voltage event of the common mode voltage of the input port has occurred.
14. The method of claim 13, wherein the voltage event is an undervoltage, an overvoltage event, or a transient voltage event arising from the common mode voltage of the input port.
15. The method of claim 13, further comprising, based on a determination of occurrence of the voltage event of the common mode voltage of the input port, resetting the second clock signal.
16. The method of claim 10, wherein the reset of the second clock signal includes a reset of a frequency divider.
17. A system, comprising: an amplifier; an input port; a first modulator circuit connected to the input port; and a correction circuit configured to: determine a common mode voltage of the input port; receive a first clock signal; manipulate, based at least in part upon the common mode voltage of the input port, the first clock signal to generate a second clock signal, the second clock signal produced for the first modulator circuit; determine whether the second clock signal is out of phase with a third clock signal; and based upon a determination that the second clock signal is out of phase with the third clock signal, reset the second clock signal.
18. The system of claim 17, further comprising a feedback port and a second modulator circuit connected to the feedback port, wherein: the third clock signal is produced for the second modulator circuit; and the correction circuit is further configured to: determine a common mode voltage of the feedback port from the second modulator circuit; determine whether a voltage event of the common mode voltage of the feedback port has occurred; and reset the second clock signal and reset the third clock signal based upon a determination: of occurrence of the voltage event of the common mode voltage of the feedback port; or that the second clock signal produced is out of phase with the third clock signal.
19. The system of claim 17, wherein: the correction circuit is further configured to determine whether a voltage event of the common mode voltage of the input port has occurred; and the voltage event is an undervoltage, an overvoltage event, or a transient voltage event arising from the common mode voltage of the input port.
20. The system of claim 17, wherein the correction circuit is further configured to: determine a common mode voltage of the feedback port from the second modulator circuit; determine whether a voltage event of the common mode voltage of the feedback port has occurred; and based on a determination of occurrence of the voltage event of the common mode voltage of the input port, reset the second clock signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) Embodiments of the present disclosure include an amplifier. In an embodiment, the amplifier is an operational amplifier. In another embodiment, the amplifier is a CFIA. The amplifier includes an input port and an input modulator connected to the input port. The amplifier includes a correction circuit. The correction circuit is configured to determine a common mode voltage of the input port, receive a first clock signal, manipulatebased at least in part upon the common mode voltage of the input portthe first clock signal to generate a second clock signal, determine whether the second clock signal is out of phase with a third clock signal, and, based upon a determination that the second clock signal is out of phase with the third clock signal, reset the second clock signal. In one embodiment, the third clock signal is produced for a feedback modulator. In another embodiment, the third clock signal is produced for a demodulator. In yet another embodiment, the third clock signal is produced for the feedback modulator and a fourth clock signal is produced for the demodulator. In an embodiment, the amplifier includes a feedback port connected to the feedback modulator. In such an embodiment, the third clock signal is produced for the feedback modulator circuit, and the correction circuit is further configured to determine a common mode voltage of the feedback port from the feedback modulator circuit, determine whether a voltage event of the common mode voltage of the feedback port has occurred, and reset the second clock signal and reset the third clock signal based upon a determination of occurrence of the voltage event of the common mode voltage of the feedback port, or that the second clock signal produced is out of phase with the third clock signal. In an embodiment wherein the amplifier includes the demodulator circuit, the configuration circuit is configured to compare the second clock signal with the clock signal generated for the demodulator circuit and, if they are not equal, reset the input modulator circuit. In a further embodiment, the correction circuit is configured to also reset the demodulator circuit and a feedback modulator circuit, if present. In an embodiment, the correction circuit is configured to determine whether a voltage event of the common mode voltage of the input port has occurred. In a further embodiment, the voltage event is one of an undervoltage, an overvoltage event, or a transient voltage event arising from the common mode voltage of the input port. In another, further embodiment, the correction circuit is further configured to, based on a determination of occurrence of the voltage event of the common mode voltage of the input port or of the common mode voltage of the feedback port, reset one or more of the second clock signal, the third clock signal, and the fourth clock signal. In various embodiments, the reset of the clock signals includes a reset of a frequency divider. In various embodiments, the clock signals are configured to switch inputs controlled by the modulator and demodulator circuits. In various embodiments, the clock signals are be configured to drive gates of transistors in the modulator and demodulator circuits.
(9)
(10) CFIA 102 may include two input ports for input voltageV.sub.IN+ and V.sub.INand two input ports for feedback voltageV.sub.FB and V.sub.REF. Input voltage may be described by V.sub.CM 104 and voltage sources 106A, 106B. Feedback voltage may be received from output voltage V.sub.OUT 108 fed back to the V.sub.FB terminal through a resistor network including resistors R.sub.F 110 and R.sub.G 112. A top terminal of R.sub.F 110 may be connected to V.sub.OUT 108. A bottom terminal of R.sub.F 110 may be connected to a top terminal of R.sub.G 112. The bottom terminal of R.sub.F 110 may further be connected to the V.sub.FB input terminal of CFIA 102. The bottom terminal of R.sub.G 112 may be connected to the reference voltage, V.sub.REF 114, which may also be input into CFIA 102 at the V.sub.REF terminal.
(11) CFIA 102 may include two input stages. Each input stage may include a respective transconductor 124, 126. Transconductors 124, 126 may be assigned, respectively to input ports V.sub.IN+ and V.sub.IN and feedback ports V.sub.FB and V.sub.REF. Transconductors 124, 126 may each be a voltage-to-current converter whose output may be summed in a current domain and passed to a second stage amplifier 120. The output of each of transconductors 124, 126 may be a differential output. This output may be prone to errors such as offset voltage, low-frequency noise or 1/f noise (e.g. flicker noise), and gain error. To correct for offset voltage and flicker noise errors of transconductors 124, 126, one method is to use chopping, whereby modulators such as input modulator 122 and feedback modulator 128 may be used at the inputs of transconductors 124, 126, respectively. Modulators 122, 128 may thus be the choppers of CFIA 102 implemented as a chopper CFIA. The summed output of transconductors 124, 126 may be passed to a demodulator 118 at the input of amplifier 120.
(12) Modulators 122, 128 may be configured to periodically swap their positive and negative inputs. Demodulator 118 may be configured to undo the operations of modulators 122, 128. Such operations may be controlled by a common clock. The common clock may be a received clock, or may be generated by, for example, an oscillator 116. Modulators 122, 128 and demodulator 118 may be implemented by analog circuitry, digital circuitry, or any combination thereof. For example, modulators 122, 128 may be implemented by metal oxide semiconductor (MOS) transistors. Implementations of modulators 122, 128 are shown in further detail below in
(13) Oscillator 116 may be implemented in any suitable manner, such as by an R-C circuit, analog circuitry, digital circuitry, or any combination thereof. Oscillator 116 may be configured to issue a clock signal CLK to other elements of CFIA 102. CLK may be provided to input SSD circuit 130, demodulator SSD circuit 134, and feedback SSD circuit 132. Input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134 may be configured to manipulate CLK to drive gate terminals of transistors in modulators 122, 128 and demodulator 118. Input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134 may each generate two separate signalsreferred to generally as .sub.1 and .sub.2. The signals .sub.1 and .sub.2 may be generated through manipulation of CLK, such as level-shifting and frequency dividing CLK. The signals .sub.1 and .sub.2 may be configured to control the operation of modulators 122, 128 and demodulator 118. Specifically, input SSD circuit 130 may be configured to generate 1, and .sub.2i, feedback SSD circuit 132 may be configured to generate .sub.1f and .sub.2f, and demodulator SSD circuit 134 may be configured to generate .sub.1d and .sub.2d. A given pair of .sub.1 and .sub.2 signals may be the inverse, complement, or 180 phase-shifted version of each other. For example, .sub.1d and .sub.2d may each be square waves of a same frequency and amplitude that are the inverse of each other.
(14) Modulators 122, 128 may be configured to periodically swap the respective negative and positive inputs of transconductors 124, 126. By swapping positive and negative inputs of transconductors 124, 126, offset voltages and flicker noise may be corrected. Offset voltages may be an error caused by any mismatch between the positive and negative paths within transconductors 122, 128 or demodulator 118, caused by mismatches in production of circuits or transistors implementing such positive and negative paths. Ideally, such paths would be completely symmetrical without an offset, but in practice an offset may occur because transistors cannot be produced that are identical. Flicker noise may be low frequency noise for which the noise power is inversely proportional to the frequency. Because flicker noise is inversely proportional to frequency, flicker noise is largest at low frequencies, such as those frequencies close to DC.
(15) Modulators 122, 128 may be configured to periodically swap the respective negative and positive inputs of transconductors 124, 126 at a rate equal to half (or less) of the frequency of CLK. The positive and negative inputs of transconductors 124, 126 may be swapped by application of respective .sub.1 and .sub.2 signals to gates of transistors of modulators 122, 128. The .sub.1 and .sub.2 signals may be based in part upon common mode voltage sensing of inputs of transconductors 124, 126 performed by input SSD circuit 130 and feedback SSD circuit 132. For example, .sub.1i and .sub.2i may be generated by input SSD circuit 130 based at least in part upon common mode voltage sensed at the inputs of transconductor 124. .sub.1f and .sub.2f may be generated by feedback SSD circuit 132 based upon common-mode voltage sensed at the inputs of transconductor 126. .sub.1d and .sub.2a may be generated by demodulator SSD circuit 134 based upon common-mode voltage sensed at the inputs of amplifier 120. Demodulator 118 may be configured to periodically swap the respective negative and positive inputs of amplifier 120 at a rate equal to half (or less) of the frequency of CLK. The positive and negative inputs of amplifier 120 may be swapped by application of respective .sub.1d and .sub.2d signals to gates of transistors of demodulator 118. A positive input of amplifier 120 may be otherwise connected to a negative output of transconductor 124 and a positive output of transconductor 126. A negative input of amplifier 120 may be otherwise connected to a positive output of transconductor 124 and a negative output of transconductor 126. By swapping positive and negative inputs of amplifier 120, offset voltages and flicker noise may be corrected. Demodulator 118 may be configured to periodically swap the respective negative and positive inputs of amplifier 120 at a rate according to the frequency of control signals .sub.1d and .sub.2d, which are half (or less) of CLK, as will be explained further below. Demodulator 118 may be implemented by a series of switches or transistors to swap positive and negative inputs of amplifier 120. The switches or transistors may be controlled by .sub.1d and .sub.2d signals.
(16) In one embodiment, input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134 may be configured to provide information to a correction circuit 101. For example, input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134 may be configured to provide information (labeled SSD.sub.out in
(17) Correction circuit 101 may be configured to reset portions of input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134. Such a reset may be applied to frequency manipulation circuits of input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134. Resetting may be based upon .sub.1 and .sub.2 signals from input SSD circuit 130, feedback SSD circuit 132, and demodulator SSD circuit 134 being out of phase with one another, or upon power-on transient conditions that are detected.
(18)
(19) CLK, issued by oscillator 116, may be a square wave at a given frequency oscillating between 0V and V.sub.DD, where V.sub.DD may be a supply voltage for the oscillator, which may typically be five volts or less. The clock signal may be received at CK level shifters 204, 210, 216.
(20) CM sensing circuit 206 may be configured to detect a common mode voltage as an input into transconductor 124. In particular, CM sensing circuit 206 may be configured to detect a common mode voltage that appears on inputs V.sub.IN and V.sub.IN+. CM sensing circuit 206 may be configured to monitor any point between the terminals V.sub.IN and V.sub.IN+ and transconductor 124. CM sensing circuit 206 may be configured to output the detected level of common mode voltage, V.sub.CMI. CM sensing circuit 206 may be configured to pass the V.sub.CMI voltage to CK level shifter 204. Moreover, CM sensing circuit 206 may be configured to output another voltage to CK level shifter 204 equal to \Tom plus an offset voltage, V.sub.CK. V.sub.CK may be the amplitude of CLK after level-shifting operations performed by CK level shifter 204. The voltages V.sub.CMI and (V.sub.CMI+V.sub.CK) may act as power supplies to CK level shifter 204 and to frequency divider 202 (power supply connection to frequency divider 202 not shown).
(21) CK level shifter 204 may be configured to shift voltage levels of the received clock signal CLK to a voltage domain matching the common-mode voltage level of received input voltage for CFIA 102. CLK, as received, may oscillate between 0V and V.sub.DD. The voltage level to which CLK may be shifted may be the sensed common-mode voltage of the input port, which is V.sub.CMI and may be given by (V.sub.IN++V.sub.IN)/2. The resulting signal after such shifting may be denoted as CLk.sub.is. CK level shifter 204 may be powered by voltage rails V.sub.CMI and (V.sub.CMI+V.sub.CK). Thus, the minimum value of CLK.sub.is may be V.sub.CMI and the maximum value may be (V.sub.CMI+V.sub.CK). The amplitude of CLK.sub.is may be V.sub.CK.
(22) CK level shifter 204 may be configured to provide CLK.sub.is to frequency divider 202. Frequency divider 202 may be configured to divide the frequency of CLK.sub.is. For example, frequency divider 202 may divide the frequency of CLK.sub.is by two. Frequency divider 202 may ensure that the resulting divided signal clock has a 50% duty cycle after level shifting. Level shifting performed by CK level shifter 204 may have corrupted the signal. If the resulting signal does not have a 50% duty cycle, incomplete offset correction and gain error may result. Frequency division may be implemented in any suitable manner.
(23) Frequency divider 202 may be configured to divide the frequency of CLK.sub.is and provide the result thereof. This divided-frequency signal may be given as .sub.1i. Furthermore, frequency divider 202 may be configured to output .sub.2i, which may be a complementary signal that is 180 phase-shifted from .sub.1i. Frequency divider 202 may be configured to provide .sub.1i and .sub.2i to gates of different transistors of modulator 122 so that inputs to transconductor 124 are periodically reversed.
(24) Modulator 122 may be implemented in any suitable manner. For example, modulator 122 may include MOS transistors M1-M4. The source of M1 and the source of M2 may be connected to V.sub.IN+. The source of M3 and the source of M4 may be connected to V.sub.IN. The drain of M1 and the drain of M3 may be connected to the positive input of transconductor 124. The drain of M2 and the drain of M4 may be connected to the negative input of transconductor 124. The gates of M1 and M4 may be connected to .sub.1i while the gates of M2 and M3 may be connected to .sub.2i. Accordingly, in operation when .sub.1i is high and .sub.2i is low, V.sub.IN+ may be routed through M1 to the positive input of transconductor 124 and V.sub.IN may be routed through M4 to the negative input of transconductor 124. When .sub.1i is low and .sub.2i is high, V.sub.IN+ may be routed through M2 to the negative input of transconductor 124 and V.sub.IN may be routed through M3 to the positive input of transconductor 124. Thus, input from V.sub.IN+ and V.sub.IN may be periodically swapped as-applied to the positive and negative inputs of transconductor 124.
(25) Feedback SSD circuit 132 may be implemented in a similar manner to input SSD circuit 130. In feedback SSD circuit 132, CM sensing circuit 212 may be configured to detect a common mode voltage as an input into transconductor 126. In particular, CM sensing circuit 212 may be configured to detect a common mode voltage that appears on inputs V.sub.FB and V.sub.REF. CM sensing circuit 212 may be configured to monitor any point between the terminals V.sub.FB and V.sub.REF and transconductor 126. CM sensing circuit 212 may be configured to output the detected level of common mode voltage, V.sub.CMF. CM sensing circuit 212 may be configured to pass the V.sub.CMF voltage to CK level shifter 210. Moreover, CM sensing circuit 212 may be configured to output another voltage to CK level shifter 210 equal to V.sub.CMF plus an offset voltage, V.sub.CK. V.sub.CK may be the amplitude of CLK after level-shifting operations performed by CK level shifter 210. There is no requirement that the amplitude of CLK after level-shifting operations performed by CK level shifter 210 be the same as the amplitude of CLK after level-shifting operations by CK level shifter 204. The voltages V.sub.CMF and (V.sub.CMF+V.sub.CK) may act as power supplies to CK level shifter 210 and to frequency divider 208 (power supply connection to frequency divider 208 not shown).
(26) CK level shifter 210 may be configured to shift voltage levels of the received clock signal CLK to a voltage domain matching the common-mode voltage level of received feedback voltage for CFIA 102. CLK, as received, may oscillate between 0V and V.sub.DD. The voltage level to which CLK may be shifted may be the sensed common-mode voltage of the feedback port, which is V.sub.CMF and may be given by (V.sub.FB+V.sub.REF)/2. The resulting signal after such shifting may be denoted as CLK.sub.fs. CK level shifter 210 may be powered by voltage rails V.sub.CMF and (V.sub.CMF+V.sub.CK). Thus, the minimum value of CLK.sub.fs may be V.sub.CMF and the maximum value may be (V.sub.CMF+V.sub.CK). The amplitude of CLK, may be V.sub.CK.
(27) CK level shifter 210 may be configured to provide CLK.sub.fs to frequency divider 208. Frequency divider 208 may be configured to divide the frequency of CLK.sub.fs. For example, frequency divider 208 may divide the frequency of CLK.sub.fs by two. Frequency divider 208 may ensure that the resulting divided signal clock has a 50% duty cycle after level shifting. Level shifting performed by CK level shifter 208 may have corrupted the signal. If the resulting signal does not have a 50% duty cycle, incomplete offset correction and gain error may result. Frequency division may be implemented in any suitable manner.
(28) Frequency divider 208 may be configured to divide the frequency of CLK.sub.fs and provide the result thereof. This divided-frequency signal may be given as .sub.1f. Furthermore, frequency divider 208 may be configured to output .sub.2f, which may be a complementary signal that is 180 phase-shifted from .sub.1f. Frequency divider 208 may be configured to provide .sub.1f and .sub.2f to gates of different transistors of modulator 128 so that inputs to transconductor 126 are periodically reversed.
(29) Modulator 128 may be implemented in any suitable manner. For example, modulator 128 may include MOS transistors M5-M8. The source of M5 and the source of M6 may be connected to V.sub.FB. The source of M7 and the source of M8 may be connected to V.sub.REF. The drain of M5 and the drain of M7 may be connected to the positive input of transconductor 126. The drain of M6 and the drain of M8 may be connected to the negative input of transconductor 126. The gates of M5 and M8 may be connected to .sub.1f while the gates of M6 and M7 may be connected to .sub.2f. Accordingly, in operation when .sub.1f is high and .sub.2f is low, V.sub.FB may be routed through M5 to the positive input of transconductor 126 and V.sub.REF may be routed through M8 to the negative input of transconductor 126. When .sub.1f is low and .sub.2f is high, V.sub.FB may be routed through M6 to the negative input of transconductor 126 and V.sub.REF may be routed through M7 to the positive input of transconductor 126. Thus, input from V.sub.FB and V.sub.REF may be periodically swapped as-applied to the positive and negative inputs of transconductor 126.
(30) Demodulator SSD circuit 134 may be implemented in a similar manner to input SSD circuit 130 and feedback SSD circuit 132. In demodulator SSD circuit 134, CM sensing circuit 218 may be configured to detect a common mode voltage as an input into amplifier 120. In particular, CM sensing circuit 218 may be configured to detect a common mode voltage that appears on the positive input of amplifier 120 (negative output of transconductor 124 plus positive output of transconductor 126) and the negative input of amplifier 120 (positive output of transconductor 124 plus negative output of transconductor 126). CM sensing circuit 218 may be configured to monitor any point between the outputs of transconductors 124, 126 and inputs of amplifier 120. CM sensing circuit 218 may be configured to output the detected level of common mode voltage, V.sub.CMD. CM sensing circuit 218 may be configured to pass the V.sub.CMD voltage to CK level shifter 216. Moreover, CM sensing circuit 218 may be configured to output another voltage to CK level shifter 216 equal to V.sub.CMD plus an offset voltage, V.sub.CK. V.sub.CK may be the amplitude of CLK after level-shifting operations performed by CK level shifter 216. There is no requirement that the amplitude of CLK after level-shifting operations performed by CK level shifter 216 be the same as the amplitude of CLK after level-shifting operations by CK level shifter 204 or by CK level shifter 210. The voltages V.sub.CMD and (V.sub.CMD+V.sub.CK) may act as power supplies to CK level shifter 216 and to frequency divider 214 (power supply connection to frequency divider 208 not shown).
(31) CK level shifter 216 may be configured to shift voltage levels of the received clock signal CLK to a voltage domain matching the common-mode voltage level of inputs for amplifier 120. CLK, as received, may oscillate between 0V and V.sub.DD. The voltage level to which CLK may be shifted may be the sensed common-mode voltage of inputs of amplifier 120. The resulting signal after such shifting may be denoted as CLK.sub.ds. CK level shifter 216 may be powered by voltage rails V.sub.CMD and (V.sub.CMD+V.sub.CK). Thus, the minimum value of CLK.sub.ds may be V.sub.CMD and the maximum value may be (V.sub.CMD+V.sub.CK). The amplitude of CLK.sub.ds may be V.sub.CK.
(32) CK level shifter 216 may be configured to provide CLK.sub.ds to frequency divider 214. Frequency divider 214 may be configured to divide the frequency of CLK.sub.ds. For example, frequency divider 214 may divide the frequency of CLK.sub.ds by two. Frequency divider 214 may ensure that the resulting signal clock has a 50% duty cycle after level shifting. Level shifting performed by CK level shifter 216 may have corrupted the signal. If the resulting signal does not have a 50% duty cycle, incomplete offset correction and gain error may result. Frequency division may be implemented in any suitable manner.
(33) Frequency divider 214 may be configured to divide the frequency of CLK.sub.ds and provide the result thereof. This divided-frequency signal may be given as .sub.1d. Furthermore, frequency divider 214 may be configured to output .sub.2d, which may be a complementary signal that is 180 phase-shifted from .sub.1d. Frequency divider 208 may be configured to provide .sub.1d and .sub.2d to gates of different transistors of demodulator 118 so that inputs to amplifier 120 are periodically reversed. Demodulator 118 may be implemented in any suitable manner.
(34) Demodulator 118 may be implemented in any suitable manner. For example, demodulator 118 may include MOS transistors M9-M12. The source of M9 and the source of M10 may be connected to the negative output of transconductor 124 and positive output transconductor 126. The source of M11 and the source of M12 may be connected to the positive output of transconductor 124 and negative output of transconductor 126. The drain of M9 and the drain of M11 may be connected to the positive input of amplifier 120. The drain of M10 and the drain of M12 may be connected to the negative input of amplifier 120. The gates of M9 and M12 may be connected to .sub.1d while the gates of M10 and M11 may be connected to .sub.2d. Accordingly, in operation when .sub.1d is high and .sub.2d is low, the negative output of transconductor 124 and positive output of transconductor 126 may be routed through M9 to the positive input of amplifier 120, and the positive output of transconductor 124 and negative output of transconductor 126 may be routed through M12 to the negative input of amplifier 120. When .sub.1a is low and .sub.2d is high, the negative output of transconductor 124 and positive output of transconductor 126 may be routed through M10 to the negative input of amplifier 120, and the positive output of transconductor 124 and negative output of transconductor 126 may be routed through M11 to the positive input of amplifier 120. Thus, the negative output of transconductor 124 and the positive output of transconductor 126 on the one hand, and the positive output of transconductor 124 and negative output of transconductor 126 on the other hand, may be periodically swapped as-applied to the positive and negative inputs of amplifier 120.
(35) Input SSD circuit 130 may be configured to receive CLK and manipulate CLK in order to generate the .sub.1i and .sub.2i signals. The manipulation of CLK in order to generate the .sub.1i and .sub.2i signals may be performed at least in part through the determination or sensing of V.sub.CMI. For example, CK level shifter 204 may be configured to shift the amplitude of CLK from the range of (0 . . . V.sub.DD) to the range of (V.sub.CMI . . . V.sub.CMI+V.sub.CK). In addition, CK level shifter 204 may be powered by voltage rails V.sub.CMI and (V.sub.CMI+V.sub.CK). Furthermore, frequency divider 202 may be powered by voltage rails V.sub.CMI and (V.sub.CMI+V.sub.CK).
(36) Feedback SSD circuit 132 may be configured to receive CLK and manipulate CLK in order to generate the .sub.1f and .sub.2f signals. The manipulation of CLK in order to generate the .sub.1f and .sub.2f signals may be performed at least in part through the determination or sensing of V.sub.CMF. For example, CK level shifter 210 may be configured to shift the amplitude of CLK from the range of (0 . . . V.sub.DD) to the range of (V.sub.CMF . . . V.sub.CMF+V.sub.CK). In addition, CK level shifter 210 may be powered by voltage rails V.sub.CMF and (V.sub.CMF+V.sub.CK). Furthermore, frequency divider 208 may be powered by voltage rails V.sub.CMF and (V.sub.CMF+V.sub.CK).
(37) Demodulator SSD circuit 134 may be configured to receive CLK and manipulate CLK in order to generate the .sub.1d and .sub.2d signals. The manipulation of CLK in order to generate the .sub.1d and .sub.2d signals may be performed at least in part through the determination or sensing of V.sub.CMD. For example, CK level shifter 216 may be configured to shift the amplitude of CLK from the range of (0 . . . V.sub.DD) to the range of (V.sub.CMD . . . V.sub.CMD+V.sub.CK). In addition, CK level shifter 216 may be powered by voltage rails V.sub.CMD and (V.sub.CMD+V.sub.CK). Furthermore, frequency divider 214 may be powered by voltage rails V.sub.CMD and (V.sub.CMD+V.sub.CK).
(38)
(39) Frequency division may be performed with a D flip-flop (DFF) 304. DFF 304 clock input may be driven by the output of respective CK level shifters 204, 210, 216, and thus CLK.sub.is, CLK.sub.fs, or CLK.sub.ds, depending in which SSD circuit that frequency divider 300 is implemented. DFF 304 creates a signal on its positive output Q that is of the same amplitude but half the frequency of its clock input. The frequency division may be accomplished by routing the negative output of DFF 304 to the D input of DFF 304 in feedback fashion. DFF 304 may include a reset input to initialize the flip-flop state to a known value. DFF 304 may be configured to receive reset signals from correction circuit 101, or any other suitable correction circuit. DFF 304 may require reset if output signals of SSD circuits 130, 132, 134 are out of phase, more precisely if signals .sub.1i, .sub.1f, and .sub.1d are out-of-phase with respect to each other, or if signals .sub.2i, .sub.2f, and .sub.2d are out-of-phase with respect to each other. Moreover, DFF 304 may require reset if transient voltage steps are observed in various parts of CFIA 102. These may include power transient steps experienced in input common-mode voltage, feedback common-mode voltage, or demodulator common-mode voltage.
(40) Non-overlap circuit 306 may be connected to the output of DFF 304. Non-overlap circuit 306 may be configured to generate separate signals that may be referred to generally as .sub.1 and .sub.2. In particular, non-overlap circuit 306 may be configured to generate signals .sub.1i and .sub.2i, .sub.1f and .sub.2f, or .sub.1d and .sub.2d, depending on which SSD circuit that frequency divider 300 is implemented. Non-overlap circuit 306 may be configured to ensure that there is no overlap between signals .sub.1 and .sub.2.
(41) Frequency divider 300, including DFF 304 and non-overlap circuit 306, may be powered by voltage rails according to signals received from respective CM sensing circuits 206, 212, 218, depending in which SSD circuit that frequency divider 300 is implemented. In input SSD 130, frequency divider 300 may have a positive voltage rail of (V.sub.CMI+V.sub.CK) and a negative voltage rail of V.sub.CMI. Thus, the signals .sub.1i and .sub.2i may swing between a minimum value of \Tom and maximum value of (V.sub.CMI+V.sub.CK). The signals .sub.1i, and .sub.2i may be the inverse, complement, or 180-degree phase-shifted version of each other and have the frequency and amplitude of the output of DFF 304. The on or logical high values of the signals .sub.1i and .sub.2i might not overlap with each other because of non-overlap circuit 306, and thus not both be equal to (V.sub.CMI+V.sub.CK) at the same time.
(42) In feedback SSD 132, frequency divider 300 may have a positive voltage rail of (V.sub.CMF+V.sub.CK) and a negative voltage rail of V.sub.CMF. Thus, the signals .sub.1f and .sub.2f may swing between a minimum value of V.sub.CMF and maximum value of (V.sub.CMF+V.sub.CK). The signals .sub.1f and .sub.2f may be the inverse, complement, or 180-degree phase-shifted version of each other and have the frequency and amplitude of the output of DFF 304. The on or logical high values of the signals .sub.1f and .sub.2f might not overlap with each other because of non-overlap circuit 306, and thus not both be equal to (V.sub.CMF+V.sub.CK) at the same time.
(43) In demodulator SSD 134, frequency divider 300 may have a positive voltage rail of (V.sub.CMD+V.sub.CK) and a negative voltage rail of V.sub.CMD. Thus, the signals .sub.1d and .sub.2d may swing between a minimum value of V.sub.CMD and maximum value of (V.sub.CMD+V.sub.CK). The signals .sub.1d and .sub.2d may be the inverse, complement, or 180-degree phase-shifted version of each other and have the frequency and amplitude of the output of DFF 304. The on or logical high values of the signals .sub.1d and .sub.2d might not overlap with each other because of non-overlap circuit 306, and thus not both be equal to (V.sub.CMD+V.sub.CK) at the same time.
(44) The common-mode voltages V.sub.CMI, V.sub.CMF, and V.sub.CMD may differ. Thus, the signals .sub.1i and .sub.2i, .sub.1f and .sub.2f, and .sub.1d and .sub.2d may also differ from one another. For proper operation it may be essential that the phase of .sub.1i match the phase of .sub.1f. Furthermore, it may be essential that the phases of .sub.1i and .sub.1f match the phase of .sub.1d. Similarly, it may be essential that the phase of .sub.2i match the phase of .sub.2f. Furthermore, it may be essential that the phases of .sub.2i and .sub.2f match the phase of .sub.2d. If any such signals are out-of-phase, a positive feedback condition may arise and CFIA 102 may enter a locked-up condition. The signals .sub.1 and .sub.2 are generated by circuits in frequency divider 300 that are in turn powered by CM sensing circuits 206, 212, 218. Therefore, modulation and demodulation operation is dependent upon common mode voltages of the input and the feedback ports, and upon the output of transconductors 124, 126. A common mode transient step, jump, or other anomaly on the input port (V.sub.IN+, V.sub.IN), feedback port (V.sub.REF, V.sub.FB), on the outputs of transconductors 124, 126, or at power-up may thus cause signals .sub.1i, .sub.1f, and .sub.1d to become out of phase with each other and .sub.2i, .sub.2f and .sub.2d, to become out of phase with each other. Accordingly, correction circuit 101 may be configured to reset instances of frequency divider 300 through the reset input of DFF 304 in any such conditions to make sure that the signals remain synchronized with respect to phase.
(45)
(46) Correction circuit 400 may be configured to generate or control startup values for DFF 304 by issuing reset signals. POR circuit 406 may continuously monitor the sensed voltages V.sub.CMI and (V.sub.CMI+V.sub.CK) from input CM sensing circuit 206. POR circuit 408 may continuously monitor the sensed voltages V.sub.CMF and (V.sub.CMF+V.sub.CK) from feedback CM sensing circuit 212. POR circuit 434 may continuously monitor the sensed voltages V.sub.CMD and (V.sub.CMD+V.sub.CK) from demodulator CM sensing circuit 218. POR circuits 406, 408, 434 may monitor these voltages and generate a reset pulse if these voltages drop below preset thresholds. POR circuits 406, 408, 434 may maintain the reset pulses until the voltages return to a level above the preset thresholds. The preset thresholds may correspond to, for example, a power-on transient condition or if V.sub.CMI, V.sub.CMF or V.sub.CMD exceed their valid operating ranges.
(47) POR circuits 406, 408, 434 might not detect all cases where the .sub.1 or .sub.2 signals to drive modulators and demodulator operation become unsynchronized. The .sub.1 or .sub.2 signals may become unsynchronized, for example, due to short transient pulses on the input port or feedback port or on the supply voltage. Thus, correction circuit 400 also contains phase comparator 430 to continuously monitor .sub.1 or .sub.2 signals, or versions thereof.
(48) Frequency dividers 202, 208, 214 may generate .sub.1i, .sub.2i, .sub.1f, .sub.2f, .sub.1d, and .sub.2d signals, respectively, and pass these signals (or a subset of these signals) to phase comparator 430 via level shifters 426, 428, 440. Level shifters 426, 428, 440 may be configured to shift signals vii, .sub.2i, .sub.1f, .sub.2f, .sub.1d, and .sub.2d to a voltage level appropriate for phase comparator 430.
(49) Phase comparator 430 might only need to compare the signals of one set of signals.sub.1i, .sub.1f, and .sub.1d (as shifted by level shifters 426, 428, 440); or .sub.2i, .sub.2f, and .sub.2d (as shifted by level shifters 426, 428, 440)against each other. An error in one such set of signals would also be manifested in the other set of signals. Thus, only one set of signals.sub.1i, .sub.1f, and .sub.1d (as shifted by level shifters 426, 428, 440); or .sub.2i, .sub.2f, and .sub.2d (as shifted by level shifters 426, 428, 440)might need to be compared by phase comparator 430. Thus, level shifters 426, 428, 440 might only send shifted versions of .sub.1i, .sub.1f, .sub.1d, respectively, to phase comparator, or only send shifted versions of .sub.2i, .sub.2e, and .sub.2d, respectively, to phase comparator 430. The output of level shifters 426, 428, 440 may be referred to as .sub.i_1s, .sub.f_1s, and .sub.d_1s, respectively. The signal .sub.i_1s may include one of .sub.1i or .sub.2i. The signal .sub.f_1s may include one of .sub.1f or .sub.2f. The signal .sub.d_1s may include one of .sub.1d or .sub.2d.
(50) Phase comparator 430 may be configured to generate a reset pulse whenever phase comparator 430 detects an out-of-phase condition between one or more of: .sub.i_1s and .sub.f_1s; .sub.i_1s and .sub.d_1s; or .sub.f_1s and .sub.d_1s. In various embodiments, one, two, or all three such comparisons may be made by phase comparator. An example implementation of phase comparator 430 is shown below in
(51) If at least one of the POR circuit 406, POR circuit 408, POR circuit 434, or phase comparator 430 generates a reset pulse, logic 432 may be configured to output a reset signal that is sent to level shifters 414, 416, 438 to generate reset pulses RESET.sub.IN, RESET.sub.FB and RESET.sub.DMOD respectively. Level shifters 414, 416, 438 may be configured to match the amplitude of the reset signals to levels expected by frequency dividers 202, 208, 214. RESET.sub.IN, RESET.sub.FB and RESET.sub.DMOD pulses may be sent to the Reset inputs of DFFs in frequency dividers 202, 204, and 214. The reset pulses may be maintained until the sensed voltages on the inputs of POR circuits 406, 408, 434 return to acceptable levels, or until the out-of-phase condition detected by phase comparator 430 is removed.
(52) Correction circuit 400 may thus be configured to perform clock recovery. Correction circuit 400 may thus be configured to monitor high side supplies, including sensed common mode voltages on the input voltage and feedback input ports, and perform reset operations should these voltages exceed valid operating ranges. Correction circuit 400 may thus be configured to reset DFFs 304 of frequency dividers 202, 208, 214 in case of undervoltage (that is, a POR function). Correction circuit 400 may thus be configured to monitor clock signals and ensure that the clock signals start in-phase after a POR event. Correction circuit 400 may thus be configured to reset DFFs 304 if an out-of-phase condition is detected as a consequence of an event other than under-voltage. As a result, correction circuit 400 may be configured to ensure that all clocks are synchronized in CFIA 102, thus avoiding a positive feedback condition. A POR event or voltage event may include under-voltage, over-voltage, or power transient event.
(53) POR circuits 406, 408, 434 may be implemented by any suitable circuitry. POR circuits may include a comparator that compares a received voltage (such as V.sub.CMI+V.sub.CK or V.sub.CMF+V.sub.CK or V.sub.CMD+V.sub.CK) to a fixed reference. The reference may be, for example, 75% of an expected value. If the DC voltages (V.sub.CMI+V.sub.CK) or (V.sub.CMF+V.sub.CK) or (V.sub.CMD+V.sub.CK) drop below 75% of its expected value, the comparator output will become logic high. Output of POR circuits 406, 408, 434 may be level-shifted by level shifters 410, 412, 436 respectively, and fed as inputs to logic 432.
(54) Phase comparator 430 may be implemented by any suitable circuitry. For example, phase comparator 430 may be implemented with an XOR logic operation. The signal .sub.i_1s may be compared to .sub.f_1s and, if they are unequal, XOR logic of phase comparator 430 may be become active (high) and trigger reset signals RESET.sub.IN, RESET.sub.FB, RESET.sub.DMOD via logic 432 and level shifters 414, 416, 438. Similarly, .sub.i_1s or .sub.f_1s may be compared to .sub.d_1s and, if they are unequal, separate XOR logic may become active (high) and trigger reset signals RESET.sub.IN, RESET.sub.FB, RESET.sub.DMOD via logic 432 and level shifters 414, 416, 438.
(55) Other elements of
(56) In various embodiments, correction circuit 400 may be configured to perform only a subset of the monitoring capabilities illustrated in
(57)
(58) Phase comparator 500 may include a logic stage 550 to compare one pair of signals from the set of signals .sub.i_1s, .sub.f_1s, and .sub.d_1s, and another logic stage 552 to compare a different pair of signals from the set of signals .sub.i_1s, .sub.f_1s, and .sub.d_1s. In the example of
(59) Phase comparator 500 may receive .sub.i_1s, .sub.f_1s, and .sub.d_1s, signals from level shifters 426, 428, 440. These may be, for example, .sub.1i, .sub.1f, or .sub.1d signals level-shifted for logic operations.
(60) In logic stage 550, signals .sub.i_is and .sub.f_1s may be input to an XOR gate 502. If the .sub.i_1s and .sub.f_1s signals are out of phase with each other, then a logical high value may be issued. Resistors 504, 506, 508 may be connected in series with each other, leading to an output. Capacitors 512, 514, 516 may be placed between the terminals of each of resistors 504, 506, 508 and ground. The RC network constructed from resistors 504, 506, 508 and capacitors 512, 514, 516 may preserve the outputted logical high value sufficient to issue an output voltage value to trigger a reset signal and avoid presenting a reset signal for transients.
(61) Similarly, signals .sub.f_1s and .sub.d_1s may be input to an XOR gate 518. If the .sub.f_1s and .sub.d_1s signals are out of phase with each other, then a logical high value may be issued. Resistors 520, 522, 524 may be connected in series with each other, leading to an output. Capacitors 526, 528, 530 may be placed between the terminals of each of resistors 520, 522, 524 and ground. The RC network constructed from resistors 520, 522, 524 and capacitors 526, 528, 530 may preserve the outputted logical high value sufficient to issue an output voltage value to trigger a reset signal and avoid presenting a reset signal for transients.
(62) Output from XOR gates 502, 528 routed through the respective RC networks may be input into an OR gate 532. Thus, if .sub.i_1s and .sub.f_1s are out of phase with respect to each other, or if .sub.f_1s and .sub.d_1s are out of phase with respect to each other, phase comparator 500 may be configured to issue a reset signal on its output.
(63)
(64) Op-amp 602 may include a differential input, V.sub.IN, equal to (V.sub.IN+V.sub.IN).
(65) Input modulator 622 may be connected between the V.sub.IN ports and inputs of transconductor 624. Input modulator 622 may otherwise be implemented as an instance of modulator 122 or modulator 128. Demodulator 618 may be connected between an output of transconductor 624 and an input of a second stage amplifier 620. Demodulator 618 may otherwise be implemented as an instance of demodulator 118. Oscillator 616 may be implemented in the same manner as oscillator 116 of
(66) Op-amp 602 may include an input SSD circuit 630 and a demodulator SSD circuit 638. Input SSD circuit 630 and demodulator SSD circuit 638 may be implemented in the same manner as SSD circuits 130, 134 of
(67) Through input CM sensing circuit 632, input SSD circuit 630 may be configured to sense common-mode voltage at the input of transconductor 624. Input CM sensing circuit 632 may be configured to provide the sensed common mode voltage, V.sub.CMI, and (V.sub.CMI+V.sub.CK) to CK level shifter 634 and to frequency divider 636. CK level shifter 634 may be configured to change the voltage range of CLK according to the sensed common mode voltage in the same way as described above within the context of
(68) Through demodulator CM sensing circuit 640, demodulator SSD circuit 638 may be configured to sense common-mode voltage at the input of amplifier 620. Demodulator CM sensing circuit 640 may be configured to provide the sensed common mode voltage, V.sub.CMD, and (V.sub.CMD+V.sub.CK) to demodulator CK level shifter 642 and to demodulator frequency divider 644. Demodulator CK level shifter 644 may be configured to change the voltage range of CLK according to the sensed common mode voltage in the same way as described above within the context of
(69) As described within the context of CFIA 102, signals .sub.1d and .sub.1, may become out of phase with respect to each other. Furthermore, signals .sub.2, and .sub.2a may become out of phase with respect to each other. Correction circuit 601 may be configured to detect such conditions and send reset signals to SSD circuits 630, 638 upon such conditions or upon power-on transient conditions that are detected.
(70)
(71) Correction circuit 700 may be implemented in a similar way to correction circuit 400. Correction circuit 700 may include an input POR 706, level shifter 710, level shifter 714, demodulator POR 734, level shifter 736, level shifter 738, level shifter 726, and level shifter 740 that may be implemented in the same way as input POR 406, level shifter 410, level shifter 414, demodulator POR 434, level shifter 436, level shifter 438, level shifter 426, and level shifter 440, respectively. Correction circuit 700 may include a phase comparator 730. Correction circuit 700 may include logic 732 such as an OR gate.
(72) Input POR 706 may be configured to receive (V.sub.CMI+V.sub.CK) and V.sub.CMI from input CM sensing circuit 632. If the values of these voltages fall below certain thresholds, input POR 706 may be configured to issue a logical high reset signal that may be shifted by level shifter 710 to be applied to logic 732.
(73) POR 734 may be configured to receive (V.sub.CMD+V.sub.CK) and V.sub.CMD from demodulator CM sensing circuit 640. If the values of these voltages fall below certain thresholds, demodulator POR 734 may be configured to issue a logical high reset signal that may be shifted by level shifter 736 to be applied to logic 732.
(74) The output of level shifters 726, 740 may be referred to as .sub.i_1s and .sub.d_1s, respectively. The signal .sub.i_1s may include one of .sub.1i or .sub.2i. The signal .sub.d_1s may include one of .sub.1d or .sub.2d.
(75) Phase comparator 730 may be configured to determine whether the phases of .sub.i_1s and .sub.d_1s do not match. If the phases do not match, phase comparator 730 may be configured to issue a logical high reset signal as output. Phase comparator 730 may be implemented in any suitable embodiment. For example, phase comparator 730 may be implemented by a single logic stage of phase comparator 500, such as logic stage 550, wherein .sub.i_1s and .sub.d_1s are the inputs to XOR gate 502. In such an implementation, output of logic stage 550 may be the output of phase comparator 730.
(76) Logic 732 may be configured to issue a logical high reset signal if any of input POR circuit 706, demodulator POR circuit 734, or phase comparator 730 issues a logical high reset signal. POR circuit 706, demodulator POR circuit 734, and phase comparator 730 may be configured to continue to issue a logical high reset signal until the condition causing the reset is cleared. Logic 732 may be configured to issue its output through level shifters 714, 738, which may produce RESET.sub.IN and RESET.sub.DMOD, respectively. RESET.sub.IN may be routed to input frequency divider 636 for resetting the DFF therein. RESET.sub.DMOD may be routed to demodulator frequency divider 644 for resetting the DFF therein.
(77) Thus, as shown, embodiments of the present disclosure may be used in any amplifier, whether low-voltage or high voltage, or operational or instrumentation, that makes use of CM sensing.
(78) The elements of the correction circuits and amplifiers discussed above may be implemented with analog circuitry, digital circuitry, or any suitable combination thereof. The present disclosure has been described in terms of one or more embodiments, and it should be appreciated that many equivalents, alternatives, variations, and modifications, aside from those expressly stated, are possible and within the scope of the disclosure. While the present disclosure is susceptible to various modifications and alternative forms, specific example embodiments thereof have been shown in the drawings and are herein described in detail. It should be understood, however, that the description herein of specific example embodiments is not intended to limit the disclosure to the particular forms disclosed herein.