Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of control circuit of portable terminal linear motor, with the problem of the driving that solves linear motor.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of control circuit of portable terminal linear motor wherein, comprises
The filtration module that is used for the harmonic noise of filtering baseband chip output;
Be used for computing amplification module that the signal of filtration module output is amplified;
Described filtration module and computing amplification module are connected between the PWM port and linear motor of baseband chip of portable terminal successively.
The control circuit of described portable terminal linear motor, wherein, described filtration module is the second-order low-pass filter module, it comprises first resistance, second resistance, first electric capacity and second electric capacity; First end of described first resistance links to each other with the PWM port of the baseband chip of portable terminal, and second end of first resistance links to each other with first end of second resistance, and second end of described second resistance links to each other with the computing amplification module; First end of described first electric capacity links to each other with second end of first resistance, the second end ground connection of first electric capacity; First end of described second electric capacity links to each other with second end of second resistance, the second end ground connection of second electric capacity.
The control circuit of described portable terminal linear motor, wherein, described computing amplification module comprises amplification chip, the 3rd resistance, the 4th resistance, the 5th resistance, the 6th resistance and the 3rd electric capacity; Described filtration module links to each other with the reverse input end that amplifies chip by the 3rd resistance, the positive input of described amplification chip is by the 4th grounding through resistance, the power port and the VDD power supply that amplify chip join, described the 5th resistance string is associated between the reverse input end and forward output that amplifies chip, the 6th resistance string is associated between the positive input and inverse output terminal that amplifies chip, one end of the 3rd electric capacity links to each other other end ground connection with the power port that amplifies chip; Described linear motor is serially connected between the forward output and inverse output terminal that amplifies chip.
The control circuit of described portable terminal linear motor, wherein, the voltage of linear motor is 3.3 times of voltage of filtration module.
Compared to prior art, the control circuit of portable terminal linear motor provided by the invention, adopted series filtering module and computing amplification module between the PWM port of the baseband chip of portable terminal and linear motor, filtering the high order harmonic component noise in the pwm signal of baseband chip output, and sine wave output signal, amplify by the computing amplification module then and drove linear motor afterwards, realized the driven of linear motor, and the present invention also can utilize the frequency of the pwm signal that changes baseband chip output, duty ratio and amplitude change the vibrating effect of linear motor.
Description of drawings
Fig. 1 is the structured flowchart of the control circuit preferred embodiment of linear motor of the present invention.
Fig. 2 is the circuit theory diagrams of the control circuit preferred embodiment of linear motor of the present invention.
Fig. 3 is the circuit theory diagrams of the filtration module in the control circuit of linear motor of the present invention.
Fig. 4 is the circuit theory diagrams of the computing amplification module in the control circuit of linear motor of the present invention.
Fig. 5 is the voltage waveform view of baseband chip of mobile terminal output signal of the present invention.
Fig. 6 is the voltage tester oscillogram of filtration module of the present invention.
Fig. 7 is the voltage tester oscillogram of computing amplification module of the present invention.
Fig. 8 is each voltage of signals test waveform figure of computing amplification module output of the present invention.
Fig. 9 is the acceleration signature schematic diagram of linear motor.
Embodiment
The invention provides a kind of control circuit of portable terminal linear motor, clearer, clear and definite for making purpose of the present invention, technical scheme and effect, below develop simultaneously with reference to accompanying drawing that the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
See also Fig. 1, the control circuit of the portable terminal linear motor S1 that the embodiment of the invention provides comprises filtration module and computing amplification module, and described filtration module and computing amplification module are connected between the PWM port and linear motor S1 of baseband chip of portable terminal successively.
Wherein, described filtration module is used for the harmonic noise of filtering baseband chip output, the sine wave output AC signal, the computing amplification module is used for the signal of filtration module output is amplified, the voltage that makes linear motor S1 two ends is 3.3 times of filtration module output voltage, thereby drives linear motor S1 work.
See also Fig. 2 and Fig. 3, described filtration module is the second-order low-pass filter module, and it comprises first resistance R 1, second resistance R 2, first capacitor C 1 and second capacitor C 2.First end 1 of described first resistance R 1 links to each other with the PWM port of the baseband chip of portable terminal, and second end 2 of first resistance R 1 links to each other with first end 1 of second resistance R 2, and second end 2 of described second resistance R 2 links to each other with the computing amplification module.First end 1 of described first capacitor C 1 links to each other with second end 2 of first resistance R 1, second end, 2 ground connection of first capacitor C 1, and first end 1 of described second capacitor C 2 links to each other with second end 2 of second resistance R 2, second end, 2 ground connection of second capacitor C 2.
In the embodiment of the invention, described portable terminal is a mobile phone, and its baseband chip output frequency is the square-wave signal of 175Hz, and its oscillogram as shown in Figure 5, because comprised the high order harmonic component noise of 175Hz in the square-wave signal, the present invention adopts the second-order low-pass filter module to come filtering high order harmonic component noise.
In the specific implementation, the cut-off frequency of described second-order low-pass filter module is 175Hz, after the pwm signal process second-order low-pass filter module of baseband chip, can draw:
In the present embodiment, set R1=1K Ω, R2=1K Ω, C1=1uf, C2=500nf,
=1.8V, and with above-mentioned
data substitution formula 1 and
formula 2,
Wherein,
Be the voltage amplitude of single order low-pass filtering,
Be the voltage amplitude of second-order low-pass filter, its voltage oscillogram as shown in Figure 6.As can be seen from Figure 6, when amplitude be 1.8V, frequency be the square wave of 175Hz through the first rank low pass filter (i.e.
first resistance R 1 and
first capacitor C 1 form filter) after, higher harmonic components is not fully by filtering, so signal PWM_RC1 has distortion, but substantially by filtering, output amplitude is that 1V, frequency are the sine wave signal PWM_RC2 of 175Hz through the higher harmonic components in the square wave after the second rank low pass filter (i.e. the filter of two resistance and second capacitor C, the 2 compositions) filtering.
See also Fig. 2 and Fig. 4, in the embodiment of the invention, described computing amplification module comprises amplification chip U1, the 3rd resistance R 3, the 4th resistance R 4, the 5th resistance R 5, the 6th resistance R 6 and the 3rd capacitor C 3.Described filtration module links to each other with the reverse input end IN-that amplifies chip U1 by the 3rd resistance R 3, the positive input IN+ of described amplification chip U1 is by the 4th resistance R 4 ground connection, the power port VCC and the VDD power supply that amplify chip U1 join, described the 5th resistance R 5 is connected between the reverse input end IN-and forward output OUT+ that amplifies chip U1, the 6th resistance R 6 is connected between the positive input IN+ and inverse output terminal OUT-that amplifies chip U1, one end of the 3rd capacitor C 3 links to each other other end ground connection with the power port VCC that amplifies chip U1.Described linear motor S1 is serially connected between the forward output OUT+ and inverse output terminal OUT-that amplifies chip U1, the GND port ground connection of described amplification chip.
According to the characteristic of amplifying chip,
, wherein, the
3rd resistance R 3 and the
4th resistance R 4 are 50 Ω, and the 5th resistance R 5 and the 6th resistance R 6 are 165 Ω, so when GPIO is high level, amplify chip enable, start working the voltage difference at motor two ends
=
, its voltage oscillogram as shown in Figure 7 and Figure 8.As can be seen from Figures 7 and 8, after the signal of filtration module output amplified through the computing amplification module, the voltage of linear motor S1 was 3.3 times of voltage of filtration module, thus but driven linear motor.
See also Fig. 9, it is the acceleration signature waveform schematic diagram of linear motor S1, as shown in the figure, linear motor S1 under the frequency of 175Hz, acceleration maximum, shockproofness maximum.When frequency was higher than or be lower than 175Hz, its acceleration reduced, shockproofness all reduces.Therefore the frequency that changes the pwm signal of baseband chip output can change the shockproofness of linear motor S1.The acceleration of linear motor S1 also can be controlled by voltage, and when voltage is big, acceleration becomes big, it is big that shockproofness becomes.Therefore change the amplitude of pwm signal of baseband chip output or the shockproofness that the duty ratio that changes pwm signal can change linear motor S1.
In sum, the present invention comes driven nature line motor by add the computing amplification module on the second-order filter module, the voltage that makes the linear motor two ends is 3.3 times of second-order filter module, realized the driven of linear motor, and the present invention can utilize also frequency, duty ratio and the amplitude of the pwm signal that changes baseband chip output to change the vibrating effect of linear motor.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.