JPS61116342A - Controlling method of lens position - Google Patents

Controlling method of lens position

Info

Publication number
JPS61116342A
JPS61116342A JP23878784A JP23878784A JPS61116342A JP S61116342 A JPS61116342 A JP S61116342A JP 23878784 A JP23878784 A JP 23878784A JP 23878784 A JP23878784 A JP 23878784A JP S61116342 A JPS61116342 A JP S61116342A
Authority
JP
Japan
Prior art keywords
lens
counter
hysteresis
home position
point
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.)
Granted
Application number
JP23878784A
Other languages
Japanese (ja)
Other versions
JPH06100773B2 (en
Inventor
Toshiki Anzai
安西 俊樹
Norihide Kunikawa
憲英 国川
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP59238787A priority Critical patent/JPH06100773B2/en
Publication of JPS61116342A publication Critical patent/JPS61116342A/en
Publication of JPH06100773B2 publication Critical patent/JPH06100773B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Lens Barrels (AREA)
  • Variable Magnification In Projection-Type Copying Machines (AREA)

Abstract

PURPOSE:To always move precisely a lens to an objective position by reciprocating a lens after turning on a power supply, and finding out and storing the hysteresis of a detector to calibrate the position of a lens. CONSTITUTION:Reflected light form an original is made incident upon a lens unit 1 along an optical axis P, reflected by a fixed mirror 3 through an optical board 2 on which a light passing notched pat is formed and then led to a photosensitive drum. A lens unit 1 is reciprocated before and after the hole position and the hysteresis of the home position sensor LHPS is previously stored. If a moving direction when the lens unit is moved up to an objective position is oriented in a specific direction, the position of the lens unit 1 is calibrated in accordance with the hysteresis at the calibration of the lens unit 1.

Description

【発明の詳細な説明】 く技術分野〉 この発明は変倍複写機でのレンズ位置制御方法に関する
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a lens position control method in a variable magnification copying machine.

〈発明の概要〉 この発明は、レンズのホームポジション検出をヒステリ
シス量のある検出装置で行う方法において、予めそのヒ
ステリシス量を記憶しておきレンズ移動方向が特定の方
向であるときにそのヒステリシス量に応じた位置校正を
行うようにしたものである。
<Summary of the Invention> The present invention provides a method for detecting the home position of a lens using a detection device having an amount of hysteresis. The position is calibrated accordingly.

〈従来技術とその欠点〉 変倍複写機、特にズームレンズを搭載した無段階変倍複
写機では、レンズを移動させる駆動源として一般にステ
ッピングモータを使用している。
<Prior Art and Its Disadvantages> Variable magnification copying machines, particularly stepless variable magnification copying machines equipped with a zoom lens, generally use a stepping motor as a drive source for moving the lens.

また、レンズの移動範囲中にはホームポジションが設定
され、レンズの移動はホームポジションを基準として行
われるようにしている。しかしホームポジション検出に
は、フォトトランジスタ等の成る検出幅を有するセンサ
を使用しているために、この検出幅の領域をレンズ移動
に応じて作動する検出プレートが横切るとき、センサ出
力はなだらかに連続的に変化しホームポジションの特定
が困難になる。そこで一般にはシュミットトリガ回路を
用いて、センサの出力電圧が“0”〜“l”に立ち上が
る位置、又は“1”〜“0゛に立ち下がる位置をホーム
ポジションとして特定するようにしている。第1図にシ
ュミットトリガ回路を使用してホームポジションを特定
する方法を示す。
Further, a home position is set within the movement range of the lens, and the movement of the lens is performed based on the home position. However, since a sensor with a detection width made of a phototransistor or the like is used to detect the home position, when the detection plate that operates according to the movement of the lens crosses the area of this detection width, the sensor output is smoothly continuous. changes, making it difficult to identify the home position. Therefore, generally, a Schmitt trigger circuit is used to specify the position where the output voltage of the sensor rises from "0" to "l" or falls from "1" to "0" as the home position. Figure 1 shows how to specify the home position using a Schmitt trigger circuit.

同図(A)において12はレンズ位置検出プレートであ
り、複写機内部のレンズに固定されている。L HP 
Sはホームポジョン(HP)検出センサである。13は
フォトトランジスタである。LHPS2は断面コ字型の
形状をしており、紙面に垂直な方向にフォトトランジス
タ13に対向してLED (図示せず)が配置されてい
る。レンズ位置検出プレート12はこのコ字型のLHP
Sの溝部に沿って矢印AまたはB方向に移動することが
できる。図に示す位置から検出プレート1がB方向に移
動して、そのプレート先端がフォトトランジスタ20の
側端縁に達したときからフォトトランジスタ出力、即ち
L HP S出力は同図(B)に示すように変化し始め
る。検出プレート12の先端がフォトトランジスタ20
を完全に横切った時LHPS出力が最大となる。また検
出プレート12がフォトトランジスタ20を完全に横切
っている位置から矢印A方向に移動したときには、LH
PS出力は検出プレート12がB方向に移動した。
In the same figure (A), 12 is a lens position detection plate, which is fixed to the lens inside the copying machine. L HP
S is a home position (HP) detection sensor. 13 is a phototransistor. The LHPS 2 has a U-shaped cross section, and an LED (not shown) is arranged facing the phototransistor 13 in a direction perpendicular to the plane of the paper. The lens position detection plate 12 is this U-shaped LHP.
It can move in the direction of arrow A or B along the groove S. When the detection plate 1 moves in the direction B from the position shown in the figure and the tip of the plate reaches the side edge of the phototransistor 20, the phototransistor output, that is, the L HP S output, changes as shown in the figure (B). begins to change. The tip of the detection plate 12 is a phototransistor 20
The LHPS output reaches its maximum when it completely crosses the line. Furthermore, when the detection plate 12 moves in the direction of arrow A from the position where it completely crosses the phototransistor 20, the LH
The PS output is generated when the detection plate 12 moves in the B direction.

時の変化と反対の変化をとる。LHPS出力を受ける図
外のシュミットトリガ回路は、同図(B)に示す出力電
圧の変化を同図(C)に示す電圧変化に変換する。検出
プレート12が矢印B方向に移動する時には出力電圧は
a−*l)−w C−+dの軌跡をたどる。検出プレー
ト1がフォトトランジスタ20を完全に覆っている状態
から矢印入方向に移動する時にはd −+ 6−+ f
 −1−3の軌跡をたどる。ホームポジションはこの場
