TWI852432B - Driver circuitry - Google Patents
Driver circuitry Download PDFInfo
- Publication number
- TWI852432B TWI852432B TW112111305A TW112111305A TWI852432B TW I852432 B TWI852432 B TW I852432B TW 112111305 A TW112111305 A TW 112111305A TW 112111305 A TW112111305 A TW 112111305A TW I852432 B TWI852432 B TW I852432B
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- signal
- digital
- supply voltage
- output
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3212—Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/016—Input arrangements with force or tactile feedback as computer generated output to the user
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J7/855—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P25/00—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
- H02P25/02—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
- H02P25/032—Reciprocating, oscillating or vibrating motors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P27/00—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
- H02P27/04—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
- H02P27/06—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters
- H02P27/08—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation
- H02P27/14—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation with three or more levels of voltage
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/181—Low-frequency amplifiers, e.g. audio preamplifiers
- H03F3/183—Low-frequency amplifiers, e.g. audio preamplifiers with semiconductor devices only
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/20—Power amplifiers, e.g. Class B amplifiers, Class C amplifiers
- H03F3/21—Power amplifiers, e.g. Class B amplifiers, Class C amplifiers with semiconductor devices only
- H03F3/217—Class D power amplifiers; Switching amplifiers
- H03F3/2173—Class D power amplifiers; Switching amplifiers of the bridge type
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K7/00—Modulating pulses with a continuously-variable modulating signal
- H03K7/08—Duration or width modulation ; Duty cycle modulation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
- G06F1/305—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J7/80—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including monitoring or indicating arrangements
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J7/80—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including monitoring or indicating arrangements
- H02J7/82—Control of state of charge [SOC]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J7/80—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries including monitoring or indicating arrangements
- H02J7/84—Control of state of health [SOH]
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2200/00—Indexing scheme relating to amplifiers
- H03F2200/03—Indexing scheme relating to amplifiers the amplifier being designed for audio applications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Power Engineering (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Electronic Switches (AREA)
- Dc-Dc Converters (AREA)
Abstract
Description
下文敘述依據本揭露之範例實施例。進一步的範例實施例及實施方式,對本揭露所屬領域具技術之人而言,乃顯而易見。又,本揭露所屬領域具技術之人將可認識到,其人可使用多種等效技術,替代或結合下文所述之實施例,且所有此種等效技術皆應視為包含於本揭露之中。The following describes exemplary embodiments according to the present disclosure. Further exemplary embodiments and implementation methods will be apparent to those skilled in the art to which the present disclosure belongs. In addition, those skilled in the art to which the present disclosure belongs will recognize that they may use a variety of equivalent technologies to replace or combine the embodiments described below, and all such equivalent technologies should be deemed to be included in the present disclosure.
本揭露中的範例實施例,係關於類比及/或數位電路,用於控制或驅動換能器(transducer)及/或電子電路。Example embodiments disclosed herein relate to analog and/or digital circuits for controlling or driving transducers and/or electronic circuits.
一種控制換能器(例如直流馬達)速度的方式,為調整施加至該馬達的供應電壓。因此,當馬達上不具有任何負載時,若供應電壓較高,則馬達速度較高,而若供應電壓較低,則馬達速度較低。然而,以此種方式控制馬達速度,會限制馬達的功率及/或扭力(torque),並導致馬達速度易受馬達負載影響。又,由於馬達速度依據供應電壓變化,故供應電壓的任何變化(例如供應電壓上升量的減少,例如因提供供應電壓的電池放電所致)亦會影響馬達速度。One way to control the speed of a transducer (e.g., a DC motor) is to adjust the supply voltage applied to the motor. Thus, when there is no load on the motor, if the supply voltage is higher, the motor speed is higher, and if the supply voltage is lower, the motor speed is lower. However, controlling the motor speed in this way limits the power and/or torque of the motor and causes the motor speed to be susceptible to the load on the motor. Also, since the motor speed varies depending on the supply voltage, any change in the supply voltage (e.g., a decrease in the amount of supply voltage rise, such as due to a discharge of a battery providing the supply voltage) will also affect the motor speed.
另一種控制換能器(例如直流馬達)速度的方式,為使用數位訊號,例如脈寬調變(PWM)或脈期調變(PDM)驅動訊號,來控制直流馬達的速度。透過馬達的數位驅動器電路所輸出的數位驅動訊號的工作週期(duty cycle)的變化,可控制馬達速度,使馬達速度被數位驅動訊號的均方根(RMS)值有效控制。在供應電壓變化的開迴路(open-loop)馬達控制系統中(例如其中數位驅動器電路的供應電壓由電池等電壓源供應),馬達速度為數位驅動訊號的工作週期及供應電壓二者的函數,因當供應電壓變化時,數位驅動訊號的均方根值亦會隨之變化。Another way to control the speed of a transducer (e.g., a DC motor) is to use a digital signal, such as a pulse width modulation (PWM) or pulse duration modulation (PDM) drive signal, to control the speed of the DC motor. The motor speed can be controlled by varying the duty cycle of the digital drive signal output by the motor's digital driver circuit, so that the motor speed is effectively controlled by the root mean square (RMS) value of the digital drive signal. In an open-loop motor control system with a varying supply voltage (e.g., where the supply voltage to a digital drive circuit is provided by a voltage source such as a battery), the motor speed is a function of both the duty cycle of the digital drive signal and the supply voltage, since the RMS value of the digital drive signal will vary as the supply voltage varies.
在另一範例實施例中,一種控制換能器(例如音效揚聲器系統)的功率效率(power efficiency)及驅動器配置的方式,為調整施加於音效揚聲器驅動器的供應電壓。音效揚聲器驅動器可使用類比驅動訊號及電路驅動音效揚聲器,例如本揭露所屬領域具技術之人習知的G類放大器(Class G amplifier)及/或H類放大器(Class H amplifier)的相關電路。在此種類比配置中,較大的輸入訊號需要較大的供應電壓,以避免輸出訊號發生削波(clipping)情形,然而此一配置將需要較多能量;而較小的輸入訊號需要的供應電壓較小,進而可節省能量,並使換能器及驅動器配置的功率效率較高。In another exemplary embodiment, a method of controlling the power efficiency and driver configuration of a transducer (e.g., an audio speaker system) is to adjust a supply voltage applied to an audio speaker driver. The audio speaker driver may drive the audio speaker using an analog drive signal and circuit, such as Class G amplifiers and/or Class H amplifiers, as known to those skilled in the art. In this analog configuration, larger input signals require larger supply voltages to avoid clipping of the output signal, but this configuration requires more energy. Smaller input signals require less supply voltage, saving energy and making the transducer and driver configuration more power efficient.
又,馬達驅動器、音效驅動器及觸覺驅動器(haptic driver)等換能器,可能需要自電池(例如鋰離子(Li-ion)電池)獲取突然且可能大量的暫態電流(transient current)。此種暫態電流需求的獨立及累積效應,可能導致例如以下結果:因電池供應電壓位準暫時低於暫時低壓(brownout)閾值,導致過早的系統暫時低壓;及/或誤導電路及包含該電路的主機裝置(host device)中的其他部件及/或系統,使其誤認為電池已到達結束充電的閾值,而事實上並未到達。此外,一個換能器的暫態需求可能造成電池供電的暫態電壓突降(dip),導致供應至其他換能器的輸出功率受到影響。又,此種同時發生的電流需求的累積功率損耗,可能導致電流及/或包含該電路的主機裝置中其他部件或系統不理想的過熱情形。In addition, transducers such as motor drivers, audio drivers, and haptic drivers may require a sudden and potentially large amount of transient current from a battery (e.g., a lithium-ion battery). The individual and cumulative effects of such transient current demands may result in, for example, premature system brownouts due to the battery supply voltage level temporarily falling below a brownout threshold, and/or misleading the circuit and other components and/or systems in a host device including the circuit into believing that the battery has reached a brownout threshold when in fact it has not. In addition, a transient demand on one transducer may cause a transient voltage dip in the battery supply, affecting the output power supplied to other transducers. Furthermore, the cumulative power loss of such simultaneous current demands may cause undesirable overheating of the current and/or other components or systems in the host device containing the circuit.
為了減輕馬達速度依賴供應電壓位準及數位驅動訊號工作週期的問題,可使用穩壓器(voltage regulator)電路,例如直流-直流轉換器電路、低壓差(LDO)穩壓器電路等,調節(regulate)數位驅動電路的供應電壓。然而,使用此種額外穩壓器電路,會增加控制直流馬達的系統的例如物理尺寸、部件數量及成本,且由於額外穩壓器電路的低效率及穩壓器電路所需的電壓餘裕(headroom),亦可能降低系統的功率效率。In order to alleviate the problem of the motor speed being dependent on the supply voltage level and the duty cycle of the digital drive signal, a voltage regulator circuit, such as a DC-DC converter circuit, a low dropout (LDO) regulator circuit, etc., may be used to regulate the supply voltage of the digital drive circuit. However, the use of such an additional voltage regulator circuit increases the physical size, number of components, and cost of the system for controlling the DC motor, and may also reduce the power efficiency of the system due to the low efficiency of the additional voltage regulator circuit and the voltage headroom required by the voltage regulator circuit.
數位驅動訊號亦可用於驅動其他換能器,例如發光二極體(LED)、觸覺換能器(haptic transducer)、諧振致動器(resonant actuator)等,而類似前文所述的問題在使用數位及/或類比驅動訊號於此等應用時亦會發生。Digital drive signals can also be used to drive other transducers, such as light emitting diodes (LEDs), haptic transducers, resonant actuators, etc., and similar problems as described above will also occur when using digital and/or analog drive signals in these applications.
依據一第一態樣,本發明提供一種電路,包括: 一數位電路,被配置為產生一數位輸出訊號;以及 一監控電路,被配置為監控該數位電路的一供應電壓,並輸出一控制訊號,用於控制該數位電路的運作,其中該控制訊號是基於該供應電壓而決定的。 According to a first aspect, the present invention provides a circuit, comprising: a digital circuit configured to generate a digital output signal; and a monitoring circuit configured to monitor a supply voltage of the digital circuit and output a control signal for controlling the operation of the digital circuit, wherein the control signal is determined based on the supply voltage.
該數位電路可運作,以基於該控制訊號,控制一數位輸出訊號的一參數。The digital circuit is operable to control a parameter of a digital output signal based on the control signal.
該數位電路可運作,以基於該控制訊號,控制該數位輸出訊號的一脈波的一脈波寬度,以維持該數位輸出訊號在每一時段的一給定平均電壓,以至少部分補償該供應電壓大小的一變化。The digital circuit is operable to control a pulse width of a pulse of the digital output signal based on the control signal to maintain a given average voltage of the digital output signal in each time period to at least partially compensate for a change in the magnitude of the supply voltage.
該電路可被配置為增加該數位輸出訊號的脈波的脈波寬度,以至少部分補償該供應電壓大小的減少。The circuit may be configured to increase the pulse width of a pulse of the digital output signal to at least partially compensate for the reduction in magnitude of the supply voltage.
該電路可被配置為減少該數位輸出訊號的脈波的脈波寬度,以至少部分補償該供應電壓大小的增加。The circuit may be configured to reduce a pulse width of a pulse of the digital output signal to at least partially compensate for the increase in magnitude of the supply voltage.
該監控電路可被配置為接收用於該數位電路的一輸入訊號,並基於該控制訊號輸出一修正輸入訊號至該數位電路,且該數位電路可被配置為基於該修正輸入訊號,產生該數位輸出訊號。The monitoring circuit may be configured to receive an input signal for the digital circuit and output a modified input signal to the digital circuit based on the control signal, and the digital circuit may be configured to generate the digital output signal based on the modified input signal.
該監控電路可包括: 一波型產生器電路,被配置為產生一電壓,該電壓具有基於該供應電壓的一大小隨時間變化的一振幅; 一比較器電路,被配置為比較該電壓與一參考電壓,並在該電壓到達該參考電壓時,輸出一比較訊號;以及 一邏輯電路,被配置為接收該輸入訊號及該比較訊號,並基於該輸入訊號及該比較訊號,產生用於該數位電路的一修正輸入訊號。 The monitoring circuit may include: a waveform generator circuit configured to generate a voltage having an amplitude that varies with time based on a magnitude of the supply voltage; a comparator circuit configured to compare the voltage with a reference voltage and output a comparison signal when the voltage reaches the reference voltage; and a logic circuit configured to receive the input signal and the comparison signal and generate a modified input signal for the digital circuit based on the input signal and the comparison signal.
該波型產生器電路可被配置為使該電壓的一增加速率與該供應電壓的大小成反比。The waveform generator circuit can be configured so that the rate of increase of the voltage is inversely proportional to the magnitude of the supply voltage.
該波型產生器電路可被配置為產生一斜坡電壓(ramp voltage)。The waveform generator circuit can be configured to generate a ramp voltage.
該監控電路可包括: 一電容; 一電壓-電流轉換器電路,被配置為基於該供應電壓,產生一第一電流; 一電流產生器電路,被配置為產生一常數電流,用於充電該電容;以及 一電流鏡像電路;以及 一電流控制電晶體,其中該電流鏡像電路被配置為將該第一電流鏡像至該電流控制電晶體的一控制端點,使該電流控制電晶體控制自該電容分出的該常數電流的一部分。 The monitoring circuit may include: a capacitor; a voltage-to-current converter circuit configured to generate a first current based on the supply voltage; a current generator circuit configured to generate a constant current for charging the capacitor; and a current mirror circuit; and a current control transistor, wherein the current mirror circuit is configured to mirror the first current to a control terminal of the current control transistor so that the current control transistor controls a portion of the constant current separated from the capacitor.
該監控電路可包括: 一類比-數位轉換器(ADC)電路,被配置為基於該供應電壓,產生一數位輸出訊號; 一計時器(timer)電路,被配置為: 接收該輸入訊號及該數位輸出訊號; 在偵測到該輸入訊號的一特徵時,開始計時一時段,其中該時段的一長度使基於該數位輸出訊號而決定的;以及 在該時段結束時,輸出一計時器輸出訊號;以及 一邏輯電路,被配置為接收該輸入訊號及該計時器輸出訊號,並基於該輸入訊號及該計時器輸出訊號,產生用於該PWM電路的一修正輸入訊號。 The monitoring circuit may include: an analog-to-digital converter (ADC) circuit configured to generate a digital output signal based on the supply voltage; a timer circuit configured to: receive the input signal and the digital output signal; start timing a time period when a feature of the input signal is detected, wherein a length of the time period is determined based on the digital output signal; and output a timer output signal at the end of the time period; and a logic circuit configured to receive the input signal and the timer output signal, and generate a modified input signal for the PWM circuit based on the input signal and the timer output signal.
該計時器電路可被配置為使該時段的該長度與該供應電壓的大小成反比。The timer circuit can be configured so that the length of the time period is inversely proportional to the magnitude of the supply voltage.
該輸入訊號的該特徵可為該輸入訊號的一脈波的一上升邊緣(rising edge)。The characteristic of the input signal may be a rising edge of a pulse of the input signal.
該監控電路可包括: 一壓控振盪器(VCO)電路,被配置為產生一振盪輸出訊號,具有基於該供應電壓的一頻率; 一計數器(counter)電路,被配置為: 接收該輸入訊號及該振盪輸出訊號; 在偵測到該輸入訊號的一特徵時,開始該振盪訊號週期數的一計數;以及 當該計數到達代表該供應電壓的一大小的一計數值時,輸出一計數器輸出訊號;以及 一邏輯電路,被配置為接收該輸入訊號及該計數器輸出訊號,並基於該輸入訊號及該計時器輸出訊號,產生用於該PWM電路的一修正輸入訊號。 The monitoring circuit may include: a voltage-controlled oscillator (VCO) circuit configured to generate an oscillating output signal having a frequency based on the supply voltage; a counter circuit configured to: receive the input signal and the oscillating output signal; start a count of the number of cycles of the oscillating signal when a feature of the input signal is detected; and output a counter output signal when the count reaches a count value representing a magnitude of the supply voltage; and a logic circuit configured to receive the input signal and the counter output signal, and generate a modified input signal for the PWM circuit based on the input signal and the counter output signal.
該VCO電路可被配置為使該振盪輸出訊號的該頻率與該供應電壓的大小成反比。The VCO circuit may be configured such that the frequency of the oscillation output signal is inversely proportional to the magnitude of the supply voltage.
該輸入訊號的該特徵可為該輸入訊號的一脈波的一上升邊緣。The characteristic of the input signal may be a rising edge of a pulse of the input signal.
該數位電路可包括一脈寬調變(PWM)電路,被配置為產生一PWM輸出訊號。The digital circuit may include a pulse width modulation (PWM) circuit configured to generate a PWM output signal.
依據一第二態樣,本發明提供一種積體電路,包括該第一態樣中的電路。According to a second aspect, the present invention provides an integrated circuit, comprising the circuit in the first aspect.
依據一第三態樣,本發明提供一種系統,包括該第一態樣中的電路,以及一輸出換能器,被配置為自該數位電路接收該數位輸出訊號。According to a third aspect, the present invention provides a system comprising the circuit in the first aspect and an output transducer configured to receive the digital output signal from the digital circuit.
該輸出換能器可包括下列之一或多者:一馬達、一發光二極體(LED)或LED陣列、一觸覺致動器、一諧振致動器及/或一伺服裝置(servo)。The output transducer may include one or more of the following: a motor, a light emitting diode (LED) or LED array, a tactile actuator, a resonant actuator and/or a servo.
依據一第四態樣,本發明提供一種裝置,包括該第一態樣中的該電路,其中該裝置包括一電池供電裝置、一電腦遊戲控制器、一虛擬實境(VR)或擴增實境(AR)裝置、一眼鏡、一行動電話、一平板電腦(tablet)或筆記型電腦、一輔助裝置(accessory device)、一耳罩式耳機(headphones)、一耳塞式耳機(earphones)或一耳機-麥克風組合(headset)。According to a fourth aspect, the present invention provides a device, comprising the circuit in the first aspect, wherein the device comprises a battery-powered device, a computer game controller, a virtual reality (VR) or augmented reality (AR) device, a pair of glasses, a mobile phone, a tablet or a laptop, an accessory device, an earmuff-type headset, an earphone, or a headset-microphone combination.
依據一第五態樣,本發明提供一種監控電路,被配置為接收施加至一數位電路的一供應電壓、及用於該數位電路的一輸入訊號,該監控電路被配置為基於該輸入訊號及該供應電壓,產生一修正輸入訊號,用於該數位電路。According to a fifth aspect, the present invention provides a monitoring circuit configured to receive a supply voltage applied to a digital circuit and an input signal for the digital circuit, and the monitoring circuit is configured to generate a modified input signal for the digital circuit based on the input signal and the supply voltage.
依據一第六態樣,本發明提供一種數位驅動器電路,包括: 一數位輸出電路;以及 一監控電路,其中該監控電路被配置為接收用於該數位輸出電路的一輸入訊號、及施加於該數位輸出驅動器電路的一供應電壓,並基於該輸入訊號及該供應電壓,產生一修正輸入訊號,用於該數位輸出電路。 According to a sixth aspect, the present invention provides a digital driver circuit, comprising: a digital output circuit; and a monitoring circuit, wherein the monitoring circuit is configured to receive an input signal for the digital output circuit and a supply voltage applied to the digital output driver circuit, and based on the input signal and the supply voltage, generate a modified input signal for the digital output circuit.
依據一第七態樣,本發明提供一種數位控制電路,包括: 一數位輸出驅動器電路,被配置為基於一輸入訊號,產生一數位訊號;以及 一電路,被配置為施加一時間位移至該數位訊號,其中該時間位移是基於施加至該數位輸出驅動器電路的一供應電壓的大小而決定的。 According to a seventh aspect, the present invention provides a digital control circuit, comprising: a digital output driver circuit, configured to generate a digital signal based on an input signal; and a circuit, configured to apply a time shift to the digital signal, wherein the time shift is determined based on the magnitude of a supply voltage applied to the digital output driver circuit.
依據一第八態樣,本發明提供一種電路,包括: 一數位訊號調變器,被配置為輸出一調變數位訊號;以及 一電路,被配置為監控對該調變器的一供應電壓,並輸出一控制訊號,用於控制該調變器,其中該控制訊號是基於該供應電壓而決定的。 According to an eighth aspect, the present invention provides a circuit comprising: a digital signal modulator configured to output a modulated digital signal; and a circuit configured to monitor a supply voltage to the modulator and output a control signal for controlling the modulator, wherein the control signal is determined based on the supply voltage.
依據一第九態樣,本發明提供一種數位訊號調變器,被配置為輸出一調變數位訊號,包括: 一電路,被配置為監控對該調變器的一供應電壓,並輸出一控制訊號,用於控制該調變器訊號,其中該控制訊號是基於該供應電壓而決定的。 According to a ninth aspect, the present invention provides a digital signal modulator configured to output a modulated digital signal, comprising: A circuit configured to monitor a supply voltage to the modulator and output a control signal for controlling the modulator signal, wherein the control signal is determined based on the supply voltage.
依據一第十態樣,本發明提供一種電路,用於以一數位訊號驅動一負載,其中該電路被配置為調節、控制或調整一個或多個數位脈波的寬度,以補償供應至該電路的一數位調變器的一供應電壓的變化,以在一給定負載條件下,維持該數位訊號在每一時段中的一恆定平均電壓。According to a tenth aspect, the present invention provides a circuit for driving a load with a digital signal, wherein the circuit is configured to regulate, control or adjust the width of one or more digital pulses to compensate for changes in a supply voltage supplied to a digital modulator of the circuit to maintain a constant average voltage of the digital signal in each time period under a given load condition.
依據一第十一態樣,本發明提供一種系統,包括: 多個驅動器電路,每一驅動器電路被配置為輸出一驅動訊號,用於驅動一負載,其中該驅動訊號是基於一輸入訊號而決定的;以及 一控制器,被配置為控制該等驅動訊號中之一者或多者的一參數,以至少部分補償該系統中一部件的變化。 According to an eleventh aspect, the present invention provides a system comprising: a plurality of driver circuits, each driver circuit being configured to output a drive signal for driving a load, wherein the drive signal is determined based on an input signal; and a controller configured to control a parameter of one or more of the drive signals to at least partially compensate for a change in a component in the system.
該等驅動訊號中之一者或多者的該參數,可包括由該等驅動器電路中之一者或多者所輸出的一數位驅動訊號的一脈波寬度或一脈波振幅。The parameter of one or more of the driving signals may include a pulse width or a pulse amplitude of a digital driving signal output by one or more of the driver circuits.
該系統更可包括一電源供應器,用於提供一供應電壓至每一該等驅動器電路。該系統中的該部件變化可包括該供應電壓的變化。The system may further include a power supply for providing a supply voltage to each of the driver circuits. The component variation in the system may include a variation of the supply voltage.
該電源供應器可包括一電池,且該系統中的該部件變化可包括該電池的一參數的變化。The power supply may include a battery, and the component change in the system may include a change in a parameter of the battery.
該電池的該參數可包括下列參數之一者或多者: 該電池的一輸出電壓; 該電池的一充電狀態; 該電池的一健康狀態;以及 該電池的一溫度。 The parameter of the battery may include one or more of the following parameters: an output voltage of the battery; a charging state of the battery; a health state of the battery; and a temperature of the battery.
該系統更可包括一穩壓器。該系統中的該部件變化可包括該穩壓器的一輸出電壓的變化。The system may further include a voltage regulator. The component variation in the system may include a variation in an output voltage of the voltage regulator.
該系統中的該部件變化的包括該系統中一寄生(parasitic)元件的變化。The component variation in the system includes a variation of a parasitic element in the system.
該寄生元件可包括一寄生電容。The parasitic element may include a parasitic capacitor.
該系統中的該部件變化可包括該部件的溫度變化。The component change in the system may include a temperature change of the component.
該系統可包括一個或多個溫度監控器,用於提供溫度資訊至該控制器。The system may include one or more temperature monitors for providing temperature information to the controller.
該系統中的該部件變化可包括一輸入訊號的一參數變化。The component change in the system may include a parameter change of an input signal.
該系統可包括一個或多個電壓監控器,用於監控一電池輸出電壓及/或一穩壓器輸出電壓。The system may include one or more voltage monitors for monitoring a battery output voltage and/or a regulator output voltage.
該系統可包括一個或多個阻抗監控器,用於測量或估計一電池的阻抗。The system may include one or more impedance monitors for measuring or estimating the impedance of a battery.
該一個或多個阻抗監控器可被配置為基於該電池的一個或多個特徵,測量或估計該電池的阻抗。The one or more impedance monitors may be configured to measure or estimate the impedance of the battery based on one or more characteristics of the battery.
該電池的該一個或多個特徵,可包括下列特徵之一者或多者:充電狀態、健康狀態、溫度、寄生元件、傳感電阻(sense resistance)及/或電池電阻。The one or more characteristics of the battery may include one or more of the following characteristics: charge state, health state, temperature, parasitic elements, sense resistance and/or battery resistance.
該控制器可被配置為估計、計算或以其他方式,基於該系統的一個或多個參數,決定每一驅動訊號的預測功率需求。The controller may be configured to estimate, calculate, or otherwise determine a predicted power requirement for each drive signal based on one or more parameters of the system.
該系統的該一個或多個參數可包括: 該驅動訊號所基於的該輸入訊號的一振幅位準; 由該驅動訊號所驅動的一負載的一特徵; 一暫態梯度,用於估計突入電流(inrush current); 一頻率; 一平均功率;及/或 一換能器效率。 The one or more parameters of the system may include: an amplitude level of the input signal on which the drive signal is based; a characteristic of a load driven by the drive signal; a transient gradient for estimating inrush current; a frequency; an average power; and/or a transducer efficiency.
該控制器可被配置為基於該等驅動訊號或該等驅動訊號的一子集合的該預測功率需求,控制該等驅動訊號中之該一者或多者的該參數。The controller may be configured to control the parameter of the one or more of the drive signals based on the predicted power demand of the drive signals or a subset of the drive signals.
該控制器可被配置為計算、估計或以其他方式,決定一總預測功率需求,並輸出一訊號,對一電池充電器控制器指示該總預測功率需求。The controller may be configured to calculate, estimate or otherwise determine a total predicted power demand and output a signal indicating the total predicted power demand to a battery charger controller.
該電池充電器控制器可被配置為基於指示該總預測功率需求的該訊號,調整一電池充電電流。The battery charger controller may be configured to adjust a battery charging current based on the signal indicative of the total predicted power demand.
依據一第十二態樣,本發明提供一種系統,包括: 多個驅動器電路,每一驅動器電路被配置為輸出一驅動訊號,用於驅動一負載; 一電源供應器,用於提供一供應電壓至該等驅動器電路;以及 一控制器,被配置為基於該供應電壓的一位準及該系統中一預期暫態負載的一指示,調節、控制或調整該等驅動訊號中之一者或多者的一參數。 According to a twelfth aspect, the present invention provides a system comprising: a plurality of driver circuits, each driver circuit being configured to output a drive signal for driving a load; a power supply for providing a supply voltage to the driver circuits; and a controller configured to regulate, control or adjust a parameter of one or more of the drive signals based on a level of the supply voltage and an indication of an expected transient load in the system.
依據一第十三態樣,本發明提供一種系統,包括: 一功率調節器(power regulator)或功率控制器,關聯於一換能器; 一個或多個處理器或控制器,用於控制該功率調節器或功率控制器;以及 一預看控制器(look-ahead controller),被配置為監控來自該系統中的該一個或多個處理器或控制器的控制訊號及/或資料訊號,該預看控制器被配置為基於一供應電壓位準及該等受監控的控制訊號及/或資料訊號,調整一換能器輸出功率。 According to a thirteenth aspect, the present invention provides a system comprising: a power regulator or power controller associated with a transducer; one or more processors or controllers for controlling the power regulator or power controller; and a look-ahead controller configured to monitor control signals and/or data signals from the one or more processors or controllers in the system, the look-ahead controller being configured to adjust a transducer output power based on a supply voltage level and the monitored control signals and/or data signals.
該預看控制器可被配置為調整該換能器輸出訊號,以: 減輕或避免暫時低壓(brownout)狀況;及/或 提供一恆定輸出位準;及/或 減少累積輸出功率需求。 The look-ahead controller may be configured to adjust the transducer output signal to: Reduce or avoid a temporary brownout condition; and/or Provide a constant output level; and/or Reduce cumulative output power requirements.
依據一第十四態樣,本發明提供一種電路,包括: 一個或多個訊號路徑,每一該等訊號路徑被配置為承載一訊號,用於驅動一負載; 一控制器電路,被配置為自該等訊號路徑中至少一者接收一資料,並輸出一控制資料至該等訊號路徑中之一者或多者,以控制該等訊號路徑中之一者或多者所承載的該訊號的一個或多個特徵。 According to a fourteenth aspect, the present invention provides a circuit, comprising: one or more signal paths, each of which is configured to carry a signal for driving a load; a controller circuit, configured to receive a data from at least one of the signal paths, and output a control data to one or more of the signal paths to control one or more characteristics of the signal carried by one or more of the signal paths.
該控制器電路自該等訊號路徑中該至少一者所接收的該資料,可包括電壓資料及/或熱量資料及/或訊號資料。The data received by the controller circuit from at least one of the signal paths may include voltage data and/or thermal data and/or signal data.
該控制器電路可包括一預看控制器電路。The controller circuit may include a look-ahead controller circuit.
該一個或多個訊號路徑可包括一類比訊號路徑及/或一數位訊號路徑。The one or more signal paths may include an analog signal path and/or a digital signal path.
每一該等訊號路徑可包括一換能器驅動器電路。Each of the signal paths may include a transducer driver circuit.
該控制器電路可被配置為輸出一控制資料,以限制關聯於該等訊號路徑中之該一者或多者的該負載的訊號功率。The controller circuit may be configured to output a control data to limit the signal power of the load associated with the one or more of the signal paths.
該控制資料可被配置為造成該等訊號路徑中之該一者或多者所承載的訊號的衰減(attenuation)。The control data may be configured to cause attenuation of a signal carried by one or more of the signal paths.
該控制器電路可被配置為輸出一控制資料,以延遲該等訊號路徑中之一者或多者中的一訊號。The controller circuit may be configured to output a control data to delay a signal in one or more of the signal paths.
依據一第十五態樣,本發明提供一種電路,包括: 一預看控制器,被配置為: 自一驅動器訊號路徑接收一訊號資料; 基於該訊號資料及/或耦接至該驅動器訊號路徑的一負載的一特徵,估計該負載的一功率需求; 至少部分基於該估計功率需求及一電源供應器參數,預測一未來供應電壓;以及 基於該預測未來供應電壓,調整該等驅動器訊號路徑中之一者或多者中的一訊號的一參數。 According to a fifteenth aspect, the present invention provides a circuit comprising: A look-ahead controller configured to: Receive a signal data from a driver signal path; Estimate a power requirement of a load based on the signal data and/or a characteristic of a load coupled to the driver signal path; Predict a future supply voltage based at least in part on the estimated power requirement and a power supply parameter; and Adjust a parameter of a signal in one or more of the driver signal paths based on the predicted future supply voltage.
該電源供應器參數可包括下列參數之一者或多者: 當前電池供應位準的一測量值;以及 該電池的一電阻-電容動態特性。 The power supply parameter may include one or more of the following parameters: A measurement of the current battery supply level; and A resistance-capacitance dynamic characteristic of the battery.
該電池的該電阻-電容動態特性可基於一電池參數而決定,該電池參數包括下列參數之一者或多者: 一充電狀態; 一健康狀態;以及 一溫度。 The resistance-capacitance dynamic characteristic of the battery can be determined based on a battery parameter, which includes one or more of the following parameters: a charging state; a health state; and a temperature.
依據一第十六態樣,本發明提供一種電路,自一電壓供應器接收一電壓,用於控制一個或多個訊號路徑,該電路包括一控制器,被配置為接收: 至少關聯於該電路的一電壓資料;及/或 至少關聯於該電路的一熱量資料;及/或 來自該一個或多個訊號路徑的一訊號資料,其中每一該等訊號路徑包括一個別換能器驅動器; 其中該電路被配置為輸出一控制資料至該一個或多個訊號路徑,用於控制該一個或多個個別訊號路徑中個別訊號的一個或多個特徵,其中該控制器為一預測控制器,基於該一個或多個接收資料,在該一個或多個個別訊號路徑的該等個別訊號自其個別換能器驅動器輸出之前,控制該一個或多個個別訊號路徑的該等個別訊號的一個或多個特徵,以減輕或避免至少關聯於該電路的不利電壓狀況及/或不利熱量狀況及/或不利訊號狀況。 According to a sixteenth aspect, the present invention provides a circuit that receives a voltage from a voltage supply for controlling one or more signal paths, the circuit comprising a controller configured to receive: At least a voltage data associated with the circuit; and/or At least a thermal data associated with the circuit; and/or A signal data from the one or more signal paths, wherein each of the signal paths comprises a separate transducer driver; The circuit is configured to output a control data to the one or more signal paths for controlling one or more characteristics of individual signals in the one or more individual signal paths, wherein the controller is a predictive controller, based on the one or more received data, before the individual signals of the one or more individual signal paths are output from their individual transducer drivers, to control one or more characteristics of the individual signals of the one or more individual signal paths to reduce or avoid at least an adverse voltage condition and/or an adverse thermal condition and/or an adverse signal condition associated with the circuit.
該不利電壓狀況可為電壓供應的暫時低壓(brownout)狀況。The adverse voltage condition may be a temporary brownout condition of the voltage supply.
該不利熱量狀況可為該電路的不理想發熱狀況。The adverse thermal condition may be an undesirable heating condition of the circuit.
該不利熱量狀況可為包含該電路的主機裝置中的其他部件的不理想發熱狀況。The adverse thermal condition may be an undesirable heating condition of other components in the host device that includes the circuit.
該電壓資料可由一電池監控器及/或一電壓監控器得出。The voltage data may be obtained from a battery monitor and/or a voltage monitor.
該電池監控器可被配置為監控一電池參數。The battery monitor may be configured to monitor a battery parameter.
該電池參數可包括下列參數中之一者或多者:該電池的充電狀態、該電池的健康狀態、及/或該電池的(及/或關聯於該電池的)寄生元件。The battery parameters may include one or more of the following parameters: the state of charge of the battery, the state of health of the battery, and/or parasitic elements of the battery (and/or associated with the battery).
該熱量資料可由一個或多個熱量監控器得出。The thermal data may be derived from one or more thermal monitors.
該訊號資料可由沿該一個或多個訊號路徑分佈的一個或多個點得出。The signal data may be derived from one or more points distributed along the one or more signal paths.
該控制資料可控制一個別訊號路徑中的至少一訊號參數。該至少一受控訊號參數可被輸入至該控制器。The control data may control at least one signal parameter in a respective signal path. The at least one controlled signal parameter may be input to the controller.
該控制資料可控制一個別訊號路徑中的至少一訊號的增益(gain)。The control data may control a gain of at least one signal in a respective signal path.
該電路可提供一恆定功率輸出。This circuit can provide a constant power output.
該控制器可輸出一總預測功率需求訊號。The controller may output a total predicted power demand signal.
該總預測功率需求訊號可被輸入至一電池控制器。The total predicted power demand signal may be input to a battery controller.
第1a圖為一簡化示意圖,顯示一電路,用於以數位訊號(例如PWM訊號)驅動換能器。此電路(以100a概括顯示)包括數位輸出驅動器電路110,耦接至負載120。負載120可為例如換能器,例如馬達、LED(或LED陣列)、伺服裝置、觸覺換能器或諧振致動器等。或者,負載120可為例如電子電路,例如音效放大器。FIG. 1a is a simplified schematic diagram showing a circuit for driving a transducer with a digital signal (e.g., a PWM signal). The circuit (shown generally as 100a) includes a digital
數位輸出驅動器電路110自電源供應器接收供應電壓VBat,該電源供應器在本範例中為電池130,然而其亦可等效地為電源供應器、電源轉換器或穩壓器等,其中該電源供應器的輸出電壓可因包含電路100a的主機裝置中的其他部件或系統所產生的暫態負載而變化。The digital
本範例中的數位輸出驅動器電路110,包括串聯的第一及第二反相器,分別以112及114表示。第一反相器112在其輸入節點140上接收一數位輸入訊號SIn,並在其輸出節點145上輸出SIn的數位反相訊號,亦即
。第二反相器114在其輸入節點145上接收數位反相訊號
,並在其輸出節點150上輸出反相的數位輸出訊號DigitalOut。因此,數位輸出訊號DigitalOut的邏輯狀態或位準與數位輸入訊號SIn相同。
The digital
第1b圖為一簡化示意圖,顯示一電路,用於以類比訊號AnalogueOut驅動換能器,在本範例實施例中,該類比訊號AnalogueOut是由數位訊號SIn衍生而得的。此電路(以100b概括顯示)包括混合訊號(亦即類比訊號及數位訊號)輸出驅動器電路111,耦接至負載120。負載120可為例如換能器,例如音效換能器、揚聲器、觸覺換能器或超音波換能器等。或者,負載120可為例如電子電路,例如音效放大器。FIG. 1b is a simplified schematic diagram showing a circuit for driving a transducer with an analog signal AnalogueOut, which in this exemplary embodiment is derived from a digital signal SIn. The circuit (generally shown as 100b) includes a mixed signal (i.e., analog and digital) output driver circuit 111 coupled to a
混合訊號輸出驅動器電路111自電源供應器接收供應電壓VBat,該電源供應器與前文參見第1a圖所述者相同。The mixed signal output driver circuit 111 receives a supply voltage VBat from a power supply, which is the same as that described above with reference to FIG. 1a.
本範例中的混合訊號輸出驅動器電路111,包括數位-類比轉換器(DAC)113,在其輸入節點140上接收數位輸入訊號SIn,並在其輸出節點146上輸出類比等效輸入訊號AIn。類比等效輸入訊號AIn被輸入至訊號路徑上的延遲電路115及直流-直流轉換器117(例如電荷幫浦)。在本範例實施例中,延遲電路115的輸出被輸入至訊號路徑上的前置放大器(pre-amplifier)119,而前置放大器119的輸出被輸入至訊號路徑上的輸出驅動器或功率放大器(power amplifier)121。輸出驅動器或功率放大器121自直流-直流轉換器117接收雙極性供應電壓,而直流-直流轉換器117是自電池130接收其供應電壓的。供應至輸出驅動器121的雙極性電壓(V+及V-)是基於類比等效輸入訊號AIn的一參數(例如振幅)被控制的,使供應至輸出驅動器121的電壓被控制為類比等效輸入訊號AIn的一參數的函數。功率放大器121在輸出節點151上輸出的輸出訊號AnalogueOut,被用於驅動負載120。此一混合訊號輸出驅動器電路111的配置及運作,乃本揭露所屬領域具技術之人所習知。本揭露所屬領域具技術之人亦將認識到,儘管100b所繪示的電路包括混合訊號(亦即類比訊號及數位訊號)輸出驅動器電路111,然而DAC 113可為某些其他電路(未圖示)的一部分,使輸出驅動器電路111成為類比輸出驅動器電路111,接收類比等效輸入訊號AIn作為輸入訊號。此外,延遲電路115可位於訊號路徑中的數位部分、而非訊號路徑中的類比部分(如第1b圖中所繪示者),位於DAC 113的上游,且直流-直流轉換器接收數位預看訊號,而非類比預看訊號。The mixed signal output driver circuit 111 in this example includes a digital-to-analog converter (DAC) 113, which receives a digital input signal SIn at its input node 140 and outputs an analog equivalent input signal AIn at its output node 146. The analog equivalent input signal AIn is input to a delay circuit 115 and a DC-DC converter 117 (e.g., a charge pump) on the signal path. In this example embodiment, the output of the delay circuit 115 is input to a pre-amplifier 119 on the signal path, and the output of the pre-amplifier 119 is input to an output driver or power amplifier 121 on the signal path. The output driver or power amplifier 121 receives a bipolar supply voltage from a DC-DC converter 117, which in turn receives its supply voltage from a
為了使每一PWN時段中的平均電壓維持恆定(並進而維持負載120的恆定輸出,例如當負載120為直流馬達時,維持恆定的馬達速度,或當負載120為LED或LED陣列時,維持恆定的發光強度),PWM輸出驅動器電路110會產生PWM輸出訊號PWMOut,其具有恆定的工作週期或標間比(mark-to-space ratio)。當供應電壓VBay維持恆定時,此一方法有效。然而,若供應電壓VBat變化,例如因電池130隨時間的放電、及/或因主機裝置中的其他部件、系統、暫態或電路自電池130引出電流,而導致供應電壓VBat下降,則PWM輸出訊號PWMOut在一PWM訊號時段中的平均電壓亦將下降,如下文參見第2圖所述。In order to maintain a constant average voltage in each PWM period (and thereby maintain a constant output of the
第2圖繪示隨著供應電壓VBat(在第2圖中以虛線顯示)在多個PWM時段P1至P5中下降,由PWM輸出驅動器電路110所輸出的範例數位(例如PWM)脈波210至250。應注意,第2圖為PWM脈波210至250的高度簡化示意圖,僅為說明方便起見而繪製。本揭露所屬領域具技術之人當可知悉,在實務應用中,PWM訊號的頻率將遠高於第2圖所示者,例如數千赫茲(Hz)至數百萬Hz的數量級。FIG. 2 shows example digital (e.g., PWM)
本揭露所屬領域具技術之人當可知悉,在第一PWM時段P1中,由PWM輸出驅動器電路110向負載120供應的平均電壓(或等效的平均功率),是以脈波210的面積表示。相似地,在每一PWM時段P2至P5中,由PWM輸出驅動器電路110向負載120供應的平均電壓,分別以脈波220至250的面積表示。It is known to those skilled in the art that in the first PWM period P1, the average voltage (or equivalent average power) supplied by the PWM
若供應電壓VBat為恆定,則在每一PWM時段P1至P5中,由PWM輸出驅動器電路110供應至負載120的平均電壓將相同,故脈波210至250將全部具有相同的面積。然而,在圖示之範例中,供應電壓VBat隨時間下降,因此儘管每一脈波210至250的寬度(亦即每一PWM時段中的啟動時間(on-time))相同,然而脈波210至250的電壓大小並非全部相同(亦即振幅或高度並非全部相同),因此每一PWM時段供應至負載120的平均電壓並非恆定。此一情況導致驅動負載120的輸出訊號PWMOut的不穩定性,進而導致例如當負載120為直流馬達時的馬達速度不穩定,或當負載120為LED或LED陣列時的發光強度不穩定。If the supply voltage VBat is constant, the average voltage supplied from the PWM
第3圖為一示意圖,顯示一電路,用於以數位(例如PWM)訊號驅動負載120,其中該數位訊號被配置為調節、控制或調整該數位訊號的一參數,例如一個或多個PWM脈波的寬度,以補償輸入至PWM調變器310的供應電壓的變化,以將每一PWM時段中的平均電壓維持恆定,並進而使負載的輸出效能維持恆定。FIG. 3 is a schematic diagram showing a circuit for driving a
此電路(在第3圖中以300概括顯示)包括與第1a圖中的電路100相同的元件。此等相同元件以相同標號表示,且不再贅述。This circuit (shown generally at 300 in FIG. 3 ) includes the same components as the
電路300包括PWM輸出驅動器電路310,其結構及運作與第1a圖中的PWM輸出驅動器電路110相同,故不再贅述。The
電路300更包括監控電路320,被配置為接收供應電壓VBat及輸入訊號SIn,並輸出修正輸入訊號SIn’至PWM輸出驅動器電路310。因此,PWM輸出驅動器電路310的運作基於修正輸入訊號SIn’而被控制,詳見下文。The
圖示範例中的PWM輸出驅動器電路310,被配置為自監控電路320接收修正輸入訊號SIn’,並基於修正輸入訊號SIn’,輸出一輸出PWM訊號PWMOut。因此,修正輸入訊號SIn’可視為一控制訊號,其係基於供應電壓VBat及輸入訊號SIn而決定,並由監控電路320輸出,用於控制PWM輸出驅動器電路310的運作。因此,電路300可回應於供應電壓VBat的變化,控制或調整PWM輸出訊號PWMOut中一個或多個脈波的脈波寬度,以維持每一PWM時段中的所需平均電壓(或等效的平均輸出功率),以維持所需的負載條件(例如當負載120為馬達時,維持所需的馬達速度)。The PWM
第4圖中繪示此一方法,其中顯示了隨著供應電壓VBat(在第4圖中以虛線顯示)在多個PWM時段P1至P5中下降,由PWM輸出驅動器電路310所輸出的範例數位(例如PWM)脈波410至450。Such an approach is illustrated in FIG. 4 , which shows example digital (eg, PWM) pulses 410 to 450 output by the PWM
對比第2途中所示的脈波210至250,脈波410至450的寬度(亦即時間長度)並不相同。反之,第一PWM時段P1的第一脈波410較第二PWM時段P2的第二脈波420及第三PWM時段P3的第三脈波430為窄(亦即時間長度較短)。第四PWM時段P4的第四脈波440較第二脈波420及第三脈波430略寬(亦即時間長度略長),而第五PWM時段P5的第五脈波450亦較第二脈波420及第三脈波430為寬(亦即時間長度較長)。(應注意,第4圖中的脈波寬度為圖示方便起見而有所誇大,故第4圖中所示的說明性脈波410至450未必具有相等的面積。然而,於下文中顯而易見地,每一脈波410至450代表了每一PWM時段的相同平均電壓。)Compared with the
因此,PWM輸出驅動器電路310控制或調整(相對於預設脈波寬度)脈波410至450的寬度,以補償供應電壓VBat的變化,使每一PWM時段P1至P5中,供應至負載120的平均電壓相同,以維持所需的負載條件(例如當負載120為馬達時的所需馬達速度)。因此,對第一脈波410而言,脈波寬度相較於第二脈波420及第三脈波430有所減少,以補償其相較於第二脈波420及第三脈波430有所上升的振幅(高度),而第五脈波450的脈波寬度相較於第二脈波420及第三脈波430有所增加,以補償其相較於第二脈波420及第三脈波430有所下降的振幅(高度)。因此,每一脈波410至450的總面積相同。Therefore, the PWM
第5圖為一示意圖,顯示一範例電路,用於實施監控電路320。在第5圖所示的本範例中,監控電路(以500概括顯示)被配置為產生修正輸入訊號SIn’,並輸出修正輸入訊號SIn’至數位(例如PWM)輸出驅動器電路510,以控制數位輸出驅動器電路510的運作。FIG. 5 is a schematic diagram showing an example circuit for implementing the
第5圖中的PWM數位輸出驅動器電路510與第1a圖中的數位PWM輸出驅動器電路110具有相同的結構與運作,故不再贅述。The PWM digital
監控電路500包括波形(斜坡)產生器電路530,被配置為接收供應電壓VBat(例如自電池130)及輸入訊號SIn,並在本範例中產生上升的斜坡電壓VRamp,該斜坡電壓VRamp的上升速率是基於供應電壓VBat的振幅而決定的。斜坡電壓VRamp被輸出至比較器電路540的第一非反相(+)輸入端。比較器電路540的第二反相(-)輸入端自合適的參考電壓源接收參考電壓或閾值電壓VRef。The
比較器電路540的輸出端耦接至邏輯電路550的第一輸入端,該邏輯電路550可包括一個或多個習知的正反器(flip-flop)或邏輯閘等。邏輯電路550的第二輸入端接收輸入訊號SIn。邏輯電路550的輸出端耦接至PWM輸出驅動器電路510的輸入端,以提供修正輸入訊號SIn’至PWM輸出驅動器電路510,以控制PWM輸出驅動器電路510的運作。The output terminal of the
監控電路500的運作,將於下文參見第6a圖及第6b圖的時序圖詳述。The operation of the
在第6a圖中,最上方的軌跡610a顯示輸入訊號SIn的單一脈波,第二軌跡620a顯示相對較低的供應電壓VBat
low下的斜坡電壓VRamp,第三軌跡630a顯示相對較低的供應電壓VBat
low下的修正輸入訊號SIn’,而第四軌跡640a顯示相對較低的供應電壓VBat
low下的PWM輸出訊號PWMOut。
In Figure 6a, the
在時間t0,當偵測到輸入訊號SIn的脈波的上升邊緣時,斜坡產生器電路530會開始產生自0伏特(V)開始上升的斜坡電壓。該斜坡電壓的變化速率∆1,亦即斜率622a,是基於供應電壓而決定的,使對於相對較高的供應電壓VBat
high而言,其斜坡電壓VRamp的上升速率慢於相對較低的供應電壓VBat
low的上升速率,亦即斜坡電壓VRamp的上升速率與供應電壓VBat成反比。
At time t0, when the rising edge of the pulse of the input signal SIn is detected, the
當供應電壓相對較低時(亦即VBat=VBat
low),斜坡電壓VRamp會在時間t1到達參考電壓VRef。在t0及t1之間,斜坡電壓VRamp小於參考電壓VRef,因此比較器電路540的輸出為低電位。因此,邏輯電路550的輸出亦為低電位,故修正輸入訊號SIn’為低電位。因此,PWM輸出訊號PWMOut為低電位。當到達參考電壓VRef時(或不久之後),斜坡電壓VRamp可被重置(reset)為0V。
When the supply voltage is relatively low (i.e., VBat=VBat low ), the ramp voltage VRamp reaches the reference voltage VRef at time t1. Between t0 and t1, the ramp voltage VRamp is less than the reference voltage VRef, so the output of the
在時間t1,斜坡電壓VRamp到達參考電壓VRef,因此比較器電路540的輸出變為高電位,進而導致邏輯電路550的輸出變為高電位,且修正輸入訊號SIn’亦變為高電位。因此,PWM輸出訊號PWMOut等於(或接近)VBat
low。
At time t1, the ramp voltage VRamp reaches the reference voltage VRef, so the output of the
在輸入訊號SIn的脈波結束時(時間t3),邏輯電路550的輸出變為低電位,SIn’變為低電位,而PWMOut再次變為低電位。When the pulse of the input signal SIn ends (time t3), the output of the
在第6b圖中,最上方的軌跡610b顯示輸入訊號SIn的單一脈波,第二軌跡620b顯示相對較高的供應電壓VBat
high下的斜坡電壓VRamp,第三軌跡630b顯示相對較高的供應電壓VBat
high下的修正輸入訊號SIn’,而第四軌跡640b顯示相對較高的供應電壓VBat
high下的PWM輸出訊號PWMOut。
In Figure 6b, the
當供應電壓相對較高時(亦即VBat=VBat
high),斜坡電壓VRamp會在晚於供應電壓相對較低時(亦即VBat=VBat
low)的時間t2到達參考電壓VRef,亦即斜坡電壓VRamp的變化速率∆2(亦即斜率622b)小於供應電壓相對較低時的變化速率。在t0及t2之間,斜坡電壓VRamp小於參考電壓VRef,因此比較器電路540的輸出為低電位。因此,邏輯電路550的輸出亦為低電位,故修正輸入訊號SIn’為低電位。因此,PWM輸出訊號PWMOut為低電位。
When the supply voltage is relatively high (i.e., VBat=VBat high ), the ramp voltage VRamp reaches the reference voltage VRef at time t2 later than when the supply voltage is relatively low (i.e., VBat=VBat low ), that is, the change rate ∆2 of the ramp voltage VRamp (i.e., the
在時間t2,斜坡電壓VRamp到達參考電壓VRef,因此比較器電路540的輸出變為高電位,進而導致邏輯電路550的輸出變為高電位,且修正輸入訊號SIn’亦變為高電位。因此,PWM輸出訊號PWMOut等於(或接近)VBat
high。當到達參考電壓VRef時(或不久之後),斜坡電壓VRamp可被重置為0V。
At time t2, the ramp voltage VRamp reaches the reference voltage VRef, so the output of the
在輸入訊號SIn的脈波結束時(時間t3),邏輯電路550的輸出變為低電位,SIn’亦變為低電位,而PWMOut再次變為低電位。When the pulse of the input signal SIn ends (time t3), the output of the
當偵測到輸入訊號SIn次一脈波的上升邊緣時,斜坡訊號VRamp為0V(或被重置為0V,若其尚未被重置為0V),並基於供應電壓VBat的大小而再次開始上升。When the rising edge of the next pulse of the input signal SIn is detected, the ramp signal VRamp is 0V (or is reset to 0V if it has not been reset to 0V), and starts to rise again based on the size of the supply voltage VBat.
由軌跡630a、630b、640a及640b可明顯看出,監控電路500透過增加輸出訊號PWMOut的PWM時段中的脈波寬度(亦即時間長度),來補償相對較低的供應電壓VBat
low,以使每一PWM時段中的平均電壓大致維持恆定,即使供應電壓的大小下降。
It is apparent from
相似地,監控電路500透過減少輸出訊號PWMOut的PWM時段中的脈波寬度(亦即時間長度),來補償相對較高的供應電壓VBat
high,以使每一PWM時段中的平均電壓大致維持恆定,即使供應電壓的大小上升。
Similarly, the
本質上,監控電路500實施了計時器電路,該計時器電路基於供應電壓VBat的大小,施加一時間位移至PWM輸出驅動器電路510所產生的PWM訊號。由該計時器電路所施加的該時間位移,透過變化PWM脈波的長度或時間長度,來補償供應電壓VBat的大小變化。Essentially, the
儘管在前文中,監控電路500的運作被敘述為產生斜坡電壓VRamp,然而本揭露所屬領域具技術之人當可知悉,波形產生器電路530未必需要產生線性斜坡,而可基於供應電壓VBat,產生某些其他具有隨時間變化的振幅的波形。Although the operation of the
第7圖為一示意圖,顯示一範例電路,實施波形產生器530,用於第5圖中的電路500。本範例中的電路包括斜坡產生器電路。FIG7 is a schematic diagram showing an example circuit implementing a
該斜坡產生器電路(在第7圖中以700概括顯示)包括放大器電路710,該放大器電路710具有第一輸入端,被配置為自可能存在的分壓器(divider)接收電壓Vin,該分壓器由串聯在接收供應電壓VBat的正電源供應電壓軌(rail)及耦接至接地端或其他合適參考電壓的參考電壓供應軌GND之間的第一電阻712及第二電阻714組成。該放大器電路的第二輸入端自包括電晶體720及第三電阻722的回授(feedback)迴圈接收回授訊號。因此,對本揭露所屬領域具技術之人顯而易見地,放大器電路710被配置以作為電壓-電流轉換器運作,以產生流經第三電阻722的電流I1,其中I1等於Vin/R,其中R為第三電阻722的電阻值。The ramp generator circuit (shown generally at 700 in FIG. 7 ) includes an
斜坡產生器電路700更包括電流產生器電路730,與第二電晶體740在供應電壓軌及參考電壓軌之間串聯耦接。電容750與電晶體740在斜坡產生器電路700的輸出節點760及參考電壓供應軌GND之間並聯耦接。The
透過電流鏡像電晶體770、780及790,電流I1被鏡像至第二電晶體740的一控制端點(例如閘極端)。The current I1 is mirrored to a control terminal (eg, gate terminal) of the
第二電晶體740運作以控制恆定電流IConst流向參考電壓供應軌GND的一部分電流。因此,基於電流I1,第二電晶體740使原本將流至電容750的電流IConst中的一部分流出(或分出),使該部分電流不流入電容750,其中電流I1正比於供應電壓VBat。因此,當VBat上升時,Vin上升,且電流I1亦上升。I1的上升被鏡像至第二電晶體740的控制端點,使第二電晶體740分出恆定電流IConst中的更大一部分,使該部分電流不流入電容750,進而降低電容750兩端的斜坡電壓VRamp的上升速率(亦即斜率)。反之,當VBat下降時,Vin下降,且電流I1亦下降。第二電晶體740分出恆定電流IConst中的較小一部分,使該部分電流不流入電容750,進而增加斜坡電壓VRamp的上升速率。因此,斜坡電壓VRamp的上升速率與供應電壓VBat成反比。The
第8圖為一示意圖,顯示另一範例電路,用於實施監控電路320。在第8圖所示之範例中,監控電路(以800概括表示)被配置為產生修正輸入訊號SIn’,並輸出修正輸入訊號SIn’至PWM輸出驅動器電路810,以控制PWM輸出驅動器電路810的運作。FIG8 is a schematic diagram showing another example circuit for implementing the
第8圖中的PWM輸出驅動器電路810與第1a圖中的數位PWM輸出驅動器電路110具有相同的結構與運作,故不再贅述。The PWM
監控電路800包括第一電阻822及第二電阻824,串聯耦接於接收供應電壓VBat的正電源供應電壓軌及參考供應電壓GND(或其他合適的參考電壓源)之間,以形成分壓器。節點826位於第一電阻822及第二電阻824之間,並耦接至類比-數位轉換器(ADC)電路830的輸入端。因此,ADC電路830接收指示供應電壓VBat的輸入電壓,並輸出代表供應電壓VBat的數位訊號VBat’。The
ADC電路830的輸出端耦接至計時器電路840的第一輸入端,進而使計時器電路接收數位訊號VBat’。計時器電路840的第二輸入端接收輸入訊號SIn。The output terminal of the
計時器電路840的輸出端耦接至邏輯電路850的第一輸入端。該邏輯電路的第二輸入端接收輸入訊號SIn。邏輯電路850可包括一個或多個習知的正反器或邏輯閘等,且被配置為接收由計時器電路840所輸出的訊號及輸入訊號SIn,並產生修正輸入訊號SIn’,以輸出至PWM輸出驅動器電路810。The output terminal of the
當監控電路800運作時,ADC電路830輸出指示供應電壓VBat的大小的數位訊號VBat’至計時器電路840。當偵測到輸入訊號SIn的脈波的上升邊緣時,計時器電路840會開始對具有固定時間長度的一時段進行計時。該固定時間長度是基於ADC電路840所輸出的數位訊號VBat’而決定的,使該時段的固定時間長度d與供應電壓的大小成反比。在該時段結束時(亦即當該固定時間長度結束時),計時器電路840輸出一訊號至邏輯電路850,使修正輸入訊號SIn’的一輸出脈波開始。修正輸入訊號SIn’的該輸出脈波在邏輯電路850偵測到輸入訊號SIn的脈波的下降邊緣時結束。When the
監控電路800的運作,將於下文參見第9a圖及第9b圖的時序圖詳述。The operation of the
在第9a圖中,最上方的軌跡910a顯示輸入訊號SIn的單一脈波,第二軌跡920a顯示計時器電路840在相對較低的供應電壓VBat
low下的運作,第三軌跡930a顯示相對較低的供應電壓VBat
low下的修正輸入訊號SIn’,而第四軌跡940a顯示相對較低的供應電壓VBat
low下的PWM輸出訊號PWMOut。
In Figure 9a, the top trace 910a shows a single pulse of the input signal SIn, the
在時間t0,當偵測到輸入訊號SIn的脈波的上升邊緣時,計時器電路840會開始對該時段計時,如前文所述,該時段具有固定時間長度d1,該固定時間長度d1是基於ADC電路830所輸出的數位訊號的數值而決定的,使對於相對較低的供應電壓VBat
low而言,其固定時間長度d1短於相對較高的供應電壓VBat
high的固定時間長度d2。因此,該時段的固定時間長度與供應電壓VBat的大小成反比。
At time t0, when the rising edge of the pulse of the input signal SIn is detected, the
當供應電壓相對較低時(亦即VBat=VBat
low),該時段的固定時間長度d1會在時間t1結束,在該時間點上計時器電路840停止計時,並提供一觸發(trigger)訊號至邏輯電路850。直到此一觸發訊號被邏輯電路850接收為止,邏輯電路850的輸出為低電位,故修正輸入訊號SIn'為低電位。因此,PWM輸出訊號PWMOut為低電位。
When the supply voltage is relatively low (i.e., VBat=VBat low ), the fixed time length d1 of the time period ends at time t1, at which time point the
在時間t1,該時段的固定時間長度d1結束,且計時器電路840輸出該觸發訊號至邏輯電路850,導致邏輯電路850的輸出變為高電位,且修正輸入訊號SIn'亦變為高電位。因此,PWM輸出訊號PWMOut等於(或接近)VBat
low。
At time t1, the fixed time length d1 of the time segment ends, and the
在輸入訊號SIn的脈波結束時(時間t3),邏輯電路850的輸出變為低電位,SIn’變為低電位,而PWMOut再次變為低電位。When the pulse of the input signal SIn ends (time t3), the output of the
在第9b圖中,最上方的軌跡910b顯示輸入訊號SIn的單一脈波,第二軌跡920b顯示計時器電路840在相對較高的供應電壓VBat
high下的運作,第三軌跡930b顯示相對較高的供應電壓VBat
high下的修正輸入訊號SIn’,而第四軌跡940b顯示相對較高的供應電壓VBat
high下的PWM輸出訊號PWMOut。
In Figure 9b, the
當供應電壓相對較高時(亦即VBat=VBat
high),該時段的固定時間長度d2會在晚於供應電壓相對較低時(亦即VBat=VBat
low)的時間t2結束,在該時間點上計時器電路840輸出一觸發訊號至邏輯電路850。直到此一觸發訊號被接收為止,邏輯電路850的輸出為低電位,故修正輸入訊號SIn'為低電位。因此,PWM輸出訊號PWMOut為低電位。
When the supply voltage is relatively high (i.e., VBat=VBat high ), the fixed time length d2 of the time segment ends at time t2 later than when the supply voltage is relatively low (i.e., VBat=VBat low ), at which time point the
在時間t2,該時段的固定時間長度d2結束,且計時器電路840輸出該觸發訊號至邏輯電路850,導致邏輯電路850的輸出變為高電位,且修正輸入訊號SIn'亦變為高電位。因此,PWM輸出訊號PWMOut等於(或接近)VBat
high。
At time t2, the fixed time length d2 of the time segment ends, and the
在輸入訊號SIn的脈波結束時(時間t3),邏輯電路850的輸出變為低電位,SIn’亦變為低電位,而PWMOut再次變為低電位。When the pulse of the input signal SIn ends (time t3), the output of the
當偵測到輸入訊號SIn次一脈波的上升邊緣時,計時器電路840重置,並開始對一新時段計時,該新時段的固定時間長度是基於當時的供應電壓VBat的大小而決定的。When the rising edge of the next pulse of the input signal SIn is detected, the
由軌跡930a、930b、940a及940b可明顯看出,監控電路800透過增加輸出訊號PWMOut的PWM時段中的脈波寬度(亦即時間長度),來補償相對較低的供應電壓VBat
low,以使每一PWM時段中的平均電壓大致維持恆定,即使供應電壓的大小下降。
It is apparent from
相似地,監控電路800透過減少輸出訊號PWMOut的PWM時段中的脈波寬度(亦即時間長度),來補償相對較高的供應電壓VBat
high,以使每一PWM時段中的平均電壓大致維持恆定,即使供應電壓的大小上升。
Similarly, the
相同地,監控電路800在本質上實施了計時器電路,該計時器電路基於供應電壓VBat的大小,施加一時間位移至PWM輸出驅動器電路810所產生的PWM訊號。由該計時器電路所施加的該時間位移,透過變化PWM脈波的長度或時間長度,來補償供應電壓VBat的大小變化。Similarly, the
第10圖為一示意圖,顯示又一範例電路,用於實施監控電路320。在第10圖所示之範例中,監控電路(以1000概括表示)被配置為產生修正輸入訊號SIn’,並輸出修正輸入訊號SIn’至PWM輸出驅動器電路1010,以控制PWM輸出驅動器電路1010的運作。FIG. 10 is a schematic diagram showing another exemplary circuit for implementing the
第10圖中的PWM輸出驅動器電路1010與第1a圖中的數位PWM輸出驅動器電路110具有相同的結構與運作,故不再贅述。The PWM
監控電路1000包括壓控振盪器(VCO)電路1030,被配置為接收供應電壓VBat,並輸出頻率為fOsc的振盪訊號SOsc,其中fOsc隨著供應電壓VBat的大小而變化。在本範例中,振盪訊號SOsc的頻率fOsc與供應電壓VBat的大小成反比,使供應電壓相對較低時(亦即VBat=VBat
low)的fOsc高於供應電壓相對較高時(亦即VBat=VBat
high)的fOsc。
The
VCO電路1030的輸出端耦接至計數器電路1040的第一輸入端。計數器電路1040的第二輸入端接收輸入訊號SIn。計數器電路1040被配置為在偵測到輸入訊號SIn的脈波的上升邊緣時,開始對其第一輸入端所接收的振盪訊號SOsc的週期進行計數,並在該計數值Cnt到達代表供應電壓VBat的計數值CntVBat時,輸出一觸發訊號至邏輯電路1050。The output terminal of the
應注意,當fOsc較高時,會比fOsc較低時更快到達代表供應電壓VBat的計數值CntVBat,因此當供應電壓VBat的大小較小時,會較快到達代表供應電壓VBat的計數值CntVBat。It should be noted that when fOsc is higher, the count value CntVBat representing the supply voltage VBat is reached faster than when fOsc is lower. Therefore, when the magnitude of the supply voltage VBat is smaller, the count value CntVBat representing the supply voltage VBat is reached faster.
計數器電路1040的輸出端耦接至邏輯電路1050的第一輸入端。邏輯電路1050的第二輸入端接收輸入訊號SIn。邏輯電路1050可包括一個或多個習知的正反器或邏輯閘等,且被配置為接收由計數器電路1040所輸出的訊號及輸入訊號SIn,並產生修正輸入訊號SIn’,以輸出至PWM輸出驅動器電路1010。The output terminal of the
當監控電路1000運作時,VCO電路1030輸出振盪訊號SOsc,該振盪訊號SOsc的頻率fOsc是基於供應至計數器電路1040的供應電源VBat的大小而決定、或指示供應電源VBat的大小。當偵測到輸入訊號SIn的脈波的上升邊緣時,計數器電路1040會開始對振盪訊號SOsc的振盪數進行計數,直到達到代表供應電壓VBat的計數值CntVBat為止,此時計數器電路1040輸出該觸發訊號至邏輯電路1050,使修正輸入訊號SIn’的一輸出脈波開始。修正輸入訊號SIn’的該輸出脈波在邏輯電路1050偵測到輸入訊號SIn的脈波的下降邊緣時結束。When the
監控電路1000的運作,將於下文參見第11a圖及第11b圖的時序圖詳述。The operation of the
在第11a圖中,最上方的軌跡1110a顯示輸入訊號SIn的單一脈波,第二軌跡1120a顯示相對較低的供應電壓VBat
low下的計數值Cnt,第三軌跡1130a顯示相對較低的供應電壓VBat
low下的修正輸入訊號SIn’,而第四軌跡1140a顯示相對較低的供應電壓VBat
low下的PWM輸出訊號PWMOut。
In Figure 11a, the
在時間t0,當偵測到輸入訊號SIn的脈波的上升邊緣時,計數器電路1040會開始對VCO電路1030所輸出的振盪訊號SOsc的週期進行計數。如前文所述,振盪訊號SOsc的頻率fOsc是基於供應電壓VBat的大小而決定的,使對於相對較低的供應電壓VBat
low而言,其頻率fOsc高於相對較高的供應電壓VBat
high下的頻率。
At time t0, when the rising edge of the pulse of the input signal SIn is detected, the
當供應電壓相對較低時(亦即VBat=VBat
low),會在時間t1到達代表供應電壓VBat大小的計數值CntVBat,在該時間點上計數器電路1040輸出觸發訊號至邏輯電路1050。直到t1為止,邏輯電路1050的輸出為低電位,故修正輸入訊號SIn'亦為低電位。因此,PWM輸出訊號PWMOut為低電位。
When the supply voltage is relatively low (i.e., VBat=VBat low ), the count value CntVBat representing the magnitude of the supply voltage VBat will be reached at time t1, at which time the
在時間t1,到達代表供應電壓VBat大小的計數值CntVBat,且計數器電路1040輸出該觸發訊號至邏輯電路1050,導致邏輯電路1050的輸出變為高電位,且修正輸入訊號SIn'亦變為高電位。因此,PWM輸出訊號PWMOut等於(或接近)VBat
low。
At time t1, the count value CntVBat representing the magnitude of the supply voltage VBat is reached, and the
在輸入訊號SIn的脈波結束時(時間t3),邏輯電路1050的輸出變為低電位,SIn’變為低電位,而PWMOut再次變為低電位。在輸入訊號SIn的脈波結束時,計數值Cnt可在適當的時間點重置為0,例如當其到達CntVBat時(或不久之後)。When the pulse of the input signal SIn ends (time t3), the output of the
在第11b圖中,最上方的軌跡1110b顯示輸入訊號SIn的單一脈波,第二軌跡1120b顯示相對較高的供應電壓VBat
high下的計數值Cnt,第三軌跡1130b顯示相對較高的供應電壓VBat
high下的修正輸入訊號SIn’,而第四軌跡1140b顯示相對較高的供應電壓VBat
high下的PWM輸出訊號PWMOut。
In Figure 11b, the
當供應電壓相對較高時(亦即VBat=VBat
high),代表供應電壓VBat大小的計數值CntVBat會在晚於供應電壓相對較低時(亦即VBat=VBat
low)的時間t2到達,在該時間點上計數器電路1040輸出該觸發訊號至邏輯電路1050。因此,直到t2為止,邏輯電路1050的輸出為低電位,故修正輸入訊號SIn'亦為低電位。因此,PWM輸出訊號PWMOut為低電位。
When the supply voltage is relatively high (i.e., VBat=VBat high ), the count value CntVBat representing the magnitude of the supply voltage VBat will arrive at time t2 later than when the supply voltage is relatively low (i.e., VBat=VBat low ), at which time the
在時間t2,到達代表供應電壓VBat大小的計數值CntVBat,且計數器電路1040輸出該觸發訊號至邏輯電路1050,導致邏輯電路1050的輸出變為高電位,且修正輸入訊號SIn'亦變為高電位。因此,PWM輸出訊號PWMOut等於(或接近)VBat
high。
At time t2, the count value CntVBat representing the magnitude of the supply voltage VBat is reached, and the
在輸入訊號SIn的脈波結束時(時間t3),邏輯電路1050的輸出變為低電位,SIn’亦變為低電位,而PWMOut再次變為低電位。在輸入訊號SIn的脈波結束時,計數值Cnt可在適當的時間點重置為0,例如當其到達CntVBat時(或不久之後)。When the pulse of the input signal SIn ends (time t3), the output of the
當偵測到輸入訊號SIn次一脈波的上升邊緣時,計數器電路1040重置(若其尚未被重置),並開始對訊號SOsc的振盪進行計數,該訊號SOsc的頻率fOsc是基於當時的供應電壓VBat的大小而決定的。When the rising edge of the next pulse of the input signal SIn is detected, the
由軌跡1130a、1130b、1140a及1140b可明顯看出,監控電路1000透過增加輸出訊號PWMOut的PWM時段中的脈波寬度(亦即時間長度),來補償相對較低的供應電壓VBat
low,以使每一PWM時段中的平均電壓大致維持恆定,即使供應電壓的大小下降。
It is apparent from
相似地,監控電路1000透過減少輸出訊號PWMOut的PWM時段中的脈波寬度(亦即時間長度),來補償相對較高的供應電壓VBat
high,以使每一PWM時段中的平均電壓大致維持恆定,即使供應電壓的大小上升。
Similarly, the
相同地,監控電路1000在本質上實施了計時器電路,該計時器電路基於供應電壓VBat的大小,施加一時間位移至PWM輸出驅動器電路1010所產生的PWM訊號。由該計時器電路所施加的該時間位移,透過變化PWM脈波的長度或時間長度,來補償供應電壓VBat的大小變化。Similarly, the
電路300可併入主機裝置中,該主機裝置可為由電池供電之裝置。例如,主機裝置可包括電腦遊戲控制器、虛擬實境(VR)或擴增實境(AR)裝置,例如頭戴式裝置或眼鏡等、行動電話、平板電腦或筆記型電腦、或輔助裝置,例如耳罩式耳機、耳塞式耳機或耳機-麥克風組合。
第12圖為一示意圖,顯示此種主機裝置中的部分元件。此主機裝置(在第12圖中以1200概括顯示)包括電池1210及負載120,該負載120可為例如輸出換能器,例如馬達、LED或LED陣列、觸覺換能器、諧振致動器或伺服裝置,或可為電子電路,例如放大器電路。負載120由PWM輸出驅動器電路310基於監控電路320所輸出的修正輸入訊號SIn'控制,如前文參見第3圖至第11圖所述。FIG. 12 is a schematic diagram showing some of the components in such a host device. The host device (generally shown as 1200 in FIG. 12 ) includes a battery 1210 and a
主機裝置1200更可包括一個或多個輸入換能器1220(以及相關的驅動器電路),該輸入換能器1220可包括例如麥克風(microphone)、搖桿(joystick)、一個或多個按鈕(button)、開關(switch)、力感測器(force sensor)、觸控感測器(touch sensor)及/或觸控式螢幕(touch screen),以及一個或多個輸出換能器1230(以及相關的驅動器電路),該輸出換能器1230可包括例如一個或多個觸覺輸出換能器、一個或多個音效輸出換能器,例如揚聲器、以及一個或多個影像輸出換能器,例如螢幕或顯示器等。The host device 1200 may further include one or more input transducers 1220 (and related driver circuits), and the input transducer 1220 may include, for example, a microphone, a joystick, one or more buttons, a switch, a force sensor, a touch sensor and/or a touch screen, and one or more output transducers 1230 (and related driver circuits), and the output transducer 1230 may include, for example, one or more tactile output transducers, one or more sound output transducers, such as speakers, and one or more image output transducers, such as a screen or display.
第13a圖為第1a及1b圖的一種變化形式,其中具有多個(N個)數位及/或類比驅動器電路110-1至110-N,分別耦接至個別的負載120-1至120-N。每一負載120-1至120-N可為例如換能器,例如:馬達、LED(或LED陣列)、伺服裝置、揚聲器、觸覺換能器、諧振致動器等,或上述各種裝置的結合。或者,負載120-1至120-N中之一者或多者亦可為例如電子電路,例如音效放大器。FIG. 13a is a variation of FIG. 1a and FIG. 1b, wherein there are multiple (N) digital and/or analog driver circuits 110-1 to 110-N, respectively coupled to individual loads 120-1 to 120-N. Each load 120-1 to 120-N may be, for example, a transducer, such as a motor, an LED (or an LED array), a servo device, a speaker, a tactile transducer, a resonant actuator, etc., or a combination of the above devices. Alternatively, one or more of the loads 120-1 to 120-N may also be, for example, an electronic circuit, such as an audio amplifier.
每一數位及/或類比輸出驅動器電路110-1至110-N自電源供應器接收一供應電壓VBat,該電源供應器在本範例中為電池130,然而該電源供應器亦可等效地為電源供應器或電源轉換器、穩壓器等,其輸出電壓可因包括電路100-N的主機裝置中的其他部件或系統所導致的暫態負載而變化。為簡明起見,當指稱數位輸出驅動器電路110-1至110-N時,亦包括對類比輸出驅動器電路111-1至111-N(參見第1b圖)、以及任何與所有數位及/或類比PWM輸出驅動器電路的指稱。Each digital and/or analog output driver circuit 110-1 to 110-N receives a supply voltage VBat from a power supply, which in this example is a
每一數位及/或類比輸出驅動器電路110-1至110-N包括相同或相似於第1a圖及第1b圖所示之電路,且每一數位及/或類比輸出驅動器電路110-1至110-N各接收一個別輸入訊號SIn-1至SIn-N,以驅動個別負載120-1至120-N。Each digital and/or analog output driver circuit 110-1 to 110-N includes the same or similar circuits as those shown in FIG. 1a and FIG. 1b, and each digital and/or analog output driver circuit 110-1 to 110-N receives a respective input signal SIn-1 to SIn-N to drive a respective load 120-1 to 120-N.
為了使個別PWM輸出訊號PWMOut-1至PWMOut-N中每一個別PWM時段的平均電壓維持恆定,並進而使每一個別負載120-1至120-N的輸出維持一致(例如當一負載120為直流馬達時,維持一致的馬達速度,或當一負載120為LED或LED陣列時,維持一致的發光強度),每一個別PWM輸出驅動器電路110-1至110-N產生一個別PWM輸出訊號PWMOut-1至PWMOut-N(或類比輸出訊號AnalogueOut-1至AnalogueOut-N,例如第13a圖中的AnalogueOut-2,若該個別輸出驅動器電路為類比輸出驅動器電路),分別具有個別的恆定工作週期(duty cycle)或標間比(mark-to-space ratio)。當供應電壓VBat維持恆定時,此一方式有效。然而,若供應電壓VBat變化,例如因電池130隨時間的放電、及/或因主機裝置中其他部件、系統、暫態或電路自電池130引出電流,導致供應電壓VBat下降,則個別PWM訊號時段中的個別PWM輸出訊號PWMOut-1至PWMOut-N的平均電壓亦會下降,如下文參見第14圖所述。In order to maintain a constant average voltage in each PWM period of the individual PWM output signals PWMOut-1 to PWMOut-N, and thereby maintain a consistent output of each individual load 120-1 to 120-N (for example, when a
第13b圖為第13a圖的一種變化形式,其中多個(N個)數位輸出驅動器電路110-1至110-N分別耦接至個別的負載120-1至120-N。每一負載120-1至120-N可為例如前文參見第13a圖所述者。第13a圖及第13b圖之間的其他相關態樣如前文參見第13a圖所述,其為本揭露所屬領域具技術之人所習知。FIG. 13b is a variation of FIG. 13a, wherein a plurality (N) of digital output driver circuits 110-1 to 110-N are coupled to respective loads 120-1 to 120-N. Each load 120-1 to 120-N may be, for example, as described above with reference to FIG. 13a. Other related aspects between FIG. 13a and FIG. 13b are as described above with reference to FIG. 13a, and are known to those skilled in the art to which the present disclosure belongs.
第14圖顯示當供應電壓VBat在多個PWM時段P1’至P5’中下降時的範例數位脈波210’至250’,通常是由該等數位輸出驅動器電路110-1至110-N中的唯一一者所輸出的。FIG. 14 shows example
針對第14圖,為了解說的清晰明確起見,以下將僅就PWM輸出驅動器電路110-1進行敘述,而本揭露所屬領域具技術之人將可認識到,相同的原則亦適用於任何及所有其他輸出驅動器電路110-2至110-N。With respect to FIG. 14 , for the sake of clarity of explanation, only the PWM output driver circuit 110 - 1 will be described below, and a person skilled in the art to which the present disclosure pertains will recognize that the same principles also apply to any and all other output driver circuits 110 - 2 to 110 -N.
應注意,第14圖為PWM脈波210’至250’的高度簡化示意圖,僅供說明之用。本揭露所屬領域具技術之人當可知悉,在實務應用中,PWM訊號的頻率將遠高於第14圖所示者,例如數千赫茲(Hz)至數百萬Hz的數量級。It should be noted that FIG. 14 is a highly simplified schematic diagram of PWM pulses 210' to 250' for illustrative purposes only. A person skilled in the art of the present disclosure will know that in practical applications, the frequency of the PWM signal will be much higher than that shown in FIG. 14, for example, on the order of several kilohertz (Hz) to several million Hz.
本揭露所屬領域具技術之人當可知悉,在第一PWM時段P1’中,PWM輸出驅動器電路110-1對其負載120-1所供應的平均電壓(或等效的平均功率),是以脈波210’的面積表示。相似地,在PWM時段P2’至P5’的每一時段中,PWM輸出驅動器電路110-1對其負載120-1所供應的平均電壓,分別以脈波220’至250’的面積表示。It is known to those skilled in the art that in the first PWM period P1', the average voltage (or equivalent average power) supplied by the PWM output driver circuit 110-1 to its load 120-1 is represented by the area of the pulse 210'. Similarly, in each of the PWM periods P2' to P5', the average voltage supplied by the PWM output driver circuit 110-1 to its load 120-1 is represented by the area of the pulses 220' to 250'.
若供應電壓VBat為恆定,則在PWM時段P1’至P5’的每一時段中,PWM輸出驅動器電路110-1對負載120-1供應的平均電壓將相同,故脈波210’至250’將具有相同的面積。然而,在圖示的範例中,供應電壓VBat隨時間下降,因此儘管每一脈波210’至250’的寬度(亦即每一PWM時段中的啟動時間)相同,然而脈波210’至250’並非全部具有相同的電壓大小(亦即振幅或高度並非全部相同),故每一PWM時段中供應至負載120-1的平均電壓及功率並非恆定。此一情況導致驅動負載120-1的輸出訊號PWMOut-1不穩定,進而導致例如當負載120-1為直流馬達時的馬達轉速不穩定,或當負載120-1為LED或LED陣列時的發光強度不穩定。If the supply voltage VBat is constant, the average voltage supplied by the PWM output driver circuit 110-1 to the load 120-1 will be the same in each of the PWM periods P1' to P5', so the pulses 210' to 250' will have the same area. However, in the illustrated example, the supply voltage VBat decreases over time, so although the width of each pulse 210' to 250' (i.e., the activation time in each PWM period) is the same, the pulses 210' to 250' do not all have the same voltage magnitude (i.e., the amplitude or height is not all the same), so the average voltage and power supplied to the load 120-1 in each PWM period are not constant. This situation causes the output signal PWMOut-1 driving the load 120-1 to be unstable, which in turn causes, for example, unstable motor speed when the load 120-1 is a DC motor, or unstable light intensity when the load 120-1 is an LED or an LED array.
如第14圖所示,有二種範例暫態事件T1及T2發生。此等暫態可能因負載120-2至120-N的任何組合及/或主機裝置中其他部件或系統的組合的過電流(over-current)需求,與PWM輸出驅動器電路110-1及其負載120-1的負載需求結合而發生。在PWM「啟動」脈波230’及240’中的灰色區段代表來自負載120-2至120-N的任何組合及/或主機裝置中其他部件或系統、且恰與PWM輸出驅動器電路110-1及其負載120-1的PWM「啟動」時段230’及240’重合的PWM「啟動」脈波,分別為230’ T及240’ T。此種PWM「啟動」時段的重合,說明了當負載120-1至120-N中的任何組合及/或主機裝置中其他部件或系統的任何組合的二個或更多PWM「啟動」脈波完全或部分重合時,暫態T1及T2如何發生,並超出供應電壓VBat的電流輸送能力。本揭露所屬領域具技術之人當可知悉,在實務應用中所導致的狀況將遠複雜於第14圖中所示者。 As shown in FIG14 , there are two example transient events T1 and T2 that occur. These transients may occur due to over-current demands of any combination of loads 120-2 to 120-N and/or other components or systems in the host device in combination with the load demands of the PWM output driver circuit 110-1 and its load 120-1. The gray segments in the PWM "start" pulses 230' and 240' represent PWM "start" pulses from any combination of loads 120-2 to 120-N and/or other components or systems in the host device that coincide with the PWM "start" time periods 230' and 240' of the PWM output driver circuit 110-1 and its load 120-1, 230' T and 240' T , respectively. This coincidence of PWM "start" time periods illustrates how transients T1 and T2 occur when two or more PWM "start" pulses from any combination of loads 120-1 to 120-N and/or any combination of other components or systems in the host device completely or partially coincide, and exceed the current delivery capability of the supply voltage VBat. A person skilled in the art of the present disclosure will be aware that the situation caused in practical application will be far more complicated than that shown in FIG. 14.
如第14圖所示,由於超過供應電壓VBat電流輸送能力的多個PWM「啟動」脈波重合,造成P3’ PWM時段中的過電流需求,導致暫態T1,使供應電壓VBat下降。然而,此一過電流需求並不足以使供應電壓VBat低於暫時低壓(brownout)閾值V BOT,而當過電流需求結束時,亦即當多個PWM「啟動」脈波結束時,供應電壓VBat回到其標稱(notional)位準。 As shown in Figure 14, due to the overlap of multiple PWM "start" pulses that exceed the current delivery capacity of the supply voltage VBat, an over-current demand is caused in the P3' PWM period, resulting in a transient T1, causing the supply voltage VBat to drop. However, this over-current demand is not enough to make the supply voltage VBat lower than the temporary low voltage (brownout) threshold V BOT , and when the over-current demand ends, that is, when the multiple PWM "start" pulses end, the supply voltage VBat returns to its nominal level.
相似地,由於超過供應電壓VBat電流輸送能力的多個PWM「啟動」脈波重合,造成P4’ PWM時段中的過電流需求,導致暫態T2,使供應電壓VBat下降。然而,在此一T2狀況中,該過電流需求足以使供應電壓VBat在過電流需求結束(亦即當多個PWM「啟動」脈波結束時)而回到其標稱位準之前,下降至低於暫時低壓閾值V BOT。然而,當供應電壓VBat低於暫時低壓閾值V BOT時,會觸發PWM輸出驅動器電路110-1至110-N及/或包括PWM輸出驅動器電路110-1至110-N的主機裝置中的其他部件或系統發生例如電源切斷(power down)等情況,並重置(reset)或完全關機。 Similarly, due to the overlap of multiple PWM "start" pulses that exceed the current delivery capacity of the supply voltage VBat, an over-current demand is caused in the P4' PWM period, resulting in a transient state T2, causing the supply voltage VBat to drop. However, in this T2 state, the over-current demand is sufficient to cause the supply voltage VBat to drop below the temporary low-voltage threshold V BOT before the over-current demand ends (i.e., when the multiple PWM "start" pulses end) and returns to its nominal level. However, when the supply voltage VBat is lower than the temporary low voltage threshold VBOT , the PWM output driver circuits 110-1 to 110-N and/or other components or systems in the host device including the PWM output driver circuits 110-1 to 110-N may be triggered to power down and reset or shut down completely.
此一PWM「啟動」時段的重合,無論是否導致觸發暫時低壓條件,皆亦可能導致裝置過熱的問題,使PWM輸出驅動器電路及/或包括PWM輸出驅動器電路110-1至110-N的主機裝置中的其他部件或系統發生例如電源切斷等情況,並重置或完全關機。This overlap of the PWM "start" period, whether or not it causes a temporary low voltage condition to be triggered, may also cause device overheating problems, causing the PWM output driver circuit and/or other components or systems in the host device including the PWM output driver circuits 110-1 to 110-N to experience power outages, reset or complete shutdown.
第15a圖為一方塊圖,代表硬體及/或韌體(firmware)及/或軟體等元件,用於監控及控制數位及/或類比輸出驅動器電路110-1至110-N(及/或111-1至111-N)中的各特徵,包括其個別訊號路徑及/或相關區塊,及/或包括數位及/或類比輸出驅動器電路110-1至110-N(及/或111-1至111-N)的主機裝置中的其他部件或系統(為了解說的清晰明確起見,並未全部繪示)。為了敘述的簡潔清晰起見,下文將僅就數位輸出驅動器電路110-1至110-N進行敘述,然而本揭露所屬領域具技術之人當可知悉,相同或相似的原理亦適用於類比輸出驅動器電路111-1至111-N。Figure 15a is a block diagram representing hardware and/or firmware and/or software components used to monitor and control various features in the digital and/or analog output driver circuits 110-1 to 110-N (and/or 111-1 to 111-N), including their individual signal paths and/or related blocks, and/or other components or systems in a host device including the digital and/or analog output driver circuits 110-1 to 110-N (and/or 111-1 to 111-N) (not all of which are shown for clarity of explanation). For the sake of brevity and clarity, the following description will only focus on the digital output driver circuits 110 - 1 to 110 -N. However, a person skilled in the art will appreciate that the same or similar principles are also applicable to the analog output driver circuits 111 - 1 to 111 -N.
每一PWM輸出驅動器電路110-1至110-N以個別的PWM輸出訊號PWMOut-1至PWMOut-N驅動個別的負載120-1至120-N(未圖示)。該等PWM輸出訊號的個別數位脈波中之一者或多者的一個或多個參數,例如脈波寬度或脈波振幅,可以例如預測控制器1100來調節、控制或調整,以補償例如供應電壓VBat及/或穩壓器供應及/或電池參數的「變化」,包括但不限於其充電狀態、健康狀態、溫度、及/或寄生元件(例如走線電阻R trace、傳感電阻R sense、系統電阻R system),及/或至少包括第15a圖的方塊圖中所示的硬體及/或韌體及/或軟體的主機裝置中的硬體、韌體及/或其他部件或系統的溫度。 Each PWM output driver circuit 110 - 1 to 110 -N drives a respective load 120 - 1 to 120 -N (not shown) with a respective PWM output signal PWMOut- 1 to PWMOut-N. One or more parameters of one or more of the individual digital pulses of the PWM output signals, such as pulse width or pulse amplitude, can be regulated, controlled or adjusted, for example, by the predictive controller 1100, to compensate for "variations" in, for example, the supply voltage VBat and/or regulator supply and/or battery parameters, including but not limited to their charge state, health state, temperature, and/or parasitic elements (such as trace resistance R trace , sense resistance R sense , system resistance R system ), and/or the temperature of hardware, firmware and/or other components or systems in a host device including at least the hardware and/or firmware and/or software shown in the block diagram of FIG. 15a.
第15a圖中所示的高層次概念,是使用暫態負載及/或其相關效應在何時及何處發生的資訊,以補償前述「變化」,並預測性地調節、控制或調整該等PWM脈波中之一者或多者的一個或多個參數。The high level concept shown in FIG. 15a is to use information about when and where the transient load and/or its associated effects occur to compensate for the aforementioned "variation" and predictively adjust, control or adjust one or more parameters of one or more of the PWM pulses.
預測控制器1100可為例如狀態機(state machine),預測性地調節、控制或調整該等PWM脈波PWMOut-1至PWMOut-N中之一者或多者的一個或多個參數,以補償例如電池/穩壓器狀態、來自一個或多個熱量監控器的熱量資訊、及/或訊號路徑上任一點的訊號SIn-1至SIn-N之任何組合及/或其個別訊號參數的「變化」。此外,預測控制器1100可例如基於其各種輸入中之一者或多者,輸出一「總預測功率需求」或類似之訊號,該訊號可被傳送至電池充電器控制器(未圖示),或電池充電器控制器的一部分,例如電池充電器狀態機,使電池充電器控制器得以動態停止或減低電池充電電流,以避免溫度過高或過電流事件發生。The predictive controller 1100 may be, for example, a state machine that predictively regulates, controls or adjusts one or more parameters of one or more of the PWM pulses PWMOut-1 to PWMOut-N to compensate for, for example, battery/regulator status, thermal information from one or more thermal monitors, and/or "changes" in any combination of signals SIn-1 to SIn-N and/or their individual signal parameters at any point in the signal path. In addition, the predictive controller 1100 may, for example, output a "total predicted power demand" or a similar signal based on one or more of its various inputs, which may be sent to a battery charger controller (not shown), or a portion of the battery charger controller, such as a battery charger state machine, so that the battery charger controller can dynamically stop or reduce the battery charging current to avoid over-temperature or over-current events.
因此,就高層次概念而言,第15a圖中所示的方法,是使用系統及/或暫態負載的資訊(及/或其相關資訊)、以及當前供應電壓位準,以控制數位訊號的一個或多個參數,例如PWM訊號的寬度,以至少減輕(或最好能防止)例如通常發生在T2的暫時低壓(brownout)狀況,及/或減低可能發生在系統中的尖峰熱量問題,及/或提供穩定的驅動強度或提供穩定的輸出功率,亦即驅動脈波面積。Therefore, in terms of a high-level concept, the method shown in Figure 15a uses information about the system and/or transient load (and/or related information thereof), and the current supply voltage level, to control one or more parameters of the digital signal, such as the width of the PWM signal, to at least alleviate (or preferably prevent) a temporary brownout condition such as that which typically occurs at T2, and/or reduce peak thermal problems that may occur in the system, and/or provide a stable drive strength or provide a stable output power, i.e., a drive pulse area.
一般而言,主機裝置包括一個或多個處理器,控制例如換能器及相關的電源穩壓器及控制器,包括電池充電器控制器。來自該一個或多個處理器及/或控制器的控制訊號及/或資料訊號,亦可在該等訊號被施加至換能器輸出之前,被控制器1100所偵測。此一訊號預看(signal lookahead)亦可提供機會,補償因換能器或穩壓器導致供應電壓VBat的任何降低,以透過降低換能器輸出功率,來減輕或避免暫時低壓狀況,或透過將輸出位準調整為供應位準,來提供穩定的輸出位準。此外,此一配置可降低累積功率需求,以減少發熱情況,尤其是(例如換能器驅動器或穩壓器中的)晶片上(on-chip)電流-電阻(I 2R)所造成的功率消耗。 Typically, the host device includes one or more processors that control, for example, the transducer and associated power regulators and controllers, including battery charger controllers. Control signals and/or data signals from the one or more processors and/or controllers may also be detected by the controller 1100 before such signals are applied to the transducer output. Such a signal lookahead may also provide an opportunity to compensate for any reduction in the supply voltage VBat caused by the transducer or regulator to mitigate or avoid a temporary low voltage condition by reducing the transducer output power, or to provide a stable output level by adjusting the output level to the supply level. Additionally, this configuration reduces cumulative power requirements to reduce heating, especially power dissipation caused by on-chip current-resistors (I 2 R), such as in transducer drivers or regulators.
每一換能器輸入訊號PWMOut-X及/或Analogue-X(其中X代表1至N之間的一數值)的功率預測值,可基於一個或多個參數而決定,例如:該換能器輸入訊號的個別輸入訊號SIn-1至SIn-N的振幅位準;已知的可選可程式化負載特徵;複雜特性(complex properties),例如但不限於暫態梯度,例如用於估計突入電流(inrush current);頻率;平均功率;及/或換能器效率。The power prediction value of each transducer input signal PWMOut-X and/or Analogue-X (where X represents a number between 1 and N) can be determined based on one or more parameters, such as: the amplitude level of the individual input signals SIn-1 to SIn-N of the transducer input signal; known and optionally programmable load characteristics; complex properties, such as but not limited to transient gradients, such as for estimating inrush current; frequency; average power; and/or transducer efficiency.
電壓供應資訊可包括例如:電壓監控器,用於測量當前的電池及(若有需要)穩壓器供應位準;及/或阻抗監控器,以基於部分或全部電池特徵,例如充電狀態、健康狀態、當前溫度、寄生元件(例如電池印刷電路板(PCB)及/或連接器的走線阻抗、電流傳感電阻及/或電池電阻,來測量或估計電池的阻抗。The voltage supply information may include, for example, a voltage monitor to measure current battery and (if necessary) regulator supply levels; and/or an impedance monitor to measure or estimate the impedance of the battery based on some or all of the battery characteristics, such as charge state, health state, current temperature, parasitic elements (such as trace impedance of the battery printed circuit board (PCB) and/or connectors, current sense resistors, and/or battery resistance).
預測訊號控制器1100可考慮每一換能器輸入的功率預測值(或該等功率預測值的可選子集合)的累積效應,聯同當前電壓供應位準及電池阻抗預測值,在換能器訊號施加至其換能器輸出之前,預測性地調節、控制或調整換能器訊號(若有需要;或調節、控制或調整換能器驅動器或穩壓器),以避免過早的電池暫時低壓,及/或減少尖峰熱量問題,及/或在供應電壓變化的情形下,提供穩定的換能器功率輸出位準(亦即驅動強度)。吾人可選擇調整全部的換能器,或僅調整該等換能器的一子集合。The predicted signal controller 1100 may consider the cumulative effect of the power prediction value (or a selectable subset of such power prediction values) at each transducer input, together with the current voltage supply level and the battery impedance prediction value, and predictively adjust, control or adjust the transducer signal (or adjust, control or adjust the transducer driver or regulator if necessary) before the transducer signal is applied to its transducer output to avoid premature battery short circuits and/or reduce peak heating problems and/or provide a stable transducer power output level (i.e., drive strength) in the event of supply voltage changes. One may choose to adjust all transducers, or only a subset of such transducers.
此外,預測訊號控制器1100亦可提供個別的訊號調整狀態至各個別功率預測器,以使該等功率預測器得以動態補償其估計值。預測控制器1100亦可考慮預先調整但被延遲的個別換能器輸入訊號S In-1_DEL至S In-N_DEL的特性,以確保大量的功率需求已被傳遞,或可使該個別功率預測值的延遲匹配於其訊號路徑延遲。 In addition, the prediction signal controller 1100 can also provide individual signal adjustment states to each individual power predictor so that the power predictors can dynamically compensate their estimates. The prediction controller 1100 can also consider the characteristics of the pre-adjusted but delayed individual transducer input signals S In-1_DEL to S In-N_DEL to ensure that a large amount of power demand has been delivered, or can match the delay of the individual power prediction value to its signal path delay.
任何訊號調整的套用,可直接施加至訊號,及/或施加至換能器的DAC/驅動器(例如當用於調變(modulate)PWM驅動訊號時,類似美國專利申請案第63/059,504號中所述者)。Any signal conditioning applied may be applied directly to the signal, and/or to the transducer's DAC/driver (e.g., when used to modulate a PWM drive signal, similar to that described in U.S. Patent Application No. 63/059,504).
對供應電壓VBat的長期測量,可為短期的估計,或可選地被過濾、延遲或平均,以對應例如解耦電容(decoupling capacitance)等效應。換能器訊號監控可包括換能器特性(例如尖峰輸出功率、老化效應等)的可程式化性(programmability)。VBat的估計可包括例如納入解耦電容的可程式化性,該等解耦電容可在需要電池充電之前提供短期充電需求,此一配置可在不過分減弱訊號(若非必要)的情況下進行最佳化。預測控制器1100亦可自一個或多個熱量監控器接收溫度資訊,此一溫度資訊可與每一換能器輸入的功率預測值的累積效應及電池狀態聯同使用,以減低換能器驅動器或穩壓器的功率消耗。該(等)溫度測量值可為瞬時測量值或一可程式化時段中的平均測量值,並與一可程式化遲滯(hysteretic)閾值被聯同考慮。The long term measurement of the supply voltage VBat may be a short term estimate, or may be optionally filtered, delayed or averaged to account for effects such as decoupling capacitance. Transducer signal monitoring may include programmability of transducer characteristics such as peak output power, aging effects, etc. The estimate of VBat may include programmability such as incorporating decoupling capacitors that may provide short term charging needs before a battery charge is required, such a configuration being optimized without excessively attenuating the signal if not necessary. The predictive controller 1100 may also receive temperature information from one or more thermal monitors, which may be used in conjunction with the cumulative effect of the power predictions at each transducer input and the battery status to reduce the power consumption of the transducer driver or regulator. The temperature measurement(s) may be instantaneous measurements or average measurements over a programmable time period and may be considered in conjunction with a programmable hysteretic threshold.
第15b圖為一簡化方塊圖,顯示硬體及/或韌體及/或軟體等元件,用於監控及控制數位及/或類比輸出訊號中用於驅動個別負載(未圖示)的特徵,包括該等元件的個別訊號路徑及/或相關區塊及/或包括數位及/或類比輸出驅動器電路的主機裝置中的其他部件或系統(為了解說的清晰明確起見,並未全部繪示)。第15b圖顯示一電路,接收來自電壓供應器(例如電池)的電壓,用於控制一個或多個訊號路徑,該電路包括控制器,被配置為自該一個或多個訊號路徑接收電壓資料及/或熱量資料及/或訊號資料,其中每一訊號路徑包括一個別換能器驅動器。該控制器亦被配置為輸出控制資料至該等訊號路徑中之一者或多者,以控制該一個或多個訊號路徑中個別訊號的一個或多個特徵。該控制器最好為預測控制器,亦即預看控制器(lookahead controller),基於所接收的電壓資料及/或熱量資料及/或訊號資料的一個或多個特徵,在該一個或多個個別訊號路徑中的該等個別訊號自其個別換能器驅動器輸出之前,控制該等個別訊號的一個或多個特徵,以減輕或避免至少與該電路相關的不利電壓狀況及/或熱量狀況及/或訊號狀況。Figure 15b is a simplified block diagram showing hardware and/or firmware and/or software components used to monitor and control characteristics of digital and/or analog output signals used to drive individual loads (not shown), including individual signal paths and/or related blocks of such components and/or other components or systems in a host device that includes digital and/or analog output driver circuits (not all of which are shown for clarity of explanation). FIG. 15b shows a circuit that receives voltage from a voltage supply (e.g., a battery) for controlling one or more signal paths, the circuit comprising a controller configured to receive voltage data and/or thermal data and/or signal data from the one or more signal paths, wherein each signal path comprises a respective transducer driver. The controller is also configured to output control data to one or more of the signal paths to control one or more characteristics of the respective signals in the one or more signal paths. The controller is preferably a predictive controller, i.e., a lookahead controller, which controls one or more characteristics of the received voltage data and/or thermal data and/or signal data before the individual signals in the one or more individual signal paths are output from their individual transducer drivers to reduce or avoid at least adverse voltage conditions and/or thermal conditions and/or signal conditions associated with the circuit.
第16圖顯示一範例換能器事件(例如觸覺輸出),其需要較高的動態功率,可能導致電池的電源供應下降或突降(dip)。基於一個或多個預看訊號及/或負載特徵,估計任一及每一換能器的訊號功率,並測量當前電池供應位準及供應解耦電容,及/或使用電池的電阻-電容(RC)動態特性(基於部分或全部的電池參數,例如充電狀態、健康狀態及溫度等),可預測未來供應電壓VBat F。透過例如在訊號被施加至其個別負載之前衰減訊號位準,調整訊號的一個或多個參數,可將未來供應電壓VBat F的預測值資訊資訊用於限制輸出換能器的訊號功率,以例如避免暫時低壓狀況及/或補償電源供應的暫態狀況,進而提供穩定的輸出功率位準,及/或減少晶片上或系統的發熱情形。 FIG. 16 shows an example transducer event (e.g., haptic output) that requires high dynamic power and may cause the battery power supply to drop or dip. Based on one or more anticipated signal and/or load characteristics, estimating the signal power of any and each transducer, and measuring the current battery supply level and supply decoupling capacitor, and/or using the battery's resistor-capacitor (RC) dynamic characteristics (based on some or all of the battery parameters, such as state of charge, health, and temperature, etc.), the future supply voltage VBat F may be predicted. Information about a predicted value of a future supply voltage VBat F may be used to limit the signal power at the output transducer by, for example, attenuating the signal level before the signal is applied to its respective load, adjusting one or more parameters of the signal, for example to avoid temporary low voltage conditions and/or compensate for temporary conditions of the power supply, thereby providing a stable output power level, and/or reducing heating on the chip or in the system.
參見第17圖,若換能器輸出訊號PWMOut-X及/或AnalogueOut-X具有足夠的預看,則可透過偏斜(skew)個別的換能器輸出訊號PWMOut-X及/或AnalogueOut-X,來完全避免暫態事件。在換能器輸出訊號可額外被調整(亦即透過在訊號中增加一額外延遲,使訊號被進一步延遲一小段時間),而不對使用者造成任何(或任何可感知的)影響的情況中,若該額外延遲訊號與一個或多個處在較佳的低功率狀態下的其他換能器輸出重合,則有機會可在不需要進行訊號調節、控制或調整的情況下,輸出該額外延遲訊號。此一訊號延遲或偏斜,最好在訊號施加至換能器之前進行,而非當訊號正施加於換能器時進行。若訊號被偏斜或延遲,則該偏斜/延遲表徵必須被使用在進行中的功率預測上。在第17圖所示之範例中,由於與輸入訊號A IN關聯的換能器處在較佳的低功率狀態,故額外延遲訊號S IN_DEL+取代換能器輸入訊號S IN_DEL被使用。 Referring to FIG. 17 , if the transducer output signals PWMOut-X and/or AnalogueOut-X have sufficient look-ahead, transient events may be avoided altogether by skew- ing individual transducer output signals PWMOut-X and/or AnalogueOut-X. In the case where the transducer output signal may be additionally conditioned (i.e., by adding an additional delay to the signal so that the signal is further delayed for a short period of time) without any (or any perceptible) impact to the user, if the additional delayed signal coincides with one or more other transducer outputs that are in a preferred low power state, there is a chance that the additional delayed signal may be output without the need for signal conditioning, control or adjustment. This signal delay or skewing is preferably done before the signal is applied to the transducer, rather than while the signal is being applied to the transducer. If the signal is skewed or delayed, then the skew/delay characterization must be used in the ongoing power prediction. In the example shown in FIG. 17 , since the transducer associated with the input signal A IN is in a preferred low power state, the additional delayed signal S IN_DEL+ is used instead of the transducer input signal S IN_DEL .
由前文敘述可明顯得知,本揭露中的電路提供了一種機制,用於動態補償施加至數位輸出驅動器電路的供應電壓的變化,使每一時段中供應至由該數位輸出驅動器電路所驅動的負載(例如換能器或電子電路)的平均電壓(或等效的平均功率)大致維持恆定,供該負載所需的運作狀態使用,進而維持穩定的負載輸出。本揭露中的電路能夠補償可用供應電壓的暫態變化(可能因電流自電源供應器中被包括該數位輸出驅動器電路的主機裝置中的其他部件或子系統引出所致)及可用供應電壓的長期變化(可能因電池隨時間的放電所致)。As is apparent from the foregoing description, the circuit disclosed herein provides a mechanism for dynamically compensating for changes in the supply voltage applied to the digital output driver circuit, so that the average voltage (or equivalent average power) supplied to the load (e.g., a transducer or an electronic circuit) driven by the digital output driver circuit in each time period is maintained approximately constant for use in the operating state required by the load, thereby maintaining a stable load output. The circuits of the present disclosure are capable of compensating for both temporary variations in available supply voltage (which may be caused by current being drawn from the power supply by other components or subsystems in the host device that includes the digital output driver circuit) and long-term variations in available supply voltage (which may be caused by discharge of the battery over time).
各實施例可以積體電路(例如一積體電路(例如單片(monolithic)積體電路)、或多個積體電路(例如多個單片積體電路),其中每一積體電路實施前述電路或系統的一部分)實施,該積體電路在某些範例中可為編解碼器(codec)或音效數位訊號處理器(audio DSP)等。各實施例可合併於電子裝置中,該電子裝置可為例如可攜式(portable)裝置及/或可以電池電源運作的裝置。該裝置可為通訊裝置,例如行動電話或智慧型手機(smartphone)等。該裝置可為運算裝置,例如筆記型電腦或平板(tablet)運算裝置。該裝置可為穿戴式裝置,例如智慧型手錶(smartwatch)。該裝置可為具有聲音控制或啟用功能的裝置,例如智慧型揚聲器(smart speaker)。在某些範例中,該裝置可為與其他產品聯同使用的輔助裝置(accessory device),例如耳機-麥克風組合(headset)、耳罩式耳機(headphones)、耳塞式耳機(earphones)、耳掛式耳機(earbuds)等。Each embodiment may be implemented as an integrated circuit (e.g., an integrated circuit (e.g., a monolithic integrated circuit) or multiple integrated circuits (e.g., multiple monolithic integrated circuits), each of which implements a portion of the aforementioned circuit or system), which may be a codec or an audio digital signal processor (audio DSP) in some examples. Each embodiment may be incorporated into an electronic device, which may be, for example, a portable device and/or a device that can operate on battery power. The device may be a communication device, such as a mobile phone or a smartphone. The device may be a computing device, such as a laptop or a tablet computing device. The device may be a wearable device, such as a smartwatch. The device may be a device with voice control or activation functions, such as a smart speaker. In some examples, the device may be an accessory device used in conjunction with other products, such as a headset, headphones, earphones, earbuds, etc.
本揭露所屬領域具技術之人當可知悉,前文所述的設備及方法的部分態樣,例如發現及配置方法,可以處理器控制碼實施,例如儲存於非揮發性載體媒體(例如磁碟、光碟(CD-ROM或DVD-ROM)、程式化記憶體(例如唯讀記憶體(韌體)))上者,或儲存於資料載體(例如光學或電訊號載體)上者。在多種應用中,各實施例可在數位訊號處理器(DSP)、特定應用積體電路(ASIC)或現場可程式化邏輯閘陣列(FPGA)上實施。因此,該處理器控制碼可包括習知的程式碼或微碼(microcode),或例如用於設定或控制ASIC或FPGA的碼。該處理器控制碼亦可包括用於動態配置可重新配置設備(例如可重新程式化邏輯閘陣列)的碼。相似地,該處理器控制碼可包括用於硬體描述語言(例如Verilog TM或超高速積體電路硬體描述語言(VHDL))的碼。本揭露所屬領域具技術之人當可知悉,該處理器控制碼可分佈在多個耦接並相互通訊的部件上。在適當情況下,各實施例亦可以運作在現場可(重新)程式化類比陣列或類似裝置上的碼實施,以配置類比硬體。 It will be appreciated by those skilled in the art to which the present disclosure pertains that some aspects of the apparatus and methods described above, such as the discovery and configuration methods, may be implemented by processor control code, such as that stored on a non-volatile carrier medium such as a magnetic disk, an optical disk (CD-ROM or DVD-ROM), a programmable memory (such as a read-only memory (firmware)), or stored on a data carrier (such as an optical or electrical signal carrier). In various applications, each embodiment may be implemented on a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA). Thus, the processor control code may include known program code or microcode, or, for example, code for setting or controlling an ASIC or FPGA. The processor control code may also include code for dynamically configuring reconfigurable devices (e.g., reprogrammable logic gate arrays). Similarly, the processor control code may include code for a hardware description language (e.g., Verilog TM or Very High Speed Integrated Circuit Hardware Description Language (VHDL)). A person skilled in the art to which the present disclosure pertains will appreciate that the processor control code may be distributed over a plurality of coupled and mutually communicating components. Where appropriate, embodiments may also operate as code implementations on field (re)programmable analog arrays or similar devices to configure analog hardware.
應注意,前述實施例是對於實施例的說明性而非限制性敘述,且本揭露所屬領域具技術之人可設計多種替換實施例,而不脫離附錄請求項的範圍。「包括」一詞並不排除請求項中未列出的元件或步驟,「一」或「一個」並不排除複數形式,單一特徵或其他單元可實現請求項中所述的數個單元的功能;且「電路」一詞乃意圖包含硬體、韌體及/或軟體的使用,包括硬體、韌體及/或軟體的組合。請求項中的任何參考編號或標記,不應視為對請求項範圍之限縮。It should be noted that the foregoing embodiments are illustrative rather than restrictive descriptions of the embodiments, and that a person skilled in the art to which the present disclosure pertains may design a variety of alternative embodiments without departing from the scope of the appended claims. The word "comprising" does not exclude components or steps not listed in the claims, "one" or "an" does not exclude plural forms, and a single feature or other unit may implement the functions of several units described in the claims; and the word "circuit" is intended to include the use of hardware, firmware and/or software, including combinations of hardware, firmware and/or software. Any reference number or mark in the claims should not be construed as limiting the scope of the claims.
100a: 電路 110: 數位輸出驅動器電路 112: 第一反相器 114: 第二反相器 120: 負載 130: 電池 140: 輸入節點 145: 節點 150: 輸出節點 VBat: 供應電壓 SIn: 數位輸入訊號 : 數位反相訊號 DigitalOut: 數位輸出訊號 100b: 電路 111: 混合訊號輸出驅動器電路 113: 數位-類比轉換器(DAC) 115: 延遲電路 117: 直流-直流轉換器 119: 前置放大器 121: 輸出驅動器(功率放大器) 146: 輸出節點 151: 輸出節點 AIn: 類比等效輸入訊號 AnalogueOut: 類比訊號 210, 220, 230, 240, 250: 數位脈波 P1, P2, P3, P4, P5: PWM時段 300: 電路 310: PWM調變器 320: 監控電路 SIn’: 修正輸入訊號 PWMOut: PWM輸出訊號 410, 420, 430, 440, 450: 數位脈波 500: 監控電路 510: 數位輸出驅動器電路 530: 波形(斜坡)產生器電路 540: 比較器電路 550: 邏輯電路 VRamp: 斜坡電壓 VRef: 參考電壓 GND: 參考電壓供應軌 610a, 620a, 630a, 640a: 軌跡 622a: 斜率 ∆1: 變化速率 VBat low: 供應電壓 t0, t1, t2, t3: 時間 610b, 620b, 630b, 640b: 軌跡 622b: 斜率 ∆2: 變化速率 VBat high: 供應電壓 700: 斜坡產生器電路 710: 放大器電路 712: 第一電阻 714: 第二電阻 720: 電晶體 722: 第三電阻 730: 電流產生器電路 740: 第二電晶體 750: 電容 760: 輸出節點 770, 780, 790: 電流鏡像電晶體 Vin: 電壓 I1: 電流 IConst: 恆定電流 800: 監控電路 810: PWM輸出驅動器電路 822: 第一電阻 824: 第二電阻 826: 節點 830: 類比-數位轉換器(ADC)電路 840: 計時器電路 850: 邏輯電路 VBat’: 數位訊號 910a, 920a, 930a, 940a: 軌跡 d1: 固定時間長度 910b, 920b, 930b, 940b: 軌跡 d2: 固定時間長度 1000: 監控電路 1010: PWM輸出驅動器電路 1030: 壓控振盪器(VCO)電路 1040: 計數器電路 1050: 邏輯電路 SOsc: 振盪訊號 Cnt: 計數值 1110a, 1120a, 1130a, 1140a: 軌跡 CntVBat: 計數值 1110b, 1120b, 1130b, 1140b: 軌跡 1200: 主機裝置 1210: 電池 1220: 輸入換能器 1230: 輸出換能器 100-N: 電路 110-1, 110-N: 數位及/或類比驅動器電路(PWM輸出驅動器電路) 111-2: 類比輸出驅動器電路 120-1, 120-2, 120-N: 負載 SIn-1, SIn-2, SIn-N: 輸入訊號 PWMOut-1, PWMOut-N: PWM輸出訊號 AnalogueOut-2: 類比輸出訊號 210’, 220’, 230’, 240’, 250’: 數位脈波 P1’, P2’, P3’, P4’, P5’: PWM時段 230’ T, 240’ T: PWM「啟動」脈波 V BOT: 暫時低壓閾值 T1, T2: 暫態事件 1100: 預測控制器 S In-1_DEL, S In-N_DEL: 換能器輸入訊號 PWMOut-X, AnalogueOut-X: 換能器輸入訊號 換能器輸入訊號 S IN_DEL+: 額外延遲訊號 100a: Circuit 110: Digital output driver circuit 112: First inverter 114: Second inverter 120: Load 130: Battery 140: Input node 145: Node 150: Output node VBat: Supply voltage SIn: Digital input signal : Digital inverted signal DigitalOut: Digital output signal 100b: Circuit 111: Mixed signal output driver circuit 113: Digital-to-analog converter (DAC) 115: Delay circuit 117: DC-to-DC converter 119: Preamplifier 121: Output driver (power amplifier) 146: Output node 151: Output node AIn: Analog equivalent input signal AnalogueOut: Analog signal 210, 220, 230, 240, 250: Digital pulse P1, P2, P3, P4, P5: PWM time segment 300: Circuit 310: PWM modulator 320: Monitoring circuit SIn': Corrected input signal PWMOut: PWM output signal 410, 420, 430, 440, 450: Digital pulse 500: Monitoring circuit 510: Digital output driver circuit 530: Waveform (ramp) generator circuit 540: Comparator circuit 550: Logic circuit VRamp: Ramp voltage VRef: Reference voltage GND: Reference voltage supply track 610a, 620a, 630a, 640a: Track 622a: Slope ∆1: Rate of change VBat low : Supply voltage t0, t1, t2, t3: Time 610b, 620b, 630b, 640b: Track 622b: Slope ∆2: Rate of change VBat high : Supply voltage 700: Ramp generator circuit 710: Amplifier circuit 712: First resistor 714: Second resistor 720: Transistor 722: Third resistor 730: Current generator circuit 740: Second transistor 750: Capacitor 760: Output node 770, 780, 790: Current mirror transistor Vin: Voltage I1: Current IConst: Constant current 800: Monitoring circuit 810: PWM output driver circuit 822: First resistor 824: Second resistor 826: Node 830: Analog-to-digital converter (ADC) circuit 840: Timer circuit 850: Logic circuit VBat': digital signal 910a, 920a, 930a, 940a: trace d1: fixed time length 910b, 920b, 930b, 940b: trace d2: fixed time length 1000: monitoring circuit 1010: PWM output driver circuit 1030: voltage-controlled oscillator (VCO) circuit 1040: counter circuit 1050: logic circuit SOsc: oscillation signal Cnt: count value 1110a, 1120a, 1130a, 1140a: trace CntVBat: count value 1110b, 1120b, 1130b, 1140b: Track 1200: Host device 1210: Battery 1220: Input transducer 1230: Output transducer 100-N: Circuit 110-1, 110-N: Digital and/or analog driver circuit (PWM output driver circuit) 111-2: Analog output driver circuit 120-1, 120-2, 120-N: Load SIn-1, SIn-2, SIn-N: Input signal PWMOut-1, PWMOut-N: PWM output signal AnalogueOut-2: Analogue output signal 210', 220', 230', 240', 250': Digital pulse P1', P2', P3', P4', P5': PWM period 230' T , 240' T : PWM "start" pulse V BOT : temporary low voltage threshold T1, T2: transient event 1100: predictive controller S In-1_DEL , S In-N_DEL : transducer input signal PWMOut-X, AnalogueOut-X: transducer input signal transducer input signal S IN_DEL+ : additional delay signal
下文關於本發明各實施例的敘述僅作為範例之用,並參照附隨之圖式敘述,其中: 第1a圖為一示意圖,顯示一電路,用於以數位訊號驅動換能器; 第1b圖為一示意圖,顯示一電路,用於以類比訊號驅動換能器; 第2圖為一圖表,顯示第1a圖中的電路隨時間變化所輸出的數位訊號; 第3圖為一示意圖,依據本揭露,顯示一範例電路,用於以數位訊號驅動換能器; 第4圖為一圖表,顯示第3圖中的電路隨時間變化所輸出的數位訊號; 第5圖為一示意圖,顯示一範例監控電路,用於第3圖的電路中; 第6a圖及第6b圖為時序圖,顯示第5圖中的電路的運作情形; 第7圖為一示意圖,顯示一範例斜坡電壓產生器電路; 第8圖為一示意圖,顯示另一範例監控電路; 第9a圖及第9b圖為時序圖,顯示第8圖中的電路的運作情形; 第10圖為一示意圖,顯示又一範例監控電路; 第11a圖及第11b圖為時序圖,顯示第10圖中的電路的運作情形; 第12圖為一示意圖,顯示一主機裝置,包含第3圖中的電路; 第13a圖為一示意圖,顯示一電路,用於以多個個別數位訊號,驅動多個換能器; 第13b圖為一示意圖,顯示一電路,用於以多個個別數位訊號,驅動多個換能器; 第14圖為一圖表,顯示第13a圖或第13b圖中的電路隨時間變化的數位訊號輸出; 第15a圖為一示意方塊圖,顯示監控元件及控制元件; 第15b圖為一簡化示意方塊圖,顯示監控元件及控制元件; 第16圖繪示說明性波形,顯示高動態負載下的換能器事件;以及 第17圖顯示換能器訊號的延遲。 The following description of the various embodiments of the present invention is for illustrative purposes only and refers to the accompanying drawings, wherein: Figure 1a is a schematic diagram showing a circuit for driving a transducer with a digital signal; Figure 1b is a schematic diagram showing a circuit for driving a transducer with an analog signal; Figure 2 is a graph showing the digital signal output by the circuit in Figure 1a as it changes over time; Figure 3 is a schematic diagram showing an example circuit for driving a transducer with a digital signal according to the present disclosure; Figure 4 is a graph showing the digital signal output by the circuit in Figure 3 as it changes over time; Figure 5 is a schematic diagram showing an example monitoring circuit for use in the circuit in Figure 3; Figures 6a and 6b are timing diagrams showing the operation of the circuit in Figure 5; Figure 7 is a schematic diagram showing an example ramp voltage generator circuit; Figure 8 is a schematic diagram showing another example monitoring circuit; Figures 9a and 9b are timing diagrams showing the operation of the circuit in Figure 8; Figure 10 is a schematic diagram showing another example monitoring circuit; Figures 11a and 11b are timing diagrams showing the operation of the circuit in Figure 10; Figure 12 is a schematic diagram showing a host device including the circuit in Figure 3; Figure 13a is a schematic diagram showing a circuit for driving multiple transducers with multiple individual digital signals; FIG. 13b is a schematic diagram showing a circuit for driving multiple transducers with multiple individual digital signals; FIG. 14 is a graph showing the digital signal output of the circuit in FIG. 13a or FIG. 13b as a function of time; FIG. 15a is a schematic block diagram showing monitoring elements and control elements; FIG. 15b is a simplified schematic block diagram showing monitoring elements and control elements; FIG. 16 shows illustrative waveforms showing transducer events under high dynamic load; and FIG. 17 shows the delay of the transducer signal.
120:負載 120: Load
130:電池 130:Battery
300:電路 300: Circuit
310:PWM調變器 310:PWM modulator
320:監控電路 320: Monitoring circuit
VBat:供應電壓 VBat: supply voltage
SIn:數位輸入訊號 SIn: digital input signal
SIn’:修正輸入訊號 SIn’: Corrected input signal
PWMOut:PWM輸出訊號 PWMOut: PWM output signal
Claims (20)
Applications Claiming Priority (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202063077159P | 2020-09-11 | 2020-09-11 | |
| US63/077,159 | 2020-09-11 | ||
| GB2102561.4 | 2021-02-23 | ||
| GB2102561.4A GB2597818B (en) | 2020-07-31 | 2021-02-23 | Driver circuitry |
| US17/380,176 | 2021-07-20 | ||
| US17/380,176 US11658673B2 (en) | 2020-07-31 | 2021-07-20 | Driver circuitry |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202328854A TW202328854A (en) | 2023-07-16 |
| TWI852432B true TWI852432B (en) | 2024-08-11 |
Family
ID=80631111
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112111305A TWI852432B (en) | 2020-09-11 | 2021-09-10 | Driver circuitry |
| TW110133754A TWI798822B (en) | 2020-09-11 | 2021-09-10 | Driver circuitry |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110133754A TWI798822B (en) | 2020-09-11 | 2021-09-10 | Driver circuitry |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN116235130A (en) |
| TW (2) | TWI852432B (en) |
| WO (1) | WO2022053818A2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201419749A (en) * | 2010-03-02 | 2014-05-16 | Agave Semiconductor Llc | Position corrected pulse width modulation for brushless direct current motors |
| US20140265986A1 (en) * | 2013-03-15 | 2014-09-18 | Steering Solutions Ip Holding Corporation | Motor control system having common-mode voltage compensation |
| TW201521351A (en) * | 2013-11-29 | 2015-06-01 | Amtek Semiconductor Co Ltd | Auto calibration driver IC and its application motor driver system |
| US20160126851A1 (en) * | 2014-10-28 | 2016-05-05 | Advanced Charging Technologies, LLC | Electrical circuit for delivering power to consumer electronic devices |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6791481B2 (en) * | 2000-05-18 | 2004-09-14 | Echo Mobile Music, Llc | Portable CD-ROM/ISO to HDD/MP3 recorder with simultaneous CD-Read/MP3-Encode/HDD-Write, or HDD-Read/MP3-Decode, to play, power saving buffer, and enhanced sound output |
| US7446822B2 (en) * | 2002-05-15 | 2008-11-04 | Symbol Technologies, Inc. | High-resolution image projection |
| US6819011B2 (en) * | 2002-11-14 | 2004-11-16 | Fyre Storm, Inc. | Switching power converter controller with watchdog timer |
| CN103853060B (en) * | 2012-11-30 | 2017-06-23 | 上海拜骋电器有限公司 | The controller and control method of electronic switch, electronic switch and electronic equipment |
| EP3053260A4 (en) * | 2013-10-06 | 2017-05-10 | Abominable Labs, LLC | Battery compensation system using pwm |
| US10763811B2 (en) * | 2018-07-25 | 2020-09-01 | Cirrus Logic, Inc. | Gain control in a class-D open-loop amplifier |
-
2021
- 2021-09-10 TW TW112111305A patent/TWI852432B/en active
- 2021-09-10 TW TW110133754A patent/TWI798822B/en active
- 2021-09-10 CN CN202180064066.5A patent/CN116235130A/en active Pending
- 2021-09-10 WO PCT/GB2021/052347 patent/WO2022053818A2/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201419749A (en) * | 2010-03-02 | 2014-05-16 | Agave Semiconductor Llc | Position corrected pulse width modulation for brushless direct current motors |
| US20140265986A1 (en) * | 2013-03-15 | 2014-09-18 | Steering Solutions Ip Holding Corporation | Motor control system having common-mode voltage compensation |
| TW201521351A (en) * | 2013-11-29 | 2015-06-01 | Amtek Semiconductor Co Ltd | Auto calibration driver IC and its application motor driver system |
| US20160126851A1 (en) * | 2014-10-28 | 2016-05-05 | Advanced Charging Technologies, LLC | Electrical circuit for delivering power to consumer electronic devices |
Also Published As
| Publication number | Publication date |
|---|---|
| TWI798822B (en) | 2023-04-11 |
| CN116235130A (en) | 2023-06-06 |
| WO2022053818A3 (en) | 2022-05-19 |
| TW202328854A (en) | 2023-07-16 |
| TW202230994A (en) | 2022-08-01 |
| WO2022053818A2 (en) | 2022-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12301247B2 (en) | Driver circuitry | |
| US10917053B2 (en) | Amplifiers | |
| US8190933B2 (en) | Bi-directional control of power adapter and load | |
| CN104426361B (en) | Smooth transition of the power supply unit from first mode (such as pattern of pulse wave frequency modulating) to second mode (such as pulse wave width modulation pattern) | |
| CN203339722U (en) | Battery charging system | |
| CN107852099B (en) | Power converter with adaptive output voltage | |
| CN101371211B (en) | Feed-forward circuit for adjustable output voltage controller circuits | |
| TWI852432B (en) | Driver circuitry | |
| TWI396360B (en) | Power path management circuit and method | |
| TW202248786A (en) | Voltage regulator and control method thereof | |
| US11552627B2 (en) | PWM circuitry | |
| US12549173B2 (en) | Current monitoring in switched mode drivers | |
| US6922039B2 (en) | Dynamic control timer circuit and method | |
| GB2620005A (en) | Power limiting for amplifiers | |
| KR102182603B1 (en) | Method and apparatus for regulator control | |
| JP2010035302A (en) | Power control circuit | |
| US11342894B2 (en) | Driver circuitry and associated methods | |
| KR20140120116A (en) | Switching dc-dc converter, circuit and method to convert voltage thereof | |
| WO2024033600A1 (en) | Switching amplifier circuitry |