TWI538406B - Apparatus and method of pluse width modultion with feedback control - Google Patents

Apparatus and method of pluse width modultion with feedback control Download PDF

Info

Publication number
TWI538406B
TWI538406B TW103126960A TW103126960A TWI538406B TW I538406 B TWI538406 B TW I538406B TW 103126960 A TW103126960 A TW 103126960A TW 103126960 A TW103126960 A TW 103126960A TW I538406 B TWI538406 B TW I538406B
Authority
TW
Taiwan
Prior art keywords
signal
pulse width
delay time
transistor
external load
Prior art date
Application number
TW103126960A
Other languages
Chinese (zh)
Other versions
TW201607247A (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 TW103126960A priority Critical patent/TWI538406B/en
Publication of TW201607247A publication Critical patent/TW201607247A/en
Application granted granted Critical
Publication of TWI538406B publication Critical patent/TWI538406B/en

Links

Landscapes

  • Amplifiers (AREA)

Description

具回授控制的脈衝寬度調變裝置和方法 Pulse width modulation device and method with feedback control

本揭露係關於一種具回授控制的脈衝寬度調變驅動裝置和方法。 The present disclosure relates to a pulse width modulation driving apparatus and method with feedback control.

以往,類比音頻播放常應用在收音機、類比電視等,以類比信號直接驅動喇叭。隨著科技的進步,個人電腦和網路的演進及數位音頻信號處理的發展,數位音頻播放已經應用於各種電子系統如電影院、家用、汽車等音響,以及數位電視、各種型式電腦、隨身聽、手機等。其中音頻信號處理驅動的功能必須具備低雜音、高品質的特性,使得音響效果更為完善以及降低某些應用的人機介面錯誤率。 In the past, analog audio playback was often applied to radios, analog TVs, etc., and the speakers were directly driven by analog signals. With the advancement of technology, the evolution of personal computers and networks, and the development of digital audio signal processing, digital audio playback has been applied to various electronic systems such as cinemas, homes, automobiles, and other digital televisions, various types of computers, walkmans, Mobile phones, etc. Among them, the function of the audio signal processing driver must have low noise and high quality characteristics, which makes the sound effect more perfect and reduces the human-machine interface error rate of some applications.

現有的一些音頻信號驅動技術已使用數位信號處理來改善前端輸入音頻信號的失真和雜訊干擾。一種技術如第一圖所示,數位介面整理各種介面規格(例如I2S/SPDIF介面)輸入的數位音頻資料來輸出脈衝編碼調變(Pulse Code Modulation,PCM)碼,例如是24位元的脈衝編碼調變碼;此技術再將脈衝編碼調變碼經過高取樣(Up-Sampling)和三角積分調變器(Delta-Sigma Modulator)來產生另 一種脈衝編碼調變碼(PCM-10bit),再經由轉換輸出脈衝寬度調變碼到功率驅動器,例如D類(Class-D)放大器,來驅動外部負載。 Some existing audio signal driving techniques have used digital signal processing to improve distortion and noise interference of the front end input audio signal. One technique is as shown in the first figure. The digital interface sorts the digital audio data input by various interface specifications (such as the I2S/SPDIF interface) to output a Pulse Code Modulation (PCM) code, for example, a 24-bit pulse code. Modulation code; this technique then applies the pulse code modulation code to the Up-Sampling and Delta-Sigma Modulator to generate another A pulse code modulation code (PCM-10bit) is then used to drive an external load by converting the output pulse width modulation code to a power driver, such as a Class-D amplifier.

上述以脈衝寬度調變碼經由功率驅動器來驅動外部負載的方式常因為驅動外部負載的波型上升/下降時間不對稱,功率驅動器中的上下端驅動電晶體阻抗不同,以及上下端電壓源不對稱,而造成驅動音頻信號的失真。因此在設計音頻信號處理驅動的架構中,如何設計一種改善驅動音頻信號失真的技術是需要的,本揭露提出一種具回授控制的脈衝寬度調變驅動的技術,可進一步改善驅動音頻信號的失真。 The above method of driving an external load via a power driver with a pulse width modulation code is often because the mode rise/fall time asymmetry of driving an external load, the upper and lower end drive transistor impedances in the power driver are different, and the upper and lower end voltage sources are asymmetric. , causing distortion of the drive audio signal. Therefore, in the architecture of designing an audio signal processing driver, how to design a technique for improving the distortion of the driving audio signal is needed. The present disclosure proposes a pulse width modulation driving technology with feedback control, which can further improve the distortion of the driving audio signal. .

本揭露實施例可提供關於一種具回授控制的脈衝寬度調變裝置和方法。 The disclosed embodiments can provide a pulse width modulation apparatus and method with feedback control.

所揭露的一實施例是關於一種具回授控制的脈衝寬度調變裝置,應用於驅動一外部負載,此裝置包含一脈衝寬度調變器、一編碼調動器、一功率趨動器以及一控制器,其中脈衝寬度調變器將輸入的一脈衝編碼調變碼轉換成一脈衝寬度調變碼,編碼調動器將此脈衝寬度調變碼轉換成一上端趨動信號和一下端趨動信號,功率趨動器接收上端趨動信號和下端趨動信號來驅動外部負載,控制器測量外部負載的電壓,並且依據上端趨動信號和下端趨動信號來產生一控制信號,以及控制器傳送此控制信號到編碼調動器來調整上端趨動信號和下端趨動信號。 The disclosed embodiment relates to a pulse width modulation device with feedback control for driving an external load, the device comprising a pulse width modulator, a code modulator, a power actuator and a control The pulse width modulator converts the input pulse code modulation code into a pulse width modulation code, and the code converter converts the pulse width modulation code into an upper end signal and a lower end signal, and the power trend The actuator receives the upper end driving signal and the lower end driving signal to drive the external load, the controller measures the voltage of the external load, and generates a control signal according to the upper end driving signal and the lower end driving signal, and the controller transmits the control signal to A coder is used to adjust the upper end signal and the lower end signal.

所揭露的另一實施例是關於一種具回授控制的脈衝寬度調變方法,應用於驅動一外部負載,此方法包含:使用一脈衝寬度調變器將輸入的一脈衝編碼調變碼轉換成一脈衝寬度調變碼,使用一編碼調動器將此脈衝寬度調變碼轉換成一上端趨動信號和一下端趨動信號,使用一功率趨動器接收上端趨動信號和下端趨動信號來驅動外部負載,一控制器測量外部負載的電壓,並且依據上端趨動信號和下端趨動信號來產生一控制信號,以及控制器傳送此控制信號到編碼調動器以調整上端趨動信號和下端趨動信號。 Another embodiment disclosed is directed to a pulse width modulation method with feedback control for driving an external load, the method comprising: converting a pulse code modulation code of an input into a pulse width modulator a pulse width modulation code, using a coded transducer to convert the pulse width modulation code into an upper end signal and a lower end signal, and using a power actuator to receive the upper end signal and the lower end signal to drive the external a load, a controller measures the voltage of the external load, and generates a control signal according to the upper end signal and the lower end signal, and the controller transmits the control signal to the code adjuster to adjust the upper end signal and the lower end signal .

茲配合下列圖示、實施例之詳細說明及申請專利範圍,將上述及本揭露之其他優點詳述於後。 The above and other advantages of the present disclosure will be described in detail below with reference to the following drawings, detailed description of the embodiments, and claims.

200‧‧‧具回授控制的脈衝寬度調變裝置 200‧‧‧Pulse width modulation device with feedback control

210‧‧‧脈衝寬度調變器 210‧‧‧ pulse width modulator

211‧‧‧脈衝編碼調變碼 211‧‧‧ pulse code modulation code

212‧‧‧脈衝寬度調變碼 212‧‧‧ pulse width modulation code

220‧‧‧編碼調動器 220‧‧‧ Coded Transducer

221‧‧‧上端趨動信號 221‧‧‧Upper moving signal

222‧‧‧下端趨動信號 222‧‧‧ lower end signal

230‧‧‧功率趨動器 230‧‧‧Power actuator

231‧‧‧負載的電壓 231‧‧‧Load voltage

240‧‧‧控制器 240‧‧‧ Controller

250‧‧‧外部負載 250‧‧‧External load

410‧‧‧脈衝寬度調變週期 410‧‧‧ pulse width modulation period

420‧‧‧系統時鐘 420‧‧‧System clock

510‧‧‧電晶體驅動電路 510‧‧‧Transistor drive circuit

520‧‧‧上端電晶體 520‧‧‧Upper transistor

530‧‧‧下端電晶體 530‧‧‧lower transistor

610‧‧‧分壓器 610‧‧ ‧ voltage divider

620‧‧‧電位移位器 620‧‧‧potentiometer

621‧‧‧上端振幅信號 621‧‧‧Upper amplitude signal

622‧‧‧下端振幅信號 622‧‧‧lower amplitude signal

630‧‧‧臨界比較器 630‧‧‧critical comparator

631‧‧‧上端延緩信號 631‧‧‧Upper delay signal

632‧‧‧下端延緩信號 632‧‧‧lower delay signal

710‧‧‧上端振幅電壓 710‧‧‧Upper amplitude voltage

720‧‧‧下端振幅電壓 720‧‧‧lower amplitude voltage

760‧‧‧上端上升延緩時間 760‧‧‧Upper rise delay time

770‧‧‧上端下降延緩時間 770‧‧‧Upper down delay time

780‧‧‧下端上升延緩時間 780‧‧‧Lower rise delay time

790‧‧‧下端下降延緩時間 790‧‧‧ Lower end delay time

810‧‧‧使用一脈衝寬度調變器將輸入的一脈衝編碼調變碼轉換成一脈衝寬度調變碼 810‧‧‧ Converting an input pulse code modulation code into a pulse width modulation code using a pulse width modulator

820‧‧‧使用一編碼調動器將此脈衝寬度調變碼轉換成一上端趨動信號和一下端趨動信號 820‧‧‧ Use a coded transducer to convert this pulse width modulation code into an upper end signal and a lower end signal

830‧‧‧使用一功率趨動器接收上端趨動信號和下端趨動信號來驅動外部負載 830‧‧‧Use a power actuator to receive the upper end signal and the lower end signal to drive the external load

840‧‧‧一控制器測量外部負載的電壓,並且依據該上端趨動信號和該下端趨動信號來產生一控制信號 840‧‧‧ A controller measures the voltage of the external load, and generates a control signal according to the upper end driving signal and the lower end driving signal

850‧‧‧控制器傳送此控制信號到編碼調動器以調整上端趨動信號和下端趨動信號 850‧‧‧The controller transmits this control signal to the code converter to adjust the upper end signal and the lower end signal

第一圖是一示意圖,說明使用數位信號處理的音頻信號驅動技術。 The first figure is a schematic diagram illustrating an audio signal driving technique using digital signal processing.

第二圖是與所揭露的一實施範例一致的一示意圖,說明一種具回授控制的脈衝寬度調變裝置。 The second figure is a schematic view consistent with an embodiment of the disclosure, illustrating a pulse width modulation device with feedback control.

第三圖是與所揭露的一實施範例一致的一示意圖,說明第二圖中脈衝寬度調變器。 The third figure is a schematic view consistent with an embodiment of the disclosure, illustrating the pulse width modulator of the second figure.

第四圖是與所揭露的一實施範例一致的一示意圖,說明上端趨動信號和下端趨動信號的波型。 The fourth figure is a schematic diagram consistent with an embodiment of the disclosure, illustrating the waveforms of the upper end signal and the lower end signal.

第五圖是與所揭露的一實施範例一致的一示意圖,說明功率趨動器接收上端趨動信號和下端趨動信號來驅動外部負載。 The fifth figure is a schematic diagram consistent with an embodiment of the disclosure, illustrating that the power actuator receives the upper and lower kinetic signals to drive the external load.

第六圖是與所揭露的一實施範例一致的一示意圖,說明控制器測量外部負載的電壓。 The sixth figure is a schematic diagram consistent with an embodiment of the disclosure, illustrating the controller measuring the voltage of an external load.

第七A圖與第七B圖是與所揭露的一實施範例一致的一示意圖,說明控制器產生控制信號。 7A and 7B are schematic views consistent with an embodiment of the disclosure, illustrating the controller generating a control signal.

第八圖是與所揭露的一實施範例一致的一示意圖,說明一種具回授控制的脈衝寬度調方法。 The eighth figure is a schematic view consistent with an embodiment of the disclosure, illustrating a pulse width modulation method with feedback control.

本揭露提出一種具回授控制的脈衝寬度調變的技術,以改善驅動音頻信號的失真。第二圖是與所揭露的一實施範例一致的一示意圖,說明一種具回授控制的脈衝寬度調變裝置。 The present disclosure proposes a technique of pulse width modulation with feedback control to improve the distortion of the drive audio signal. The second figure is a schematic view consistent with an embodiment of the disclosure, illustrating a pulse width modulation device with feedback control.

第二圖中具回授控制的脈衝寬度調變裝置是應用於驅動一外部負載,如第二圖中所示,此裝置200包含一脈衝寬度調變器210、一編碼調動器220、一功率趨動器230以及一控制器240,其中此脈衝寬度調變器210將輸入的一脈衝編碼調變碼211轉換成一脈衝寬度調變碼212,此編碼調動器220將此脈衝寬度調變碼212轉換成一上端趨動信號221和一下端趨動信號222,此功率趨動器230接收上端趨動信號221和下端趨動信號222來驅動外部負載250,以及此控制器240測量外部負載250的電壓231,並且依據上端趨動信號221和下端趨動信號222來產生一控制信號241,並且傳送此控制信號241到編碼調動器220來調整上端趨動信號221和下端趨動信號222。 The pulse width modulation device with feedback control in the second figure is applied to drive an external load. As shown in the second figure, the device 200 includes a pulse width modulator 210, a code converter 220, and a power. The encoder 230 and a controller 240, wherein the pulse width modulator 210 converts the input pulse code modulation code 211 into a pulse width modulation code 212, and the code converter 220 adjusts the pulse width modulation code 212. Converted into an upper end moving signal 221 and a lower end moving signal 222, the power actuator 230 receives the upper end moving signal 221 and the lower end moving signal 222 to drive the external load 250, and the controller 240 measures the voltage of the external load 250. 231, and a control signal 241 is generated according to the upper end driving signal 221 and the lower end driving signal 222, and the control signal 241 is transmitted to the encoding adjuster 220 to adjust the upper end moving signal 221 and the lower end moving signal 222.

根據第二圖中具回授控制的脈衝寬度調變裝置的實施範例,其中脈衝寬度調變器將輸入的一脈衝編碼調變碼211轉換成一脈衝寬度調變碼212。第三圖是與所揭露的一實施範例一致的一示意圖,說明第二圖中脈衝寬度調變器。如第三圖所示,脈衝寬度調變器可以例如,但不限於是一計數器,依據一系統時鐘將輸入的一脈衝編碼調變碼211進行計數而成為脈衝寬度與計數成比例的脈衝寬度調變碼212。 According to an embodiment of the pulse width modulation device with feedback control in the second figure, the pulse width modulator converts the input pulse code modulation code 211 into a pulse width modulation code 212. The third figure is a schematic view consistent with an embodiment of the disclosure, illustrating the pulse width modulator of the second figure. As shown in the third figure, the pulse width modulator can be, for example, but not limited to, a counter, and the input pulse code modulation code 211 is counted according to a system clock to become a pulse width modulation in which the pulse width is proportional to the count. Change code 212.

根據第二圖中的實施範例,編碼調動器220將脈衝寬度調變碼212轉換成一上端趨動信號221和一下端趨動信號222。第四圖是與所揭露的一實施範例一致的一示意圖,說明上端趨動信號和下端趨動信號的波型。如第四圖所示,在一脈衝寬度調變週期410中,編碼調動器依據一系統時鐘420將脈衝寬度調變碼轉換成為上端趨動信號221和下端趨動信號222。在第四圖中,上端趨動信號221其脈衝寬度是對應於脈衝寬度調變碼,並且上端趨動信號221和下端趨動信號222之間具有一段空餘時間T。下端驅動信號222其開始之時間為上述空餘時間T之後,下端驅動信號222其結束之時間為脈衝寬度調變週期410結束之前。 According to the embodiment in the second figure, the code converter 220 converts the pulse width modulation code 212 into an upper end motion signal 221 and a lower end motion signal 222. The fourth figure is a schematic diagram consistent with an embodiment of the disclosure, illustrating the waveforms of the upper end signal and the lower end signal. As shown in the fourth figure, in a pulse width modulation period 410, the encoder adjuster converts the pulse width modulation code into an upper motion signal 221 and a lower motion signal 222 according to a system clock 420. In the fourth figure, the upper end moving signal 221 has a pulse width corresponding to the pulse width modulation code, and has a free time T between the upper end moving signal 221 and the lower end moving signal 222. The lower end drive signal 222 starts at a time after the vacant time T, and the lower end drive signal 222 ends at a time before the end of the pulse width modulation period 410.

承上述,功率趨動器230接收上端趨動信號221和下端趨動信號222來驅動外部負載250。第五圖是與所揭露的一實施範例一致的一示意圖,說明功率趨動器230接收上端趨動信號221和下端趨動信號222來驅動外部負載250。如第五圖所示,功率趨動器230包含一電晶體驅動電路510將接收的上端趨動信號和下端趨動信號經由一上端電晶體520和一下端電晶體530來驅動外部負載250。如第五圖所示,一上端電晶體520和一下端電晶體530串接一正電源VDD和一負電源VEE,其中正電源VDD例如是+100伏特(Volt),以及負電源VEE例如是-100伏特(Volt)。上端電晶體520和下端電晶體530例如是金屬氧化半導體(Metal-Oxide-Semiconductor,MOS)元件來實現。 In view of the above, the power actuator 230 receives the upper end actuation signal 221 and the lower end actuation signal 222 to drive the external load 250. The fifth diagram is a schematic diagram consistent with an embodiment of the disclosure, illustrating that the power actuator 230 receives the upper end actuation signal 221 and the lower end actuation signal 222 to drive the external load 250. As shown in the fifth figure, the power actuator 230 includes a transistor driving circuit 510 for driving the received upper end driving signal and the lower end driving signal to drive the external load 250 via an upper transistor 520 and a lower transistor 530. As shown in the fifth figure, an upper transistor 520 and a lower transistor 530 are connected in series with a positive power supply VDD and a negative power supply VEE, wherein the positive power supply VDD is, for example, +100 volts (Volt), and the negative power supply VEE is, for example, - 100 volts (Volt). The upper transistor 520 and the lower transistor 530 are realized, for example, as a Metal-Oxide-Semiconductor (MOS) device.

承上述,控制器240測量外部負載250的電壓來產生一控制信號241。第六圖是與所揭露的一實施範例一致的一示意圖,說明控 制器240測量外部負載250的電壓。參考第六圖,控制器240包含一分壓器(Voltage Divider)610、和一電位移位器(Level Shifter)620,將外部負載250的電壓231轉換成為一上端振幅信號621和一下端振幅信號622,如第六圖所示。控制器240還包含一臨界比較器(Threshold Comparator)630,將上端振幅信號621和下端振幅信號622分別修整成為一上端延緩信號631和一下端延緩信號632。 In view of the above, the controller 240 measures the voltage of the external load 250 to generate a control signal 241. The sixth figure is a schematic diagram consistent with an disclosed embodiment, illustrating control The controller 240 measures the voltage of the external load 250. Referring to the sixth figure, the controller 240 includes a voltage divider 610 and a potential shifter 620 for converting the voltage 231 of the external load 250 into an upper amplitude signal 621 and a lower amplitude signal. 622, as shown in the sixth figure. The controller 240 further includes a threshold comparator 630, and trims the upper end amplitude signal 621 and the lower end amplitude signal 622 into an upper end delay signal 631 and a lower end delay signal 632, respectively.

第七A圖與第七B圖是與所揭露的一實施範例一致的一示意圖,說明控制器240產生控制信號241。參考七A圖,控制器將上述的上端振幅信號621和下端振幅信號622進行振幅的測量。如第七A圖所示,控制器在時序T1進行上端振幅信號621的測量來得到一上端振幅電壓710。控制器亦在時序T2進行下端振幅信號622的測量來得到一下端振幅電壓720,此下端振幅電壓720是一負電壓值。控制器可以比較上端振幅電壓710和下端振幅電壓720來產生控制信號241。例如上端振幅電壓710大於下端振幅電壓720的絕對值3毫伏特(mV),則控制器可以傳送此控制信號+3毫伏特(mV)到編碼調動器以調整上端趨動信號,即編碼調動器將後續的上端趨動信號的脈衝寬度減少3微秒(對應於+3毫伏特);或編碼調動器調整下端趨動信號,即編碼調動器將後續的下端趨動信號的脈衝寬度增加3微秒(對應於+3毫伏特)。 7A and 7B are schematic views consistent with an embodiment of the disclosure, illustrating controller 240 generating control signal 241. Referring to Figure 7A, the controller measures the amplitude of the upper end amplitude signal 621 and the lower end amplitude signal 622 described above. As shown in FIG. 7A, the controller performs measurement of the upper end amplitude signal 621 at timing T1 to obtain an upper end amplitude voltage 710. The controller also performs a measurement of the lower end amplitude signal 622 at timing T2 to obtain a lower end amplitude voltage 720, which is a negative voltage value. The controller can compare the upper amplitude voltage 710 and the lower amplitude voltage 720 to generate the control signal 241. For example, if the upper amplitude voltage 710 is greater than the absolute value of the lower amplitude voltage 720 by 3 millivolts (mV), the controller can transmit the control signal +3 millivolts (mV) to the coded transducer to adjust the upper end signal, ie, the coded actuator. Decrease the pulse width of the subsequent upper end signal by 3 microseconds (corresponding to +3 millivolts); or the code converter adjusts the lower end signal, ie the coded transducer increases the pulse width of the subsequent lower end signal by 3 micro Seconds (corresponds to +3 millivolts).

承上述,控制器240還可以依據上端趨動信號221和下端趨動信號222來產生控制信號241。第七B圖說明控制器依據上端延緩信號和下端延緩信號來產生控制信號。參考七B圖,710控制器將上端延緩信號631和上端趨動信號221進行時序比較,以及將下端 延緩信號632和下端趨動信號222進行時序比較。如第七B圖所示,此時序比較結果可以分別得知上端上升延緩時間760和上端下降延緩時間770,以及下端上升延緩時間780和下端下降延緩時間790。接者控制器可以比較上端上升延緩時間760和上端下降延緩時間770,以及比較下端上升延緩時間780和下端下降延緩時間790來產生控制信號241。例如上端上升延緩時間大於上端下降延緩時間1微秒(μs),則控制器可以傳送此控制信號+1微秒(μs)到編碼調動器以調整上端趨動信號,即編碼調動器將後續的上端趨動信號的脈衝寬度增加1微秒。再例如下端上升延緩時間小於下端下降延緩時間2微秒(μs),則控制器可以傳送此控制信號-2微秒(μs)到編碼調動器以調整下端趨動信號,即編碼調動器將後續的下端趨動信號的脈衝寬度減少2微秒。 In the above, the controller 240 can also generate the control signal 241 according to the upper end driving signal 221 and the lower end driving signal 222. The seventh B diagram illustrates that the controller generates a control signal based on the upper end delay signal and the lower end delay signal. Referring to Figure 7B, the 710 controller compares the upper end delay signal 631 with the upper end motion signal 221 for timing comparison, and the lower end The delay signal 632 and the lower end signal 222 are compared for timing. As shown in FIG. 7B, the timing comparison result can respectively know the upper end delay time 760 and the upper end delay time 770, and the lower end delay time 780 and the lower end delay time 790. The receiver controller can compare the upper end delay time 760 and the upper end delay time 770, and compare the lower end delay time 780 and the lower end delay time 790 to generate the control signal 241. For example, if the upper end delay time is greater than the upper end delay time by 1 microsecond (μs), the controller can transmit the control signal +1 microsecond (μs) to the code converter to adjust the upper end signal, that is, the code converter will follow The pulse width of the upper end signal is increased by 1 microsecond. For example, if the lower end delay time is less than the lower end delay time of 2 microseconds (μs), the controller can transmit the control signal -2 microseconds (μs) to the code converter to adjust the lower end signal, that is, the code converter will follow The pulse width of the lower end of the signal is reduced by 2 microseconds.

根據所揭露的一實施範例,控制器還可以包含一儲存器,用以儲存上述第七A圖和/或第七B圖中的控制信號,或是經一段時間(即多個脈衝寬度調變週期)所或獲得的多個控制信號。控制器還可以將此多個控制信號進行統計平均,再傳送此平均的控制信號到編碼調動器來調整上端趨動信號和下端趨動信號。 According to an embodiment of the disclosure, the controller may further include a memory for storing the control signals in the seventh A picture and/or the seventh B picture, or over a period of time (ie, multiple pulse width modulation) A plurality of control signals obtained by the cycle). The controller may also statistically average the plurality of control signals, and then transmit the averaged control signal to the coded transducer to adjust the upper end signal and the lower end signal.

