Time-domain comparator based on the linear impulsive width modulated
Technical field
The invention relates to a kind of time-domain comparator based on the linear impulsive width modulated, this comparator is the important module of low-power consumption analog to digital converter under the modern advanced technologies.
Technical background
Comparator is the indispensable part of analog to digital converter.The tradition comparator mainly is made up of two parts: prime amplifier (pre-amplifier) and latch (latch).Latch is used for judging the magnitude relationship of two input voltages, exports (0 or 1) in binary mode.Because non-ideal factors such as technology coupling and random error cause latch can only correctly judge two voltages that deviation is enough big, and such comparison precision is receptible far from the high-precision adc design.Therefore adopt prime amplifier that less input deviation is amplified to the scope that latch can handle and solve this problem.
Along with the evolution of chip manufacturing process, chip operating voltage reduces, and the transistor intrinsic gain reduces, and therewith accordingly, signal swing (swing) reduces, and prime amplifier gain reduces, and this also allows the design of the comparator more difficult that becomes.For the design objective that reaches analog to digital converter often needs to increase the power consumption of comparator, this does not meet the design concept of low-power consumption again.In order to solve this contradiction, voltage transitions compared to time-domain becomes a kind of viable option.
D type flip flop (D flip-flop) is used for the time-domain comparator, plays the function of latch in traditional comparator.Because d type flip flop can be judged two precedence relationships of being separated by between the very near pulse signal,, therefore not only solved this design contradiction, and reduced power consumption so do not need to add prime amplifier.Moreover, d type flip flop is as typical digital circuit, and along with the evolution of chip manufacturing process, speed is faster, and power consumption is lower.The problem that needs to solve in the time-domain comparator is that voltage signal is transformed into time-domain, pulse width modulation just.
(a kind of representational way sees reference document Andrea Agnes, Edoardo Bonizzoni, Piero Malcovati and Franco Maloberti, " A 9.4-ENOB 1V 3.8 μ W 100KS/s SAR ADC withTime Domain Comparator ", 2008 IEEE International Solid-State Circuits Conference) be by the capacitor discharge of voltage-controlled current source to storage fixed size electric charge, bigger voltage input just can produce bigger electric current, it is less that these electric charges have been put the needed time, produces the digital signal of corresponding pulses width with this.The shortcoming that this method exists is, because voltage-controlled current source is non-linear, so corresponding pulse width modulation also is non-linear, this is determining there is the problem that changes with process deviation aspect the input reference signal.The conversion of voltage-controlled current source makes the noiseproof feature of pulse modulated circuit relatively poor, can only be operated in (100KS/s) under the lower frequency, and owing to use big resistance (125K Ω) to cause chip area bigger.
Summary of the invention
The objective of the invention is to by a kind of time-domain comparator based on the linear impulsive width modulated is provided, voltage transitions is arrived under the prerequisite of time-domain, reduce design complexities, reduce chip area and reduce power consumption, and can be used in the comparison in deadline territory in the analog to digital converter.
A kind of time-domain comparator of the present invention based on the linear impulsive width modulated, be to adopt following technological means to realize: comprising: sampling hold circuit, discharging current source, zero cross detection circuit and d type flip flop, the top crown of sampling capacitance is connected to zero cross detection circuit and discharging current source formation linear impulsive width modulation circuit in the sampling hold circuit; Two input signals to be compared are input to the data and the input end of clock of d type flip flop respectively by two identical linear impulsive width modulation circuits, wherein:
The aforementioned sample holding circuit comprises a switch S 1, PMOS pipe M4, a NMOS pipe M5 and a capacitor C, and wherein: input signal is connected to the top crown of aforementioned capacitor C through aforementioned switches S1; Aforementioned PMOS pipe M4 and NMOS pipe M5 are connected to the top crown of aforementioned capacitor C as virtual switch;
Aforementioned discharging current source comprises a NMOS pipe M1, and grid is connected and fixed biasing, and source electrode is connected to ground, and drain electrode is connected to the top crown of aforementioned capacitor C;
Aforementioned zero cross detection circuit comprises two inverter N1, N2, PMOS pipe M3, a NMOS pipe M2 and a resistance R, wherein: the source electrode of aforementioned PMOS pipe M3 is connected to an end of resistance R, and grid is controlled by sampling clock, and drain electrode is connected to the drain electrode of aforementioned NMOS pipe M2; The other end of resistance R is connected to power supply; The grid of aforementioned NMOS pipe M2 is connected to the top crown of aforementioned capacitor C, and drain electrode is by aforesaid two inverter cascades output;
Aforesaid d type flip flop need adopt symmetrical structure.
A kind of time-domain comparator based on the linear impulsive width modulated of the present invention compared with prior art, has and followingly significantly also is and beneficial effect:
Because 1: 1 current mirror design is adopted in the discharging current source, so the bigger voltage of sampling hold circuit input just can be stored more electric charge on specified capacitance, under the situation of identical big or small current source discharge, the later upset of electric capacity meeting that stored charge is more, thereby the output digital signal of corresponding big pulse duration.The size of sampling capacitance is determined according to noiseproof feature by comparing precision.The matching precision of current mirror and sampling capacitance can determine the precision of time-domain comparator.
The threshold value of zero cross detection circuit is by the transistor threshold decision that is connected on the sampling capacitance.Though process deviation can cause the skew of transistor threshold absolute value, but because this threshold value and input signal are irrelevant, so just be equivalent to add a constant offset amount simultaneously, can't influence the difference or the magnitude relationship of two voltages to be compared to reference voltage and input voltage.The matching precision of transistor threshold also can determine the precision of time-domain comparator.
In addition, electric capacity that adopts among the present invention and resistance are all controlled in the reasonable scope, guarantee that the area of whole time-domain comparator is enough little.The supply voltage that reduces zero cross detection circuit can effectively reduce power consumption, and this supply voltage can not influence comparison precision and input range.
Description of drawings
Fig. 1 is traditional comparator configuration block diagram;
Fig. 2 is a time-domain comparator configuration block diagram;
The time-domain comparator circuit figure that Fig. 3 proposes for Agnes;
The time-domain comparator configuration block diagram that Fig. 4 proposes for the present invention
The linear impulsive width modulation circuit figure that Fig. 5 proposes for the present invention
The d type flip flop circuit diagram of Fig. 6 for adopting in the embodiment of the invention;
Fig. 7 is the pulse output simulation result of pulse width modulation circuit under different input voltages in the present embodiment;
Fig. 8 is the simulation result of pulse width modulation circuit respective pulses width under different input voltages in the present embodiment.
Symbol description
41: sampling hold circuit; 42: the discharging current source;
51: Redundanter schalter (dummy switch);
Specific implementation method
Linear impulsive width modulation circuit in the embodiment of the invention such as Fig. 4, shown in Figure 5.Comprise: sampling hold circuit, discharging current source and zero cross detection circuit.
Comprise: sampling hold circuit, discharging current source, zero cross detection circuit and d type flip flop, the top crown of sampling capacitance is connected to zero cross detection circuit and discharging current source formation linear impulsive width modulation circuit in the sampling hold circuit; Two input signals to be compared are input to the data and the input end of clock of d type flip flop respectively by two identical linear impulsive width modulation circuits, wherein:
The aforementioned sample holding circuit comprises a switch S 1, PMOS pipe M4, a NMOS pipe M5 and a capacitor C, and wherein: input signal is connected to the top crown of aforementioned capacitor C through aforementioned switches S1; Aforementioned PMOS pipe M4 and NMOS pipe M5 are connected to the top crown of aforementioned capacitor C as virtual switch;
Aforementioned discharging current source comprises a NMOS pipe M1, and grid is connected and fixed biasing, and source electrode is connected to ground, and drain electrode is connected to the top crown of aforementioned capacitor C;
Aforementioned zero cross detection circuit comprises two inverter N1, N2, PMOS pipe M3, a NMOS pipe M2 and a resistance R, wherein: the source electrode of aforementioned PMOS pipe M3 is connected to an end of aforementioned resistance R, and grid is controlled by sampling clock, and drain electrode is connected to the drain electrode of aforementioned NMOS pipe M2; The other end of aforementioned resistance R is connected to power supply; The grid of aforementioned NMOS pipe M2 is connected to the top crown of aforementioned capacitor C, and drain electrode is by aforesaid two inverter cascades output;
Aforesaid d type flip flop need adopt symmetrical structure.
Owing to do not use bottom crown Sampling techniques (bottom plate sampling) in an embodiment,, be used for offsetting the electric charge injection effect (charge injection) that produces when switch disconnects so behind sampling switch, added a pair of Redundanter schalter 51.The top crown of capacitor C is connected to sampling switch, and bottom crown is connected to ground, constitutes sampling hold circuit with this.
The discharging current source is put into ground with electric charge with fixing speed by the top crown that NMOS pipe M1 is connected to capacitor C.Vbias in all pulse width modulation circuits links together, and to use onesize M1 be identical with the modulation ratio that guarantees different units.In 0.18 micrometre CMOS process, the coupling of current source can reach 0.5%, satisfies the required precision of comparator.
Zero cross detection circuit is made up of the pull-up resistor R of NMOS pipe M2 and belt switch.In sampling process, M2 is in conducting state, at this moment its drain electrode output low level.In order to reduce power consumption, PMOS pipe M3 is placed on cut-off state by clock signal in this section process.In ensuing discharge process, M3 switches to conducting state, electric charge on the sampling capacitance reduces under the discharge of current source gradually, the also corresponding reduction of the grid voltage of M2, behind the threshold voltage that drops to M2, M2 switches to cut-off state, and at this moment pull-up resistor R can rise to supply voltage to the drain electrode of M2, digital output signal has also been finished upset, finishes the function of pulse width modulation.In order to reduce the rise and fall time of digital output signal, behind the buffer of forming through two inverters, be input to the d type flip flop of judging size again.
Adopted d type flip flop as shown in Figure 6 in an embodiment, because have the structure that piles, so be applicable to the time-domain comparator.Simulation result by Fig. 7 pulse width modulation circuit among the embodiment as can be seen can be operated in and surpasses under the frequency of 200 megahertzes; See to find out that the pulse width modulation circuit among the embodiment can be with the time-domain that is transformed into of voltage linear by the simulation result of Fig. 8.
In sum, the present invention has reached purpose of design by this embodiment, has realized having characteristics simple in structure, that area is little and low in energy consumption by the comparison of linear impulsive width modulation circuit in time-domain.The present invention is not limited to the foregoing description, can under the situation that does not depart from scope and spirit of the present invention it be made amendment and change.