JP2007333922A - Lens control system and lens control method - Google Patents

Lens control system and lens control method Download PDF

Info

Publication number
JP2007333922A
JP2007333922A JP2006164296A JP2006164296A JP2007333922A JP 2007333922 A JP2007333922 A JP 2007333922A JP 2006164296 A JP2006164296 A JP 2006164296A JP 2006164296 A JP2006164296 A JP 2006164296A JP 2007333922 A JP2007333922 A JP 2007333922A
Authority
JP
Japan
Prior art keywords
abnormal state
lens
driving
detection sensor
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006164296A
Other languages
Japanese (ja)
Inventor
Yuki Miura
夕季 三浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006164296A priority Critical patent/JP2007333922A/en
Publication of JP2007333922A publication Critical patent/JP2007333922A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a lens control system capable of preventing a damage of a driving mechanism and the like, while performing the operation to escape from an abnormal condition after the occurrence of the abnormal condition. <P>SOLUTION: A digital camera 100 is equipped with a linear motor 16, a position detection sensor 11, a CPU 4 and a motor driver 12. A focusing lens stops when a control means determines that the stop position detected by the position detection sensor 11 is not an intrinsic stop position but is in the abnormal condition, the control means controls the linear motor 16 so as to cancel the abnormal condition when the number of the previous times of canceling the abnormal condition is below the prescribed number of times. When the number of the previous times of canceling the abnormal condition exceeds the prescribed number of times, the control means stops the linear motor 16 to end the error. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、カメラのレンズを駆動する駆動手段が制御手段によって制御されるレンズ制御装置およびそのレンズ制御装置を備えるカメラ、そのレンズ制御装置によるレンズ制御方法に関する。   The present invention relates to a lens control device in which drive means for driving a lens of a camera is controlled by a control means, a camera including the lens control device, and a lens control method using the lens control device.

カメラのレンズを駆動する際に、外力が加わったり、他の原因により意図しない位置でレンズが停止する場合がある。このような場合のレンズ駆動の制御方法について開示している特許文献がある。   When driving the lens of the camera, an external force may be applied, or the lens may stop at an unintended position due to other causes. There is a patent document disclosing a lens driving control method in such a case.

特許文献1は、撮影レンズが移動していないことを検出手段が検出したときには、より遅い移動速度へ切り換えるようにし、さらに撮影レンズの駆動を継続するカメラを開示している。これにより、異常状態での駆動力が低下するため、駆動メカの破損や駆動回路の破壊を防止できる。また、より遅い移動速度へ切り換えた後も撮影レンズの移動を検出し続けるため、容易に動作の継続を図ることができる。
特開平7−49447号公報
Patent Document 1 discloses a camera that switches to a slower moving speed when the detecting means detects that the photographing lens is not moving, and further continues driving the photographing lens. As a result, the driving force in an abnormal state is reduced, so that it is possible to prevent damage to the driving mechanism and driving circuit. Further, since the movement of the photographing lens is continuously detected even after switching to a slower movement speed, the operation can be easily continued.
JP 7-49447 A

しかし従来のカメラでは、異常状態が発生した後もレンズ駆動を続けることになり、駆動力が低くても駆動メカの破損等を発生させる可能性がある。   However, in the conventional camera, the lens driving is continued even after an abnormal state occurs, and there is a possibility that the driving mechanism is damaged even if the driving force is low.

そこで、本発明は、上記の問題点に鑑みてなされたもので、異常状態が発生した後に、その異常状態を脱するための動作をしつつ、駆動メカ等の破損を防止できるレンズ制御装置を提供することを目的とする。   Accordingly, the present invention has been made in view of the above problems, and a lens control device capable of preventing damage to a drive mechanism or the like while performing an operation for removing the abnormal state after the abnormal state has occurred. The purpose is to provide.

上記課題を解決するために、本発明のレンズ制御装置は、レンズを駆動する駆動手段と、レンズの位置を検出する位置検出センサと、駆動手段を制御する制御手段と、を備え、制御手段は、レンズが停止し、位置検出センサで検出された停止位置が本来の停止位置でなく異常状態にあると判定した場合において、以前に異常状態にあると判定した回数又は以前に異常状態を解除した回数が所定回数以下であるとき、異常状態を解除するように駆動手段を制御する一方、以前に異常状態にあると判定した回数又は以前に異常状態を解除した回数が所定回数を超えると、駆動手段を停止してエラー終了する。   In order to solve the above problems, a lens control device of the present invention includes a driving unit that drives a lens, a position detection sensor that detects the position of the lens, and a control unit that controls the driving unit. When the lens stops and the stop position detected by the position detection sensor is determined to be in an abnormal state instead of the original stop position, the abnormal state has been canceled or the number of times it was previously determined to be in the abnormal state When the number of times is less than or equal to the predetermined number of times, the driving means is controlled so as to release the abnormal state.On the other hand, if the number of times determined to be in the abnormal state before or the number of times the abnormal state was previously released exceeds the predetermined number Stop the means and end in error.

これにより、異常状態の解除動作を行うので、面倒な操作を要することなく、異常状態から正常状態に復帰できる。また、異常状態の解除動作の回数を制限したので、解除できない異常状態が発生した場合に、レンズを駆動し続けることに起因する駆動メカ等の損傷が発生するのを防止できる。   As a result, the operation for canceling the abnormal state is performed, so that it is possible to return from the abnormal state to the normal state without requiring a troublesome operation. In addition, since the number of abnormal state canceling operations is limited, it is possible to prevent damage to the drive mechanism and the like due to continuing driving of the lens when an abnormal state that cannot be canceled occurs.

本発明のレンズ制御装置は、解除可能な異常状態に対しては解除動作により異常状態から回復できる一方、解除困難な異常状態に対しては、無限に異常状態の解除動作を続けるということはなく、所定回数の解除動作の後エラー停止をするので、異常状態の解除動作を続けることによって駆動手段等を破損してしまうという問題を解消できる。   The lens control device of the present invention can recover from an abnormal state by a canceling operation for an abnormal state that can be canceled, but does not continue the canceling operation of the abnormal state indefinitely for an abnormal state that is difficult to cancel. Since the error is stopped after a predetermined number of release operations, the problem of damaging the driving means and the like by continuing the release operation of the abnormal state can be solved.

以下、添付の図面を参照し、本発明の実施の形態を説明する。各図において同一の構成要素または同様に機能する構成要素については同一の参照符号を付している。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In each figure, the same reference number is attached | subjected about the same component or the component which functions similarly.

(基本概念)
まず、異常状態解除に関する本発明の基本概念を図1を参照して説明する。図1は、本発明のレンズ制御装置の一実施例であるデジタルカメラ100の縦断面図である。
(Basic concept)
First, the basic concept of the present invention regarding cancellation of an abnormal state will be described with reference to FIG. FIG. 1 is a longitudinal sectional view of a digital camera 100 which is an embodiment of a lens control device of the present invention.

フォーカスレンズ20を保持するフォーカスレンズ枠23は、ガイド22a、22bと係合し、光軸方向(図中矢印AB方向)に移動可能である。リニアモータ16は、フォーカスレンズ枠23を駆動する。リニアモータ16は、コイル16aとマグネット16bとヨーク16cとから構成される。コイル16aは、フォーカスレンズ枠23の一部に設けられる。ヨーク16cは、デジタルカメラ100に取り付けられる。そして、マグネット16bは、コイル16aと対向するように、ヨーク16c内に固定される。このような構成において、コイル16aに電流を流すと、コイル16aは磁力を発生し、コイル16aとマグネット16bとの間の磁力によってフォーカスレンズ枠23が駆動される。また、フォーカスレンズ枠23には、マグネット21が取り付けられている。位置検出センサ11は、デジタルカメラ100本体のマグネット21に対向する位置に取り付けられ、マグネット21から発せられる磁気を検知する。   The focus lens frame 23 that holds the focus lens 20 engages with the guides 22a and 22b, and is movable in the optical axis direction (the arrow AB direction in the figure). The linear motor 16 drives the focus lens frame 23. The linear motor 16 includes a coil 16a, a magnet 16b, and a yoke 16c. The coil 16 a is provided on a part of the focus lens frame 23. The yoke 16c is attached to the digital camera 100. The magnet 16b is fixed in the yoke 16c so as to face the coil 16a. In such a configuration, when a current is passed through the coil 16a, the coil 16a generates a magnetic force, and the focus lens frame 23 is driven by the magnetic force between the coil 16a and the magnet 16b. A magnet 21 is attached to the focus lens frame 23. The position detection sensor 11 is attached at a position facing the magnet 21 of the digital camera 100 main body and detects magnetism emitted from the magnet 21.

このような構成により、フォーカスレンズ枠23は、リニアモータ16によってガイド22a、22bに沿って光軸方向に駆動される。また、CPU4は、フォーカスレンズ枠23の位置を把握することができる。   With such a configuration, the focus lens frame 23 is driven in the optical axis direction by the linear motor 16 along the guides 22a and 22b. Further, the CPU 4 can grasp the position of the focus lens frame 23.

通常、フォーカスレンズ枠23とガイド22a、22bとは摺動抵抗が小さく設計されているため、デジタルカメラ100のCPU4の狙い通りにフォーカスレンズ枠23を移動させて、停止させることができる。しかし、ガイド22a、22b上に異物が付着している等の場合、フォーカスレンズ枠23とガイド22a、22bとの間の摺動抵抗が大きくなるため、フォーカスレンズ枠23を狙い通りに移動させることができない場合がある。このような場合、デジタルカメラ100のCPU4が本来意図する停止位置とは異なる位置に、フォーカスレンズ枠23が停止することとなるが、このような場合のデジタルカメラ100の状態を本明細書では異常状態という。   Usually, since the focus lens frame 23 and the guides 22a and 22b are designed to have a small sliding resistance, the focus lens frame 23 can be moved and stopped as intended by the CPU 4 of the digital camera 100. However, when a foreign object adheres to the guides 22a and 22b, etc., the sliding resistance between the focus lens frame 23 and the guides 22a and 22b increases, so that the focus lens frame 23 is moved as intended. May not be possible. In such a case, the focus lens frame 23 stops at a position different from the stop position originally intended by the CPU 4 of the digital camera 100. In this specification, the state of the digital camera 100 is abnormal in this specification. It is called a state.

なお、デジタルカメラ100が異常状態となる原因は、ガイド22a、22b上への異物の付着の他に、フォーカスレンズ枠23の他の部材への接触やリニアモータ16の故障等様々な原因が考えられる。   The cause of the abnormal state of the digital camera 100 may be due to various causes such as contact of other members on the focus lens frame 23 and failure of the linear motor 16 in addition to adhesion of foreign matter on the guides 22a and 22b. It is done.

本発明のレンズ制御装置は、上述の異常状態を解除するための動作を行うとともに、その解除のための動作をしたにも関わらず異常状態を解除できない場合はエラー停止を行うものである。これにより、解除できる異常状態は迅速に解除して通常状態に戻す一方、解除できない異常状態に対しては迅速にエラー停止することによりレンズ制御装置に不必要な負荷をかけることを防止できる。   The lens control device according to the present invention performs an operation for canceling the above-described abnormal state, and performs an error stop when the abnormal state cannot be canceled despite the operation for canceling the abnormal state. As a result, the abnormal state that can be cleared is quickly cleared and returned to the normal state, while the abnormal state that cannot be cleared is quickly stopped by an error, thereby preventing an unnecessary load from being applied to the lens control device.

(実施の形態1)
1.構成
図2に、本発明の実施の形態1にかかるデジタルカメラ100の制御構成を示す。レンズ鏡筒24で集光された被写体像は、CCDイメージセンサ1上に結像される。CCDイメージセンサ1は、結像された被写体像(光学的信号)を電気的信号に変換し、画像データを生成する。A/Dコンバータ2は、CCDイメージセンサ1で生成された画像データをデジタル変換する。
(Embodiment 1)
1. Configuration FIG. 2 shows a control configuration of the digital camera 100 according to the first embodiment of the present invention. The subject image condensed by the lens barrel 24 is formed on the CCD image sensor 1. The CCD image sensor 1 converts the imaged subject image (optical signal) into an electrical signal to generate image data. The A / D converter 2 digitally converts the image data generated by the CCD image sensor 1.

CPU4は、デジタルカメラ100全体を制御する。また、CPU4は、A/Dコンバータ2で変換された画像データに対して、ホワイトバランス調整やYC変換処理、電子ズーム処理、圧縮処理等の画像処理を施す。また、CPU4は、メモリカード7内に記憶されている画像データを読み出して、伸張等の所定の処理を行う。CPU4は、処理を行う際、ワークメモリ8を利用する。   The CPU 4 controls the entire digital camera 100. The CPU 4 performs image processing such as white balance adjustment, YC conversion processing, electronic zoom processing, and compression processing on the image data converted by the A / D converter 2. The CPU 4 reads image data stored in the memory card 7 and performs predetermined processing such as decompression. The CPU 4 uses the work memory 8 when performing processing.

LCD(液晶ディスプレイ)5は、CPU4で処理された画像データを表示する。カードスロット6は、メモリカード7を着脱可能であり、装着されたメモリカード7にデータを書き込み、また装着されたメモリカード7からデータを読み出す。ワークメモリ8は、記憶手段であればよく、例えば、DRAMやSRAM、フラッシュメモリなどを採用できる。電源スイッチ10は、デジタルカメラ100の電源をON/OFFするための操作手段である。   An LCD (Liquid Crystal Display) 5 displays image data processed by the CPU 4. The memory card 7 is detachably attached to the card slot 6, and data is written to the loaded memory card 7 and data is read from the loaded memory card 7. The work memory 8 may be any storage means, and for example, a DRAM, SRAM, flash memory, or the like can be employed. The power switch 10 is an operation means for turning on / off the power of the digital camera 100.

レリーズ釦9は、撮像を開始する旨の指示をCPU4に与える操作手段である。レリーズ釦9が半押しされると、CPU4は、自動焦点調節制御を開始し、モータドライバ12を制御して、被写体像の焦点を合わせる。レリーズ釦9が全押しされると、CPU4は、CCDドライバ3を制御して、CCDイメージセンサ1での露光動作を開始する。   The release button 9 is an operation unit that gives an instruction to the CPU 4 to start imaging. When the release button 9 is half-pressed, the CPU 4 starts automatic focus adjustment control and controls the motor driver 12 to focus the subject image. When the release button 9 is fully pressed, the CPU 4 controls the CCD driver 3 to start an exposure operation in the CCD image sensor 1.