根據另一個實施範例,第八圖說明一種具回授控制的脈衝寬度調方法,應用於驅動一外部負載。此方法包含:使用一脈衝寬度調變器將輸入的一脈衝編碼調變碼轉換成一脈衝寬度調變碼(步驟810);使用一編碼調動器將此脈衝寬度調變碼轉換成一上端趨動信號和一下端趨動信號(步驟820);使用一功率趨動器接收上端趨動信號和下端趨動信號來驅動外部負載(步驟830);一控制器測 量外部負載的電壓,並且依據上端趨動信號和下端趨動信號來產生一控制信號(步驟840);以及控制器傳送此控制信號到編碼調動器以調整上端趨動信號和下端趨動信號(步驟850)。 According to another embodiment, the eighth figure illustrates a pulse width modulation method with feedback control applied to drive an external load. The method includes: converting a pulse coded modulation code of the input into a pulse width modulation code using a pulse width modulator (step 810); converting the pulse width modulation code into an upper end signal using an encoding adjuster And a lower end driving signal (step 820); using a power actuator to receive the upper end moving signal and the lower end moving signal to drive the external load (step 830); And measuring a voltage of the external load, and generating a control signal according to the upper end signal and the lower end signal (step 840); and the controller transmitting the control signal to the code adjuster to adjust the upper end signal and the lower end signal ( Step 850).

如前所述,在第八圖中,上端趨動信號其脈衝寬度是對應於脈衝寬度調變碼,並且上端趨動信號和下端趨動信號之間具有一段空餘時間T。下端驅動信號其開始之時間為上述空餘時間T之後,下端驅動信號其結束之時間為脈衝寬度調變週期結束之前。功率趨動器包含一電晶體驅動電路將接收的上端趨動信號和下端趨動信號經由一上端電晶體和一下端電晶體來驅動外部負載,其中上端電晶體和下端電晶體串接一正電源VDD和一負電源VEE,其中正電源VDD例如是+100伏特(Volt),以及負電源VEE例如是-100伏特(Volt)。上端電晶體和下端電晶體例如是金屬氧化半導體(Metal-Oxide-Semiconductor,MOS)元件來實現。 As described above, in the eighth diagram, the upper end driving signal has a pulse width corresponding to the pulse width modulation code, and has a free time T between the upper end moving signal and the lower end moving signal. The start time of the lower end drive signal is after the above-described vacant time T, and the end of the lower end drive signal is before the end of the pulse width modulation period. The power actuator comprises a transistor driving circuit for driving the received upper end driving signal and the lower end driving signal to drive an external load via an upper transistor and a lower transistor, wherein the upper transistor and the lower transistor are connected in series with a positive power supply. VDD and a negative power supply VEE, wherein the positive power supply VDD is, for example, +100 volts (Volt), and the negative power supply VEE is, for example, -100 volts (Volt). The upper transistor and the lower transistor are realized, for example, as a Metal-Oxide-Semiconductor (MOS) device.

