TW293201B

Digital pulse width modulator with integrated test and control

Abstract

A pulse width modulator circuit, which can generate pulses for the driver control unit to drive a pair of switching circuits of the electric motor. The predetermined number is then counted back to a continuous counting pulse width modulation counter that returns to 0. The pulse width modulation counter generates a predetermined number of digitized triangular waveforms with an N-bit resolution. A comparison unit that receives and compares the digitized input signal and digitizes the triangular waveform to generate an output pulse, and a first pulse and a second pulse generated from the output pulse of the comparison unit The off-time generator unit. The first and second pulses each drive a matching switch circuit and the first and second pulses have different transition times from each other. A built-in test circuit that provides built-in test input signals conforming to the first and second pulses to identify the correct operation of the pulse width modulator circuit. The modulator circuit includes a feedback path from the driver control unit. The driver control unit is more integrated than the pulse width modulator circuit, and the built-in test input signal provides individual control for each pulse width modulator signal.

TW293201B, drawing sheet 1
Sheet 1 of 4

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

17 claims: 17 independent, 0 dependent

  1. 1
    A pulse width modulator circuit that generates pulses for the driver control unit to drive a set of switch circuits of the electric motor, including:an input area for receiving an N-bit digital input signal to be modulated;and a continuous calculation from 0 to A pulse width modulator counter that counts back to 0 after a predetermined number. The pulse width modulator counter generates a predetermined number of digitized triangular waveforms with an N-bit resolution;a step that receives and digitizes the input signal and digitizes it. Triangular waveforms are compared to generate an output pulse comparison unit;and a dwell time generator unit that generates the first pulse and the second pulse from the output pulse of the comparison unit, each of the first pulse and the second pulse drives a phase For a conforming switching circuit, the first and second pulses have different switching times from each other. 一產生脈衝以使驅動器控制單元驅動電動馬達的一組開關電路的脈衝寬度調變器電路,包括:一接收將調變的一個N位元數位化輸入信號的輸入區;一從0連續計算到一預定數目再算回到0的脈衝寬度調變器計數器,脈衝寬度調變器計數器產生一符合預定數目有N位元解析度的數位化三角形波形;一接收並將數位化輸入信號與數位化三角形波形相比較以產生一輸出脈衝的比較單元;並且一從比較單元的輸出脈衝所產生第一脈衝及第二脈衝的停歇時間產生器單元,第一脈衝及第二脈衝每一個均驅動一相符合的開關電路,第一及第二脈衝彼此有不同的轉換時間。
  2. 2
    The pulse width modulator circuit according to item 1 of the scope of patent application further includes a logic circuit to receive the first and second pulses and drive the driver control unit according to the respective first and second pulses. 根據申請專利範圍第1項之脈衝寬度調變器電路,進一步包括一邏輯電路以接收第一及第二脈衝並且根據各別的第一及第二脈衝來驅動驅動器控制單元。
  3. 3
    According to the first pulse width modulator circuit in the scope of patent application, the first pulse has a first delay and the second pulse has a second delay, and the first and second delays are synchronized with the output pulses from the comparison unit. 根據申請專利範圍第1項之脈衝寬度調變器電路,其中第一脈衝有一第一延遲並且第二脈衝有第二延遲,第一及第二延遲與來自比較單元的輸出脈衝同步。
  4. 4
    The pulse width modulator circuit according to item 1 of the scope of patent application further includes a pulse width modulator control to control the pulse width modulator counter, and the pulse width modulator control provides a synchronization signal to the pulse width modulator circuit Digitize the crests and troughs of the triangular waveform. 根據申請專利範圍第1項之脈衝寬度調變器電路,進一步包括一脈衝寬度調變器控制以控制脈衝寬度調變器計數器,脈衝寬度調變器控制提供同步信號給脈衝寬度調變器電路的數位化三角形波形的波峰及波谷。
  5. 5
    According to the 4th pulse width modulator circuit in the scope of patent application, the pulse width modulator controls to provide a synchronization signal to the input area to load a digitized input signal synchronized with the pulse width modulator counter. 根據申請專利範圍第4項之脈衝寬度調變器電路,其中脈衝寬度調變器控制提供同步信號給輸入區以載入與脈衝寬度調變器計數器同步的數位化輸入信號。
  6. 6
    The pulse width modulator circuit according to item 2 of the scope of patent application further includes a pulse width modulator circuit that provides a built-in test input signal conforming to the first and second pulses to confirm that it includes a feedback path from the driver control unit A properly functioning built-in test circuit, the driver control unit has a higher degree of modulation than the pulse width modulator circuit, and the built-in program input signal provides individual control for each pulse width modulated signal. 根據申請專利範圍第2項之脈衝寬度調變器電路,進一步包括一提供符合第一和第二脈衝的內建測試輸入信號以確認包括一來自驅動器控制單元的回饋通路的脈衝寬度調變器電路正確運作的內建測試電路,該驅動器控制單元較脈衝寬度調變器電路的調變程度較高,並且內建程式輸入信號對每一個脈衝寬度調變信號提供個別控制。
  7. 7
    According to the sixth pulse width modulator circuit in the scope of patent application, the pulse width modulator circuit includes a dead time generator unit and the built-in program circuit is executed like an independent, single chip, and digital logic array. 根據申請專利範圍第6項之脈衝寬度調變器電路,其中脈衝寬度調變器電路包括停歇時間產生器單元並且內建程式電路有如獨立,單一晶片,數位邏輯陣列般地執行。
  8. 8
    According to the first pulse width modulator circuit in the scope of the patent application, the digitized triangular waveform is executed like a 9-bit counter, continuously counting from 0 to 511 and from 511 to 0, where from 0 to 511 again The calculation to 0 or from 511 to 0 to 511 represents a stage. 根據申請專利範圍第1項之脈衝寬度調變器電路,其中數位化三角形波形是有如一9位元計數器般執行,連續地從0計算到511並且從511算到0,其中從0到511再到0或是從511到0再到511的計算表示一階段。
  9. 9
    The pulse width modulator circuit according to item 8 of the scope of patent application, wherein the input area includes a digital input signal register loaded in a different period from the pulse width modulator counter, and the comparison unit compares the 9 bits of the input signal The digit value is compared with the digitized triangular waveform from the 9-bit pulse width modulator counter and an output pulse is generated. 根據申請專利範圍第8項之脈衝寬度調變器電路,其中輸入區包括載入與脈衝寬度調變器計數器不同期的數位化輸入信號暫存器,並且比較單元比較將輸入信號的9位元數位數值與從9位元脈衝寬度調變器計數器的數位化三角形波形作比較並且產生輸出脈衝。
  10. 10
    According to the 9th pulse width modulator circuit in the scope of the patent application, the output pulse is generated at the same time as the loaded input register at one stage of the triangular waveform. 根據申請專利範圍第9項之脈衝寬度調變器電路,其中在當三角形波形的一階段時,輸出脈衝才與載入的輸入暫存器同時產生。
  11. 11
    According to the 9th pulse width modulator circuit in the scope of patent application, the output pulse is at the same time as the loaded input register when counting upwards from 0 to 511 and when counting downwards from 511 to 0 produce. 根據申請專利範圍第9項之脈衝寬度調變器電路,其中在當從0到511向上數的階段以及當從511到0下數的階段時,輸出脈衝才與載入的輸入暫存器同時產生。
  12. 12
    The pulse width modulator circuit according to item 9 of the scope of patent application, in which when the output pulse is in the low state when the triangular waveform counter is lower than the digital input signal, and when the triangular waveform counter is larger than the digital input signal, it is in the low state. Logically high stage. 根據申請專利範圍第9項之脈衝寬度調變器電路,其中當輸出脈衝是在三角形波形計數器低於數位輸入信號時是在邏輯上的低狀態,以及當三角形波形計數器大於數位輸入信號時是在邏輯上的高階段時。
  13. 13
    According to the 9th item of the scope of patent application, the pulse width modulator circuit is logically high when the triangular waveform counter is lower than the digital input signal, and when the triangular waveform counter is greater than the digital input signal, it is logically high. The high stage. 根據申請專利範圍第9項之脈衝寬度調變器電路,其中當輸出脈衝在三角形波形計數器低於數位輸入信號時是在邏輯上的高狀態以及當三角形波形計數器大於數位輸入信號時是在邏輯上的高階段時。
  14. 14
    According to the 9th pulse width modulator circuit in the scope of patent application, the input register is loaded before the 9-bit counter counts up and down. 根據申請專利範圍第9項之脈衝寬度調變器電路,其中輸入暫存器是在9位元計數器向上數及向下數之前即載入。
  15. 15
    The pulse width modulator circuit according to the first item of the scope of patent application further includes a device that prevents the input signal values conforming to the peaks and valleys of the triangular waveform from being compared with the triangular waveform. 根據申請專利範圍第1項之脈衝寬度調變器電路,進一步包括使符合三角形波形波峰及波谷的輸入信號數值免於與三角形波形比較的裝置。
  16. 16
    The pulse width modulator circuit according to item 1 of the scope of patent application further includes a pulse width modulator circuit with a test signal instead of the input signal test control unit to test the pulse width modulator circuit. The test control unit will The actual pulse width modulator output pulse generated by the pulse width modulator circuit of the test signal is compared with the known output pulse corresponding to the test signal. 根據申請專利範圍第1項之脈衝寬度調變器電路,進一步包括一有測試信號的脈衝寬度調變器電路取代輸入信號測試控制單元以測試脈衝寬度調變器電路,該測試控制單元將從符合測試信號的脈衝寬度調變器電路產生的實際脈衝寬度調變器輸出脈衝與符合測試信號的已知輸出脈衝做比較。
  17. 17
    According to the 16th pulse width modulator circuit in the scope of patent application, the test signal includes all digital values from 0 to a predetermined number. 根據申請專利範圍第16項之脈衝寬度調變器電路,其中該測試信號包括從0到預定數目的所有數位數值。
Independent claims17