The device of agitator in rapidly starting on-chip
Technical field
The present invention relates to a kind of Analogous Integrated Electronic Circuits clock technology field, relate to vibrating in a kind of rapidly starting on-chip
The design implementation method of device.
Background technology
Conventional agitator is broadly divided into agitator on crystal oscillator and sheet.On sheet, agitator is little because of volume,
Low cost, facilitates the advantages such as use to be widely used in consumer electronics product.
Using oscillator clock to produce in the system of high-low pressure to electric charge pump, needing to realize the quick of electric charge pump
Start.Common agitator one stationary value frequency of output.In order to realize the quick startup of electric charge pump, herein
The output of agitator is realized improving within the electric charge pump startup time by adding the fast start circuit of agitator
Frequency, frequency retrieval normal value after electric charge pump startup, thus realize the quick startup of electric charge pump.Shake
Swinging device circuit fast start circuit is to arrange digital circuit to export number of cycles to the clock detecting agitator, and
Providing a disposable time span before clock periodicity reaches to arrange several N is opening of top n cycle
OFF signal, utilizes this disposable switch signal temporarily existed to increase initial charging and discharging currents, improves
The frequency of agitator, it is achieved the quick startup of electric charge pump.
Summary of the invention
The technical problem to be solved is to provide the device of agitator in a kind of rapidly starting on-chip, and it can
To provide the charging and discharging currents of increase in the most N number of cycle, improve oscillator frequency when starting, it is achieved
The quick startup of electric charge pump.
In order to solve above technical problem, the invention provides the device of agitator in a kind of rapidly starting on-chip,
Including: current mirror transistor N1, N2, N3, N4, N4T, P1, P2, P3T, wherein N2 is electric current regulation part, N2
Comprising fixed current and current switch two parts, P3T and N4T is the current segment increased, and is respectively increase
Charging current and discharge current;Switchp and switchn is respectively the control switch of P3T and N4T, quickly
Ctrl_p and ctrl_n of start-up circuit is connected respectively to switch the control end of switchtp, switchtn.
The beneficial effects of the present invention is: arrange fast with what agitator output clock combined on pierce circuit
Speed start-up circuit, can be in the most N number of cycle by using rest-set flip-flop and N number of d type flip flop to combine
The charging and discharging currents increased is provided, improves oscillator frequency when starting, it is achieved the quick startup of electric charge pump.
Additional reference current, through N1, produces image current through N2, P1 by P2, P3, P3T and N3,
N4, N4T export;P2, P3, P3T are the mirror image of P1, and N4, N4T are the mirror image of N3;Wherein N4 electric current
As crucial capacitance discharge current, N4T is the starting current increased, and P3 electric current fills as crucial electric capacity
Electricity electric current, P3T is the starting current increased;The bias current of two comparators is also exported by P1 mirror image;P3,
N4 is connected to electric capacity anode, the electric capacity other end then ground connection by two switches;Electric capacity anode is connected respectively to ratio
The anode of relatively device 1 and 2 and negative terminal, the output of comparator 1 and 2 is connected respectively to the S end of rest-set flip-flop
With R end, the output Q of comparator is CLKOUT, exports Q~It is simultaneously connected to switch switch1 through phase inverter
With 2 control end;Output clock CLKOUT is connected to the input of fast start circuit, fast start circuit
Export two control signals Ctrl_P, Ctrl_N, be connected respectively to switch the control of switchtp, switchtn
End, these two switches are used for controlling P3T, and whether the electric current inside N4T increases respectively in charging and discharging currents.
In described fast start circuit, Fast_en is that fast start circuit enables signal, and Reset is for internal D
Trigger resets, and CLKOUT is the clock signal carrying out self-oscillator, and fast start circuit exports two and controls letter
Number Ctrl_p, Ctrl_n;PD signal is connected to the R end of rest-set flip-flop through phase inverter, rest-set flip-flop defeated
Going out Q and be connected to the D end of d type flip flop 1, the D end of d type flip flop 2 is connected to the outfan Q of d type flip flop 1;
By that analogy, the D end of d type flip flop N is connected to the outfan Q of d type flip flop N-1;D type flip flop N's is defeated
Go out to hold Q to be connected to the S end of rest-set flip-flop;Q output signal Clk_QB of rest-set flip-flop and enable signal
Fast_en, as the input of 2 inputs with door, is Ctrl_n with door output signal, and Ctrl_n is through phase inverter
It is Ctrl_p;Reset is connected to the CLR end of all d type flip flops, and CLKOUT is connected to all D and triggers
The L end of device.
Accompanying drawing explanation
With detailed description of the invention, the present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is oscillator structure figure;
Fig. 2 is agitator fast start circuit figure;
Fig. 3 be electric charge pump quickly start design sketch.
Detailed description of the invention
Present invention design achieves one and realizes the pierce circuit that electric charge pump quickly starts.This agitator has
One fast start circuit being connected with self output clock, can export N number of period ratio normal upon actuation
The clock that frequency is higher, this upper frequency clock electric charge pump later, it is possible to achieve electric charge pump quick
Start.Pierce circuit is mainly by current segment, discharge and recharge part, and quick actuating section forms.Electric current portion
Divide and comparator bias current and electric capacity charging and discharging currents are provided, and this current adjustment joint, by regulation electric current
Size regulates oscillator output frequencies to mid frequency;Discharge and recharge part realizes oscillation functions;Quickly start
In part the most N number of cycle effectively, open the initial charge/discharge electric current of increase, accelerate clock frequency,
Realize electric charge pump quickly to start.This fast start circuit has enable switch simultaneously.Circuit structure diagram such as Fig. 1
Shown in 2.
Electric charge pump as shown in Figure 3 quickly start effect, the present invention combines with agitator output clock
Quick start method, can the most N number of cycle by using rest-set flip-flop and N number of d type flip flop to combine
The interior charging and discharging currents increased that provides, raising output clock frequency, quickly start electric charge pump.After N end cycle
Closing the charging and discharging currents increased, recover normal current discharge and recharge, wherein the number of d type flip flop determines increasing
The clock periodicity that the charging and discharging currents added exists.
This quick start method can regulate the size of the charging and discharging currents of increase and the clock periodicity of existence.
In FIG, additional reference current, through N1, produces image current through N2, P1 by P2, P3, P3T
And N3, N4, N4T export.P2, P3, P3T are the mirror image of P1, and N4, N4T are the mirror image of N3.Its
Middle N4 electric current is as crucial capacitance discharge current, and N4T is the starting current increased, and P3 electric current is as key
Capacitance charging current, P3T be increase starting current.The bias current of two comparators is also by P1 mirror image
Output (non-principal annexation, be not drawn into).P3, N4 are connected to electric capacity anode, electric capacity by two switches
The other end then ground connection.Electric capacity anode is connected respectively to anode and the negative terminal of comparator 1 and 2, comparator 1 He
The output of 2 is connected respectively to S end and the R end of rest-set flip-flop, and the output Q of comparator is CLKOUT, output
Q~through phase inverter be simultaneously connected to switch switch1 and 2 control end.Output clock CLKOUT is connected to
The input of fast start circuit, fast start circuit two control signals Ctrl_P of output, Ctrl_N, respectively
Being connected to switch the control end of switchtp, switchtn, these two switches are used for controlling P3T, inside N4T
Electric current whether increase respectively in charging and discharging currents.
Fig. 2 is that middle PD signal is connected to the R end of rest-set flip-flop through phase inverter, the output Q of rest-set flip-flop
Being connected to the D end of d type flip flop 1, the D end of d type flip flop 2 is connected to the outfan Q of d type flip flop 1.With
This analogizes, and the D end of d type flip flop N is connected to the outfan Q of d type flip flop N-1.The output of d type flip flop N
End Q is connected to the S end of rest-set flip-flop.Q output signal Clk_QB of rest-set flip-flop and enable signal Fast_en
As the input of 2 inputs with door, it is that Ctrl_n, Ctrl_n are through phase inverter with door output signal
Ctrl_p.Reset is connected to the CLR end of all d type flip flops, and CLKOUT is connected to the L of all d type flip flops
End.
Two switches are controlled by same signal, but are turned on and off in turn, and the voltage on electric capacity is comparing
Between two setting voltages of device, upset triggers R-S trigger and constantly switches charge and discharge process, forms vibration.
The discharge and recharge time is clock cycle, vibration letter plus the response time of comparator, digital circuit, switch etc.
Export after number chosen device.
Work process is: PD and Reset signal is from high to low, and agitator is started working, and cap is from high electricity
Pressing off beginning electric discharge, N4 first turns on.The most now PD is low, and rest-set flip-flop Reset is effective, output
Clk_QB is high, and under fast_en useful signal, Ctrl_n is high, and Ctrl_p is low, P3T and N4T
Simultaneously turn on, charge together with P3T with P3, discharge together with N4T with N4.
After 3 (N) the individual cycle, last d type flip flop output 1, rest-set flip-flop Set is effective,
Output Clk_QB is low, and Ctrl_n is low, and Ctrl_p is high, P3T and N4T simultaneously closes off, and touches from this D
Send out device output is 0 always, and rest-set flip-flop is always maintained at state, and Ctrl_n is low always, and Ctrl_p is always
Height, P3T and N4T is always maintained at closing.
So, the electric current of increase no longer existed after N number of cycle, agitator after quickly starting just
Often vibrate under charging and discharging currents.
The present invention is not limited to embodiment discussed above.Description to detailed description of the invention is intended to above
In order to describe and the technical scheme that the present invention relates to be described.Obvious conversion based on present invention enlightenment or
Replacement should also be as being considered within protection scope of the present invention.Above detailed description of the invention is used for disclosing this
Bright optimal implementation, so that those of ordinary skill in the art can apply the multiple enforcement of the present invention
Mode and multiple alternative reach the purpose of the present invention.