在第八圖中,控制器還可將外部負載的電壓轉換成為一上端振幅信號和一下端振幅信號,並且比較上端振幅信號和下端振幅信號來產生控制信號。控制器還可分別將上端振幅信號和下端振幅信號修整成為一上端延緩信號和一下端延緩信號,並且將上端延緩信號和上端趨動信號進行時序比較,以及將下端延緩信號和下端趨動信號進行時序比較,來分別得到上端上升延緩時間和上端下降延緩時間,以及下端上升延緩時間和下端下降延緩時間。控制器還可以比較上端上升延緩時間和上端下降延緩時間,以及比較下端上升延緩時間和下端下降延緩時間來產生控制信號。 In the eighth figure, the controller can also convert the voltage of the external load into an upper end amplitude signal and a lower end amplitude signal, and compare the upper end amplitude signal and the lower end amplitude signal to generate a control signal. The controller can also trim the upper end amplitude signal and the lower end amplitude signal into an upper end delay signal and a lower end delay signal, and compare the upper end delay signal and the upper end moving signal, and the lower end delay signal and the lower end moving signal. Timing comparisons are used to obtain the upper end delay time and the upper end delay time, as well as the lower end delay time and the lower end delay time. The controller can also compare the upper end delay time and the upper end delay time, and compare the lower end delay time and the lower end delay time to generate a control signal.