合すまたはf点に設定されることになる。
Take a change that is opposite to the change of time. A Schmitt trigger circuit (not shown) that receives the LHPS output converts the change in the output voltage shown in FIG. 5B into the voltage change shown in FIG. When the detection plate 12 moves in the direction of arrow B, the output voltage follows a trajectory of a-*l)-wC-+d. When the detection plate 1 moves in the direction of the arrow from completely covering the phototransistor 20, d −+ 6−+ f
- Follow the trajectory of 1-3. In this case, the home position will be set at point f or point f.

上記のようにホームポジションの特定をヒステリシス特
性のあるシュミットトリガ回路を使用して行えば、LH
PSの検出幅による誤差を無くすことができる。しかし
同図(C)示すように、ホームポジションを例えばb点
に設定したときレンズ検出プレート12を矢印A方向に
移動させるとd −1−6−+ f −+ aの軌跡を
たどるのでb点を検出することができない。このため従
来のレンズ位置制御方法では、レンズ移動を行う際にホ
ームポジションでカウンタの計数値の校正を行おうとす
れば、レンズ移動行程中において必ず検出プレート12
をB方向に移動させてホームポジションHPを通過させ
る行程が必要であった。従ってレンズ位置検出プレート
12をホームポジションHPの右側から左側に単に移動
させる場合はホームポジションHPでのカウンタ類の計
数値校正が不可能である欠点があった。
If the home position is specified using a Schmitt trigger circuit with hysteresis characteristics as described above, LH
Errors caused by the PS detection width can be eliminated. However, as shown in the same figure (C), when the home position is set to point b, for example, and the lens detection plate 12 is moved in the direction of arrow A, it follows the trajectory of d -1-6- + f - + a, so it is at point b. cannot be detected. For this reason, in the conventional lens position control method, if you try to calibrate the count value of the counter at the home position when moving the lens, the detection plate 1 must be moved during the lens movement process.
It was necessary to move the robot in the B direction and pass the home position HP. Therefore, when the lens position detection plate 12 is simply moved from the right side to the left side of the home position HP, there is a drawback that it is impossible to calibrate the counts of the counters at the home position HP.

〈発明の目的〉 この発明の目的は、ヒステリシス特性のある検出装置で
ホームポジション検出を行う場合において、そのヒステ
リシス量を予め記憶しておくことにより、レンズの移動
方向が左右どちらであってもホームポジションHPにて
カウンタ類の計数値校正が行え、常に目的位置にレンズ
を正確に移動させることができるレンズ位置制御方法を
提供することにある。
<Object of the Invention> An object of the present invention is to store the amount of hysteresis in advance when detecting the home position using a detection device with hysteresis characteristics, so that the home position can be detected regardless of whether the lens is moving in the left or right direction. To provide a lens position control method capable of calibrating count values of counters at a position HP and always accurately moving a lens to a target position.

〈発明の構成および効果〉 この発明は次のように構成される。<Structure and effects of the invention> This invention is constructed as follows.

電源オン後にレンズをホームポジション前後にて往復移
動させる。このときレンズ移動制御にはカウンタを使用
する。カウンタとしては例えばホームポジションに対す
る現在位置カウンタと、現在位置に対する目的位置まで
の移動量を示す移動量カウンタとを使用する。この場合
ホームポジションとは第1図(C)に示すように検出装
置の出力が立ち上がる位置または立ち下がる位置である
。ここでは出力電圧が立ち上がる位置すなわちb点をホ
ームポジションとする。
After turning on the power, move the lens back and forth around the home position. At this time, a counter is used to control the lens movement. As the counters, for example, a current position counter for the home position and a movement amount counter indicating the amount of movement from the current position to the destination position are used. In this case, the home position is a position where the output of the detection device rises or falls, as shown in FIG. 1(C). Here, the position where the output voltage rises, that is, point b, is defined as the home position.

レンズをホームポジション前後に往復移動させると、上
記のカウンタを使用することによって検出装置のヒステ
リシス量(第1図(C)においてf点〜b点までの距離
)を求めることができる。
When the lens is moved back and forth to the home position, the amount of hysteresis (distance from point f to point b in FIG. 1C) of the detection device can be determined by using the above counter.

例えばカウンタとして上記の位置カウンタと移動量カウ
ンタを使用した場合、レンズを右方向に移動させてb点
で位置カウンタを0にセットし、移動量カウンタを使用
して更に右方向へ少しだけ移動させ(フォトトランジス
タ出力が安定するまで)、次いでレンズを左方向に移動
させてf点に到達したときの位置カウンタの内容を読み
取る。この時の位置カウンタの計数値がヒステリシス量
M(第1図(C)参照)である。
For example, if you use the above position counter and movement amount counter as counters, move the lens to the right, set the position counter to 0 at point b, and use the movement amount counter to move the lens a little further to the right. Then, move the lens to the left (until the phototransistor output becomes stable) and read the contents of the position counter when the lens reaches point f. The counted value of the position counter at this time is the hysteresis amount M (see FIG. 1(C)).

以後レンズを目的位置まで移動させるときは、レンズを
右方向に移動させるときb点で校正を行い、レンズを左
方向に移動させるときにはf点でヒステリシス量Mを減
算の上校正を行う。これによってレンズが左右どちらの
方向に移動する場合であってもホームポジションHPを
通過するときにカウンタの計数値の校正を行うことがで
きる。
Thereafter, when moving the lens to the target position, calibration is performed at point b when moving the lens to the right, and calibration is performed by subtracting the hysteresis amount M at point f when moving the lens to the left. As a result, even when the lens moves in either the left or right direction, the count value of the counter can be calibrated when passing the home position HP.

上記のようにこの発明によれば、ホームポジション検出
装置のヒステリシス量を予め求めてメモリに記憶してお
くことにより、ヒステリシス量が問題となる方向にレン
ズが移動する場合にはそのヒステリシス量に応じてレン
ズ位置の校正を行うことができるため、レンズが左右ど
ちらの方向に移動する場合であってもホームポジション
でカウンタ計数値の校正を行うことができ、常に正しい
位置にレンズを停止させることができる。
As described above, according to the present invention, by determining the hysteresis amount of the home position detection device in advance and storing it in the memory, when the lens moves in a direction where the hysteresis amount becomes a problem, the hysteresis amount is determined according to the hysteresis amount. The counter count value can be calibrated at the home position regardless of whether the lens moves left or right, and the lens can always be stopped at the correct position. can.

