ACTUATOR DRIVER
20210311283 · 2021-10-07
Inventors
Cpc classification
H02K11/215
ELECTRICITY
G01D5/145
PHYSICS
G01D3/0365
PHYSICS
G01J1/0403
PHYSICS
International classification
Abstract
A position detection unit generates a position detection value P.sub.FB that indicates the position of a control target. A temperature detection unit generates a temperature detection value that indicates the temperature. A correction unit corrects the position detection value P.sub.FB. A controller generates a control instruction value S.sub.REF such that the position detection value P.sub.FB_CMP subjected to the correction matches a position instruction value P.sub.REF that indicates the target position of the control target. A driver unit applies a driving signal that corresponds to the control instruction value S.sub.REF to an actuator. The correction unit corrects the position detection value P.sub.FB such that the relation between the position detection value P.sub.FB and the actual position exhibits linearity that is uniform independent of the temperature.
Claims
1. A lens control apparatus comprising: a lens; an actuator structured to position the lens; a Hall element structured to generate a position detection signal that indicates a position of the lens; a temperature detection unit structured to detect a temperature based on a voltage across the Hall element in a state in which a constant current is applied to the Hall element; and a control unit structured to control the actuator such that the position detection signal approaches a position instruction signal that indicates a target position of the lens.
2. The lens control apparatus according to claim 1, wherein the control unit comprises a temperature compensation unit structured to correct a temperature dependence of a relation between the position detection signal and a corresponding actual position of the lens.
3. The lens control apparatus according to claim 2, wherein the control unit further comprises a linearity compensation unit structured to correct a linearity of the relation.
4. The lens control apparatus according to claim 3, wherein the relation is acquired at a predetermined temperature, wherein the control unit further comprises a memory structured to store information with respect to the relation, wherein the linearity is corrected for a current temperature that differs from the predetermined temperature, based on the relation acquired at the predetermined temperature, and wherein temperature compensation is performed with a predetermined correction coefficient supplied according to a difference between the predetermined temperature and the current temperature.
5. The lens control apparatus according to claim 3, wherein the relations are acquired for a plurality of predetermined temperatures, wherein the control unit further comprises a memory structured to store information with respect to the relations, wherein the linearity is corrected for a current temperature that differs from the predetermined temperatures, based on the relation acquired for one from among the plurality of temperatures that is closest to the current temperature, and wherein temperature compensation is performed such that the relation is represented by a straight line having a slope that is unrelated to the temperature.
6. The lens control apparatus according to claim 3, wherein the relations are acquired for a plurality of predetermined temperatures, wherein the control unit further comprises a memory structured to store information with respect to the relations, wherein the relation is generated for the current temperature based on the relations acquired for adjacent temperatures between which the current temperature is positioned, from among the plurality of predetermined temperatures, wherein linearity compensation is performed based on the relation thus generated, and wherein temperature compensation is performed such that the relation is represented by a straight line having a slope that is unrelated to the temperature.
7. An image capture apparatus comprising: a lens control apparatus according to claim 1; and an image sensor that is capable of performing phase difference detection in order to support an autofocus control operation, wherein temperature compensation and linearity compensation are employed in detection of a position of the lens in order to support an autofocus control operation.
8. An image capture apparatus comprising a plurality of camera modules, wherein each camera module comprises the lens control apparatus according to claim 1, and wherein temperature compensation and linearity compensation are employed in detection of a position of the lens in order to support an autofocus control operation for each camera module.
9.-18. (canceled)
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
DETAILED DESCRIPTION OF THE INVENTION
[0065] The invention will now be described based on preferred embodiments which do not intend to limit the scope of the present invention but exemplify the invention. All of the features and the combinations thereof described in the embodiment are not necessarily essential to the invention.
[0066] In some cases, the sizes (thickness, length, width, and the like) of each component shown in the drawings are expanded or reduced as appropriate for ease of understanding. The size relation between multiple components in the drawings does not necessarily match the actual size relation between them. That is to say, even in a case in which a given member A has a thickness that is larger than that of another member B in the drawings, in some cases, in actuality, the member A has a thickness that is smaller than that of the member B.
[0067] In the present specification, the state represented by the phrase “the member A is coupled to the member B” includes a state in which the member A is indirectly coupled to the member B via another member that does not substantially affect the electric connection between them, or that does not damage the functions or effects of the connection between them, in addition to a state in which they are physically and directly coupled.
[0068] Similarly, the state represented by the phrase “the member C is provided between the member A and the member B” includes a state in which the member A is indirectly coupled to the member C, or the member B is indirectly coupled to the member C via another member that does not substantially affect the electric connection between them, or that does not damage the functions or effects of the connection between them, in addition to a state in which they are directly coupled.
[0069] Description will be made in the present embodiment regarding an actuator driver that drives an actuator that performs positioning of a lens. First, brief description will be made regarding a configuration of an actuator that moves an image capture lens.
[0070] For example, in a case in which the lens 304 is configured as an AF lens, the lens control apparatus 400 is configured to change the position of the lens 304 in the optical axis direction (Z direction). The processor 306 generates the position instruction value P.sub.REF such that the captured image has high contrast (contrast AF). Alternatively, the position instruction value P.sub.REF may be generated based on the output of an AF sensor provided as an external component of the image sensor 302 or otherwise an AF sensor embedded in an image capture face (phase difference AF).
[0071] In a case in which the lens 304 is configured as an image stabilization lens, the lens control apparatus 400 changes the position of the lens 304 in the X-axis direction and/or in the Y-axis direction in a plane defined in parallel with the image sensor 302. The processor 306 generates the position instruction value P.sub.REF based on the output from a gyro sensor.
[0072] Description will be made below assuming that the lens 304 is configured as an AF lens.
[0073] The lens control apparatus 400 controls the actuator 402 by means of a position feedback control operation. Specifically, the lens control apparatus 400 includes an actuator 402, a position detector 404, a temperature detector 406, and an actuator driver IC (Integrated Circuit) 500. The actuator 402 is configured as a voice coil motor, for example. A movable portion of the voice coil motor is coupled to a holder 308 for the lens 304. A stationary portion of the voice coil motor is fixedly mounted on a housing of the image capture apparatus 300.
[0074] In many cases, the position detector 404 employs a magnetic detection means such as a Hall element or the like. Description will be made below assuming that such a Hall element is employed. A permanent magnet is mounted on the movable portion of the voice coil motor. A Hall element is mounted on the stationary portion thereof. When a relative change occurs in the positions of the movable portion and the stationary portion, the magnetic flux input to the Hall element changes. The Hall element generates an electric signal (which will be referred to as the “position detection signal P.sub.FB” hereafter) that corresponds to the change in the input magnetic flux, i.e., the change in position of the actuator 402, and in other words, the current position of the lens 304. The position detection signal P.sub.FB is fed back to the actuator driver IC 500.
[0075] The actuator driver IC 500 is configured as a function IC integrated on a single semiconductor substrate. Examples of such an “integrated” arrangement include: an arrangement in which all the circuit components are formed on a semiconductor substrate; and an arrangement in which principal circuit components are monolithically integrated. Also, a part of the circuit components such as resistors and capacitors may be arranged in the form of components external to such a semiconductor substrate in order to adjust the circuit constants. By integrating the circuit on a single chip, such an arrangement allows the circuit area to be reduced, and allows the circuit elements to have uniform characteristics.
[0076] The actuator driver IC 500 feedback controls the actuator 402 such that the position detection signal P.sub.FB thus fed back matches the position instruction value P.sub.REF.
[0077] As described above, the position of the lens 304 is detected and used as feedback data for the position control operation. This suppresses transient oscillation in the step response, thereby providing high-speed settling. Also, this provides high-speed access to the target position.
[0078] Ideally, such an arrangement preferably has a relation (which will be referred to as the “x-y characteristic” hereafter) having linearity with no irregularities and no variation regardless of changes in temperature or the like, between the actual position of the lens 304 (actuator 402) (which will be referred to as a “variable x” hereafter) and the output of the position detector 404 (i.e., the position detection signal P.sub.FB) or otherwise the corresponding position instruction value P.sub.REF (which will also be referred to as a “variable y” hereafter). However, in actuality, the x-y characteristic is a nonlinear relation. Furthermore, the x-y characteristic varies for every image capture apparatus 300. Moreover, such a relation (x-y characteristic) varies due to the temperature of the position detector 404. Accordingly, in a case in which this relation (x-y characteristic) varies, the actual position of the lens 304 deviates even if the control operation is performed such that the position detection signal P.sub.FB matches the position instruction value P.sub.REF.
[0079] The actuator driver IC 500 has a function of correcting the x-y characteristic as described later in detail. In order to support such a correction function, the temperature detector 406 is provided. The temperature detector 406 detects the temperature of the position detector 404. It should be noted that, in a case in which the temperature of the position detector 404 matches the surrounding temperature, or otherwise, in a case in which there is a strong correlation between them, the temperature detector 406 may measure the surrounding temperature. The temperature information T thus detected is input to the actuator driver IC 500. The actuator driver IC 500 corrects the driving control operation of the actuator 402 based on the temperature information T. The temperature detector 406 may be a thermistor, posistor, thermocouple, or the like. Alternatively, in a case in which the position detector 404, for which the temperature detection is to be performed, is configured as a Hall element, the Hall element itself may be employed as the temperature detector 406.
[0080] Most strictly, the following flow provides a control operation without individual variation and without variation due to temperature.
[0081] 1. Before shipping, the relation (x-y characteristic) between the position detection signal y and the actual position x is measured for each of multiple temperatures.
[0082] 2. The change in position (or position) that corresponds to the position detection signal is acquired with reference to one relation that corresponds to the current temperature from among the multiple relations measured beforehand.
[0083] However, such a flow requires an enormous amount of detection time before shipping. Furthermore, it is necessary to hold, in an internal component of the actuator driver IC, the x-y characteristics for multiple respective temperatures. Accordingly, such an arrangement requires large-capacity memory. In particular, in a case in which the x-y characteristics exhibit a non-linear relation, this problem becomes serious.
[0084] Description will be made below with reference to the first embodiment through the third embodiment regarding a correction operation that requires only a small memory capacity to allow a control operation to be performed while suppressing individual variation and variation due to temperature. The correction operation that will be described below can be roughly classified into two compensation operations. That is to say, one is linearity compensation that provides a linear relation between the position detection signal (position instruction value) and the actual position, and the other is temperature compensation that corrects variation due to temperature.
First Embodiment
[0085] Description will be made with reference to
[0086] Description will be made with reference to
[0087] The operations 1 through 3 are performed in an inspection step before shipping after the image capture apparatus 300 is manufactured. In the operation 1, the relation (x-y characteristic) between the position detection signal y (position detection value P.sub.FB shown in
[0088] In the operation 2, a linear function y=a*x+b is designed. The slope “a” and the intercept “b” are preferably designed giving consideration to the x-y characteristic obtained in the operation 1. For example, by performing linear approximation of the x-y characteristic, the slope “a” and the intercept “b” may be derived. It should be noted that such a linear function y=a*x+b may be designed independently of the x-y characteristic at the reference temperature T.sub.0.
[0089] In a case in which zero-point adjustment is performed in the measurement, the x-y characteristic in the measurement result passes through the origin, i.e., b=0. Thus, such an arrangement requires only the slope “a” to be derived. For example, as shown in
[0090] In the operation 3, the relation between the position detection signal y and the change in position x (x-y characteristic) measured in the operation 1 is represented in the form of a function. In an actual machine such as a cellular phone, y represents a measurement value. Accordingly, a function such as x=f(y) is designed with y as a variable, so as to represent the measurement result. In order to fit a nonlinear relation, the function is required to have a second order or more (polynomial approximation). As the polynomial order is raised, the fitting error becomes smaller. However, this involves an increase in the calculation amount. Accordingly, the order may preferably be designed according to the actual conditions. Description will be made below regarding linearity compensation employing a fifth-order function.
x=y(y)=k.sub.0+(k.sub.1*y)+(k.sub.2*y.sup.2)+(k.sub.3*y.sup.3)+(k.sub.4*y.sup.4)+(k.sub.5*y) (1)
[0091] The operations 4 through 6 are performed in an actual operation of the actuator driver IC 500. Description will be made below with the position detection signal y acquired from the position detector 404 in the actual operation as y.sub.1.
[0092] In the operation 4, the position detection signal y.sub.1 detected in the actual measurement is assigned to the function expression (1) so as to acquire the calculated change in position x.sub.1. The change in position x.sub.1 is a tentative value.
x.sub.1=f(y.sub.1)
[0093] In a case in which the surrounding temperature is equal to T.sub.0, it is assumed that the measurement result matches the factory measurement result. In a case in which the surrounding temperature T.sub.1 is different from T.sub.0, the function x=f(y) derived for To is also employed. It should be noted that the temperature T.sub.1 may be detected by means of a temperature sensor such as a thermistor, thermocouple, or the like. Also, as described later, the change in temperature may be detected based on the change in the resistance value of the Hall element that occurs due to the change in temperature. In this case, such an arrangement does not require an increase in the number of components to detect the temperature of such an element itself for which the temperature is to be detected.
[0094] In the operation 5, x.sub.1 obtained in the operation 4 is assigned to the function y=a*x+b designed in the operation 2, so as to calculate y.sub.2=a*x.sub.1+b. This corrects the measurement value y.sub.1 to y.sub.2, thereby providing linearity compensation. In this linearity compensation, even in a case of the temperature T.sub.1, the expression designed for the temperature T.sub.0 is employed. This leads to error due to the difference between the temperatures T.sub.0 and T.sub.1.
[0095] In the operation 6, the temperature compensation is performed so as to correct the aforementioned error. Specifically, temperature dependence of the slope and the offset that represents a linear function is corrected as represented by y.sub.3=c*y.sub.2+d. The coefficients c and d are parameters determined beforehand for each temperature. It is not necessary to acquire the coefficients c and d for each individual product. Before the inspection step, preferably, the values may be appropriately determined based on a small number of typical samples (products). In a case in which the relation expression passes through the origin (i.e., b=0), this requires only slope correction. That is to say, the operation may be performed assuming that d=0.
[0096] As described above, by performing both the linearity compensation and the temperature compensation, this provides a constant relation having linearity between the position detection signal and the change in position regardless of the temperature. In a state in which the position provided by the servo motor has settled, the position detection signal is equal to the position instruction value. Thus, the relation between the position instruction value and the change in position is maintained as a linear and stable relation regardless of temperature or individual variation. That is to say, when a given position instruction value P.sub.REF is input, this allows the processor 306 to change the position of the lens 304 to the same position regardless of temperature and variation.
[0097] Specific description will be made with reference to the graphs in
[0098]
[0099]
[0100]
[0101] For example, description will be made with the slope for 25° C. as α.sub.25° C., with the slope for 10° C. as α.sub.10° C., with the slope for 15° C. as α.sub.15° C., and with the slope for 35° C. as α.sub.35° C.. In a case in which the graph data for 10° C. is multiplied by α.sub.25° C./α.sub.10° C., the calculation result matches the graph data for 25° C. Similarly, in a case in which the graph data for 15° C. is multiplied by α.sub.25° C./α.sub.15° C., the calculation result matches the graph data for 25° C. In a case in which the graph data for 15° C. is multiplied by α.sub.25° C./α.sub.15° C., the calculation result matches the graph data for 25° C. In a case in which the graph data for 35° C. is multiplied by α.sub.25° C./α.sub.35° C., the calculation result matches the graph data for 25° C.
[0102] Accordingly, in the operation 6 shown in
[0103] The correction coefficients c.sub.10° C., c.sub.15° C., c.sub.35° C. thus obtained may preferably be stored in the form of a table in memory included in the lens control apparatus. When the detected temperature obtained by a temperature detection means is an intermediate temperature between two adjacent temperatures defined in the table (10, 15, and 35° C. in this example), an average of the two correction coefficients defined for the two adjacent temperatures between which the detected temperature is positioned may be employed. Also, the correction coefficient may be calculated by means of linear interpolation. Also, such correction coefficients may be held in the form of a function of the temperature. As shown by the graphs 12, the results subjected to the linearity compensation and the temperature compensation are aligned along almost a single straight line regardless of the temperature. This means that, in the actual operation of the actuator driver IC 500, the position detection signal y.sub.3 obtained in the operation 6 indicates the actual position x with high precision.
[0104] As viewed from the processor 306, the relation between the position detection value P.sub.REF(y) and the actual position x of the lens x always satisfies the relation expression y=a*x+b. This provides the overall system with high-precision and high-speed positioning of the lens 304.
[0105]
[0106] It should be noted that the flow shown in
[0107] It should be noted that it is difficult to derive an optimum slope correction value and an offset correction value for the characteristics represented by such a curve before the linearity compensation. In other words, as shown in
Second Embodiment
[0108] Description will be made with reference to
[0109] The major difference in the flow between
[0110] In the operation 15, the relation between the position detection signal y and the change in position x is acquired for each of multiple predetermined temperatures T.sub.0, T.sub.1, T.sub.2, etc. As the number of setting temperature conditions becomes large, function error due to deviation from the actual temperature can be reduced, which provides improved correction precision. However, this involves an increased number of additional temperature measurement steps to be performed beforehand. Accordingly, the number of temperature conditions may be determined giving consideration to a tradeoff between the requested precision and the costs required for such additional steps.
[0111] In the operation 16, a linear function y=a*x+b to be employed in the linearity compensation is designed. That is to say, the slope “a” and the intercept “b” are determined. In a case in which zero-point adjustment is performed in the measurement, the measurement result passes through the origin, i.e., b=0. Thus, in this case, only the slope “a” may be derived. Here, description will be made regarding an arrangement in which the measurement results have the characteristics of passing through the origin as described in the first embodiment. The slope “a” at the representative temperature T.sub.0 is acquired. The same slope is employed regardless the temperature. This provides temperature compensation at the same time as the linearity compensation.
[0112] In the operation 17, a function that represents the relation between the measured position detection signal y and the change in position x is derived. In an actual machine such as a cellular phone, y represents a measurement value. Accordingly, a function such as x=f(y) is designed with y as a variable. In order to fit a nonlinear relation with such a function, the function is required to have a second order or more. As the order is raised, the fitting error becomes smaller. However, this involves an increase in the calculation amount. Accordingly, the order may preferably be designed according to the actual conditions. In the linearity compensation described below, a fifth-order function is employed. Such a function is designed for each of the measurement results obtained beforehand for the respective temperatures.
[0113] In the operation 18, the position detection signal y.sub.1 detected in actuality is assigned to such a function so as to obtain the calculated change in position x.sub.1. When the surrounding temperature matches any one of the temperatures T.sub.0, T.sub.1, T.sub.2, and the like, the function designed for the same temperature is used. In a case in which such a function is not prepared for the same temperature, the function designed for the closest temperature condition is used. Alternatively, an additional function may be generated by performing interpolation based on a pair of functions designed for the adjacent temperatures between which the actual temperature is positioned. In this case, it is difficult to generate a complicated function. Accordingly, such an additional function may be generated to have a slope obtained by averaging the slopes of the pair of functions.
[0114] In the operation 19, x.sub.1 thus obtained in the operation 18 is substituted into the function y=a*x+b designed in the operation 16, thereby obtaining y.sub.2=a*x.sub.1+b. Thus, the measurement value y.sub.1 is corrected to y.sub.2, thereby providing linearity compensation. In the embodiment 1, after the linearity compensation, the slope correction is performed as the temperature compensation. In contrast, by employing the function designed for each temperature, this allows the function error to be reduced. Furthermore, linearity compensation is performed employing the single slope “a” thus designed. This means that the slope correction is also performed at the same time in the linearity compensation. It should be noted that, in a case in which such optimum function data cannot be prepared, and accordingly, in a case in which the function error is non-negligible, the slope correction may further be performed.
[0115]
[0116] Next, description will be made regarding an example of the linearity compensation and the temperature compensation employed in the lens control apparatus having different characteristics.
[0117] In
[0118]
[0119] In a case of correcting such characteristics, the linearity compensation is preferably performed for each temperature based on the function data calculated for each temperature according to the flow shown in
Third Embodiment
[0120] Description will be made regarding a third embodiment of the present invention with reference to
[0121] In a case in which the characteristics exhibit poor linearity as shown in
[0122] In the operation 24, the relation between the position detection signal y and the change in position x is acquired at the predetermined temperature T.sub.0, e.g., at the set temperature of the factory.
[0123] In the operation 25, the range to be corrected is limited to a part of the stroke range that has been judged to be a range that can be used for the control operation based on the results obtained in the operation 24. After the stroke range is limited, offset correction may be performed such that the limited stroke range includes the origin.
[0124] In the operation 26, the linear function y=a*x+b is designed along which the calculation results are to be aligned after the linearity compensation. In a case in which the offset correction is performed before the operation 26, the input data passes through the origin, i.e., b=0 holds true. Thus, in this case, only the slope “a” is derived.
[0125] In the operation 27, a function is designed so as to represent the relation between the position detection signal y and the change in position x measured beforehand. In an actual machine such as a cellular phone, y represents a measurement value. Accordingly, a function such as x=f(y) is designed with y as a variable. In order to fit a nonlinear relation with such a function, the function is required to have a second order or more. As the order is raised, the fitting error becomes smaller. However, this involves an increase in the calculation amount. Accordingly, the order may preferably be designed according to the actual conditions. In the linearity compensation described below, a fifth-order function is employed.
[0126] In the operation 28, the position detection signal y.sub.1 detected in actuality is assigned to the aforementioned function, thereby acquiring a calculated change in positon x.sub.1. In a case in which the surrounding temperature is equal to T.sub.0, it can be assumed that the measurement result matches the factory measurement result. Even in a case in which the surrounding temperature is T.sub.1, which is different from T.sub.0, the function x=f(y), which is designed for T.sub.0, is also employed.
[0127] In the operation 29, x.sub.1 obtained in the operation 28 is assigned to the function y=a*x+b designed in the operation 26, so as to calculate y.sub.2=a*x.sub.1+b. This corrects the measurement value y.sub.1 to y.sub.2, thereby providing linearity compensation. In this linearity compensation, even in a case of the temperature T.sub.1, the expression designed for the temperature T.sub.0 is employed. This leads to error due to the difference between the temperatures T.sub.0 and T.sub.1.
[0128] In the operation 30, the temperature compensation is performed so as to correct such error. Specifically, the temperature correction is performed by means of slope correction and offset correction of a linear function, thereby obtaining y.sub.3=c*y.sub.2+d. In a case in which the relation expression passes through the origin, only the slope correction may preferably be performed.
[0129]
[0130] It should be noted that description will be made regarding an arrangement in which a part of the stroke range having poor linearity is omitted, and only the range to be used is shown on the graphs. However, in an actual apparatus, it is not always necessary to disable the operation in such a stroke range having poor linearity, or otherwise to disable the output of the position detection signal for such a stroke range, and such linearity deviation or change in temperature may be tolerated for such a range.
[0131] As described above, in a case in which it is difficult to obtain linearity over the overall stroke region and to suppress the change due to temperature, by securing linearity for predetermined positions or a predetermined stroke range so as to suppress the change due to temperature, this provides improved performance for at least such a predetermined stroke range. The positions or the stroke range for which the linearity compensation and the temperature compensation are to be optimized may preferably be determined according to the purpose. For example, in a case of designing the linearity compensation and the temperature compensation for an AF mechanism, and in a case in which high priority is assigned to landscape photography, the linearity compensation and the temperature compensation are preferably optimized for the infinity distance range. On the other hand, in a case in which high priority is assigned to a self-portrait, the linearity compensation and the temperature compensation are preferably optimized for a lens position range that corresponds to a subject distance on the order of 1 m. In a case of designing the linearity compensation and the temperature compensation for an OIS mechanism, the linearity compensation and the temperature compensation are preferably optimized for a range including the vicinity of a neutral position of a spring or a centering setting position in a state in which no optical image stabilization is input.
Fourth Embodiment
[0132] Description will be made regarding a fourth embodiment of the present invention with reference to
[0133]
[0134] An arrangement is conceivable in which the adjacent measurement points are connected without designing such a function. However, with such an arrangement, if the measurement result obtained at a given representative point has a serious noise component, i.e., if the selected representative point is a singular point, in a case in which the measurement points are directly connected by a straight line, this results in poor smoothness. It can be assumed that the actual characteristics smoothly vary as compared with the aforementioned example. In order to solve such a problem, after a smoothly curved function is designed so as to represent the measurement results, linear connection approximation is preferably performed for the function thus designed. In designing the function, a function is preferably selected so as to provide least mean square error with respect to the measurement points, instead of designing a function that passes through all the measurement points.
[0135] Next, specific description will be made regarding an example configuration of the lens control apparatus 400.
[0136]
[0137] A position detection unit 510 generates a digital position detection value P.sub.FB that indicates the position (change in position) of the movable portion of the actuator 402, based on the Hall voltage V.sub.+, V.sub.−. The position detection unit 510 includes a Hall amplifier 512 that amplifies the Hall voltage, and an A/D converter 514 that converts the output of the Hall amplifier 512 into the position detection value P.sub.FB in the form of a digital value.
[0138] A temperature detection unit 520 generates a temperature detection value T that indicates the temperature. As described above, the temperature detection value preferably represents the temperature of the position detector 404. In
[0139] The temperature detection unit 520 includes a constant current circuit 522 and an A/D converter 524. The constant current circuit 522 supplies a predetermined bias current I.sub.BIAS to the Hall element 32. The bias current I.sub.BIAS is a power supply signal that is required to operate the Hall element 32. Accordingly, the constant current circuit 522 can be regarded as a Hall bias circuit.
[0140] A voltage drop I.sub.BIAS×r occurs across the Hall element 32. The voltage drop is input to a Hall bias pin (HB). The A/D converter 524 converts the voltage V.sub.HB (=I.sub.BIAS×r) applied to the HB pin into a digital value T. The bias current I.sub.BIAS is a known and constant current. Thus, the digital value T is configured as a signal that is proportional to the internal resistance r. Accordingly, the digital value T includes temperature information with respect to the Hall element 32. The relation between the internal resistance r and the temperature is measured beforehand. The relation thus measured is held in the form of a function or otherwise a table. In the correction unit 530 configured as a downstream stage, the digital value T is converted into the temperature information.
[0141] The interface circuit 540 receives, from the processor 306, a target code TC that indicates the target position of the movable portion of the actuator 402. For example, the interface circuit 540 may be configured as a serial interface such as an I.sup.2C (Inter IC) interface. A filter 550 filters the target code TC received by the interface circuit 540, and generates a position instruction value P.sub.REF. In a case in which the position instruction value P.sub.REF suddenly changes, this has the potential to involve ringing in the position of the lens 304. By providing the filter 550, such an arrangement suppresses the ringing.
[0142] The correction unit 530 corrects the position detection value P.sub.FB received from the position detection unit 510. Specifically, the correction unit 530 includes a linearity compensation unit 532, a temperature compensation unit 534, and memory 536. The linearity compensation unit 532 corrects the linearity of the relation between the position detection value P.sub.FB and the actual position (the aforementioned x-y characteristic). The memory 536 stores the aforementioned parameters a and b, data that represent the function x=f(y) (e.g., coefficients k.sub.0 through k.sub.5), parameters c and d, etc. The memory 536 may be configured as nonvolatile memory such as ROM or flash memory. Otherwise, the memory 536 may be configured as volatile memory that temporarily stores data to be supplied from external ROM every time the circuit is started up.
[0143] The temperature compensation unit 534 corrects the change in the relation between the position detection value P.sub.FB and the actual position that occurs due to the change in temperature.
[0144] For example, in the first embodiment, the operation of the linearity compensation unit 532 corresponds to the operations 4 and 5 in the flowchart shown in
[0145] In the second embodiment, the operation of the linearity compensation unit 532 corresponds to the operation 19 in the flowchart shown in
[0146] In the third embodiment, the operation of the linearity compensation unit 532 corresponds to the operations 28 and 29 in the flowchart shown in
[0147] The controller 560 receives the position instruction value P.sub.REF and a position detection value P.sub.FB_CMP subjected to the correction by means of the correction unit 530. The controller 560 generates a control instruction value S.sub.REF such that the position detection value P.sub.FB_CMP matches the position instruction value P.sub.REF. In a case in which the actuator 402 is configured as a voice coil motor, the control instruction value S.sub.REF is an instruction value that indicates a driving current to be supplied to the voice coil motor. The controller 560 includes an error amplifier 562 and a PID controller 564, for example. The error amplifier 562 generates a difference (error) ΔP between the position detection value P.sub.FB_CMP and the position instruction value P.sub.REF. The PID controller 564 generates the control instruction value S.sub.REF by means of a PID (Proportional Integral Derivative) calculation. Instead of employing the PID controller 564, a PI controller may be employed. Also, a non-linear control operation may be performed.
[0148] A driver 570 supplies a driving current that corresponds to the control instruction value S.sub.REF to the actuator 402.
[0149] As can be understood from
[0150] The operations of the correction unit 530 and the controller 560 may be supported by means of hardware components such as an adder, multiplier, etc. Also, such operations may be supported by means of a combination of a CPU and a software program.
[0151]
[0152] A notable feature is that the change in temperature of the resistor on the bias side that is driven with a constant current is monitored in the form of a change in voltage, instead of monitoring the change in the output of the Hall element that occurs due to temperature. In a case in which the output voltage of the Hall element is monitored, this is subject to effects of the temperature characteristics of a Hall amplifier and to effects of the temperature characteristics of the magnetic flux density in addition to the temperature characteristics of the Hall element itself. Thus, it is difficult to purely detect only the change in temperature. In contrast, in a case of monitoring the change in voltage on the bias side, the factor of the change due to the temperature is mostly restricted to the change in resistance of the Hall element. This allows the temperature to be detected.
[0153] It should be noted that description has been made with reference to
[0154] The lens control apparatus as described above is employed in a camera module of a cellular phone or the like. In particular, one suitable application of the lens control apparatus according to the present invention is an image capture apparatus including an image sensor having a phase difference detection means. The focusing deviation and the deviation direction can be estimated based on the phase difference detection results. Accordingly, by associating the phase difference detection results with the position detection signal beforehand, such an arrangement is capable of estimating the amount of change in the position detection signal required to change the position from the current position to the focal position. Subsequently, the position access operation is performed up to a target position indicated by a code of the position detection signal, thereby allowing the focal state to be directly obtained. It should be noted that, with such an arrangement, linear calculation is performed in order to calculate the amount of change in the position detection signal required to change the position up to the target position. Accordingly, in order to reduce the error in position, it is important for the relation between the position detection signal and the change in position to have linearity. In addition, in a case in which the relation between them deviates due to temperature, the position deviates from the target position even after the current position is changed up to a position indicated by the code number that represents the target position. Accordingly, it is also important to support the temperature compensation. By applying the present invention, this provides both the linearity compensation and the temperature compensation. Thus, the present invention is preferably applicable to an image capture apparatus including an image sensor having a phase difference detection means.
[0155] Another suitable application of the lens control apparatus according to the present invention is an image capture apparatus mounting multiple cameras such as a dual camera. An application is conceivable that is configured to interlink the operations of the two cameras, and to combine images captured by the two cameras so as to acquire a zoom image, for example. In this case, the position detection signal is an instruction to drive the lens positions of the two cameras in an interlinked manner. In a case in which the interlinking between them deviates due to temperature, this leads to a position error, and in some cases, this results in adverse effects on the image even after calibration is performed so as to secure such interlinking between them and the linearity compensation is performed. In particular, in a case in which there is a difference in the temperature characteristics between the two cameras, it is needless to say that error occurs in an instruction for changing the position to a given position. In addition, there is a difference between the amount of deviation between them. Thus, in a case in which the same temperature compensation is performed for the two cameras, such an arrangement is not capable of providing a high-precision position control operation. By applying the present invention, such an arrangement provides both the linearity compensation and the temperature compensation. Furthermore, this allows such compensation to be executed for each camera. Thus, the present invention is preferably applicable to an image capture apparatus mounting multiple cameras such as a dual camera or the like.
[0156] While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims.