[go: up one dir, main page]

TWI532319B - Triangular wave generating circuit providing clock synchronization - Google Patents

Triangular wave generating circuit providing clock synchronization Download PDF

Info

Publication number
TWI532319B
TWI532319B TW103101534A TW103101534A TWI532319B TW I532319 B TWI532319 B TW I532319B TW 103101534 A TW103101534 A TW 103101534A TW 103101534 A TW103101534 A TW 103101534A TW I532319 B TWI532319 B TW I532319B
Authority
TW
Taiwan
Prior art keywords
signal
phase
clock signal
constant current
triangular wave
Prior art date
Application number
TW103101534A
Other languages
Chinese (zh)
Other versions
TW201528687A (en
Inventor
曹斯鈞
Original Assignee
晶豪科技股份有限公司
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 晶豪科技股份有限公司 filed Critical 晶豪科技股份有限公司
Priority to TW103101534A priority Critical patent/TWI532319B/en
Publication of TW201528687A publication Critical patent/TW201528687A/en
Application granted granted Critical
Publication of TWI532319B publication Critical patent/TWI532319B/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

具有時脈訊號同步之三角波產生電路 Triangle wave generating circuit with clock signal synchronization

本發明係關於一種三角波產生電路,尤指一種與外部時脈信號同步之三角波產生電路。 The present invention relates to a triangular wave generating circuit, and more particularly to a triangular wave generating circuit synchronized with an external clock signal.

三角波產生電路係藉由充電和放電一電容以產生三角波信號。三角波產生電路可以應用於許多電路中,其中一種應用即於D型(class-D)功率放大器中將類比語音信號轉換成脈寬調變信號。 The triangular wave generating circuit generates a triangular wave signal by charging and discharging a capacitor. The triangular wave generating circuit can be applied to many circuits, one of which is to convert an analog voice signal into a pulse width modulated signal in a class-D power amplifier.

第一圖為習知利用方波信號VIN產生三角波信號VOUT的電路10。三角波信號的準確度會影響到使用該三角波信號之裝置的效能,例如脈寬調變(PWM)裝置之效能。在此圖中三角波信號VOUT的切換頻率fsw等於1/(TU+TD),其中TU為三角波信號VOUT由VL到VH的上升時間,TD為三角波信號VOUT由VH到VL的下降時間。上升時間TU等於C×(VH-VL)/IC,其中C為橫跨運算放大器12之電容器C1的容值,IC為電流源I1提供的充電電流。同理,下降時間TD等於C×(VH-VL)/ID,其中ID為電流源I2提供的放電電流。假設IC 與ID相等,則切換頻率fsw等於IC/(2×C×(VH-VL))。由此方程式得知三角波切換頻率fsw與IC及ID成正比,並與三角波振幅(VH-VL)成反比。 The first figure shows a circuit 10 for generating a triangular wave signal VOUT using a square wave signal VIN. The accuracy of the triangular wave signal can affect the performance of the device using the triangular wave signal, such as the performance of a pulse width modulation (PWM) device. In this figure, the switching frequency fsw of the triangular wave signal VOUT is equal to 1/(TU+TD), where TU is the rising time of the triangular wave signal VOUT from VL to VH, and TD is the falling time of the triangular wave signal VOUT from VH to VL. The rise time TU is equal to C x (VH - VL) / IC, where C is the capacitance of capacitor C1 across operational amplifier 12, and IC is the charge current provided by current source I1. Similarly, the fall time TD is equal to C × (VH - VL) / ID, where ID is the discharge current provided by the current source I2. Hypothetical IC Equal to the ID, the switching frequency fsw is equal to IC/(2 × C × (VH - VL)). From this equation, it is known that the triangular wave switching frequency fsw is proportional to IC and ID, and inversely proportional to the triangular wave amplitude (VH-VL).

第二圖為第一圖之三角波產生電路10之潛在問題示意圖。如第二圖所示,在問題1中,若電流源不匹配,即電流IC大於ID或電流ID大於IC時,則三角波信號VOUT就不會於預定限制峰值VH與VL處轉換。同理,問題2揭示當方波的責任週期並非為理想值時的三角波波形,問題2會常發生的原因是內部時脈信號與外部時脈信號非同步。將內部時脈信號與外部時脈信號同步是非常重要的一件事,如對5.1聲道或7.1聲道的D型放大器語音系統應用。若切換頻率不相同,則頻率的跳動就會出現在聲音頻帶中。 The second figure is a schematic diagram of the potential problem of the triangular wave generating circuit 10 of the first figure. As shown in the second figure, in the problem 1, if the current source does not match, that is, if the current IC is greater than the ID or the current ID is greater than the IC, the triangular wave signal VOUT will not be switched at the predetermined limit peaks VH and VL. Similarly, question 2 reveals that the triangular wave waveform when the duty cycle of the square wave is not the ideal value, the problem 2 often occurs because the internal clock signal is not synchronized with the external clock signal. Synchronizing the internal clock signal with the external clock signal is a very important thing, such as the 5.1 channel or 7.1 channel D-type amplifier voice system application. If the switching frequency is not the same, the jitter of the frequency will appear in the sound band.

據此,有必要提出一三角波產生電路以改善上述問題。 Accordingly, it is necessary to propose a triangular wave generating circuit to improve the above problem.

本發明係提供一種具有時脈訊號同步之三角波產生電路。該三角波產生電路包含一電容器,一第一定電流源,一第二定電流源,一第三定電流源,一第四定電流源,一第一切換單元,一第二切換單元,一高/低位準限制單元,一時脈信號產生器,以及一相位偵測單元。該等第一和第二定電流源用以對該電容器充電。該等第三和第四定電流源用以對該電容器放電。該第一切換單元包含一第一開關和一第 二開關,該第一切換單元係用以響應於一內部時脈信號以控制該第一和該第三定電流源與該電容器之耦接狀態。該高/低位準限制單元包含一第一和一第二比較單元,該第一比較單元用以比較該三角波信號與一高位準參考電壓,並於該三角波信號到達該高位準參考電壓時產生一輸出信號,該第二比較單元用以比較該三角波信號與一低位準參考電壓,並於該三角波信號到達該低位準參考電壓時產生一輸出信號。該時脈信號產生器用以響應於該第一比較單元的該輸出信號和該第二比較單元的該輸出信號以產生該內部時脈信號。該相位偵測單元,用以接收一外部供應時脈信號和該內部時脈信號,並根據該外部供應時脈信號和該內部時脈信號的相位差值產生一第一相位信號和一第二相位信號。該第二切換單元包含一第三開關和一第四開關,該第三開關用以響應於該第一相位信號以控制該第二定電流源與該電容器之耦接狀態,且該第四開關用以響應於該第二相位信號以控制該第四定電流源與該電容器之耦接狀態。 The invention provides a triangular wave generating circuit with clock signal synchronization. The triangular wave generating circuit comprises a capacitor, a first constant current source, a second constant current source, a third constant current source, a fourth constant current source, a first switching unit, a second switching unit, and a high / low level limit unit, one clock signal generator, and one phase detection unit. The first and second constant current sources are used to charge the capacitor. The third and fourth constant current sources are used to discharge the capacitor. The first switching unit includes a first switch and a first And a second switch, the first switching unit is configured to control a coupling state of the first and third constant current sources to the capacitor in response to an internal clock signal. The high/low level quasi-limiting unit includes a first and a second comparing unit, wherein the first comparing unit is configured to compare the triangular wave signal with a high level reference voltage, and generate a one when the triangular wave signal reaches the high level reference voltage And outputting a signal, the second comparing unit is configured to compare the triangular wave signal with a low level reference voltage, and generate an output signal when the triangular wave signal reaches the low level reference voltage. The clock signal generator is configured to generate the internal clock signal in response to the output signal of the first comparing unit and the output signal of the second comparing unit. The phase detecting unit is configured to receive an externally supplied clock signal and the internal clock signal, and generate a first phase signal and a second according to a phase difference between the externally supplied clock signal and the internal clock signal Phase signal. The second switching unit includes a third switch and a fourth switch, the third switch is configured to control the coupling state of the second constant current source and the capacitor in response to the first phase signal, and the fourth switch And responsive to the second phase signal to control a coupling state of the fourth constant current source and the capacitor.

10‧‧‧三角波產生電路 10‧‧‧ Triangle wave generating circuit

12‧‧‧運算放大器 12‧‧‧Operational Amplifier

30,30’‧‧‧三角波信號產生器 30,30'‧‧‧ triangle wave signal generator

32‧‧‧切換單元 32‧‧‧Switch unit

33‧‧‧第二驅動電路 33‧‧‧Second drive circuit

34‧‧‧高低位準限制電路 34‧‧‧High and low level limit circuit

242‧‧‧比較器 242‧‧‧ Comparator

344‧‧‧比較器 344‧‧‧ Comparator

36‧‧‧內部時脈信號產生器 36‧‧‧Internal clock signal generator

38‧‧‧相位偵測單元 38‧‧‧ phase detection unit

82‧‧‧切換電流陣列 82‧‧‧Switching current array

84‧‧‧切換電流陣列 84‧‧‧Switching current array

86‧‧‧比較電路 86‧‧‧Comparative circuit

C1‧‧‧電容器 C1‧‧‧ capacitor

I1-IN‧‧‧定電流源 I1-IN‧‧‧ constant current source

M1,M2,M3,M4‧‧‧開關 M1, M2, M3, M4‧‧ ‧ switch

SW1-SWN‧‧‧開關 SW1-SWN‧‧‧ switch

S100-S110‧‧‧步驟 S100-S110‧‧‧Steps

第一圖為習知利用方波信號產生三角波信號的電路。 The first figure is a circuit that conventionally generates a triangular wave signal using a square wave signal.

第二圖為第一圖之三角波產生電路之潛在問題示意圖。 The second figure is a schematic diagram of the potential problem of the triangular wave generating circuit of the first figure.

第三圖顯示結合本發明一實施例之三角波信號產生器之電路圖。 The third figure shows a circuit diagram of a triangular wave signal generator incorporating an embodiment of the present invention.

第四圖顯示第三圖所示之該相位偵測單元的一可能運作波形圖。 The fourth figure shows a possible operational waveform of the phase detecting unit shown in the third figure.

第五圖顯示第三圖所示之該相位偵測單元的另一可能運作波形圖。 The fifth figure shows another possible operational waveform of the phase detecting unit shown in the third figure.

第六圖顯示結合本發明之一實施例之該三角波信號產生器的一波形圖。 Figure 6 shows a waveform diagram of the triangular wave signal generator incorporating an embodiment of the present invention.

第七圖顯示結合本發明之另一實施例之該三角波信號產生器的一波形圖。 The seventh figure shows a waveform diagram of the triangular wave signal generator incorporating another embodiment of the present invention.

第八圖顯示結合本發明一實施例之三角波信號產生器之電路圖。 The eighth diagram shows a circuit diagram of a triangular wave signal generator incorporating an embodiment of the present invention.

第九圖顯示結合本發明一實施例之該等切換電流陣列之電路圖。 The ninth diagram shows a circuit diagram of the switching current arrays in connection with an embodiment of the present invention.

第十圖顯示結合本發明一實施例之該三角波信號產生器之運作流程圖。 Figure 11 is a flow chart showing the operation of the triangular wave signal generator in accordance with an embodiment of the present invention.

在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同的名詞來稱呼同樣的元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。另外,「耦 接」一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述一第一裝置耦接於一第二裝置,則代表該第一裝置可直接電氣連接於該第二裝置,或透過其他裝置或連接手段間接地電氣連接至該第二裝置。 Certain terms are used throughout the description and following claims to refer to particular elements. It should be understood by those of ordinary skill in the art that manufacturers may refer to the same elements by different nouns. The scope of this specification and the subsequent patent application do not use the difference of the names as the means for distinguishing the elements, but the difference in function of the elements as the criterion for distinguishing. The term "including" as used throughout the specification and subsequent claims is an open term and should be interpreted as "including but not limited to". In addition, "coupling The term "connected" is used herein to include any direct and indirect electrical connection. Therefore, if a first device is coupled to a second device, it means that the first device can be directly electrically connected to the second device or indirectly electrically connected to the second device through other devices or connection means.

第三圖顯示結合本發明一實施例之三角波信號產生器30之電路圖。如第三圖所示,該三角波信號產生器30包含一電容器C1、一對匹配的充電/放電定電流源I1和I2以及一切換單元32。所謂「匹配」一詞在此係指充電/放電定電流源I1和I2的電流值實質上相同。該切換單元32包含由一內部時脈信號所控制的兩開關M1和M2。該兩開關M1和M2是以互補的方式切換,因此當開關M1開啟時,開關M2為關閉狀態,反之亦然。此外,當開關M1開啟時,該定電流源I1會耦接至該電容C1。當開關M2開啟時,該定電流源I2會耦接至該電容C1。 The third diagram shows a circuit diagram of a triangular wave signal generator 30 incorporating an embodiment of the present invention. As shown in the third figure, the triangular wave signal generator 30 includes a capacitor C1, a pair of matched charging/discharging constant current sources I1 and I2, and a switching unit 32. The term "matching" as used herein means that the current values of the charge/discharge constant current sources I1 and I2 are substantially the same. The switching unit 32 includes two switches M1 and M2 controlled by an internal clock signal. The two switches M1 and M2 are switched in a complementary manner, so when the switch M1 is turned on, the switch M2 is turned off, and vice versa. In addition, when the switch M1 is turned on, the constant current source I1 is coupled to the capacitor C1. When the switch M2 is turned on, the constant current source I2 is coupled to the capacitor C1.

參照第三圖,該三角波信號產生器30更包含一高低位準限制電路34,其包含兩比較器342和344。該比較器342比較該電容C1上的一信號VTRI與一高位準參考電壓VH,而該比較器342比較該信號VTRI與一低位準參考電壓VL。該比較器342的輸出信號CPH和該比較器344的輸出信號CPL會提供至一內部時脈信號產生器36。在本實施例中,該信號產生器36為一RS拴鎖器。該信號產生器36提供一內部時脈信號ICK以根據比較結果控制該切換單元32中的該兩開關 M1和M2。 Referring to the third diagram, the triangular wave signal generator 30 further includes a high and low level limit circuit 34 including two comparators 342 and 344. The comparator 342 compares a signal VTRI on the capacitor C1 with a high level reference voltage VH, and the comparator 342 compares the signal VTRI with a low level reference voltage VL. The output signal CPH of the comparator 342 and the output signal CPL of the comparator 344 are supplied to an internal clock signal generator 36. In the present embodiment, the signal generator 36 is an RS locker. The signal generator 36 provides an internal clock signal ICK to control the two switches in the switching unit 32 according to the comparison result. M1 and M2.

參照第三圖,該三角波信號產生器30更包含一對匹配的充電/放電定電流源I3和I4以及一切換單元33。該切換單元33包含兩開關M3和M4。該開關M3是由一相位偵測單元38的一輸出信號DP所控制,而該開關M4是由該相位偵測單元38的一輸出信號DN所控制。當開關M3開啟時,開關M4為關閉狀態,反之亦然。此外,當開關M3開啟時,該定電流源I3會耦接至該電容C1。當開關M4開啟時,該定電流源I4會耦接至該電容C1。 Referring to the third figure, the triangular wave signal generator 30 further includes a pair of matched charge/discharge constant current sources I3 and I4 and a switching unit 33. The switching unit 33 includes two switches M3 and M4. The switch M3 is controlled by an output signal DP of a phase detecting unit 38, and the switch M4 is controlled by an output signal DN of the phase detecting unit 38. When switch M3 is turned on, switch M4 is off and vice versa. In addition, when the switch M3 is turned on, the constant current source I3 is coupled to the capacitor C1. When the switch M4 is turned on, the constant current source I4 is coupled to the capacitor C1.

如上所述,該切換單元33的運作是由該相位偵測單元38所控制。該相位偵測單元38接收一外部供應時脈信號ECK和該內部時脈信號ICK,並根據該時脈信號ECK與該時脈信號ICK的相位差值產生該些相位信號DP和DN。當該信號DP為邏輯0位準時,該切換單元33中的開關M3導通。當該信號DN為邏輯1位準時,該切換單元33中的開關M4導通。 As described above, the operation of the switching unit 33 is controlled by the phase detecting unit 38. The phase detecting unit 38 receives an externally supplied clock signal ECK and the internal clock signal ICK, and generates the phase signals DP and DN according to the phase difference between the clock signal ECK and the clock signal ICK. When the signal DP is at the logic 0 level, the switch M3 in the switching unit 33 is turned on. When the signal DN is at the logic 1 level, the switch M4 in the switching unit 33 is turned on.

第四圖顯示第三圖所示之該相位偵測單元38的一可能運作波形圖,在第四圖中,該外部時脈信號ECK的相位領先該內部時脈信號ICK的相位,亦即,該外部時脈信號ECK之昇緣領先該內部時脈信號ICK之昇緣,且該外部時脈信號ECK之降緣領先該內部時脈信號ICK之降緣。當外部時脈信號ECK之昇緣領先該內部時脈信號ICK之昇緣時,該相位偵測單元38產生該相位信號DP。當外部時脈信號ECK之降 緣領先該內部時脈信號ICK之降緣時,該相位偵測單元38產生該相位信號DN。因此,該相位信號DP的寬度W1和該相位信號DN的寬度W2會由該外部時脈信號ECK和該內部時脈信號ICK之相位差值所決定。 The fourth figure shows a possible operational waveform of the phase detecting unit 38 shown in the third figure. In the fourth figure, the phase of the external clock signal ECK leads the phase of the internal clock signal ICK, that is, The rising edge of the external clock signal ECK leads the rising edge of the internal clock signal ICK, and the falling edge of the external clock signal ECK leads the falling edge of the internal clock signal ICK. The phase detecting unit 38 generates the phase signal DP when the rising edge of the external clock signal ECK leads the rising edge of the internal clock signal ICK. When the external clock signal ECK drops The phase detecting unit 38 generates the phase signal DN when the edge leads the falling edge of the internal clock signal ICK. Therefore, the width W1 of the phase signal DP and the width W2 of the phase signal DN are determined by the phase difference between the external clock signal ECK and the internal clock signal ICK.

第五圖顯示第三圖所示之該相位偵測單元38的另一可能運作波形圖,在第五圖中,該外部時脈信號ECK的相位落後該內部時脈信號ICK的相位,亦即,該外部時脈信號ECK之昇緣落後該內部時脈信號ICK之昇緣,且該外部時脈信號ECK之降緣落後該內部時脈信號ICK之降緣。當外部時脈信號ECK之昇緣落後該內部時脈信號ICK之昇緣時,該相位偵測單元38產生該相位信號DP。當外部時脈信號ECK之降緣落後該內部時脈信號ICK之降緣時,該相位偵測單元38產生該相位信號DN。因此,該相位信號DP的寬度W3和該相位信號DN的寬度W4會由該外部時脈信號ECK和該內部時脈信號ICK之相位差值所決定。 The fifth figure shows another possible operational waveform of the phase detecting unit 38 shown in the third figure. In the fifth figure, the phase of the external clock signal ECK lags behind the phase of the internal clock signal ICK, that is, The rising edge of the external clock signal ECK lags behind the rising edge of the internal clock signal ICK, and the falling edge of the external clock signal ECK lags behind the falling edge of the internal clock signal ICK. The phase detecting unit 38 generates the phase signal DP when the rising edge of the external clock signal ECK falls behind the rising edge of the internal clock signal ICK. The phase detecting unit 38 generates the phase signal DN when the falling edge of the external clock signal ECK falls behind the falling edge of the internal clock signal ICK. Therefore, the width W3 of the phase signal DP and the width W4 of the phase signal DN are determined by the phase difference between the external clock signal ECK and the internal clock signal ICK.

現參照第三圖至第七圖說明本發明之三角波信號產生器30之運作方式,其中第六圖顯示結合本發明之一實施例之該三角波信號產生器30的一波形圖。在本實施例中,該外部時脈信號ECK的相位領先該內部時脈信號ICK的相位。 The operation of the triangular wave signal generator 30 of the present invention will now be described with reference to the third to seventh figures, wherein the sixth figure shows a waveform diagram of the triangular wave signal generator 30 in combination with an embodiment of the present invention. In this embodiment, the phase of the external clock signal ECK is advanced by the phase of the internal clock signal ICK.

參照第六圖,在時間t1前,當該時脈信號ICK為邏輯0位準時,該電容C1會由流過該定電流源I1的電流所充 電,使得該電容C1上的電壓VTRI會線性的上昇。在時間t1,該相位偵測單元38偵測到該外部時脈信號ECK和該內部時脈信號ICK之間的相位差值時,會響應於該外部時脈信號ECK的相位領先該內部時脈信號ICK的相位之狀況以產生該相位信號DP,這會使得定電流源I3對該電容C1充電。由於三角波信號之上升段的斜率正比於流過電容的直流電流,該信號VTRI在時間t2時會很快的到達該高位準參考電壓VH。當該信號VTRI到達參考電壓VH後,該比較器342的輸出信號CPH會輸出邏輯1位準,使得RS閂鎖器36輸出一具有邏輯1位準的時脈信號ICK。 Referring to the sixth figure, before the time t1, when the clock signal ICK is at the logic 0 level, the capacitor C1 is charged by the current flowing through the constant current source I1. Electrically, the voltage VTRI across the capacitor C1 rises linearly. When the phase detecting unit 38 detects the phase difference between the external clock signal ECK and the internal clock signal ICK, the phase of the external clock signal ECK leads the internal clock in response to the phase difference between the external clock signal ECK. The phase of the signal ICK is generated to produce the phase signal DP, which causes the constant current source I3 to charge the capacitor C1. Since the slope of the rising portion of the triangular wave signal is proportional to the direct current flowing through the capacitor, the signal VTRI quickly reaches the high level reference voltage VH at time t2. When the signal VTRI reaches the reference voltage VH, the output signal CPH of the comparator 342 outputs a logic 1 level, so that the RS latch 36 outputs a clock signal ICK having a logic 1 level.

在時間t2後,開關M1和M3會關閉,該開關M2會響應於時脈信號ICK而導通,且該電容會由流經定電流源I2的電流所放電。因此,該電容C1上的電壓VTRI會線性的下降。在時間t3,該相位偵測單元38偵測到該外部時脈信號ECK和該內部時脈信號ICK之間的相位差值時,會響應於該外部時脈信號ECK的相位領先該內部時脈信號ICK的相位之狀況以產生該相位信號DN,這會使得定電流源I4加入定電流源I2以對該電容C1放電。較高的直流電流值產生較短的斜坡時間間隔。因此,該信號VTRI在時間t4時會很快的到達該低位準參考電壓VL。當該信號VTRI到達參考電壓VL後,該比較器344的輸出信號CPL會輸出邏輯1位準,使得RS閂鎖器36輸出一具有邏輯0位準的時脈信號ICK。 After time t2, switches M1 and M3 are turned off, and switch M2 is turned on in response to clock signal ICK, and the capacitor is discharged by the current flowing through constant current source I2. Therefore, the voltage VTRI across the capacitor C1 decreases linearly. At time t3, when the phase detecting unit 38 detects the phase difference between the external clock signal ECK and the internal clock signal ICK, the phase of the external clock signal ECK is advanced in the internal clock. The phase of the signal ICK is generated to produce the phase signal DN, which causes the constant current source I4 to be added to the constant current source I2 to discharge the capacitor C1. Higher DC current values result in shorter ramp time intervals. Therefore, the signal VTRI will quickly reach the low level reference voltage VL at time t4. When the signal VTRI reaches the reference voltage VL, the output signal CPL of the comparator 344 outputs a logic 1 level, so that the RS latch 36 outputs a clock signal ICK having a logic 0 level.

上述運作會重複的施行,因此該電容器C1上的電壓VTRI會以一三角波方式產生。如上所述,該三角波信號產生器30會藉由偵測該外部時脈信號ECK和該內部時脈信號ICK之間的相位差值,將該內部時脈信號ICK同步於該外部供應的時脈信號ECK。當該外部時脈信號ECK的相位領先該內部時脈信號ICK的相位時,該信號VTRI的斜率會根據偵測結果而增加,因此縮短了斜坡週期。依此方式,該內部時脈信號ICK在數個循環後會同步於該外部供應的時脈信號ECK。 The above operation is repeated, so that the voltage VTRI on the capacitor C1 is generated in a triangular wave manner. As described above, the triangular wave signal generator 30 synchronizes the internal clock signal ICK to the externally supplied clock by detecting the phase difference between the external clock signal ECK and the internal clock signal ICK. Signal ECK. When the phase of the external clock signal ECK leads the phase of the internal clock signal ICK, the slope of the signal VTRI increases according to the detection result, thereby shortening the ramp period. In this way, the internal clock signal ICK is synchronized to the externally supplied clock signal ECK after several cycles.

第七圖顯示結合本發明之另一實施例之該三角波信號產生器30的一波形圖。在本實施例中,該外部時脈信號ECK的相位落後該內部時脈信號ICK的相位。 The seventh diagram shows a waveform diagram of the triangular wave signal generator 30 in combination with another embodiment of the present invention. In this embodiment, the phase of the external clock signal ECK lags behind the phase of the internal clock signal ICK.

參照第七圖,在時間t1前,該時脈信號ICK為邏輯0位準,且該電容C1會由流過該定電流源I1的電流所充電,這使得該電容C1上的電壓VTRI會線性的上昇。在時間t1時,該信號VTRI會到達高位準參考電壓VH,這使得該比較器342的輸出信號CPH輸出邏輯1位準,並讓RS閂鎖器36輸出一具有邏輯1位準的時脈信號ICK。因此,該開關M1會截止而該開關M2會導通,使得電流源I2會耦接至該電容器C1。在時間t1後,該相位偵測單元38偵測到該外部時脈信號ECK和該內部時脈信號ICK之間具有相位差值,並且根據該偵測結果產生該相位信號DP,這會使得定電流源I3耦接至該電容C1。在本實施例中,該電流源I3的電流值大於該電流源I2的電流值。 因此,該電容C1會由淨電流I3-I2所充電。 Referring to the seventh figure, before time t1, the clock signal ICK is at the logic 0 level, and the capacitor C1 is charged by the current flowing through the constant current source I1, which makes the voltage VTRI on the capacitor C1 linear. Rise. At time t1, the signal VTRI will reach the high level reference voltage VH, which causes the output signal CPH of the comparator 342 to output a logic 1 level, and causes the RS latch 36 to output a clock signal having a logic 1 level. ICK. Therefore, the switch M1 will be turned off and the switch M2 will be turned on, so that the current source I2 will be coupled to the capacitor C1. After the time t1, the phase detecting unit 38 detects a phase difference between the external clock signal ECK and the internal clock signal ICK, and generates the phase signal DP according to the detection result, which causes a constant current. The source I3 is coupled to the capacitor C1. In this embodiment, the current value of the current source I3 is greater than the current value of the current source I2. Therefore, the capacitor C1 is charged by the net current I3-I2.

時脈信號ECK在時間t2時進入邏輯1位準,因此該相位信號DP也回到邏輯1位準。接著,該開關M3會截止,該電容器C1會由流經定電流源I2的電流所放電,這會使得該電容器C1上的電壓VTRI線性的下降。在時間t3時,該信號VTRI會到達低位準參考電壓VL,這使得該比較器344的輸出信號CPL輸出邏輯1位準,並讓RS閂鎖器36輸出一具有邏輯0位準的時脈信號ICK。因此,該開關M2會截止而該開關M1會導通,使得電流源I1會耦接至該電容C1。在時間t3後,該相位偵測單元38偵測到該外部時脈信號ECK和該內部時脈信號ICK之間具有相位差值,並且根據偵測結果產生該相位信號DN,這會使得定電流源I4開始對該電容C1進行放電。在本實施例中,該電流源I4的電流值大於該電流源I1的電流值。因此,該電容C1會由淨電流I4-I1所充電。 The clock signal ECK enters a logic 1 level at time t2, so the phase signal DP also returns to a logic 1 level. Next, the switch M3 is turned off, and the capacitor C1 is discharged by the current flowing through the constant current source I2, which causes the voltage VTRI across the capacitor C1 to decrease linearly. At time t3, the signal VTRI will reach the low level reference voltage VL, which causes the output signal CPL of the comparator 344 to output a logic 1 level, and the RS latch 36 outputs a clock signal having a logic 0 level. ICK. Therefore, the switch M2 is turned off and the switch M1 is turned on, so that the current source I1 is coupled to the capacitor C1. After the time t3, the phase detecting unit 38 detects a phase difference between the external clock signal ECK and the internal clock signal ICK, and generates the phase signal DN according to the detection result, which causes the current source to be fixed. I4 begins to discharge the capacitor C1. In this embodiment, the current value of the current source I4 is greater than the current value of the current source I1. Therefore, the capacitor C1 is charged by the net current I4-I1.

該時脈信號ECK在時間t4時進入邏輯0位準,因此該相位信號DN也回到邏輯0位準。接著,該開關M4會截止,該電容會由流經定電流源I1的電流所充電。該電容在時間t5後會依類似的方式進行充電和放電,使得該電容C1上的電壓VTRI會以一三角波方式產生。 The clock signal ECK enters a logic 0 level at time t4, so the phase signal DN also returns to a logic 0 level. Then, the switch M4 is turned off, and the capacitor is charged by the current flowing through the constant current source I1. The capacitor is charged and discharged in a similar manner after time t5, so that the voltage VTRI across the capacitor C1 is generated in a triangular wave manner.

如上所述,該三角波信號產生器30會藉由偵測該外部時脈信號ECK和該內部時脈信號ICK之間的相位差值,將該內部時脈信號ICK同步於該外部供應的時脈信號 ECK。當該外部時脈信號ECK的相位落後該內部時脈信號ICK的相位時,該電容C1會在相位差間隔中保持先前的充電/放電狀態。由於信號VTRI的斜率整體變緩,故斜坡週期增加。依此方式,該內部時脈信號ICK在數個循環後會同步於該外部供應的時脈信號ECK。 As described above, the triangular wave signal generator 30 synchronizes the internal clock signal ICK to the externally supplied clock by detecting the phase difference between the external clock signal ECK and the internal clock signal ICK. signal ECK. When the phase of the external clock signal ECK falls behind the phase of the internal clock signal ICK, the capacitor C1 maintains the previous charge/discharge state in the phase difference interval. Since the slope of the signal VTRI is generally slow, the ramp period is increased. In this way, the internal clock signal ICK is synchronized to the externally supplied clock signal ECK after several cycles.

在上述實施例中,該電容器C1會由定電流源I3和I4進行額外的充電和放電。然而,在不同的實施例中,該電容器C1也可在相位差間隔中由可變電流源進行額外的充電和放電。第八圖顯示結合本發明一實施例之三角波信號產生器30’之電路圖。參照第八圖,一比較電路86比較該相位信號DP的脈波寬度與一預定時間間隔TSET,以產生由複數個位元C0至CN所組成的一數位碼。同時,該比較電路86比較該相位信號DN的脈波寬度與該預定時間間隔TSET,以產生由複數個位元B0至BN所組成的一數位碼。 In the above embodiment, the capacitor C1 is additionally charged and discharged by the constant current sources I3 and I4. However, in various embodiments, the capacitor C1 can also be additionally charged and discharged by the variable current source in a phase difference interval. The eighth diagram shows a circuit diagram of a triangular wave signal generator 30' incorporating an embodiment of the present invention. Referring to the eighth diagram, a comparison circuit 86 compares the pulse width of the phase signal DP with a predetermined time interval TSET to generate a digital code composed of a plurality of bits C0 to CN. At the same time, the comparison circuit 86 compares the pulse width of the phase signal DN with the predetermined time interval TSET to generate a digital code composed of a plurality of bits B0 to BN.

參照第八圖,一切換電流陣列82接收該等數位位元C0至CN後,根據該等數位位元C0至CN提供充電電流。一切換電流陣列84接收該等數位位元B0至BN後,根據該等數位位元B0至BN提供放電電流。第九圖顯示結合本發明一實施例之該等切換電流陣列82和84之電路圖。參照第九圖,該切換電流陣列82包含複數個相同的電流源I1至IN,每一電流源傳送相同的電流I。該切換電流陣列82進一步包含對應至複數個電流源I1至IN的複數個開關SW1至SWN。舉例而言,開關 SW1負責控制電流源I1和電容C1的耦接狀態。該切換電流陣列84之電路組態近似於該電流陣列82。參照第九圖,該切換電流陣列84包含複數個相同的電流源I1至IN,每一電流源傳送相同的電流I。該切換電流陣列84進一步包含對應至複數個電流源I1至IN的複數個開關SW1至SWN。 Referring to the eighth figure, after the switching current array 82 receives the digital bits C0 to CN, the charging current is supplied according to the digital bits C0 to CN. After the switching current array 84 receives the digits B0 to BN, the discharge current is supplied according to the digits B0 to BN. The ninth diagram shows a circuit diagram of the switching current arrays 82 and 84 in connection with an embodiment of the present invention. Referring to the ninth diagram, the switching current array 82 includes a plurality of identical current sources I1 to IN, each of which delivers the same current I. The switching current array 82 further includes a plurality of switches SW1 to SWN corresponding to the plurality of current sources I1 to IN. For example, the switch SW1 is responsible for controlling the coupling state of current source I1 and capacitor C1. The circuit configuration of the switching current array 84 approximates the current array 82. Referring to the ninth diagram, the switching current array 84 includes a plurality of identical current sources I1 to IN, each of which delivers the same current I. The switching current array 84 further includes a plurality of switches SW1 to SWN corresponding to the plurality of current sources I1 to IN.

第十圖顯示結合本發明一實施例之該三角波信號產生器30’之運作流程圖。該流程開始於步驟S100。以下說明請參照第八圖至第十圖。在步驟S102中,該相位偵測單元38會接收該外部時脈信號ECK和該內部時脈信號ICK,並且根據兩者間的相位差值產生該相位信號DP。在步驟S104中,該比較電路86比較該相位信號DP的脈波寬度與預定時間間隔TSET,以產生由複數個數位位元C0至CN。在一實施例中,該等數位位元C0至CN反應於該相位信號DP的脈波寬度與該預定時間間隔TSET間的差值。在另一實施例中,該比較電路86比較該相位信號DP的脈波寬度與複數個預定時間間隔TSETI至TSETN,以產生由複數個數位位元C0至CN。 The tenth diagram shows a flow chart of the operation of the triangular wave signal generator 30' in conjunction with an embodiment of the present invention. The flow begins in step S100. Please refer to the eighth to tenth figures for the following description. In step S102, the phase detecting unit 38 receives the external clock signal ECK and the internal clock signal ICK, and generates the phase signal DP according to the phase difference between the two. In step S104, the comparison circuit 86 compares the pulse width of the phase signal DP with a predetermined time interval TSET to generate a plurality of digits C0 to CN. In one embodiment, the digits C0 to CN are responsive to a difference between a pulse width of the phase signal DP and the predetermined time interval TSET. In another embodiment, the comparison circuit 86 compares the pulse width of the phase signal DP with a plurality of predetermined time intervals TSETI through TSETN to produce a plurality of digital bits C0 through CN.

接著,在步驟S106中,如果該相位信號DP的脈波寬度大於該預定時間間隔TSET,流過該電流陣列82的總電流值會增加以對電容C1進行充電。接著,該流程回到步驟S104。如果在充電電流增加後該相位信號DP的脈波寬度小於該預定時間間隔TSET,則結束該流程。 Next, in step S106, if the pulse width of the phase signal DP is greater than the predetermined time interval TSET, the total current value flowing through the current array 82 is increased to charge the capacitor C1. Then, the flow returns to step S104. If the pulse width of the phase signal DP after the increase in the charging current is less than the predetermined time interval TSET, the flow is ended.

參照第八圖至第十圖,在本發明一實施例中, 該電容C1在初始時只會由該電流陣列82中的一個電流源和該電流陣列84中的一個電流源進行充電和放電。接著,在步驟S106中,如果該相位信號DP的脈波寬度在數個時脈週期後還是大於該預定時間間隔TSET(例如100ns),該電流陣列82中的另一電流源會耦接至該電容C1以增加充電電流。在數個時脈週期後,該比較電路86會再次比較該相位信號DP的脈波寬度與該預定時間間隔TSET。如果該相位信號DP的脈波寬度仍大於該預定時間間隔TSET,表示流過該電流陣列82的總充電電流仍無法降低該外部時脈信號ECK和該內部時脈信號ICK間的相位差值,因此該電流陣列82中的又一開關會開啟使又一電流源耦接至該電容C1以增加充電電流。如果在數個週期後該相位信號DP的脈波寬度仍大於該預定時間間隔TSET,則該電流陣列82中的再一開關會開啟使再一電流源耦接至該電容C1以增加充電電流。該等開關會持續開啟使不同的電流源依序耦接至該電容C1以增加充電電流,直至該相位信號DP的脈波寬度小於該預定時間間隔TSET。依此方式,該相位信號DP的脈波寬度會小於該預定時間間隔TSET。 Referring to the eighth to tenth embodiments, in an embodiment of the present invention, The capacitor C1 is initially charged and discharged only by one of the current sources 82 and one of the current arrays 84. Next, in step S106, if the pulse width of the phase signal DP is greater than the predetermined time interval TSET (eg, 100 ns) after several clock cycles, another current source in the current array 82 is coupled to the Capacitor C1 to increase the charging current. After a number of clock cycles, the comparison circuit 86 compares the pulse width of the phase signal DP again with the predetermined time interval TSET. If the pulse width of the phase signal DP is still greater than the predetermined time interval TSET, it indicates that the total charging current flowing through the current array 82 cannot reduce the phase difference between the external clock signal ECK and the internal clock signal ICK. Therefore, another switch in the current array 82 is turned on to couple a further current source to the capacitor C1 to increase the charging current. If the pulse width of the phase signal DP is still greater than the predetermined time interval TSET after a number of cycles, then another switch in the current array 82 is turned on to couple a further current source to the capacitor C1 to increase the charging current. The switches are continuously turned on to sequentially connect different current sources to the capacitor C1 to increase the charging current until the pulse width of the phase signal DP is less than the predetermined time interval TSET. In this way, the pulse width of the phase signal DP will be less than the predetermined time interval TSET.

在上述實施例中,該電流陣列82中的該等開關SW1至SWN會依序開啟以增加總充電電流,而該電流陣列84僅有開關SW1導通以增加放電電流。在另一實施例中,該電流陣列84中的該等開關SW1至SWN會依序開啟以增加總放電電流,而該電流陣列82僅有開關SW1導通以增加充電電流。 然而,在又一實施例中,該電流陣列82中的開關SW1至SWN和該電流陣列84中的開關SW1至SWN均會依序導通,以根據該外部時脈信號ECK和該內部時脈信號ICK間的相位差值增加總充電和總放電電流。依此方式,該相位信號DP的脈波寬度會逐漸縮小,直至小於該預定時間間隔TSET。 In the above embodiment, the switches SW1 to SWN in the current array 82 are sequentially turned on to increase the total charging current, and the current array 84 only has the switch SW1 turned on to increase the discharge current. In another embodiment, the switches SW1 through SWN in the current array 84 are sequentially turned on to increase the total discharge current, and the current array 82 has only the switch SW1 turned on to increase the charging current. However, in still another embodiment, the switches SW1 to SWN in the current array 82 and the switches SW1 to SWN in the current array 84 are sequentially turned on according to the external clock signal ECK and the internal clock signal. The phase difference between ICK increases the total charge and total discharge current. In this way, the pulse width of the phase signal DP is gradually reduced until it is less than the predetermined time interval TSET.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

本發明之技術內容及技術特點已揭示如上,然而熟悉本項技術之人士仍可能基於本發明之教示及揭示而作種種不背離本發明精神之替換及修飾。因此,本發明之保護範圍應不限於實施例所揭示者,而應包括各種不背離本發明之替換及修飾,並為隨後之申請專利範圍所涵蓋。 The technical and technical features of the present invention have been disclosed as above, and those skilled in the art can still make various substitutions and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be construed as not limited by the scope of the invention, and the invention is intended to be

30‧‧‧三角波信號產生器 30‧‧‧ Triangle Wave Signal Generator

32‧‧‧切換單元 32‧‧‧Switch unit

33‧‧‧第二驅動電路 33‧‧‧Second drive circuit

34‧‧‧高低位準限制電路 34‧‧‧High and low level limit circuit

342‧‧‧比較器 342‧‧‧ Comparator

344‧‧‧比較器 344‧‧‧ Comparator

36‧‧‧內部時脈信號產生器 36‧‧‧Internal clock signal generator

38‧‧‧相位偵測單元 38‧‧‧ phase detection unit

C1‧‧‧電容器 C1‧‧‧ capacitor

I1,I2,I3,I4‧‧‧定電流源 I1, I2, I3, I4‧‧‧ constant current source

M1,M2,M3,M4‧‧‧開關 M1, M2, M3, M4‧‧ ‧ switch

Claims (9)

一種具有時脈信號同步之三角波產生電路,包括:一電容器,具有一輸出端以提供一三角波信號;第一和第二定電流源,用以對該電容器充電;第三和第四定電流源,用以對該電容器放電;一第一切換單元,包含一第一開關和一第二開關,該第一切換單元係用以響應於一內部時脈信號以控制該第一和該第三定電流源與該電容器之耦接狀態;一高/低位準限制單元,包含一第一和一第二比較單元,該第一比較單元用以比較該三角波信號與一高位準參考電壓,並於該三角波信號到達該高位準參考電壓時產生一輸出信號,該第二比較單元用以比較該三角波信號與一低位準參考電壓,並於該三角波信號到達該低位準參考電壓時產生一輸出信號;一時脈信號產生器,用以響應於該第一比較單元的該輸出信號和該第二比較單元的該輸出信號以產生該內部時脈信號;一相位偵測單元,用以接收一外部供應時脈信號和該內部時脈信號,並根據該外部供應時脈信號和該內部時脈信號的相位差值產生一第一相位信號和一第二相位信號;以及一第二切換單元,包含一第三開關和一第四開關,該第三開關用以響應於該第一相位信號以控制該第二定電流源 與該電容器之耦接狀態,且該第四開關用以響應於該第二相位信號以控制該第四定電流源與該電容器之耦接狀態。 A triangular wave generating circuit with clock signal synchronization, comprising: a capacitor having an output terminal for providing a triangular wave signal; first and second constant current sources for charging the capacitor; third and fourth constant current sources Discharging the capacitor; a first switching unit includes a first switch and a second switch, the first switching unit is configured to control the first and the third predetermined in response to an internal clock signal a state in which the current source is coupled to the capacitor; a high/low level limiting unit includes a first and a second comparing unit, the first comparing unit is configured to compare the triangular wave signal with a high level reference voltage, and When the triangular wave signal reaches the high level reference voltage, an output signal is generated, and the second comparison unit is configured to compare the triangular wave signal with a low level reference voltage, and generate an output signal when the triangular wave signal reaches the low level reference voltage; a pulse signal generator responsive to the output signal of the first comparison unit and the output signal of the second comparison unit to generate the internal clock signal a phase detecting unit configured to receive an externally supplied clock signal and the internal clock signal, and generate a first phase signal and a first phase according to a phase difference between the externally supplied clock signal and the internal clock signal a second phase switching unit, and a second switching unit including a third switch and a fourth switch, the third switch responsive to the first phase signal to control the second constant current source a state of being coupled to the capacitor, and the fourth switch is responsive to the second phase signal to control a coupling state of the fourth constant current source to the capacitor. 根據申請專利範圍第1項之三角波產生電路,其中當該外部供應時脈信號之昇緣領先該內部時脈信號之昇緣時,該相位偵測單元產生該第一相位信號。 The triangular wave generating circuit of claim 1, wherein the phase detecting unit generates the first phase signal when an rising edge of the externally supplied clock signal leads the rising edge of the internal clock signal. 根據申請專利範圍第1項之三角波產生電路,其中當外部供應時脈信號之降緣領先該內部時脈信號之降緣時,該相位偵測單元產生該第二相位信號。 The triangular wave generating circuit of claim 1, wherein the phase detecting unit generates the second phase signal when a falling edge of the externally supplied clock signal leads the falling edge of the internal clock signal. 根據申請專利範圍第1項之三角波產生電路,其中該第二定電流源的電流值大於該第三定電流源的電流值,且當外部供應時脈信號之昇緣落後該內部時脈信號之昇緣時,該相位偵測單元產生該第一相位信號。 According to the triangular wave generating circuit of claim 1, wherein the current value of the second constant current source is greater than the current value of the third constant current source, and the rising edge of the externally supplied clock signal lags behind the internal clock signal The phase detecting unit generates the first phase signal when the edge is raised. 根據申請專利範圍第1項之三角波產生電路,其中該第四定電流源的電流值大於該第一定電流源的電流值,且當外部供應時脈信號之降緣落後該內部時脈信號之降緣時,該相位偵測單元產生該第二相位信號。 According to the triangular wave generating circuit of claim 1, wherein the current value of the fourth constant current source is greater than the current value of the first constant current source, and the falling edge of the externally supplied clock signal lags behind the internal clock signal The phase detecting unit generates the second phase signal when the edge is lowered. 根據申請專利範圍第1項之三角波產生電路,更包括:一第一比較單元,用以比較該第一相位信號的脈波寬度與複數個預定時間間隔,並在該第一相位信號的脈波寬度大於該等預定時間間隔時產生一第一數位碼;以及一第一切換電流陣列,包含複數個相同的定電流源和對應至該等定電流源的複數個開關; 其中該第一切換電流陣列中的該等定電流源響應於該第一數位碼以依序耦接至該電容器。 The triangular wave generating circuit of claim 1, further comprising: a first comparing unit for comparing a pulse width of the first phase signal with a plurality of predetermined time intervals, and a pulse wave of the first phase signal Generating a first digit code when the width is greater than the predetermined time interval; and a first switching current array comprising a plurality of identical constant current sources and a plurality of switches corresponding to the constant current sources; The constant current sources in the first switching current array are sequentially coupled to the capacitor in response to the first digital code. 根據申請專利範圍第1項之三角波產生電路,更包括:一第二比較單元,用以比較該第二相位信號的脈波寬度與複數個預定時間間隔,並在該第二相位信號的脈波寬度大於該等預定時間間隔時產生一第二數位碼;以及一第二切換電流陣列,包含複數個相同的定電流源和對應至該等定電流源的複數個開關;其中該第二切換電流陣列中的該等定電流源響應於該第二數位碼以依序耦接至該電容器。 According to the triangular wave generating circuit of claim 1, further comprising: a second comparing unit, configured to compare a pulse width of the second phase signal with a plurality of predetermined time intervals, and a pulse wave of the second phase signal Generating a second digit code when the width is greater than the predetermined time interval; and a second switching current array comprising a plurality of identical constant current sources and a plurality of switches corresponding to the constant current sources; wherein the second switching current The constant current sources in the array are coupled to the capacitor in sequence in response to the second digital code. 根據申請專利範圍第1項之三角波產生電路,更包括:一第一比較單元,用以比較該第一相位信號的脈波寬度與一預定時間間隔,並根據該第一相位信號的脈波寬度和該預定時間間隔的相位差值產生一第一數位碼;以及一第一切換電流陣列,包含複數個相同的定電流源和對應至該等定電流源的複數個開關;其中該第一切換電流陣列中的該等定電流源響應於該第一數位碼以依序耦接至該電容器。 The triangular wave generating circuit of claim 1, further comprising: a first comparing unit for comparing a pulse width of the first phase signal with a predetermined time interval, and according to a pulse width of the first phase signal And a phase difference value of the predetermined time interval to generate a first digit code; and a first switching current array comprising a plurality of identical constant current sources and a plurality of switches corresponding to the constant current sources; wherein the first switching The constant current sources in the current array are coupled to the capacitor in sequence in response to the first digital code. 根據申請專利範圍第1項之三角波產生電路,更包括:一第二比較單元,用以比較該第二相位信號的脈波寬度與一預定時間間隔,並根據該第二相位信號的脈波寬度和該預定時間間隔的相位差值產生一第二數位碼;以及 一第二切換電流陣列,包含複數個相同的定電流源和對應至該等定電流源的複數個開關;其中該第二切換電流陣列中的該等定電流源響應於該第二數位碼以依序耦接至該電容器。 The triangular wave generating circuit of claim 1, further comprising: a second comparing unit for comparing a pulse width of the second phase signal with a predetermined time interval, and according to a pulse width of the second phase signal And a phase difference value of the predetermined time interval generates a second digit code; a second switching current array comprising a plurality of identical constant current sources and a plurality of switches corresponding to the constant current sources; wherein the constant current sources in the second switching current array are responsive to the second digital code The capacitors are sequentially coupled to the capacitor.
TW103101534A 2014-01-15 2014-01-15 Triangular wave generating circuit providing clock synchronization TWI532319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103101534A TWI532319B (en) 2014-01-15 2014-01-15 Triangular wave generating circuit providing clock synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103101534A TWI532319B (en) 2014-01-15 2014-01-15 Triangular wave generating circuit providing clock synchronization

Publications (2)

Publication Number Publication Date
TW201528687A TW201528687A (en) 2015-07-16
TWI532319B true TWI532319B (en) 2016-05-01

Family

ID=54198460

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103101534A TWI532319B (en) 2014-01-15 2014-01-15 Triangular wave generating circuit providing clock synchronization

Country Status (1)

Country Link
TW (1) TWI532319B (en)

Also Published As

Publication number Publication date
TW201528687A (en) 2015-07-16

Similar Documents

Publication Publication Date Title
US9274151B2 (en) Fast wideband frequency comparator
US8044690B2 (en) System and method for clock-synchronized triangular waveform generation
JP6688138B2 (en) Load response jitter
TWI679514B (en) Power converter
US8258714B2 (en) LED controller with phase-shift dimming function and LED phase-shift dimming circuit and method thereof
US7977994B2 (en) Digital pulse-width-modulator with discretely adjustable delay line
TWI689161B (en) Power converter
US20120086515A1 (en) Relaxation oscillator
US9300281B2 (en) Triangular wave generating circuit to provide clock synchronization
CN101626225A (en) Sawtooth wave generating circuit and switch mode power supply having the same
TW201630322A (en) Dc-dc converter
US20080129370A1 (en) Control circuit and method for a switching amplifier
CN110504829B (en) DC-DC conversion circuit and control method thereof
JP2004023948A (en) Multi-channel power supply circuit device, power supply control integrated circuit, and soft start circuit
US20140132314A1 (en) Triangular waveform generating apparatus
US10128737B1 (en) Constant on-time switching converter and clock synchronization circuit
US7391242B1 (en) Sawtooth waveform generator
TWI532319B (en) Triangular wave generating circuit providing clock synchronization
US7388426B2 (en) Control circuit and method for a switching amplifier
US7317362B2 (en) Oscillator circuit and oscillation control method
CN104811164B (en) Triangular wave generating circuit with clock signal synchronization
US7986179B2 (en) Circuit and method for reducing popping sound
TW201545452A (en) Pulse width modulation controller, voltage regulator and control method thereof
JP5589769B2 (en) Switching power supply control circuit and electronic device
JP6956052B2 (en) Gate control circuit, power supply circuit and inverter circuit