〈実施例〉 第2図はこの発明に係るレンズ位置制御方法が実施され
るズーム複写機レンズ駆動部の概略平面図である。図示
しない光源によって照射された原稿からの反射光は光軸
Pに沿ってレンズユニット1に入射し、光通過用切欠き
部が形成されている光学台板2を介して固定ミラー3で
反射され図示しない感光体ドラムに導かれる。レンズユ
ニット1は光軸Pに垂直に位置するアーム4に固定され
、アーム4の一端は光軸Pに水平に配置されている軸5
に摺動自在に支持されている。また前記アーム4の一端
はワイヤ6の一部に固定され、ワイヤ6はプーリー7〜
9に張架されている。さらにプーリー9はステンピング
モータであるレンズモータ10の減速機構11に連結さ
れている。アーム4の他端には光軸Pに平行で固定ミラ
ー3方向に伸長しているレンズ位置検出プレート12の
一端が固定されている。このレンズ位置検出プレート1
2の伸長方向には、ホームポジションセンサLHPSが
配置されている。このホームポジションセンサLHPS
は、中央部にレンズ位置検出プレート12が通過する凹
部を備えた受光素子(フォトトランジスタ)と発光素子
(LED)とからなる光学センサで構成されている。こ
の凹部にレンズ位置検出プレート12が位置していると
オン状態になる。センサLHPSの出力はシュミ・ノド
トリガ回路(図示せず)に入力され、ここで第1図(C
)に示すような出力電圧に変換される。第1図(C)の
b点の位置がレンズのホームポジションである。なお、
光軸Pに平行に複写機本体の両側に軸13.14が設定
され、ミラー、ベース15の両端部はこの軸13.14
が摺動自在に支持されている。ミラーベース15は原稿
走査時に原稿からの反射光を受光するミラーを固定し、
図示しない光源を固定した他のミラーベースとともに原
稿走査時に軸13.14に沿って往復動する。
<Embodiment> FIG. 2 is a schematic plan view of a zoom copying machine lens drive section in which the lens position control method according to the present invention is implemented. Reflected light from the document illuminated by a light source (not shown) enters the lens unit 1 along the optical axis P, and is reflected by the fixed mirror 3 via the optical base plate 2 in which a cutout for light passage is formed. It is guided to a photoreceptor drum (not shown). The lens unit 1 is fixed to an arm 4 located perpendicular to the optical axis P, and one end of the arm 4 is attached to a shaft 5 located horizontally to the optical axis P.
It is slidably supported. Further, one end of the arm 4 is fixed to a part of a wire 6, and the wire 6 is connected to a pulley 7.
It is hung at 9. Further, the pulley 9 is connected to a speed reduction mechanism 11 of a lens motor 10, which is a stamping motor. One end of a lens position detection plate 12, which is parallel to the optical axis P and extends in the direction of the fixed mirror 3, is fixed to the other end of the arm 4. This lens position detection plate 1
A home position sensor LHPS is arranged in the extending direction of 2. This home position sensor LHPS
is composed of an optical sensor consisting of a light receiving element (phototransistor) and a light emitting element (LED), which has a recess in the center through which the lens position detection plate 12 passes. When the lens position detection plate 12 is located in this recessed portion, the lens is turned on. The output of the sensor LHPS is input to a Schmi-node trigger circuit (not shown), where it is connected to the circuit shown in FIG.
) is converted to an output voltage as shown in The position of point b in FIG. 1(C) is the home position of the lens. In addition,
Axes 13.14 are set on both sides of the copying machine body parallel to the optical axis P, and both ends of the mirror and base 15 are aligned with this axis 13.14.
is slidably supported. The mirror base 15 fixes a mirror that receives reflected light from the original when scanning the original.
Together with another mirror base to which a light source (not shown) is fixed, it reciprocates along axes 13 and 14 during document scanning.

第3図は制御部の概略ブロック図である、本実施例での
複写機は制御部がマスターCPU(、MCPU)50と
スレイブCPU (SCPU)51とで構成されている
。MCPU50は5CPU51に対してレンズイニシャ
ルコマンドやレンズ移動コマンドを送り、5CPU51
はMCPU50に対してスティタス等を送る。MCPU
50は入力キー1各種センサ等から信号を受け、ROM
52に予め規定されているプログラムに従って5CPU
51に対してコマンド送出、5CPU51からのスティ
タス受信、各種ソレノイド、メインモータ等の制御を行
う。5CPU51はMCPU50から送出されたコマン
ドを受けてROM53に予め規定されているプログラム
に従って、ホームポジションセンサLHPSからの信号
をシュミットトリガ回路を介して受け、レンズモータ1
0に対して駆動パルスを送る。また所定の動作を行った
後、MCPU50に対してスティタス等を送信する。さ
らに5CPU51はレンズのホームポジション(b点)
に対する現在位置を示す位置カウンタと、現在位置に対
する目的位置までの移動量を示す移動量カウンタとを内
部のRAMに割り当てている。
FIG. 3 is a schematic block diagram of the control section. The control section of the copying machine in this embodiment is composed of a master CPU (MCPU) 50 and a slave CPU (SCPU) 51. The MCPU 50 sends lens initial commands and lens movement commands to the 5 CPU 51.
sends status etc. to the MCPU 50. MCPU
50 receives signals from input key 1 various sensors, etc., and inputs the ROM
5 CPU according to the program predefined in 52
It sends commands to the CPU 51, receives status from the CPU 51, and controls various solenoids, main motors, etc. Upon receiving the command sent from the MCPU 50, the 5CPU 51 receives a signal from the home position sensor LHPS via the Schmitt trigger circuit, and operates the lens motor 1 according to a program predefined in the ROM 53.
Send a drive pulse to 0. Further, after performing a predetermined operation, it transmits status and the like to the MCPU 50. Furthermore, 5CPU51 is at the home position of the lens (point b)
A position counter indicating the current position relative to the target position and a movement amount counter indicating the movement distance from the current position to the destination position are allocated to the internal RAM.

次に上記制御部の5CPUの動作を第4図を参照して説
明する。第4図は5CPUのレンズ位置制御動作を示す
フローチャートである。
Next, the operation of the five CPUs of the control section will be explained with reference to FIG. FIG. 4 is a flowchart showing the lens position control operation of the 5 CPUs.

電源がオンするとステップnl(ステップniを単にn
iという)にてシュミットトリガS下出力がオン状態に
あるかオフ状態にあるかを判定する。シュミットトリガ
STがオン状態にある時は第1図(C)においてレンズ
位置検出プレート1がb点より右側に位置している時で
ある。この状態にある時nl−+n2と進み、パルスモ
ータMTを左回転させる。シュミットトリガS下出力が
オフした時即ちf点に到達したときn3に進む。ここで
はカウンタC2に予め定めた負の値−N1を設定する。
When the power is turned on, step nl (step ni is simply n)
i), it is determined whether the Schmitt trigger S lower output is in the on state or the off state. When the Schmitt trigger ST is in the on state, the lens position detection plate 1 is located to the right of point b in FIG. 1(C). In this state, the process progresses to nl-+n2 and the pulse motor MT is rotated to the left. When the Schmitt trigger S lower output turns off, that is, when point f is reached, the process proceeds to n3. Here, a predetermined negative value -N1 is set in the counter C2.

負の値−N1はレンズ位置検出プレート12をf点から
さらに左側に移動させてセンサLHPS出力を完全な“
L”にするために充分な大きさの値である。カウンタC
2は現在位置から目的位置までの移動量カウンタを構成
している。
A negative value -N1 moves the lens position detection plate 12 further to the left from point f to completely change the sensor LHPS output.
This is a value large enough to make the counter C
2 constitutes a movement amount counter from the current position to the destination position.

n4でモータMTの左回転を継続し、駆動パルスPの立
ち下がり時点でカウンタC2に1を加算し、n5でカウ
ンタC2がOになるのを判断するまで左回転を継続する
At n4, the motor MT continues to rotate to the left, and when the drive pulse P falls, 1 is added to the counter C2, and at n5, the motor MT continues to rotate to the left until it is determined that the counter C2 becomes O.

nlでシュミットトリガ出力がすでにオフ状態にあると
きまたは上記のn2〜n5の動作によってシュミ・ノド
トリガ出力がオフになったときn6に進んでモータMT
の右回転を開始する。シュミットトリガSTの出力がオ
ン状態になるまで右回転を継続する。即ちb点に達する
までモータMTの右回転を継続する。b点に達するとn
lにおいてカウンタC1を10”に設定し、又カウンタ
C2に正の値Nlを設定する。カウンタC1はb点に対
する現在位置を表す。本実施例ではb点がホームポジシ
ョンである。カウンタC2に設定する正の値Nlは、上
記n3と同様にLHPS出力が完全な“H”になるまで
レンズ位置検出プレート1を移動させるに充分な大きさ
の値である。続いてn8で右回転を継続し駆動パルスP
の立ち下がり毎にカウンタC1に1を加算し、カウンタ
C2から1を減じる。n9でカウンタc2の値が0にな
ったことを検出したとき、即ち右側に充分移動してレン
ズ位置検出プレート12がフォトトランジスタ20を完
全に覆ったときnlOに進む。
When the Schmitt trigger output is already in the OFF state at nl, or when the Schmitt trigger output is turned off by the operations in n2 to n5 above, proceed to n6 and set the motor MT.
Starts clockwise rotation. Continue clockwise rotation until the output of Schmitt trigger ST turns on. That is, the motor MT continues to rotate clockwise until it reaches point b. When reaching point b, n
1, the counter C1 is set to 10", and the counter C2 is set to a positive value Nl. The counter C1 represents the current position with respect to point b. In this embodiment, point b is the home position. Set in counter C2. The positive value Nl is large enough to move the lens position detection plate 1 until the LHPS output becomes completely "H", as in n3 above.Next, clockwise rotation is continued at n8. Drive pulse P
At each falling edge, 1 is added to the counter C1 and 1 is subtracted from the counter C2. When it is detected at n9 that the value of the counter c2 has become 0, that is, when the lens position detection plate 12 completely covers the phototransistor 20 by moving sufficiently to the right, the process proceeds to nlO.