根據所揭露的一實施範例,控制器還可以儲存上述的控制信號,或是將一段時間所獲得的多個控制信號儲存來進行統計平均,再傳送此平均的控制信號到編碼調動器來調整上端趨動信號和下端趨動信號。 According to an embodiment of the disclosure, the controller may further store the foregoing control signal, or store a plurality of control signals obtained for a period of time for statistical averaging, and then transmit the averaged control signal to the coded transducer to adjust the upper end. The sway signal and the lower end sway signal.

綜上所述,本揭露提出一種具回授控制的脈衝寬度調變的技術,以改善驅動音頻信號的失真。 In summary, the present disclosure proposes a technique of pulse width modulation with feedback control to improve the distortion of the driving audio signal.

以上所述者皆僅為本揭露實施例,不能依此限定本揭露實施之範圍。大凡本發明申請專利範圍所作之均等變化與修飾,皆應屬於本發明專利涵蓋之範圍。 The above is only the embodiment of the disclosure, and the scope of the disclosure is not limited thereto. All changes and modifications made to the scope of the patent application of the present invention are intended to fall within the scope of the invention.

200‧‧‧具回授控制的脈衝寬度調變裝置 200‧‧‧Pulse width modulation device with feedback control

210‧‧‧脈衝寬度調變器 210‧‧‧ pulse width modulator

