[go: up one dir, main page]

TWI231091B - Crystal oscillator circuit with activation control - Google Patents

Crystal oscillator circuit with activation control Download PDF

Info

Publication number
TWI231091B
TWI231091B TW93122401A TW93122401A TWI231091B TW I231091 B TWI231091 B TW I231091B TW 93122401 A TW93122401 A TW 93122401A TW 93122401 A TW93122401 A TW 93122401A TW I231091 B TWI231091 B TW I231091B
Authority
TW
Taiwan
Prior art keywords
signal
scope
item
patent application
ready
Prior art date
Application number
TW93122401A
Other languages
Chinese (zh)
Other versions
TW200605492A (en
Inventor
Jeng-Huang Wu
Sheng-Hua Chen
Original Assignee
Faraday Tech Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Faraday Tech Corp filed Critical Faraday Tech Corp
Priority to TW93122401A priority Critical patent/TWI231091B/en
Application granted granted Critical
Publication of TWI231091B publication Critical patent/TWI231091B/en
Publication of TW200605492A publication Critical patent/TW200605492A/en

Links

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

A CMOS Pierce crystal oscillator. A clock generator with activation control, for generating a clock signal. The clock generator comprises an amplifier, a shaping circuit and a diagnostic circuit. The amplifier is capable of being coupled to an external oscillation source through an input pad and an output pad to generate an oscillating signal, the shaping circuit is capable of being coupled to the output pad, for shaping the oscillating signal to generate a clock signal, and the diagnostic circuit is capable of being coupled to the output pad, for asserting a ready signal when amplitude of the oscillating signal exceeds a predetermined portion of a full swing voltage.

Description

12310911231091

【發明所屬之技術領域】 本發明係有關於一種互補金氧半導體(CM〇s) 晶體振盪器’尤其是有關於一種具有啟動控制的時脈產生 【先前技術】 第la圖係為一習知的晶體單元1〇〇a,用以產生一時脈 矾號。為了產生該時脈訊號,輸入端點丨〇工和輸出端點】〇 3 耦接於一外接振盪源,例如石英晶體電路,藉以使一振盪 訊號可被放大器1 0 2放大並輸出至成形電路丨〇 4。該振蘯訊 號基本上疋個弦波,而該成形電路1 〇 4可以是個成形暫衝 斋,用以轉換該振盪訊號為方波。藉此該晶體單元1 〇 h便 成為一時脈產生器。如此的架構因可靠簡便而廣為使用, 但有一些缺點,但如啟動時間不確定。如第丨b圖所示,傳 統做法是加上一計數器丨07以解決這個問題。該計數器 1 0 7可以計异方波變化次數,在該變化次數到達一定值時 發出一就緒訊號。這種設計需要額外的成本,而且可能因 雜訊跳動而計數錯誤,導致系統當機。 b 第lc圖顯示習知技術中另一種晶體單元1〇〇b。該輸入 端點1 01,放大器1 〇 2和輸出端點1 〇 3與第1 a圖無異。然而 该成形電路1 0 4被代換成一遲滯電路1 〇 5。此法仍然因為維 持著可靠易用與低廉成本而受歡迎。然而,該遲滯電路 1 0 5若採用小遲滯裝置,則計數錯誤的問題仍然存在於計 數器1 0 7中(如第1 d圖所示),而若是採用大遲滯裝置, 則較容易因為電源彈跳(power bouncing)而使工作週期[Technical field to which the invention belongs] The present invention relates to a complementary metal-oxide-semiconductor (CM0s) crystal oscillator ', and more particularly to a clock generator with start-up control. [Prior Art] Figure 1a is a conventional knowledge The crystal unit 100a is used to generate a clock pulse alum. In order to generate the clock signal, the input terminal and the output terminal] are coupled to an external oscillation source, such as a quartz crystal circuit, so that an oscillation signal can be amplified by the amplifier 102 and output to the shaping circuit.丨 〇4. The vibrating signal is basically a sine wave, and the shaping circuit 104 may be a shaping transient, used to convert the oscillating signal into a square wave. With this, the crystal unit becomes a clock generator for 10 h. This architecture is widely used due to its reliability and simplicity, but it has some disadvantages, such as uncertain startup time. As shown in Figure 丨 b, the traditional approach is to add a counter 07 to solve this problem. The counter 1 0 7 can count the number of times of the square wave change, and send out a ready signal when the number of changes reaches a certain value. This design requires additional costs and can cause counting errors due to noise bounces, which can cause the system to crash. b Figure lc shows another crystal unit 100b in the conventional technique. The input terminal 101, the amplifier 102 and the output terminal 103 are no different from those in the first figure. However, the shaping circuit 104 is replaced with a hysteresis circuit 105. This method is still popular for its reliability, ease of use, and low cost. However, if the hysteresis circuit 105 uses a small hysteresis device, the problem of counting errors still exists in the counter 107 (as shown in Figure 1d), and if a large hysteresis device is used, it is easier to jump because of the power supply. (Power bouncing)

12310911231091

頁 1231091Page 1231091

(deasserted ) 步可包含一開關 電路。 阻止輸出該時脈訊號。該時脈產生器進一 用以在s亥就緒訊號被設立時關閉該偵測 本發明另提供一時脈訊號的啟動控制方法。首先,產 生-振盪訊號’轉換成一時脈訊號。接著提供一偵測電路 以偵測該振盪訊號的振幅,並在該振幅超過一全擺動電壓 的-比例時,設立-就緒訊號。最後,在該就緒訊號被設 立時,關閉該偵測電路並輸出時脈訊號。 【實施方式】 & 本發明的詳細實施例提供如下。 本發明主要精神在於新增一組偵測電路,以協定判斷 該振盪訊號何時就緒可用。如第2 a圖所示,在一晶體單元 20 0a中,輸入端點101,放大器1〇2,輸出端點1〇3和成形 電路104與第la圖無異。不同的是,新增了 一包含大遲滯 電路202的偵測電路201,耦接於輸出端點1〇3。該大遲滯 電路202可用來偵測從放大器丨〇2輸出的弦波的振幅。該大 遲滯電路20 2專責處理就緒偵測的功能,其大遲滯特性免 除了計數錯誤的問題。相對地,該成形電路丨〇4中所包含 的是一小遲滯電路,或史密斯觸發器(Schmit1: trigger ),其小遲滯特性可用來防止電源彈跳帶來的衝擊。 二。如第3圖所示,當該時脈產生器電源啟動時,該振盪 訊號顯示為一弦波,隨著時間,振幅漸增,最後終於形成 一全擺動訊號。在一實施例中,與該全擺動訊號的振幅做 比較,當该振盪訊號的波峰高於百分之七十五,而波谷低The (deasserted) step may include a switching circuit. Prevent the clock signal from being output. The clock generator is further configured to turn off the detection when the sah-ready signal is established. The present invention also provides a method for controlling the start of a clock signal. First, the generation-oscillation signal 'is converted into a clock signal. A detection circuit is then provided to detect the amplitude of the oscillating signal, and a -ready signal is set when the amplitude exceeds a -ratio of a full swing voltage. Finally, when the ready signal is set, the detection circuit is turned off and a clock signal is output. [Embodiment] & Detailed examples of the present invention are provided as follows. The main spirit of the present invention is to add a set of detection circuits to determine when the oscillating signal is ready for use. As shown in Fig. 2a, in a crystal unit 200a, the input terminal 101, the amplifier 102, the output terminal 103, and the shaping circuit 104 are no different from those in Fig. 1a. The difference is that a detection circuit 201 including a large hysteresis circuit 202 is added, which is coupled to the output terminal 103. The large hysteresis circuit 202 can be used to detect the amplitude of the sine wave output from the amplifier 02. The large hysteresis circuit 202 is responsible for handling the readiness detection function, and its large hysteresis characteristic eliminates the problem of counting errors. In contrast, what is included in the forming circuit 〇04 is a small hysteresis circuit, or a Smith trigger (Schmit1: trigger). The small hysteresis characteristic can be used to prevent the impact caused by power bounce. two. As shown in Figure 3, when the clock generator is powered on, the oscillating signal is displayed as a sine wave. With time, the amplitude gradually increases, and finally a full swing signal is finally formed. In an embodiment, compared with the amplitude of the full swing signal, when the peak of the oscillating signal is higher than 75% and the trough is lower

1231091 五、發明說明(4) 於百分之二十五時,該時脈產生器便視為準備就緒。於是 該大遲滯電路202發出一就緒訊號,使後續相關動作接連 進行。 在第2 b圖中,新增了 一開關2 0 4。由於該偵測電路2 〇 j 僅用於偵測就緒狀態,在工作結束後可以關閉。例如透過 該就緒訊號,使該開關2 0 4關閉該偵測電路2 〇 1。 在第2 c圖中,舉另一實施例,該偵測電路2 〇 1更進一 步新增一計數器2 0 6,用來計數該大遲滞電路2 〇 2所輸出 的振幅變化次數。因此訊號就緒的判斷方式,可以根據振 幅大小,也可以根據振盪電壓來回正負之間的次數是否超 過一定值。由於大遲滯電路2 0 2的大遲滯特性,不容易發 生計數錯誤的問題,因此確保了偵測的可靠度。此外該X振 盪訊號係透過該成形電路104轉換成方波,而不是透過該、 大遲滯電路,所以不會因為電源彈跳而產生不平衡的工作 週期。當該計數器2 0 6設立了該就緒訊號,開關2〇4便同時 關閉’使該偵測電路2 0 1停止運作(包含了大遲滯電路2 〇 2 和計數器2 0 6 )。 彳 第2d圖另舉一實施例,其中新增一邏輯及閘(and gate) 210,用以控制該晶體單元2〇〇d的輪出。該邏輯及 閘210在從啟動重置計數器2〇8接收到該就緒訊號之前, 都不會輸出方波。&句話說,此時脈產生器在該邏輯及閘 210的控制之下,不會輸出任何不需要的雜訊或未就緒的 日寸脈訊號。直到該邏輯及閘210因就緒訊號而開啟,時脈 訊號才可被輸出使用。1231091 V. Description of the invention (4) At 25%, the clock generator is considered ready. Then, the large hysteresis circuit 202 sends a ready signal, so that subsequent related actions are successively performed. In Figure 2b, a switch 2 0 4 is added. Since the detection circuit 2 0 j is only used to detect the ready state, it can be turned off after the work is completed. For example, by using the ready signal, the switch 204 turns off the detection circuit 201. In Fig. 2c, taking another embodiment, the detection circuit 201 further adds a counter 206 for counting the number of amplitude changes output by the large hysteresis circuit 202. Therefore, the method of determining the signal readiness can be based on the amplitude of the amplitude or whether the number of times between the positive and negative values of the oscillation voltage has exceeded a certain value. Due to the large hysteresis characteristic of the large hysteresis circuit 202, the problem of counting errors is unlikely to occur, so the reliability of detection is ensured. In addition, the X-oscillation signal is converted into a square wave by the shaping circuit 104, rather than through the large hysteresis circuit, so an unbalanced working cycle will not be generated due to power bounce. When the ready signal is set by the counter 2 0 6, the switch 2 0 is closed at the same time to stop the detection circuit 2 1 (including the large hysteresis circuit 2 0 2 and the counter 2 0 6).彳 FIG. 2d illustrates another embodiment, in which a logic AND gate 210 is added to control the rotation of the crystal unit 200d. The logic AND gate 210 will not output a square wave until it receives the ready signal from the start reset counter 208. In other words, at this time, the pulse generator is under the control of the logic AND gate 210, and will not output any unwanted noise or unread pulse signals. Until the logic AND gate 210 is opened due to the ready signal, the clock signal can be used for output.

12310911231091

1231091 圖式簡單說明 【圖示簡單說明】 本發明所舉之實施例,將搭配下列圖示得到最佳理 解,其中: 第1 a圖到第1 d圖係為習知時脈產生器的各種架構圖; 第2a圖與第2d圖係為本發明時脈產生器的各種實施例 架構圖;以及 第3圖係為關於第2a圖至第2d圖的訊號變化曲線。 【主要元件符號說明】 10 0a 〜100d晶體單元 101〜 ,輸 入 端 點 102〜 '放 大 器 103〜 ,輸 出 端 點 104〜 ,成 形 電 路 105〜 .遲 滯 電 路 107〜 ’計 數 器 201〜 ,偵 測 電 路 2 0 2〜 大 遲 滯 電路 204〜 開 關 2 0 6〜 計 數 器 20 8〜 啟 動 重 置計數器 210〜 邏 輯 及 閘(A N D g a t 2 0 0 a , ~ 2 0 0 d , -晶體單元1231091 Brief description of the drawings [Simplified illustration of the drawings] The embodiments of the present invention will be best understood with the following drawings, among which: Figures 1a to 1d are the various types of conventional clock generators. Architecture diagrams; Figures 2a and 2d are structural diagrams of various embodiments of the clock generator of the present invention; and Figure 3 is a signal variation curve regarding Figures 2a to 2d. [Description of main component symbols] 10 0a to 100d crystal unit 101 to, input terminal 102 to 'amplifier 103 to, output terminal 104 to, forming circuit 105 to. Hysteresis circuit 107 to' counter 201 to ', detection circuit 2 0 2 ~ Large hysteresis circuit 204 ~ Switch 2 0 6 ~ Counter 20 8 ~ Start reset counter 210 ~ Logic AND gate (AND gat 2 0 0 a, ~ 2 0 0 d,-crystal unit

0697-A40233TWF(N2);P2004-002-TW-B;YEATSLUQ;.ptd 第11頁0697-A40233TWF (N2); P2004-002-TW-B; YEATSLUQ; .ptd Page 11

Claims (1)

1231091 六、申請專利範圍 一具有啟動控制的時脈產生哭, 號,包含·· 叩 用以產生一時脈訊 放大器,包含一輪入端點連接一外接寐場、& 一輸出端點連接於該外 思按外接振盪源,以及 號,· 要於°亥外接振產源並用以產生-振堡訊 一成形電路,用以耦接於該輪 號以產生一時脈訊號;以及 出而^,成形该振盪訊 訊號: = 於該輪出端點,並在當該振盡 -比例:;二全擺動電-(ful1 _"。㈣d的 才 叹立(assert ) —就緒訊號。 比例2係圍第1項所述之時脈產生器,其中該 如申請專利範圍第丨項所述之 =訊號的波峰高於百分之七十五且波谷低於百分中之田二 寸"亥偵測電路設立該就緒訊號。 偵測4電Π:專利範圍第1項所述之時脈產生器,其中該 # 一第一遲滯電路,用以偵測該振盪訊號的振幅是否超 匕b比例,並據以產生一結果;以及 就緒控制器,用以根據該結果產生該就緒訊號。 ^ 5 ·如申請專利範圍第4項所述之時脈產生器,其中該 第一遲滯電路係為一史密斯觸發器(Schmitt trigger), 、/ 6 ·如申請專利範圍第4項所述之時脈產生器,其中該 成形電路係為—第二遲滯電路,具有較該第一遲滯電路低 I 第12頁 0697·3_);ρ^^^7 12310911231091 6. Scope of patent application-Clocks with start-up control can generate cry, No., including ... 叩 used to generate a clock signal amplifier, including a round-in endpoint connected to an external field, & an output endpoint connected to the Wai Si according to the external vibration source, and the number, · To be connected to an external vibration source and generate a vibration circuit in Zhenhai, which is used to couple to the wheel number to generate a clock signal; The oscillating signal: = At the end of the round, and when the vibration is complete-Proportion :; two full swing electric-(ful1 _ ". ㈣d's assert (assert)-ready signal. Proportion 2 is the first round The clock generator according to item 1, wherein the peak of the signal is higher than 75% and the trough is lower than 100% of the two-inch field, as described in the first patent application scope The circuit sets up the ready signal. Detector 4: The clock generator described in item 1 of the patent scope, wherein the #a first hysteresis circuit is used to detect whether the amplitude of the oscillating signal exceeds the ratio of the dagger, and To produce a result; and a ready controller, using According to the result, the ready signal is generated. ^ 5 · The clock generator as described in item 4 of the patent application scope, wherein the first hysteresis circuit is a Schmitt trigger, / 6 The clock generator according to item 4 of the patent scope, wherein the shaping circuit is a second hysteresis circuit, which has a lower value than the first hysteresis circuit. Page 12 0697 · 3 _); ρ ^^^ 7 1231091 的遲滞臨界電壓 二、7·如申請專利範圍第4項所述之時脈產生器,其中該 就緒控制器包含一計數器,用以計算該結果的變化次數, 亚在當該變化次數超過一定值時,設立該就緒訊號。 、8 ·如申請專利範圍第7項所述之時脈產生器,其中該 就緒控制器更進一步包含一啟動重置器(Power on res2t ),用以在啟動階段重置該計數器。 9 ·如申請專利範圍第4項所述之時脈產生器,更進一 步包合一邏輯閘,用以在該就緒訊號被設立時,輸出該時 脈號’以及在該就緒訊號被釋除(d e a s s e r t e d )時,阻 止輸出該時脈訊號。 I 〇 ·如申請專利範圍第1項所述之時脈產生器,更進一 步包含一開關,用以在該就緒訊號被設立時,關閉該偵測 電路。 II · 一種時脈訊號的啟動控制方法,包含下列步驟·· 產生一振盪訊號; 成形該振盪訊號以產生一時脈訊號; 提供一偵測電路用以偵測該振盪訊號的振幅; 當該振盪訊號的振幅超過一全擺動電壓的一比例時, 設立一就緒訊號;以及 當該就緒訊號被設立時,關閉該偵測電路並輸出該時 脈訊號。 1 2.如申請專利範圍第1 1項所述之啟動控制方法,其 中該比例係為百分之五十。2. Hysteresis threshold voltage 2. Clock generator as described in item 4 of the scope of patent application, wherein the ready controller includes a counter to calculate the number of changes in the result, when the number of changes exceeds a certain When set, the ready signal is established. 8. The clock generator as described in item 7 of the scope of patent application, wherein the ready controller further includes a power on res2t to reset the counter during the startup phase. 9 · The clock generator as described in item 4 of the scope of the patent application, further comprising a logic gate for outputting the clock signal when the ready signal is set up and releasing the ready signal ( deasserted) to prevent the clock signal from being output. I 〇 The clock generator as described in item 1 of the scope of patent application, further comprising a switch for turning off the detection circuit when the ready signal is set. II. A method for starting and controlling a clock signal, including the following steps: generating an oscillating signal; shaping the oscillating signal to generate a clock signal; providing a detection circuit for detecting the amplitude of the oscillating signal; when the oscillating signal When the amplitude exceeds a ratio of a full swing voltage, a ready signal is set up; and when the ready signal is set up, the detection circuit is turned off and the clock signal is output. 1 2. The startup control method as described in item 11 of the scope of patent application, wherein the proportion is 50%. 0697-A40233TWF(N2) ;P2004-002-TW-B;YEATSLUO; .ptd 第 13 頁 l23l〇9i -- 13.如申請專利範圍第11項所述之啟動控制方法,其 畲該振盪訊號的波峰高於百分之七十五且波谷低於百分 一十五時,設立該就緒訊號。 、1 4 ·如申請專利範圍第11項所述之啟動控制方法,更 進:步包含,計算該振盪訊號的振幅變化次數,並在該變 化-人數超過一定值時設立該就緒訊號。 1 5 ·如申請專利範圍第1 4項所述之啟動控制方法,更 進一步包含在啟動階段重置該變化次數。0697-A40233TWF (N2); P2004-002-TW-B; YEATSLUO; .ptd Page 13 l23l09i-13. The startup control method as described in item 11 of the scope of patent application, which is the peak of the oscillation signal When it is above 75% and the trough is below 155%, the ready signal is established. 1, 4 · The start-up control method described in item 11 of the scope of patent application, further comprising: calculating the number of amplitude changes of the oscillating signal, and setting up the ready signal when the number of changes-the number of people exceeds a certain value. 1 5 · The startup control method described in item 14 of the scope of patent application, further comprising resetting the number of changes during the startup phase. 0697-A40233TWF(N2);P2004-002-TW-B;YEATSLUO;.ptd 第 14 頁0697-A40233TWF (N2); P2004-002-TW-B; YEATSLUO; .ptd page 14
TW93122401A 2004-07-27 2004-07-27 Crystal oscillator circuit with activation control TWI231091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93122401A TWI231091B (en) 2004-07-27 2004-07-27 Crystal oscillator circuit with activation control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93122401A TWI231091B (en) 2004-07-27 2004-07-27 Crystal oscillator circuit with activation control

Publications (2)

Publication Number Publication Date
TWI231091B true TWI231091B (en) 2005-04-11
TW200605492A TW200605492A (en) 2006-02-01

Family

ID=36086385

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93122401A TWI231091B (en) 2004-07-27 2004-07-27 Crystal oscillator circuit with activation control

Country Status (1)

Country Link
TW (1) TWI231091B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI710777B (en) * 2019-10-21 2020-11-21 奇景光電股份有限公司 Power on ready signal generating apparatus and operation method thereof
US10951209B1 (en) 2019-10-17 2021-03-16 Himax Technologies Limited Power on ready signal generating apparatus and operation method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10951209B1 (en) 2019-10-17 2021-03-16 Himax Technologies Limited Power on ready signal generating apparatus and operation method thereof
TWI710777B (en) * 2019-10-21 2020-11-21 奇景光電股份有限公司 Power on ready signal generating apparatus and operation method thereof

Also Published As

Publication number Publication date
TW200605492A (en) 2006-02-01

Similar Documents

Publication Publication Date Title
JP6894929B2 (en) Integrated circuit crystal with digital automatic gain control with vibration detection and amplitude control loop
TW201134102A (en) Osicillatting signal generatting device and related method
CN106330149B (en) Circuit time delay real-time detection apparatus based on ring oscillator
TWI231091B (en) Crystal oscillator circuit with activation control
TWI380595B (en) Power-on detection circuit for detecting minimum operational frequency
TW200721673A (en) Semiconductor integrated circuit
JP2013034188A5 (en)
TW200846689A (en) Integrated fault output/fault response delay circuit
US7057468B2 (en) Crystal oscillator circuit with activation control
TW573399B (en) Reset pulse generation device
CN1952853B (en) Key device and key detection method thereof
JP2019145887A5 (en)
TW201141066A (en) One-shot circuit integrated into chip, transmitter capable of reducing start-up time and method thereof
CN107947764B (en) A CMOS oscillator circuit
TW201222371A (en) Sensing device and method
CN101672882B (en) Device and method for confirming winding direction of coil
TWI323082B (en) Transmitter ic with saw-based oscillator
JPH0223874B2 (en)
TWI592830B (en) Scan method for keyboard
JP2020514164A (en) Balance vehicle starting method and balance vehicle starting control device
US20130314107A1 (en) Device and method for determining a measuring capacitance
CN203324737U (en) Intelligent frequency variable sinusoidal signal generator
TWI332319B (en) Circuit for detecting maximal frequency of pulse frequency modulation and method thereof
JP3093140B2 (en) Astable multivibrator
TWI429918B (en) Peak voltage detector

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees