TWI783274B - Low distortion triangular wave generator circuit and low distortion triangular wave generation method - Google Patents

Low distortion triangular wave generator circuit and low distortion triangular wave generation method Download PDF

Info

Publication number
TWI783274B
TWI783274B TW109134070A TW109134070A TWI783274B TW I783274 B TWI783274 B TW I783274B TW 109134070 A TW109134070 A TW 109134070A TW 109134070 A TW109134070 A TW 109134070A TW I783274 B TWI783274 B TW I783274B
Authority
TW
Taiwan
Prior art keywords
signal
triangular wave
level
circuit
current
Prior art date
Application number
TW109134070A
Other languages
Chinese (zh)
Other versions
TW202137705A (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 US17/188,962 priority Critical patent/US11152927B1/en
Publication of TW202137705A publication Critical patent/TW202137705A/en
Application granted granted Critical
Publication of TWI783274B publication Critical patent/TWI783274B/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K4/00Generating pulses having essentially a finite slope or stepped portions
    • H03K4/06Generating pulses having essentially a finite slope or stepped portions having triangular shape
    • H03K4/08Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape
    • H03K4/48Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices
    • H03K4/50Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices in which a sawtooth voltage is produced across a capacitor
    • H03K4/501Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices in which a sawtooth voltage is produced across a capacitor the starting point of the flyback period being determined by the amplitude of the voltage across the capacitor, e.g. by a comparator
    • H03K4/502Generating pulses having essentially a finite slope or stepped portions having triangular shape having sawtooth shape using as active elements semiconductor devices in which a sawtooth voltage is produced across a capacitor the starting point of the flyback period being determined by the amplitude of the voltage across the capacitor, e.g. by a comparator the capacitor being charged from a constant-current source

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Amplifiers (AREA)
  • Sanitary Thin Papers (AREA)

Abstract

A low distortion triangular wave generator circuit generates a triangular wave by periodically integrating a charging current and a discharging current towards an integration capacitor during a charging period and a discharging period respectively. Time lengths of the charging period and the discharging period are the same. A common mode related signal related to a common mode characteristic of the triangular wave is generated. An adjusting signal is generated according to a difference between the common mode related signal and a predetermined DC (direct current) level. The adjusting signal adjusts at least one of the charging current and the discharging current with a feedback configuration such that the triangular wave is symmetrical and an average voltage of the triangular wave is equal to a target DC level.

Description

低失真三角波產生電路及產生低失真三角波的方法Low-distortion triangular wave generating circuit and method for generating low-distortion triangular wave

本發明係有關一種三角波產生電路,特別是指一種低失真的三角波產生電路。本發明也有關於一種產生低失真三角波的方法。 The invention relates to a triangular wave generating circuit, in particular to a low-distortion triangular wave generating circuit. The invention also relates to a method of generating a low distortion triangle wave.

與本案相關的前案有:US9300281B2,US7746130B2,US8044690B2,“A Sub 1-V Constant Gm-C Switched-Capacitor Current Source,IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS-II:EXPRESS BRIEFS,VOL.54,NO.3,MARCH 2007”,“A Low Area,Switched-Resistor Loop Filter Technique for Fractional-N Synthesizers Applied to a MEMS-based Programmable Oscillator,ISSCC 2010,Session 13.1”。 Previous cases related to this case include: US9300281B2, US7746130B2, US8044690B2, "A Sub 1-V Constant Gm-C Switched-Capacitor Current Source, IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS-II: EXPRESS BRIEFS, VOL.54, NO.3, MARCH 2007", "A Low Area, Switched-Resistor Loop Filter Technique for Fractional-N Synthesizers Applied to a MEMS-based Programmable Oscillator, ISSCC 2010, Session 13.1".

圖1A與圖1B顯示一種先前技術之三角波產生電路101,其中兩個比較器分別用以比較三角波訊號VTR與目標峰值位準VH以及比較三角波訊號VTR與目標谷值位準VL,並根據兩個比較器的比較結果控制充電電流與放電電流,使得於穩態時,三角波訊號VTR的峰值與谷值可分別等於目標峰值位準VH與目標谷值位準VL。 FIG. 1A and FIG. 1B show a triangular wave generating circuit 101 in the prior art, in which two comparators are respectively used to compare the triangular wave signal VTR with the target peak level VH and compare the triangular wave signal VTR with the target valley level VL, and according to the two The comparison result of the comparator controls the charging current and the discharging current, so that in a steady state, the peak value and the valley value of the triangular wave signal VTR can be equal to the target peak level VH and the target valley level VL respectively.

先前技術三角波產生電路101的缺點在於,其用以修正控制充電電流與放電電流的時段僅限於充電或放電的部分時段,因此,本先前技術所產生的三角波訊號VTR之上升斜率或下降斜率會有轉折,因而造成三角波訊號VTR具有較高的失真度。 The disadvantage of the triangular wave generating circuit 101 in the prior art is that the period for correcting and controlling the charging current and discharging current is limited to a part of the charging or discharging period. Therefore, the rising slope or falling slope of the triangular wave signal VTR generated by the prior art will vary. turning, thus causing the triangular wave signal VTR to have a higher degree of distortion.

圖2A~圖2B顯示一種先前技術之三角波產生電路102,此先前技術同樣藉由兩個比較器分別用以比較三角波訊號VTR與目標峰值位準VH以及比較三角波訊號VTR與目標谷值位準VL,並根據兩個比較器的比較結果控制充電與放電的時間,使得於穩態時,三角波訊號VTR的峰值與谷值可分別等於目標峰值位準VH與目標谷值位準VL。 2A-2B show a triangular wave generating circuit 102 in the prior art. This prior art also uses two comparators to compare the triangular wave signal VTR with the target peak level VH and compare the triangular wave signal VTR with the target valley level VL. , and control the charging and discharging time according to the comparison results of the two comparators, so that in a steady state, the peak value and the valley value of the triangular wave signal VTR can be equal to the target peak level VH and the target valley level VL respectively.

先前技術三角波產生電路102的缺點在於,當充電電流與下降電流不相等時,本先前技術所產生的三角波訊號VTR的上升時間與下降時間亦會不相等,因而造成所產生的三角波訊號VTR為非對稱的三角波,同樣也會具有較高的失真度。 The disadvantage of the prior art triangular wave generating circuit 102 is that when the charging current and the falling current are not equal, the rising time and falling time of the triangular wave signal VTR generated by the prior art will also be unequal, thus causing the generated triangular wave signal VTR to be negative. A symmetrical triangle wave also has a high degree of distortion.

相較於圖1A與圖2A之先前技術,本發明所產生的三角波訊號具有單一斜率且對稱之優點,亦因此而具有低失真度之優點。 Compared with the prior art shown in FIG. 1A and FIG. 2A , the triangular wave signal generated by the present invention has the advantages of single slope and symmetry, and therefore has the advantage of low distortion.

就其中一個觀點言,本發明提供了一種低失真三角波產生電路,包含:一積分電路,用以接收一外部時脈訊號,該積分電路於該外部時脈訊號的一切換週期中的一充電時段與一放電時段,分別以一充電電流與一放電電流對一積分電容器積分而產生一三角波訊號,其中該充電時段與該放電時段具有相同時間長度;以及一調節控制電路,用以根據該三角波訊號而產生一共模相關訊號,其中該共模相關訊號相關於該三角波訊號 的一共模特徵,且該調節控制電路根據該共模相關訊號與一預設直流位準的差值而以具有增益的方式產生一調節訊號;其中該調節訊號以回授方式,用以調整該充電電流或該放電電流中的其中之至少之一,使得該三角波訊號為對稱三角波,且該三角波訊號的平均電壓等於一目標直流位準。 In terms of one of the viewpoints, the present invention provides a low-distortion triangular wave generating circuit, comprising: an integrating circuit for receiving an external clock signal, and the integrating circuit is charged during a switching cycle of the external clock signal and a discharging period, respectively integrating a charging current and a discharging current to an integral capacitor to generate a triangular wave signal, wherein the charging period and the discharging period have the same time length; and an adjustment control circuit for according to the triangular wave signal And generate a common mode correlation signal, wherein the common mode correlation signal is related to the triangular wave signal A common mode characteristic of the common mode, and the adjustment control circuit generates an adjustment signal with gain according to the difference between the common mode related signal and a preset DC level; wherein the adjustment signal is used in a feedback manner to adjust the At least one of the charging current or the discharging current makes the triangular wave signal a symmetrical triangular wave, and the average voltage of the triangular wave signal is equal to a target DC level.

在一較佳實施例中,該調節控制電路不調整該充電電流或該放電電流中的其中之另一。 In a preferred embodiment, the regulating control circuit does not regulate the other of the charging current or the discharging current.

在一較佳實施例中,該調節控制電路包括:一取樣維持電路,用以週期性地於每次該切換週期中的一取樣維持時點,對該三角波訊號取樣維持而產生該共模相關訊號;以及一誤差放大電路,用以將該共模相關訊號與該預設直流位準的差值放大而產生該調節訊號,其中該預設直流位準與該目標直流位準的關係由該取樣維持時點與該切換週期的比例關係而決定。 In a preferred embodiment, the adjustment control circuit includes: a sampling and holding circuit, which is used to periodically sample and hold the triangular wave signal at a sampling and holding time point in each switching period to generate the common-mode correlation signal and an error amplifier circuit for amplifying the difference between the common-mode correlation signal and the preset DC level to generate the adjustment signal, wherein the relationship between the preset DC level and the target DC level is determined by the sampling The proportional relationship between the maintenance timing and the switching cycle is determined.

在一較佳實施例中,該取樣維持電路以一相差時脈訊號對該三角波訊號進行取樣維持,其中該相差時脈訊號與該切換週期的相位相差90度,以取樣維持該三角波訊號的一上升斜坡的中間值或一下降斜坡的中間值,進而產生該共模相關訊號;其中該誤差放大電路以該目標直流位準做為該預設直流位準。 In a preferred embodiment, the sample-and-hold circuit uses a phase-difference clock signal to sample and hold the triangular wave signal, wherein the phase difference between the phase-difference clock signal and the switching cycle is 90 degrees, so as to sample and hold a phase of the triangular wave signal The middle value of a rising slope or the middle value of a falling slope generates the common-mode correlation signal; wherein the error amplifier circuit uses the target direct current level as the preset direct current level.

在一較佳實施例中,該低失真三角波產生電路之特徵在於以下之一:(1)其中該取樣維持電路以該外部時脈訊號而取樣維持該三角波訊號的一峰值,進而產生該共模相關訊號;其中該誤差放大電路以該三角波訊號的一目標峰值位準做為該預設直流位準;或者(2)其中該取樣維持電路以該外部時脈訊號而取樣維持該三角波訊號的一谷值,進而產生該共模相 關訊號;其中該誤差放大電路以該三角波訊號的一目標谷值位準做為該預設直流位準。 In a preferred embodiment, the low-distortion triangular wave generation circuit is characterized by one of the following: (1) wherein the sample-and-hold circuit uses the external clock signal to sample and hold a peak value of the triangular wave signal, thereby generating the common mode related signal; wherein the error amplifier circuit uses a target peak level of the triangular wave signal as the preset DC level; or (2) wherein the sample hold circuit uses the external clock signal to sample and maintain a triangular wave signal valley, which in turn produces the common-mode phase off signal; wherein the error amplifier circuit uses a target valley level of the triangular wave signal as the preset DC level.

在一較佳實施例中,該取樣維持電路以交錯方式而取樣維持該三角波訊號以組合成為該共模相關訊號。 In a preferred embodiment, the sample-and-hold circuit samples and holds the triangular wave signal in an interleaved manner to combine into the common-mode correlation signal.

在一較佳實施例中,該調節控制電路包括一濾波放大電路,其包括:一誤差放大器;以及一低通濾波回授網路,以回授方式耦接於該誤差放大器,用以接收該三角波訊號,其中該誤差放大器與該低通濾波回授網路以主動式低通濾波之方式,將該三角波訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該誤差放大器以該目標直流位準做為該預設直流位準。 In a preferred embodiment, the adjustment control circuit includes a filter amplifier circuit, which includes: an error amplifier; and a low-pass filter feedback network, coupled to the error amplifier in a feedback manner, for receiving the A triangular wave signal, wherein the error amplifier and the low-pass filter feedback network use active low-pass filtering to amplify the difference between the triangular wave signal and the preset DC level, and simultaneously obtain the common-mode related signal and The adjustment signal is generated, wherein the error amplifier uses the target DC level as the preset DC level.

在一較佳實施例中,該調節控制電路包括:一比較電路,用以比較該三角波訊號與一參考訊號而產生一脈寬調變訊號;以及一濾波放大電路,其包括:一誤差放大電路;以及一低通濾波回授網路,以回授方式耦接於該誤差放大電路,用以接收該脈寬調變訊號,其中該誤差放大電路與該低通濾波回授網路以主動式低通濾波之方式,將該脈寬調變訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準相關於該參考訊號、該三角波訊號的一目標峰值位準、該三角波訊號的一目標谷值位準以及該脈寬調變訊號的振幅,其中該參考訊號介於該目標峰值位準與該目標谷值位準之間。 In a preferred embodiment, the adjustment control circuit includes: a comparator circuit for comparing the triangular wave signal with a reference signal to generate a pulse width modulation signal; and a filter amplifier circuit, which includes: an error amplifier circuit ; and a low-pass filter feedback network coupled to the error amplifier circuit in a feedback manner to receive the pulse width modulation signal, wherein the error amplifier circuit and the low-pass filter feedback network are active The way of low-pass filtering is to amplify the difference between the PWM signal and the preset DC level, and at the same time obtain the common-mode related signal and generate the adjustment signal, wherein the preset DC level is related to the reference signal, a target peak level of the triangular wave signal, a target valley level of the triangular wave signal, and the amplitude of the PWM signal, wherein the reference signal is between the target peak level and the target valley level between.

在一較佳實施例中,該參考訊號對應於該目標直流位準,該預設直流位準對應於該脈寬調變訊號的振幅的1/2。 In a preferred embodiment, the reference signal corresponds to the target DC level, and the default DC level corresponds to 1/2 of the amplitude of the PWM signal.

在一較佳實施例中,該調節控制電路包括:一比較電路,用以比較該三角波訊號與該目標直流位準而產生一脈寬調變訊號;一占空比 比較電路,用以比較該脈寬調變訊號與該外部時脈訊號,或者用以比較該脈寬調變訊號與一相差時脈訊號,而產生一占空比誤差訊號,其中該相差時脈訊號與該切換週期的相位相差90度;以及一濾波電路,用以將該占空比誤差訊號濾波以同時取得該共模相關訊號與產生該調節訊號。 In a preferred embodiment, the adjustment control circuit includes: a comparison circuit for comparing the triangular wave signal with the target DC level to generate a pulse width modulation signal; a duty cycle The comparison circuit is used to compare the pulse width modulation signal with the external clock signal, or to compare the pulse width modulation signal with a phase difference clock signal to generate a duty ratio error signal, wherein the phase difference clock signal The phase difference between the signal and the switching period is 90 degrees; and a filter circuit is used to filter the duty cycle error signal to simultaneously obtain the common mode related signal and generate the adjustment signal.

在一較佳實施例中,該濾波電路包括:一誤差放大電路;以及一低通濾波回授網路,以回授方式耦接於該誤差放大電路,用以接收該占空比誤差訊號,其中該誤差放大電路與該低通濾波回授網路以主動式低通濾波之方式,將該占空比誤差訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準對應於該占空比誤差訊號的振幅的1/2。 In a preferred embodiment, the filter circuit includes: an error amplifier circuit; and a low-pass filter feedback network coupled to the error amplifier circuit in a feedback manner to receive the duty ratio error signal, The error amplifier circuit and the low-pass filter feedback network amplify the difference between the duty ratio error signal and the preset DC level by means of active low-pass filter, and obtain the common-mode related signal at the same time and generating the regulation signal, wherein the preset DC level corresponds to 1/2 of the amplitude of the duty cycle error signal.

在一較佳實施例中,該占空比比較電路包括:一邏輯比較電路,用以比較該脈寬調變訊號與該外部時脈訊號之差異,或者用以比較該脈寬調變訊號與一相差時脈訊號之差異,而產生一上拉訊號與一下拉訊號以分別代表上升緣與下降緣的占空比差;以及一切換電路,配置為以下之一:(1)該切換電路包括彼此串聯於一供應電壓與一接地電位之間的一上側開關以及一下側開關,該上側開關與該下側開關分別受該上拉訊號與該下拉訊號的控制而切換,而產生該占空比誤差訊號,其中該供應電壓與該接地電位之間的電壓差對應於該占空比誤差訊號的振幅,其中該濾波電路將該占空比誤差訊號濾波以同時取得該共模相關訊號與產生該調節訊號;或者(2)該切換電路包括彼此串聯於一供應電壓與一接地電位之間的一上側電流源以及一下側電流源,分別受該上拉訊號與該下拉訊號的控制而切換,而產生該占空比誤差訊號,其中該供應電壓與該接地電位之間的電壓差對 應於該占空比誤差訊號的振幅,其中該濾波電路將該占空比誤差訊號積分且濾波以同時取得該共模相關訊號與產生該調節訊號。 In a preferred embodiment, the duty cycle comparison circuit includes: a logic comparison circuit for comparing the difference between the pulse width modulation signal and the external clock signal, or for comparing the pulse width modulation signal with the The difference of a phase-difference clock signal generates a pull-up signal and a pull-down signal to represent the duty cycle difference of the rising edge and the falling edge respectively; and a switching circuit configured as one of the following: (1) the switching circuit includes An upper switch and a lower switch connected in series between a supply voltage and a ground potential, the upper switch and the lower switch are switched under the control of the pull-up signal and the pull-down signal respectively to generate the duty ratio an error signal, wherein the voltage difference between the supply voltage and the ground potential corresponds to the amplitude of the duty cycle error signal, wherein the filter circuit filters the duty cycle error signal to simultaneously obtain the common mode related signal and generate the or (2) the switching circuit includes an upper side current source and a lower side current source connected in series between a supply voltage and a ground potential, which are switched under the control of the pull-up signal and the pull-down signal respectively, and generates the duty cycle error signal, where the voltage difference between the supply voltage and the ground potential is In response to the amplitude of the duty cycle error signal, the filter circuit integrates and filters the duty cycle error signal to simultaneously obtain the common-mode related signal and generate the adjustment signal.

在一較佳實施例中,該積分電路包括:該積分電容器;一可變電流電路,用以根據該調節訊號而產生該充電電流或該放電電流中的其中之一;一第一固定電流源,用以產生該充電電流或該放電電流中的其中之另一;以及一選擇電路,用以根據該外部時脈訊號而選擇該充電電流或該放電電流對該積分電容器積分而產生該三角波訊號。 In a preferred embodiment, the integration circuit includes: the integration capacitor; a variable current circuit for generating one of the charging current or the discharging current according to the adjustment signal; a first fixed current source , used to generate the other of the charging current or the discharging current; and a selection circuit, used to select the charging current or the discharging current according to the external clock signal and integrate the integrating capacitor to generate the triangular wave signal .

在一較佳實施例中,該可變電流電路配置為以下之一:(1)該可變電流電路包括;一壓控電流源,用以根據該調節訊號與一轉導係數而產生該充電電流或該放電電流中的其中之一;(2)該可變電流電路包括;一壓控電流源,用以根據該調節訊號與一轉導係數而產生一可變電流;以及一第二固定電流源,其中該可變電流與該第二固定電流源的電流之和或差對應於該充電電流或該放電電流中的其中之一;(3)該可變電流電路包括;一第三固定電流源;以及一差動電晶體對,共同接收且彼此分配該第二固定電流源,其中該差動電晶體對的其中之一偏置於一參考電壓,該差動電晶體對的其中之另一受控於該調節訊號,其中流經該差動電晶體對的電流對應於該充電電流或該放電電流中的其中之一;或者(4)該可變電流電路包括;一類比數位轉換器,將該調節訊號轉換為一數位切換訊號;至少一子電流源;至少一轉換開關,分別對應耦接於該至少一子電流源,其中該至少一轉換開關接受該數位切換訊號以對應切換而組合該至少之一子電流源,以產生對應於該調節訊號的該充電電流或該放電電流中的其中之一。 In a preferred embodiment, the variable current circuit is configured as one of the following: (1) The variable current circuit includes; a voltage-controlled current source for generating the charge according to the adjustment signal and a transconductance coefficient One of the current or the discharge current; (2) the variable current circuit includes; a voltage-controlled current source for generating a variable current according to the adjustment signal and a transconductance; and a second fixed A current source, wherein the sum or difference of the variable current and the current of the second fixed current source corresponds to one of the charging current or the discharging current; (3) the variable current circuit includes; a third fixed a current source; and a pair of differential transistors receiving and distributing the second fixed current source to each other, wherein one of the pair of differential transistors is biased at a reference voltage, and one of the pair of differential transistors is biased at a reference voltage. The other is controlled by the adjustment signal, wherein the current flowing through the differential transistor pair corresponds to one of the charging current or the discharging current; or (4) the variable current circuit includes; an analog-to-digital conversion device, converting the adjustment signal into a digital switching signal; at least one sub-current source; at least one transfer switch, which is respectively coupled to the at least one sub-current source, wherein the at least one transfer switch receives the digital switching signal to switch accordingly and combining the at least one sub-current source to generate one of the charging current or the discharging current corresponding to the adjustment signal.

在一較佳實施例中,該可變電流電路配置為(1)、(2)或(3)時,該選擇電路包括:一主要開關,用以控制該充電電流或該放電電流中的其 中之一對該積分電容器積分;以及一旁路開關,用以當該充電電流或該放電電流中的該其中之一不對該積分電容器積分時,將該充電電流或該放電電流中的該其中之一導通至一參考電位。 In a preferred embodiment, when the variable current circuit is configured as (1), (2) or (3), the selection circuit includes: a main switch for controlling the charging current or the discharging current one of the integrating capacitors; and a bypass switch for, when the one of the charging current or the discharging current is not integrating the integrating capacitor, the one of the charging current or the discharging current One is turned on to a reference potential.

就另一個觀點言,本發明也提供了一種產生低失真三角波的方法,包含:於一外部時脈訊號的一切換週期中的一充電時段與一放電時段,分別以一充電電流與一放電電流對一積分電容器積分而產生一三角波訊號,其中該充電時段與該放電時段具有相同時間長度;根據該三角波訊號而產生一共模相關訊號,其中該共模相關訊號相關於該三角波訊號的一共模特徵,且根據該共模相關訊號與一預設直流位準的差值而以具有增益的方式產生一調節訊號;以及以回授方式,根據該調節訊號以調整該充電電流或該放電電流中的其中之至少之一,使得該三角波訊號為對稱三角波,且該三角波訊號的平均電壓等於一目標直流位準。 From another point of view, the present invention also provides a method for generating a low-distortion triangular wave, including: a charging current and a discharging current are used for a charging period and a discharging period in a switching cycle of an external clock signal, respectively. Integrating an integrating capacitor to generate a triangular wave signal, wherein the charging period and the discharging period have the same time length; generating a common mode correlation signal according to the triangular wave signal, wherein the common mode correlation signal is related to a common mode characteristic of the triangular wave signal , and generate an adjustment signal with gain according to the difference between the common-mode related signal and a preset DC level; and adjust the charging current or the discharge current according to the adjustment signal in a feedback manner At least one of them makes the triangular wave signal a symmetrical triangular wave, and the average voltage of the triangular wave signal is equal to a target DC level.

在一較佳實施例中,僅調整該充電電流或該放電電流中的其中之一。 In a preferred embodiment, only one of the charging current or the discharging current is adjusted.

在一較佳實施例中,產生該調節訊號的步驟包括:週期性地於每次該切換週期中的一取樣維持時點,對該三角波訊號取樣維持而產生該共模相關訊號;以及將該共模相關訊號與該預設直流位準的差值放大而產生該調節訊號,其中該預設直流位準與該目標直流位準的關係由該取樣維持時點與該切換週期的比例關係而決定。 In a preferred embodiment, the step of generating the adjustment signal includes: periodically sampling and maintaining the triangular wave signal at a sampling and sustaining time point in each switching cycle to generate the common-mode correlation signal; and The adjustment signal is generated by amplifying the difference between the analog correlation signal and the preset DC level, wherein the relationship between the preset DC level and the target DC level is determined by the proportional relationship between the sampling hold time point and the switching period.

在一較佳實施例中,產生該共模相關訊號的步驟包括:以一相差時脈訊號對該三角波訊號進行取樣維持,其中該相差時脈訊號與該切換週期的相位相差90度,以取樣維持該三角波訊號的一上升斜坡的中間值 或一下降斜坡的中間值,進而產生該共模相關訊號;其中以該目標直流位準做為該預設直流位準。 In a preferred embodiment, the step of generating the common-mode correlation signal includes: sampling and maintaining the triangular wave signal with a phase-difference clock signal, wherein the phase difference between the phase-difference clock signal and the switching cycle is 90 degrees to sample Maintain the middle value of a rising slope of the triangular wave signal or an intermediate value of a falling slope to generate the common-mode related signal; wherein the target DC level is used as the preset DC level.

在一較佳實施例中,該方法之特徵在於以下之一:(1)以該外部時脈訊號而取樣維持該三角波訊號的一峰值,進而產生該共模相關訊號;且以該三角波訊號的一目標峰值位準做為該預設直流位準;或者(2)以該外部時脈訊號而取樣維持該三角波訊號的一谷值,進而產生該共模相關訊號;且以該三角波訊號的一目標谷值位準做為該預設直流位準。 In a preferred embodiment, the method is characterized by one of the following: (1) sampling and maintaining a peak value of the triangular wave signal with the external clock signal, thereby generating the common-mode correlation signal; and using the triangular wave signal a target peak level as the preset DC level; or (2) use the external clock signal to sample and maintain a valley value of the triangular wave signal, thereby generating the common mode related signal; The target valley level is used as the preset DC level.

在一較佳實施例中,於產生該共模相關訊號的步驟中,以交錯方式而取樣維持該三角波訊號以組合成為該共模相關訊號。 In a preferred embodiment, in the step of generating the common-mode correlation signal, the triangular wave signal is sampled and maintained in an interleaved manner to be combined into the common-mode correlation signal.

在一較佳實施例中,產生該調節訊號的步驟包括:以主動式低通濾波之方式,將該三角波訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中以該目標直流位準做為該預設直流位準。 In a preferred embodiment, the step of generating the adjustment signal includes: amplifying the difference between the triangular wave signal and the preset DC level by means of active low-pass filtering, and simultaneously obtaining the common-mode correlation signal and The adjustment signal is generated, wherein the target DC level is used as the preset DC level.

在一較佳實施例中,產生該調節訊號的步驟包括:比較該三角波訊號與一參考訊號而產生一脈寬調變訊號;以及以主動式低通濾波之方式,將該脈寬調變訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準相關於該參考訊號、該三角波訊號的一目標峰值位準、該三角波訊號的一目標谷值位準以及該脈寬調變訊號的振幅,其中該參考訊號介於該目標峰值位準與該目標谷值位準之間。 In a preferred embodiment, the step of generating the adjustment signal includes: comparing the triangle wave signal with a reference signal to generate a pulse width modulation signal; amplifying the difference with the preset DC level, and simultaneously obtaining the common-mode correlation signal and generating the adjustment signal, wherein the preset DC level is related to the reference signal, a target peak level of the triangular wave signal, the A target valley level of the triangular wave signal and the amplitude of the PWM signal, wherein the reference signal is between the target peak level and the target valley level.

在一較佳實施例中,該參考訊號對應於該目標直流位準,該預設直流位準對應於該脈寬調變訊號的振幅的1/2。 In a preferred embodiment, the reference signal corresponds to the target DC level, and the default DC level corresponds to 1/2 of the amplitude of the PWM signal.

在一較佳實施例中,產生該調節訊號的步驟包括:比較該三角波訊號與該目標直流位準而產生一脈寬調變訊號;比較該脈寬調變訊號與該外部時脈訊號,或者比較該脈寬調變訊號與一相差時脈訊號,而產生一占空比誤差訊號,其中該相差時脈訊號與該切換週期的相位相差90度;以及將該占空比誤差訊號濾波以同時取得該共模相關訊號與產生該調節訊號。 In a preferred embodiment, the step of generating the adjustment signal includes: comparing the triangular wave signal with the target DC level to generate a pulse width modulation signal; comparing the pulse width modulation signal with the external clock signal, or generating a duty cycle error signal by comparing the pulse width modulated signal with a phase difference clock signal, wherein the phase difference clock signal is 90 degrees out of phase with the switching period; and filtering the duty cycle error signal to simultaneously Obtaining the common-mode correlation signal and generating the adjustment signal.

在一較佳實施例中,將該占空比誤差訊號濾波之步驟包括:以主動式低通濾波之方式,將該占空比誤差訊號與該預設直流位準的差值放大且濾波,以同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準對應於該占空比誤差訊號的振幅的1/2。 In a preferred embodiment, the step of filtering the duty cycle error signal includes: amplifying and filtering the difference between the duty cycle error signal and the preset DC level by active low-pass filtering, To obtain the common-mode correlation signal and generate the adjustment signal at the same time, wherein the preset DC level corresponds to 1/2 of the amplitude of the duty cycle error signal.

底下藉由具體實施例詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。 In the following detailed description by means of specific embodiments, it will be easier to understand the purpose, technical content, characteristics and effects of the present invention.

21,21A,21B,21C:取樣維持電路 21, 21A, 21B, 21C: sample and hold circuit

22,22A,22B,22C:誤差放大電路 22, 22A, 22B, 22C: error amplifier circuit

23:濾波放大電路 23: Filter amplifier circuit

24A,24B:比較電路 24A, 24B: comparison circuit

25:占空比比較電路 25: Duty ratio comparison circuit

26:濾波電路 26: filter circuit

28,28’:濾波電路 28,28': filter circuit

100:積分電路 100: integrating circuit

101~104,105A:三角波產生電路 101~104,105A: Triangular wave generating circuit

110A~110B,115A~115D,116:電流電路 110A~110B, 115A~115D, 116: current circuit

111:壓控電流源 111: Voltage-controlled current source

120:選擇電路 120: select circuit

130:差動電晶體對 130: differential transistor pair

140:數位轉換器 140:digital converter

200:調節控制電路 200: Regulating control circuit

221:誤差放大器 221: Error amplifier

222:低通濾波回授網路 222: Low-pass filter feedback network

231:誤差放大器 231: Error amplifier

232:低通濾波回授網路 232: Low-pass filter feedback network

251:邏輯比較電路 251: Logic comparison circuit

252A,252B:切換電路 252A, 252B: switching circuit

261:誤差放大器 261: Error amplifier

262:低通濾波回授網路 262: Low-pass filter feedback network

ADJ,ADJU,ADJD:調節訊號 ADJ, ADJU, ADJD: adjust the signal

CIT:積分電容器 CIT: integrating capacitor

ckm:脈寬調變訊號 ckm: pulse width modulation signal

CLK_e,CLK_eb:外部時脈訊號 CLK_e, CLK_eb: external clock signal

CLK_e90,CLK_e90b:相差時脈訊號 CLK_e90, CLK_e90b: phase difference clock signal

Cs1,Cs2:維持電容器 Cs1, Cs2: holding capacitor

Dadj:數位切換訊號 Dadj: digital switching signal

Derr:占空比誤差訊號 Derr: duty ratio error signal

DN:下拉訊號 DN: pull down signal

Gm:轉導係數 Gm: transduction coefficient

Ichg:充電電流 Ichg: charging current

Idch:放電電流 Idch: discharge current

Idf:分支電流 Idf: branch current

Ifx1,Ifx2,Ifx3:固定電流源 Ifx1, Ifx2, Ifx3: fixed current sources

Is1~Isx:子電流源 Is1~Isx: sub-current source

Ivr:可變電流 Ivr: variable current

SAH:共模相關訊號 SAH: common mode related signal

Sd1~Sdx:轉換開關 Sd1~Sdx: transfer switch

Sdn:下側開關 Sdn: Lower side switch

Sup:上側開關 Sup: upper side switch

SW1:主要開關 SW1: Main switch

SW2:旁路開關 SW2: Bypass switch

Tchg:充電時段 Tchg: charging period

Tdch:放電時段 Tdch: discharge period

Tsw:切換週期 Tsw: switching cycle

UP:上拉訊號 UP: pull up signal

VCM:目標直流位準 VCM: target DC level

Vdc:預設直流位準 Vdc: preset DC level

Vdm:共模相關訊號 Vdm: common mode related signal

VH:目標峰值位準 VH: target peak level

VL:目標谷值位準 VL: target valley level

VP:峰值 VP: Peak

Vpp:振幅 Vpp: Amplitude

Vref:參考訊號 Vref: reference signal

VTR:三角波訊號 VTR: triangle wave signal

VV:谷值 VV: valley value

Z1,Z2:回授元件 Z1, Z2: Feedback components

圖1A~圖1B顯示一種先前技術之三角波產生電路及對應之操作波形圖。 1A-1B show a prior art triangular wave generation circuit and corresponding operation waveforms.

圖2A~圖2B顯示一種先前技術之三角波產生電路及對應之操作波形圖。 2A-2B show a prior art triangular wave generation circuit and corresponding operation waveforms.

圖3顯示本發明之低失真三角波產生電路之一實施例示意圖。 FIG. 3 shows a schematic diagram of an embodiment of a low-distortion triangular wave generating circuit of the present invention.

圖4顯示本發明之低失真三角波產生電路中,調節控制電路之一實施例示意圖。 FIG. 4 shows a schematic diagram of an embodiment of an adjustment control circuit in the low-distortion triangular wave generating circuit of the present invention.

圖5A顯示本發明之低失真三角波產生電路中,取樣維持電路與誤差放大電路之具體實施例示意圖。 FIG. 5A shows a schematic diagram of a specific embodiment of a sample-and-hold circuit and an error amplifier circuit in the low-distortion triangular wave generating circuit of the present invention.

圖5B顯示對應於圖5A的操作波形圖。 FIG. 5B shows an operation waveform diagram corresponding to FIG. 5A.

圖6A顯示本發明之低失真三角波產生電路中,取樣維持電路與誤差放大電路之具體實施例示意圖。 FIG. 6A shows a schematic diagram of a specific embodiment of a sample-and-hold circuit and an error amplifier circuit in the low-distortion triangular wave generating circuit of the present invention.

圖6B顯示對應於圖6A的操作波形圖。 FIG. 6B shows an operation waveform diagram corresponding to FIG. 6A.

圖7A顯示本發明之低失真三角波產生電路中,取樣維持電路與誤差放大電路之具體實施例示意圖。 FIG. 7A shows a schematic diagram of a specific embodiment of a sample-and-hold circuit and an error amplifier circuit in the low-distortion triangular wave generation circuit of the present invention.

圖7B顯示對應於圖7A的操作波形圖。 FIG. 7B shows an operation waveform diagram corresponding to FIG. 7A.

圖8A顯示本發明之低失真三角波產生電路中,濾波放大電路之一具體實施例示意圖。 FIG. 8A shows a schematic diagram of a specific embodiment of the filter amplifier circuit in the low-distortion triangular wave generation circuit of the present invention.

圖8B顯示對應於圖8A的操作波形圖。 FIG. 8B shows an operation waveform diagram corresponding to FIG. 8A.

圖9A顯示本發明之低失真三角波產生電路中,調節控制電路之一具體實施例示意圖。 FIG. 9A shows a schematic diagram of a specific embodiment of the adjustment control circuit in the low-distortion triangular wave generation circuit of the present invention.

圖9B顯示對應於圖9A的操作波形圖。 FIG. 9B shows an operation waveform diagram corresponding to FIG. 9A.

圖9C顯示本發明之低失真三角波產生電路中,電壓產生電路之一具體實施例示意圖。 FIG. 9C shows a schematic diagram of a specific embodiment of the voltage generating circuit in the low-distortion triangular wave generating circuit of the present invention.

圖10A顯示本發明之低失真三角波產生電路中,調節控制電路之一具體實施例示意圖。 FIG. 10A shows a schematic diagram of a specific embodiment of the adjustment control circuit in the low-distortion triangular wave generation circuit of the present invention.

圖10B顯示對應於圖10A的操作波形圖。 Fig. 10B shows an operation waveform diagram corresponding to Fig. 10A.

圖11A顯示本發明之低失真三角波產生電路中,調節控制電路之一具體實施例示意圖。 FIG. 11A shows a schematic diagram of a specific embodiment of the adjustment control circuit in the low-distortion triangular wave generation circuit of the present invention.

圖11B顯示對應於圖11A的操作波形圖。 Fig. 11B shows an operation waveform diagram corresponding to Fig. 11A.

圖12A顯示本發明之低失真三角波產生電路中,占空比比較電路之一具體實施例示意圖。 FIG. 12A shows a schematic diagram of a specific embodiment of the duty cycle comparison circuit in the low-distortion triangular wave generating circuit of the present invention.

圖12B顯示本發明之低失真三角波產生電路中,濾波電路之一具體實施例示意圖。 FIG. 12B shows a schematic diagram of a specific embodiment of the filter circuit in the low-distortion triangular wave generation circuit of the present invention.

圖13顯示本發明之低失真三角波產生電路中,切換電路與濾波電路之一具體實施例示意圖。 FIG. 13 shows a schematic diagram of a specific embodiment of the switching circuit and the filtering circuit in the low-distortion triangular wave generating circuit of the present invention.

圖14A~圖14B顯示本發明之低失真三角波產生電路中,積分電路之具體實施例示意圖。 14A to 14B show the schematic diagrams of specific embodiments of the integrating circuit in the low-distortion triangular wave generating circuit of the present invention.

圖15A~圖15D顯示本發明之低失真三角波產生電路中,可變電流電路之具體實施例示意圖。 15A to 15D show schematic diagrams of specific embodiments of the variable current circuit in the low-distortion triangular wave generating circuit of the present invention.

圖16顯示本發明之低失真三角波產生電路中,可變電流電路之一具體實施例示意圖。 FIG. 16 shows a schematic diagram of a specific embodiment of a variable current circuit in the low-distortion triangular wave generating circuit of the present invention.

本發明中的圖式均屬示意,主要意在表示各電路間之耦接關係,以及各訊號波形之間之關係,至於電路、訊號波形與頻率則並未依照比例繪製。 The diagrams in the present invention are all schematic and mainly intended to show the coupling relationship between various circuits and the relationship between various signal waveforms. As for the circuits, signal waveforms and frequencies, they are not drawn to scale.

圖3顯示本發明之低失真三角波產生電路之一實施例方塊圖(三角波產生電路103)。如圖3所示,本實施例中,三角波產生電路103包含積分電路100以及調節控制電路200。 FIG. 3 shows a block diagram of an embodiment of a low-distortion triangular wave generating circuit (triangular wave generating circuit 103 ) of the present invention. As shown in FIG. 3 , in this embodiment, the triangular wave generation circuit 103 includes an integration circuit 100 and an adjustment control circuit 200 .

積分電路100用以接收外部時脈訊號CLK_e,且於外部時脈訊號CLK_e的切換週期Tsw中的充電時段Tchg與放電時段Tdch,積分電路100分別以充電電流Ichg與放電電流Idch對積分電路100的積分電容器CIT積 分而產生三角波訊號VTR,其中充電時段Tchg與放電時段Tdch具有相同時間長度。在一實施例中,充電時段Tchg與放電時段Tdch分別佔據了切換週期Tsw中的50%。 The integration circuit 100 is used to receive the external clock signal CLK_e, and during the charging period Tchg and the discharging period Tdch in the switching period Tsw of the external clock signal CLK_e, the integrating circuit 100 uses the charging current Ichg and the discharging current Idch to control the integration circuit 100 respectively. Integral capacitor CIT product The triangular wave signal VTR is generated by dividing, wherein the charging period Tchg and the discharging period Tdch have the same time length. In one embodiment, the charging period Tchg and the discharging period Tdch respectively occupy 50% of the switching period Tsw.

調節控制電路200用以根據三角波訊號VTR而產生一共模相關訊號,其中共模相關訊號相關於三角波訊號VTR的一共模特徵,且調節控制電路200根據共模相關訊號與預設直流位準Vdc的差值而以具有增益的方式產生調節訊號ADJ。 The adjustment control circuit 200 is used to generate a common-mode correlation signal according to the triangular wave signal VTR, wherein the common-mode correlation signal is related to a common-mode characteristic of the triangular wave signal VTR, and the adjustment control circuit 200 is based on the relationship between the common-mode correlation signal and the preset DC level Vdc The difference is used to generate the adjustment signal ADJ with gain.

需說明的是,上述的「共模特徵」係指三角波訊號的共模值相關的特徵,就一觀點而言,三角波訊號的共模值也就是三角波訊號的低頻成分,或直流成分。在一實施例中,「共模特徵」可以對應於三角波訊號的共模值,或是共模值加上偏移值,也可以是峰值或谷值。 It should be noted that the above-mentioned "common mode characteristic" refers to the characteristic related to the common mode value of the triangular wave signal. From a point of view, the common mode value of the triangular wave signal is also the low frequency component or DC component of the triangular wave signal. In an embodiment, the "common mode characteristic" may correspond to the common mode value of the triangular wave signal, or the common mode value plus an offset value, or may be a peak value or a valley value.

請繼續參閱圖3,調節訊號ADJ以回授方式,用以調整充電電流Ichg或放電電流Idch中的其中之一,使得三角波訊號VTR為對稱三角波,且三角波訊號VTR的平均電壓等於目標直流位準VCM。換言之,此時,充電電流Ichg與放電電流Idch的電流絕對值會被調節訊號ADJ調整至彼此相等。 Please continue to refer to FIG. 3 , the adjustment signal ADJ is used to adjust one of the charging current Ichg or the discharging current Idch in a feedback manner, so that the triangular wave signal VTR is a symmetrical triangular wave, and the average voltage of the triangular wave signal VTR is equal to the target DC level. VCM. In other words, at this time, the absolute values of the charging current Ichg and the discharging current Idch are adjusted to be equal to each other by the adjustment signal ADJ.

就一觀點而言,當充電電流Ichg與放電電流Idch的電流絕對值不相等時,在前述充電時段Tchg與放電時段Tdch分別佔據了切換週期Tsw中的50%的前提下,所積分出來的三角波訊號VTR的共模值將會持續上升或持續下降,因此,當三角波訊號VTR的平均電壓等於一目標直流位準VCM時,代表充電電流Ichg與放電電流Idch的電流絕對值相等,此時,三角波訊號VTR即為對稱三角波。 From a point of view, when the absolute values of the charging current Ichg and the discharging current Idch are not equal, the integrated triangular wave is The common mode value of the signal VTR will continue to rise or fall. Therefore, when the average voltage of the triangular wave signal VTR is equal to a target DC level VCM, it means that the absolute values of the charging current Ichg and the discharging current Idch are equal. At this time, the triangular wave signal VTR The signal VTR is a symmetrical triangle wave.

請繼續參閱圖3,在一實施例中,積分電路100包括積分電容器CIT、電流電路110A~110B以及選擇電路120。在一實施例中,電流電路110A~110B分別用以提供上述的充電電流Ichg或放電電流Idch。在一實施例中,選擇電路則根據外部時脈訊號CLK_e(及其反相訊號:外部時脈訊號CLK_eb)而選擇充電電流Ichg或放電電流Idch對積分電容器CIT進行積分,具體而言,外部時脈訊號CLK_eb用以控制充電電流Ichg之導通,外部時脈訊號CLK_e則用以控制放電電流Idch之導通。 Please continue to refer to FIG. 3 , in an embodiment, the integration circuit 100 includes an integration capacitor CIT, current circuits 110A˜ 110B and a selection circuit 120 . In one embodiment, the current circuits 110A˜ 110B are respectively used to provide the charging current Ichg or the discharging current Idch mentioned above. In one embodiment, the selection circuit selects the charging current Ichg or the discharging current Idch to integrate the integrating capacitor CIT according to the external clock signal CLK_e (and its inverted signal: the external clock signal CLK_eb). Specifically, the external clock The pulse signal CLK_eb is used to control the conduction of the charge current Ichg, and the external clock signal CLK_e is used to control the conduction of the discharge current Idch.

此外,根據本發明,電流電路110A~110B中的至少之一為可變,具體而言,在一實施例中,電流電路110A~110B中的至少之一皆為可變,在此情況下,積分電路100根據調節訊號ADJ而控制充電電流Ichg或放電電流Idch的電流值,具體而言,調節訊號ADJU用以控制充電電流Ichg之電流值,調節訊號ADJD則用以控制放電電流Idch之電流值。 In addition, according to the present invention, at least one of the current circuits 110A-110B is variable. Specifically, in one embodiment, at least one of the current circuits 110A-110B is variable. In this case, The integrating circuit 100 controls the current value of the charging current Ichg or the discharging current Idch according to the adjustment signal ADJ. Specifically, the adjustment signal ADJU is used to control the current value of the charging current Ichg, and the adjustment signal ADJD is used to control the current value of the discharge current Idch. .

在一實施例中,根據本發明,調節控制電路200不調整上述充電電流Ichg或放電電流Idch中的其中之另一,換言之,在一實施例中,調節控制電路200僅藉由調節訊號ADJ調整上述充電電流Ichg或放電電流Idch中的其中之一,其另一則為固定電流值,在此配置下,充電電流Ichg與放電電流Idch的電流絕對值更容易被調整為相等,亦即,三角波訊號VTR可更為對稱。 In one embodiment, according to the present invention, the adjustment control circuit 200 does not adjust the other of the charging current Ichg or the discharge current Idch. One of the above-mentioned charging current Ichg or discharging current Idch, and the other is a fixed current value. Under this configuration, the absolute values of the charging current Ichg and the discharging current Idch are more easily adjusted to be equal, that is, the triangular wave signal The VTR could be more symmetrical.

當然,在其他實施例中,同時根據調節訊號ADJ而調整充電電流Ichg與放電電流Idch,亦符合本發明之精神。 Certainly, in other embodiments, adjusting the charging current Ichg and the discharging current Idch simultaneously according to the adjustment signal ADJ also complies with the spirit of the present invention.

圖4顯示本發明之低失真三角波產生電路(104)中,調節控制電路之一實施例示意圖。本實施例中,調節控制電路200包括取樣維持電路21以及誤差放大電路22。取樣維持電路21用以週期性地於每次切換週期Tsw 中的取樣維持時點,對三角波訊號VTR取樣維持而產生共模相關訊號SAH。誤差放大電路22則用以將共模相關訊號與預設直流位準Vdc的差值放大而產生調節訊號ADJ,其中預設直流位準Vdc與目標直流位準VCM的關係由取樣維持時點與切換週期Tsw的比例關係而決定。誤差放大電路22中的回授元件Z1與Z2可依需求配置為電阻性元件或電容性元件。上述以取樣維持電路21的具體配置細節詳述如後。 FIG. 4 shows a schematic diagram of an embodiment of an adjustment control circuit in the low-distortion triangular wave generation circuit (104) of the present invention. In this embodiment, the adjustment control circuit 200 includes a sample hold circuit 21 and an error amplifier circuit 22 . The sample hold circuit 21 is used to periodically switch in each switching period Tsw In the sampling and holding time point, the triangular wave signal VTR is sampled and held to generate the common-mode correlation signal SAH. The error amplifier circuit 22 is used to amplify the difference between the common-mode related signal and the preset DC level Vdc to generate the adjustment signal ADJ, wherein the relationship between the preset DC level Vdc and the target DC level VCM is determined by the sampling and maintaining time point and switching It is determined by the proportional relationship of the cycle Tsw. The feedback elements Z1 and Z2 in the error amplifier circuit 22 can be configured as resistive elements or capacitive elements as required. The specific configuration details of the above-mentioned sample-and-hold circuit 21 are described in detail later.

圖5A顯示本發明之低失真三角波產生電路(105A)中,取樣維持電路與誤差放大電路之具體實施例示意圖。圖5B顯示對應於圖5A的操作波形圖。本實施例中,取樣維持電路21A以相差時脈訊號CLK_e90對三角波訊號VTR進行取樣維持,其中相差時脈訊號CLK_e90與切換週期Tsw的相位相差90度,以取樣維持三角波訊號VTR的上升斜坡的中間值或下降斜坡的中間值,進而產生前述的共模相關訊號。如圖5A與圖5B所示,本實施例中,由於是取樣維持三角波訊號VTR的上升斜坡的中間值或下降斜坡的中間值,因此,誤差放大電路22A中的預設直流位準Vdc配置為目標直流位準VCM。換言之,藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當三角波訊號VTR的上升斜坡的中間值或下降斜坡的中間值被調節至目標直流位準VCM時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。在一實施例中,誤差放大電路22A包括誤差放大器221以及低通濾波回授網路222。 FIG. 5A shows a schematic diagram of a specific embodiment of a sample-and-hold circuit and an error amplifier circuit in the low-distortion triangular wave generating circuit (105A) of the present invention. FIG. 5B shows an operation waveform diagram corresponding to FIG. 5A. In this embodiment, the sampling and holding circuit 21A uses the phase difference clock signal CLK_e90 to sample and hold the triangular wave signal VTR, wherein the phase difference between the phase difference clock signal CLK_e90 and the switching period Tsw is 90 degrees, so as to sample and hold the middle of the rising slope of the triangular wave signal VTR value or the middle value of the falling slope, thereby generating the aforementioned common-mode related signal. As shown in FIG. 5A and FIG. 5B , in this embodiment, since the intermediate value of the rising slope or the intermediate value of the falling slope of the triangular wave signal VTR is sampled and maintained, the preset DC level Vdc in the error amplifier circuit 22A is configured as Target DC level VCM. In other words, by adjusting at least one of the charging current Ichg or the discharging current Idch, when the middle value of the rising slope or the middle value of the falling slope of the triangular wave signal VTR is adjusted to the target DC level VCM, that is The triangular wave signal VTR can be made into a symmetrical triangular wave, and the average voltage of the triangular wave signal VTR is equal to the target DC level VCM. In one embodiment, the error amplifier circuit 22A includes an error amplifier 221 and a low-pass filter feedback network 222 .

具體而言,本實施例中,取樣維持電路21A包括了維持電容器Cs1與對應的取樣開關,用以根據相差時脈訊號CLK_e90與CLK_e90b而對三角波訊號VTR進行取樣維持操作而產生取樣維持訊號SAH0與SAH1(對 應於共模相關訊號SAH)。在一實施例中,取樣維持電路21A更包括了維持電容器Cs2與對應的取樣開關。 Specifically, in this embodiment, the sample-and-hold circuit 21A includes a sustain capacitor Cs1 and corresponding sampling switches for performing a sample-and-hold operation on the triangular wave signal VTR according to the phase difference clock signals CLK_e90 and CLK_e90b to generate the sample-and-hold signals SAH0 and SAH1 (to Should be in the common mode related signal SAH). In one embodiment, the sample hold circuit 21A further includes a hold capacitor Cs2 and a corresponding sample switch.

在一實施例中,如圖5B所示,取樣維持電路21A以交錯方式而取樣維持三角波訊號VTR以組合成為該共模相關訊號(SAH)。具體而言,維持電容器Cs2與對應的取樣開關以交錯的方式取樣維持三角波訊號VTR而產生取樣維持訊號SAH1,接著再由後端的開關將取樣維持訊號SAH1與SAH0組合成為共模相關訊號(SAH)。 In one embodiment, as shown in FIG. 5B , the sample-and-hold circuit 21A samples and holds the triangular wave signal VTR in an interleaved manner to combine into the common-mode correlation signal (SAH). Specifically, the sustain capacitor Cs2 and the corresponding sampling switch sample and sustain the triangular wave signal VTR in an interleaved manner to generate the sample and hold signal SAH1, and then the back-end switch combines the sample and hold signals SAH1 and SAH0 to form a common-mode correlation signal (SAH). .

圖6A顯示本發明之低失真三角波產生電路中,取樣維持電路與誤差放大電路之具體實施例示意圖。圖6B顯示對應於圖6A的操作波形圖。本實施例中,取樣維持電路21B以外部時脈訊號CLK_e而取樣維持三角波訊號VTR的峰值VP,進而產生共模相關訊號(SAH),換言之,本實施例中的共模相關訊號SAH即對應於三角波訊號VTR的峰值VP;如圖6A與圖6B所示,本實施例中,誤差放大電路22B中的預設直流位準Vdc配置為三角波訊號VTR的目標峰值位準VH。換言之,藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當三角波訊號VTR的峰值被調節至目標峰值位準VH時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。在一實施例中,取樣維持電路21B仍具有兩組維持電容器與對應的取樣開關,可抵銷對三角波訊號VTR取樣時所造成的干擾。 FIG. 6A shows a schematic diagram of a specific embodiment of a sample-and-hold circuit and an error amplifier circuit in the low-distortion triangular wave generating circuit of the present invention. FIG. 6B shows an operation waveform diagram corresponding to FIG. 6A. In this embodiment, the sample-and-hold circuit 21B uses the external clock signal CLK_e to sample and hold the peak value VP of the triangular wave signal VTR to generate a common-mode correlation signal (SAH). In other words, the common-mode correlation signal SAH in this embodiment corresponds to The peak value VP of the triangular wave signal VTR; as shown in FIG. 6A and FIG. 6B , in this embodiment, the preset DC level Vdc in the error amplifier circuit 22B is configured as the target peak level VH of the triangular wave signal VTR. In other words, by adjusting at least one of the charging current Ichg or the discharging current Idch, when the peak value of the triangular wave signal VTR is adjusted to the target peak level VH, the triangular wave signal VTR can be made into a symmetrical triangle wave, and Make the average voltage of the triangular wave signal VTR equal to the target DC level VCM. In one embodiment, the sampling and holding circuit 21B still has two sets of holding capacitors and corresponding sampling switches, which can offset the interference caused when sampling the triangular wave signal VTR.

圖7A顯示本發明之低失真三角波產生電路中,取樣維持電路與誤差放大電路之具體實施例示意圖。圖7B顯示對應於圖7A的操作波形圖。本實施例中,取樣維持電路21C以外部時脈訊號CLK_e而取樣維持三角波訊號VTR的谷值VV,進而產生共模相關訊號(SAH),換言之,本實施例 中的共模相關訊號SAH即對應於三角波訊號VTR的谷值VV;如圖7A與圖7B所示,本實施例中,誤差放大電路22C中的預設直流位準Vdc配置為三角波訊號VTR的目標谷值位準VL。換言之,藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當三角波訊號VTR的谷值VV被調節至目標谷值位準VL時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。 FIG. 7A shows a schematic diagram of a specific embodiment of a sample-and-hold circuit and an error amplifier circuit in the low-distortion triangular wave generation circuit of the present invention. FIG. 7B shows an operation waveform diagram corresponding to FIG. 7A. In this embodiment, the sample-and-hold circuit 21C uses the external clock signal CLK_e to sample and hold the valley value VV of the triangular wave signal VTR, thereby generating a common-mode correlation signal (SAH). In other words, in this embodiment The common-mode correlation signal SAH in the corresponding to the valley value VV of the triangular wave signal VTR; as shown in FIG. 7A and FIG. The target valley level VL. In other words, by adjusting at least one of the charging current Ichg or the discharging current Idch, when the valley value VV of the triangle wave signal VTR is adjusted to the target valley level VL, the triangle wave signal VTR can be made symmetrical. Triangular wave, and make the average voltage of the triangular wave signal VTR equal to the target DC level VCM.

圖8A顯示本發明之低失真三角波產生電路中,濾波放大電路之一具體實施例示意圖。圖8B顯示對應於圖8A的操作波形圖。本實施例中,如圖8A所示,調節控制電路200包括濾波放大電路23,在一實施例中,濾波放大電路23包括誤差放大器231以及低通濾波回授網路232。 FIG. 8A shows a schematic diagram of a specific embodiment of the filter amplifier circuit in the low-distortion triangular wave generation circuit of the present invention. FIG. 8B shows an operation waveform diagram corresponding to FIG. 8A. In this embodiment, as shown in FIG. 8A , the adjustment control circuit 200 includes a filter amplifier circuit 23 . In one embodiment, the filter amplifier circuit 23 includes an error amplifier 231 and a low-pass filter feedback network 232 .

誤差放大器231與低通濾波回授網路232以回授方式彼此耦接,用以接收三角波訊號VTR,其中誤差放大器231與低通濾波回授網路232例如以主動式低通濾波之方式,將三角波訊號VTR與預設直流位準Vdc的差值放大,且同時藉由主動式低通濾波之方式取得共模相關訊號與產生調節訊號ADJ,其中誤差放大器231以目標直流位準VCM做為預設直流位準Vdc。本實施例中,共模相關訊號可對應於誤差放大器231中的負向輸入端的電壓Vdm。換言之,藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當三角波訊號VTR的共模相關訊號Vdm被調節至目標直流位準VCM時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。 The error amplifier 231 and the low-pass filter feedback network 232 are coupled to each other in a feedback manner to receive the triangular wave signal VTR, wherein the error amplifier 231 and the low-pass filter feedback network 232 are, for example, in the form of an active low-pass filter, Amplify the difference between the triangular wave signal VTR and the preset DC level Vdc, and at the same time obtain the common-mode related signal and generate the adjustment signal ADJ by means of active low-pass filtering, wherein the error amplifier 231 uses the target DC level VCM as the The preset DC level Vdc. In this embodiment, the common-mode related signal may correspond to the voltage Vdm of the negative input terminal of the error amplifier 231 . In other words, by adjusting at least one of the charging current Ichg or the discharging current Idch, when the common-mode related signal Vdm of the triangular wave signal VTR is adjusted to the target DC level VCM, the triangular wave signal VTR can become Symmetrical triangular wave, and make the average voltage of the triangular wave signal VTR equal to the target DC level VCM.

圖9A顯示本發明之低失真三角波產生電路中,調節控制電路之一具體實施例示意圖。圖9B顯示對應於圖9A的操作波形圖。圖9C顯示本 發明之低失真三角波產生電路中,電壓產生電路之一具體實施例示意圖。本實施例中,調節控制電路200包括比較電路24A以及濾波放大電路23。 FIG. 9A shows a schematic diagram of a specific embodiment of the adjustment control circuit in the low-distortion triangular wave generation circuit of the present invention. FIG. 9B shows an operation waveform diagram corresponding to FIG. 9A. Figure 9C shows the present A schematic diagram of a specific embodiment of the voltage generating circuit in the low-distortion triangular wave generating circuit of the invention. In this embodiment, the adjustment control circuit 200 includes a comparison circuit 24A and a filter amplifier circuit 23 .

比較電路24A用以比較三角波訊號VTR與參考訊號Vref而產生脈寬調變訊號ckm。濾波放大電路23與前述的濾波放大電路23相似,其用以接收脈寬調變訊號ckm,其中誤差放大器231與低通濾波回授網路232以主動式低通濾波之方式,將脈寬調變訊號ckm與預設直流位準Vdc的差值放大,且同時取得共模相關訊號(Vdm)與產生調節訊號ADJ。本實施例中,共模相關訊號可對應於誤差放大器231中的負向輸入端的電壓(對應於Vdm)。 The comparison circuit 24A is used for comparing the triangular wave signal VTR with the reference signal Vref to generate a PWM signal ckm. The filter amplifier circuit 23 is similar to the aforementioned filter amplifier circuit 23, and it is used to receive the pulse width modulation signal ckm, wherein the error amplifier 231 and the low-pass filter feedback network 232 convert the pulse width modulation The difference between the variable signal ckm and the preset DC level Vdc is amplified, and the common-mode related signal (Vdm) is obtained and the adjusted signal ADJ is generated at the same time. In this embodiment, the common-mode related signal may correspond to the voltage of the negative input terminal of the error amplifier 231 (corresponding to Vdm).

本實施例中,預設直流位準Vdc相關於參考訊號Vref、三角波訊號VTR的目標峰值位準VH、三角波訊號VTR的目標谷值位準VL以及脈寬調變訊號ckm的振幅。請參閱圖9C,具體而言,在一實施例中,如圖9C所示,電壓產生電路29以左側的分壓電路取得一介於目標峰值位準VH與目標谷值位準VL之間的參考訊號Vref,此外,右側的分壓電路則根據參考訊號Vref相對於目標峰值位準VH與目標谷值位準VL的差值之比例,將脈寬調變訊號ckm的振幅Vpp分壓以產生預設直流位準Vdc。換言之,藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當三角波訊號VTR的共模相關訊號Vdm被調節至預設直流位準Vdc時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。 In this embodiment, the preset DC level Vdc is related to the reference signal Vref, the target peak level VH of the triangular wave signal VTR, the target valley level VL of the triangular wave signal VTR, and the amplitude of the PWM signal ckm. Please refer to FIG. 9C. Specifically, in one embodiment, as shown in FIG. 9C, the voltage generating circuit 29 obtains a voltage between the target peak level VH and the target valley level VL by using the voltage divider circuit on the left side. The reference signal Vref. In addition, the voltage divider circuit on the right divides the amplitude Vpp of the pulse width modulation signal ckm according to the ratio of the reference signal Vref to the difference between the target peak level VH and the target valley level VL. Generate a preset DC level Vdc. In other words, by adjusting at least one of the charging current Ichg or the discharging current Idch, when the common-mode related signal Vdm of the triangular wave signal VTR is adjusted to the preset DC level Vdc, the triangular wave signal VTR can be adjusted. A symmetrical triangular wave is formed, and the average voltage of the triangular wave signal VTR is equal to the target DC level VCM.

圖10A顯示本發明之低失真三角波產生電路中,調節控制電路之一具體實施例示意圖。圖10B顯示對應於圖10A的操作波形圖。圖10A與圖10B可視為前述圖9A~圖9B的實施例中的一種具體實施例,本實施例中,前述的用以比較的參考訊號Vref對應於目標直流位準VCM,而預設直 流位準Vdc則對應於脈寬調變訊號ckm的振幅的1/2,即Vpp/2。換言之,本實施例中,比較電路24B用以比較三角波訊號VTR與目標直流位準VCM而產生脈寬調變訊號ckm,且藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當三角波訊號VTR的共模相關訊號Vdm被調節至Vpp/2時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。 FIG. 10A shows a schematic diagram of a specific embodiment of the adjustment control circuit in the low-distortion triangular wave generation circuit of the present invention. Fig. 10B shows an operation waveform diagram corresponding to Fig. 10A. FIG. 10A and FIG. 10B can be regarded as a specific embodiment of the above-mentioned embodiments in FIG. 9A-FIG. The current level Vdc corresponds to 1/2 of the amplitude of the PWM signal ckm, ie Vpp/2. In other words, in this embodiment, the comparator circuit 24B is used to compare the triangular wave signal VTR with the target DC level VCM to generate the pulse width modulation signal ckm, and at least one of the charging current Ichg or the discharging current Idch is performed as described above. Adjustment, and when the common mode related signal Vdm of the triangular wave signal VTR is adjusted to Vpp/2, the triangular wave signal VTR can be made into a symmetrical triangular wave, and the average voltage of the triangular wave signal VTR is equal to the target DC level VCM.

圖11A顯示本發明之低失真三角波產生電路中,調節控制電路之一具體實施例示意圖。圖11B顯示對應於圖11A的操作波形圖。本實施例中,調節控制電路200包括比較電路24B,占空比比較電路25以及濾波電路26。 FIG. 11A shows a schematic diagram of a specific embodiment of the adjustment control circuit in the low-distortion triangular wave generation circuit of the present invention. Fig. 11B shows an operation waveform diagram corresponding to Fig. 11A. In this embodiment, the adjustment control circuit 200 includes a comparison circuit 24B, a duty cycle comparison circuit 25 and a filter circuit 26 .

比較電路24B用以比較三角波訊號VTR與目標直流位準VCM而產生脈寬調變訊號ckm。占空比比較電路25則用以比較脈寬調變訊號ckm與外部時脈訊號CLK_e,或者用以比較脈寬調變訊號ckm與相差時脈訊號CLK_e90,而產生占空比誤差訊號Derr,其中相差時脈訊號CLK_e90與切換週期Tsw的相位相差90度。濾波電路26用以將占空比誤差訊號Derr濾波以同時取得共模相關訊號(Vdm)與產生調節訊號ADJ。 The comparison circuit 24B is used for comparing the triangular wave signal VTR with the target DC level VCM to generate a PWM signal ckm. The duty cycle comparison circuit 25 is used for comparing the PWM signal ckm with the external clock signal CLK_e, or for comparing the PWM signal ckm with the phase difference clock signal CLK_e90 to generate a duty cycle error signal Derr, wherein The phase difference between the phase difference clock signal CLK_e90 and the switching period Tsw is 90 degrees. The filter circuit 26 is used to filter the duty ratio error signal Derr to simultaneously obtain the common-mode related signal (Vdm) and generate the adjustment signal ADJ.

本實施例中,濾波電路26的誤差放大器261與低通濾波回授網路262以回授方式彼此耦接,用以接收占空比誤差訊號Derr,其中誤差放大器261與低通濾波回授網路262以主動式低通濾波之方式,將占空比誤差訊號Derr與預設直流位準Vdc的差值放大,且同時取得共模相關訊號Vdm與產生調節訊號ADJ,其中預設直流位準Vdc對應於占空比誤差訊號Derr的振幅的1/2,即Vpp/2。換言之,本實施例中,藉由前述對充電電流Ichg或放電電流Idch中的至少其中之一進行調整,而當占空比誤差訊號Derr的共模值 Vdm(亦即本實施例的三角波訊號VTR的共模相關訊號)被調節至Vpp/2時,即可使三角波訊號VTR成為對稱三角波,且使三角波訊號VTR的平均電壓等於目標直流位準VCM。 In this embodiment, the error amplifier 261 of the filter circuit 26 and the low-pass filter feedback network 262 are coupled to each other in a feedback manner to receive the duty cycle error signal Derr, wherein the error amplifier 261 and the low-pass filter feedback network The circuit 262 amplifies the difference between the duty cycle error signal Derr and the preset DC level Vdc by means of active low-pass filtering, and simultaneously obtains the common-mode related signal Vdm and generates an adjustment signal ADJ, wherein the preset DC level Vdc corresponds to 1/2 of the amplitude of the duty ratio error signal Derr, ie Vpp/2. In other words, in this embodiment, by adjusting at least one of the charging current Ichg or the discharging current Idch, when the common-mode value of the duty ratio error signal Derr When Vdm (that is, the common-mode related signal of the triangular wave signal VTR in this embodiment) is adjusted to Vpp/2, the triangular wave signal VTR becomes a symmetrical triangular wave, and the average voltage of the triangular wave signal VTR is equal to the target DC level VCM.

請同時參閱圖12A,圖12A顯示本發明之低失真三角波產生電路中,占空比比較電路之一具體實施例示意圖。在一實施例中,占空比比較電路25包括邏輯比較電路251,以及切換電路252A。邏輯比較電路251用以比較脈寬調變訊號ckm與外部時脈訊號CLK_e之差異,或者用以比較脈寬調變訊號ckm與相差時脈訊號CLK_e90之差異,而產生上拉訊號UP與下拉訊號DN以分別代表上升緣與下降緣的占空比的差異。本實施例中,如圖12A所示,切換電路252A包括彼此串聯於供應電壓Vpp與接地電位之間的上側開關Sup以及下側開關Sdn,上側開關Sup與下側開關Sdn分別受上拉訊號UP與下拉訊號DN的控制而切換,而產生占空比誤差訊號Derr,其中供應電壓Vpp與接地電位之間的電壓差對應於占空比誤差訊號Derr的振幅(即Vpp),其中濾波電路26將占空比誤差訊號Derr濾波以同時取得共模相關訊號與產生調節訊號ADJ。 Please refer to FIG. 12A at the same time. FIG. 12A shows a schematic diagram of a specific embodiment of the duty ratio comparator circuit in the low-distortion triangular wave generating circuit of the present invention. In one embodiment, the duty ratio comparison circuit 25 includes a logic comparison circuit 251 and a switching circuit 252A. The logic comparison circuit 251 is used to compare the difference between the PWM signal ckm and the external clock signal CLK_e, or to compare the difference between the PWM signal ckm and the phase difference clock signal CLK_e90 to generate a pull-up signal UP and a pull-down signal DN represents the difference between the duty cycle of the rising edge and the falling edge respectively. In this embodiment, as shown in FIG. 12A , the switching circuit 252A includes an upper switch Sup and a lower switch Sdn connected in series between the supply voltage Vpp and the ground potential, and the upper switch Sup and the lower switch Sdn are respectively received by the pull-up signal UP. Switching with the control of the pull-down signal DN to generate the duty ratio error signal Derr, wherein the voltage difference between the supply voltage Vpp and the ground potential corresponds to the amplitude (ie Vpp) of the duty ratio error signal Derr, wherein the filter circuit 26 will The duty ratio error signal Derr is filtered to simultaneously obtain the common-mode correlation signal and generate the adjustment signal ADJ.

圖12B顯示本發明之低失真三角波產生電路中,濾波電路之另一具體實施例示意圖。在包括切換電路252A的上述調節控制電路200的實施例中,濾波電路也可以圖12B中的被動式的濾波電路28替代前述的濾波電路26,用以將占空比誤差訊號Derr濾波以同時取得共模相關訊號與產生調節訊號ADJ。 FIG. 12B shows a schematic diagram of another specific embodiment of the filter circuit in the low-distortion triangular wave generation circuit of the present invention. In the above-mentioned embodiment of the adjustment control circuit 200 including the switch circuit 252A, the filter circuit can also replace the aforementioned filter circuit 26 with the passive filter circuit 28 in FIG. Modulus correlation signal and generate adjustment signal ADJ.

圖13顯示本發明之低失真三角波產生電路中,切換電路與濾波電路之一具體實施例示意圖。本實施例中,切換電路252B包括彼此串聯於供應電壓Vpp與接地電位之間的上側電流源Iup以及下側電流源Idn,分別 受上拉訊號UP與下拉訊號DN的控制而切換,而產生占空比誤差訊號Derr,其中供應電壓Vpp與接地電位之間的電壓差對應於占空比誤差訊號Derr的振幅,其中濾波電路28’將占空比誤差訊號Derr積分且濾波以同時取得共模相關訊號與產生調節訊號ADJ。 FIG. 13 shows a schematic diagram of a specific embodiment of the switching circuit and the filtering circuit in the low-distortion triangular wave generating circuit of the present invention. In this embodiment, the switching circuit 252B includes an upper current source Iup and a lower current source Idn connected in series between the supply voltage Vpp and the ground potential, respectively Switched under the control of the pull-up signal UP and the pull-down signal DN to generate a duty cycle error signal Derr, wherein the voltage difference between the supply voltage Vpp and the ground potential corresponds to the amplitude of the duty cycle error signal Derr, wherein the filter circuit 28 'Integrate and filter the duty ratio error signal Derr to simultaneously obtain the common-mode correlation signal and generate the adjustment signal ADJ.

圖14A~圖14B顯示本發明之低失真三角波產生電路中,積分電路之具體實施例示意圖。在一實施例中,如圖14A所示,積分電路100A包括積分電容器CIT、可變電流電路110A、固定電流源Ifx1以及選擇電路120。可變電流電路110A用以根據調節訊號ADJ而產生充電電流Ichg,第一固定電流源Ifx1則用以產生放電電流Idch。選擇電路120用以根據外部時脈訊號CLK_e而選擇充電電流Ichg或放電電流Idch對積分電容器CIT積分而產生三角波訊號VTR。 14A to 14B show the schematic diagrams of specific embodiments of the integrating circuit in the low-distortion triangular wave generating circuit of the present invention. In one embodiment, as shown in FIG. 14A , the integration circuit 100A includes an integration capacitor CIT, a variable current circuit 110A, a fixed current source Ifx1 and a selection circuit 120 . The variable current circuit 110A is used to generate the charging current Ichg according to the adjustment signal ADJ, and the first fixed current source Ifx1 is used to generate the discharging current Idch. The selection circuit 120 is used for selecting the charging current Ichg or the discharging current Idch to integrate the integrating capacitor CIT to generate the triangular wave signal VTR according to the external clock signal CLK_e.

在一實施例中,如圖14B所示,積分電路100B包括積分電容器CIT、可變電流電路110B、固定電流源Ifx2以及選擇電路120。可變電流電路110B用以根據調節訊號ADJ而產生放電電流Idch,固定電流源Ifx2則用以產生充電電流Ichg。選擇電路120用以根據外部時脈訊號CLK_e而選擇充電電流Ichg或放電電流Idch對積分電容器CIT積分而產生三角波訊號VTR。 In one embodiment, as shown in FIG. 14B , the integration circuit 100B includes an integration capacitor CIT, a variable current circuit 110B, a fixed current source Ifx2 and a selection circuit 120 . The variable current circuit 110B is used to generate the discharge current Idch according to the adjustment signal ADJ, and the fixed current source Ifx2 is used to generate the charge current Ichg. The selection circuit 120 is used for selecting the charging current Ichg or the discharging current Idch to integrate the integrating capacitor CIT to generate the triangular wave signal VTR according to the external clock signal CLK_e.

圖15A~圖15D顯示本發明之低失真三角波產生電路中,可變電流電路之具體實施例示意圖。 15A to 15D show schematic diagrams of specific embodiments of the variable current circuit in the low-distortion triangular wave generating circuit of the present invention.

在一實施例中,如圖15A所示,可變電流電路115A包括壓控電流源111,壓控電流源111用以根據調節訊號ADJ(本實施例為ADJU)與轉導係數Gm而產生充電電流Ichg,在其他實施例中,壓控電流源111也可用以根據調節訊號ADJD與轉導係數Gm產生放電電流Idch。 In one embodiment, as shown in FIG. 15A , the variable current circuit 115A includes a voltage-controlled current source 111, and the voltage-controlled current source 111 is used to generate charging according to the adjustment signal ADJ (ADJU in this embodiment) and the transconductance coefficient Gm. The current Ichg, in other embodiments, the voltage-controlled current source 111 can also be used to generate the discharge current Idch according to the adjustment signal ADJD and the transconductance coefficient Gm.

在一實施例中,如圖15B與圖15C所示,可變電流電路(115B,115C)包括壓控電流源111以及固定電流源Ifx2,用以根據調節訊號ADJ與轉導係數Gm而產生可變電流Ivr,其中可變電流Ivr與固定電流源Ifx2的電流之和(圖15B)或電流之差(圖15C)對應於充電電流Ichg,在其他實施例中,電流之和(圖15B)或電流之差(圖15C)可用以根據調節訊號ADJD與轉導係數Gm而產生放電電流Idch。 In one embodiment, as shown in FIG. 15B and FIG. 15C, the variable current circuit (115B, 115C) includes a voltage-controlled current source 111 and a fixed current source Ifx2, which are used to generate a variable current source according to the adjustment signal ADJ and the transconductance coefficient Gm. The variable current Ivr, wherein the sum of the variable current Ivr and the current of the fixed current source Ifx2 (Figure 15B) or the difference between the currents (Figure 15C) corresponds to the charging current Ichg, in other embodiments, the sum of the currents (Figure 15B) or The current difference ( FIG. 15C ) can be used to generate the discharge current Idch according to the adjustment signal ADJD and the transconductance coefficient Gm.

在一實施例中,如圖15D所示,可變電流電路115D包括固定電流源Ifx3以及差動電晶體對130,差動電晶體對130的電晶體M1與M2共同接收且彼此分配固定電流源Ifx3,其中差動電晶體對的電晶體M1偏置於參考電壓(例如接地電位),差動電晶體對的電晶體M2受控於調節訊號ADJ(如圖15D之ADJU),其中流經差動電晶體對的電晶體M2電流對應於充電電流Ichg。具體而言,本實施例中,充電電流Ichg=固定電流源Ifx3-分支電流Idf。在其他實施例中,其中流經差動電晶體對的其中之一的電流可用以根據調節訊號ADJD與轉導係數Gm而產生放電電流Idch。 In one embodiment, as shown in FIG. 15D , the variable current circuit 115D includes a fixed current source Ifx3 and a differential transistor pair 130. The transistors M1 and M2 of the differential transistor pair 130 receive and distribute the fixed current source to each other. Ifx3, wherein the transistor M1 of the differential transistor pair is biased at a reference voltage (for example, ground potential), and the transistor M2 of the differential transistor pair is controlled by the adjustment signal ADJ (such as ADJU in FIG. 15D ), which flows through the differential The transistor M2 current of the electrokinetic pair corresponds to the charging current Ichg. Specifically, in this embodiment, charging current Ichg=fixed current source Ifx3−branch current Idf. In other embodiments, the current flowing through one of the differential transistor pair can be used to generate the discharge current Idch according to the adjustment signal ADJD and the conductance coefficient Gm.

請繼續參閱圖圖15A~圖15D,在一實施例中,選擇電路120包括主要開關SW1以及旁路開關SW2,主要開關SW1用以控制充電電流Ichg或放電電流Idch中的其中之一對積分電容器CIT積分,旁路開關SW2則用以當充電電流Ichg或放電電流Idch中的其中之一不對積分電容器CIT積分時,將充電電流Ichg或放電電流Idch中的其中之一導通至參考電位,藉此可降低切換時造成的干擾。 Please continue to refer to FIGS. 15A to 15D. In one embodiment, the selection circuit 120 includes a main switch SW1 and a bypass switch SW2. The main switch SW1 is used to control one of the charging current Ichg or the discharging current Idch to the integrating capacitor. CIT integration, the bypass switch SW2 is used to conduct one of the charging current Ichg or the discharging current Idch to the reference potential when one of the charging current Ichg or the discharging current Idch is not integrated to the integrating capacitor CIT, thereby Can reduce the interference caused when switching.

圖16顯示本發明之低失真三角波產生電路中,可變電流電路之一具體實施例示意圖。在一實施例中,如圖16所示,可變電流電路116包括類比數位轉換器140,至少一子電流源(如圖中的Is1~Isx,x為正整數)以及 對應的至少一轉換開關(如圖中的Sd1~Sdx,x為正整數)。類比數位轉換器140將調節訊號ADJ轉換為數位切換訊號Dadj。該至少一子電流源與該至少一轉換開關分別對應耦接,其中該至少一轉換開關接受數位切換訊號Dadj以對應切換而組合該至少之一子電流源,以產生對應於調節訊號ADJ的充電電流Ichg或放電電流Idch中的其中之一。 FIG. 16 shows a schematic diagram of a specific embodiment of a variable current circuit in the low-distortion triangular wave generating circuit of the present invention. In one embodiment, as shown in FIG. 16 , the variable current circuit 116 includes an analog-to-digital converter 140, at least one sub-current source (Is1~Isx in the figure, x is a positive integer) and Corresponding to at least one switch (Sd1-Sdx in the figure, x is a positive integer). The analog-to-digital converter 140 converts the adjustment signal ADJ into a digital switching signal Dadj. The at least one sub-current source is correspondingly coupled to the at least one switch, wherein the at least one switch receives the digital switching signal Dadj to switch correspondingly to combine the at least one sub-current source to generate charging corresponding to the adjustment signal ADJ One of the current Ichg or the discharge current Idch.

以上已針對較佳實施例來說明本發明,唯以上所述者,僅係為使熟悉本技術者易於了解本發明的內容而已,並非用來限定本發明之權利範圍。所說明之各個實施例,並不限於單獨應用,亦可以組合應用,舉例而言,兩個或以上之實施例可以組合運用,而一實施例中之部分組成亦可用以取代另一實施例中對應之組成部件。此外,在本發明之相同精神下,熟悉本技術者可以思及各種等效變化以及各種組合,舉例而言,本發明所稱「根據某訊號進行處理或運算或產生某輸出結果」,不限於根據該訊號的本身,亦包含於必要時,將該訊號進行電壓電流轉換、電流電壓轉換、及/或比例轉換等,之後根據轉換後的訊號進行處理或運算產生某輸出結果。由此可知,在本發明之相同精神下,熟悉本技術者可以思及各種等效變化以及各種組合,其組合方式甚多,在此不一一列舉說明。因此,本發明的範圍應涵蓋上述及其他所有等效變化。 The present invention has been described above with reference to preferred embodiments, but the above description is only for making those skilled in the art easily understand the content of the present invention, and is not intended to limit the scope of rights of the present invention. The various embodiments described are not limited to single application, and can also be used in combination. For example, two or more embodiments can be used in combination, and some components in one embodiment can also be used to replace another embodiment. corresponding components. In addition, under the same spirit of the present invention, those skilled in the art can think of various equivalent changes and various combinations. For example, the term "processing or computing according to a certain signal or generating a certain output result" in the present invention is not limited to According to the signal itself, it also includes performing voltage-to-current conversion, current-to-voltage conversion, and/or ratio conversion on the signal when necessary, and then processing or computing the converted signal to generate a certain output result. It can be seen that under the same spirit of the present invention, those skilled in the art can think of various equivalent changes and various combinations, and there are many combinations, which will not be listed here. Accordingly, the scope of the invention should encompass the above and all other equivalent variations.

100:積分電路100: integrating circuit

105A:三角波產生電路105A: Triangular wave generating circuit

21A:取樣維持電路21A: Sample hold circuit

22A:誤差放大電路22A: Error amplifier circuit

200:調節控制電路200: Regulating control circuit

221:誤差放大器221: Error amplifier

222:低通濾波回授網路222: Low-pass filter feedback network

ADJ:調節訊號ADJ: adjust the signal

CLK_e,CLK_eb:外部時脈訊號CLK_e, CLK_eb: external clock signal

CLK_e90,CLK_e90b:相差時脈訊號CLK_e90, CLK_e90b: phase difference clock signal

Cs1,Cs2:維持電容器Cs1, Cs2: holding capacitor

SAH:共模相關訊號SAH: common mode related signal

SAH0,SAH1:取樣維持訊號SAH0, SAH1: sample hold signal

VCM:目標直流位準VCM: target DC level

Vdc:預設直流位準Vdc: preset DC level

Vdm:共模相關訊號Vdm: common mode related signal

VTR:三角波訊號VTR: triangle wave signal

Z1,Z2:回授元件Z1, Z2: Feedback components

Claims (25)

一種低失真三角波產生電路,包含:一積分電路,用以接收一外部時脈訊號,該積分電路於該外部時脈訊號的一切換週期中的一充電時段與一放電時段,分別以一充電電流與一放電電流對一積分電容器積分而產生一三角波訊號,其中該充電時段與該放電時段具有相同時間長度;以及一調節控制電路,用以根據該三角波訊號而產生一共模相關訊號,其中該共模相關訊號相關於該三角波訊號的一共模特徵,且該調節控制電路根據該共模相關訊號與一預設直流位準的差值而以具有增益的方式產生一調節訊號;其中該調節訊號以回授方式,用以調整該充電電流或該放電電流中的其中之一,使得該三角波訊號為對稱三角波,且該三角波訊號的平均電壓等於一目標直流位準;其中該積分電路包括:該積分電容器;一可變電流電路,用以根據該調節訊號而產生該充電電流或該放電電流中的其中之一;一第一固定電流源,用以產生該充電電流或該放電電流中的其中之另一;以及一選擇電路,用以根據該外部時脈訊號而選擇該充電電流或該放電電流對該積分電容器積分而產生該三角波訊號。 A low-distortion triangular wave generating circuit, comprising: an integrating circuit for receiving an external clock signal, the integrating circuit uses a charging current for a charging period and a discharging period in a switching cycle of the external clock signal respectively Integrating a discharging current with an integrating capacitor to generate a triangular wave signal, wherein the charging period has the same time length as the discharging period; and an adjustment control circuit for generating a common-mode related signal according to the triangular wave signal, wherein the common The mode-related signal is related to a common-mode characteristic of the triangular wave signal, and the adjustment control circuit generates an adjustment signal in a manner with gain according to the difference between the common-mode correlation signal and a preset DC level; wherein the adjustment signal is The feedback method is used to adjust one of the charging current or the discharging current so that the triangular wave signal is a symmetrical triangular wave, and the average voltage of the triangular wave signal is equal to a target DC level; wherein the integrating circuit includes: the integrating a capacitor; a variable current circuit for generating one of the charging current or the discharging current according to the adjustment signal; a first fixed current source for generating one of the charging current or the discharging current another; and a selection circuit, used to select the charging current or the discharging current to integrate the integral capacitor to generate the triangular wave signal according to the external clock signal. 如請求項1所述之低失真三角波產生電路,其中該可變電流電路配置為以下之一: (1)該可變電流電路包括;一壓控電流源,用以根據該調節訊號與一轉導係數而產生該充電電流或該放電電流中的該其中之一;(2)該可變電流電路包括;一壓控電流源,用以根據該調節訊號與一轉導係數而產生一可變電流;以及一第二固定電流源,其中該可變電流與該第二固定電流源的電流之和或差對應於該充電電流或該放電電流中的該其中之一;(3)該可變電流電路包括;一第三固定電流源;以及一差動電晶體對,共同接收且彼此分配該第三固定電流源,其中該差動電晶體對的其中之一偏置於一參考電壓,該差動電晶體對的其中之另一受控於該調節訊號,其中流經該差動電晶體對的電流對應於該充電電流或該放電電流中的該其中之一;或者(4)該可變電流電路包括;一類比數位轉換器,將該調節訊號轉換為一數位切換訊號;至少一子電流源;至少一轉換開關,分別對應耦接於該至少一子電流源,其中該至少一轉換開關接受該數位切換訊號以對應切換而組合該至少之一子電流源,以產生對應於該調節訊號的該充電電流或該放電電流中的該其中之一。 The low-distortion triangular wave generating circuit as described in Claim 1, wherein the variable current circuit is configured as one of the following: (1) The variable current circuit includes; a voltage-controlled current source, which is used to generate the charging current or the discharging current according to the adjustment signal and a transconductance coefficient; (2) The variable current The circuit includes; a voltage-controlled current source, which is used to generate a variable current according to the adjustment signal and a transconductance coefficient; and a second fixed current source, wherein the difference between the variable current and the current of the second fixed current source The sum or difference corresponds to one of the charging current or the discharging current; (3) the variable current circuit includes; a third fixed current source; and a differential transistor pair, receiving and distributing the A third fixed current source, wherein one of the differential transistor pair is biased at a reference voltage, and the other of the differential transistor pair is controlled by the adjustment signal, wherein the differential transistor flows through the differential transistor The corresponding current corresponds to one of the charging current or the discharging current; or (4) the variable current circuit includes; an analog-to-digital converter, which converts the adjustment signal into a digital switching signal; at least one sub Current source; at least one switch, respectively coupled to the at least one sub-current source, wherein the at least one switch receives the digital switching signal to switch correspondingly and combine the at least one sub-current source to generate a current corresponding to the regulation The one of the charging current or the discharging current of the signal. 如請求項2所述之低失真三角波產生電路,其中該可變電流電路配置為(1)、(2)或(3)時,該選擇電路包括:一主要開關,用以控制該充電電流或該放電電流中的其中之一對該積分電容器積分;以及一旁路開關,用以當該充電電流或該放電電流中的該其中之一不對該積分電容器積分時,將該充電電流或該放電電流中的該其中之一導通至一參考電位。 The low-distortion triangular wave generating circuit as described in claim 2, wherein when the variable current circuit is configured as (1), (2) or (3), the selection circuit includes: a main switch for controlling the charging current or one of the discharge currents is integrated with the integrating capacitor; and a bypass switch for either the charging current or the discharging current when the one of the charging current or the discharging current is not integrating the integrating capacitor One of them is turned on to a reference potential. 如請求項1所述之低失真三角波產生電路,其中該調節控制電路包括:一取樣維持電路,用以週期性地於每次該切換週期中的一取樣維持時點,對該三角波訊號取樣維持而產生該共模相關訊號;以及一誤差放大電路,用以將該共模相關訊號與該預設直流位準的差值放大而產生該調節訊號,其中該預設直流位準與該目標直流位準的關係由該取樣維持時點與該切換週期的比例關係而決定。 The low-distortion triangular wave generating circuit as described in claim 1, wherein the adjustment control circuit includes: a sampling and holding circuit, which is used to periodically sample and hold the triangular wave signal at a sampling and holding time point in each switching cycle and generating the common-mode correlation signal; and an error amplifier circuit for amplifying the difference between the common-mode correlation signal and the preset DC level to generate the adjustment signal, wherein the preset DC level and the target DC level The accurate relationship is determined by the proportional relationship between the sampling hold time point and the switching period. 如請求項4所述之低失真三角波產生電路,其中該取樣維持電路以一相差時脈訊號對該三角波訊號進行取樣維持,其中該相差時脈訊號與該切換週期的相位相差90度,以取樣維持該三角波訊號的一上升斜坡的中間值或一下降斜坡的中間值,進而產生該共模相關訊號;其中該誤差放大電路以該目標直流位準做為該預設直流位準。 The low-distortion triangular wave generating circuit as described in claim 4, wherein the sampling and holding circuit uses a phase difference clock signal to sample and hold the triangular wave signal, wherein the phase difference between the phase difference clock signal and the switching period is 90 degrees to sample maintaining an intermediate value of a rising slope or a falling slope of the triangular wave signal to generate the common-mode correlation signal; wherein the error amplifier circuit uses the target DC level as the preset DC level. 如請求項4所述之低失真三角波產生電路,其特徵在於以下之一: (1)其中該取樣維持電路以該外部時脈訊號而取樣維持該三角波訊號的一峰值,進而產生該共模相關訊號;其中該誤差放大電路以該三角波訊號的一目標峰值位準做為該預設直流位準;或者(2)其中該取樣維持電路以該外部時脈訊號而取樣維持該三角波訊號的一谷值,進而產生該共模相關訊號;其中該誤差放大電路以該三角波訊號的一目標谷值位準做為該預設直流位準。 The low-distortion triangular wave generating circuit as described in claim 4 is characterized in that it is one of the following: (1) wherein the sample hold circuit uses the external clock signal to sample and maintain a peak value of the triangular wave signal, thereby generating the common mode correlation signal; wherein the error amplifier circuit uses a target peak level of the triangular wave signal as the a preset DC level; or (2) wherein the sample hold circuit uses the external clock signal to sample and maintain a valley value of the triangular wave signal, thereby generating the common mode related signal; wherein the error amplifier circuit uses the triangular wave signal A target valley level is used as the preset DC level. 如請求項5所述之低失真三角波產生電路,其中該取樣維持電路以交錯方式而取樣維持該三角波訊號以組合成為該共模相關訊號。 The low-distortion triangular wave generating circuit as described in Claim 5, wherein the sample-and-hold circuit samples and holds the triangular wave signal in an interleaved manner to combine into the common-mode correlation signal. 如請求項1所述之低失真三角波產生電路,其中該調節控制電路包括一濾波放大電路,其包括:一誤差放大器;以及一低通濾波回授網路,以回授方式耦接於該誤差放大器,用以接收該三角波訊號,其中該誤差放大器與該低通濾波回授網路以主動式低通濾波之方式,將該三角波訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該誤差放大器以該目標直流位準做為該預設直流位準。 The low-distortion triangular wave generation circuit as described in Claim 1, wherein the adjustment control circuit includes a filter amplifier circuit, which includes: an error amplifier; and a low-pass filter feedback network, which is coupled to the error in a feedback manner The amplifier is used to receive the triangular wave signal, wherein the error amplifier and the low-pass filter feedback network use active low-pass filtering to amplify the difference between the triangular wave signal and the preset DC level, and simultaneously obtain The common-mode correlation signal is used to generate the regulation signal, wherein the error amplifier uses the target DC level as the preset DC level. 如請求項1所述之低失真三角波產生電路,其中該調節控制電路包括:一比較電路,用以比較該三角波訊號與一參考訊號而產生一脈寬調變訊號;以及一濾波放大電路,其包括:一誤差放大電路;以及 一低通濾波回授網路,以回授方式耦接於該誤差放大電路,用以接收該脈寬調變訊號,其中該誤差放大電路與該低通濾波回授網路以主動式低通濾波之方式,將該脈寬調變訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準相關於該參考訊號、該三角波訊號的一目標峰值位準、該三角波訊號的一目標谷值位準以及該脈寬調變訊號的振幅,其中該參考訊號介於該目標峰值位準與該目標谷值位準之間。 The low-distortion triangular wave generation circuit as described in claim 1, wherein the adjustment control circuit includes: a comparison circuit for comparing the triangular wave signal with a reference signal to generate a pulse width modulation signal; and a filter amplifier circuit, which Including: an error amplification circuit; and A low-pass filter feedback network, coupled to the error amplifier circuit in a feedback manner, for receiving the pulse width modulation signal, wherein the error amplifier circuit and the low-pass filter feedback network are actively low-pass The method of filtering amplifies the difference between the pulse width modulation signal and the preset DC level, and at the same time obtains the common mode related signal and generates the adjustment signal, wherein the preset DC level is related to the reference signal, A target peak level of the triangular wave signal, a target valley level of the triangular wave signal, and the amplitude of the PWM signal, wherein the reference signal is between the target peak level and the target valley level . 如請求項9所述之低失真三角波產生電路,其中該參考訊號對應於該目標直流位準,該預設直流位準對應於該脈寬調變訊號的振幅的1/2。 The low-distortion triangular wave generating circuit as described in Claim 9, wherein the reference signal corresponds to the target DC level, and the preset DC level corresponds to 1/2 of the amplitude of the PWM signal. 一種低失真三角波產生電路,包含:一積分電路,用以接收一外部時脈訊號,該積分電路於該外部時脈訊號的一切換週期中的一充電時段與一放電時段,分別以一充電電流與一放電電流對一積分電容器積分而產生一三角波訊號,其中該充電時段與該放電時段具有相同時間長度;以及一調節控制電路,用以根據該三角波訊號而產生一共模相關訊號,其中該共模相關訊號相關於該三角波訊號的一共模特徵,且該調節控制電路根據該共模相關訊號與一預設直流位準的差值而以具有增益的方式產生一調節訊號;其中該調節訊號以回授方式,用以調整該充電電流或該放電電流中的其中之至少之一,使得該三角波訊號為對稱三角波,且該三角波訊號的平均電壓等於一目標直流位準;其中該調節控制電路包括: 一比較電路,用以比較該三角波訊號與該目標直流位準而產生一脈寬調變訊號;一占空比比較電路,用以比較該脈寬調變訊號與該外部時脈訊號,或者用以比較該脈寬調變訊號與一相差時脈訊號,而產生一占空比誤差訊號,其中該相差時脈訊號與該切換週期的相位相差90度;以及一濾波電路,用以將該占空比誤差訊號濾波以同時取得該共模相關訊號與產生該調節訊號;該占空比比較電路包括:一邏輯比較電路,用以比較該脈寬調變訊號與該外部時脈訊號之差異,或者用以比較該脈寬調變訊號與該相差時脈訊號之差異,而產生一上拉訊號與一下拉訊號以分別代表上升緣與下降緣的占空比差;以及一切換電路,配置為以下之一:(1)該切換電路包括彼此串聯於一供應電壓與一接地電位之間的一上側開關以及一下側開關,該上側開關與該下側開關分別受該上拉訊號與該下拉訊號的控制而切換,而產生該占空比誤差訊號,其中該供應電壓與該接地電位之間的電壓差對應於該占空比誤差訊號的振幅,其中該濾波電路將該占空比誤差訊號濾波以同時取得該共模相關訊號與產生該調節訊號;或者(2)該切換電路包括彼此串聯於該供應電壓與該接地電位之間的一上側電流源以及一下側電流源,分別受該上拉訊號與該下拉訊號的控制而切換,而產生該占空比誤差訊號,其中該供應電 壓與該接地電位之間的電壓差對應於該占空比誤差訊號的振幅,其中該濾波電路將該占空比誤差訊號積分且濾波以同時取得該共模相關訊號與產生該調節訊號。 A low-distortion triangular wave generating circuit, comprising: an integrating circuit for receiving an external clock signal, the integrating circuit uses a charging current for a charging period and a discharging period in a switching cycle of the external clock signal respectively Integrating a discharging current with an integrating capacitor to generate a triangular wave signal, wherein the charging period has the same time length as the discharging period; and an adjustment control circuit for generating a common-mode related signal according to the triangular wave signal, wherein the common The mode-related signal is related to a common-mode characteristic of the triangular wave signal, and the adjustment control circuit generates an adjustment signal in a manner with gain according to the difference between the common-mode correlation signal and a preset DC level; wherein the adjustment signal is The feedback method is used to adjust at least one of the charging current or the discharging current, so that the triangular wave signal is a symmetrical triangular wave, and the average voltage of the triangular wave signal is equal to a target DC level; wherein the adjustment control circuit includes : A comparator circuit for comparing the triangular wave signal with the target DC level to generate a pulse width modulation signal; a duty ratio comparator circuit for comparing the pulse width modulation signal with the external clock signal, or using to generate a duty ratio error signal by comparing the pulse width modulation signal with a phase difference clock signal, wherein the phase difference between the phase difference clock signal and the switching period is 90 degrees; and a filter circuit for the duty ratio The duty ratio error signal is filtered to simultaneously obtain the common mode related signal and generate the adjustment signal; the duty ratio comparison circuit includes: a logic comparison circuit for comparing the difference between the pulse width modulation signal and the external clock signal, Or it is used to compare the difference between the pulse width modulation signal and the phase difference clock signal, and generate a pull-up signal and a pull-down signal to represent the duty cycle difference of the rising edge and the falling edge respectively; and a switching circuit configured as One of the following: (1) The switch circuit includes an upper switch and a lower switch connected in series between a supply voltage and a ground potential, the upper switch and the lower switch are respectively received by the pull-up signal and the pull-down signal Switched by the control of the control to generate the duty cycle error signal, wherein the voltage difference between the supply voltage and the ground potential corresponds to the amplitude of the duty cycle error signal, wherein the filter circuit filters the duty cycle error signal to obtain the common-mode related signal and generate the adjustment signal at the same time; or (2) the switching circuit includes an upper current source and a lower current source connected in series between the supply voltage and the ground potential, which are respectively pulled up by the signal is switched with the control of the pull-down signal to generate the duty cycle error signal, wherein the supply voltage The voltage difference between voltage and the ground potential corresponds to the amplitude of the duty cycle error signal, wherein the filter circuit integrates and filters the duty cycle error signal to simultaneously obtain the common mode related signal and generate the adjustment signal. 如請求項11所述之低失真三角波產生電路,其中該濾波電路包括:一誤差放大電路;以及一低通濾波回授網路,以回授方式耦接於該誤差放大電路,用以接收該占空比誤差訊號,其中該誤差放大電路與該低通濾波回授網路以主動式低通濾波之方式,將該占空比誤差訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準對應於該占空比誤差訊號的振幅的1/2。 The low-distortion triangular wave generation circuit as described in claim 11, wherein the filter circuit includes: an error amplifier circuit; and a low-pass filter feedback network, which is coupled to the error amplifier circuit in a feedback manner to receive the Duty ratio error signal, wherein the error amplification circuit and the low-pass filter feedback network amplify the difference between the duty ratio error signal and the preset DC level by means of active low-pass filtering, and at the same time Obtaining the common-mode correlation signal and generating the adjustment signal, wherein the preset DC level corresponds to 1/2 of the amplitude of the duty cycle error signal. 如請求項11所述之低失真三角波產生電路,其中該調節控制電路僅調整該充電電流或該放電電流中的其中之一。 The low-distortion triangular wave generation circuit as claimed in claim 11, wherein the adjustment control circuit only adjusts one of the charging current or the discharging current. 一種產生低失真三角波的方法,包含:於一外部時脈訊號的一切換週期中的一充電時段與一放電時段,分別以一充電電流與一放電電流對一積分電容器積分而產生一三角波訊號,其中該充電時段與該放電時段具有相同時間長度;根據該三角波訊號而產生一共模相關訊號,其中該共模相關訊號相關於該三角波訊號的一共模特徵,且根據該共模相關訊號與一預設直流位準的差值而以具有增益的方式產生一調節訊號;以及以回授方式,根據該調節訊號以調整該充電電流或該放電電流中的其中之一,使得該三角波訊號為對稱三角波,且該三角波訊號的平均電壓等 於一目標直流位準,該充電電流或該放電電流中的其中之另一為一固定電流。 A method for generating a low-distortion triangular wave, comprising: during a charging period and a discharging period in a switching cycle of an external clock signal, respectively integrating a charging current and a discharging current to an integrating capacitor to generate a triangular wave signal, wherein the charging period has the same time length as the discharging period; a common-mode correlation signal is generated according to the triangular wave signal, wherein the common-mode correlation signal is related to a common-mode characteristic of the triangular wave signal, and according to the common-mode correlation signal and a predetermined Setting the difference of the DC level to generate an adjustment signal with a gain; and adjusting one of the charging current or the discharging current according to the adjustment signal in a feedback manner, so that the triangular wave signal is a symmetrical triangular wave , and the average voltage of the triangular wave signal, etc. At a target DC level, the other of the charge current or the discharge current is a constant current. 如請求項14所述之方法,其中根據該調節訊號以調整該充電電流或該放電電流中的其中之一的步驟包括以下之一:(1)根據該調節訊號與一轉導係數以控制一壓控電流源而產生該充電電流或該放電電流中的該其中之一;(2)根據該調節訊號與一轉導係數以控制一壓控電流源而產生一可變電流;以及控制該可變電流與一固定電流之和或差以做為該充電電流或該放電電流中的該其中之一;(3)以一固定電流源偏置一差動電晶體對;以及以該調節訊號控制一差動電晶體對的其中之一,且以一參考電壓偏置另一差動電晶體對的其中之另一,其中流經受控於該調節訊號的該差動電晶體對的該其中之一的電流對應於該充電電流或該放電電流中的該其中之一;或者(4)將該調節訊號轉換為一數位切換訊號;以及以該數位切換訊號控制至少一轉換開關對應切換而組合至少一電流源,以產生對應於該調節訊號的該充電電流或該放電電流中的該其中之一。 The method as described in claim 14, wherein the step of adjusting one of the charging current or the discharging current according to the adjustment signal includes one of the following: (1) controlling a (2) controlling a voltage-controlled current source to generate a variable current according to the adjustment signal and a transconductance coefficient; and controlling the adjustable The sum or difference of the variable current and a fixed current is used as the charging current or the one of the discharging current; (3) biasing a differential transistor pair with a fixed current source; and controlling with the adjustment signal One of a pair of differential transistors, and biases the other of the other pair of differential transistors with a reference voltage, wherein the one of the pair of differential transistors controlled by the adjustment signal flows through the One of the currents corresponds to the one of the charging current or the discharging current; or (4) converting the adjustment signal into a digital switching signal; and using the digital switching signal to control at least one switch to switch correspondingly and combine At least one current source is used to generate the one of the charging current or the discharging current corresponding to the adjustment signal. 如請求項14所述之方法,其中產生該調節訊號的步驟包括:週期性地於每次該切換週期中的一取樣維持時點,對該三角波訊號取樣維持而產生該共模相關訊號;以及 將該共模相關訊號與該預設直流位準的差值放大而產生該調節訊號,其中該預設直流位準與該目標直流位準的關係由該取樣維持時點與該切換週期的比例關係而決定。 The method as described in claim 14, wherein the step of generating the adjustment signal includes: periodically sampling and maintaining the triangular wave signal at a sampling and holding time point in each switching cycle to generate the common-mode correlation signal; and Amplifying the difference between the common-mode related signal and the preset DC level to generate the adjustment signal, wherein the relationship between the preset DC level and the target DC level is determined by the proportional relationship between the sampling maintenance time point and the switching period And decided. 如請求項16所述之方法,其中產生該共模相關訊號的步驟包括:以一相差時脈訊號對該三角波訊號進行取樣維持,其中該相差時脈訊號與該切換週期的相位相差90度,以取樣維持該三角波訊號的一上升斜坡的中間值或一下降斜坡的中間值,進而產生該共模相關訊號;其中以該目標直流位準做為該預設直流位準。 The method as described in claim 16, wherein the step of generating the common-mode correlation signal includes: sampling and maintaining the triangular wave signal with a phase-difference clock signal, wherein the phase difference between the phase-difference clock signal and the switching period is 90 degrees, Sampling and maintaining an intermediate value of a rising slope or a falling slope of the triangular wave signal to generate the common-mode correlation signal; wherein the target DC level is used as the preset DC level. 如請求項16所述之方法,其特徵在於以下之一:(1)以該外部時脈訊號而取樣維持該三角波訊號的一峰值,進而產生該共模相關訊號;且以該三角波訊號的一目標峰值位準做為該預設直流位準;或者(2)以該外部時脈訊號而取樣維持該三角波訊號的一谷值,進而產生該共模相關訊號;且以該三角波訊號的一目標谷值位準做為該預設直流位準。 The method as described in claim item 16 is characterized in that one of the following: (1) sampling and maintaining a peak value of the triangular wave signal with the external clock signal, and then generating the common mode correlation signal; and using a peak value of the triangular wave signal The target peak level is used as the preset DC level; or (2) the external clock signal is used to sample and maintain a valley value of the triangular wave signal, thereby generating the common mode related signal; and a target of the triangular wave signal is used The valley level is used as the preset DC level. 如請求項17所述之方法,其中於產生該共模相關訊號的步驟中,以交錯方式而取樣維持該三角波訊號以組合成為該共模相關訊號。 The method as described in claim 17, wherein in the step of generating the common-mode correlation signal, the triangular wave signal is sampled and maintained in an interleaved manner to be combined into the common-mode correlation signal. 如請求項14所述之方法,其中產生該調節訊號的步驟包括:以主動式低通濾波之方式,將該三角波訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中以該目標直流位準做為該預設直流位準。 The method as described in claim 14, wherein the step of generating the adjustment signal includes: amplifying the difference between the triangular wave signal and the preset DC level by means of active low-pass filtering, and simultaneously obtaining the common-mode correlation signal and generate the adjustment signal, wherein the target DC level is used as the preset DC level. 如請求項14所述之方法,其中產生該調節訊號的步驟包括: 比較該三角波訊號與一參考訊號而產生一脈寬調變訊號;以及以主動式低通濾波之方式,將該脈寬調變訊號與該預設直流位準的差值放大,且同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準相關於該參考訊號、該三角波訊號的一目標峰值位準、該三角波訊號的一目標谷值位準以及該脈寬調變訊號的振幅,其中該參考訊號介於該目標峰值位準與該目標谷值位準之間。 The method as claimed in claim 14, wherein the step of generating the adjustment signal comprises: Comparing the triangular wave signal with a reference signal to generate a pulse width modulation signal; and amplifying the difference between the pulse width modulation signal and the preset DC level by means of active low-pass filtering, and simultaneously obtaining the common mode correlation signal and generating the adjustment signal, wherein the preset DC level is related to the reference signal, a target peak level of the triangular wave signal, a target valley level of the triangular wave signal and the pulse width modulation signal The amplitude of the reference signal is between the target peak level and the target valley level. 如請求項21所述之方法,其中該參考訊號對應於該目標直流位準,該預設直流位準對應於該脈寬調變訊號的振幅的1/2。 The method as claimed in claim 21, wherein the reference signal corresponds to the target DC level, and the preset DC level corresponds to 1/2 of the amplitude of the PWM signal. 一種產生低失真三角波的方法,包含:於一外部時脈訊號的一切換週期中的一充電時段與一放電時段,分別以一充電電流與一放電電流對一積分電容器積分而產生一三角波訊號,其中該充電時段與該放電時段具有相同時間長度;根據該三角波訊號而產生一共模相關訊號,其中該共模相關訊號相關於該三角波訊號的一共模特徵,且根據該共模相關訊號與一預設直流位準的差值而以具有增益的方式產生一調節訊號;以及以回授方式,根據該調節訊號以調整該充電電流或該放電電流中的其中之至少之一,使得該三角波訊號為對稱三角波,且該三角波訊號的平均電壓等於一目標直流位準;其中產生該調節訊號的步驟包括:比較該三角波訊號與該目標直流位準而產生一脈寬調變訊號;比較該脈寬調變訊號與該外部時脈訊號,或者比較該脈寬調變訊號與一相差時脈訊號,而產生一占空比誤差訊號,其中該相差時脈訊號與該切換週期的相位相差90度;以及 將該占空比誤差訊號濾波以同時取得該共模相關訊號與產生該調節訊號;其中產生該占空比誤差訊號的步驟包括:比較該脈寬調變訊號與該外部時脈訊號之差異,或者比較該脈寬調變訊號與該相差時脈訊號之差異,而產生一上拉訊號與一下拉訊號以分別代表上升緣與下降緣的占空比差;以及以下步驟(1)或(2)的其中之一:(1)以該上拉訊號與該下拉訊號的控制而分別切換彼此串聯於一供應電壓與一接地電位之間的一上側開關以及一下側開關,而產生該占空比誤差訊號,其中該供應電壓與該接地電位之間的電壓差對應於該占空比誤差訊號的振幅;或者(2)以該上拉訊號與該下拉訊號的控制而分別切換彼此串聯於該供應電壓與該接地電位之間的一上側電流源以及一下側電流源,而產生該占空比誤差訊號,其中該供應電壓與該接地電位之間的電壓差對應於該占空比誤差訊號的振幅。 A method for generating a low-distortion triangular wave, comprising: during a charging period and a discharging period in a switching cycle of an external clock signal, respectively integrating a charging current and a discharging current to an integrating capacitor to generate a triangular wave signal, wherein the charging period has the same time length as the discharging period; a common-mode correlation signal is generated according to the triangular wave signal, wherein the common-mode correlation signal is related to a common-mode characteristic of the triangular wave signal, and according to the common-mode correlation signal and a predetermined Setting the difference of the DC level to generate an adjustment signal with a gain; and adjusting at least one of the charging current or the discharging current according to the adjustment signal in a feedback manner, so that the triangular wave signal is Symmetrical triangular wave, and the average voltage of the triangular wave signal is equal to a target DC level; wherein the step of generating the adjustment signal includes: comparing the triangular wave signal with the target DC level to generate a pulse width modulation signal; comparing the pulse width modulation changing the signal with the external clock signal, or comparing the pulse width modulated signal with a phase difference clock signal to generate a duty ratio error signal, wherein the phase difference between the phase difference clock signal and the switching period is 90 degrees; and filtering the duty ratio error signal to simultaneously obtain the common-mode correlation signal and generate the adjustment signal; wherein the step of generating the duty ratio error signal includes: comparing the difference between the pulse width modulation signal and the external clock signal, Or compare the difference between the pulse width modulation signal and the phase difference clock signal, and generate a pull-up signal and a pull-down signal to represent the duty cycle difference of the rising edge and the falling edge respectively; and the following steps (1) or (2 ) in one of: (1) under the control of the pull-up signal and the pull-down signal, respectively switch an upper side switch and a lower side switch connected in series between a supply voltage and a ground potential to generate the duty cycle an error signal, wherein the voltage difference between the supply voltage and the ground potential corresponds to the amplitude of the duty ratio error signal; An upper side current source and a lower side current source between a voltage and the ground potential to generate the duty cycle error signal, wherein the voltage difference between the supply voltage and the ground potential corresponds to the amplitude of the duty cycle error signal . 如請求項23所述之方法,其中將該占空比誤差訊號濾波之步驟包括:將該占空比誤差訊號與該預設直流位準的差值放大且濾波,以同時取得該共模相關訊號與產生該調節訊號,其中該預設直流位準對應於該占空比誤差訊號的振幅的1/2。 The method as described in claim 23, wherein the step of filtering the duty cycle error signal comprises: amplifying and filtering the difference between the duty cycle error signal and the preset DC level, so as to simultaneously obtain the common mode correlation signal and generate the adjustment signal, wherein the preset DC level corresponds to 1/2 of the amplitude of the duty cycle error signal. 如請求項23所述之方法,其中該充電電流或該放電電流中的其中之一受該調節訊號之控制而調整,該充電電流或該放電電流中的其中之另一為一固定電流。 The method according to claim 23, wherein one of the charging current or the discharging current is adjusted under the control of the adjustment signal, and the other of the charging current or the discharging current is a fixed current.
TW109134070A 2020-03-25 2020-09-30 Low distortion triangular wave generator circuit and low distortion triangular wave generation method TWI783274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/188,962 US11152927B1 (en) 2020-03-25 2021-03-01 Low distortion triangular wave generator circuit and low distortion triangular wave generation method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202062994373P 2020-03-25 2020-03-25
US62/994373 2020-03-25

Publications (2)

Publication Number Publication Date
TW202137705A TW202137705A (en) 2021-10-01
TWI783274B true TWI783274B (en) 2022-11-11

Family

ID=77808642

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109134070A TWI783274B (en) 2020-03-25 2020-09-30 Low distortion triangular wave generator circuit and low distortion triangular wave generation method

Country Status (2)

Country Link
CN (1) CN113452355A (en)
TW (1) TWI783274B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110270427A1 (en) * 2010-04-30 2011-11-03 Fujitsu Semiconductor Limited Digital/analog convertor and digital audio processing circuit adopting the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110270427A1 (en) * 2010-04-30 2011-11-03 Fujitsu Semiconductor Limited Digital/analog convertor and digital audio processing circuit adopting the same

Also Published As

Publication number Publication date
TW202137705A (en) 2021-10-01
CN113452355A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
US10498214B2 (en) Multi-stage amplifier
TWI452810B (en) Mixed mode compensation circuit and method for a power converter
TWI449290B (en) Phase current sharing network, current mode multiphase switching regulator and method for sharing current among phases thereof
TWI408880B (en) Controller for a switching regulator and method of controlling a switching regulator
US9793804B2 (en) Circuits and methods for controlling a three-level buck converter
US7919998B2 (en) Precision triangle waveform generator
JP3982342B2 (en) Triangular wave generation circuit in class D amplifier and class D amplifier using the triangular wave generation circuit
TWI448083B (en) Delay cell of ring oscillator and associated method
US20050077955A1 (en) Low-pass filter for a pll, phase-locked loop and semiconductor integrated circuit
JP3283723B2 (en) Feedback control system
US9225351B2 (en) Current amplifier circuit, integrator, and ad converter
TW202230070A (en) Power conversion system, method of power conversion, and pulse width modulation controller
CN108258900B (en) DC-DC converter and power modulator
CN113016138B (en) PWM modulator having chopped triangular wave PWM quantizer and quantizer with controllable analog gain and multiple non-ideal gains whose influence characteristics can be calibrated
TWI382668B (en) Phase lock loop and control method thereof
TWI783274B (en) Low distortion triangular wave generator circuit and low distortion triangular wave generation method
US11152927B1 (en) Low distortion triangular wave generator circuit and low distortion triangular wave generation method
TWI523391B (en) Mixed mode compensation circuit
TWI240483B (en) Programmable auto signal amplitude control circuit
WO2022049888A1 (en) Semiconductor circuit
CN110868162A (en) Digital audio power amplifier and power amplifier loop
JP2002198755A (en) Variable gain amplifier circuit
JP6280767B2 (en) Driving circuit
CN112671233B (en) Compensation circuit and switching power supply
JP2010087562A (en) Triangular wave generation device