TWI665866B - Modulation selecting circuit of audio amplifier - Google Patents

Modulation selecting circuit of audio amplifier Download PDF

Info

Publication number
TWI665866B
TWI665866B TW107115501A TW107115501A TWI665866B TW I665866 B TWI665866 B TW I665866B TW 107115501 A TW107115501 A TW 107115501A TW 107115501 A TW107115501 A TW 107115501A TW I665866 B TWI665866 B TW I665866B
Authority
TW
Taiwan
Prior art keywords
signal
circuit
modulation signal
ternary
counting
Prior art date
Application number
TW107115501A
Other languages
Chinese (zh)
Other versions
TW201947875A (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 TW107115501A priority Critical patent/TWI665866B/en
Application granted granted Critical
Publication of TWI665866B publication Critical patent/TWI665866B/en
Publication of TW201947875A publication Critical patent/TW201947875A/en

Links

Abstract

一種音頻放大器之調變選擇電路,包含一信號產生電路、一偵測電路和一選擇電路。該信號產生電路用以產生一三元調變信號和一四元調變信號。該偵測電路用以至少根據該三元調變信號以產生一模式選擇信號。該選擇電路用以根據該模式選擇信號選擇輸出該四元調變信號和該三元調變信號的其中一者至該音頻放大器的一輸出級。 A modulation selection circuit for an audio amplifier includes a signal generation circuit, a detection circuit, and a selection circuit. The signal generating circuit is used for generating a three-ary modulation signal and a four-dimensional modulation signal. The detection circuit is used to generate a mode selection signal according to at least the ternary modulation signal. The selection circuit is used to select and output one of the quaternary modulation signal and the ternary modulation signal to an output stage of the audio amplifier according to the mode selection signal.

Description

音頻放大器之調變選擇電路 Modulation selection circuit of audio amplifier

本發明係關於一種音頻放大器之調變選擇電路,尤指一種音頻放大器運作於三元調變模式和四元調變模式之信號選擇電路。 The invention relates to a modulation selection circuit for an audio amplifier, and more particularly to a signal selection circuit for an audio amplifier operating in a ternary modulation mode and a quaternary modulation mode.

在音頻應用中,類比放大器是音頻系統內的重要元件之一。D類放大器由於具有高效率及低功耗的優點,近年來已廣泛使用在音頻系統中。由於D類放大器的輸出波形是位於高邏輯位準(亦即,電源電壓)和低邏輯位準(亦即,接地電壓)兩者之一,而不是一共同類比電壓位準,理想上輸出級的功率電晶體若未導通時不會有電流流過。 In audio applications, analog amplifiers are one of the important components in audio systems. Due to the advantages of high efficiency and low power consumption, Class D amplifiers have been widely used in audio systems in recent years. Since the output waveform of a Class D amplifier is at one of a high logic level (i.e., power supply voltage) and a low logic level (i.e., ground voltage), rather than a common analog voltage level, ideally the output stage If the power transistor is not turned on, no current will flow.

目前常應用在D類放大器的調變方式為脈衝寬度調變(PWM)方式,其中又分為四元調變(quaternary modulation)模式和三元調變(ternary modulation)模式兩種。在四元調變模式下D類放大器的輸出級會有四種操作態樣,D類放大器的輸出級在此模式下的開關方式可參考美國專利US6262632之說明。D類放大器根據音源輸入訊號會以四種輸 出級的操作態樣來驅動如喇叭等負載。D類放大器的四元調變運作在比較大的輸出功率下具有較好的總諧波失真(THD,Total Harmonic Distortion)和較低的雜訊(noise)。 At present, the modulation method commonly used in Class D amplifiers is the pulse width modulation (PWM) method, which is divided into two types: quaternary modulation mode and ternary modulation mode. In the quaternary modulation mode, the output stage of the Class D amplifier will have four operating modes. For the switching mode of the output stage of the Class D amplifier in this mode, please refer to the description of the US patent US6262632. Class D amplifiers use four types of input signals according to the input signal of the audio source. Out-of-grade operating mode to drive loads such as speakers. The quaternary modulation operation of the class D amplifier has better total harmonic distortion (THD, Total Harmonic Distortion) and lower noise at a relatively large output power.

相較於四元調變模式,D類放大器的輸出級在三元調變模式下會有三種操作態樣(此模式下負載的兩端不會同時連接至電源電壓)。D類放大器的三元調變運作在比較小的輸出功率下具有會有較低的閒置電流(idle current)。因此,如何根據不同的輸出功率來適當切換D類放大器的運作模式以獲得較佳的效果是目前D類放大器的課題之一。 Compared with the quaternary modulation mode, the output stage of the Class D amplifier has three operating modes in the ternary modulation mode (in this mode, the two ends of the load will not be connected to the power supply voltage at the same time). The ternary modulation operation of the class D amplifier has a lower idle current at a relatively small output power. Therefore, how to properly switch the operation mode of the class D amplifier according to different output power to obtain better results is one of the topics of the current class D amplifier.

根據本發明一實施例之一種音頻放大器之調變選擇電路,包含一信號產生電路、一偵測電路和一選擇電路。該信號產生電路用以產生一三元調變信號和一四元調變信號。該偵測電路用以至少根據該三元調變信號以產生一模式選擇信號。該選擇電路用以根據該模式選擇信號選擇輸出該四元調變信號和該三元調變信號的其中一者至該音頻放大器的一輸出級。 According to an embodiment of the present invention, a modulation selection circuit of an audio amplifier includes a signal generation circuit, a detection circuit, and a selection circuit. The signal generating circuit is used for generating a three-ary modulation signal and a four-dimensional modulation signal. The detection circuit is used to generate a mode selection signal according to at least the ternary modulation signal. The selection circuit is used to select and output one of the quaternary modulation signal and the ternary modulation signal to an output stage of the audio amplifier according to the mode selection signal.

200‧‧‧音頻放大器 200‧‧‧Audio Amplifier

201‧‧‧調變選擇電路 201‧‧‧Modulation selection circuit

210‧‧‧增益級 210‧‧‧gain stage

220‧‧‧積分器 220‧‧‧ Integrator

230‧‧‧輸出級 230‧‧‧output stage

261,262‧‧‧濾波器 261,262‧‧‧Filter

310‧‧‧信號產生電路 310‧‧‧Signal generating circuit

311‧‧‧比較器 311‧‧‧ Comparator

312‧‧‧比較器 312‧‧‧ Comparator

313‧‧‧比較器 313‧‧‧ Comparator

314‧‧‧三元調變信號產生電路 314‧‧‧Ternary modulation signal generating circuit

3141‧‧‧XOR閘 3141‧‧‧XOR gate

3142‧‧‧AND閘 3142‧‧‧AND Gate

3143‧‧‧反相器 3143‧‧‧Inverter

3144‧‧‧NOR閘 3144‧‧‧NOR gate

320‧‧‧偵測電路 320‧‧‧detection circuit

321‧‧‧計數電路 321‧‧‧Counting circuit

3211‧‧‧計數器 3211‧‧‧ Counter

3212‧‧‧栓鎖電路 3212‧‧‧ Latching Circuit

3213‧‧‧反相器 3213‧‧‧ Inverter

322‧‧‧計數電路 322‧‧‧Counting circuit

3221‧‧‧計數器 3221‧‧‧Counter

3222‧‧‧栓鎖電路 3222‧‧‧ Latching Circuit

3223‧‧‧反相器 3223‧‧‧Inverter

323‧‧‧脈波遺失偵測電路 323‧‧‧pulse loss detection circuit

3231‧‧‧脈波遺失邏輯電路 3231‧‧‧pulse missing logic circuit

3232‧‧‧栓鎖電路 3232‧‧‧Latching circuit

3233‧‧‧零位準偵測電路 3233‧‧‧Zero level detection circuit

324‧‧‧重置電路 324‧‧‧Reset circuit

3241‧‧‧NOR閘 3241‧‧‧NOR Gate

3242‧‧‧計數器 3242‧‧‧ Counter

325‧‧‧輸出電路 325‧‧‧output circuit

3251‧‧‧栓鎖電路 3251‧‧‧ Latching Circuit

326‧‧‧零位準偵測電路 326‧‧‧zero level detection circuit

3261‧‧‧NOR閘 3261‧‧‧NOR Gate

330‧‧‧選擇電路 330‧‧‧Selection circuit

331‧‧‧多工器 331‧‧‧Multiplexer

332‧‧‧多工器 332‧‧‧Multiplexer

R1,R2‧‧‧電阻 R1, R2‧‧‧Resistance

第一圖顯示D類放大器在不同的輸出功率下以四元調變模式和三元調變模式運作所得到的總諧波失真和雜訊分布圖。 The first figure shows the total harmonic distortion and noise distributions obtained when the Class D amplifier operates in quaternary modulation mode and ternary modulation mode at different output powers.

第二圖顯示結合本發明一實施例之具有調變選擇電路的音頻放大器之方塊示意圖。 The second figure shows a block diagram of an audio amplifier with a modulation selection circuit combined with an embodiment of the present invention.

第三圖顯示結合本發明一實施例之該調變選擇電路之電路示意圖。 The third figure shows a schematic circuit diagram of the modulation selection circuit combined with an embodiment of the present invention.

第四圖顯示結合本發明一實施例之該偵測電路之電路圖。 The fourth figure shows a circuit diagram of the detection circuit combined with an embodiment of the present invention.

第五圖顯示第四圖所示之信號之一可能波形圖。 The fifth graph shows one possible waveform of the signal shown in the fourth graph.

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

第一圖顯示D類放大器在不同的輸出功率(Pout)下以四元調變模式和三元調變模式運作所得到的總諧波失真和雜訊(THD+N)分布圖。如第一圖所示,在比較小的輸出功率下,D類放大器運作於四元調變模式和三元調變模式所得到 的總諧波失真和雜訊是很接近的。然而,在比較大的輸出功率下,D類放大器運作於四元調變模式所得到的總諧波失真和雜訊會小於其運作於三元調變模式下。此外,在比較小的輸出功率下,D類放大器運作於三元調變模式會有較低的閒置電流。在總諧波失真和雜訊以及閒置電流的考量下,本發明中的音頻放大器在比較小的輸出功率下會運作於三元調變模式,而在比較大的輸出功率下會運作於四元調變模式。 The first figure shows the total harmonic distortion and noise (THD + N) distributions obtained when the Class D amplifier operates in the quaternary modulation mode and the ternary modulation mode at different output powers (Pout). As shown in the first figure, at a relatively small output power, the Class D amplifier operates in the quaternary modulation mode and the ternary modulation mode. The total harmonic distortion and noise are very close. However, at relatively large output powers, the total harmonic distortion and noise obtained by a Class D amplifier operating in the quaternary modulation mode will be less than when it operates in the ternary modulation mode. In addition, at a relatively small output power, the Class D amplifier will have a lower idle current when operating in the ternary modulation mode. In consideration of total harmonic distortion, noise and idle current, the audio amplifier in the present invention will operate in a ternary modulation mode at a relatively small output power, and will operate in a quaternary mode at a relatively large output power. Modulation mode.

第二圖顯示結合本發明一實施例之具有調變選擇電路201的音頻放大器200之方塊示意圖。在本實施例中,該音頻放大器200為一D類放大器,且該音頻放大器200包含一增益級210、一積分器220、該調變選擇電路201、一輸出級230、兩回授電阻R1和R2和兩濾波器261和262。該調變選擇電路201用以產生一四元調變信號和一三元調變信號,並且在調變模式決定後輸出該四元調變信號和該三元調變信號的其中一者至該輸出級230。該輸出級230產生輸出信號OUTp和OUTn至該等濾波器261和262。 The second figure shows a block diagram of an audio amplifier 200 with a modulation selection circuit 201 according to an embodiment of the present invention. In this embodiment, the audio amplifier 200 is a Class D amplifier, and the audio amplifier 200 includes a gain stage 210, an integrator 220, the modulation selection circuit 201, an output stage 230, two feedback resistors R1 and R2 and two filters 261 and 262. The modulation selection circuit 201 is used to generate a quaternary modulation signal and a ternary modulation signal, and output one of the quaternary modulation signal and the ternary modulation signal to the modulation mode after the modulation mode is determined. Output stage 230. The output stage 230 generates output signals OUTp and OUTn to the filters 261 and 262.

第三圖顯示結合本發明一實施例之該調變選擇電路201之電路示意圖。該調變選擇電路201包含一信號產生電路310、一偵測電路320和一選擇電路330。該信號產生電路310包含複數個比較器311、312和313以及一三元調變信號產生電路314。該等比較器311和312用以比較該積分器220的該輸出信號和一三角波信號以產生該四元調變信號,其中該四 元調變信號包含一正四元調變信號QP和一負四元調變信號QN。該比較器313用以比較該積分器220的輸出信號的其中一者和一共用電壓VCM。在一實施例中,該共用電壓VCM設定為該電源電壓的一半(0.5×VDD),但本發明不以此為限。該比較器313的輸出端耦接至一節點N1。 The third figure shows a schematic circuit diagram of the modulation selection circuit 201 according to an embodiment of the present invention. The modulation selection circuit 201 includes a signal generation circuit 310, a detection circuit 320, and a selection circuit 330. The signal generating circuit 310 includes a plurality of comparators 311, 312, and 313, and a ternary modulation signal generating circuit 314. The comparators 311 and 312 are used to compare the output signal of the integrator 220 and a triangle wave signal to generate the quaternary modulation signal, wherein the four The meta-modulation signal includes a positive quaternary modulation signal QP and a negative quaternary modulation signal QN. The comparator 313 compares one of the output signals of the integrator 220 with a common voltage VCM. In one embodiment, the common voltage VCM is set to half of the power supply voltage (0.5 × VDD), but the invention is not limited thereto. An output terminal of the comparator 313 is coupled to a node N1.

該三元調變信號產生電路314用以根據正四元調變信號QP和該負四元調變信號QN以產生該三元調變信號,其中該三元調變信號包含一正三元調變信號TP和一負三元調變信號TN。在本發明一實施例中,該三元調變信號產生電路314包含一XOR閘3141、一AND閘3142、一反相器3143、和一NOR閘3144。該XOR閘3141的輸入端接收該正四元調變信號QP和該負四元調變信號QN,且其輸出端耦接至一節點N2。該AND閘3142接收來自節點N1和N2的信號以產生該正三元調變信號TP。該反相器3143的一輸入端耦接至該節點N2。該NOR閘3144接收來自節點N1的信號和該反相器3143的輸出信號以產生該負三元調變信號TN。 The ternary modulation signal generating circuit 314 is configured to generate the ternary modulation signal according to the positive quaternary modulation signal QP and the negative quaternary modulation signal QN. The ternary modulation signal includes a positive ternary modulation signal. TP and a negative ternary modulation signal TN. In an embodiment of the present invention, the ternary modulation signal generating circuit 314 includes an XOR gate 3141, an AND gate 3142, an inverter 3143, and a NOR gate 3144. The input terminal of the XOR gate 3141 receives the positive quaternary modulation signal QP and the negative quaternary modulation signal QN, and its output terminal is coupled to a node N2. The AND gate 3142 receives signals from the nodes N1 and N2 to generate the positive ternary modulation signal TP. An input terminal of the inverter 3143 is coupled to the node N2. The NOR gate 3144 receives a signal from the node N1 and an output signal of the inverter 3143 to generate the negative ternary modulation signal TN.

該偵測電路320用以接收該正三元調變信號TP和該負三元調變信號TN,藉以產生一模式選擇信號SEL。該選擇電路330包含兩多工器(MUX)331和332。該多工器331的一輸入端S接收該正四元調變信號QP、一反相輸入端S/接收該正三元調變信號TP且一選擇端Sel接收該模式選擇信號SEL。該多工器332的一輸入端S接收該負四元調變信號QN、一反相 輸入端S/接收該負三元調變信號TN且一選擇端Sel接收該模式選擇信號SEL。此外,該等多工器4901和4902的輸出端耦接至第二圖中的該音頻放大器200的該輸出級230。 The detection circuit 320 is configured to receive the positive ternary modulation signal TP and the negative ternary modulation signal TN, thereby generating a mode selection signal SEL. The selection circuit 330 includes two multiplexers (MUX) 331 and 332. An input terminal S of the multiplexer 331 receives the positive quaternary modulation signal QP, an inverting input terminal S / receives the positive ternary modulation signal TP, and a selection terminal Sel receives the mode selection signal SEL. An input terminal S of the multiplexer 332 receives the negative quaternary modulation signal QN and an inverting phase. The input terminal S / receives the negative ternary modulation signal TN and a selection terminal Sel receives the mode selection signal SEL. In addition, the outputs of the multiplexers 4901 and 4902 are coupled to the output stage 230 of the audio amplifier 200 in the second figure.

第四圖顯示結合本發明一實施例之該偵測電路320之電路圖。如第四圖所示,該偵測電路320包含複數個計數電路321和322、一脈波遺失偵測電路323、一重置電路324、一輸出電路325和一零位準偵測電路326。該計數電路321包含一計數器3211、一栓鎖電路3212和一反相器3213。在本實施例中,該計數器3211和該栓鎖電路3212由D型觸發器(D flip-flop)所組成,但本發明不應以此為限。 The fourth figure shows a circuit diagram of the detection circuit 320 combined with an embodiment of the present invention. As shown in the fourth figure, the detection circuit 320 includes a plurality of counting circuits 321 and 322, a pulse wave loss detection circuit 323, a reset circuit 324, an output circuit 325, and a zero level detection circuit 326. The counting circuit 321 includes a counter 3211, a latch circuit 3212, and an inverter 3213. In this embodiment, the counter 3211 and the latch circuit 3212 are composed of D flip-flops, but the present invention should not be limited thereto.

該反相器3213的輸入端接收該負三元調變信號TN。該計數器3211的輸入端接收該正三元調變信號TP,而其重置端接收該反相器3213的輸出信號。操作時當該放大器200的輸出信號為大功率信號時(此時輸入信號的電壓擺幅大),該正三元調變信號TP和該負三元調變信號TN的其中一者會有高密度的脈波數,而另一者則無脈波產生。在本實施例中,當該正三元調變信號TP的脈波數由該計數器3211計數累積達特定次數(例如,兩次)且當該負三元調變信號TN由該計數器3211計數一直無脈波產生時,表示該放大器200的輸出信號為大功率信號,故該計數器3211的輸出端輸出高位準信號,亦即,該計數信號TP2輸出邏輯1位準。該栓鎖電路3212的輸入端連接至該電源電壓,且其時脈輸入端接收該計數信號 TP2。當該計數信號TP2的一升緣由該栓鎖電路3212所偵測時,具有邏輯1位準的信號TNL會由該栓鎖電路3212所產生,其指示未有負三元調變信號TN的脈波被偵測到。換言之,負三元調變信號TN有脈波遺失現象。 An input terminal of the inverter 3213 receives the negative ternary modulation signal TN. The input terminal of the counter 3211 receives the positive ternary modulation signal TP, and the reset terminal thereof receives the output signal of the inverter 3213. During operation, when the output signal of the amplifier 200 is a high-power signal (the voltage swing of the input signal is large at this time), one of the positive ternary modulation signal TP and the negative ternary modulation signal TN will have a high density. Number of pulse waves, while the other has no pulse waves. In this embodiment, when the pulse wave number of the positive ternary modulation signal TP is counted up to a specific number of times (for example, twice) by the counter 3211 and when the negative ternary modulation signal TN is counted by the counter 3211, there is no When the pulse wave is generated, it indicates that the output signal of the amplifier 200 is a high-power signal, so the output terminal of the counter 3211 outputs a high level signal, that is, the count signal TP2 outputs a logic 1 level. An input terminal of the latch circuit 3212 is connected to the power voltage, and a clock input terminal thereof receives the counting signal. TP2. When a rising edge of the counting signal TP2 is detected by the latch circuit 3212, a signal TNL having a logic 1 level is generated by the latch circuit 3212, which indicates that there is no pulse of the negative ternary modulation signal TN Wave was detected. In other words, the negative ternary modulation signal TN has a missing pulse wave.

該計數電路322包含一計數器3221、一栓鎖電路3222和一反相器3223。在本實施例中,該計數器3221和該栓鎖電路3222由D型觸發器所組成,但本發明不應以此為限。 The counting circuit 322 includes a counter 3221, a latch circuit 3222, and an inverter 3223. In this embodiment, the counter 3221 and the latch circuit 3222 are composed of D-type flip-flops, but the present invention should not be limited thereto.

該反相器3223的輸入端接收該正三元調變信號TP。該計數器3221的輸入端接收該負三元調變信號TN,而其重置端R/接收該反相器3223的輸出信號。操作時當該放大器200的輸出信號為大功率信號時,該正三元調變信號TP和該負三元調變信號TN的其中一者會有高密度的脈波數,而另一者則無脈波產生。在本實施例中,當該負三元調變信號TN的脈波數由該計數器3221計數累積達特定次數(例如,兩次)且當該正三元調變信號TP由該計數器3221計數一直無脈波產生時,表示該放大器200的輸出信號為大功率信號,故該計數器3221的輸出端輸出高位準信號,亦即,該計數信號TN2輸出邏輯1位準。該栓鎖電路3222的輸入端連接至該電源電壓,且其時脈輸入端接收該計數信號TN2。當該計數信號TN2的一升緣由該栓鎖電路3222所偵測時,具有邏輯1位準的信號TPL會由該栓鎖電路3222的輸出端所產生,其指示未有正三元調變信號TP的脈波被偵測到。換言之,正三元調變信號TP有脈 波遺失現象。 An input terminal of the inverter 3223 receives the positive ternary modulation signal TP. An input terminal of the counter 3221 receives the negative ternary modulation signal TN, and a reset terminal R / thereof receives an output signal of the inverter 3223. When the output signal of the amplifier 200 is a high-power signal during operation, one of the positive ternary modulation signal TP and the negative ternary modulation signal TN will have a high density pulse wave number, while the other will not Pulse wave is generated. In this embodiment, when the pulse wave number of the negative ternary modulation signal TN is counted up to a specific number of times (for example, twice) by the counter 3221 and when the positive ternary modulation signal TP is counted by the counter 3221, there is no When the pulse wave is generated, it indicates that the output signal of the amplifier 200 is a high-power signal, so the output terminal of the counter 3221 outputs a high level signal, that is, the count signal TN2 outputs a logic 1 level. An input terminal of the latch circuit 3222 is connected to the power voltage, and a clock input terminal thereof receives the counting signal TN2. When a rising edge of the counting signal TN2 is detected by the latch circuit 3222, a signal TPL having a logic 1 level is generated by the output terminal of the latch circuit 3222, which indicates that there is no positive ternary modulation signal TP The pulse wave was detected. In other words, the positive ternary modulation signal TP has a pulse Wave is missing.

該脈波遺失偵測電路323包含一脈波遺失邏輯電路3231、一栓鎖電路3232和一零位準偵測電路3233。在本實施例中,該栓鎖電路3232由D型觸發器所組成,而該脈波遺失邏輯電路3231由一AND閘所構成,但本發明不應以此為限。該脈波遺失邏輯電路3231用以根據該等信號TPL和TNL產生一脈波遺失信號P_Loss。該零位準偵測電路3233用以偵測在該放大器200的輸入信號INp和的INn的電壓位準為零位準時產生一零交越信號ZC。 The pulse wave loss detection circuit 323 includes a pulse wave loss logic circuit 3231, a latch circuit 3232, and a zero level detection circuit 3233. In this embodiment, the latch circuit 3232 is composed of a D-type flip-flop, and the pulse loss logic circuit 3231 is composed of an AND gate, but the present invention should not be limited to this. The pulse wave loss logic circuit 3231 is configured to generate a pulse wave loss signal P_Loss according to the signals TPL and TNL. The zero-level detection circuit 3233 is configured to detect that a zero-crossing signal ZC is generated when the voltage levels of the input signals INp and INn of the amplifier 200 are zero.

該栓鎖電路3232的輸入端接收該脈波遺失信號P_Loss,且其時脈輸入端連接至該零位準偵測電路3233的一輸出端。當該零交越信號ZC的一升緣由該栓鎖電路3232所偵測時,表示該放大器200的輸入信號INp和的INn的電壓位準到達零位準,該脈波遺失信號P_Loss會作為一判斷信號DET在該栓鎖電路3232的輸出端輸出。具體而言,當該等信號TPL和TNL都為邏輯1信號時,亦即,計數信號TP2和TN2的每一者具有邏輯1位準至少一次,該脈波遺失偵測電路323偵測到該等正三元調變信號TP和負三元調變信號TN都具有脈波遺失現象至少一次,該脈波遺失信號P_Loss會作為一判斷信號DET輸出邏輯1位準。 An input terminal of the latch circuit 3232 receives the pulse wave loss signal P_Loss, and a clock input terminal thereof is connected to an output terminal of the zero level detection circuit 3233. When a rising edge of the zero-crossing signal ZC is detected by the latch circuit 3232, it indicates that the voltage levels of the input signals INp and INn of the amplifier 200 reach the zero level, and the pulse loss signal P_Loss will be regarded as a The determination signal DET is output at the output terminal of the latch circuit 3232. Specifically, when the signals TPL and TNL are both logic 1 signals, that is, each of the counting signals TP2 and TN2 has a logic 1 level at least once, the pulse wave loss detection circuit 323 detects the Both the positive ternary modulation signal TP and the negative ternary modulation signal TN have a pulse wave loss phenomenon at least once, and the pulse wave loss signal P_Loss will output a logic 1 level as a judgment signal DET.

該零位準偵測電路326包含一NOR閘3261,其中該NOR閘3261接收該正四元調變信號QP、該負四元調變信號 QN、該正三元調變信號TP和該負三元調變信號TN,藉以產生一零位準穿越信號ZC2。該零位準穿越信號ZC2指示該正四元調變信號QP、該負四元調變信號QN、該正三元調變信號TP和該負三元調變信號TN全部為邏輯0位準。 The zero level detection circuit 326 includes a NOR gate 3261. The NOR gate 3261 receives the positive quaternary modulation signal QP and the negative quaternary modulation signal. QN, the positive ternary modulation signal TP and the negative ternary modulation signal TN, thereby generating a zero-level crossing signal ZC2. The zero level crossing signal ZC2 indicates that the positive quaternary modulation signal QP, the negative quaternary modulation signal QN, the positive ternary modulation signal TP, and the negative ternary modulation signal TN are all at logic 0 level.

該輸出電路325包含一栓鎖電路3251。在本實施例中,該栓鎖電路3251由D型觸發器所組成,但本發明不應以此為限。該栓鎖電路3251的輸入端接收該判斷信號DET,且其時脈輸入端接收該零位準穿越信號ZC2。當該零位準穿越信號ZC2的一升緣由該栓鎖電路3251所偵測時,表示該該正四元調變信號QP、該負四元調變信號QN、該正三元調變信號TP和該負三元調變信號TN全部為邏輯0位準,該判斷信號DET會作為該模式選擇信號SEL而輸出。具體而言,當該脈波遺失偵測電路323偵測到該等正三元調變信號TP和負三元調變信號TN都具有脈波遺失現象至少一次,亦即,該放大器200的輸入信號電壓擺幅大時,該判斷信號DET會具有邏輯1位準而作為該模式選擇信號SEL而輸出。據此,該選擇電路330選擇和輸出該四元調變信號(亦即該正四元調變信號QP和該負三元調變信號QN)至第二圖中的該輸出級230。 The output circuit 325 includes a latch circuit 3251. In this embodiment, the latch circuit 3251 is composed of a D-type flip-flop, but the invention should not be limited thereto. An input terminal of the latch circuit 3251 receives the determination signal DET, and a clock input terminal thereof receives the zero-level crossing signal ZC2. When a rising edge of the zero level crossing signal ZC2 is detected by the latch circuit 3251, it indicates that the positive quaternary modulation signal QP, the negative quaternary modulation signal QN, the positive ternary modulation signal TP, and the The negative ternary modulation signal TN is all at a logic 0 level, and the determination signal DET is output as the mode selection signal SEL. Specifically, when the pulse wave loss detection circuit 323 detects that the positive ternary modulation signal TP and the negative ternary modulation signal TN both have a pulse wave loss phenomenon at least once, that is, the input signal of the amplifier 200 When the voltage swing is large, the determination signal DET has a logic 1 level and is output as the mode selection signal SEL. Accordingly, the selection circuit 330 selects and outputs the quaternary modulation signal (ie, the positive quaternary modulation signal QP and the negative ternary modulation signal QN) to the output stage 230 in the second figure.

該重置電路324包含一NOR閘3241和一計數器3242。在本實施例中,該計數器3242由D型觸發器所組成,但本發明不應以此為限。該NOR閘3241接收該等計數信號TP2和TN2以產生一信號SIG。該計數器3242的一輸入端接收 該信號SIG。當該放大器200的輸出信號為小功率信號時,該正三元調變信號TP和該負三元調變信號TN具有交錯的脈波。此時,該等計數信號TP2和TN2輸出邏輯0位準,且未具有脈波遺失現象。當該計數器3242因為該等計數信號TP2和TN2的邏輯0位準而接收到邏輯1位準的該信號SIG一段時間後(例如,1秒後),該計數器3242產生一重置信號RESET1並輸出至該等栓鎖電路3212,3222,和3232。依此方式,該判斷信號DET會作為該模式選擇信號SEL而輸出。據此,該選擇電路330選擇和輸出該三元調變信號(亦即該正三元調變信號TP和該負三元調變信號TN)至該輸出級230。 The reset circuit 324 includes a NOR gate 3241 and a counter 3242. In this embodiment, the counter 3242 is composed of a D-type flip-flop, but the present invention should not be limited to this. The NOR gate 3241 receives the counting signals TP2 and TN2 to generate a signal SIG. An input of the counter 3242 receives The signal is SIG. When the output signal of the amplifier 200 is a low-power signal, the positive ternary modulation signal TP and the negative ternary modulation signal TN have interleaved pulse waves. At this time, the count signals TP2 and TN2 output a logic 0 level and have no pulse wave loss phenomenon. When the counter 3242 receives the signal SIG of the logic 1 level because of the logic 0 levels of the counting signals TP2 and TN2, after a period of time (for example, after 1 second), the counter 3242 generates a reset signal RESET1 and outputs To these latch circuits 3212,3222, and 3232. In this way, the determination signal DET is output as the mode selection signal SEL. Accordingly, the selection circuit 330 selects and outputs the ternary modulation signal (ie, the positive ternary modulation signal TP and the negative ternary modulation signal TN) to the output stage 230.

本發明中的音頻放大器可以由三元調變模式進入四元調變模式,再由四元調變模式進入三元調變模式;也可以由四元調變模式進入三元調變模式,再由三元調變模式進入四元調變模式。舉例來說,當該脈波遺失偵測電路323偵測到該等正三元調變信號TP和負三元調變信號TN都具有脈波遺失現象至少一次,表示該放大器200的輸出信號為大功率信號。該判斷信號DET會具有邏輯1位準而作為該模式選擇信號SEL而輸出。據此,該選擇電路330選擇和輸出該四元調變信號(亦即該正四元調變信號QP和該負四元調變信號QN)至該輸出級230。 The audio amplifier in the present invention can enter the ternary modulation mode from the ternary modulation mode, and then enter the ternary modulation mode from the quaternary modulation mode; it can also enter the ternary modulation mode from the quaternary modulation mode, and then From ternary modulation mode to quaternary modulation mode. For example, when the pulse loss detection circuit 323 detects that the positive ternary modulation signal TP and the negative ternary modulation signal TN both have a pulse loss phenomenon at least once, it indicates that the output signal of the amplifier 200 is large. Power signal. The determination signal DET has a logic 1 level and is output as the mode selection signal SEL. Accordingly, the selection circuit 330 selects and outputs the quaternary modulation signal (ie, the positive quaternary modulation signal QP and the negative quaternary modulation signal QN) to the output stage 230.

第五圖顯示第四圖所示之信號之一可能波形圖。參照第五圖,該放大器200的輸入信號(以差動方式呈現 的信號INn和INp)在時間t1至t5有很大的電壓擺幅。在時間t2時,正三元調變信號TP的兩個脈波已由該計數器3211計數,而該計數器3211並未計數到該負三元調變信號TN的任何脈波,故該計數信號TP2輸出邏輯1位準。該計數信號TP2觸發該栓鎖電路3212,而輸出具有邏輯1位準的該信號TNL。 The fifth graph shows one possible waveform of the signal shown in the fourth graph. Referring to the fifth figure, the input signal of the amplifier 200 (presented in a differential manner) The signals INn and INp) have large voltage swings from time t1 to t5. At time t2, two pulses of the positive ternary modulation signal TP have been counted by the counter 3211, and the counter 3211 has not counted any pulses of the negative ternary modulation signal TN, so the count signal TP2 is output Logic 1 level. The count signal TP2 triggers the latch circuit 3212, and outputs the signal TNL having a logic 1 level.