レンズ鏡筒24は、対物レンズ17、ズームレンズ18、ブレ補正レンズ19及びフォーカスレンズ20の4群のレンズを有する。対物レンズ17は最も被写体側に位置するレンズであり、DCモータ13で駆動される。ズームレンズ18は、光軸方向に移動可能であり、光軸方向に移動することにより被写体像の大きさを変更できる。ズームレンズ18は、DCモータ14で駆動される。ブレ補正レンズ19は、光軸と垂直な面内で移動することによって、被写体像のブレを相殺する。ブレ補正レンズ19は、OISモータ15により駆動される。フォーカスレンズ20は、光軸方向に移動可能であり、光軸方向に移動することにより被写体像のピントを合わせることができる。フォーカスレンズ20はリニアモータ16で駆動される。DCモータ13、14、OISモータ15、リニアモータ16は、それぞれモータドライバ12により制御される。モータドライバ12は、CPU4が指示した電圧を電流に変換してモータを駆動させる。   The lens barrel 24 has four groups of lenses: an objective lens 17, a zoom lens 18, a shake correction lens 19, and a focus lens 20. The objective lens 17 is a lens positioned closest to the subject and is driven by the DC motor 13. The zoom lens 18 is movable in the optical axis direction, and the size of the subject image can be changed by moving in the optical axis direction. The zoom lens 18 is driven by the DC motor 14. The blur correction lens 19 cancels the blur of the subject image by moving in a plane perpendicular to the optical axis. The blur correction lens 19 is driven by the OIS motor 15. The focus lens 20 is movable in the optical axis direction, and the subject image can be focused by moving in the optical axis direction. The focus lens 20 is driven by a linear motor 16. The DC motors 13 and 14, the OIS motor 15 and the linear motor 16 are controlled by the motor driver 12, respectively. The motor driver 12 converts the voltage instructed by the CPU 4 into a current and drives the motor.

位置検出センサ11は、フォーカスレンズ20の位置を検出する。検出した位置情報はCPU4に送信される。CPU4は、受信した位置情報に基づいて、フォーカスレンズ20の実際の位置(位置検出センサ11で検出した位置)とCPU4が意図した目標位置とが一致しているかどうかを判断する。CPU4はこれらの位置が所定距離以上は離れている場合には、フォーカスレンズ20が異常状態にあると判断する。CPU4は、異常状態であると判断した場合、異常状態を解除する制御又はエラー停止制御を行う。   The position detection sensor 11 detects the position of the focus lens 20. The detected position information is transmitted to the CPU 4. Based on the received position information, the CPU 4 determines whether or not the actual position of the focus lens 20 (the position detected by the position detection sensor 11) matches the target position intended by the CPU 4. When these positions are separated by a predetermined distance or more, the CPU 4 determines that the focus lens 20 is in an abnormal state. When it is determined that the CPU 4 is in an abnormal state, the CPU 4 performs control for canceling the abnormal state or error stop control.

なお、フォーカスレンズ20は本発明のレンズの一例である。リニアモータ16は本発明の駆動手段の一例である。CPU4は本発明の制御手段の一例である。レリーズ釦9や電源スイッチ10は本発明の操作手段の一例である。   The focus lens 20 is an example of the lens of the present invention. The linear motor 16 is an example of the driving means of the present invention. The CPU 4 is an example of the control means of the present invention. The release button 9 and the power switch 10 are examples of the operation means of the present invention.

2.リニアモータへの印加電圧
リニアモータ16に印加する電圧は、CPU4が制御する。この制御を図3を参照して説明する。図3は、リニアモータに印加する電圧の一例を示す模式図である。縦軸が印加電圧を示し、横軸が経過時間を示す。
2. Applied voltage to linear motor The voltage applied to the linear motor 16 is controlled by the CPU 4. This control will be described with reference to FIG. FIG. 3 is a schematic diagram illustrating an example of a voltage applied to the linear motor. The vertical axis represents the applied voltage, and the horizontal axis represents the elapsed time.

リニアモータ16は、印加電圧と基準電圧との差分電圧に従って駆動される。基準電圧とは、リニアモータ16に電流を流さない電圧である。フォーカスレンズ20は、例えば、リニアモータ16に基準電圧より大きい電圧が印加されると、図1において矢印A方向に駆動され、リニアモータ16に基準電圧より小さい電圧が印加されると、図1において矢印B方向に駆動される。   The linear motor 16 is driven according to the differential voltage between the applied voltage and the reference voltage. The reference voltage is a voltage that does not flow current through the linear motor 16. For example, when a voltage larger than the reference voltage is applied to the linear motor 16, the focus lens 20 is driven in the direction of arrow A in FIG. 1, and when a voltage smaller than the reference voltage is applied to the linear motor 16, Driven in the direction of arrow B.

図3は、一例として、リニアモータ16が、時間t0からt1までの期間は通常駆動し、時間t1からt2の期間は停止し、時間t2からt4の期間は異常状態を解除するために駆動し、時間t4以降停止している場合を示す。   In FIG. 3, as an example, the linear motor 16 is normally driven during the period from time t0 to t1, stopped during the period from time t1 to t2, and driven to cancel the abnormal state during the period from time t2 to t4. The case where it stops after time t4 is shown.

CPU4は、通常駆動期間中(t0〜t1)、印加電圧が通常駆動時最低電圧から通常駆動時最高電圧の範囲に入るよう制御する。一方、CPU4は、異常状態解除時(t2〜t3)、印加電圧が異常状態解除時最低電圧から異常状態解除時最高電圧の範囲に入るよう制御する。異常状態解除時最低電圧は通常駆動時最低電圧より低く、異常状態解除時最高電圧は通常駆動時最高電圧より高い。つまり、CPU4は、異常状態を解除する際に、リニアモータ16の通常駆動時の駆動電力よりも大きい駆動電力を印加するよう制御するのである。   During the normal driving period (t0 to t1), the CPU 4 performs control so that the applied voltage falls within the range of the normal driving minimum voltage to the normal driving maximum voltage. On the other hand, when the abnormal state is canceled (t2 to t3), the CPU 4 performs control so that the applied voltage falls within the range from the lowest voltage when the abnormal state is released to the highest voltage when the abnormal state is released. The lowest voltage when the abnormal state is released is lower than the lowest voltage during normal driving, and the highest voltage when the abnormal state is released is higher than the highest voltage during normal driving. That is, the CPU 4 controls to apply a driving power larger than the driving power during the normal driving of the linear motor 16 when canceling the abnormal state.

3.デジタルカメラの動作
図4は本発明の実施の形態1にかかるレンズ制御のフローを示すフローチャートである。使用者が電源釦10を押すと、CPU4は、レンズ制御を開始する。CPU4は、レンズの駆動が異常状態にあった回数をカウントする異常解除カウンタを有する。それは、レンズの破損を防ぐために、所定回数M以内異常状態を解除し、所定回数Mを超えると、異常状態が検出されても、異常状態解除処理をせずにエラー終了するためである。CPU4は、レンズ制御を開始すると、異常解除カウンタをゼロに設定する(S41)。
3. Operation of Digital Camera FIG. 4 is a flowchart showing a lens control flow according to the first embodiment of the present invention. When the user presses the power button 10, the CPU 4 starts lens control. The CPU 4 has an abnormality canceling counter that counts the number of times the lens drive is in an abnormal state. This is because, in order to prevent damage to the lens, the abnormal state is canceled within a predetermined number of times M, and when the predetermined number of times M is exceeded, even if an abnormal state is detected, the process ends with an error without performing the abnormal state canceling process. When starting the lens control, the CPU 4 sets the abnormality cancellation counter to zero (S41).