211‧‧‧脈衝編碼調變碼 211‧‧‧ pulse code modulation code

212‧‧‧脈衝寬度調變碼 212‧‧‧ pulse width modulation code

220‧‧‧編碼調動器 220‧‧‧ Coded Transducer

221‧‧‧上端趨動信號 221‧‧‧Upper moving signal

222‧‧‧下端趨動信號 222‧‧‧ lower end signal

230‧‧‧功率趨動器 230‧‧‧Power actuator

231‧‧‧負載的電壓 231‧‧‧Load voltage

240‧‧‧控制器 240‧‧‧ Controller

250‧‧‧外部負載 250‧‧‧External load

Claims (14)

一種具回授控制的脈衝寬度調變裝置,應用於驅動一外部負載,此裝置包含:一脈衝寬度調變器,將輸入的一脈衝編碼調變碼轉換成一脈衝寬度調變碼;一編碼調動器,將該脈衝寬度調變碼轉換成一上端趨動信號和一下端趨動信號;一功率趨動器,接收該上端趨動信號和該下端趨動信號來驅動該外部負載;以及一控制器,測量該外部負載的電壓,並且依據該上端趨動信號和該下端趨動信號來產生一控制信號,以及傳送該控制信號到該編碼調動器來調整該上端趨動信號和該下端趨動信號;其中,該上端趨動信號其脈衝寬度是對應於該脈衝寬度調變碼,並且該上端趨動信號和該下端趨動信號之間具有一段空餘時間,該下端驅動信號其開始之時間為該空餘時間之後,該下端驅動信號其結束之時間為一脈衝寬度調變週期結束之前。 A pulse width modulation device with feedback control is applied to drive an external load, the device comprises: a pulse width modulator, converting an input pulse code modulation code into a pulse width modulation code; Converting the pulse width modulation code into an upper end stimulation signal and a lower end actuation signal; a power actuator receiving the upper end actuation signal and the lower end actuation signal to drive the external load; and a controller Measuring a voltage of the external load, and generating a control signal according to the upper end driving signal and the lower end driving signal, and transmitting the control signal to the encoding adjuster to adjust the upper end driving signal and the lower end driving signal Wherein the upper end driving signal has a pulse width corresponding to the pulse width modulation code, and the upper end driving signal and the lower end driving signal have a spare time, and the lower end driving signal starts at the time After the free time, the end drive signal ends at a time before the end of a pulse width modulation period. 如申請專利範圍第1項所述之裝置,其中該功率趨動器包含一電晶體驅動電路將接收的該上端趨動信號和該下端趨動信號經由一上端電晶體和一下端電晶體來驅動該外部負載。 The device of claim 1, wherein the power actuator comprises a transistor driving circuit to drive the received upper end driving signal and the lower end driving signal via an upper transistor and a lower transistor. The external load. 如申請專利範圍第2項所述之裝置,其中該上端電晶體和該下端電晶體串接一正電源和一負電源來驅動該外部負載。 The device of claim 2, wherein the upper transistor and the lower transistor are connected in series with a positive power supply and a negative power supply to drive the external load. 如申請專利範圍第2項所述之裝置,其中該上端電晶體和該下端電晶體是金屬氧化半導體元件。 The device of claim 2, wherein the upper end transistor and the lower end transistor are metal oxide semiconductor elements. 如申請專利範圍第1項所述之裝置,其中該控制器將該外部負載的電壓轉換成為一上端振幅信號和一下端振幅信號,並且比較該上端振幅信號和該下端振幅信號來產生該控制信號。 The device of claim 1, wherein the controller converts the voltage of the external load into an upper end amplitude signal and a lower end amplitude signal, and compares the upper end amplitude signal and the lower end amplitude signal to generate the control signal. . 如申請專利範圍第5項所述之裝置,其中該控制器分別將該上端振幅信號和下端振幅信號修整成為一上端延緩信號和一下端延緩信號來產生該控制信號。 The device of claim 5, wherein the controller separately trims the upper end amplitude signal and the lower end amplitude signal into an upper end delay signal and a lower end delay signal to generate the control signal. 如申請專利範圍第6項所述之裝置,其中該控制器將該上端延緩信號和該上端趨動信號進行時序比較,以及將該下端延緩信號和該下端趨動信號進行時序比較,來分別得到一上端上升延緩時間和一上端下降延緩時間,以及一下端上升延緩時間和一下端下降延緩時間,該控制器比較該上端上升延緩時間和該上端下降延緩時間,以及比較該下端上升延緩時間和該下端下降延緩時間來產生該控制信號。 The device of claim 6, wherein the controller compares the upper end delay signal and the upper end driving signal with a timing comparison, and compares the lower end delay signal with the lower end driving signal for timing comparison, respectively. An upper end delay time and an upper end delay time, and a lower end delay time and a lower end delay time, the controller compares the upper end delay time and the upper end delay time, and compare the lower end delay time and the The lower end delays the delay time to generate the control signal. 一種具回授控制的脈衝寬度調變方法,應用於驅動一外部負載,此方法包含:使用一脈衝寬度調變器將輸入的一脈衝編碼調變碼轉換成一脈衝寬度調變碼;使用一編碼調動器將該脈衝寬度調變碼轉換成一上端趨動信號和一下端趨動信號;使用一功率趨動器接收該上端趨動信號和該下端趨動信號來驅動該外部負載;一控制器測量該外部負載的電壓,並且依據該上端趨動信號和該下端趨動信號來產生一控制信號;以及該控制器傳送該控制信號到該編碼調動器以調整該上端趨動信號和該下端趨動信號; 其中,該上端趨動信號其脈衝寬度是對應於脈衝寬度調變碼,並且該上端趨動信號和該下端趨動信號之間具有一段空餘時間,該下端驅動信號其開始之時間為該空餘時間之後,該下端驅動信號其結束之時間為一脈衝寬度調變週期結束之前。 A pulse width modulation method with feedback control is applied to drive an external load, the method comprising: converting a input pulse code modulation code into a pulse width modulation code by using a pulse width modulator; using an code The transducer converts the pulse width modulation code into an upper end stimulation signal and a lower end actuation signal; using a power actuator to receive the upper end actuation signal and the lower end actuation signal to drive the external load; a voltage of the external load, and generating a control signal according to the upper end driving signal and the lower end driving signal; and the controller transmitting the control signal to the encoding adjuster to adjust the upper end driving signal and the lower end driving signal; Wherein, the upper end of the signal has a pulse width corresponding to the pulse width modulation code, and the upper end driving signal and the lower end driving signal have a spare time, and the lower end driving signal starts at the time of the free time. Thereafter, the lower end drive signal ends at a time before the end of a pulse width modulation period. 如申請專利範圍第8項所述之方法,其中該功率趨動器包含一電晶體驅動電路,將接收的該上端趨動信號和該下端趨動信號經由一上端電晶體和一下端電晶體來驅動該外部負載。 The method of claim 8, wherein the power actuator comprises a transistor driving circuit, and the received upper end driving signal and the lower end driving signal are passed through an upper transistor and a lower transistor. Drive the external load. 如申請專利範圍第9項所述之方法,其中該上端電晶體和該下端電晶體串接一正電源和一負電源來驅動該外部負載。 The method of claim 9, wherein the upper transistor and the lower transistor are connected in series with a positive power supply and a negative power supply to drive the external load. 如申請專利範圍第9項所述之方法,其中該上端電晶體和該下端電晶體是金屬氧化半導體元件。 The method of claim 9, wherein the upper end transistor and the lower end transistor are metal oxide semiconductor elements. 如申請專利範圍第8所述之方法,其中該控制器將該外部負載的電壓轉換成為一上端振幅信號和一下端振幅信號,並且比較該上端振幅信號和該下端振幅信號來產生該控制信號。 The method of claim 8, wherein the controller converts the voltage of the external load into an upper end amplitude signal and a lower end amplitude signal, and compares the upper end amplitude signal and the lower end amplitude signal to generate the control signal. 如申請專利範圍第12項所述之方法,其中該控制器分別將該上端振幅信號和下端振幅信號修整成為一上端延緩信號和一下端延緩信號來產生該控制信號。 The method of claim 12, wherein the controller separately trims the upper end amplitude signal and the lower end amplitude signal into an upper end delay signal and a lower end delay signal to generate the control signal. 如申請專利範圍第13項所述之方法,其中該控制器將該上端延緩信號和該上端趨動信號進行時序比較,以及將該下端延緩信號和該下端趨動信號進行時序比較,來分別得到一上端上升延緩時間和一上端下降延緩時間,以及一下端上升延緩時間和一下端下降延緩時間,該控制器比較該上端上升延緩時間和該上端下降延緩時間,以及比較該下端上升延緩時間和該下端下降延緩時間來產生該控制信號。 The method of claim 13, wherein the controller compares the upper end delay signal and the upper end signal with a timing comparison, and compares the lower end delay signal and the lower end signal with a timing comparison to obtain respectively An upper end delay time and an upper end delay time, and a lower end delay time and a lower end delay time, the controller compares the upper end delay time and the upper end delay time, and compare the lower end delay time and the The lower end delays the delay time to generate the control signal.
TW103126960A 2014-08-06 2014-08-06 Apparatus and method of pluse width modultion with feedback control TWI538406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103126960A TWI538406B (en) 2014-08-06 2014-08-06 Apparatus and method of pluse width modultion with feedback control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103126960A TWI538406B (en) 2014-08-06 2014-08-06 Apparatus and method of pluse width modultion with feedback control

