This application claims the benefit of Korean Patent Application No. 10-2013-0166740 filed on Dec. 30, 2013, with the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
The present disclosure relates to a motor driving apparatus and method, and a voice coil motor system using the same.
Auto-focusing technology, technology allowing for the focusing of a lens through a lens being automatically moved by a predetermined amount using an electric motor, a piezoelectric element, or the like, has been applied to cameras, smartphone camera modules, and the like.
In auto-focusing technology, a lens is focused by sensing a distance to an imaging object and then moving the lens to a position at which an optimal image is formed by an auto-focusing algorithm using an image output signal from a sensor.
In order to perform auto-focusing, a motor, that is, an actuator, is required. Actuators can be classified as stepping motor (SM) type actuators, piezoelectric type actuators, voice coil motor (VCM) type actuators, and others, depending on a driving scheme employed therein.
Among such actuators, the voice coil motor type actuator has been used in mobile devices, in which miniaturization is important, such as cellular phones. That is, such a voice coil motor is driven to move a lens, such that auto-focusing, for focusing a camera lens on a specific subject, may be performed.
A general voice coil motor may not satisfy a requirement for miniaturization in the case of a closed loop control. Therefore, a scheme of controlling a voice coil motor is generally implemented with an open loop.
However, in the case of controlling the voice coil motor with such an open loop, a unique resonance phenomenon may occur therein. Such a resonance phenomenon may cause a ringing phenomenon at the time of driving a voice coil motor, thereby having an effect on an auto-focusing function of a camera or causing malfunctioning thereof.
An exemplary embodiment in the present disclosure may provide a motor driving apparatus and method capable of more precisely controlling the driving of a voice coil motor by generating a driving signal through reflection of a weight using a damping ratio of a motor apparatus to prevent a resonance phenomenon occurring in the voice coil motor and a ringing phenomenon due to the resonance phenomenon, and a voice coil motor system using the same.
According to an exemplary embodiment in the present disclosure, a motor driving apparatus may include: a weight generating unit generating weights of external input signals using a damping ratio of a motor apparatus; and a driving signal generating unit generating a driving signal by converting values of at least some signals among the external input signals to 0 using the weights.
The weight generating unit may calculate the weight α using the following Equation:
α=p(1)*zeta3+p(2)*zeta2+p(3)*zeta+p(4)
where zeta is the damping ratio, and p(1) to p(4) indicate fitting coefficients.
The driving signal may include a first signal outputting a first value until a first time, a second signal outputting 0 from the first time to a second time, and a third signal outputting the first value after the second time.
The driving signal generating unit may include: a timing controller determining output timing of the second signal using the weight provided from the weight generating unit; and a selector outputting the driving signal including the first to third signals based on controlling by the timing controller.
The timing controller may reflect the weight at a point in time corresponding to ⅙ of a resonance period of the motor apparatus to determine the first time and may determine a point in time corresponding to ⅓ of the resonance period of the motor apparatus to be the second time.
The motor driving apparatus may further include a filter unit low-pass-filtering the driving signal output from the driving signal generating unit.
The external input signal and the driving signal may be digital signals, and the motor driving apparatus may further include a digital-to-analog converting unit performing digital-to-analog conversion on the driving signal and providing the converted signal to the motor apparatus.
According to an exemplary embodiment in the present disclosure, a voice coil motor system may include: a voice coil motor apparatus; and a motor driving apparatus generating a driving signal using a damping ratio of the voice coil motor apparatus, wherein the driving signal is generated by converting values of at least some of external input signals to 0 using weights generated using the damping ratio.
The motor driving apparatus may include: a weight generating unit generating the weights of the external input signals using the damping ratio; and a driving signal generating unit generating the driving signal by converting values of at least some signals among the external input signals to 0 using the weights.
The weight generating unit may calculate the weight α using the following Equation:
α=p(1)*zeta3+p(2)*zeta2+p(3)*zeta+p(4)
where zeta is the damping ratio, and p(1) to p(4) indicate fitting coefficients.
The driving signal may include a first signal outputting a first value until a first time, a second signal outputting 0 from the first time to a second time, and a third signal outputting the first value after the second time.
The driving signal generating unit may include: a timing controller determining output timing of the second signal using the weight provided from the weight generating unit; and a selector outputting the driving signal including the first to third signals based on controlling by the timing controller.
The timing controller may reflect the weight at a point in time corresponding to ⅙ of a resonance period of the voice coil motor apparatus to determine the first time and may determine a point in time corresponding to ⅓ of the resonance period of the voice coil motor apparatus to be the second time.
According to an exemplary embodiment in the present disclosure, a motor driving method performed by a motor driving apparatus for driving a motor apparatus may include: generating weights of external input signals using a damping ratio of the motor apparatus; and generating a driving signal by converting values of at least some signals among the external input signals to 0 using the weights.
The driving signal may include a first signal outputting a first value until a first time, a second signal outputting 0 from the first time to a second time, and a third signal outputting the first value after the second time.
In the generating of the weights, the weight α may be calculated using the following Equation:
α=p(1)*zeta3+p(2)*zeta2+p(3)*zeta+p(4)
where zeta is the damping ratio, and p(1) to p(4) indicate fitting coefficients.
The generating of the driving signal may include: reflecting the weight at a point in time corresponding to ⅙ of a resonance period of the motor apparatus to determine the first time and determining a point in time corresponding to ⅓ of the resonance period of the motor apparatus to be the second time; outputting a value corresponding to the external input signal until the first time; outputting 0 from the first time to the second time; and outputting the value corresponding to the external input signal after the second time.
The above and other aspects, features and other advantages of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
Exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings.
In addition, hereinafter, a motor apparatus itself will be called a motor apparatus, and a system including a motor driving apparatus for driving the motor apparatus and the motor apparatus will be called a motor system.
Hereinafter, a transfer function of a voice coil motor according to an exemplary embodiment of the present disclosure will be described. The following description may be applied to a weight generating unit and a driving signal generating unit to be described below.
The transfer function of the voice coil motor, which is a 2nd order dynamic system, may be mathematically modeled as represented by Mathematical Equation 1.
Here, ωn is a natural frequency, and ζ is a damping ratio.
In a damped case (0<ζ<1), a transfer function has a complex pole as represented by Mathematical Equation 2.
Here, ωd=ωs√{square root over (1−ζ2)} is a damped natural frequency.
Mathematical Equation 3 may be replaced by Mathematical Equation 4 in order to facilitate inverse Laplace transform.
The response (y(t)) of the system to the unit step input may be represented by Mathematical Equation 5 using the inverse Laplace transform formula.
Therefore, the response to the unit step may be represented by Mathematical Equation 6.
Here, an error signal means residual vibrations and is represented by Mathematical Equation 7.
As a result, a ringing phenomenon of the voice coil motor may be suppressed by suppressing the error signal.
As such, the unit gate signal may be represented by the sum of two unit step signals having the same magnitude and opposite signs. The unit gate signal shown in
Therefore, this may be represented by Mathematical Equation 9.
g(t)=u(t)−u(t−t1) [Mathematical Equation 9]
According to an exemplary embodiment of the present disclosure, a driving signal may be generated using a combined pulse signal. The combined pulse signal may have a form of a function having a predetermined value until any point in time t1, having 0 from the point in time t1 to a point in time t2, and again having the predetermined value after the point in time t2.
The combined pulse signal may be represented by Mathematical Equation 10.
f(t)=g(t)+u(t−t2)=u(t)−u(t−t1)+u(t−t2) [Mathematical Equation 10]
Therefore, a system response of a composite signal input may be represented by Mathematical Equation 11 by a principle of superposition.
Total residual vibrations of the system response may be represented by the sum of residual vibrations of three step inputs as represented by Mathematical Equation 12.
This may also be represented by Mathematical Equation 13.
E(t)=e(t)u(t)−e(t−t1)u(t−t1)+e(t−t2)u(t−t2) [Mathematical Equation 13]
Therefore, in order to remove a ringing phenomenon, that is, total residual vibrations, of the system response,
Mathematical Equation 14 needs to be satisfied.
Mathematical Equation may be represented by Mathematical Equation 15 in an undamped case (ζ=0).
cos ωdt−cos ωd(t−t1)+cos ωd(t−t2)=0 [Mathematical Equation 15]
Here, when t=0, Mathematical Equation may be satisfied.
cos ωdt1−cos ωdt2=1 [Mathematical Equation 16]
In addition, when (πn/2)/(wd) is substituted into t, Mathematical Equation 17 may be satisfied.
sin ωdt1−sin ωdt2=0 [Mathematical Equation 17]
When Mathematical Equation 17 is arranged, Mathematical Equation 18 may be derived, and when two Mathematical Equations are squared and then arranged, Mathematical Equation 19 may be derived. Then, when two Mathematical Equations are added and then arranged, Mathematical Equation 20 may be obtained.
cos ωdt1−cos ωdt2=1
sin ωdt1−sin ωdt2=0 [Mathematical Equation 18]
cos2 ωdt1−2 cos ωdt1 cos ωdt2−cos2 ωdt2=1
sin2 ωdt1−2 sin ωdt1 sin ωdt2−sin2 ωdt2=0 [Mathematical Equation 19]
1−2(cos ωdt1 cos ωdt2+sin ωdt1 sin ωdt2)+1=1
1−2 cos ωd(t1−t2)=0
cos ωd(t1−t2)=½ [Mathematical Equation 20]
Therefore, Mathematical Equation 21 may be derived from the above Mathematical Equation.
ωd(t1−t2)=−π/3(∵t1<t2) [Mathematical Equation 21]
When ωdt1=ωdt2−π/3 is substituted into Mathematical Equation 21, Mathematical Equation 22 may be derived.
cos(ωdt2−π/3)−cos ωdt2=1
sin(ωdt2−π/3)−sin ωdt2=0 [Mathematical Equation 22]
When a first equation of Mathematical Equation 22 is arranged, Mathematical Equation 23 may be derived, and when a second equation of Mathematical Equation 22 is arranged, Mathematical Equation 24 may be derived. In addition, when Mathematical Equations 23 and 24 are arranged, Mathematical Equation 25 may be obtained.
cos ωdt2 cos π/3+sin ωdt2 sin π/3−cos ωdt2=1
½ cos ωdt2+√{square root over (3)}/2 sin ωdt2−cos ωdt2=1 [Mathematical Equation 23]
sin ωdt2 cos π/3+cos ωdt2 sin π/3−sin ωdt2=0
½ sin ωdt2+√{square root over (3)}/2 cos ωdt2−sin ωdt2=1 [Mathematical Equation 24]
½ cos ωdt2+√{square root over (3)}/2 sin ωdt2=1
√{square root over (3)}/2 cos ωdt2−½ sin ωdt2=0 [Mathematical Equation 25]
Mathematical Equation 26 may be obtained from a second equation of Mathematical Equation 25, and when Mathematical Equation 26 is substituted into a first equation of Mathematical Equation 25 and then arranged, Mathematical Equation 27 may be obtained.
As a result, Mathematical Equation 28 may be derived from Mathematical Equation 27.
When the above equations are arranged, in the case in which the composite signal is used as the driving signal, the residual vibrations of the entire system response may be represented by Mathematical Equation 29.
E(t)=e(t)u(t)−e(t−t1)u(t−t1)+e(t−t2)u(t−t2) [Mathematical Equation 29]
Therefore, a case in which residual vibrations become 0 in the undamped case (ζ=0) may be represented by Mathematical Equation 30.
Meanwhile, in the damped case (0<ζ<1) rather than the undamped case, a condition under which the residual vibrations become 0 may be changed depending on the damping ratio of the system.
As shown in
As shown in
As described above, according to an exemplary embodiment of the present disclosure, an optimal weight may be calculated using a fitting function depending on the damping ratio of the voice coil motor. Hereinafter, various exemplary embodiments of the present disclosure will be described based on the above-mentioned mathematical background.
The voice coil motor system may include a voice coil motor apparatus 200 and a motor driving apparatus 100.
The motor driving apparatus 100 may generate a driving signal using a damping ratio of the voice coil motor apparatus 200.
In an exemplary embodiment of the present disclosure, the driving signal may be generated by reflecting weights generated using the damping ratio in external input signals (for example, set codes). For example, in the case in which the driving signal is the above-mentioned composite signal, in an exemplary embodiment of the present disclosure, the driving signal may be generated by converting values of at least some signals among the external input signals to 0 using the weight by the weight body, such that a ringing phenomenon of the voice coil motor may be decreased.
In an exemplary embodiment of the present disclosure, the motor driving apparatus 100 may include a weight generating unit 110 and a driving signal generating unit 120. In an exemplary embodiment of the present disclosure, the motor driving apparatus 100 may further include at least one of a filter unit 130 and a digital-to-analog converting unit 140.
The weight generating unit 110 may generate weights of the external input signals using a damping ratio of a motor apparatus (voice coil motor apparatus in an example shown in
In an exemplary embodiment of the present disclosure, the weight generating unit 110 may generate the weight per each period of the driving signal.
In an exemplary embodiment of the present disclosure, the weight generating unit 110 may generate the weight using Mathematical Equation 31.
α=p(1)*zeta3+p(2)*zeta2+p(3)*zeta+p(4) [Mathematical Equation 31]
Here, zeta is a damping ratio, and p(1) to p(4) indicate fitting coefficients.
The generated weight may be provided to the driving signal generating unit 120, and the driving signal generating unit 120 may generate the driving signal using the weight.
The driving signal generating unit 120 may generate the driving signal by converting values of at least some signals among the external input signals to 0 using the weights.
In an exemplary embodiment of the present disclosure, the driving signal may include a first signal outputting a predetermined value until a first time, a second signal outputting 0 from the first time to a second time, and a third signal outputting the predetermined value after the second time.
Referring to
Here, it may be appreciated that the driving signal generating unit 120 determines the first time using a weight α. As a result, the driving signal generating unit 120 may set some signals among the external input signals to 0 at a predetermined point in time depending on the damping ratio of the voice coil motor apparatus 200 to offset vibrations of the voice coil motor apparatus 200, thereby preventing a ringing phenomenon.
In an exemplary embodiment of the present disclosure, the driving signal generating unit 120 may include a timing controller 121 and a selector 122.
The timing controller 121 may reflect the weight in the external input signal and determine output timing of the second signal using the weight provided from the weight generating unit 110.
In an exemplary embodiment of the present disclosure, as shown in
The selector 122 may output the driving signal including the first to third signals based on the control of the timing controller.
Referring to
The timing controller 121 may perform a control to output the external input signal (set code) in the case in which α*Td/6<N*Fclk. The timing controller 121 may perform a control to output 0 in the case in which α*Td/6=N*Fclk=Td/3 and may perform a control to again output the external input signal (set code in the case in which Td/3<N*Fclk. Here, N is a counter coefficient, and Fclk is a frequency of a clock of the counter.
Again referring to
The filter unit 130 may include a low pass filter (LPF) that may shape the driving signal. As an example, the filter unit 130 may be implemented by a 1st infinite impulse response (IIR) filter.
Here, a transfer function of a filter may be represented by Mathematical Equation 32.
This may be represented by Mathematical Equation 33, which is a difference equation.
y(n)=(1−2̂-P)*y(n−1)+2̂-P*x(n) [Mathematical Equation 33]
In addition, an effective cut-off frequency of the filter may be represented by Mathematical Equation 34.
Here, Fs is a sampling frequency.
The digital-to-analog converting unit 140 may perform digital-to-analog conversion on the driving signal and provide the converted signal to the voice coil motor apparatus.
Since a motor driving method to be described below with reference to
Referring to
Then, the motor driving apparatus 100 may generate the driving signal by converting values of at least some signals among the external input signals to 0 using the weights (S1320 through S1350).
In an exemplary embodiment of the present disclosure, the motor driving apparatus 100 may reflect the weight at the point in time corresponding to ⅙ of the resonance period of the motor apparatus to determine the first time and may determine the point in time corresponding to ⅓ of the resonance period of the motor apparatus to be the second time (S1320). Then, the motor driving apparatus 100 may output a value corresponding to the external input signal until the first time (S1330) and output 0 from the first time to the second time (S1340). The motor driving apparatus 100 may output a value corresponding to the external input signal after the second time (S1350).
The above-mentioned the driving signal may include the first signal outputting the predetermined value until the first time, the second signal outputting 0 from the first time to the second time, and the third signal outputting the predetermined value after the second time.
In an example of S1310, the motor driving apparatus 100 may calculate the weight α using the following Equation.
α=p(1)*zeta3+p(2)*zeta2+p(3)*zeta+p(4);
Here, zeta is the damping ratio, and p(1) to p(4) indicate the fitting coefficients.
As set forth above, according to exemplary embodiments of the present disclosure, the driving signal is generated by reflecting the weight using the damping ratio of the motor apparatus to prevent a resonance phenomenon of the voice coil motor and a ringing phenomenon due to the resonance phenomenon, whereby the driving of the voice coil motor may be more accurately controlled.
While exemplary embodiments have been shown and described above, it will be apparent to those skilled in the art that modifications and variations could be made without departing from the spirit and scope of the present disclosure as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2013-0166740 | Dec 2013 | KR | national |