在時間t3時,該負三元調變信號TN的兩個脈波已由該計數器3221計數,而該計數器3221並未計數到該正三元調變信號TP的任何脈波,故該計數信號TN2輸出邏輯1位準。該計數信號TN2觸發該栓鎖電路3222,而輸出具有邏輯1位準的該信號TPL。藉由由一AND閘實施的該脈波遺失邏輯電路3231,該脈波遺失信號P_Loss輸出邏輯1位準。 At time t3, two pulses of the negative ternary modulation signal TN have been counted by the counter 3221, and the counter 3221 has not counted any pulses of the positive ternary modulation signal TP, so the count signal TN2 Output logic 1 level. The count signal TN2 triggers the latch circuit 3222, and outputs the signal TPL with a logic 1 level. With the pulse wave loss logic circuit 3231 implemented by an AND gate, the pulse wave loss signal P_Loss outputs a logic 1 level.

在時間t4時,該零位準偵測電路3233偵測到該放大器200的輸入信號的電壓位準為零位準,並輸出具有邏輯1位準的該零交越信號ZC。該脈波遺失信號P_Loss會作為該判斷信號DET輸出邏輯1位準。該判斷信號DET接著作為該模式選擇信號SEL而輸出,該模式選擇信號SEL指示該選擇電路330選擇和輸出該四元調變信號在該零位準穿越信號ZC2指示該正四元調變信號QP、該負四元調變信號QN、該正三元調變信號TP和該負三元調變信號TN全部為邏輯0位準時。 At time t4, the zero-level detection circuit 3233 detects that the voltage level of the input signal of the amplifier 200 is the zero level, and outputs the zero-crossing signal ZC having a logic 1 level. The pulse wave loss signal P_Loss will be output as a logic 1 level as the judgment signal DET. The judgment signal DET is then output for the mode selection signal SEL. The mode selection signal SEL instructs the selection circuit 330 to select and output the quaternary modulation signal at the zero level crossing signal ZC2 to indicate the positive quaternary modulation signal QP, The negative quaternary modulation signal QN, the positive ternary modulation signal TP, and the negative ternary modulation signal TN are all logic 0 bits on time.