Publications (2)

Publication Number Publication Date
TW201607247A TW201607247A (en) 2016-02-16
TWI538406B true TWI538406B (en) 2016-06-11

Family

ID=55810204

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103126960A TWI538406B (en) 2014-08-06 2014-08-06 Apparatus and method of pluse width modultion with feedback control

Country Status (1)

Country Link
TW (1) TWI538406B (en)

Also Published As

Publication number Publication date
TW201607247A (en) 2016-02-16

Similar Documents

Publication Publication Date Title
US7330069B2 (en) Digital switching amplifier
US8054129B2 (en) Class D amplifier
CN105612763A (en) Slew rate control apparatus for digital microphones
KR102103019B1 (en) Impedance calibration circuit
JP2015188297A5 (en)
JP2014176096A (en) Apparatus and method for reducing sampling circuit timing mismatch
US9634656B2 (en) Current driver circuit
WO2019131162A1 (en) Amplifier and signal processing circuit
US9806731B2 (en) Signal calibration circuit and signal calibration device
US20160105107A1 (en) Apparatus and method of pulse width modulation with feedback control
JP4853176B2 (en) Class D amplifier
CN1909361A (en) Low-noise frequency fine-tuning
TWI538406B (en) Apparatus and method of pluse width modultion with feedback control
TW201704923A (en) Apparatus and method of USB audio frequency locking
TWI422145B (en) Circuits and methods for reducing pop noise in class d amplifiers
TW201705010A (en) Apparatus and method of USB audio transmission adjustment
JP5343782B2 (en) Class D amplifier
US9614514B2 (en) PWM modulation device and sound signal output apparatus
JP5219722B2 (en) Modulation method, modulator, and A / D converter
CN105471413A (en) Pulse width modulation device and method with feedback control
JP2016063300A (en) Audio amplifier, electronic apparatus, and audio signal reproduction method
JP6931153B2 (en) Pulse shaping amplifier system
US9614527B2 (en) Differential to single-ended signal conversion
US20130251077A1 (en) Data receiving circuit and data receiving method
US8929466B2 (en) Data receiving circuit and semiconductor device