TWI376878B - Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus - Google Patents

Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus Download PDF

Info

Publication number
TWI376878B
TWI376878B TW97111783A TW97111783A TWI376878B TW I376878 B TWI376878 B TW I376878B TW 97111783 A TW97111783 A TW 97111783A TW 97111783 A TW97111783 A TW 97111783A TW I376878 B TWI376878 B TW I376878B
Authority
TW
Taiwan
Prior art keywords
signal
width modulation
pulse width
controller
control
Prior art date
Application number
TW97111783A
Other languages
Chinese (zh)
Other versions
TW200941946A (en
Inventor
Wei Kuo Mai
Cheng Ru Chang
Original Assignee
Elan Microelectronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Elan Microelectronics Corp filed Critical Elan Microelectronics Corp
Priority to TW97111783A priority Critical patent/TWI376878B/en
Publication of TW200941946A publication Critical patent/TW200941946A/en
Application granted granted Critical
Publication of TWI376878B publication Critical patent/TWI376878B/en

Links

Landscapes

  • Dc-Dc Converters (AREA)

Description

13768781376878

• X 九、發明說明: 【發明所屬之技術領域】 . 本發明是有關於一種脈衝寬度調變方法,且特別是有關於 二種考量三個以上變因的多維脈衝寬度調變方法及多維脈衝 • 寬度調變訊號產生裝置》 【先前技術】 脈衝寬度調變(Pulse Width Modulation,PWM)利用不 同的工作週期來表示各種訊號。請參照圖1,其為習知技術所 # 使用,一種PWM訊號的波形。在此種技術+,PWM訊號的 是由寬度相異的方波所組成,較寬的方波代表的是較高的 能f,而較窄的方波則代表較少的能量。藉由使用此類PWM 訊號來推動·,就可以從外八產生類比的聲音輸出。這種驅 動方式已被許多聲音輸出裝置所採用。 ,由於爻到工作頻率的限制,所以一般的PWM訊號必須在 採樣,率與解析度之間取得平衡,並無法十分精確的表達出原 本訊號的内容。這個狀況會造成輸出的類比訊號產生失真。為 了解決這侧題,許乡人提$各齡㈣功鮮下增加解析 讚度或採樣頻率的方式。舉例來說,中華民國第453〇45號,名 為「多準位脈衝寬度之調變裝置及其控制結構」的專利,就提 出了-種在維持取樣率的前提下得以提高解析度的技術。另 外月參,圖2,其為習知技術所採用的另一種pwM訊號的 ,形在這種技術中,除了寬度之外,還合併使用了刚^訊 號中各方波的振幅來表示其代表之能量的大小。 然而,由於波形本身尸、包含有工作週期(_ cyde) 以及振幅运兩個可調成分,因此在—般常用的技術 使用PWM波形的工作週期變化來做為解析度的唯-考量;即 5 1376878 使是在前述中華民國453045號專利或圖2所示的進一步改良 技術中’也僅增加了一個電流的因素來做為解析度的第二考 •. 量。而這種解析度的限制無疑的也同樣地限制了 PWM訊號精 確度的提升程度。 ' 是以’目前使用的PWM技術所產生出來的訊號仍有其缺 陷存在’而如何改良這些訊號也就成了一個重要的課題。 【發明内容】 本發明的其中一個目的就是在提供一種多維脈衝寬度調 • 變方法’其可增加脈衝寬度調變訊號的解析度。 本發明的另一個目的是在提供一種多維脈衝寬度調變訊 號產生裝置’其可改善目前脈衝寬度調變訊號解析度不足的窘 境。 在本發明的一個實施例中提出了一種多維脈衝寬度調變 方法,其可用來對輸入訊號進行取樣以產生包括至少一個調變 脈衝的脈衝寬度調變訊號。此多維脈衝寬度調變方法是根據一 個資枓位元組合來表現脈衝寬度調變訊號所包含之能量。此資 • 料位元組合使用以下四種控制位元中的至少三者:至少一個脈 衝寬度調變控制位元’根據輸入訊號之振幅改變而改變,·至少 —個電流控制位元,表示用來調整前述調變脈衝之能量的調整 電流,至少一個電壓控制位元,表示用來調整前述調變脈衝之 能量的調整電壓;以及至少一個重複率控制位元,表示前述調 變脈衝重複出現的次數。 在本發明的另一個實施例中則另外提出了 一種多維脈衝 寬度調變訊號產生裝置。此多維脈衝寬度調變訊號產生裝置對 輸入訊號進行取樣以產生相對應的脈衝寬度調變訊號。其包括 脈衝編碼調變器、多維脈衝寬度調變控制器以及多維脈衝寬度 6 1376878 調變驅動器。脈衝編碼調變器取樣前述輸入訊號以產生一個脈 衝,碼結果。多維脈衝寬度調變控㈣電⑽接至脈衝編碼綱 變=以,收脈衝編碼結果’其包括脈衝寬度調變訊號控制器、 電抓訊號控制^、電壓訊號控制^以及重複率訊號控制器這四 者中的至少三者。其中’脈衝寬度調變訊號控繼於被致能時 根據脈衝編碼結果產生相對應的脈衝寬度調變控制訊號;電流 訊號控制器於被缝時根據脈衝編碼結果產生相對應的電流 控制訊號;電壓訊號控制II於紐糾根獅衝編碼結果產生 相對應的糕㈣_;重複率峨㈣S狀被致能時根據 脈衝編碼結果產生相對應的重複率控觀號。多維脈衝寬度調 變驅,器電餘接至前述的多維脈衝寬度調變控制器,其包括 處理器以及脈衝寬度調變訊號產生器、電流訊號產生器、電墨 訊號產生器以及重複率訊號產生器四者中的至少三者。脈衝寬 度調變訊號產生器接收脈衝寬度調變控制訊號以產生相對應 的第一訊號;電流訊號產生器接收電流控制訊號以產生相對應 的第=訊號;電壓訊號產生器接收電壓控制訊號以產生相對應 的第三訊號;重複率訊號產生器接收重複率控制訊號以產生^ 對應的第四訊號;處理器則根據多維脈衝寬度調變驅動器所包 含的各種訊號產生器產生的訊號,產生前述的脈衝寬度調 號。 ° 在本發明的一個實施例中,前述的多維脈衝寬度調變訊號 產生裝置更包括一個主控制器。此主控制器電性耦接至多維脈 ,寬度調變控制器以決定是否致能脈衝寬度調變訊號控制 器、電流訊號控制器、電壓訊號控帝J器及重複率訊號控制器。 本發明因考量更多的(亦即三個及以上)調整因素以決定最 後得到的脈衝寬度調變訊號,因此可以提高解析度,進一步增 7 加輪出能量的精確程度。 為讓本發明之上述和其他目的、特徵和優點能更明顯易 麼’下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。 【實施方式】 清參照圖3 ’其為根據本發明一實施例之多維脈衝寬度調變訊 號產生裝置30的電路方塊圖。在本實施例中,多維脈衝寬度 調變訊號產生裝置3G用以對-輸人訊號,例如音訊資料進行 取樣以產生相對應的脈衝寬度調變訊號並輸出至一輸出裝• X IX, invention description: [Technical field to which the invention pertains] The present invention relates to a pulse width modulation method, and in particular to a multi-dimensional pulse width modulation method and multi-dimensional pulse for considering three or more variables • Width Modulation Signal Generator [Prior Art] Pulse Width Modulation (PWM) uses different duty cycles to represent various signals. Please refer to FIG. 1 , which is a waveform of a PWM signal used by the prior art. In this technique, the PWM signal is composed of square waves of different widths. A wider square wave represents a higher energy f, while a narrower square wave represents less energy. By using such a PWM signal to push ·, an analog sound output can be generated from the outer eight. This type of drive has been adopted by many sound output devices. Due to the limitation of the operating frequency, the general PWM signal must be balanced between sampling, rate and resolution, and the original signal content cannot be expressed very accurately. This condition can cause distortion in the analog signal of the output. In order to solve this problem, Xuxiang people raised the way to increase the praise or sampling frequency under the age of each (four). For example, the Republic of China No. 453〇45, entitled “Multi-level Pulse Width Modulation Device and Its Control Structure”, proposes a technique to improve the resolution while maintaining the sampling rate. . In addition, the monthly reference, Figure 2, is another pwM signal used in the prior art. In this technique, in addition to the width, the amplitudes of the waves in the signal are used to represent the representative. The size of the energy. However, since the waveform itself contains a work cycle (_cyde) and an amplitude-tuning two adjustable components, the commonly used technique uses the duty cycle variation of the PWM waveform as the only consideration for resolution; 1376878 In the aforementioned patent of the Republic of China No. 453045 or the further improved technique shown in Fig. 2, a factor of only one current is added as the second test of the resolution. This resolution limit undoubtedly limits the degree of improvement in PWM signal accuracy. 'The signal generated by the currently used PWM technology still has its defects.' How to improve these signals has become an important issue. SUMMARY OF THE INVENTION One object of the present invention is to provide a multi-dimensional pulse width modulation method which increases the resolution of a pulse width modulation signal. Another object of the present invention is to provide a multi-dimensional pulse width modulation signal generating apparatus which can improve the current insufficiency of the resolution of the pulse width modulation signal. In one embodiment of the invention, a multi-dimensional pulse width modulation method is proposed which can be used to sample an input signal to produce a pulse width modulation signal comprising at least one modulation pulse. The multi-dimensional pulse width modulation method is based on a combination of resource bits to represent the energy contained in the pulse width modulation signal. The resource bit combination uses at least three of the following four control bits: at least one pulse width modulation control bit 'changes according to the amplitude change of the input signal, · at least one current control bit, indicating Adjusting the adjustment current of the energy of the modulation pulse, at least one voltage control bit, indicating an adjustment voltage for adjusting the energy of the modulation pulse; and at least one repetition rate control bit, indicating that the modulation pulse is repeated frequency. In another embodiment of the present invention, a multi-dimensional pulse width modulation signal generating apparatus is additionally proposed. The multi-dimensional pulse width modulation signal generating means samples the input signal to generate a corresponding pulse width modulation signal. It includes a pulse code modulator, a multi-dimensional pulse width modulation controller, and a multi-dimensional pulse width 6 1376878 modulation driver. The pulse code modulator samples the aforementioned input signals to produce a pulse, code result. Multi-dimensional pulse width modulation control (four) electric (10) connected to the pulse coding version = to receive the pulse coding result 'which includes pulse width modulation signal controller, electric signal control ^, voltage signal control ^ and repetition rate signal controller At least three of the four. Wherein the pulse width modulation signal control generates a corresponding pulse width modulation control signal according to the pulse coding result when the current is enabled; the current signal controller generates a corresponding current control signal according to the pulse coding result when being slit; The signal control II produces a corresponding cake (4) _; repetition rate 峨 (4) when the S shape is enabled, the corresponding repetition rate control number is generated according to the pulse coding result. The multi-dimensional pulse width modulation drive is connected to the foregoing multi-dimensional pulse width modulation controller, which comprises a processor and a pulse width modulation signal generator, a current signal generator, an ink signal generator and a repetition rate signal generation. At least three of the four. The pulse width modulation signal generator receives the pulse width modulation control signal to generate a corresponding first signal; the current signal generator receives the current control signal to generate a corresponding first signal; the voltage signal generator receives the voltage control signal to generate Corresponding third signal; the repetition rate signal generator receives the repetition rate control signal to generate a corresponding fourth signal; and the processor generates the foregoing signal according to the signals generated by the various signal generators included in the multi-dimensional pulse width modulation driver Pulse width adjustment. In one embodiment of the invention, the multi-dimensional pulse width modulation signal generating apparatus further includes a main controller. The main controller is electrically coupled to the multi-dimensional pulse width controller to determine whether to enable the pulse width modulation signal controller, the current signal controller, the voltage signal controller, and the repetition rate signal controller. The present invention considers more (i.e., three or more) adjustment factors to determine the resulting pulse width modulation signal, thereby increasing the resolution and further increasing the accuracy of the rounded energy. The above and other objects, features, and advantages of the present invention will become more apparent <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; [Embodiment] FIG. 3 is a circuit block diagram of a multi-dimensional pulse width modulation signal generating apparatus 30 according to an embodiment of the present invention. In this embodiment, the multi-dimensional pulse width modulation signal generating device 3G is configured to sample the input signal, such as audio data, to generate a corresponding pulse width modulation signal and output the output signal to an output device.

置’例如揚聲器40。多維脈衝寬度調變訊號產生裝置30包括 脈衝編碼調變器(Pulse c〇de M〇dulati〇n &amp;_攸,pcMFor example, the speaker 40 is provided. The multi-dimensional pulse width modulation signal generating device 30 includes a pulse code modulator (Pulse c〇de M〇dulati〇n &amp; 攸, pcM

Generator)32、多維脈衝寬度調變控制器34、多維脈衝寬度調 變驅動器36及主控制器%。 其中’脈衝編碼調變H 32取樣前麟人喊以產鎌衝編碼 結果;多維脈衝寬度調變控制器34電性耦接至脈衝編碼調變 器32以接故脈衝、編碼結果。此多維脈衝寬度調變控制器%包 括脈衝寬度調變訊號控制器34卜電流訊號控制器如、電壓 訊號控制器345以及重複率訊號控制器347。多維脈衝寬度調 變驅動器36電性触至多維脈衝寬度調變控制器34 ;主控制 益38電I·生搞接至夕維脈衝寬度調變控制器乂及多維脈衝寬度 調變驅動器36以負責多維脈衝寬度職控制11 34及多维脈衝 寬度調變_ 36物作,卿_祕敢度調變控制 器34的調變維數可變動,多維脈衝寬度調變驅動器36的模式 1376878 也可變動。 請參照圖4,多維脈衝寬度調變驅動器36包括處理器364以及 對應於前述各訊號控制器341、343、345及347而被設置的脈 衝寬度調變訊號產生器361、電流訊號產生器363、電壓訊號 產生器365以及重複率訊號產生器367。 可以理解的是,前述多維脈衝寬度調變控制器34包括脈衝寬 度調變訊號控制器341、電流訊號控制器343、電壓訊號控制 器345以及重複率訊號控制器347中的至少三者,即可實現多 維脈衝寬度調變而達成本發明之目的;多維脈衝寬度調變驅動 器36亦可相應地包括脈衝寬度調變訊號產生器361、電流訊號 產生器363、電壓訊號產生器365以及重複率訊號產生器367 中的至少三者即可。 5青參照圖5,其為根據本發明一實施例之多維脈衝寬度調變方 法的流程圖。此多維脈衝寬度調變方法開始後,執行步驟 S510 ,主控制器38進行設定,例如設定多維脈衝寬度調變控 制器34中各訊號控制器341、343、345及347的狀態,以使 訊號控制器341、343、345及347中的至少三者被致能,以實 現多維脈衝寬度調變之目的。接著,執行步驟S52〇,由脈衝編 碼調變器32取樣一輸入訊號(例如音訊資料)以產生脈衝編碼 結果。然後,步驟S530被執行,以判斷多維脈衝寬度調變控 制34中的各訊號控制器34卜343、345及347是否被致能。 9 1376878 當脈衝寬度調變訊號控制器341被致能,則執行步驟;§541,由 脈衝寬度調變訊號控制器341根據脈衝編碼結果產生相對應的 脈衝寬度調變控制訊號;當電流訊號控制器343被致能,則執 行步驟S543,由電流訊號控制器343根據脈衝編碼結果產生相 對應的電流控制訊號;當電壓訊號控制器345被致能,則執行 步驟S545,由電壓訊號控制器345根據脈衝編碼結果產生相對 應的電壓控制訊號;當重複率訊號控制器347被致能,則執行 步驟S547,由重複率訊號控制器347根據脈衝編碼結果產生相 對應的重複率控制訊號。被致能的各訊號控制器產生的控制訊 號輸出至多維脈衝寬度調變驅動器36’由多維脈衝寬度調變驅 動器36執行步驟S550,以產生相對應的脈衝寬度調變訊號作 為輸出。至此,此多維脈衝寬度調變方法之流程結束。 其中,對於步驟S550之執行,具體可為:當脈衝寬度調變控 制器341被致能,由脈衝寬度調變訊號產生器361接收前述脈 衝寬度調變控制訊號以產生相對應的第—訊號;當電流訊號控 制器343被致能’由電流訊號產生器363接收前述電流控制訊 號以產生相對應的第二訊號;當電壓訊號控· 345被致能, 由電壓訊號產生器365接收前述電麗控制訊號以產生相對應的 第二訊號;當重複率訊號控制器347被致能,由重複率訊號產 生器367接收前述重複率控制訊號以產生崎應的第四訊號; 處理器364則根據多維脈衝寬度調變驅動器30所包含的各訊 號產生器341、343、345及347產生的各訊號,產生前述之脈 衝寬度調變訊號作為輸出。 請參照圖6A〜圖6C,其示出根據本發明一實施例的多維脈 衝寬度調冑之波形產生方式。在本實施例中,多維脈衝寬度調變 控制器34之各訊號控制器341、343、345及347均被主控制器38 致能,亦即整合了脈衝寬度調變、電流調變、電壓調變及重複脈 衝調變等四維調變;如圖6所示,多維脈衝寬度調變方法係根據 資料位元組合來表現前述脈衝寬度調變訊號所包含之能量,以達 成多維脈衝寬度調變之目的。此資料位元組合可包括對應前述脈 衝寬度調變控制器341產生之脈衝寬度調變控制訊號的至少一個 脈衝寬度調變控制位元,對應前述電流訊號控制器343產生之電 流控制訊號的至少一個電流控制位元,對應前述電壓訊號控制器 345產生之電壓控制訊號的至少一個電壓控制位元,以及對應前述 重複率訊號控制器347產生之重複率控制訊號的至少一個重複率 控制位元。此資料位元組合使用各種控制位元中的至少三者,即 可實現多維脈衝寬度調變之目的,進而提高解析度以增加輸出能 量的精確程度。 其中,脈衝寬度調變控制位元根據前述輸入訊號之振幅改變 而改變。電流控制位元表示用來調整前述脈衝寬度調變訊號之調 變脈衝之能量的一調整電流,此電流控制位元可控制此調整電流 的電流強度或工作週期;此調整電流的工作週期可以係固定的, 訊號。頻率訊號控制器349於被主控^ 變碼镧缇时π *丄 低土役剌窃38致能時根據脈衝 满變S 32產生的脈衝編碼結果產 :巧前述之資料位元組合中可更進一步包含至J = 辭控龍號相賴)以控㈣述脈衝寬度調變訊 率;而頻率訊號產生器369則接收頻率控制 控^位-ί相對應的-第六訊號。其中,抖波控制位元及頻率 :,〜7L的位70數可根據實際f要而倾。另外,可以理解的 述之抖波訊號控制^ 348及—頻率訊號控制器349亦可 根據實際應用之需求擇一設置。 綜上崎,本發明實關提供之彡維軸寬賴變方法及 =脈衝寬度調變訊號產生裝置,因考量更多(三個及以上)的 “整因素以決定最後得到驗衝寬度輕訊號,因此可以提高 解析度,進一步增加輸出能量的精確程度。 雖然本發明已以較佳實施例揭露如上,然其並非用以限定 本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍 内,當可作些許之更動與潤飾,因此本發明之保護範圍當視後 附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖1為習知技術所使用的一種PWM訊號的波形。 圖2為習知技術所採用的另一種PWM訊號的波形。 圖3為根據本發明一實施例之多維脈衝寬度調變訊號產 生裝置的電路方塊圖。 圖4為根據本發明一實施例之多維脈衝寬度調變驅動器 的電路方塊圖。 圖5為根據本發明一實施例之一種多維脈衝寬度調變方 法之流程圖。 14 1376878 圖6A〜圖6C示出根據本發明一實施例之多維脈衝寬度調 變之波形產生方式。 圖7為根據本發明另一實施例之多維脈衝寬度調變訊號 &quot; 產生裝置的電路方塊圖。 - 圖8為根據本發明另一實施例之多維脈衝寬度調變驅動 器的電路方塊圖。 【主要元件符號說明】 30 :多維脈衝寬度調變訊號產生裝置 φ 32:脈衝編碼調變器 34:多維脈衝寬度調變控制器 341 :脈衝寬度調變訊號控制器 343 :電流訊號控制器 345 :電壓訊號控制器 347 :重複率訊號控制器 348 :抖波訊號控制器 349 :頻率訊號控制器 36:多維脈衝寬度調變驅動器 • 361 :脈衝寬度調變訊號產生器 363 :電流訊號產生器 364 :處理器 365 :電壓訊號產生器 367 :重複率訊號產生器 368 :抖波訊號產生器 369 :頻率訊號產生器 38 :主控制器 40 :揚聲器 15 1376878 S510〜S550:本案一實施例之施行步驟 P:脈衝寬度調變訊號之波形週期Generator 32, a multi-dimensional pulse width modulation controller 34, a multi-dimensional pulse width modulation driver 36, and a main controller %. Wherein, the pulse code modulation H 32 sample is preceded by a coded code; the multi-dimensional pulse width modulation controller 34 is electrically coupled to the pulse code modulator 32 to receive the pulse and encode the result. The multi-dimensional pulse width modulation controller % includes a pulse width modulation signal controller 34, a current signal controller such as a voltage signal controller 345, and a repetition rate signal controller 347. The multi-dimensional pulse width modulation driver 36 is electrically touched to the multi-dimensional pulse width modulation controller 34; the main control device is connected to the Xiwei pulse width modulation controller and the multi-dimensional pulse width modulation driver 36 to be responsible for the multidimensional Pulse width job control 11 34 and multi-dimensional pulse width modulation _ 36, the modulation frequency of the _ secret daring modulation controller 34 can be varied, and the mode 1376878 of the multi-dimensional pulse width modulation driver 36 can also be changed. Referring to FIG. 4, the multi-dimensional pulse width modulation driver 36 includes a processor 364 and a pulse width modulation signal generator 361, a current signal generator 363, which are disposed corresponding to the foregoing signal controllers 341, 343, 345, and 347, The voltage signal generator 365 and the repetition rate signal generator 367. It can be understood that the multi-dimensional pulse width modulation controller 34 includes at least three of the pulse width modulation signal controller 341, the current signal controller 343, the voltage signal controller 345, and the repetition rate signal controller 347, The multi-dimensional pulse width modulation is achieved to achieve the object of the present invention; the multi-dimensional pulse width modulation driver 36 can also include a pulse width modulation signal generator 361, a current signal generator 363, a voltage signal generator 365, and a repetition rate signal generation. At least three of the 367 can be used. 5 is a flow chart of a multi-dimensional pulse width modulation method according to an embodiment of the present invention. After the multi-dimensional pulse width modulation method is started, step S510 is executed, and the main controller 38 performs setting, for example, setting the states of the signal controllers 341, 343, 345, and 347 in the multi-dimensional pulse width modulation controller 34 to enable signal control. At least three of the devices 341, 343, 345, and 347 are enabled to achieve multi-dimensional pulse width modulation. Next, in step S52, an input signal (e.g., audio material) is sampled by the pulse code modulator 32 to generate a pulse coded result. Then, step S530 is executed to determine whether each of the signal controllers 34, 345, 345, and 347 in the multi-dimensional pulse width modulation control 34 is enabled. 9 1376878 When the pulse width modulation signal controller 341 is enabled, the step is performed; § 541, the pulse width modulation signal controller 341 generates a corresponding pulse width modulation control signal according to the pulse coding result; when the current signal is controlled When the device 343 is enabled, step S543 is executed, and the current signal controller 343 generates a corresponding current control signal according to the pulse code result; when the voltage signal controller 345 is enabled, step S545 is executed, and the voltage signal controller 345 is executed. Corresponding voltage control signals are generated according to the pulse coding result; when the repetition rate signal controller 347 is enabled, step S547 is executed, and the repetition rate signal controller 347 generates a corresponding repetition rate control signal according to the pulse coding result. The control signals generated by the enabled signal controllers are output to the multi-dimensional pulse width modulation driver 36'. The multi-dimensional pulse width modulation driver 36 performs step S550 to generate corresponding pulse width modulation signals as outputs. So far, the flow of this multi-dimensional pulse width modulation method ends. For the execution of step S550, specifically, when the pulse width modulation controller 341 is enabled, the pulse width modulation signal generator 361 receives the pulse width modulation control signal to generate a corresponding first signal; When the current signal controller 343 is enabled 'the current signal generator 363 receives the current control signal to generate a corresponding second signal; when the voltage signal control 345 is enabled, the voltage signal generator 365 receives the aforementioned battery Controlling the signal to generate a corresponding second signal; when the repetition rate signal controller 347 is enabled, the repetition rate signal generator 367 receives the repetition rate control signal to generate a fourth signal; the processor 364 is based on the multi-dimensional Each signal generated by each of the signal generators 341, 343, 345, and 347 included in the pulse width modulation driver 30 generates the aforementioned pulse width modulation signal as an output. Referring to Figures 6A-6C, a waveform generation method for multi-dimensional pulse width tuning is illustrated in accordance with an embodiment of the present invention. In this embodiment, each of the signal controllers 341, 343, 345, and 347 of the multi-dimensional pulse width modulation controller 34 is enabled by the main controller 38, that is, integrated pulse width modulation, current modulation, and voltage modulation. Four-dimensional modulation such as variable and repeated pulse modulation; as shown in FIG. 6, the multi-dimensional pulse width modulation method expresses the energy included in the pulse width modulation signal according to the combination of data bits to achieve multi-dimensional pulse width modulation. purpose. The data bit combination may include at least one pulse width modulation control bit corresponding to the pulse width modulation control signal generated by the pulse width modulation controller 341, corresponding to at least one of the current control signals generated by the current signal controller 343. The current control bit corresponds to at least one voltage control bit of the voltage control signal generated by the voltage signal controller 345, and at least one repetition rate control bit corresponding to the repetition rate control signal generated by the repetition rate signal controller 347. This data bit combination uses at least three of the various control bits to achieve multi-dimensional pulse width modulation, thereby increasing the resolution to increase the accuracy of the output energy. The pulse width modulation control bit changes according to the amplitude change of the input signal. The current control bit represents an adjustment current for adjusting the energy of the modulation pulse of the pulse width modulation signal, and the current control bit can control the current intensity or the duty cycle of the adjustment current; the duty cycle of the adjustment current can be Fixed, signal. When the frequency signal controller 349 is activated by the master control code π * 丄 low ground plagiarism 38, the pulse code result generated according to the pulse full change S 32 is produced: the above data bit combination can be more Further included to J = the resignation dragon is dependent on the control (4) to determine the pulse width modulation rate; and the frequency signal generator 369 receives the frequency control control - the corresponding - sixth signal. Among them, the dithering control bit and frequency:, the number of bits 70~7L can be tilted according to the actual f. In addition, it can be understood that the jitter signal control ^ 348 and the frequency signal controller 349 can also be selected according to the needs of the actual application. In summary, the invention provides a system for measuring the shaft width and the variable width of the pulse width modulation signal, because more factors (three or more) are considered to determine the final inspection width and light signal. Therefore, the resolution can be increased to further increase the accuracy of the output energy. Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can In the scope of the invention, the scope of protection of the present invention is defined by the scope of the appended claims. [FIG. 1] A PWM signal used in the prior art. Figure 2 is a circuit block diagram of a multi-dimensional pulse width modulation signal generating apparatus according to an embodiment of the present invention. Figure 4 is a circuit block diagram of a multi-dimensional pulse width modulation signal generating apparatus according to an embodiment of the present invention. FIG. 5 is a flow chart of a multi-dimensional pulse width modulation method according to an embodiment of the invention. 14 1376878 6A to 6C are diagrams showing a waveform generation mode of a multi-dimensional pulse width modulation according to an embodiment of the present invention. Fig. 7 is a circuit block diagram of a multidimensional pulse width modulation signal &quot; generating apparatus according to another embodiment of the present invention. - Figure 8 is a circuit block diagram of a multi-dimensional pulse width modulation driver according to another embodiment of the present invention. [Major component symbol description] 30: Multi-dimensional pulse width modulation signal generating device φ 32: Pulse code modulator 34: Multidimensional Pulse width modulation controller 341: pulse width modulation signal controller 343: current signal controller 345: voltage signal controller 347: repetition rate signal controller 348: jitter signal controller 349: frequency signal controller 36: multidimensional Pulse width modulation driver • 361 : Pulse width modulation signal generator 363 : Current signal generator 364 : Processor 365 : Voltage signal generator 367 : Repeat rate signal generator 368 : Wave signal generator 369 : Frequency signal generation 38: main controller 40: speaker 15 1376878 S510~S550: implementation step 1 of the present embodiment: waveform period of pulse width modulation signal

Claims (1)

1376878 十、申請專利範圍: 1太-種多祕衝寬度調變方法,用來對—輸人訊號進行取 相對應的-脈衝寬度調變訊號,該脈衝寬度調變訊號 =括至&gt;、-個觀脈衝’此多維脈衝寬度難方法之特徵在 於· 至少一脈衝寬度調變控制位元’根據該輪入訊號之振幅改變 而改變; -舖電流控制位元’表示用來調整該調變脈衝之能量的 變脈衝之能量的 至少一電整控制位元,表示用來調整該 一調整電壓;以及 數,衝-出現的次 更包麵1嫩…崎咖變方法, 於該資料位元組合中使用至少—料处_ 調變脈衝重仙_時_。 ,:制位减控制該 更包r下範圍第1項所述之多維脈衝宽度調變方法, 調變=的資=元組合中使用至少-_控制位元以控制該 更包刪1嫩之多一咖變方法’ 17 1376878 根據該電流控制位元來控制該調整電流的電流強度而非 控制該調整電流的工作週期。 5. 如申請專利範圍第4項所述之多維脈衝寬度調變方法, 其中該調整電流的工作週期固定》 6. 如申請專利範圍第1項所述之多維脈衝寬度調變方法, 更包括下列步驟: 根據該電壓控制位元來控制該調整電壓的電壓大小而非 控制該調整電壓的工作週期。 鲁 7.如申請專利範圍第6項所述之多維脈衝寬度調變方法’ 其中該調整電壓的工作週期固定。 8. —種多維脈衝寬度調變訊號產生裝置,該多維脈衝寬度 調變訊號產生裝置取樣一輸入訊號以產生相對應的一脈衝寬 度調變訊號’該多維脈衝寬度調變訊號產生裝置包括: 一脈衝編碼調變器’取樣該輸入訊號以產生一脈衝編碼结 果; 、’一 一多維脈衝寬度調變控制’電性_接至該脈衝編碼調變 器以接收該脈衝編碼結果,該多維脈衝寬度調變控制器包括下 列四種訊號控制器中的至少三者: 一脈衝寬度調變訊號控制器’於被致能時根據該脈衝 編石馬結果產生相對應的一脈衝寬度調變控制訊號; 一電流訊號控制器,於被致能時根據該脈衝編碼結果 產生相對應的一電流控制訊號; 一電壓訊號控制器,於被致能時根據該脈衝編碼結果 產生相對應的一電壓控制訊號;以及 一重複率訊號控制器,於被致能時根據該脈衝編碼結 果產生相對應的一重複率控制訊號;以及 ^ 1376878 一多維脈衝寬度調變驅動器,電性耦接至該多維脈衝寬度 調變控制器,該多維脈衝寬度調變驅動器包括一處理器以及下 列四種訊號產生器中對應於前述各訊號控制器而被設置者: 一脈衝寬度調變訊號產生器,對應於該脈衝寬度調變 訊號控制器而被設置,接收該脈衝寬度調變控制訊號以產生相 對應的一第一訊號; 一電流訊號產生器,對應於該電流訊號控制器而被設 置’接收該電流控制訊號以產生相對應的一第二訊號;1376878 X. Patent application scope: 1 too-species multi-secret width modulation method, used to take corresponding-pulse width modulation signal for the input signal, the pulse width modulation signal = bracketed to &gt; - a viewing pulse 'this multi-dimensional pulse width difficult method is characterized in that at least one pulse width modulation control bit ' changes according to the amplitude change of the wheel signal; - the current control bit ' indicates that the modulation is used to adjust At least one electrical control bit of the energy of the pulse of the pulse energy, which is used to adjust the adjusted voltage; and the number, the rush-appearing sub-package 1 Use at least the material in the combination _ modulation pulse weight _ _ _. ,: the position reduction control, the multi-dimensional pulse width modulation method described in the first item of the range r, the use of at least the -_ control bit in the modulation = element combination to control the more One more coffee method ' 17 1376878 according to the current control bit to control the current intensity of the adjustment current instead of controlling the duty cycle of the adjustment current. 5. The multi-dimensional pulse width modulation method according to claim 4, wherein the duty cycle of the adjustment current is fixed. 6. The multi-dimensional pulse width modulation method according to claim 1 of the patent application scope, further includes the following Step: Control the voltage of the adjusted voltage according to the voltage control bit instead of controlling the duty cycle of the adjusted voltage. Lu 7. The multi-dimensional pulse width modulation method as described in claim 6 wherein the duty cycle of the adjustment voltage is fixed. 8. The multi-dimensional pulse width modulation signal generating device, the multi-dimensional pulse width modulation signal generating device samples an input signal to generate a corresponding pulse width modulation signal. The multi-dimensional pulse width modulation signal generating device comprises: The pulse code modulator samples the input signal to generate a pulse coded result; and the 'one-dimensional multi-dimensional pulse width modulation control' is electrically connected to the pulse code modulator to receive the pulse coded result, the multi-dimensional pulse The width modulation controller includes at least three of the following four signal controllers: a pulse width modulation signal controller generates a corresponding pulse width modulation control signal according to the pulse braiding result when enabled a current signal controller, when enabled, generates a corresponding current control signal according to the pulse coded result; a voltage signal controller generates a corresponding voltage control signal according to the pulse coded result when enabled And a repetition rate signal controller, when enabled, generates a corresponding repetition according to the pulse coding result a control signal; and a 1377878 multi-dimensional pulse width modulation driver electrically coupled to the multi-dimensional pulse width modulation controller, the multi-dimensional pulse width modulation driver including a processor and the following four signal generators corresponding to Each of the foregoing signal controllers is set up: a pulse width modulation signal generator is provided corresponding to the pulse width modulation signal controller, and receives the pulse width modulation control signal to generate a corresponding first signal a current signal generator, corresponding to the current signal controller, is configured to receive the current control signal to generate a corresponding second signal; 一電壓訊號產生器,對應於該電壓訊號控制器而被設 置,接收該電壓控制訊號以產生相對應的一第三訊號;以及 一重複率訊號產生器,對應於該重複率訊號控制器而 被設置,接收該重複率控制訊號以產生相對應的一第四訊號; 其中,該處理器根據該多維脈衝寬度調變驅動器所包含的 各種訊號產生器產生的訊號,產生該脈衝寬度調變訊號。 9.如申請專利範圍第8項所述之多維脈衝寬度調變訊號產 生裝置,其中, ~ 該多維脈衝寬度調變控制器更包括: -抖波峨㈣H,於概能時根據鎌衝編碼結 產生相對應的一抖波控制訊號;以及 13 該多維脈衝寬度調變驅動器更包括: 一抖波訊號產生^接找肢控伽號以產生相對 應的一第五訊號。 仰〜 10·如申#專利範圍第9項所述之多維脈衝寬度調變訊號 產生裝置’更包括-主控制器,該主控制器電性純至維 脈衝寬度調變控制器以決枝否致能該脈衝寬度調變 制器、該電流訊號控制器、該電壓訊號控制器、該重複率^ 控制,及㈣4波訊餘顧。 產生m專鄕圍第8項所狀乡維脈衝寬度調變訊號 且丹γ, 該多維脈衝寬度調變控制器更包括: 一頻率訊號控制器,於被致能時根據該脈衝編碼結果 生相對應的一頻率控制訊號;以及 該多維脈衝寬度調變驅動器更包括: 頻率訊號產生器,接收該頻率控制訊號以產生相對 應的一第五訊號。 12. 如申請專利範圍第η項所述之多維脈衝寬度調變訊號 產生裝置’更包括-主控制H,該主控制器電性耦接至該多維 脈衝寬度調變控制器以決定是否致能該脈衝寬度調變訊號控 制器、該電流訊號控制器、該電壓訊號控制器、該重複率訊號 控制器及該頻率訊號控制器。 13. 如申请專利範圍第8項所述之多維脈衝寬度調變訊號 產生裝置,更包括一主控制器,該主控制器電性耦接至該多維 脈衝寬度調變控制益以決定是否致能該脈衝寬度調變訊號控 制态、該電流訊號控制、該電壓訊號控制器及該重複率訊號 控制器。 20a voltage signal generator configured to receive the voltage control signal to generate a corresponding third signal; and a repetition rate signal generator corresponding to the repetition rate signal controller The step of receiving the repetition rate control signal to generate a corresponding fourth signal; wherein the processor generates the pulse width modulation signal according to the signal generated by the various signal generators included in the multi-dimensional pulse width modulation driver. 9. The multi-dimensional pulse width modulation signal generating device according to claim 8, wherein the multi-dimensional pulse width modulation controller further comprises: - a dithering wave (four) H, which is encoded according to a buffer when the energy is configured. Generating a corresponding dithering control signal; and 13 the multi-dimensional pulse width modulation driver further comprises: a dithering signal generating to find the limb control gamma to generate a corresponding fifth signal.仰〜10·如申# The multi-dimensional pulse width modulation signal generating device described in item 9 of the patent scope further includes a main controller, and the main controller is electrically pure to the dimensional pulse width modulation controller to determine whether The pulse width modulation device, the current signal controller, the voltage signal controller, the repetition rate control, and (4) 4 wave communication are enabled. The multi-dimensional pulse width modulation controller further includes: a frequency signal controller, which is phased according to the pulse coding result when enabled Corresponding frequency control signal; and the multi-dimensional pulse width modulation driver further comprises: a frequency signal generator, receiving the frequency control signal to generate a corresponding fifth signal. 12. The multi-dimensional pulse width modulation signal generating device as described in claim n further includes a main control H, the main controller being electrically coupled to the multi-dimensional pulse width modulation controller to determine whether to enable The pulse width modulation signal controller, the current signal controller, the voltage signal controller, the repetition rate signal controller, and the frequency signal controller. 13. The multi-dimensional pulse width modulation signal generating device of claim 8, further comprising a main controller electrically coupled to the multi-dimensional pulse width modulation control to determine whether to enable The pulse width modulation signal control state, the current signal control, the voltage signal controller, and the repetition rate signal controller. 20
TW97111783A 2008-03-31 2008-03-31 Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus TWI376878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97111783A TWI376878B (en) 2008-03-31 2008-03-31 Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97111783A TWI376878B (en) 2008-03-31 2008-03-31 Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus

Publications (2)

Publication Number Publication Date
TW200941946A TW200941946A (en) 2009-10-01
TWI376878B true TWI376878B (en) 2012-11-11

Family

ID=44868457

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97111783A TWI376878B (en) 2008-03-31 2008-03-31 Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus

Country Status (1)

Country Link
TW (1) TWI376878B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8432208B2 (en) * 2011-09-28 2013-04-30 Microchip Technology Incorporated Maintaining pulse width modulation data-set coherency
DE102012219244A1 (en) * 2012-10-22 2014-04-24 Robert Bosch Gmbh Method of power controller of electrical consumer with power output stage, involves changing duty ratio of pulse width modulation (PWM) so that actual output power correspond to target power

Also Published As

Publication number Publication date
TW200941946A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
TW512650B (en) Pulsing intelligent RF modulation controller
CN105530010B (en) Modulator and method, audio system for modulator
RU2632820C2 (en) Digital current equalizing device, analogue current equalizing device, method and system of current equalization
CA2252673C (en) Hearing aid device
CN201676401U (en) Percutaneous stimulator
WO2014190644A1 (en) Gamma curve adjustment method and gamma curve adjustment device
CN101132152A (en) Device and method for checking continuous current when switching current
JP2006313163A5 (en)
CN207473453U (en) Electronic system
TW201233027A (en) Load adaptive voltage regulator
US20150168989A1 (en) Apparatus and method for generating sinusoidal waves, and system for driving piezo actuator using the same
TWI376878B (en) Multi-dimension pulse width modulation method and multi-dimension pulse width modulation signal generating apparatus
TW200644376A (en) Method and charging apparatus controlled by computer for converting input power into required charging voltage and charging current
US20150168990A1 (en) Apparatus and method for generating sinusoidal waves, and system for driving piezoelectric actuator using the same
ITPD20100352A1 (en) CONTOUR BRIDGE CONVERTER WITH DIGITAL IMPULSE MODULATION (DPWM) TO DRIVE A LOAD.
JP2007274887A (en) Method and apparatus for controlling fan motor
JP2015127042A (en) Piezo drive circuit and drive signal generating circuit, and piezo drive device and method using the same
US20050001750A1 (en) Delta-sigma modulator
TW201415810A (en) Apparatus for differential interpolation pulse width modulation digital-to-analog conversion and output signal
US20210036737A1 (en) Synthetic analog-to-digital converter (adc) for legacy twacs meters
CN101804241B (en) Transcutaneous stimulator and method for enhancing fine movement level of human hands thereof
TW200840200A (en) Method for setting fan speed using RC frequency
Hirmer et al. Low-cost high-voltage arbitrary waveform generator for broad lifetime measurements of electroluminescent devices
JP2012134804A (en) Circuit for automatic level adjustment of audio signal
TW201025824A (en) Method and circuit for driving a voice coil motor

Legal Events

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