US20040183579A1 - Output control apparatus of pulse width modulator - Google Patents

Output control apparatus of pulse width modulator Download PDF

Info

Publication number
US20040183579A1
US20040183579A1 US10/639,503 US63950303A US2004183579A1 US 20040183579 A1 US20040183579 A1 US 20040183579A1 US 63950303 A US63950303 A US 63950303A US 2004183579 A1 US2004183579 A1 US 2004183579A1
Authority
US
United States
Prior art keywords
level
output
pwm signal
input
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US10/639,503
Other versions
US6803798B1 (en
Inventor
Wei-Hsin Wei
Sheng-Yi Ho
Jung-Lin Chang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sonix Technology Co Ltd
Original Assignee
Sonix Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sonix Technology Co Ltd filed Critical Sonix Technology Co Ltd
Assigned to SONIX TECHNOLOGY CO. reassignment SONIX TECHNOLOGY CO. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WEI, WEI-HSIN, CHANG, JUNG-LIN, HO, SHENG-YI
Publication of US20040183579A1 publication Critical patent/US20040183579A1/en
Application granted granted Critical
Publication of US6803798B1 publication Critical patent/US6803798B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03FAMPLIFIERS
    • H03F3/00Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
    • H03F3/20Power amplifiers, e.g. Class B amplifiers, Class C amplifiers
    • H03F3/21Power amplifiers, e.g. Class B amplifiers, Class C amplifiers with semiconductor devices only
    • H03F3/217Class D power amplifiers; Switching amplifiers
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • H03G3/3005Automatic control in amplifiers having semiconductor devices in amplifiers suitable for low-frequencies, e.g. audio amplifiers
    • H03G3/301Automatic control in amplifiers having semiconductor devices in amplifiers suitable for low-frequencies, e.g. audio amplifiers the gain being continuously variable
    • H03G3/3021Automatic control in amplifiers having semiconductor devices in amplifiers suitable for low-frequencies, e.g. audio amplifiers the gain being continuously variable by varying the duty cycle

Definitions

  • the present invention is an output control apparatus of a pulse width modulator; it is especially an output control apparatus that can adjust the output amplitude of a pulse width modulation signal (PWM signal).
  • PWM signal pulse width modulation signal
  • FIG. 1 is a schematic diagram of an audio output apparatus 10 of the PWM according to the prior art.
  • the audio output apparatus 10 of the PWM according to the prior art comprises a digital volume controller 12 , a pulse code modulation to pulse width modulation converter (PCM-to-PWM converter) 14 , a PWM output circuit 20 , and an speaker 16 .
  • PCM-to-PWM converter pulse code modulation to pulse width modulation converter
  • PWM-to-PWM converter pulse code modulation to pulse width modulation converter
  • the PCM data processed by the digital volume controller 12 is transferred to the PCM-to-PWM converter 14 for converting the PCM data to the PWM signal. Then, via the PWM output circuit 20 triggering the speaker 16 , the signal is being sent out as audio sound. Because the PWM output circuit 20 according to the prior art can only output at a fixed level, the value of the PCM data needs to be adjusted to change the duty of the PWM signal output.
  • FIG. 2 is a schematic diagram of the output circuit 20 and the speaker 16 shown in FIG. 1.
  • the output circuit 20 of the PWM according to the prior art comprises two inverters 22 , 24 , and four power transistors M 0 , M 1 , M 2 , M 3 .
  • PI and NI represent the input signals that are differential PWM signal.
  • the output level of the input signal is being controlled at a fixed value.
  • PO and NO represent the output, and the output circuit 20 drives the speaker 16 according to the input signal and the fixed level.
  • the power transistors M 0 ⁇ M 3 can be taken as the switches of the circuit. While the input signal is logic number “0”, the power transistors M 0 /or M 2 are not switched on, but the power transistors M 1 /or M 3 are switched on. Therefore, the output signal level of the output PO /or NO is close to the low level VSS.
  • the power transistors M 1 /or M 3 are not switched on, but the power transistors M 0 /or M 2 are switched on; the output signal level of the outputs PO /or NO is then close to the high level VDD.
  • the inverters 22 , 24 are used for changing the polarity of the input signals PI and NI to make PI/NI and PO/NO in the same phase.
  • PO and NO are the pulse signals with 0 ⁇ 100% duty, and the converting frequency of the pulse signals may be 10 ⁇ 100 kilohertz.
  • the equivalent impedance in the converting frequency is very high while the current in the frequency within the coil is very low, so the power consumption is also lower.
  • FIG. 3 is a schematic diagram of the signal of adjusting the output volume of the output apparatus 10 shown in FIG. 1.
  • Two sets of signal group 32 , 34 are shown in FIG. 3.
  • the PWM output signal of the prior art is shown as group 32
  • the PWM output signal of the prior art which the volume is reduced by 1 ⁇ 2 is shown as group 34 .
  • the signals output by PO and NO are described by the differential way, wherein Ts is the signal cycle time, and Td is the duty of each pulse of the output signals.
  • Ts is the signal cycle time
  • Td is the duty of each pulse of the output signals.
  • the input volume is reduced by reducing the duty of the original PWM output signal, without changing the output level of the signal.
  • the present invention proposes a new framework to adjust the volume by adjusting the output pulse level to avoid the problem of worse audio quality at lower volume and to achieve the objective of improving the audio quality.
  • An objective of the present invention is to provide an output control apparatus of a pulse width modulator for adjusting the output level of the PWM output signal, thus to avoid the problem of the audio quality getting worse with lower volume, and to achieve the objective of improving the audio quality.
  • the present invention provides an output control apparatus for controlling the output level of a PWM signal at a predetermined level.
  • the output control apparatus comprises an input, a predetermined level input, a base level input, a high level input, a level output, a switch combination, and an amplifier.
  • the input is used for inputting the PWM signal.
  • the predetermined level input is used for providing a predetermined level.
  • the base level input is used for providing a base level.
  • the high level input is used for providing the highest level.
  • the level output is used for outputting an output level of the PWM signal.
  • the switch combination comprises a plurality of switches for connecting to the input, the base level input, and the high level input.
  • the amplifier combination comprises an inverting input for inputting the predetermined level, a non-inverting input for connecting to the output, and an amplifier output for connecting to the switch combination.
  • the switch combination switches on the base level input and connects the amplifier output of each amplifier within the amplifier combination to the high level input, making the amplifier combination not being switched on, so as to control the level of the PWM signal at the base level.
  • the switch combination doesn't switch on the base level input and connects the amplifier output of each the amplifier to the level output to make the amplifier combination and the switch combination form a negative feedback loop, so as to control the level of the PWM signal at the predetermined level.
  • a control signal generator and a DAC generate the predetermined level input by the predetermined level input of the present invention.
  • the control signal generator according to the user control, generates various digital control signals and transfers the signals to the DAC.
  • the DAC converts the digital control signals to a corresponding predetermined level and inputs the predetermined level to the output control apparatus via the predetermined level input.
  • the present invention achieves the objective of adjusting the output amplitude of the PWM signal by controlling the predetermined level and improves the problem that the prior art has, which is to reduce the output volume only by improving the duty of the PWM signal but enlarging the mixed signals.
  • FIG. 1 is a schematic diagram of an audio output apparatus of the PWM according to the prior art.
  • FIG. 2 is a schematic diagram of the output circuit and the speaker shown in FIG. 1.
  • FIG. 3 is a schematic diagram of the signal of adjusting the output volume of the output apparatus shown in FIG. 1.
  • FIG. 4 is a schematic diagram of an output control apparatus and its application according to the present invention.
  • FIG. 5 is a function block diagram of the output control apparatus shown in FIG. 4.
  • FIG. 6 is a schematic diagram of an output circuit of an embodiment according to the present invention.
  • FIG. 7 is a schematic diagram of an output circuit of another embodiment according to the present invention.
  • FIG. 8 is a schematic diagram of the control signal generator and the DAC of 4 bits structure according to the present invention.
  • FIG. 9 is a schematic diagram of the output level of the PWM signal in comparing the prior art and the present invention.
  • FIG. 4 is a schematic diagram of an output control apparatus 40 and its application according to the present invention.
  • the output control apparatus 40 of the present invention in FIG. 4 is used for controlling the output volume.
  • the pulse code modulation data (PCM data) that represents the audio signal should be processed by the PCM-to-PWM converter 14 first to convert the PCM data to the PWM signal.
  • the output control apparatus 40 receives the PWM signal and external volume control.
  • the output level of the PWM signal changes according to the volume control. Because the output level to push the speaker 16 changes according to the volume control, the volume output by the speaker 16 is controlled.
  • the output control apparatus 40 of the present invention doesn't achieve the objective of changing the volume by changing the duty of the PWM signal. Therefore, the present invention doesn't suffer the problem of the prior art.
  • FIG. 5 is a function block diagram of the output control apparatus 40 shown in FIG. 4.
  • the output control apparatus 40 of the present invention is used for controlling the level of a PWM signal generated by a pulse width modulator, wherein the output control apparatus 40 comprises a control signal generator 42 , a DAC 44 , and an output circuit 50 .
  • the output control apparatus 40 makes the output circuit 50 receive a PWM signal and the control signal generator 42 receive the volume control corresponding to the PWM signal at the same time.
  • FIG. 6 is a schematic diagram of an output circuit 50 of an embodiment according to the present invention.
  • the output circuit 50 comprises an input VI, a predetermined level input DAO, a base level input VSS, a high level input VDD, a level output VO, a switch combination 52 , and an amplifier 54 .
  • the input VI is used for inputting the PWM signal.
  • the predetermined level input DAO is used for providing a predetermined level.
  • the base level input VSS is used for providing a base level.
  • the high level input VDD is used for providing the highest level.
  • the level output VO is used for outputting an output level of the PWM signal.
  • the switch combination 52 comprises a plurality of switches.
  • the embodiment in FIG. 6 takes the power transistor as the switch and forms the switch combination 52 with three switches S 1 , S 2 , S 3 .
  • the switch S 1 is used for connecting to the output VO, the base level input VSS, and the input VI;
  • the switch S 2 is used for connecting to the amplifier output, the high level input VDD, and the output VO;
  • the switch S 3 is used for connecting to the high level input VDD, the input VI, and the amplifier output.
  • the present invention controls the circuits between each element being opened or closed by cooperating with the three switches S 1 , S 2 and S 3 .
  • the speaker 16 in FIG. 6 further connects to a ground, in practical application, the speaker may connect to the high level input VDD or the base level input VSS.
  • the amplifier 54 comprises an inverting input ( ⁇ ), a non-inverting input (+), and an amplifier output.
  • the inverting input ( ⁇ ) is used for connecting to the predetermined level input DAO to input the predetermined level.
  • the non-inverting input (+) is used for connecting to the output VO.
  • the amplifier output is used for connecting to the switch S 1 and S 3 .
  • the key of the present invention lies in how to control and adjust the output level of the PWM signal.
  • the transistor switches S 3 and S 2 cooperate to connect the amplifier output with the high level input VDD, so that the amplifier is not switched on.
  • the transistor switch S 1 connects the output VO with the base level input VSS to make the output can be a base level, and at this condition, the result is the same as the output circuit of the pulse width modulation apparatus of the prior art.
  • the transistor switch S 1 While the PWM signal being input into the input VI is logic number “1”, the transistor switch S 1 is not switched on, and the output VO is connected to the amplifier output by the transistor switch S 2 . At this time, the amplifier 54 and the transistor switch S 1 form a negative feedback loop 46 (shown in FIG. 5) to make the signal output level of the output VO be about the same as to the predetermined level of the predetermined level input DAO. Therefore, the output level of the output VO at logic number “1” may be adjusted by changing the voltage of the predetermined level input DAO.
  • FIG. 7 is a schematic diagram of an output circuit 60 of another embodiment according to the present invention.
  • the biggest difference between FIG. 7 and FIG. 6 is that the input in FIG. 7 inputs the PWM signal by the differential way, so two sets of the designs as shown in FIG. 6 also are necessary. Due to the fact that the efficiency of the elements is almost the same, it will not be described in detail again.
  • the differential output NO/PO connects to the base level input VSS by the transistor switch M 1 /M 3 .
  • the transistor switch M 0 /M 2 is controlled by the negative feedback loop, processed by the calculation amplifiers 62 and 64 to limit the differential output NO/PO at the value of the predetermined level input DAO. Therefore, the predetermined level of the predetermined level input DAO can be adjusted by the outside volume control to achieve the objective of adjusting the volume.
  • the volume control represents an interface operated by a user such as a volume control turntable or a volume control key.
  • the interface converts the volume desired by the user to a corresponding control signal.
  • the control signal generator 42 receives the volume control and generates a digital control signal. It has to be emphasized that the interface operated by the user can be integrated into the control signal generator 42 . The user can control the volume immediately via the interface of the control signal generator 42 .
  • the control signal generator 42 generates the digital control signal for controlling the volume by the user.
  • the control signal generator 42 is an N bits structure for generating 2 N kinds of different digital control signals.
  • the DAC 44 cooperates with the control signal generator 42 to output 2 N kinds of different predetermined levels to the predetermined level input DAO according to the digital control signal.
  • the DAC 44 according to the present invention comprises a decoder 82 , a plurality of analog switches 84 , and a plurality of resistances 86 .
  • the 4 bits digital control signal VC ⁇ 3:0> generated by the control signal generator passes through a decoder 82 (4-16 digital decoder in this embodiment) to obtain 16 level control signals S ⁇ 15:0>.
  • Table 1 is a comparison table of the digital control signal and the level control signal.
  • the 16 level control signals S ⁇ 15:0> is used for controlling 16 analog switches 84 .
  • the output level of the predetermined level input DAO is determined by the level value of VC ⁇ 3:0> and 16 resistances 86 .
  • the 16 resistance values are not necessarily equal.
  • the necessary resistance value is calculated according to the practical volume level. For example, the volume adjusting interval in common use depends on dB value, so that the output voltage of equal dB value interval can be obtained by combining proper resistance value.
  • FIG. 9 is a schematic diagram of the output level of the PWM signal in comparing the prior art and the present invention.
  • PI/NI is differential PWM according to the prior art, wherein the cycle time of the pulse is fixed at Ts, the level is fixed at A, and the pulse width changes with different signals.
  • the way of the prior art is to reduce all pulse with (duty) Td by 1 ⁇ 2 immediately.
  • the noise is the same as that before adjusting. Comparatively, the noise sounds are more obviously, and the audio quality is worse.
  • the present invention adjusts the output level to 1 ⁇ 2 to reduce the noise as the volume is reduced, and hence to allow better audio quality.
  • the present invention adjusts volume by adjusting the output level of the PWM signal instead of by the conventional method to adjust volume by adjusting the pulse width of the PWM signal to improve the prior art. Therefore, the method of controlling the volume according to the present invention can avoid the disadvantage of enlarging the noise to signal ratio of the prior art and achieve the objective of improving the audio quality.

Abstract

The invention provides an output control apparatus for adjusting the output level of a pulse width modulation (PWM) signal by changing the amplitude level of the output PWM signal. The output control apparatus comprises a control signal generator, a digital-to-analog converter (DAC), and an output circuit. The control signal generator generates a digital control signal. The DAC outputs a predetermined level according to the digital control signal. The output circuit with a negative feedback loop receives the PWM signal and receives the predetermined level by the negative feedback loop. While the PWM signal is logic number “0”, the negative feedback loop is not switched on, so as to control the level of the PWM signal at a base level. While the PWM signal is logic number “1”, the negative feedback loop is switched on, so as to control the level of the PWM signal at the predetermined level.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention is an output control apparatus of a pulse width modulator; it is especially an output control apparatus that can adjust the output amplitude of a pulse width modulation signal (PWM signal). [0002]
  • 2. Description of the Prior Art [0003]
  • The method of audio output of the pulse width modulation (PWM) has been applied to consumer products extensively, especially in portable electronic products. For portable electronic products that use batteries as the power source, the power consumption is one of the most concerned considerations. The biggest advantage of the output method of the PWM is its high power and efficiency. [0004]
  • Please refer to FIG. 1. FIG. 1 is a schematic diagram of an [0005] audio output apparatus 10 of the PWM according to the prior art. The audio output apparatus 10 of the PWM according to the prior art comprises a digital volume controller 12, a pulse code modulation to pulse width modulation converter (PCM-to-PWM converter) 14, a PWM output circuit 20, and an speaker 16. To complete an audio output with the PWM technology of the prior art, if adjustment of volume is necessary, it would be done as shown in FIG. 1. The audio data of the audio source is processed by pulse code modulation first; then, the PCM data is transferred to the digital volume controller 12. The user then inputs a volume control signal to make the digital volume controller 12 adjusts the value of the PCM data.
  • As shown in FIG. 1, the PCM data processed by the [0006] digital volume controller 12 is transferred to the PCM-to-PWM converter 14 for converting the PCM data to the PWM signal. Then, via the PWM output circuit 20 triggering the speaker 16, the signal is being sent out as audio sound. Because the PWM output circuit 20 according to the prior art can only output at a fixed level, the value of the PCM data needs to be adjusted to change the duty of the PWM signal output.
  • Please refer to FIG. 2. FIG. 2 is a schematic diagram of the [0007] output circuit 20 and the speaker 16 shown in FIG. 1. The output circuit 20 of the PWM according to the prior art comprises two inverters 22, 24, and four power transistors M0, M1, M2, M3.
  • As shown in FIG. 2, PI and NI represent the input signals that are differential PWM signal. Through the combination circuit that comprises the power transistors M[0008] 0˜M3, the output level of the input signal is being controlled at a fixed value. PO and NO represent the output, and the output circuit 20 drives the speaker 16 according to the input signal and the fixed level. The power transistors M0˜M3 can be taken as the switches of the circuit. While the input signal is logic number “0”, the power transistors M0 /or M2 are not switched on, but the power transistors M1 /or M3 are switched on. Therefore, the output signal level of the output PO /or NO is close to the low level VSS. While the input signal is logic number “1”, the power transistors M1 /or M3 are not switched on, but the power transistors M0 /or M2 are switched on; the output signal level of the outputs PO /or NO is then close to the high level VDD.
  • The [0009] inverters 22, 24 are used for changing the polarity of the input signals PI and NI to make PI/NI and PO/NO in the same phase. PO and NO are the pulse signals with 0˜100% duty, and the converting frequency of the pulse signals may be 10˜100 kilohertz. For the coil within the speaker 16, the equivalent impedance in the converting frequency is very high while the current in the frequency within the coil is very low, so the power consumption is also lower.
  • Please refer to FIG. 3. FIG. 3 is a schematic diagram of the signal of adjusting the output volume of the [0010] output apparatus 10 shown in FIG. 1. Two sets of signal group 32, 34 are shown in FIG. 3. The PWM output signal of the prior art is shown as group 32, and the PWM output signal of the prior art which the volume is reduced by ½ is shown as group 34. In FIG. 3, the signals output by PO and NO are described by the differential way, wherein Ts is the signal cycle time, and Td is the duty of each pulse of the output signals. As shown in FIG. 3, in the prior art, the input volume is reduced by reducing the duty of the original PWM output signal, without changing the output level of the signal.
  • However, the noise of the mixed signal of the PWM output signal becomes bigger with the output level yet doesn't become smaller with the duty. Therefore, the method of reducing volume of the prior art will show the noise of the background, making the audio quality become worse. In view of this, the present invention proposes a new framework to adjust the volume by adjusting the output pulse level to avoid the problem of worse audio quality at lower volume and to achieve the objective of improving the audio quality. [0011]
  • SUMMARY OF THE INVENTION
  • An objective of the present invention is to provide an output control apparatus of a pulse width modulator for adjusting the output level of the PWM output signal, thus to avoid the problem of the audio quality getting worse with lower volume, and to achieve the objective of improving the audio quality. [0012]
  • The present invention provides an output control apparatus for controlling the output level of a PWM signal at a predetermined level. The output control apparatus comprises an input, a predetermined level input, a base level input, a high level input, a level output, a switch combination, and an amplifier. The input is used for inputting the PWM signal. The predetermined level input is used for providing a predetermined level. The base level input is used for providing a base level. The high level input is used for providing the highest level. The level output is used for outputting an output level of the PWM signal. The switch combination comprises a plurality of switches for connecting to the input, the base level input, and the high level input. The amplifier combination comprises an inverting input for inputting the predetermined level, a non-inverting input for connecting to the output, and an amplifier output for connecting to the switch combination. [0013]
  • While the PWM signal received by the output control apparatus according to the present invention is logic number “0”, the switch combination switches on the base level input and connects the amplifier output of each amplifier within the amplifier combination to the high level input, making the amplifier combination not being switched on, so as to control the level of the PWM signal at the base level. [0014]
  • While the PWM signal received by the output control apparatus is logic number “1”, the switch combination doesn't switch on the base level input and connects the amplifier output of each the amplifier to the level output to make the amplifier combination and the switch combination form a negative feedback loop, so as to control the level of the PWM signal at the predetermined level. [0015]
  • A control signal generator and a DAC generate the predetermined level input by the predetermined level input of the present invention. The control signal generator, according to the user control, generates various digital control signals and transfers the signals to the DAC. The DAC converts the digital control signals to a corresponding predetermined level and inputs the predetermined level to the output control apparatus via the predetermined level input. [0016]
  • Therefore, the present invention achieves the objective of adjusting the output amplitude of the PWM signal by controlling the predetermined level and improves the problem that the prior art has, which is to reduce the output volume only by improving the duty of the PWM signal but enlarging the mixed signals. [0017]
  • The advantage and spirit of the present invention may be understood by the following recitations together with the appended drawings.[0018]
  • BRIEF DESCRIPTION OF THE APPENDED DRAWINGS
  • FIG. 1 is a schematic diagram of an audio output apparatus of the PWM according to the prior art. [0019]
  • FIG. 2 is a schematic diagram of the output circuit and the speaker shown in FIG. 1. [0020]
  • FIG. 3 is a schematic diagram of the signal of adjusting the output volume of the output apparatus shown in FIG. 1. [0021]
  • FIG. 4 is a schematic diagram of an output control apparatus and its application according to the present invention. [0022]
  • FIG. 5 is a function block diagram of the output control apparatus shown in FIG. 4. [0023]
  • FIG. 6 is a schematic diagram of an output circuit of an embodiment according to the present invention. [0024]
  • FIG. 7 is a schematic diagram of an output circuit of another embodiment according to the present invention. [0025]
  • FIG. 8 is a schematic diagram of the control signal generator and the DAC of 4 bits structure according to the present invention. [0026]
  • FIG. 9 is a schematic diagram of the output level of the PWM signal in comparing the prior art and the present invention. [0027]
  • DETAILED DESCRIPTION OF THE INVENTION
  • Please refer to FIG. 4. FIG. 4 is a schematic diagram of an [0028] output control apparatus 40 and its application according to the present invention. The output control apparatus 40 of the present invention in FIG. 4 is used for controlling the output volume. Before outputting the audio signal, the pulse code modulation data (PCM data) that represents the audio signal should be processed by the PCM-to-PWM converter 14 first to convert the PCM data to the PWM signal. After that, the output control apparatus 40 receives the PWM signal and external volume control. Then, via the output control apparatus 40, the output level of the PWM signal changes according to the volume control. Because the output level to push the speaker 16 changes according to the volume control, the volume output by the speaker 16 is controlled. One thing should be noticed here, the output control apparatus 40 of the present invention doesn't achieve the objective of changing the volume by changing the duty of the PWM signal. Therefore, the present invention doesn't suffer the problem of the prior art.
  • Please refer to FIG. 5. FIG. 5 is a function block diagram of the [0029] output control apparatus 40 shown in FIG. 4. The output control apparatus 40 of the present invention is used for controlling the level of a PWM signal generated by a pulse width modulator, wherein the output control apparatus 40 comprises a control signal generator 42, a DAC 44, and an output circuit 50. The output control apparatus 40 makes the output circuit 50 receive a PWM signal and the control signal generator 42 receive the volume control corresponding to the PWM signal at the same time.
  • Please refer to FIG. 6. FIG. 6 is a schematic diagram of an [0030] output circuit 50 of an embodiment according to the present invention. The output circuit 50 comprises an input VI, a predetermined level input DAO, a base level input VSS, a high level input VDD, a level output VO, a switch combination 52, and an amplifier 54. The input VI is used for inputting the PWM signal. The predetermined level input DAO is used for providing a predetermined level. The base level input VSS is used for providing a base level. The high level input VDD is used for providing the highest level. The level output VO is used for outputting an output level of the PWM signal.
  • The [0031] switch combination 52 comprises a plurality of switches. The embodiment in FIG. 6 takes the power transistor as the switch and forms the switch combination 52 with three switches S1, S2, S3. As shown in FIG. 6, the switch S1 is used for connecting to the output VO, the base level input VSS, and the input VI; the switch S2 is used for connecting to the amplifier output, the high level input VDD, and the output VO; the switch S3 is used for connecting to the high level input VDD, the input VI, and the amplifier output. The present invention controls the circuits between each element being opened or closed by cooperating with the three switches S1, S2 and S3. Wherein, the speaker 16 in FIG. 6 further connects to a ground, in practical application, the speaker may connect to the high level input VDD or the base level input VSS.
  • The [0032] amplifier 54 comprises an inverting input (−), a non-inverting input (+), and an amplifier output. The inverting input (−) is used for connecting to the predetermined level input DAO to input the predetermined level. The non-inverting input (+) is used for connecting to the output VO. The amplifier output is used for connecting to the switch S1 and S3.
  • The key of the present invention lies in how to control and adjust the output level of the PWM signal. As shown in FIG. 6, while the PWM signal being input into the input VI is logic number “0”, the transistor switches S[0033] 3 and S2 cooperate to connect the amplifier output with the high level input VDD, so that the amplifier is not switched on. The transistor switch S1 connects the output VO with the base level input VSS to make the output can be a base level, and at this condition, the result is the same as the output circuit of the pulse width modulation apparatus of the prior art.
  • While the PWM signal being input into the input VI is logic number “1”, the transistor switch S[0034] 1 is not switched on, and the output VO is connected to the amplifier output by the transistor switch S2. At this time, the amplifier 54 and the transistor switch S1 form a negative feedback loop 46 (shown in FIG. 5) to make the signal output level of the output VO be about the same as to the predetermined level of the predetermined level input DAO. Therefore, the output level of the output VO at logic number “1” may be adjusted by changing the voltage of the predetermined level input DAO.
  • Because of the PWM signal of the prior art is being input to the output circuit by the differential way, the [0035] output circuit 50 according to the present invention can also be designed to match the differential mode. Please refer to FIG. 7. FIG. 7 is a schematic diagram of an output circuit 60 of another embodiment according to the present invention. The biggest difference between FIG. 7 and FIG. 6 is that the input in FIG. 7 inputs the PWM signal by the differential way, so two sets of the designs as shown in FIG. 6 also are necessary. Due to the fact that the efficiency of the elements is almost the same, it will not be described in detail again.
  • As shown in FIG. 7, when the PWM signal being input to the differential input NI/PI is logic number “0”, the differential output NO/PO connects to the base level input VSS by the transistor switch M[0036] 1/M3. However, when the PWM signal being input to the differential input NI/PI is logic number “1”, the transistor switch M0/M2 is controlled by the negative feedback loop, processed by the calculation amplifiers 62 and 64 to limit the differential output NO/PO at the value of the predetermined level input DAO. Therefore, the predetermined level of the predetermined level input DAO can be adjusted by the outside volume control to achieve the objective of adjusting the volume.
  • As shown in FIG. 5, the volume control represents an interface operated by a user such as a volume control turntable or a volume control key. The interface converts the volume desired by the user to a corresponding control signal. The [0037] control signal generator 42 receives the volume control and generates a digital control signal. It has to be emphasized that the interface operated by the user can be integrated into the control signal generator 42. The user can control the volume immediately via the interface of the control signal generator 42. The control signal generator 42 generates the digital control signal for controlling the volume by the user. The control signal generator 42 is an N bits structure for generating 2N kinds of different digital control signals. The DAC 44 cooperates with the control signal generator 42 to output 2N kinds of different predetermined levels to the predetermined level input DAO according to the digital control signal.
  • Please refer to FIG. 8. FIG. 8 is a schematic diagram of the [0038] control signal generator 42 and the DAC 44 of 4 bits structure according to the present invention. If N=4, the DAC 44 shown in FIG. 8 can be obtained. The DAC 44 according to the present invention comprises a decoder 82, a plurality of analog switches 84, and a plurality of resistances 86. As shown in FIG. 8, The 4 bits digital control signal VC<3:0> generated by the control signal generator passes through a decoder 82 (4-16 digital decoder in this embodiment) to obtain 16 level control signals S<15:0>. Please refer to Table 1. Table 1 is a comparison table of the digital control signal and the level control signal. The 16 level control signals S<15:0> is used for controlling 16 analog switches 84. The output level of the predetermined level input DAO is determined by the level value of VC<3:0> and 16 resistances 86. The 16 resistance values are not necessarily equal. The necessary resistance value is calculated according to the practical volume level. For example, the volume adjusting interval in common use depends on dB value, so that the output voltage of equal dB value interval can be obtained by combining proper resistance value.
    TABLE 1
    digital control signal level control signal
    0000 0000_0000_0000_0001
    0001 0000_0000_0000_0010
    0010 0000_0000_0000_0100
    0011 0000_0000_0000_1000
    0100 0000_0000_0001_0000
    0101 0000_0000_0010_0000
    0110 0000_0000_0100_0000
    0111 0000_0000_1000_0000
    1000 0000_0001_0000_0000
    1001 0000_0010_0000_0000
    1010 0000_0100_0000_0000
    1011 0000_1000_0000_0000
    1100 0001_0000_0000_0000
    1101 0010_0000_0000_0000
    1110 0100_0000_0000_0000
    1111 1000_0000_0000_0000
  • Please refer to FIG. 9. FIG. 9 is a schematic diagram of the output level of the PWM signal in comparing the prior art and the present invention. As shown in FIG. 9, PI/NI is differential PWM according to the prior art, wherein the cycle time of the pulse is fixed at Ts, the level is fixed at A, and the pulse width changes with different signals. If the volume is to be reduced by ½, the way of the prior art is to reduce all pulse with (duty) Td by ½ immediately. Because the pulse level A doesn't change, the noise is the same as that before adjusting. Comparatively, the noise sounds are more obviously, and the audio quality is worse. The present invention adjusts the output level to ½ to reduce the noise as the volume is reduced, and hence to allow better audio quality. [0039]
  • As mentioned above, the present invention adjusts volume by adjusting the output level of the PWM signal instead of by the conventional method to adjust volume by adjusting the pulse width of the PWM signal to improve the prior art. Therefore, the method of controlling the volume according to the present invention can avoid the disadvantage of enlarging the noise to signal ratio of the prior art and achieve the objective of improving the audio quality. [0040]
  • With the example and explanations above, the features and spirits of the invention are hopefully well described. Those skilled in the art will readily observe that numerous modifications and alterations of the device may be made while retaining the teaching of the invention. Accordingly, the above disclosure should be construed as limited only by the meters and bounds of the appended claims. [0041]

Claims (20)

What is claimed is:
1. A control apparatus for controlling a level of a pulse width modulation signal (PWM signal) generated by a pulse width modulator (PWM), the apparatus comprising:
a control signal generator for generating a digital control signal;
a digital-to-analog converter (DAC) for outputting a predetermined level according to the digital control signal; and
an output circuit with a negative feedback loop for
receiving the PWM signal, and receiving the predetermined level by the negative feedback loop;
while the PWM signal is logic number “0”, not switching on the negative feedback loop, so as to control the level of the PWM signal at a base level; and
while the PWM signal is logic number “1”, switching on the negative feedback loop, so as to control the level of the PWM signal at the predetermined level.
2. The apparatus of claim 1, wherein the control signal generator is an N bits structure for generating 2N kinds of different digital control signals.
3. The apparatus of claim 2, wherein the DAC generates 2N kinds of different predetermined levels according to the 2N kinds of different digital control signals.
4. The apparatus of claim 1, wherein the DAC further comprises:
a decoder for converting the digital control signal to a corresponding level control signal;
a plurality of analog switches, each analog switches switching on or off being controlled by the level control signal; and
a plurality of resistances connecting to a power supply for determining the predetermined level according to the allocation of the plurality of analog switches.
5. The apparatus of claim 1, wherein the output circuit further comprises a receiving element for receiving the PWM signal and judging the PWM signal is logic number “0” or “1”.
6. The apparatus of claim 1, wherein the output circuit further comprises a base level input for providing the base level.
7. The apparatus of claim 6, wherein the output circuit further comprises a plurality of switch components for
while the PWM signal is logic number “0”, not switching on the negative feedback loop but switching on the base level input to control the level of the PWM signal at the base level; and
while the PWM signal is logic number “1”, switching on the negative feedback loop to control the level of the PWM signal at the predetermined level.
8. The apparatus of claim 7, wherein the negative feedback loop further comprises an amplifier combination for receiving the predetermined level, and while the negative feedback loop is switched on, setting the level of the PWM signal equal to the predetermined level.
9. An output control apparatus for controlling an output level of a PWM signal at a predetermined level, the output control apparatus comprising:
an input for inputting the PWM signal;
a predetermined level input for providing a predetermined level;
a base level input for providing a base level;
a high level input for providing a highest level;
a level output for outputting an output level of the PWM signal;
a switch combination comprising a plurality of switches for connecting to the input, the base level input, and the high level input; and
an amplifier comprising:
an inverting input for inputting the predetermined level;
a non-inverting input for connecting to the level output; and
an amplifier output for connecting to the switch combination;
wherein, while the PWM signal is logic number “0”, the switch combination switches on the base level input and connects the amplifier output to the high level input to make the amplifier not be switched on, so as to control the level of the PWM signal at the base level; and
wherein, while the PWM signal is logic number “1”, the switch combination doesn't switch on the base level input and connects the amplifier output to the level output to make the amplifier and the switch combination form a negative feedback loop, so as to control the level of the PWM signal at the predetermined level.
10. The output control apparatus of claim 9, further comprising a control signal generator for generating a digital control signal.
11. The output control apparatus of claim 10, further comprising a DAC for receiving the digital control signal and outputting the predetermined level to the predetermined level input, wherein the predetermined level is determined by the digital control signal.
12. The apparatus of claim 11, wherein the control signal generator is a N bits structure for generating 2N kinds of different digital control signals.
13. The apparatus of claim 11, wherein the DAC further comprises:
a decoder for converting the digital control signal to a corresponding level control signal;
a plurality of analog switches, each analog switches switching on or off being controlled by the level control signal; and
a plurality of resistances connecting to a power supply for determining the predetermined level according to the allocation of the plurality of analog switches.
14. The apparatus of claim 12, wherein the DAC generates 2N kinds of different predetermined levels according to the 2N kinds of different digital control signals.
15. An output control apparatus for controlling an output level of a PWM signal at a predetermined level, the output control apparatus comprising:
a set of differential inputs for differentially inputting the PWM signal;
a predetermined level input for providing a predetermined level;
a set of base level inputs for providing a base level;
a set of high level inputs for providing a highest level;
a set of differential level outputs for differentially outputting an output level of the PWM signal;
a switch combination comprising a plurality of switches for connecting to the set of differential inputs, the set of base level inputs, and the set of high level inputs; and
an amplifier combination comprising a plurality of amplifiers, each amplifier connecting to a differential input of the set of differential inputs, a base level input of the set of base level inputs, a high level input of the set of high level inputs, and a differential level input of the set of differential level inputs, each the amplifier comprising:
an inverting input for inputting the predetermined level;
a non-inverting input for connecting to the differential level output; and
an amplifier output for connecting to the switch combination;
wherein while the PWM signal is logic number “0”, the switch combination switches on the base level input and connects the amplifier output to the high level input to make the amplifier not be switched on, so as to control the level of the PWM signal at the base level; and
while the PWM signal is logic number “1”, the switch combination doesn't switch on the base level input and connects the amplifier output to the level output to make the amplifier combination and the switch combination form a negative feedback loop, so as to control the level of the PWM signal at the predetermined level.
16. The output control apparatus of claim 15, further comprising a control signal generator for generating a digital control signal.
17. The output control apparatus of claim 16, further comprising a DAC for receiving the digital control signal and outputting the predetermined level to the predetermined level input; wherein the predetermined level is determined by the digital control signal.
18. The apparatus of claim 17, wherein the control signal generator is an N bits structure for generating 2N kinds of different digital control signals.
19. The apparatus of claim 17, wherein the DAC further comprises:
a decoder for converting the digital control signal to a corresponding level control signal;
a plurality of analog switches, each analog switches switching on or off being controlled by the level control signal; and
a plurality of resistances connecting to a power supply for determining the predetermined level according to the allocation of the plurality of analog switches.
20. The apparatus of claim 18, wherein the DAC generates 2N kinds of different predetermined levels according to the 2N kinds of different digital control signals.
US10/639,503 2003-03-19 2003-08-13 Output control apparatus of pulse width modulator Expired - Fee Related US6803798B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
TW092106074 2003-03-19
TW092106074A 2003-03-19
TW092106074A TW588327B (en) 2003-03-19 2003-03-19 Output control apparatus of pulse width modulator

Publications (2)

Publication Number Publication Date
US20040183579A1 true US20040183579A1 (en) 2004-09-23
US6803798B1 US6803798B1 (en) 2004-10-12

Family

ID=32986162

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/639,503 Expired - Fee Related US6803798B1 (en) 2003-03-19 2003-08-13 Output control apparatus of pulse width modulator

Country Status (2)

Country Link
US (1) US6803798B1 (en)
TW (1) TW588327B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060071836A1 (en) * 2004-08-30 2006-04-06 Sanyo Electric Co., Ltd. Digital to analog converter
US20060094970A1 (en) * 2004-11-02 2006-05-04 Medtronic, Inc. Techniques for selective channel processing and data retention in an implantable medical device
US20060094972A1 (en) * 2004-11-02 2006-05-04 Medtronic, Inc. Techniques for user-activated data retention in an implantable medical device
US20060195039A1 (en) * 2004-11-02 2006-08-31 Medtronic, Inc. Clustering with combined physiological signals
US7917199B2 (en) 2004-11-02 2011-03-29 Medtronic, Inc. Patient event marking in combination with physiological signals

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7091754B2 (en) * 2004-06-28 2006-08-15 Exar Corporation CMOS LvPECL driver with output level control
US8111846B2 (en) * 2007-01-03 2012-02-07 Pacifictech Microelectronics, Inc. Low distortion switching amplifier circuits and methods
US8098240B2 (en) 2008-06-20 2012-01-17 Mattel, Inc. Capacitive touchpad and toy incorporating the same
US7969242B2 (en) * 2008-07-24 2011-06-28 Qualcomm Incorporated Switching power amplifier for quantized signals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5382915A (en) * 1993-07-06 1995-01-17 Motorola, Inc. Pulsewidth-modulated amplifier having analog mode
US5430335A (en) * 1991-05-15 1995-07-04 Oki Electric Industry Co., Ltd. Simplified low-noise output buffer circuit
US5898340A (en) * 1996-11-20 1999-04-27 Chatterjee; Manjirnath A. High power efficiency audio amplifier with digital audio and volume inputs
US6388477B1 (en) * 2001-06-28 2002-05-14 Sunplus Technology Col, Ltd. Switchable voltage follower and bridge driver using the same
US6492868B2 (en) * 2000-08-14 2002-12-10 Larry Kirn Dynamic range enhancement technique

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5430335A (en) * 1991-05-15 1995-07-04 Oki Electric Industry Co., Ltd. Simplified low-noise output buffer circuit
US5382915A (en) * 1993-07-06 1995-01-17 Motorola, Inc. Pulsewidth-modulated amplifier having analog mode
US5898340A (en) * 1996-11-20 1999-04-27 Chatterjee; Manjirnath A. High power efficiency audio amplifier with digital audio and volume inputs
US6492868B2 (en) * 2000-08-14 2002-12-10 Larry Kirn Dynamic range enhancement technique
US6388477B1 (en) * 2001-06-28 2002-05-14 Sunplus Technology Col, Ltd. Switchable voltage follower and bridge driver using the same

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060071836A1 (en) * 2004-08-30 2006-04-06 Sanyo Electric Co., Ltd. Digital to analog converter
US20060094970A1 (en) * 2004-11-02 2006-05-04 Medtronic, Inc. Techniques for selective channel processing and data retention in an implantable medical device
US20060095091A1 (en) * 2004-11-02 2006-05-04 Medtronic, Inc. Apparatus for data retention in an implantable medical device
US20060094972A1 (en) * 2004-11-02 2006-05-04 Medtronic, Inc. Techniques for user-activated data retention in an implantable medical device
US20060195039A1 (en) * 2004-11-02 2006-08-31 Medtronic, Inc. Clustering with combined physiological signals
US20060287691A1 (en) * 2004-11-02 2006-12-21 Medtronic, Inc. Methods for data retention in an implantable medical device
US7917199B2 (en) 2004-11-02 2011-03-29 Medtronic, Inc. Patient event marking in combination with physiological signals
US8024029B2 (en) 2004-11-02 2011-09-20 Medtronic, Inc. Techniques for user-activated data retention in an implantable medical device
US8108033B2 (en) 2004-11-02 2012-01-31 Medtronic, Inc. Techniques for data retention upon detection of an event in an implantable medical device
US8224431B2 (en) 2004-11-02 2012-07-17 Medtronic, Inc. Techniques for selective channel processing and data retention in an implantable medical device
US8565864B2 (en) 2004-11-02 2013-10-22 Medtronic, Inc. Techniques for data retention upon detection of an event in an implantable medical device
US8768446B2 (en) 2004-11-02 2014-07-01 Medtronic, Inc. Clustering with combined physiological signals
US9259177B2 (en) 2004-11-02 2016-02-16 Medtronic, Inc. Techniques for data retention upon detection of an event in an implantable medical device
US10111613B2 (en) 2004-11-02 2018-10-30 Medtronic, Inc. Methods for data retention in an implantable medical device
US10201305B2 (en) 2004-11-02 2019-02-12 Medtronic, Inc. Apparatus for data retention in an implantable medical device

Also Published As

Publication number Publication date
TW200419532A (en) 2004-10-01
US6803798B1 (en) 2004-10-12
TW588327B (en) 2004-05-21

Similar Documents

Publication Publication Date Title
US11271583B2 (en) Current digital-to-analog converter with high-impedance output
US7312654B2 (en) Quiet power up and power down of a digital audio amplifier
US7262658B2 (en) Class-D amplifier system
US7227413B1 (en) Audio amplification device with antipop circuitry
US6940345B2 (en) Supplying a ramp voltage to an amplifier
US5382915A (en) Pulsewidth-modulated amplifier having analog mode
JPH06232648A (en) Output circuit
US6803798B1 (en) Output control apparatus of pulse width modulator
CN113016138B (en) PWM modulator having chopped triangular wave PWM quantizer and quantizer with controllable analog gain and multiple non-ideal gains whose influence characteristics can be calibrated
JP2004504738A5 (en)
EP1139571B1 (en) Pulse width modulation D/A-converter
US6472933B2 (en) Switching amplifier incorporating return-to-zero quaternary power switch
KR101727626B1 (en) Class-d amplifier, audio processing appartus and mehtod of driving class-d amplifier
JP3928728B2 (en) Digital amplifier
US5963106A (en) Double-sided pulse width modulator
TW201929558A (en) Audio system
US11463100B1 (en) Digital-to-analog converter and digital-to-analog conversion method thereof
CN1251401C (en) Output control device of pulse width modulated inverter
US7557650B2 (en) Electronic signal generator with modulated cyclic ratio, compensated for variations in its power supply voltage
KR20010048965A (en) Operational amplifier having function of cancelling offset voltage
US6992607B2 (en) Speech synthesizer
CN115132163A (en) Audio playing device and starting method thereof
US6940439B2 (en) Multi-track speech synthesizer
CN106603056A (en) Analog signal soft switching control circuit with precise current steering generator
JP4056659B2 (en) DC clamp circuit

Legal Events

Date Code Title Description
AS Assignment

Owner name: SONIX TECHNOLOGY CO., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WEI, WEI-HSIN;HO, SHENG-YI;CHANG, JUNG-LIN;REEL/FRAME:014390/0477;SIGNING DATES FROM 20030723 TO 20030730

REMI Maintenance fee reminder mailed
FPAY Fee payment

Year of fee payment: 4

SULP Surcharge for late payment
REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20121012