Fast start-up single pin crystal oscillation apparatus and operation method thereof
10218309 ยท 2019-02-26
Assignee
Inventors
Cpc classification
H03B5/06
ELECTRICITY
H03B5/366
ELECTRICITY
International classification
Abstract
The invention disclosed fast start-up single-pin crystal oscillation apparatus and operation method thereof. The apparatus comprises a comparator, an envelope detector, a trigger, a crystal, a finite state machine, an amplifier gain module, a load capacitor module and a bias resistor. Compared to prior arts, the invention uses a single-pin oscillator structure to remove two external load capacitors, reduces start-up time, increase negative resistance, reduce load capacitor, and uses fast start-up algorithm to make the oscillation circuit operating at optimal power-consumption.
Claims
1. A fast start-up single pin crystal oscillation apparatus, comprising: a comparator, an envelope detector, a trigger, a crystal, a finite state machine, an amplifier gain module, a load capacitor module and a bias resistor; wherein: the comparator having a positive input end, a negative input end and an output end, with the positive input end for receiving a detection voltage signal, the negative input end for receiving a reference voltage signal, the comparator comparing the detection voltage signal and the reference voltage signal and the output end outputting a comparison voltage signal; the envelope detector being coupled to the comparator, for generating the detection voltage signal; the trigger being coupled to the envelope detector, for generating a clock signal; the crystal being coupled to the trigger, for generating an oscillation signal with an oscillation frequency; the finite state machine being coupled to the trigger, the comparator, the load capacitor module, and the amplifier gain module, for receiving the clock signal and the comparison voltage signal and outputting a load capacitor calibration signal and a gain amplifier calibration signal; the load capacitor module being coupled to the amplifier gain module; and the bias resistor being coupled in parallel to the crystal and the load capacitor module.
2. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the trigger is a Schmitt trigger.
3. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the amplifier gain module is a cell array which comprises a first amplifier cell array and a second amplifier cell array.
4. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the load capacitor module is a cell array which comprises a first load capacitor cell array and a second load capacitor cell array.
5. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the amplifier gain module is formed by CMOS devices.
6. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the load capacitor module is formed by CMOS devices.
7. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the amplifier gain calibration signal controls gain of the amplifier gain module.
8. The fast start-up single pin crystal oscillation apparatus as claimed in claim 1, wherein the load capacitor calibration signal controls capacitance of the load capacitor module.
9. An operation method of fast start-up single pin crystal oscillation apparatus, comprising the steps of: starting the fast start-up single pin crystal oscillation apparatus; setting a value for a reference voltage signal; selecting a minimum for a load capacitance and a maximum for a gain; starting an envelope detector; when detecting a detection voltage signal having a value larger than the value for the reference voltage signal, proceeding to next step; loading an optimal load capacitance; when detecting the detection voltage signal having a value not less than the value for the reference voltage signal, proceeding to next step; when detecting the detection voltage signal having a value larger than the value of the reference voltage signal, shutting down an amplifier cell in a first amplifier cell array and an amplifier cell in a second amplifier cell array and performing detection again, when detecting the detection voltage signal having a value no larger than the value for the reference voltage signal, proceeding to next step; obtaining an optimal gain value; and turning off the fast start-up single pin crystal oscillation apparatus.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The embodiments can be understood in more detail by reading the subsequent detailed description in conjunction with the examples and references made to the accompanying drawings, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE DISCLOSED EMBODIMENTS
(8) In the following detailed description, for purpose of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawing.
(9)
(10) Wherein, the comparator 31 has a positive input end (+), a negative input end () and an output end, with the positive input end for receiving a detection voltage signal Vamp, the negative input end for receiving a reference voltage signal Vref, the comparator 31 compares the detection voltage signal Vamp and the reference voltage signal Vref and the output end outputs a comparison voltage signal Vp. The envelope detector 32 is coupled to the comparator 31, for generating the detection voltage signal Vamp. The trigger 33 is coupled to the envelope detector 32, for generating a clock signal clock. The crystal 37 is coupled to the trigger 33, for generating an oscillation signal with an oscillation frequency Xin. The finite state machine (FSM) 34 is coupled to the trigger 33, the comparator 31, the load capacitor module 36, and the amplifier gain module 35, for receiving the clock signal clock and the comparison voltage signal Vp and outputting a load capacitor calibration signal CLAdj and an amplifier gain calibration signal GMAdj. The load capacitor module 36 is coupled to the amplifier gain module 35; and the bias resistor 38 Rbias is coupled in parallel to the crystal 37 and the load capacitor module 36.
(11) As shown in
(12) As shown in
(13) As shown in
(14) As shown in
(15) A shown in
(16) Refer to
(17) As shown in
(18) As shown in
(19) As shown in
(20) Refer to
(21)
(22) Starting apparatus and oscillator signal Xin generating;
(23) Setting a value for a reference voltage signal Vref (step S01);
(24) Selecting a minimum for a load capacitance (minimum CL) and a maximum for a gain (maximum gain) (Step S02);
(25) Starting an envelope detector 32 (step S03);
(26) when detecting a detection voltage signal Vamp having a value larger than the value of the reference voltage signal Vref (step S04), proceeding to next step;
(27) loading an optimal load capacitance (optimal CL value), wherein the optimal CL value can be obtained when shipped off from the foundry calibration previously (step S05);
(28) when detecting the detection voltage signal Vamp having a value not less than the value of the reference voltage signal Vref (step S06), proceeding to next step;
(29) when detecting the detection voltage signal Vamp having a value larger than the value of the reference voltage signal Vref (step S07), shutting down an amplifier cell in a first amplifier cell array and an amplifier cell in a second amplifier cell array (step S08) and performing detection again, when detecting the detection voltage signal Vamp having a value no larger than the value of the reference voltage signal Vref, proceeding to next step;
(30) obtaining an optimal gain value (step S09); and
(31) turning off the start-up apparatus (step S10).
(32) Compared to the known technology, the present invention provides the following advantages.
(33) The present invention, by unique circuitry structure design, achieves the object of improving gain (GM), i.e., increasing negative resistance, reducing load capacitance, in initial state, the system able to select minimum C1 and maximum GM to speed up the start-up.
(34) The present invention, by unique circuitry structure design, achieves using envelope detector and finite state machine to compute the optimal GM value to effectively reduce the power-consumption of the system.
(35) The present invention, by unique circuitry structure design, achieves accelerating the start-up, shorten start-up time and increase effective operation time to increase response speed of the system to improve the data communication efficiency and applicable to various electronic products.
(36) The present invention, by unique circuitry structure design, achieves a single pin crystal oscillation apparatus and reduces number of pins used to save PCB volume and size, leading to manufacturing cost down.
(37) It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims and their equivalents.