在時間t5時,該放大器200的輸出信號為小功率信號,且該等計數信號TP2和TN2輸出邏輯0位準。藉由該NOR閘3241的運作,該信號SIG輸出邏輯1位準。在該計數器3242 計數一段時間(例如,1Sec)後,在時間t6時,該重置信號RESET1輸出以重置該等栓鎖電路3212,3222,和3232,以使該等信號TNL,TPL,該脈波遺失信號P_Loss和該判斷信號DET輸出邏輯0位準。該判斷信號DET接著作為該模式選擇信號SEL而輸出邏輯0位準,該模式選擇信號SEL指示該選擇電路330選擇和輸出該三元調變信號在該零位準穿越信號ZC2指示該正四元調變信號QP、該負四元調變信號QN、該正三元調變信號TP和該負三元調變信號TN全部為邏輯0位準時。 At time t5, the output signal of the amplifier 200 is a low-power signal, and the count signals TP2 and TN2 output a logic 0 level. With the operation of the NOR gate 3241, the signal SIG outputs a logic 1 level. At the counter 3242 After counting for a period of time (for example, 1Sec), at time t6, the reset signal RESET1 is output to reset the latch circuits 3212, 3222, and 3232 so that the signals TNL, TPL, and the pulse wave are lost. P_Loss and the judgment signal DET output a logic 0 level. The judgment signal DET is connected to output the logic 0 level for the mode selection signal SEL. The mode selection signal SEL instructs the selection circuit 330 to select and output the ternary modulation signal. The zero crossing signal ZC2 indicates the positive quaternary modulation The change signal QP, the negative quaternary modulation signal QN, the positive ternary modulation signal TP, and the negative ternary modulation signal TN are all logic 0 bits on time.

綜上所述,本發明的D類放大器在比較大的輸出功率下會運作於四元調變模式,在比較小的輸出功率下會運作於三元調變模式。依此操作模式,當輸出功率較小時,本發明的D類放大器會有較低的閒置電流;而當輸出功率較大時,本發明的D類放大器會有較佳的總諧波失真和雜訊 In summary, the class D amplifier of the present invention will operate in a quaternary modulation mode at a relatively large output power, and will operate in a ternary modulation mode at a relatively small output power. According to this operation mode, when the output power is small, the class D amplifier of the present invention will have a lower idle current; and when the output power is large, the class D amplifier of the present invention will have better total harmonic distortion and Noise

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

Claims (9)

一種音頻放大器之調變選擇電路,包括:一信號產生電路,用以產生一三元調變信號和一四元調變信號;一偵測電路,耦接於該信號產生電路,該偵測電路用以至少根據該三元調變信號以產生一模式選擇信號;以及一選擇電路,耦接於該信號產生電路和該偵測電路,該選擇電路用以根據該模式選擇信號選擇輸出該四元調變信號和該三元調變信號的其中一者至該音頻放大器的一輸出級。A modulation selection circuit for an audio amplifier includes: a signal generating circuit for generating a ternary modulation signal and a quaternary modulation signal; a detection circuit coupled to the signal generation circuit and the detection circuit Used to generate a mode selection signal according to at least the ternary modulation signal; and a selection circuit coupled to the signal generation circuit and the detection circuit, the selection circuit is used to select and output the quaternary according to the mode selection signal One of the modulation signal and the ternary modulation signal goes to an output stage of the audio amplifier. 根據申請專利範圍第1項之調變選擇電路,其中該三元調變信號包含一正三元調變信號和一負三元調變信號,該偵測電路包括:一第一計數電路,用以根據該正三元調變信號和該負三元調變信號以產生一第一計數信號,其中該第一計數信號在該正三元調變信號的脈波累積達一特定次數且當該負三元調變信號一直無脈波產生時輸出一第一邏輯位準;一第二計數電路,用以根據該正三元調變信號和該負三元調變信號以產生一第二計數信號,其中該第二計數信號在該負三元調變信號的脈波累積達一特定次數且當該正三元調變信號一直無脈波產生時輸出一第二邏輯位準;一脈波遺失偵測電路,耦接於該第一計數電路和該第二計數電路,該脈波遺失偵測電路用以至少根據該第一計數信號和該第二計數信號以產生一判斷信號;以及一輸出電路,耦接於該脈波遺失偵測電路,該輸出電路用以至少根據該判斷信號以產生該模式選擇信號;其中,當該判斷信號指示該第一計數信號輸出該第一邏輯位準至少一次和該第二計數信號輸出該第二邏輯位準至少一次時,該模式選擇信號指示該選擇電路選擇和輸出該四元調變信號至該音頻放大器的該輸出級。According to the modulation selection circuit of the first patent application range, wherein the ternary modulation signal includes a positive ternary modulation signal and a negative ternary modulation signal, the detection circuit includes: a first counting circuit for: Generating a first counting signal according to the positive ternary modulation signal and the negative ternary modulation signal, wherein the first counting signal accumulates a specific number of times in the pulse wave of the positive ternary modulation signal and when the negative ternary modulation signal is The modulation signal always outputs a first logic level when no pulse wave is generated. A second counting circuit is configured to generate a second counting signal according to the positive ternary modulation signal and the negative ternary modulation signal. The second count signal accumulates a specific number of pulses in the negative ternary modulation signal and outputs a second logic level when the positive ternary modulation signal has been generated without a pulse wave; a pulse wave loss detection circuit, Coupled to the first counting circuit and the second counting circuit, the pulse wave loss detecting circuit is configured to generate a judgment signal based on at least the first counting signal and the second counting signal; and an output circuit is coupled Lost in the pulse A detection circuit, the output circuit is configured to generate the mode selection signal according to at least the judgment signal; wherein, when the judgment signal instructs the first counting signal to output the first logic level at least once and the second counting signal to output the When the second logic level is at least once, the mode selection signal instructs the selection circuit to select and output the quaternary modulation signal to the output stage of the audio amplifier. 根據申請專利範圍第2項之調變選擇電路,其中該脈波遺失偵測電路包括:一脈波遺失邏輯電路,耦接於該第一計數電路和該第二計數電路,該脈波遺失邏輯電路用以根據該第一計數信號和該第二計數信號以產生一脈波遺失信號;一零位準偵測電路,用以偵測在該音頻放大器的一輸入信號的電壓位準為零位準時產生一零交越信號;以及一栓鎖電路,耦接於該脈波遺失邏輯電路和該零位準偵測電路,該栓鎖電路用以接收該脈波遺失信號和該零交越信號以在該零交越信號產生時輸出該脈波遺失信號作為該判斷信號而輸出至該輸出電路。The modulation selection circuit according to item 2 of the scope of patent application, wherein the pulse wave loss detection circuit includes a pulse wave loss logic circuit coupled to the first counting circuit and the second counting circuit, and the pulse wave loss logic A circuit for generating a missing pulse signal according to the first counting signal and the second counting signal; a zero level detecting circuit for detecting a voltage level of an input signal of the audio amplifier to be zero A zero-crossing signal is generated on time; and a latch circuit is coupled to the pulse-loss logic circuit and the zero-level detection circuit, and the latch circuit is used to receive the pulse-loss signal and the zero-cross signal. When the zero-crossing signal is generated, the missing pulse wave signal is output as the determination signal to the output circuit. 根據申請專利範圍第2項之調變選擇電路,其中該四元調變信號包含一正四元調變信號和一負四元調變信號,該偵測電路包括:一零位準偵測電路,用以根據該正四元調變信號、該負四元調變信號、該正三元調變信號和該負三元調變信號以產生一零位準穿越信號;其中,當該零位準穿越信號指示該正四元調變信號、該負四元調變信號、該正三元調變信號和該負三元調變信號全部為邏輯0位準時,該輸出電路輸出該判斷信號以作為該模式選擇信號。According to the modulation selection circuit of the second patent application range, wherein the quaternary modulation signal includes a positive quaternary modulation signal and a negative quaternary modulation signal, the detection circuit includes: a zero level detection circuit, Used to generate a zero level crossing signal according to the positive quaternary modulation signal, the negative quaternary modulation signal, the positive ternary modulation signal and the negative ternary modulation signal; wherein when the zero level crossing signal When the positive quaternary modulation signal, the negative quaternary modulation signal, the positive ternary modulation signal and the negative ternary modulation signal are all at logic 0 level, the output circuit outputs the judgment signal as the mode selection signal . 根據申請專利範圍第4項之調變選擇電路,其中該輸出電路包括:一栓鎖電路,用以接收該判斷信號、該模式選擇信號和一重置信號;其中,當該重置信號具有一第三邏輯位準時,該栓鎖電路重置,該模式選擇信號輸出以指示該選擇電路選擇和輸出該三元調變信號至該音頻放大器的該輸出級在當該零位準穿越信號指示該正四元調變信號、該負四元調變信號、該正三元調變信號和該負三元調變信號全部為邏輯0位準時。The modulation selection circuit according to item 4 of the scope of patent application, wherein the output circuit includes: a latch circuit for receiving the judgment signal, the mode selection signal, and a reset signal; wherein when the reset signal has a At the third logic level, the latch circuit is reset, and the mode selection signal is output to instruct the selection circuit to select and output the ternary modulation signal to the output stage of the audio amplifier. When the zero level crossing signal indicates the The positive quaternary modulation signal, the negative quaternary modulation signal, the positive ternary modulation signal, and the negative ternary modulation signal are all logic 0 bits on time. 根據申請專利範圍第1項之調變選擇電路,其中該三元調變信號包含一正三元調變信號和一負三元調變信號,該偵測電路包括:一第一計數電路,用以根據該正三元調變信號和該負三元調變信號以產生一第一計數信號,其中該第一計數信號在該正三元調變信號的脈波累積達一特定次數且當該負三元調變信號一直無脈波產生時輸出一第一邏輯位準;一第二計數電路,用以根據該正三元調變信號和該負三元調變信號以產生一第二計數信號,其中該第二計數信號在該負三元調變信號的脈波累積達一特定次數且當該正三元調變信號一直無脈波產生時輸出一第二邏輯位準;一脈波遺失偵測電路,耦接於該第一計數電路和該第二計數電路,該脈波遺失偵測電路用以至少根據該第一計數信號和該第二計數信號以產生一判斷信號;一輸出電路,耦接於該脈波遺失偵測電路,該輸出電路用以至少根據該判斷信號以產生該模式選擇信號;以及一重置電路,耦接於該脈波遺失偵測電路,該重置電路用以根據該正三元調變信號和該負三元調變信號以產生一重置信號至該脈波遺失偵測電路;其中,當該重置信號具有一第三邏輯位準時,該脈波遺失偵測電路重置,且該判斷信號指示該第一計數信號不具有第一邏輯位準和該第二計數信號不具有該第二邏輯位準輸出至該輸出級;和當該判斷信號指示該第一計數信號不具有第一邏輯位準和該第二計數信號不具有該第二邏輯位準被接收時,該模式選擇信號指示該選擇電路選擇和輸出該三元調變信號至該音頻放大器的該輸出級。According to the modulation selection circuit of the first patent application range, wherein the ternary modulation signal includes a positive ternary modulation signal and a negative ternary modulation signal, the detection circuit includes: a first counting circuit for: Generating a first counting signal according to the positive ternary modulation signal and the negative ternary modulation signal, wherein the first counting signal accumulates a specific number of times in the pulse wave of the positive ternary modulation signal and when the negative ternary modulation signal The modulation signal always outputs a first logic level when no pulse wave is generated. A second counting circuit is configured to generate a second counting signal according to the positive ternary modulation signal and the negative ternary modulation signal. The second count signal accumulates a specific number of pulses in the negative ternary modulation signal and outputs a second logic level when the positive ternary modulation signal has been generated without a pulse wave; a pulse wave loss detection circuit, Coupled to the first counting circuit and the second counting circuit, the pulse wave loss detecting circuit is used to generate a judgment signal based on at least the first counting signal and the second counting signal; an output circuit is coupled to The Pulse Lost Detection Circuit, the output circuit is used to generate the mode selection signal according to at least the judgment signal; and a reset circuit is coupled to the pulse wave loss detection circuit, and the reset circuit is used to adjust the ternary modulation signal and The negative ternary modulation signal generates a reset signal to the pulse wave loss detection circuit; wherein, when the reset signal has a third logic level, the pulse wave loss detection circuit is reset, and the judgment A signal indicating that the first counting signal does not have a first logic level and the second counting signal does not have the second logic level and is output to the output stage; and when the judgment signal indicates that the first counting signal does not have a first logic level When the level and the second count signal do not have the second logic level, the mode selection signal instructs the selection circuit to select and output the ternary modulation signal to the output stage of the audio amplifier. 根據申請專利範圍第6項之調變選擇電路,其中當指示該第一計數信號不具有第一邏輯位準和該第二計數信號不具有該第二邏輯位準的一時間間隔到達一預定間隔時,該重置電路產生的該重置信號具有該第三邏輯位準。The modulation selection circuit according to item 6 of the patent application, wherein when a time interval indicating that the first counting signal does not have the first logic level and the second counting signal does not have the second logic level reaches a predetermined interval , The reset signal generated by the reset circuit has the third logic level. 根據申請專利範圍第6項之調變選擇電路,其中該四元調變信號包含一正四元調變信號和一負四元調變信號,該偵測電路包括:一零位準偵測電路,用以根據該正四元調變信號、該負四元調變信號、該正三元調變信號和該負三元調變信號以產生一零位準穿越信號;其中,當該零位準穿越信號指示該正四元調變信號、該負四元調變信號、該正三元調變信號和該負三元調變信號全部為邏輯0位準時,該輸出電路輸出該判斷信號以作為該模式選擇信號。The modulation selection circuit according to item 6 of the scope of patent application, wherein the quaternary modulation signal includes a positive quaternary modulation signal and a negative quaternary modulation signal. The detection circuit includes: a zero level detection circuit, Used to generate a zero level crossing signal according to the positive quaternary modulation signal, the negative quaternary modulation signal, the positive ternary modulation signal and the negative ternary modulation signal; wherein when the zero level crossing signal When the positive quaternary modulation signal, the negative quaternary modulation signal, the positive ternary modulation signal and the negative ternary modulation signal are all at logic 0 level, the output circuit outputs the judgment signal as the mode selection signal . 根據申請專利範圍第8項之調變選擇電路,其中該輸出電路包括:一栓鎖電路,用以接收該判斷信號、該模式選擇信號和一重置信號;其中,當該重置信號具有一第三邏輯位準時,該栓鎖電路重置,該模式選擇信號輸出以指示該選擇電路選擇和輸出該三元調變信號至該音頻放大器的該輸出級在當該零位準穿越信號指示該正四元調變信號、該負四元調變信號、該正三元調變信號和該負三元調變信號全部為邏輯0位準時。The modulation selection circuit according to item 8 of the patent application scope, wherein the output circuit includes: a latch circuit for receiving the judgment signal, the mode selection signal and a reset signal; wherein when the reset signal has a At the third logic level, the latch circuit is reset, and the mode selection signal is output to instruct the selection circuit to select and output the ternary modulation signal to the output stage of the audio amplifier. When the zero level crossing signal indicates the The positive quaternary modulation signal, the negative quaternary modulation signal, the positive ternary modulation signal, and the negative ternary modulation signal are all logic 0 bits on time.
TW107115501A 2018-05-04 2018-05-04 Modulation selecting circuit of audio amplifier TWI665866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107115501A TWI665866B (en) 2018-05-04 2018-05-04 Modulation selecting circuit of audio amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107115501A TWI665866B (en) 2018-05-04 2018-05-04 Modulation selecting circuit of audio amplifier

