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 linear motor of mobile terminal, 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 linear motor of mobile terminal wherein, comprises
The filtration module that is used for the harmonic noise of filtering baseband chip output;
For the operation amplifier module that the signal of filtration module output is amplified;
Described filtration module and operation amplifier module are connected between the PWM port and linear motor of baseband chip of mobile terminal successively.
The control circuit of described linear motor of mobile terminal, wherein, described filtration module is the second-order low-pass filter module, it comprises the first resistance, the second resistance, the first electric capacity and the second electric capacity; The first end of described the first resistance is connected with the PWM port of the baseband chip of mobile terminal, and the second end of the first resistance is connected with the first end of the second resistance, and the second end of described the second resistance is connected with the operation amplifier module; The first end of described the first electric capacity is connected with the second end of the first resistance, the second end ground connection of the first electric capacity; The first end of described the second electric capacity is connected with the second end of the second resistance, the second end ground connection of the second electric capacity.
The control circuit of described linear motor of mobile terminal, wherein, described operation amplifier module comprises amplification chip, the 3rd resistance, the 4th resistance, the 5th resistance, the 6th resistance and the 3rd electric capacity; Described filtration module is connected with the reverse input end of amplification chip by the 3rd resistance, the positive input of described amplification chip is by the 4th grounding through resistance, the power port of amplification chip and VDD power supply join, described the 5th resistance string is associated between the reverse input end and forward output of amplification chip, the 6th resistance string is associated between the positive input and inverse output terminal of amplification chip, one end of the 3rd electric capacity is connected with the power port of amplification chip, other end ground connection; Described linear motor is serially connected between the forward output and inverse output terminal of amplification chip.
The control circuit of described linear motor of mobile terminal, wherein, the voltage of linear motor is 3.3 times of voltage of filtration module.
compared to prior art, the control circuit of linear motor of mobile terminal provided by the invention, adopted series filtering module and operation amplifier module between the PWM port of the baseband chip of mobile terminal and linear motor, filtering the high order harmonic component noise in the pwm signal of baseband chip output, and sine wave output signal, then amplify by the operation amplifier module and drove afterwards linear motor, 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 operation amplifier 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 operation amplifier module of the present invention.
Fig. 8 is the voltage tester oscillogram of each signal of operation amplifier 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 linear motor of mobile terminal, clearer, clear and definite for making purpose of the present invention, technical scheme and effect, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also Fig. 1, the control circuit of the linear motor of mobile terminal S1 that the embodiment of the present invention provides comprises filtration module and operation amplifier module, and described filtration module and operation amplifier module are connected between the PWM port and linear motor S1 of baseband chip of mobile terminal successively.
Wherein, described filtration module is used for the harmonic noise of filtering baseband chip output, the sine wave output AC signal, the operation amplifier 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 the first resistance R 1, the second resistance R 2, the first capacitor C 1 and the second capacitor C 2.The first end 1 of described the first resistance R 1 is connected with the PWM port of the baseband chip of mobile terminal, and the second end 2 of the first resistance R 1 is connected with the first end 1 of the second resistance R 2, and the second end 2 of described the second resistance R 2 is connected with the operation amplifier module.The first end 1 of described the first capacitor C 1 is connected with the second end 2 of the first resistance R 1, the second end 2 ground connection of the first capacitor C 1, and the first end 1 of described the second capacitor C 2 is connected with the second end 2 of the second resistance R 2, the second end 2 ground connection of the second capacitor C 2.
In the embodiment of the present invention, described mobile terminal is mobile phone, and its baseband chip output frequency is the square-wave signal of 175Hz, and its oscillogram as shown in Figure 5, due to the high order harmonic component noise that has comprised 175Hz in 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 above-mentioned
data substitution formula 1 and formula 2 are got,
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. the
first resistance R 1 and the
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 square wave after second-order low pass filter (i.e. the filter of two resistance and the second capacitor C 2 compositions) filtering.
See also Fig. 2 and Fig. 4, in the embodiment of the present invention, described operation amplifier 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 is connected with the reverse input end IN-of amplification 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, power port VCC and the VDD power supply of amplification chip U1 join, described the 5th resistance R 5 is connected between the reverse input end IN-and forward output OUT+ of amplification chip U1, the 6th resistance R 6 is connected between the positive input IN+ and inverse output terminal OUT-of amplification chip U1, one end of the 3rd capacitor C 3 is connected with the power port VCC of amplification chip U1, other end ground connection.Described linear motor S1 is serially connected between the forward output OUT+ and inverse output terminal OUT-of amplification chip U1, the GND port ground connection of described amplification chip.
According to the characteristic of amplification 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 was high level, amplification chip enabled, 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 operation amplifier 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, and as shown in the figure, linear motor S1 is under the frequency of 175Hz, and acceleration is maximum, and shockproofness is maximum.When frequency higher than or during lower than 175Hz, its acceleration reduces, 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 large, acceleration becomes large, it is large 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 operation amplifier module on the second-order filter module, the voltage that makes 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.