ntoではモータを左回転させシュミットトリガS下出
力がオフするまで即ちf点に達するまでlステップずつ
移動させる。f点に達するとn11においてぞの時のカ
ウンタC1の計数値を5cPU51内のRAMの所定の
領域に記憶する。n11でのカウンタC1の計数値はヒ
ステリシス量となる。卯ちレンズ検出プレート12を以
上のようにしてホームポジション前後に往復動させるこ
とにより、b点をホームポジションとした場合のシュミ
ットトリガSTのヒステリシス量がメモリに記憶される
ことになる。次にn12でモータMTを再び右回転させ
n13でシュミットトリガS下出力がオンした時点で、
即ちb点に達した時点でn14に進みモータMTを停止
する。b点では上記n7の処理によって位置カウンタC
1が“0”でなければならないから、n15でこれをチ
ェックし、“0”になっていることを確認できればn1
6の待機ルーチンに移る。もし位置カウンタC1の計数
値が“O”でなければn8〜n13の位置校正にずれが
生じたことになるから再びn2からの校正をおこなう。
At nto, the motor is rotated to the left and moved one step at a time until the Schmitt trigger S lower output is turned off, that is, until the point f is reached. When the point f is reached, the count value of the counter C1 at that time is stored in a predetermined area of the RAM in the 5cPU 51 at n11. The count value of the counter C1 at n11 becomes the amount of hysteresis. By reciprocating the Uchi lens detection plate 12 back and forth to the home position as described above, the amount of hysteresis of the Schmitt trigger ST when point b is set as the home position is stored in the memory. Next, rotate the motor MT clockwise again at n12, and when the Schmitt trigger S lower output turns on at n13,
That is, when point b is reached, the process proceeds to n14 and the motor MT is stopped. At point b, the position counter C is set by the process of n7 above.
1 must be “0”, so check this with n15 and if you can confirm that it is “0”, n1
The process moves to the standby routine of step 6. If the count value of the position counter C1 is not "O", it means that a deviation has occurred in the position calibration of n8 to n13, so the calibration is performed again starting from n2.