Publications (2)

Publication Number Publication Date
TWI665866B true TWI665866B (en) 2019-07-11
TW201947875A TW201947875A (en) 2019-12-16

Family

ID=68049614

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107115501A TWI665866B (en) 2018-05-04 2018-05-04 Modulation selecting circuit of audio amplifier

Country Status (1)

Country Link
TW (1) TWI665866B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792634B (en) * 2021-08-09 2023-02-11 晶豪科技股份有限公司 Circuit and method for switching between ternary modulation and quaternary modulation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI781532B (en) * 2021-02-19 2022-10-21 晶豪科技股份有限公司 Over charge protection method and voltage converter using the over charge protection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614297B2 (en) * 2001-07-06 2003-09-02 Texas Instruments Incorporated Modulation scheme for filterless switching amplifiers with reduced EMI
TWI407687B (en) * 2010-05-25 2013-09-01 Elite Semiconductor Esmt Method for switching an audio amplifier between ternary modulation and quaternary modulation
TWI573399B (en) * 2016-03-17 2017-03-01 晶豪科技股份有限公司 Quaternary/ternary modulation selecting circuit
TWI584579B (en) * 2015-04-24 2017-05-21 晶豪科技股份有限公司 Modulation selecting circuit of audio amplifier and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614297B2 (en) * 2001-07-06 2003-09-02 Texas Instruments Incorporated Modulation scheme for filterless switching amplifiers with reduced EMI
TWI407687B (en) * 2010-05-25 2013-09-01 Elite Semiconductor Esmt Method for switching an audio amplifier between ternary modulation and quaternary modulation
TWI584579B (en) * 2015-04-24 2017-05-21 晶豪科技股份有限公司 Modulation selecting circuit of audio amplifier and method thereof
TWI573399B (en) * 2016-03-17 2017-03-01 晶豪科技股份有限公司 Quaternary/ternary modulation selecting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792634B (en) * 2021-08-09 2023-02-11 晶豪科技股份有限公司 Circuit and method for switching between ternary modulation and quaternary modulation