使用者がレリーズ釦9を半押しすると、モータドライバ12は、CPU4の制御によって、指示された電圧を電流に変換してモータを駆動する。このとき、CPU4は、位置検出センサ11の出力に基づいて、モータドライバ12を制御する。つまり、CPU4は、フォーカスレンズ20の駆動について、フォーカスレンズ20、位置検出センサ11、CPU4、モータドライバ12及びリニアモータ16からなるフィードバック制御を行うのである。そしてモータの駆動により、レンズ群が移動する。CPU4はフォーカスレンズ20が一定期間に停止状態にあることを検出する(S42)と、位置検出センサ11は、フォーカスレンズ20の位置を検出し、検出した位置情報はCPU4に送信される。CPU4は、受信した位置情報に基づいて、フォーカスレンズ20の実際の停止位置(位置検出センサ11で検出した位置)と本来の停止位置(CPU4が意図した目標位置)とが一致しているかどうかを判断する(S43)。CPU4はこれらの位置が所定距離以上離れて、フォーカスレンズ20が異常状態にあると判断した(S43のY)場合において、異常解除カウンタの値により、異常状態にあった回数が所定回数M以内であるかどうかを判断する(S44)。異常状態にあった回数が所定回数M以内の場合(S44のY)、フォーカスレンズ20の異常状態を解除するように、異常状態解除処理をする。また、レンズを破損しないように、本実施の形態1では、異常状態解除処理をする回数も限定し、すなわち所定回数N回しか異常状態解除処理をしない。そして、異常状態解除処理をしようとするとき、まず、異常状態解除処理回数iが0に付与される(S451)。そして、異常状態解除処理回数iが所定回数N以内まで、異常状態解除処理を繰り返す(S452、S453、S454)。なお、CPU4は、異常状態解除処理の際、位置検出センサ11の出力に基づかず、単に所定時間、所定の電圧をモータドライバ12に印加することにより、モータドライバ12を制御する。つまり、CPU4は、異常状態解除処理の際には、フォーカスレンズ20の駆動について、フォーカスレンズ20、位置検出センサ11、CPU4、モータドライバ12及びリニアモータ16からなるフィードバック制御を行わないのである。これにより、フォーカスレンズ20がどのような位置にあっても、異常状態解除処理時にリニアモータ16に印加する電力を所定時間一定に保つことができるので、異常状態の解除動作を安定的に行うことができる。   When the user presses the release button 9 halfway, the motor driver 12 converts the instructed voltage into current under the control of the CPU 4 to drive the motor. At this time, the CPU 4 controls the motor driver 12 based on the output of the position detection sensor 11. That is, the CPU 4 performs feedback control including the focus lens 20, the position detection sensor 11, the CPU 4, the motor driver 12, and the linear motor 16 for driving the focus lens 20. The lens group is moved by driving the motor. When the CPU 4 detects that the focus lens 20 is in a stopped state for a predetermined period (S42), the position detection sensor 11 detects the position of the focus lens 20, and the detected position information is transmitted to the CPU 4. Based on the received position information, the CPU 4 determines whether or not the actual stop position (position detected by the position detection sensor 11) of the focus lens 20 matches the original stop position (target position intended by the CPU 4). Judgment is made (S43). When the CPU 4 determines that these positions are separated by a predetermined distance or more and the focus lens 20 is in an abnormal state (Y in S43), the number of times of the abnormal state is within the predetermined number M based on the value of the abnormality cancellation counter. It is determined whether or not there is (S44). If the number of abnormal states is within the predetermined number M (Y in S44), abnormal state release processing is performed so as to release the abnormal state of the focus lens 20. Further, in order to prevent the lens from being damaged, the first embodiment limits the number of times that the abnormal state canceling process is performed, that is, the abnormal state canceling process is performed only a predetermined number of times. Then, when attempting to perform the abnormal state canceling process, first, the abnormal state canceling process count i is given to 0 (S451). Then, the abnormal state canceling process is repeated until the abnormal state canceling process count i is within the predetermined number N (S452, S453, S454). Note that the CPU 4 controls the motor driver 12 by simply applying a predetermined voltage to the motor driver 12 for a predetermined time, not based on the output of the position detection sensor 11 during the abnormal state release processing. That is, the CPU 4 does not perform feedback control including the focus lens 20, the position detection sensor 11, the CPU 4, the motor driver 12, and the linear motor 16 for driving the focus lens 20 during the abnormal state canceling process. As a result, the power applied to the linear motor 16 during the abnormal state canceling process can be kept constant for a predetermined time regardless of the position of the focus lens 20, so that the abnormal state canceling operation can be performed stably. Can do.

異常状態解除処理回数iが所定回数N回を超える(S452のY)と、CPU4は、異常状態の解除を停止させ、異常解除カウンタに1をカウントアップ(S455)して、モータドライバ12を制御することによって、フォーカスレンズ20を異常状態検出前の位置に復帰させる(S456)。フォーカスレンズ20が異常状態検出前の位置に復帰された後、引き続きCPU4がフォーカスレンズ20を制御する(S42へジャンプ)。   When the abnormal state cancellation processing count i exceeds the predetermined number N (Y in S452), the CPU 4 stops the cancellation of the abnormal state, counts up 1 in the abnormal cancellation counter (S455), and controls the motor driver 12. By doing so, the focus lens 20 is returned to the position before detecting the abnormal state (S456). After the focus lens 20 is returned to the position before detecting the abnormal state, the CPU 4 continues to control the focus lens 20 (jump to S42).

また、CPU4は、フォーカスレンズ20が異常状態にあった回数が所定回数Mを超える場合(S44のN)、フォーカスレンズ20の異常状態を解除せず、レンズの駆動を停止するように、モータドライバ12を制御する(S461)。すると、カメラはエラー表示をし(S462)、レンズの制御を終了する。   Further, when the number of times the focus lens 20 has been in an abnormal state exceeds the predetermined number M (N in S44), the motor driver does not cancel the abnormal state of the focus lens 20 and stops driving the lens. 12 is controlled (S461). Then, the camera displays an error (S462) and ends the lens control.

4.まとめ
以上のように本実施の形態1のデジタルカメラ100は、リニアモータ16と位置検出センサ11とCPU4とモータドライバ12とを備える。リニアモータ16はフォーカスレンズ20を駆動する。位置検出センサ11は、フォーカスレンズ20の位置を検出する。CPU4及びモータドライバ12から構成される制御手段は、リニアモータ16を制御する。そして、制御手段は、フォーカスレンズが停止し、位置検出センサ11で検出された停止位置が本来の停止位置でなく異常状態にあると判定した場合において、以前に異常状態を解除した回数が所定回数以下であるとき、異常状態を解除するようにリニアモータ16を制御する一方、以前に異常状態を解除した回数が所定回数を超えると、リニアモータ16を停止してエラー終了する。
4). Summary As described above, the digital camera 100 according to the first embodiment includes the linear motor 16, the position detection sensor 11, the CPU 4, and the motor driver 12. The linear motor 16 drives the focus lens 20. The position detection sensor 11 detects the position of the focus lens 20. A control unit including the CPU 4 and the motor driver 12 controls the linear motor 16. When the control unit determines that the focus lens is stopped and the stop position detected by the position detection sensor 11 is not the original stop position but is in an abnormal state, the number of times the abnormal state has been canceled is a predetermined number of times. When the following is true, the linear motor 16 is controlled to cancel the abnormal state. On the other hand, if the number of times the abnormal state has been previously canceled exceeds a predetermined number, the linear motor 16 is stopped and the error is ended.

これにより、解除可能な異常状態に対しては解除動作により異常状態から回復できる一方、解除困難な異常状態に対しては、所定回数以内で異常状態の解除動作を行った後エラー停止をするので、異常状態の解除動作によって駆動手段等を破損してしまうという問題を解消できる。   As a result, an abnormal state that can be cleared can be recovered from the abnormal state by a canceling operation, while an abnormal state that is difficult to cancel is stopped after performing the canceling operation of the abnormal state within a predetermined number of times. Thus, it is possible to solve the problem that the driving means and the like are damaged due to the abnormal state canceling operation.

また、本実施の形態1のデジタルカメラ100の制御手段4、12は、異常状態を解除する際に、リニアモータ16の通常駆動時の駆動電力よりも大きい駆動電力を印加するよう制御する。これにより、異常状態の解除動作の際にリニアモータ16の駆動力を大きくできるので、異常状態の解除をより容易にすることができる。   Further, the control means 4 and 12 of the digital camera 100 according to the first embodiment controls to apply a driving power larger than the driving power during the normal driving of the linear motor 16 when canceling the abnormal state. Accordingly, since the driving force of the linear motor 16 can be increased during the abnormal state canceling operation, the abnormal state can be canceled more easily.

また、本実施の形態1のデジタルカメラ100の制御手段4、12は、通常駆動時は、位置検出センサ11の検出結果に基づいて、リニアモータ16を制御する一方、異常状態を解除するときは、位置検出センサ11の検出結果に基づかないで、リニアモータ16を制御する。これにより、通常駆動時はフォーカスレンズ20の位置をより正確に制御できる一方、異常状態解除処理時は、フォーカスレンズ20がどのような位置にあっても、リニアモータ16に印加する電力を所定時間一定に保つことができるので、異常状態の解除動作を安定的に行うことができる。   Further, the control means 4 and 12 of the digital camera 100 according to the first embodiment controls the linear motor 16 based on the detection result of the position detection sensor 11 during normal driving, while releasing the abnormal state. The linear motor 16 is controlled without being based on the detection result of the position detection sensor 11. Thereby, the position of the focus lens 20 can be controlled more accurately during normal driving, while the power applied to the linear motor 16 can be applied for a predetermined time regardless of the position of the focus lens 20 during the abnormal state canceling process. Since it can be kept constant, the operation for canceling the abnormal state can be performed stably.

(実施の形態1の変形例)
図5は実施の形態1の変形例にかかるレンズ制御のフローを示すフローチャートである。本変形例は、構成などが実施の形態1と同じだが、異常状態解除の回数が一回しかしないとする。また、本変形例では、レンズ駆動範囲を充分な力で駆動させることにより、異常状態の解除が行われる。ここでは、実施の形態1と同じ部分の説明を省略して、デジタルカメラの動作の部分について、説明する。
(Modification of Embodiment 1)
FIG. 5 is a flowchart illustrating a flow of lens control according to the modification of the first embodiment. This modified example has the same configuration as that of the first embodiment, but it is assumed that the abnormal state is released only once. In this modification, the abnormal state is canceled by driving the lens driving range with a sufficient force. Here, description of the same parts as those in Embodiment 1 is omitted, and only the operation part of the digital camera will be described.

実施の形態1と同じように、使用者が電源釦10を押すと、CPU4は、レンズ制御を開始する。レンズ制御を開始すると、異常解除カウンタがゼロに設定される(S51)。使用者がレリーズ釦9を半押しすると、モータドライバ12は、CPU4の制御によって、指示された電圧を電流に変換してモータを駆動する。そしてモータの駆動により、レンズ群が移動する。CPU4は、フォーカスレンズ20が一定期間に停止状態にあることを検出する(S52)と、位置検出センサ11は、フォーカスレンズ20の位置を検出し、検出した位置情報はCPU4に送信される。CPU4は、受信した位置情報に基づいて、フォーカスレンズ20の実際の停止位置と本来の停止位置とが一致しているかどうかを判断する(S53)。CPU4はこれらの位置が所定距離以上離れて、フォーカスレンズ20が異常状態にあると判断した(S53のY)場合において、以前異常状態を解除したことがあるかどうかを判断する(S54)。すなわち、異常解除カウンタの値がゼロであれば、異常状態を解除したことがない、と判定する(S54のY)。その場合において、フォーカスレンズ20の異常状態を解除する。すると、異常解除カウンタの値を1として(S551)から、異常状態解除処理をする。まず、異常状態解除処理回数iに0を設定する(S552)。そして、異常状態解除処理回数iが所定回数N以内まで、異常状態解除処理を繰り返す(S553、S554、S555、S556)。   As in the first embodiment, when the user presses the power button 10, the CPU 4 starts lens control. When the lens control is started, the abnormality release counter is set to zero (S51). When the user presses the release button 9 halfway, the motor driver 12 converts the instructed voltage into current under the control of the CPU 4 to drive the motor. The lens group is moved by driving the motor. When the CPU 4 detects that the focus lens 20 is in a stopped state for a certain period (S52), the position detection sensor 11 detects the position of the focus lens 20, and the detected position information is transmitted to the CPU 4. Based on the received position information, the CPU 4 determines whether the actual stop position of the focus lens 20 matches the original stop position (S53). When the CPU 4 determines that these positions are separated by a predetermined distance or more and the focus lens 20 is in an abnormal state (Y in S53), the CPU 4 determines whether or not the abnormal state has been canceled before (S54). That is, if the value of the abnormality cancellation counter is zero, it is determined that the abnormal state has not been canceled (Y in S54). In that case, the abnormal state of the focus lens 20 is canceled. Then, the abnormal state cancellation processing is performed after setting the value of the abnormal cancellation counter to 1 (S551). First, 0 is set to the abnormal state cancel processing count i (S552). Then, the abnormal state canceling process is repeated until the abnormal state canceling process number i is within the predetermined number N (S553, S554, S555, S556).

本変形例では、レンズ駆動範囲を充分な力で駆動させることにより、異常状態の解除が行われる。CPU4は、リニアモータ16に通常駆動時の駆動電力よりも大きい駆動電力を印加するように、モータドライバ12を制御する。モータドライバ12が、CPU4に指示された通常駆動より大きい電圧を電流に変換してリニアモータ16を駆動させる。すると、リニアモータ16の駆動により、フォーカスレンズ20は一方向に駆動される(S554)。引き続き、フォーカスレンズ20が他方向に駆動されるように、CPU4はモータドライバ12を制御して、同じような大きい駆動電流によってリニアモータ16を駆動させてフォーカスレンズ20が他方向に駆動される(S555)。フォーカスレンズ20が他方向に駆動された後、異常状態解除処理回数iに1をカウントアップする(S556)。異常状態解除処理回数iが所定回数Nを超える(S553のY)と、CPU4は異常状態の解除を停止させ、モータドライバ12を制御することによって、フォーカスレンズ20を異常状態検出前の位置に復帰させる(S557)。フォーカスレンズ20が異常状態検出前の位置に復帰された後、引き続きCPU4がフォーカスレンズ20を制御する(S52へジャンプ)。   In this modification, the abnormal state is canceled by driving the lens driving range with a sufficient force. The CPU 4 controls the motor driver 12 so that a driving power larger than the driving power during normal driving is applied to the linear motor 16. The motor driver 12 converts the voltage larger than the normal drive instructed by the CPU 4 into a current to drive the linear motor 16. Then, the focus lens 20 is driven in one direction by the drive of the linear motor 16 (S554). Subsequently, the CPU 4 controls the motor driver 12 so that the focus lens 20 is driven in the other direction, and the linear motor 16 is driven by the same large driving current to drive the focus lens 20 in the other direction ( S555). After the focus lens 20 is driven in the other direction, 1 is incremented to the abnormal state cancel processing count i (S556). When the abnormal state cancel processing count i exceeds the predetermined number N (Y in S553), the CPU 4 stops canceling the abnormal state and controls the motor driver 12 to return the focus lens 20 to the position before the abnormal state detection. (S557). After the focus lens 20 is returned to the position before detecting the abnormal state, the CPU 4 continues to control the focus lens 20 (jump to S52).

また、CPU4は、異常解除カウンタの値がゼロではなく、すなわち異常状態を解除したことがある、と判定した(S54のN)場合に、実施の形態1と同じように、フォーカスレンズ20の異常状態を解除せず、モータドライバ12を制御してレンズの駆動を停止する(S561)。すると、カメラはエラー表示をし(S562)、レンズの制御を終了する。   When the CPU 4 determines that the value of the abnormality cancellation counter is not zero, that is, the abnormal state has been canceled (N in S54), the abnormality of the focus lens 20 is the same as in the first embodiment. Without releasing the state, the motor driver 12 is controlled to stop driving the lens (S561). Then, the camera displays an error (S562) and ends the lens control.

以上のように本変形例では、CPU4は、異常状態であると判断した場合に(S53のY)、異常解除カウンタの値を1に変更している。実施の形態1では、CPU4は異常状態解除処理を終了後に異常解除カウンタの値を変更しているが、本変形例のように、異常状態であると判断した後異常状態解除処理をする前に異常解除カウンタの値を変更しても、本発明を適用できる。   As described above, in this modification, the CPU 4 changes the value of the abnormality canceling counter to 1 when determining that it is in an abnormal state (Y in S53). In the first embodiment, the CPU 4 changes the value of the abnormality canceling counter after completing the abnormal state canceling process, but before performing the abnormal state canceling process after determining that it is in an abnormal state as in this modification. The present invention can be applied even if the value of the abnormality cancellation counter is changed.

また、本変形例では、制御手段は、リニアモータ16を往復動作させることによって、異常状態を解除するようにリニアモータ16を制御する。これにより、簡単な制御により容易に異常状態の解除動作を実現できる。   In the present modification, the control means controls the linear motor 16 so as to cancel the abnormal state by causing the linear motor 16 to reciprocate. Thereby, it is possible to easily realize the operation for canceling the abnormal state by a simple control.

(実施の形態2)
実施の形態2では、使用者の操作に合わせて、異常状態解除処理を行う。これにより、使用者が意図しないときにレンズが駆動されるのを防ぐことができるので、使用者にとって違和感のないカメラを提供できる。なお、その他の構成などが実施の形態1と同じであるので、ここでは、同じ部分の説明を省略して、異なる部分のみについて、説明する。
(Embodiment 2)
In the second embodiment, an abnormal state canceling process is performed in accordance with a user operation. Accordingly, since it is possible to prevent the lens from being driven when the user does not intend, it is possible to provide a camera that does not feel uncomfortable for the user. Since other configurations and the like are the same as those of the first embodiment, description of the same parts is omitted here, and only different parts are described.

図6は本実施の形態2にかかるレンズ制御のフローを示すフローチャートである。実施の形態1と同じように、使用者が電源釦10を押すと、CPU4は、レンズ制御を開始する。レンズ制御を開始すると、異常解除カウンタがゼロに設定される(S61)。そして、使用者がレリーズ釦9を半押しすると、モータドライバ12は、CPU4の制御によって、指示された電圧を電流に変換してモータを駆動する。そしてモータの駆動により、レンズ群が移動する。CPU4はフォーカスレンズ20が一定期間に停止状態にあることを検出する(S62)と、位置検出センサ11は、フォーカスレンズ20の位置を検出してCPU4に送信する。CPU4は、受信した位置情報に基づいて、フォーカスレンズ20の実際の停止位置と本来の停止位置とが一致しているかどうかを判断する(S63)。CPU4はこれらの位置が所定距離以上離れて、フォーカスレンズ20が異常状態にあると判断した(S63のY)場合において、使用者にレンズ制御が手動するように、操作手段による操作をするかどうかについて問い合わせる(S64)。使用者は該レンズ制御を続けて行うと選択した場合(S64のY)、実施の形態1と同じように、異常解除してレンズの制御をする(S661〜S666、S671、S672)。   FIG. 6 is a flowchart showing the flow of lens control according to the second embodiment. As in the first embodiment, when the user presses the power button 10, the CPU 4 starts lens control. When the lens control is started, the abnormality release counter is set to zero (S61). When the user presses the release button 9 halfway, the motor driver 12 converts the instructed voltage into current under the control of the CPU 4 to drive the motor. The lens group is moved by driving the motor. When the CPU 4 detects that the focus lens 20 is stopped for a certain period (S62), the position detection sensor 11 detects the position of the focus lens 20 and transmits it to the CPU 4. Based on the received position information, the CPU 4 determines whether or not the actual stop position of the focus lens 20 matches the original stop position (S63). When the CPU 4 determines that these positions are separated by a predetermined distance or more and the focus lens 20 is in an abnormal state (Y in S63), whether or not to operate the operation means so that the user manually performs lens control. Inquire about (S64). If the user selects to continue the lens control (Y in S64), the lens is controlled by canceling the abnormality as in the first embodiment (S661 to S666, S671, S672).

また、使用者は該レンズ制御がしない、と選択した場合(S64のN)において、フォーカスレンズ20の異常状態を解除せず、モータドライバ12を制御してレンズの制御を終了する(S671、S672)。   When the user selects not to perform the lens control (N in S64), the abnormal state of the focus lens 20 is not canceled and the motor driver 12 is controlled to finish the lens control (S671, S672). ).

以上のように、本実施の形態2では、使用者がレリーズ釦9を押す操作に合わせて、異常状態解除処理を行うようにした。これにより、使用者が意図しないときにレンズが駆動されるのを防ぐことができるので、使用者にとって違和感のないカメラを提供できる。   As described above, in the second embodiment, the abnormal state canceling process is performed in accordance with the operation of the user pressing the release button 9. Accordingly, since it is possible to prevent the lens from being driven when the user does not intend, it is possible to provide a camera that does not feel uncomfortable for the user.

(実施の形態3)
本発明のその他の実施の形態を実施の形態3として、以下まとめて説明する。
(Embodiment 3)
Another embodiment of the present invention will be collectively described below as a third embodiment.

本発明の実施の形態1及び2では、本発明のレンズとしてフォーカスレンズ20を例示したが、これには限らない。例えば、ズームレンズやOISレンズを駆動する場合に、本発明を適用するようにしてもよい。   In Embodiments 1 and 2 of the present invention, the focus lens 20 is exemplified as the lens of the present invention, but the present invention is not limited to this. For example, the present invention may be applied when driving a zoom lens or an OIS lens.

また、本発明の実施の形態1及び2では、本発明の駆動手段としてリニアモータ16を例示したが、これには限らない。例えば、DCモータや超音波モータにも適用できる。要するに、レンズを駆動することができるレンズであって、異常状態が発生し得る機構を有するものであれば、本発明を適用できる。   In the first and second embodiments of the present invention, the linear motor 16 is exemplified as the driving means of the present invention, but the present invention is not limited to this. For example, it can be applied to a DC motor or an ultrasonic motor. In short, the present invention can be applied to any lens that can drive the lens and has a mechanism that can cause an abnormal state.

また、本発明の実施の形態1及び2では、本発明の位置検出センサとして磁気を検知する位置検出センサ11を例示したが、これには限らない。例えば、光を検出することによりフォーカスレンズ20の位置を検出するセンサであってもよいし、機械的にフォーカスレンズ20の位置を検出するセンサであってもよい。   Moreover, in Embodiment 1 and 2 of this invention, although the position detection sensor 11 which detects magnetism was illustrated as a position detection sensor of this invention, it is not restricted to this. For example, a sensor that detects the position of the focus lens 20 by detecting light may be used, or a sensor that mechanically detects the position of the focus lens 20.

また、本発明の実施の形態1及び2では、フォーカスレンズ20の位置を直接位置検出センサ11により検出するとしたが、これには限らない。例えば、駆動手段としてDCモータを用いて、DCモータにエンコーダ等を取り付け、DCモータの回転角度をCPU4に入力し、CPU4はDCモータの回転角度によって間接的にフォーカスレンズ20の位置を把握するような構成としてもよい。要するに、本発明の位置検出センサは、直接的であるか間接的であるかを問わず、レンズの位置を検出できるものであればよい。   In the first and second embodiments of the present invention, the position of the focus lens 20 is directly detected by the position detection sensor 11, but the present invention is not limited to this. For example, using a DC motor as a driving means, an encoder or the like is attached to the DC motor, and the rotation angle of the DC motor is input to the CPU 4 so that the CPU 4 indirectly grasps the position of the focus lens 20 based on the rotation angle of the DC motor. It is good also as a simple structure. In short, the position detection sensor of the present invention may be any sensor that can detect the position of the lens regardless of whether it is direct or indirect.

また、本発明の実施の形態1及び2では、本発明の制御手段としてCPU4及びモータドライバ12からなる構成を例示したが、これには限らない。例えば、モータドライバ12をDCモータ13やDCモータ14などと兼用するのではなく、リニアモータ16の専用ドライバとしてもよい。また、CPU4とモータドライバ12とを同じ半導体チップ上に形成してもよい。また、CPU4は、プログラム可能なマイクロコンピュータで構成してもよく、ハードワイヤードで構成してもよい。   In the first and second embodiments of the present invention, the configuration including the CPU 4 and the motor driver 12 is exemplified as the control means of the present invention. However, the present invention is not limited to this. For example, the motor driver 12 may not be used as the DC motor 13 or the DC motor 14 but may be a dedicated driver for the linear motor 16. Further, the CPU 4 and the motor driver 12 may be formed on the same semiconductor chip. The CPU 4 may be configured with a programmable microcomputer or may be configured with a hard wire.

また、本発明の実施の形態1及び2では、カメラの電源投入後、初期設定動作の一部として、異常解除カウンタの値を0に設定するようにした(S41、S51、S61)。これにより、一旦異常停止しても、カメラの電源を再投入することにより、再び異常解除処理に関して初期化できる。したがって、カメラの電源の再投入により使用者が希望すれば何度でも異常状態解除処理を可能とできる。しかし、本発明はこのような実施例に限定されない。例えば、異常解除カウンタをフラッシュメモリ等で構成し、一旦加算されたカウンタ値をリセットせずに記憶しておくように構成してもよい。これにより、所定回数を超えて異常状態解除処理を行ったカメラは常にエラー停止するので、無用な異常状態解除処理を防止できるため、異常状態解除処理によりレンズ駆動機構が破損するのを防止できる。   In the first and second embodiments of the present invention, the value of the abnormality canceling counter is set to 0 as part of the initial setting operation after the camera is turned on (S41, S51, S61). As a result, even after an abnormal stop, it is possible to initialize the abnormality canceling process again by turning on the power of the camera again. Therefore, the abnormal state canceling process can be performed as many times as the user desires by turning on the power of the camera again. However, the present invention is not limited to such examples. For example, the abnormality cancellation counter may be configured by a flash memory or the like, and the counter value once added may be stored without being reset. As a result, since the camera that has performed the abnormal state cancellation processing exceeding the predetermined number of times always stops with an error, the unnecessary abnormal state cancellation processing can be prevented, and thus the lens driving mechanism can be prevented from being damaged by the abnormal state cancellation processing.

また、本発明の実施の形態1及び2では、異常状態の解除動作の際に、リニアモータ16の駆動力を上げる例を示したが、正常状態と異常状態とでリニアモータ16の駆動力を同じにした場合も本発明は適用できる。但し、異常状態の解除動作の際に、リニアモータ16の駆動力を上げることにより、異常状態の原因である異物を除去しやすくなるため、異常状態を解除しやすくなるという効果を奏する。   In the first and second embodiments of the present invention, the example in which the driving force of the linear motor 16 is increased during the abnormal state canceling operation is shown. However, the driving force of the linear motor 16 is increased in the normal state and the abnormal state. The present invention can also be applied to the same case. However, in the operation of canceling the abnormal state, increasing the driving force of the linear motor 16 makes it easier to remove the foreign matter that is the cause of the abnormal state, so that the abnormal state can be easily canceled.

以上、図面を参照して本発明の実施の形態を詳細に説明してきたが、本発明はそれら細部に限定されるものではなく、当業者であれば種々の変形が可能である。   Although the embodiments of the present invention have been described in detail with reference to the drawings, the present invention is not limited to the details, and various modifications can be made by those skilled in the art.

本発明は、レンズを駆動制御するレンズ駆動装置に適用可能である。具体的には、ビデオカメラやデジタルスチルカメラ、フィルムカメラ、アナログカメラ等、レンズ鏡筒を有する撮像装置に適用できる。   The present invention is applicable to a lens driving device that drives and controls a lens. Specifically, the present invention can be applied to an imaging apparatus having a lens barrel, such as a video camera, a digital still camera, a film camera, and an analog camera.

本発明のレンズ制御装置の一実施例であるデジタルカメラの縦断面図1 is a longitudinal sectional view of a digital camera which is an embodiment of a lens control device of the present invention. 本発明の実施の形態1にかかるデジタルカメラの電気的な構成を示すブロック図1 is a block diagram showing an electrical configuration of a digital camera according to a first embodiment of the present invention. 本発明の実施の形態1にかかるデジタルカメラのリニアモータに印加する電圧の一例を示す模式図1 is a schematic diagram illustrating an example of a voltage applied to a linear motor of a digital camera according to a first embodiment of the present invention. 本発明の実施の形態1にかかるレンズ制御のフローを示すフローチャート6 is a flowchart showing a flow of lens control according to the first embodiment of the present invention. 本発明の実施の形態1の一変形例にかかるレンズ制御のフローを示すフローチャート10 is a flowchart showing a lens control flow according to a modification of the first embodiment of the present invention. 本発明の実施の形態2ににかかるレンズ制御のフローを示すフローチャート7 is a flowchart showing a flow of lens control according to the second embodiment of the present invention.

符号の説明Explanation of symbols

1 CCDイメージセンサ
11 位置検出センサ
14 DCモータ
16 リニアモータ
16a コイル
16b マグネット
16c ヨーク
17 対物レンズ
18 ズームレンズ
19 ブレ補正レンズ
20 フォーカスレンズ
21 マグネット
22a、22b ガイド
23 フォーカスレンズ枠
100 デジタルカメラ
DESCRIPTION OF SYMBOLS 1 CCD image sensor 11 Position detection sensor 14 DC motor 16 Linear motor 16a Coil 16b Magnet 16c Yoke 17 Objective lens 18 Zoom lens 19 Shake correction lens 20 Focus lens 21 Magnet 22a, 22b Guide 23 Focus lens frame 100 Digital camera

Claims (6)

レンズを駆動する駆動手段と、
前記レンズの位置を検出する位置検出センサと、
前記駆動手段を制御する制御手段と、を備え、
前記制御手段は、前記レンズが停止し、前記位置検出センサで検出された停止位置が本来の停止位置でなく異常状態にあると判定した場合において、
以前に前記異常状態にあると判定した回数又は以前に前記異常状態を解除した回数が所定回数以下であるとき、前記異常状態を解除するように前記駆動手段を制御する一方、
以前に前記異常状態にあると判定した回数又は以前に前記異常状態を解除した回数が所定回数を超えると、前記駆動手段を停止してエラー終了する、
レンズ制御装置。
Driving means for driving the lens;
A position detection sensor for detecting the position of the lens;
Control means for controlling the drive means,
In the case where the control means determines that the lens is stopped and the stop position detected by the position detection sensor is not an original stop position but is in an abnormal state,
When the number of times determined to be in the abnormal state before or the number of times the abnormal state was previously canceled is less than or equal to a predetermined number of times, the drive means is controlled to cancel the abnormal state,
When the number of times determined to be in the abnormal state before or the number of times the abnormal state was previously released exceeds a predetermined number of times, the driving means is stopped and the error ends.
Lens control device.
前記制御手段は、前記駆動手段を往復動作させることによって、前記異常状態を解除するように前記駆動手段を制御する、請求項1に記載のレンズ制御装置。 The lens control device according to claim 1, wherein the control unit controls the driving unit to release the abnormal state by reciprocating the driving unit. 前記制御手段は、前記異常状態を解除する際に、前記駆動手段の通常駆動時の駆動電力よりも大きい駆動電力を印加するよう制御する、請求項1又は2に記載のレンズ制御装置。 3. The lens control device according to claim 1, wherein the control unit performs control so as to apply a driving power larger than a driving power during a normal driving of the driving unit when releasing the abnormal state. 前記制御手段は、
通常駆動時は、前記位置検出センサの検出結果に基づいて、前記駆動手段を制御する一方、
前記異常状態を解除するときは、前記位置検出センサの検出結果に基づかないで、前記駆動手段を制御する、請求項1に記載のレンズ制御装置。
The control means includes
During normal driving, while controlling the driving means based on the detection result of the position detection sensor,
The lens control device according to claim 1, wherein when the abnormal state is canceled, the driving unit is controlled based on a detection result of the position detection sensor.
使用者の操作を受け付ける操作手段をさらに備え、
前記制御手段は、前記操作手段が使用者による操作を受け付けるのに応じて、前記異常状態を解除するように前記駆動手段を制御する、請求項1に記載のレンズ制御装置。
It further comprises an operation means for receiving a user's operation,
The lens control device according to claim 1, wherein the control unit controls the driving unit to cancel the abnormal state in response to the operation unit receiving an operation by a user.
レンズを駆動する駆動手段と、
前記レンズの位置を検出する位置検出手段と、
前記駆動手段を制御する制御手段と、を有するレンズ制御装置を備えるカメラにおいて、
前記制御手段の制御によって、前記駆動手段で前記レンズを駆動するステップと、
前記レンズが停止し、前記位置検出センサは前記レンズの位置を検出するステップと、
前記制御手段は、前記位置検出センサで検出された前記レンズの停止位置が本来の停止位置でなく異常状態にあるかどうかを判定するステップと、
前記制御手段は、前記レンズの停止位置が異常状態にあると判定した場合において、以前に前記位置検出センサで異常状態にあると判定した回数又は以前に前記異常状態を解除した回数が所定回数以下であるとき、前記異常状態を解除するように前記駆動手段を制御する一方、以前に前記位置検出センサで異常状態にあると判定した回数又は以前に前記異常状態を解除した回数が所定回数を超えると、前記駆動手段を停止してエラー終了するステップと、を有するレンズ制御方法。
Driving means for driving the lens;
Position detecting means for detecting the position of the lens;
In a camera comprising a lens control device having control means for controlling the drive means,
Driving the lens by the driving means under the control of the control means;
The lens stops, and the position detection sensor detects the position of the lens;
The control means determines whether the stop position of the lens detected by the position detection sensor is in an abnormal state instead of the original stop position;
In the case where the control unit determines that the stop position of the lens is in an abnormal state, the number of times that the position detection sensor has previously determined that the lens is in an abnormal state or the number of times that the abnormal state has been canceled is less than a predetermined number of times. The number of times that the position detection sensor has previously determined that the abnormal state has occurred or the number of times that the abnormal state has been previously released exceeds a predetermined number. And a step of stopping the driving means and terminating the error.
JP2006164296A 2006-06-14 2006-06-14 Lens control system and lens control method Pending JP2007333922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006164296A JP2007333922A (en) 2006-06-14 2006-06-14 Lens control system and lens control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006164296A JP2007333922A (en) 2006-06-14 2006-06-14 Lens control system and lens control method

Publications (1)

Publication Number Publication Date
JP2007333922A true JP2007333922A (en) 2007-12-27

Family

ID=38933474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006164296A Pending JP2007333922A (en) 2006-06-14 2006-06-14 Lens control system and lens control method

Country Status (1)

Country Link
JP (1) JP2007333922A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009154287A1 (en) * 2008-06-16 2009-12-23 Ricoh Company, Ltd. Lens drive control device and image pickup device
JP2011053322A (en) * 2009-08-31 2011-03-17 Ricoh Co Ltd Photographing lens driving controller and imaging device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009154287A1 (en) * 2008-06-16 2009-12-23 Ricoh Company, Ltd. Lens drive control device and image pickup device
JP2010026492A (en) * 2008-06-16 2010-02-04 Ricoh Co Ltd Lens drive control device and image pickup device
US8503115B2 (en) 2008-06-16 2013-08-06 Ricoh Company, Ltd. Lens drive control device and image pickup device
JP2011053322A (en) * 2009-08-31 2011-03-17 Ricoh Co Ltd Photographing lens driving controller and imaging device

Similar Documents

Publication Publication Date Title
US8724012B2 (en) Camera body and camera system using driving method information indicating capability of controlling focus lens
JP5760190B2 (en) Imaging device
JP5406830B2 (en) Camera system
US8938162B2 (en) Interchangeable lens, interchangeable lens control method, camera and camera control method
JP2008107556A (en) Stepping motor drive device, lens drive device and camera
JP2009162881A (en) Lens position control apparatus and its control method
JP2008309947A (en) Imaging apparatus and imaging method
JP2007333922A (en) Lens control system and lens control method
JP2011175128A (en) Camera system and camera body
JP2010243877A (en) Optical equipment
JP2007322462A (en) Optical device
JP2006317847A (en) Lens drive device
JP5025407B2 (en) POSITIONING DEVICE, POSITIONING METHOD, AND OPTICAL DEVICE
JP5142558B2 (en) Optical apparatus, imaging apparatus including the same, and control method of optical apparatus
JPH0980527A (en) Photographing device provided with shake correction mechanism
JP2003195381A (en) Interchangeable lens and photographing device
JP6700931B2 (en) Image processing device, imaging device, and control method
US20230194830A1 (en) Lens barrel and control apparatus
US20240061210A1 (en) Control apparatus, lens apparatus, image pickup apparatus, control method, and storage medium
JP2006081356A (en) Motor control unit, imaging apparatus, motor control method, motor control program and recording medium
JP2010171770A (en) Camera shake correction device, and imaging apparatus
JP2009282444A (en) Deflection correcting device and photographing device
JP2007271991A (en) Lens holding device
JP2000121908A (en) Method and device for lens driving
CN116744113A (en) Control device, optical device, and control method