This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2016-061845, filed on Mar. 25, 2016, the entire contents of which are incorporated herein by reference.
The present disclosure relates to a technique for controlling a voice coil motor.
In digital still cameras, digital video cameras, or electronic apparatuses with an imaging function (for example, smart phones and tablet terminals), an actuator for positioning a focusing lens is provided. Such an actuator adopts a stepping motor system, a piezo system, a voice coil motor (VCM) system or the like.
A VCM can generate a driving force according to the direction of a current flowing through a coil. A spring return system and a bidirectional drive system are known as VCM drive systems. A VCM with a spring return mechanism is structured to generate a driving force in a first direction by supplying a drive current to a coil and generate a driving force in a second direction, which is opposite to the first direction, by a force of a spring attached to a mover of the VCM. That is, electrical driving and mechanical driving are used in combination. When driving the VCM with the spring return mechanism, the drive current is supplied to the coil only in one direction, thereby simplifying a drive circuit. On the other hand, a drive circuit capable of sourcing and sinking a drive current from both ends of the VCM, like an H bridge circuit, is used in the bidirectional drive system. In the bidirectional drive system, a driving force in positive and negative directions can be obtained by switching the direction of a coil current.
The present inventor has studied a voice coil motor installed in an electronic apparatus and has found the following problems.
As illustrated in
The lens module 502 is provided to realize an autofocus function and includes a focusing lens 512 and an actuator 510. The lens 512 is movably supported in an optical axis direction. The actuator 510 controls the position of the lens 512 based on a command value S1 from the CPU 508.
Light (an image) which passed through the lens 512 is incident onto the imaging element 504. The image processor 506 reads image data from the imaging element 504. Based on the image data read by the image processor 506, the CPU 508 determines a target position of the focusing lens 512 so that the image passed through the focusing lens 512 is formed on the imaging element 504, and outputs the command value S1 corresponding to the target position to the actuator 510. The autofocus system may be a contrast system or a phase difference detection system.
In the system of
Such control has a problem that, depending on the posture of the electronic apparatus 500, it takes a long time until the focusing lens 512 is stabilized at the optimum position by feedback. This means that a position command signal is repeatedly transmitted from the CPU 508 to the drive circuit of the actuator 510, which causes another problem of increased power consumption. Although the spring return system has been described here, the same problem may occur also in the bidirectional driving system. In addition to the autofocus, similar problems may arise in various actuators that are affected by the posture of the electronic apparatus.
The present disclosure provides some embodiments of a VCM drive circuit which is capable of converging a voice coil motor to a target position in a short time irrespective of the posture of an electronic apparatus.
According to one embodiment of the present disclosure, there is provided a drive circuit which is mounted on an electronic apparatus having a voice coil motor and drives the voice coil motor. The drive circuit includes: an interface circuit configured to receive a first signal indicating a target position of the voice coil motor and a second signal related to a posture of the electronic apparatus; a control circuit configured to generate a current command value of a drive current in response to the first signal and the second signal; and a current driver configured to generate the drive current in response to the current command value and supply the drive current to the voice coil motor.
According to this embodiment, by generating the current command value in consideration of the influence of gravity based on the second signal related to the posture of the electronic apparatus, the voice coil motor as seen from a host processor behaves as if gravity does not affect the voice coil motor. As a result, a feedback control time in the host processor can be shortened.
The control circuit may offset a relationship between the first signal and the current command value in response to the second signal. The present inventor has studied and found that, due to the influence of gravity, a relationship between the current command value and the displacement amount (stroke amount) of the voice coil motor is shifted while maintaining linearity. Therefore, by correcting the relationship between the first signal and the current command value in response to the second signal, the relationship between the first signal and the displacement amount can be maintained regardless of the posture of the electronic apparatus.
An object to be position-controlled by the voice coil motor may be connected to a return spring. An offset amount of the relationship between the first signal and the current command value may be defined by Gx/(2πf0)2, where f0 denotes a resonance frequency of a system including the object and the return spring and Gx denotes a stroke direction component of the gravity applied to the object.
According to another embodiment of the present disclosure, there is provided a drive circuit which drives a voice coil motor. The drive circuit includes: an interface circuit configured to receive a first signal indicating a target position of the voice coil motor and a second signal related to a posture of an electronic apparatus; and a current driver configured to generate a drive current including a component proportional to the first signal and an offset component according to the second signal.
According to this embodiment, by offsetting the drive current based on the second signal related to the posture of the electronic apparatus, the voice coil motor as seen from a host processor behaves as if the gravity does not affect the voice coil motor. As a result, a feedback control time in the host processor can be shortened.
An object to be position-controlled by the voice coil motor may be connected to a return spring. The offset component may be defined by Gx/(2πf0)2, where f0 denotes the resonance frequency of a system including the object and the return spring and Gx denotes a stroke direction component of gravity applied to the object.
The electronic apparatus may include an acceleration sensor. The second signal may include an output of the acceleration sensor. The acceleration sensor may be a triaxial acceleration sensor.
The interface circuit may receive the first signal and the second signal via a common data bus. The data bus may be an I2C (Inter Integrated Circuit) bus.
The drive circuit may be integrated on a single semiconductor substrate.
As used herein, the term “integrated” is intended to include both of a case where all elements of a circuit are formed on a semiconductor substrate and a case where main elements of the circuit are integrated on the semiconductor substrate. Some resistors, capacitors and the like for adjustment of a circuit constant may be provided outside the semiconductor substrate.
According to another embodiment of the present disclosure, there is provided a lens module including: a focusing lens; a voice coil motor including a mover connected to the focusing lens; and the above-described drive circuit configured to drive the voice coil motor.
According to another embodiment of the present disclosure, there is provided a lens module including: a lens for camera shake compensation; a voice coil motor including a mover connected to the lens for camera shake compensation; and the above-described drive circuit configured to drive the voice coil motor.
According to another embodiment of the present disclosure, there is provided an electronic apparatus including: the above-described lens module; and an imaging element configured to take an image of light which passed through the lens module.
Embodiments of the present disclosure will be now described in detail with reference to the drawings. Like or equivalent components, members, and processes illustrated in each drawing are given like reference numerals and a repeated description thereof will be properly omitted. Further, the embodiments are presented by way of example only, and are not intended to limit the present disclosure, and any feature or combination thereof described in the embodiments may not necessarily be essential to the present disclosure.
In the present disclosure, “a state where a member A is connected to a member B” includes a case where the member A and the member B are physically directly connected or even a case where the member A and the member B are indirectly connected through any other member that does not affect an electrical connection state between the members A and B or does not impair functions and effects achieved by combinations of the members A and B.
Similarly, “a state where a member C is installed between a member A and a member B” includes a case where the member A and the member C or the member B and the member C are indirectly connected through any other member that does not affect an electrical connection state between the members A and C or the members B and C or does not impair function and effects achieved by combinations of the members A and C or the members B and C, in addition to a case where the member A and the member C or the member B and the member C are directly connected.
A mover of the VCM 202 is mechanically connected to an object to be position-controlled. In this embodiment, for the purpose of easy understanding and simplified explanation, the actuator system 200 for positioning an autofocus lens (focusing lens) as shown in
The host processor 204 generates a first signal S1 indicating a target value position of the object, in other words, the mover of the voice coil motor. The sensor 206 acquires information on the posture of the electronic apparatus 500. For example, the sensor 206 may be a triaxial acceleration sensor. The host processor 204 generates a second signal S2 based on information on triaxial acceleration detected by the sensor 206 or information obtained therefrom. The host processor 204 transmits the first signal S1 and the second signal S2 to the drive circuit 100 via a bus 208, For example, the bus 208 may be a serial bus such as an I2C bus.
The drive circuit 100 is a functional IC that includes an interface circuit 102, a control circuit 104, and a current driver 106 and is integrated on a single semiconductor substrate. The drive circuit 100 does not have a position detection means of the mover of the VCM 202, but supplies a drive current IDRV to the VCM 202 based on a command value from the host processor 204 and controls the position of the mover in an open loop manner (feedforward control). The interface circuit 102 receives the first signal S1 and the second signal S2. The frequency of transmission of the first signal S1 may be different from that of the second signal S2. The first signal S1 is transmitted at a high frequency for high-speed feedback control, while the second signal S2 may be transmitted at a frequency lower than that of the first signal S1 because the second signal S2 may be transmitted at a frequency that can follow the speed of change in posture of the electronic apparatus.
Based on the first signal S1 and the second signal S2 received by the interface circuit 102, the control circuit 104 generates a current command value S3 of the drive current IDRV. That is, the control circuit 104 reflects the posture of the electronic apparatus indicated by the second signal S2 in the current command value S3. For example, according to the second signal S2, that is, the posture of the electronic apparatus, the control circuit 104 offsets a relationship between the first signal S1 and the current command value S3.
The current driver 106 generates the drive current IDRV corresponding to the current command value S3 and supplies the drive current IDRV to the VCM 202. The drive current IDRV may be proportional to the current command value S3. The current driver 106 is not particularly limited in its configuration but may be configured with, for example, a combination of a D/A converter which converts the current command value S3 into an analog voltage and a current source (V/I conversion circuit) which generates a drive current corresponding to the analog voltage. Alternatively, the current driver 106 may be configured with a current DAC (D/A converter). Although the current driver 106 shown in
The configuration of the drive circuit 100 is as described above. Next, the operation of the drive circuit 100 will be explained.
As shown in
When the posture of the electronic apparatus 500 is changed, depending on the direction and magnitude of gravity applied to the object (that is, the focusing lens 520) as shown in
X=α×S3+ΔX (1)
Where, ΔX is a displacement amount (initial displacement amount) at the drive current IDRV of zero and is represented by a function f( ) of the posture of the electronic apparatus (i.e., the second signal S2).
ΔX=f (S2)
S3=β×S1+OFS (2)
The orientation and amount of the offset OFS depends on the degree of influence of gravity, in other words, the second signal S2, and is expressed by the function g( ) of S2.
OFS=g(S2)
Substituting S3 in Eq. (2) into Eq. (1) yields the following Eq. (3),
X=α×(β×S1+OFS)+ΔX (3)
Therefore, when the following Eq. (4) is satisfied,
α×OFS=−ΔX (4)
the displacement amount X that does not depend on the posture of the electronic apparatus can be obtained. That is, the function g(S2) of the offset amount may be expressed by the following Eq. (5).
OFS=g(S2)=−ΔX/α=−f(S2)/α (5)
The driving current IDRV generated by the current driver 106 has a component proportional to the first signal S1 and an offset component corresponding to the second signal S2.
In this way, according to the drive circuit 100 of the embodiment, by generating the current command value S3 in consideration of the influence of gravity on the basis of the second signal S2 related to the posture, the VCM 202 seen from the host processor 204 behaves as if gravity does not affect the VCM 202. Thus, the calculation processing time taken for positioning in the host processor 204, that is, the time of feedback control, can be shortened and the mover can be converged to the target position in a short time. As a result, the camera can reach a shooting-ready state in a short time so that opportune shots can be taken easily.
While the feedback control is performed, the updated first signal S1 continues to be transmitted from the host processor 204 to the drive circuit 100. Shortening the time for feedback control means a decrease in the number of times of data transmission and a reduction in power consumption required for data transmission. In many battery-driven electronic apparatuses, the reduction in power consumption brings about a merit of lengthening the battery duration.
The present disclosure extends to various devices and circuits which are grasped as the block diagram or the circuit diagram of
For example, when one axis (for example, x-axis) three axes (x-axis, y-axis, and z-axis) of the triaxial acceleration sensor coincides with the stroke direction, the acceleration data on the x-axis represents the gravity component in the stroke direction, in this case, the x-axis acceleration data Gx may be transmitted as the second signal S2.
Alternatively, the second signal S2 may include a plurality of acceleration data among the three axes of the triaxial acceleration sensor. The control circuit 104 may calculate the gravity component Gx in the stroke direction of the VCM by calculating the acceleration data of the plurality of axes and may correct the current command value S3 according to the gravity component Gx in the stroke direction.
The relationship between the offset amount OFS and the second signal S2 may be defined based on actual measurements. For example, while varying a tilt angle of the electronic apparatus, the relationship between the second signal S2 and the displacement amount when the drive current IDRV=0 (i.e., the Y-intercept in
The relationship between the offset amount OFS and the second signal S2 may be built in the drive circuit 100 in a table format or stored in an external nonvolatile memory. Alternatively, the arithmetic expression of Eq. (5) may be defined in an arithmetic unit inside the control circuit 104 and the offset amount OFS may be calculated by arithmetic processing.
The relationship between the offset amount OFS and the second signal S2 may be defined based on theoretical calculation. In a focusing module of a spring return mechanism, the initial displacement amount ΔX is expressed by Eq. (6).
ΔX=Gx/(2πf0)2 (6)
Where, Gx is a component (acceleration) in the stroke direction of the gravity applied to the focusing lens 520 and f0 is the resonance frequency of the system including the focusing lens 520 and a return spring 522. Therefore, the control circuit 104 may calculate the acceleration component Gx by gravity based on the second signal S2 and calculate the offset amount OFS based on Eqs. (6) and (5).
Next, a specific example of the electronic apparatus 500 will be described.
Hereinabove, the embodiment of the present disclosure has been described. However, the embodiment has been presented by way of example only. It should be understood by those skilled in the art that various modifications to combinations of elements or processes may be made and such modifications also fall within the scope of the present disclosure. Modifications will be described below.
The control circuit 104a generates the current command value S3 and the offset command value S4 based on the first signal S1 and the second signal S2. The current command value S3 may be the first signal S1 itself or may be a value proportional thereto. The offset command value S4 has a value corresponding to the second signal S2, that is, the posture of the electronic apparatus.
According to the first modification, by offsetting the drive current based on the second signal S2 related to the posture, the VCM 202 seen from the host processor 204 behaves as if gravity does not affect the VCM 202. As a result, the feedback control time in the host processor 204 can be shortened and the same effect as in the embodiment can be obtained.
Although the drive circuit of the spring return type VCM 202 has been described in the embodiment, the present disclosure is also applicable to a bidirectional drive system.
A logic circuit 101 includes the interface circuit 102 and the control circuit 104 of
The current detection circuit 20 detects a drive current IDRV flowing through a coil L1 of the VCM 202 and generates a detection voltage Vs corresponding to the drive current IDRV. The detection voltage Vs is given by the following equation (7) using a gain k and a reference voltage VREF.
Vs=V
REF
+k×I
DRV (7)
For example, the current detection circuit 20 includes a first operational amplifier 22, a detection resistor RNF, a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. The detection resistor RNF is placed in a path of the drive current IDRV. For example, the detection resistor RNF is interposed between a second terminal of the coil L1 and an output terminal of the second driver 40n. Alternatively, the detection resistor RNF may be interposed between a first terminal of the coil L1 and an output terminal of the first driver 40p. A voltage drop VNF proportional to the drive current bay is generated in the detection resistor RFN.
The first resistor R1 is interposed between a first input terminal (inverting input terminal) of the first operational amplifier 22 and a first terminal E1 of the detection resistor RNF. The second resistor R2 is interposed between a second input terminal (non-inverting input terminal) of the first operational amplifier 22 and a second terminal E2 of the detection resistor RNF. The third resistor R3 is interposed between an output terminal of the first operational amplifier 22 and the first input terminal (inverting input terminal) thereof. The fourth resistor R4 has one end connected to the second input terminal (non-inverting input terminal) of the first operational amplifier 22 and the other end to which the reference voltage VREF is applied.
Given that the potentials of the first terminal E1 and the second terminal E2 of the detection resistor RNF are V1 and V2, respectively, and R1=R2=Ra and R3=R4=Rb, the detection voltage Vs is given by Eq. (8).
Vs=V
REF
+Rb/Ra×(V2−V1) (8)
Substituting Eq. (9) into Eq. (8) yields Eq. (10).
V
NF
=V2−V1=RNF×IDRV (9)
Vs=V
REF
+Rb/Ra×R
NF
×I
DRV (10)
Therefore, the gain k of the current detection circuit 20 is Rb/Ra×RNF. It should be noted that the configuration of the current detection circuit 20 is not limited to that shown in
The error amplifier 30 generates an error voltage VERR by amplifying an error between the control voltage VCNT indicating the displacement amount of the voice coil motor and the detection voltage Vs. For example, the error amplifier 30 may be an integrator amplifier.
For example, the error amplifier 30 includes a second operational amplifier 32, a first capacitor C1, and a fifth resistor R5. The control voltage VCNT is input to a first input terminal (non-inverting input terminal) of the second operational amplifier 32. The first capacitor C 1 is interposed between a second input terminal (inverting input terminal) of the second operational amplifier 32 and the output terminal thereof. A first terminal of the fifth resistor R5 is connected to the second input terminal (inverting input terminal) of the second operational amplifier 32 and the detection voltage Vs is applied to a second terminal of the fifth resistor R5. The configuration of the error amplifier 30 is not limited to that shown in
The first driver 40p is connected to the first terminal of the coil L1 of the VCM 202 and sources or sinks the drive current IDRV in response to the error voltage VERR. The second driver 40n operates in a phase opposite to that of the first driver 40p and is connected to the second terminal of the coil L1 of the VCM 202 to sink or source the drive current IDRV in response to the error voltage VERR.
A buffer 46 outputs a predetermined common voltage VCOM. The first driver 40p includes a non-inverting amplifier that amplifies the error voltage VERR in a non-inverting manner using the common voltage VCOM as a reference and applies a first drive voltage VO+ to the first terminal of the coil L1. The second driver 40n includes an inverting amplifier that amplifies the error voltage VERR in an inverting manner using the common voltage VCOM as a reference and applies a second drive voltage VO− having a phase opposite to that of the first drive voltage VO+ to the second terminal of the coil L1.
More specifically, the first driver 40p includes a first voltage dividing circuit 42p and a first amplifier 34. The first voltage dividing circuit 42p includes resistors R11 and R12 and divides the first output (drive) voltage VO+ generated at the first terminal of the coil L1 and the predetermined common voltage VCOM at a predetermined division ratio. The first amplifier 34 has a push-pull output stage constituted by a high-side transistor MH and a low-side transistor ML. The first amplifier 34 controls the high-side transistor MH and the low-side transistor ML of the push-pull output stage so that a voltage VFB+ divided by the first voltage dividing circuit 42p is set to be equal to the error voltage VERR.
The second driver 40n includes a second voltage dividing circuit 42 and a second amplifier 44. The second amplifier 44 includes resistors R21 and R22 and divides the second output (drive) voltage VO− generated at the second terminal of the coil L1 and the error voltage VERR at a predetermined division ratio. The second amplifier 44 has a push-pull output stage constituted by a high-side transistor MH and a low-side transistor ML. The second amplifier 44 controls the high-side transistor MH and the low-side transistor ML of the push-pull output stage so that a voltage VFB− divided by the second voltage dividing circuit 42 is set to be equal to the common voltage VCOM.
The drive circuit 100a generates the drive voltages VO+ and VO− so that the detection voltage Vs is set to be equal to the control voltage VCNT by a feedback loop including the error amplifier 30.
As described above, since the detection voltage Vs is given by Eq. (8), the drive current IDRV is feedback-controlled so as to approach a target value given by the following equation (11).
I
DRV=(VCNT−VREF)/k (11)
The control voltage VCNT ranges from 0 to VH, the maximum value IMAX of the drive current IDRV is IDRV=(VH−VREF)/k, and the minimum value IMIN of the drive current IDRV is IDRV=−VREF/k. The variation ΔI=IMAX−IMIN of the drive current IDRV is VH/k, which is constant regardless of a value of the reference voltage VREF.
That is, according to the drive circuit 100a, a range of the drive current IDRV can be arbitrarily set according to a level of the reference voltage VREF. For example, when the reference voltage VREF is the center value VH/2 of the range of 0 to VH of the control voltage VCNT, IMAX=−IMIN, and the maximum values of currents that flow in the positive and negative directions become equal to each other. When the reference voltage VREF is higher than the center value VH/2, the amount of current that flows in the negative direction becomes larger and, conversely, when the reference voltage VREF is smaller than the center value VH/2, the amount of current that flows in the positive direction becomes larger.
It should be noted that the current driver 106b of
In the drive circuit 100a of
In the drive circuit 100b of
In the drive circuit 100b of
Alternatively, when a DC resistance component (parasitic resistance) of the VCM 202 is known, the resistance value of the VCM 202 may be used as the detection resistance RNF. A voltage across the VCM 202 is the sum of a voltage drop generated in the resistance component and a counter electromotive force generated in the inductance (coil) L1. There, the current detection circuit 20 may remove the counter electromotive force generated in the coil L1 from the voltage across the VCM 202 and detect the voltage drop of the resistance component, Well-known techniques can be used for such a current detection circuit.
Although the focusing lens module has been described in the embodiment, the application of the drive circuit 100 is not limited thereto. For example, the VCM 202 may drive a lens for camera shake compensation. In addition, the drive circuit can be used for various applications in which the stroke amount is varied depending on the posture of the electronic apparatus.
The first signal S1 and the second signal S2 may be transmitted via different data buses or different signal lines. For example, the interface circuit 102 may receive the first signal S1 as an analog signal and receive the second signal S2 as digital data.
According to the present disclosure in some embodiments, it is possible to converge an object to be position-controlled to a target position in a short time irrespective of a posture of an electronic apparatus.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosures. Indeed, the novel methods and apparatuses described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the disclosures. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the disclosures.
Number | Date | Country | Kind |
---|---|---|---|
2016061845 | Mar 2016 | JP | national |