Also Published As

Publication number Publication date
TW201947875A (en) 2019-12-16

Similar Documents

Publication Publication Date Title
TWI573399B (en) Quaternary/ternary modulation selecting circuit
US7298209B1 (en) Class D amplifier
US20100111331A1 (en) Class d amplifier
TWI665866B (en) Modulation selecting circuit of audio amplifier
TWI580192B (en) Half-rate clock data recovery circuit
KR101765861B1 (en) Method and apparatus for filter-less analog input class d audio amplifier clipping
US10404227B1 (en) Quaternary/ternary modulation selecting circuit and associated method
JP2006520159A (en) 3-state class D amplifier
US9654068B2 (en) Quaternary/ternary modulation selecting circuit and associated method
WO2024041267A1 (en) Audio power amplifier circuit, and duty ratio modulation circuit and noise suppression circuit thereof
TWI713309B (en) Analog output circuit
CN110545082B (en) Modulation selection circuit of audio amplifier
TWI584579B (en) Modulation selecting circuit of audio amplifier and method thereof
JP2011035867A (en) Amplifier circuit and light receiving amplifier circuit employing the same
JP5483424B2 (en) Level conversion circuit
CN107306117B (en) Quaternary/ternary modulation selection circuit
US11063567B2 (en) Input circuit with wide range input voltage compatibility
US9660588B1 (en) Quaternary/ternary modulation selecting circuit and associated method
TWI635745B (en) Receiver and method for controlling receiver
CN108304021B (en) Clamping circuit
CN109962694B (en) Duty cycle adjusting circuit
JP2009171450A (en) Switching amplifier
JP5689781B2 (en) Gated VCO circuit
TWI716763B (en) Class-g amplifier and a control method for a class-g amplifier
TWI833335B (en) Filtering circuit and poly phase filter