Frequency-hopping carrier generator
Technical field
The present invention relates to frequency-hopping carrier generator, particularly relate to and a kind ofly do not have low pass filter and produce the frequency-hopping carrier generator that variation frequency reduces the EMI peak value according to first electric current and second electric current.
Background technology
D class (digital audio power) amplifier is a kind ofly will import simulated audio signal or PCM digital information converts PWM (pulse width modulation) or PDM (impulse density modulation) isopulse signal to, remove to control the audio-frequency power amplifier of high-power switch device on/off then with the pulse signal of PWM or PDM, be also referred to as switch power amplifier, it has high efficiency outstanding advantage.Amplification of D class or digital amplifier form circuit, switch power circuit (semibridge system and full-bridge type) and low pass filter four parts such as (LC) by input signal treatment circuit, switching signal and form.The D class A amplifier A is to utilize the conversion switch circuit of high frequency to come audio signal.Its characteristic is as follows, 1. has very high efficient, can reach more than 85% usually.2。Volume is little, can save very big space than the amplifying circuit of analogy.3。There is not the noise of splitting during switch.
The shortcoming of traditional D class A amplifier A is to need to use low pass filter, owing to use low pass filter can increase cost and the excessive circuit design that is unfavorable for integral body of its volume, so advanced manufacturer just proposes not have the D power-like amplifier of low pass filter.The D class A amplifier A of no low pass filter can be with reference to No. 6545533, the United States Patent (USP) of disclosed Texas Instruments on the 8th April in 2003, and this kind D class A amplifier A uses mess code (PSEDUO NOISE) generator.But because the mess code generator is asynchronous with the PWM carrier wave, the difference frequency of these two signals will cause interference to audio signal.Because the signal of mess code generator is as a random signal, so its difference frequency interference signal can't reduce its annoyance level with specific circuit also as a random disturbances signal.
Another kind of D class A amplifier A can be a kind of D class A amplifier As that do not have low pass filter that MAXIM company is released with reference to No. 6847257 these patents of laid-open U.S. Patents on January 25th, 2005, and it provides fixed frequency (FFM) pattern and spread-spectrum (SSM) pattern.The reason that this type of technology meets the requirement of EMI radiation levels is to increase a common mode pulse in original signal, and spread spectrum mode has reduced the EMI radiation that modulating frequency produces, and still can meet the requirement of FCC EMI radiation levels exactly when not adding the LC filter.But this invention produces at random in the generation of frequency of amendment.As shown in Figure 1, the spectrogram of the traditional D class A amplifier A wherein peak value of energy is-4db, and its high-frequency harmonic (harmonics) is-20db.
Summary of the invention
Main order of the present invention provides a kind of frequency-hopping carrier generator, can be applicable to be used for saving cost, and still can meet the requirement of FCC EMI radiation levels on a kind of D class A amplifier A that does not have a low pass filter.
Another object of the present invention provides a kind of frequency-hopping carrier generator, the generation of its frequency of amendment is synchronous, when detecting voltage device detecting voltage is higher than first magnitude of voltage, this detecting voltage and direction controller can produce one and control signal to ramp generating circuit and make this electric capacity become discharge condition by charged state to change the sense of current, and when this detecting voltage device detecting voltage was lower than second magnitude of voltage, this detecting voltage and direction controller can produce one and control signal to ramp generating circuit and make this electric capacity become charged state by discharge condition to change the sense of current.So because to charge and discharge power supply is that a current source charge-discharge characteristic is a straight line, the voltage of electric capacity promptly discharges and recharges with linear mode between first voltage and second voltage and exports oblique wave (ramp) like this.
The invention provides a kind of frequency-hopping carrier generator, comprise current source, current source is in order to produce first electric current; First electric current may be output to a ramp voltage generator, by ramp voltage generator (ramp generator) and the electric capacity output ramp voltage that is connected.The output of ramp voltage generator connects detecting voltage and direction controller and pulse width modulation module respectively, and this pulse width modulation module can receive audio input signal in addition, and after this detecting voltage and direction controller receive ramp voltage, output control signals to this ramp voltage generator and counter synchronously, counter is connected with digital control current source, according to the value of this counter, this digital control current source is exported second electric current to this ramp voltage generator.This second electric current promptly compiles to change the ramp voltage generator with first electric current it is connected the discharging and recharging slope of electric capacity and changes carrier frequency.In other words, the frequency of carrier wave changes along with the content of counter.Because control signal generation when changing into discharge or discharge to change into charging by charging, and control signal is directly changed the content of counter and is controlled the size of charging or discharging current, reaches synchronous purpose so the change of the size of charging or discharging current takes place simultaneously with the change that discharges and recharges direction.
Frequency-hopping carrier generator of the present invention can be applicable on the D class A amplifier A of no low pass filter, and still can meet the requirement of FCC EMI radiation levels, and the generation of variation frequency of the present invention is synchronous, so can avoid difference frequency to disturb.
Description of drawings
Fig. 1 is the EMI datagram of prior art;
Fig. 2 is the circuit framework block diagram of embodiment of the present invention;
Fig. 3 is the EMI datagram of embodiment of the present invention.
The critical piece symbol description is as follows:
12 ramp voltage generators
14 current sources
16 electric capacity
18 detecting voltages and direction controller
20 counters
22 digital control current sources
24 pulse width modulation modules
26 switch power amplifiers
Embodiment
For describing the present invention in detail, please refer to Fig. 2 and Fig. 3.The frequency-hopping carrier generator of the embodiment of the invention includes ramp voltage generator 12, to produce different variation frequency.
Frequency-hopping carrier generator comprises the current source 14 that produces first electric current, after current source 14 produces first electric current, export first electric current receiving terminal of a ramp voltage generator 12 to, ramp voltage generator 12 cooperates electric capacity 16 with the output ramp voltage after receiving these first electric currents.As shown in Figure 2, the output of ramp voltage generator 12 connects electric capacity 16 (definite value), detecting voltage and direction controller 18, pulse width modulation (PWM) module 24 respectively.When detecting voltage and direction controller 18 sent the charge or discharge direction of control signal change electric capacity 16, the value of counter 20 also was updated simultaneously.
After detecting voltage and direction controller 18 receive ramp voltage, output control signals to this ramp voltage generator 12 and counter 20 synchronously.Wherein counter 20 is a gray code counter (Gray CodeCounter).Counter 20 is connected with digital control current source 22, value according to counter 20, output second electric currents are to ramp voltage generator 12 synchronously for digital control current source 22, and this second electric current and first electric current compile and become the charge or discharge electric current and discharge and recharge slope or synchronous change oblique wave frequency with synchronous change.Pulse width modulation module 24 can receive audio input signal in addition, the output signal of pulse width modulation module 24 be a PM signal (PWM) its may be output to the input of switch power amplifier 26, again by switch power amplifier 26 output D class signals.
Because its output code of gray code counter once only changes a position (bit), its other counter of exchange noise ratio is low, and present embodiment can produce 2 with gray code counter as the gray code counter 20 of 20, one N positions of counter
NDifferent values reduces the peak value of EMI, and the formula that reduces peak value is:
10log?1/2
N=-10log2
N=-10Nlog2=-3Ndb
Therefore, as present embodiment with one 4 gray code counter 20 as example, can make EMI peak value reduction-12db in theory.Please refer to Fig. 3, compared to Fig. 1, the energy peak of Fig. 3 for-12db and its high-frequency harmonic (harmonics) maintain-below the 30db, its improvement degree is between 8~10db.The D power-like amplifier of no low pass filter is by a larger margin reduction EMI if desired, can increase the position of gray code counter.No matter what of position, the output code of gray code counter once only changes a position, can not increase along with the increase of position so it exchanges noise.Other digital counting device such as binary counter (Binary Counter), decade counter (BCD Counter) or mess code generator all can't reach the purpose of the low exchange noise of one of little another change of circuit.
The generation of the variation frequency of the embodiment of the invention is synchronous.The mode that changes is when detecting voltage device detecting voltage is higher than first magnitude of voltage, this detecting voltage and direction controller 18 can produce a control signal makes this electric capacity 16 become discharge condition by charged state, when this detecting voltage device detecting voltage was lower than second magnitude of voltage, this detecting voltage and direction controller 18 can produce a control signal made this electric capacity 16 become charged state by discharge condition.From the above, second size of current also will be revised the slope that discharges and recharges with synchronous change thereupon when electric capacity 16 changes charging and discharging state.
The above is the preferred embodiments of the present invention only, is not to be used for limiting scope of the invention process.So all should be included in the claim of the present invention according to variation or modification that the described shape of the present patent application scope, structure, feature and spirit are done.