n16ではMCPU50から倍率信号SMが送られてく
るのを待っており、信号SMが送られて(るとその倍率
に対応したレンズ位置N2をROM53に予め記憶され
ているリストから読みだす。n17では移動量カウンタ
C2に目的のレンズ位置N2から位置カウンタC1の内
容を減じたものを設定する。最初は位置カウンタC1が
“O”であるから移動量カウンタC2の内容は目的レン
ズ位置N2に等しい。n1Bでは移動量カウンタC2に
入れられた移動量が正(右回転)か負(左回転)かを判
定している。正の場合はn19に進んで右回転させ駆動
パルスごとに移動量カウンタC2から1を減算し位置カ
ウンタC1に1を加算する。n20では移動中にシュミ
ットトリガS下出力がオンするかどうかを、即ちb点を
通過するかどうかを判定している。通過した場合にはn
21で移動量カウンタC2に目的レンズ位置N2を設定
し、また位置カウンタC1に“0”を設定してカウンタ
の校正を行う。この時点でもしn19での移動中に誤差
が生じたとしても校正が行われることになる。n22で
移動量カウンタC2が“0”になったかどうかを判定す
る。即ち目標レンズ位置に到達したかどうかを判定する
。“O”であればn23でMCPU50に対しレンズ移
動完了信号SLを送信しモータMTを停止させた後n1
6の待機ルーチンに戻る。
At n16, the system waits for the magnification signal SM to be sent from the MCPU 50, and when the signal SM is sent (then, the lens position N2 corresponding to the magnification is read out from the list stored in advance in the ROM 53. At n17, The movement amount counter C2 is set to the value obtained by subtracting the contents of the position counter C1 from the target lens position N2.Initially, since the position counter C1 is "O", the contents of the movement amount counter C2 are equal to the target lens position N2. At n1B, it is determined whether the amount of movement entered in the amount of movement counter C2 is positive (rotation to the right) or negative (rotation to the left). If it is positive, the process proceeds to n19 and rotates to the right and the amount of movement is countered by the amount of movement counter C2 for each drive pulse. 1 is subtracted from , and 1 is added to the position counter C1. At n20, it is determined whether or not the Schmitt trigger S lower output is turned on during movement, that is, whether or not the point b is passed.If it is passed, n
At step 21, the target lens position N2 is set in the movement amount counter C2, and "0" is set in the position counter C1 to calibrate the counter. At this point, even if an error occurs during movement at n19, calibration will be performed. At n22, it is determined whether the movement amount counter C2 has reached "0". That is, it is determined whether the target lens position has been reached. If “O”, send a lens movement completion signal SL to the MCPU 50 at n23, stop the motor MT, and then n1
Return to the standby routine of step 6.

上記n18で移動量カウンタC2に入れられた移動量が
負(左回転)の場合はn24に進み、モータMTを左回
転させる。そして駆動パルスごとに移動量カウンタC2
に1を加算し位置カウンタciから1を減算する。また
移動中にf点を通過するかどうかをn25で判定し、通
過する場合はn26で移動量カウンタC2およびカウン
タC1の計数値を校正する。即ち移動量カウンタC2に
は目的レンズ位置N2からメモリに記憶されているヒス
テリシス量を減じたものを設定し、位置カウンタC1に
はヒステリシス量を設定する。これによってホームポジ
ション(b点)を基準にした校正が行われる。以下n2
2で上記と同様に移動量カウンタC2の計数値が“0”
になったかどうかを判定し“O”になった時点でn23
に進む。
If the amount of movement entered in the movement amount counter C2 at n18 is negative (rotation to the left), the process proceeds to n24 and the motor MT is rotated to the left. Then, for each driving pulse, the movement amount counter C2
1 is added to the position counter ci, and 1 is subtracted from the position counter ci. Also, it is determined at n25 whether or not the point f is passed during the movement, and if the point is passed, the counts of the movement amount counter C2 and the counter C1 are calibrated at n26. That is, the movement amount counter C2 is set to the target lens position N2 minus the hysteresis amount stored in the memory, and the position counter C1 is set to the hysteresis amount. As a result, calibration is performed using the home position (point b) as a reference. Below n2
2, the count value of the movement amount counter C2 is "0" as above.
n23 when it becomes “O”.
Proceed to.

以上の動作によってb点をホームポジションに設定した
場合に、レンズ位置検出プレート12が左側に移動する
場合であっても、1点に到達した時にメモリに記憶して
いるヒステリシス量を位置カウンタC1に設定すること
によって位置校正を行うことができる。なお、待機ルー
チンn16に入るとn30でタイマーTを設定し、所定
時間T0を越えるとn2に戻るようになっている。即ち
複写機にカセットを装着したりジャムの取り除きなどを
行うときに大きな振動が発生する場合があるが、このよ
うな場合に位置カウンタC1の計数値がずれを起こして
いることがあるので、このルーチンによって定期的にn
2124下の動作で位置を校正するとともに等倍位置に
復帰させるようにしている。
When point b is set as the home position by the above operation, even if the lens position detection plate 12 moves to the left, when it reaches one point, the hysteresis amount stored in the memory is set to the position counter C1. Position calibration can be performed by setting. In addition, when entering the standby routine n16, a timer T is set at n30, and when a predetermined time T0 is exceeded, the process returns to n2. In other words, large vibrations may occur when loading a cassette into a copying machine or removing a jam.In such cases, the count value of the position counter C1 may deviate. regularly by routine
The operation below 2124 calibrates the position and returns it to the same magnification position.

本実施例ではHP検出センサとしてフォトトランジスタ
とLEDとの組合わせからなる光検出センサを使用した
が、磁気センサやマイクロスイッチ、リードスイッチな
どを使用した場合にも本発明は通用できる。またHP検
出センサを複数個使用できる場合があるが、そのような
場合にもそれぞれの位置で本発明を適用できるのは勿論
である。さらに、本実施例では第1図のb点をホームポ
ジションとして、レンズが左方向に移動するときに1点
で移動量カウンタC2からヒステリシス量を減するよう
にしたが、f点をホームポジションとするときには、レ
ンズが右方向に移動するときにb点で移動量カウンタC
2からヒステリシス量を減するようにする。
In this embodiment, a photodetection sensor consisting of a combination of a phototransistor and an LED was used as the HP detection sensor, but the present invention can also be applied to the case where a magnetic sensor, a microswitch, a reed switch, etc. are used. Further, there are cases where a plurality of HP detection sensors can be used, and it goes without saying that the present invention can be applied to each position in such a case as well. Furthermore, in this embodiment, the point b in FIG. 1 is set as the home position, and when the lens moves to the left, the hysteresis amount is decremented from the movement amount counter C2 at one point, but the point f is set as the home position. When the lens moves to the right, the movement amount counter C is set at point b.
The amount of hysteresis is decreased from 2.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(A)〜(C)はヒステリシス特性のある検出装
置の作用と本発明の詳細な説明する図である。第2図は
本発明の方法が実施されるズーム複写機レンズ駆動部の
概略平面図、第3図は制御部の概略ブロック図、第4図
(A)、  (B)は本発明の方法を実施する5CPU
の動作を示すフローチャートである。 1−レンズユニット、 IO−レンズモータ(ステッピングモータ)、LHPS
−ホームポジションセンサ、 12−レンズ位置検出プレート、 ST−シュミットトリガ回路。
FIGS. 1A to 1C are diagrams illustrating in detail the operation of a detection device having hysteresis characteristics and the present invention. FIG. 2 is a schematic plan view of a zoom copying machine lens drive section in which the method of the present invention is implemented, FIG. 3 is a schematic block diagram of the control section, and FIGS. 5 CPUs to implement
3 is a flowchart showing the operation of FIG. 1-Lens unit, IO-Lens motor (stepping motor), LHPS
-Home position sensor, 12-Lens position detection plate, ST-Schmitt trigger circuit.

Claims (1)

【特許請求の範囲】[Claims] (1)レンズの移動をステッピングモータで行い、レン
ズ移動量および位置をカウンタの計数値で得るとともに
、ホームポジション検出をヒステリシス特性のある検出
装置で行い、そのホームポジション検出時にレンズ位置
の校正を行うレンズ位置制御方法において、 電源オン後にレンズをホームポジション前後に往復動さ
せて前記検出装置のヒステリシスを求めて記憶しておき
、 レンズを目的位置まで移動させるときの移動方向が特定
の方向であるとき、レンズ位置の校正時にそのヒステリ
シス量に応じたレンズ位置の校正を行うことを特徴する
レンズ位置制御方法。
(1) The lens is moved by a stepping motor, the lens movement amount and position are obtained from the count value of a counter, and the home position is detected by a detection device with hysteresis characteristics, and the lens position is calibrated when the home position is detected. In the lens position control method, the hysteresis of the detection device is determined and stored by reciprocating the lens back and forth to the home position after the power is turned on, and when the direction of movement when moving the lens to the target position is a specific direction. A lens position control method characterized in that, when calibrating the lens position, the lens position is calibrated according to the amount of hysteresis.
JP59238787A 1984-11-12 1984-11-12 Lens position control method Expired - Lifetime JPH06100773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59238787A JPH06100773B2 (en) 1984-11-12 1984-11-12 Lens position control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59238787A JPH06100773B2 (en) 1984-11-12 1984-11-12 Lens position control method

Publications (2)

Publication Number Publication Date
JPS61116342A true JPS61116342A (en) 1986-06-03
JPH06100773B2 JPH06100773B2 (en) 1994-12-12

Family

ID=17035273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59238787A Expired - Lifetime JPH06100773B2 (en) 1984-11-12 1984-11-12 Lens position control method

Country Status (1)

Country Link
JP (1) JPH06100773B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63312873A (en) * 1987-06-16 1988-12-21 Nabitasu Kk Width direction alignment of belt-shaped film
JPH01120160U (en) * 1988-02-05 1989-08-15
JPH0210534U (en) * 1988-07-04 1990-01-23
FR2689628A1 (en) * 1992-04-02 1993-10-08 Bosch Gmbh Robert Method for determining a reference position, in particular in correlation with a memory position, for example when moving a mirror.
JP2006064828A (en) * 2004-08-25 2006-03-09 Matsushita Electric Ind Co Ltd Lens drive unit, moving body drive unit, and reference position detecting method
WO2022014366A1 (en) * 2020-07-17 2022-01-20 ソニーグループ株式会社 Endoscope system, endoscope control method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57150845U (en) * 1981-03-19 1982-09-21
JPS60156052A (en) * 1984-01-25 1985-08-16 Canon Inc Variable power projecting device of original image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57150845U (en) * 1981-03-19 1982-09-21
JPS60156052A (en) * 1984-01-25 1985-08-16 Canon Inc Variable power projecting device of original image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63312873A (en) * 1987-06-16 1988-12-21 Nabitasu Kk Width direction alignment of belt-shaped film
JPH01120160U (en) * 1988-02-05 1989-08-15
JPH0210534U (en) * 1988-07-04 1990-01-23
FR2689628A1 (en) * 1992-04-02 1993-10-08 Bosch Gmbh Robert Method for determining a reference position, in particular in correlation with a memory position, for example when moving a mirror.
JP2006064828A (en) * 2004-08-25 2006-03-09 Matsushita Electric Ind Co Ltd Lens drive unit, moving body drive unit, and reference position detecting method
JP4518872B2 (en) * 2004-08-25 2010-08-04 パナソニック株式会社 Lens driving device, moving body driving device, and reference position detection method
WO2022014366A1 (en) * 2020-07-17 2022-01-20 ソニーグループ株式会社 Endoscope system, endoscope control method, and program

Also Published As

Publication number Publication date
JPH06100773B2 (en) 1994-12-12

Similar Documents

Publication Publication Date Title
US4295715A (en) Camera mechanism employing a multifunction control member
JPS61116342A (en) Controlling method of lens position
JP2794595B2 (en) Electric focusing device
KR960000556Y1 (en) Position sensing device
JPS6219729B2 (en)
US4514080A (en) Apparatus for controlling optical system for copying machine
EP0202828B1 (en) Focal length switching type camera
EP0301849B1 (en) Method for controlling lens of image forming apparatus
US5225688A (en) Original and original size detecting device
US5600397A (en) Automatic focusing device
US5034768A (en) Automatic focusing device for a camera
US5319498A (en) Moving object extension controller
US4554674A (en) Apparatus for detecting the amount of movement of a member to be controlled
JPH0875987A (en) Range-finding device and automatic focusing device of camera
JPH04237008A (en) Camera system
JPH01232313A (en) Automatic focusing device for camera
US4647191A (en) Method of controlling a lens stop position
JP2891355B2 (en) Displacement conversion system
US5915137A (en) Film feed device capable of accurately aligning film by using one perforation sensor
JPH0749455Y2 (en) Camera with automatic focus adjustment device
JP2002072049A (en) Lens drive controller
JPH06118514A (en) Lens position controller
JPH0511552Y2 (en)
JPH07104394A (en) Optical device
JPH07295023A (en) Diaphragm controller for camera