NOT APPLICABLE
NOT APPLICABLE
NOT APPLICABLE
1. Technical Field of the Invention
This invention relates generally signal processing, and more particularly to class-D amplifiers.
2. Description of Related Art
Integrated circuits are used in a wide variety of electronic equipment, including portable, or handheld, devices. Such handheld devices may include personal digital assistants (“PDA”), compact disc players, MPEG-1 Layer 3 digital audio (“MP3”) players, digital video disc players, AM/FM radio, a pager, cellular telephones, computer memory extension (commonly referred to as a thumb drive), etc. For example, an MP3 player may include one or more integrated circuits to support the storage and playback of digitally formatted audio (e.g., formatted in accordance with an MP3 specification), to interface with a computer, to generate a power supply voltage, and to render digitally formatted audio data audible.
The rendering of digitally formatted audio data into audible signals involves decoding the formatted audio data into digital audio signals, converting the digital audio signals into analog audio signals, and amplifying the analog audio signals. To provide a desired level of amplification, power efficiency, and compact size, class-D amplifiers are typically used to amplify the analog audio signals. While class-D amplifiers exhibit these positive characteristics, total harmonic distortion (“THD”) of a class-D amplifier varies with load, temperature, and/or other operating parameters.
As such, to provide high quality amplification of audio signals, the THD of class-D amplifiers needs to be compensated. There are a variety of techniques for THD compensation, but such techniques are generally static and do not effectively compensate noise introduced on the power supply. For instance, a static solution generates a calibration value at the start up the amplifier, where the calibration value is based on the start up impedances of the switching transistors and the start up inductor current. Thus, as the impedances of the switching transistors and the inductor current vary over time and temperature, the statically determined calibration value is less than optimal for compensating THD. In addition, the static solution does not account for transient noise and/or power supply noise.
Therefore, a need exists for a dynamic method and apparatus to minimize and/or compensate THD, transient noise, and/or power supply noise, of class-D amplifiers.
When the multi-function handheld device 10 is operably coupled to a host device, which may be a personal computer, workstation, server, a laptop computer, a personal digital assistant, and/or any other device that may transceive data with the multi-function handheld device, the processing module 20 performs at least one algorithm 30 where the corresponding operational instructions of the algorithm 30 are stored in memory 16, ROM 35, RAM 33, and/or other memory that may be included and/or coupled to the integrated circuit 12. The processing module 20 may be a single processing device or a plurality of processing devices. Such a processing device may be a microprocessor, micro-controller, digital signal processor, microcomputer, central processing unit, field programmable gate array, programmable logic device, state machine, logic circuitry, analog circuitry, digital circuitry, and/or any device that manipulates signals (analog and/or digital) based on operational instructions. The associated memory may be a single memory device or a plurality of memory devices. Such a memory device may be a read-only memory, random access memory, volatile memory, non-volatile memory, static memory, dynamic memory, flash memory, and/or any device that stores digital information. Note that when the processing module 20 implements one or more of its functions via a state machine, analog circuitry, digital circuitry, and/or logic circuitry, the associated memory storing the corresponding operational instructions is embedded with the circuitry comprising the state machine, analog circuitry, digital circuitry, and/or logic circuitry.
When the multi-function handheld device 10 is in the first functional mode, the integrated circuit 12 facilitates the transfer of data between a host device and memory 16, which may be non-volatile memory (e.g., flash memory, disk memory, SDRAM) and/or volatile memory (e.g., DRAM). In one embodiment, the memory IC 16 is a NAND flash memory that stores both data and the operational instructions of at least a portion of one of the algorithms 30.
In this mode, the processing module 20 retrieves a first set of operational instructions (e.g., a file system algorithm, which is known in the art) from the memory 16 to coordinate the transfer of data. For example, data received from the host device (e.g., Rx data) is first received via the host interface module 18. Depending on the type of coupling between the host device and the handheld device 10, the received data will be formatted in a particular manner. For example, if the handheld device 10 is coupled to the host device via a USB cable, the received data will be in accordance with the format proscribed by the USB specification. The host interface module 18 converts the format of the received data (e.g., USB format) into a desired format by removing overhead data that corresponds to the format of the received data and storing the remaining data as data words. The size of the data words generally corresponds directly to, or a multiple of, the bus width of bus 28 and the word line size (i.e., the size of data stored in a line of memory) of memory 16. Under the control of the processing module 20, the data words are provided, via the memory interface 22, to memory 16 for storage. In this mode, the handheld device 10 is functioning as extended memory of the host device (e.g., like a thumb drive).
In furtherance of the first functional mode, the host device may retrieve data (e.g., Tx data) from memory 16 as if the memory were part of the computer. Accordingly, the host device provides a read command to the handheld device, which is received via the host interface 18. The host interface 18 converts the read request into a generic format and provides the request to the processing module 20. The processing module 20 interprets the read request and coordinates the retrieval of the requested data from memory 16 via the memory interface 22. The retrieved data (e.g., Tx data) is provided to the host interface 18, which converts the format of the retrieved data from the generic format of the handheld device into the format of the coupling between the handheld device and the host device. The host interface 18 then provides the formatted data to the host device via the coupling.
The coupling between the host device and the handheld device may be a wireless connection or a wired connection. For instance, a wireless connection may be in accordance with Bluetooth, IEEE 802.11(a), (b) or (g), and/or any other wireless LAN (local area network) protocol, IrDA, etc. The wired connection may be in accordance with one or more Ethernet protocols, Firewire, USB, etc. Depending on the particular type of connection, the host interface module 18 includes a corresponding encoder and decoder. For example, when the handheld device 10 is coupled to the host device via a USB cable, the host interface module 18 includes a USB encoder and a USB decoder.
As one of average skill in the art will appreciate, the data stored in memory 16, which may have 64 Mbytes or of greater storage capacity, may be text files, presentation files, user profile information for access to varies computer services (e.g., Internet access, email, etc.), digital audio files (e.g., MP3 files, WMA—Windows Media Architecture—, MP3 PRO, Ogg Vorbis, AAC—Advanced Audio Coding), digital video files [e.g., still images or motion video such as MPEG (motion picture expert group) files, JPEG point photographic expert group) files, etc.], address book information, and/or any other type of information that may be stored in a digital format. As one of average skill in the art will further appreciate, when the handheld device 10 is coupled to the host device, the host device may power the handheld device 10 such that the battery is unused.
When the handheld device 10 is not coupled to the host device, the processing module 20 executes an algorithm 30 to detect the disconnection and to place the handheld device in a second operational mode. In the second operational mode, the processing module 20 retrieves, and subsequently executes, a second set of operational instructions from memory 16 to support the second operational mode. For example, the second operational mode may correspond to MP3 file playback, digital dictaphone recording, MPEG file playback, JPEG file playback, text messaging display, cellular telephone functionality, and/or AM/FM radio reception. Each of these functions is known in the art, thus no further discussion of the particular implementation of these functions will be provided except to further illustrate the concepts of the present invention.
In the second operational mode, under the control of the processing module 20 executing the second set of operational instructions, the multimedia module 24 retrieves multimedia data 34 from memory 16. The multimedia data 34 includes at least one of digitized audio data, digital video data, and text data. Upon retrieval of the multimedia data, the multimedia module 24 converts the data 34 into rendered output data 36. For example, the multimedia module 24 may convert digitized data into audio signals and provides them to the amplifier circuit 70. The amplifier circuit 70, which will be described in greater detail with reference to
The handheld device 10 may further store digital information received via one of the multimedia input devices 44, 46, and 54 when in the first operational mode. For example, a voice recording received via the microphone 46 may be provided as multimedia input data 58, digitized via the multimedia module 24 and digitally stored in memory 16. Similarly, video recordings may be captured via the video capture device 44 (e.g., a digital camera, a camcorder, VCR output, DVD output, etc.) and processed by the multimedia module 24 for storage as digital video data in memory 16. Further, the key pad 54 (which may be a keyboard, touch screen interface, or other mechanism for inputting text information) provides text data to the multimedia module 24 for storage as digital text data in memory 16. In this extension of the first operational mode, the processing module 20 arbitrates write access to the memory 16 among the various input sources (e.g., the host and the multimedia module).
The handheld device 10 may further function to record and/or playback multimedia data stored in the memory 16 when in the second operational mode (i.e., not connected to the host). Note that the data provided by the host when the handheld device 40 was in the first operational mode includes the multimedia data. In this embodiment, depending on the type of multimedia data 34, the rendered output data 36 may be provided to one or more of the multimedia output devices. For example, rendered audio data may be provided to the headphone jack 52, while rendered video and/or text data may be provided to the display 48.
The handheld device 10 may also record multimedia data 34 while in the second operational mode. For example, the handheld device 10 may store digital information received via one of the multimedia input devices 44, 46, and 54.
As one of average skill in the art, the handheld device 10 may be packaged similarly to a thumb drive, a cellular telephone, pager (e.g., text messaging), a PDA, an MP3 player, a radio, and/or a digital dictaphone and offer the corresponding functions of multiple ones of the handheld devices (e.g., provide a combination of a thumb drive and MP3 player/recorder, a combination of a thumb drive, MP3 player/recorder, and a radio, a combination of a thumb drive, MP3 player/recorder, and a digital dictaphone, combination of a thumb drive, MP3 player/recorder, radio, digital dictaphone, and cellular telephone, etc.).
In operation, the sigma-delta ADC 124 converts an analog input, which may be an audio input 128, into a digital signal based on a feedback signal 125. The feedback module 122 produces the feedback signal 125 to vary such that it compensates for imperfections of the switching transistor section 112 components, transient noise, and/or power supply noise thereby reducing THD and/or noise caused by transients and the power supply. The feedback module will be described in greater detail with reference to
In one embodiment, the ADC 124 produces a multiple bit digital signal that the parallel to serial module 126 converts into a serial signal. The serial signal may be an off center mass signal for a given period or a more centered mass signal over two or more periods. For example,
As shown in
Returning to the discussion of
The filter 114 converts the signal at node X into an amplified output signal 116. In an ideal implementation, when transistor Rp is on and transistor Rn is off, node X is pulled to VDD and when transistor Rn is on and transistor Rp is off, node X is pulled to ground. However, transistors Rp and Rn and VDD are not perfect. As is known, over temperature, time, and process, the characteristics (e.g., transconductance, on-resistance, etc.) of N channel and P channel transistors change. As is also known, VDD is not an ideal source (i.e., a steady DC voltage with no AC component) since load variations cause noise on VDD. As such, VDD includes varying AC components attributable to noise. Thus, the signal at node X includes the imperfections of the transistors Rp and Rn and the imperfections of the supply voltage VDD.
As one of ordinary skill in the art will appreciate, the class-D amplifier of
In operation, SW1 is closed and SW2 is open when transistor Rn is on and transistor Rp is off (i.e., when the serial input to the switching transistor section 112 is high). In this configuration, the capacitor CSW1 is being charged to a voltage level V1 that corresponds to the on-resistance of transistor Rn times the inductor current IL. Written as an equation: V1=Rn*IL.
When SW1 is open and SW2 is closed, which corresponds to when transistor Rn is off and transistor Rp is on (i.e., when the serial input to the switching transistor section 112 is low), the capacitor CSW2 is being charged to a voltage level V2 that corresponds to the supply voltage minus the on-resistance of transistor Rp times the inductor current IL. Written as an equation: V2=VDD−Rp*IL.
From these two values (V1 and V2), the computational module 142 generates the feedback signal 125. In one embodiment, the computational module 142 averages the two values to produce the feedback signal 125. For example, the computational module 142 adds V1 and V2 to obtain a sum, and then divides the sum by two. Written as an equation, feedback signal=½(V1+V2). Substituting from the above equations, the feedback signal=½(Rn*IL+VDD−Rp*IL)=½[VDD+IL(Rn−Rp)]. As one of ordinary skill in the art will appreciate, other computations on V1 and V2 may be performed to obtain the feedback signal, such as a common mode determination, RMS determination, etc. As one of ordinary skill in the art will further appreciate, other circuitry may be used to capture V1 and V2, such as a single capacitor, sample and hold circuits, registers, etc.
With the feedback signal 125 including dynamic representations of the imperfections of the transistors and the supply voltage, the ADC includes the inverse of these imperfections during the analog to digital conversion process. The parallel to serial module 126 converts the multi-bit digital signals that include the inverse imperfections into a serial input that includes the inverse imperfections. When the switching transistor section that includes the imperfections processes the serial input with the inverse imperfections the resulting signal at node X is a representation of the serial input without the imperfections. As such, a dynamic method and apparatus to minimize and/or compensate THD, transient noise, and/or power supply noise, of class-D amplifiers.
As one of ordinary skill in the art will appreciate, the term “substantially” or “approximately”, as may be used herein, provides an industry-accepted tolerance to its corresponding term and/or relativity between items. Such an industry-accepted tolerance ranges from less than one percent to twenty percent and corresponds to, but is not limited to, component values, integrated circuit process variations, temperature variations, rise and fall times, and/or thermal noise. Such relativity between items ranges from a difference of a few percent to magnitude differences. As one of ordinary skill in the art will further appreciate, the term “operably coupled”, as may be used herein, includes direct coupling and indirect coupling via another component, element, circuit, or module where, for indirect coupling, the intervening component, element, circuit, or module does not modify the information of a signal but may adjust its current level, voltage level, and/or power level. As one of ordinary skill in the art will also appreciate, inferred coupling (i.e., where one element is coupled to another element by inference) includes direct and indirect coupling between two elements in the same manner as “operably coupled”. As one of ordinary skill in the art will further appreciate, the term “operably associated with”, as may be used herein, includes direct and/or indirect coupling of separate components and/or one component being embedded within another component. As one of ordinary skill in the art will still further appreciate, the term “compares favorably”, as may be used herein, indicates that a comparison between two or more elements, items, signals, etc., provides a desired relationship. For example, when the desired relationship is that signal 1 has a greater magnitude than signal 2, a favorable comparison may be achieved when the magnitude of signal 1 is greater than that of signal 2 or when the magnitude of signal 2 is less than that of signal 1. While the transistors in the above described figure(s) is/are shown as field effect transistors (FETs), as one of ordinary skill in the art will appreciate, the transistors may be implemented using any type of transistor structure including, but not limited to, bipolar, metal oxide semiconductor field effect transistors (MOSFET), N-well transistors, P-well transistors, enhancement mode, depletion mode, and zero voltage threshold (VT) transistors.
The preceding discussion has presented various embodiments of a class-D that has reduced THD and adverse operation from transient noise and/or power supply noise. As one of ordinary skill in the art will appreciate, other embodiments may be derived from the teachings of the present invention without deviating from the scope of the claims.
This patent application is claiming priority under 35 USC § 119 to a provisionally filed patent application entitled CLASS-D AMPLIFIER WITH NOISE-IMMUNITY FEEDBACK, having a provisional filing date of Jan. 13, 2005, and a provisional Ser. No. 60/643,543.
Number | Date | Country | |
---|---|---|---|
60643543 | Jan 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11325121 | Jan 2006 | US |
Child | 12017646 | US |