JPH0457039A - Pulse encoder signal processing circuit - Google Patents

Pulse encoder signal processing circuit

Info

Publication number
JPH0457039A
JPH0457039A JP17071190A JP17071190A JPH0457039A JP H0457039 A JPH0457039 A JP H0457039A JP 17071190 A JP17071190 A JP 17071190A JP 17071190 A JP17071190 A JP 17071190A JP H0457039 A JPH0457039 A JP H0457039A
Authority
JP
Japan
Prior art keywords
motor
pulse encoder
pulse
waveform shaping
signal processing
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
JP17071190A
Other languages
Japanese (ja)
Other versions
JP2929674B2 (en
Inventor
Takeshi Hashimoto
健 橋本
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP17071190A priority Critical patent/JP2929674B2/en
Publication of JPH0457039A publication Critical patent/JPH0457039A/en
Application granted granted Critical
Publication of JP2929674B2 publication Critical patent/JP2929674B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Exposure Control For Cameras (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To execute the signal processing corresponding to a difference of characteristics of the respective photointerrupters by connecting selectively plural photointerrupters to one waveform shaping circuit, and also, switching the signal input gain of the waveform shaping circuit. CONSTITUTION:A CPU (2), first of all, selects a motor to be driven by motor selecting signals (MSL0, MSL1), and subsequently, executes the driving control by motor control signals (MCW, MCCW). That is, by a state of the motor selecting signals (MSL0, MSL1), a multiplexer (13) switches the motor control signals (MCW, MCCW) to one of motor driving amplifiers (14a, 14b, 14c), a pulse encoder selecting circuit (12) sets a photointerrupter (one of 31a, 31b and 31c) corresponding to a motor to be driven (one of 32a, 32b and 32c) to an active state, and also, a waveform shaping circuit (11) sets an input gain corresponding to the photointerrupter set to the active state.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、アクチュエーター、或は、アクチュエーター
により駆動されるメカ部材の変位量をモニターするパル
スエンコーダーの信号処理回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a signal processing circuit for a pulse encoder that monitors the amount of displacement of an actuator or a mechanical member driven by the actuator.

[従来の技術1 従来、カメラを始めメカトロニクスの分野におけるメカ
制御、特に位置制御のための変位センサーとしては様々
なものが用いられている。中でも、高分解能、高信頼性
、低コスト、小サイズ等の数多くの理由からフォトイン
クラブター(以下。
[Prior Art 1] Conventionally, various displacement sensors have been used for mechanical control, particularly position control, in the field of mechatronics, including cameras. Among them, photo ink converters (hereinafter referred to as "photo ink converters") are used for many reasons such as high resolution, high reliability, low cost, and small size.

フォトインクラブター、及びフォトリフレクタ−を総称
してフォトインクラブターと呼ぶ)が最もよ(用いられ
ている。
Photo ink lathers and photo reflectors are collectively called photo ink lathers and are most commonly used.

さて、このフォトインクラブターは型式が異なると、半
導体素子特性の他、光学センサーであるために、ザイズ
、形状、スリット幅等の物理的な寸法の違いにより、電
気特性上非常に大きな違いを生ずる。従って、複数のフ
ォトインタラプタを用いる際には、個々のフォトインタ
ラプタ−に対し入力ゲイン等を異ならせた別々の波形整
形回路を設けていた。
Now, different models of this photo ink clubter have very large differences in electrical characteristics due to differences in semiconductor element characteristics and physical dimensions such as size, shape, and slit width since they are optical sensors. arise. Therefore, when using a plurality of photointerrupters, separate waveform shaping circuits with different input gains and the like are provided for each photointerrupter.

[発明が解決しようとする問題点] しかしながら、個々のフォトインクラブターに対し別々
の波形整形回路を設けると、回路規模が太き(なるほか
、信号線の本数が増え配線が複雑になるなどフォトイン
クラブターの持つ数多くの長所を打ち消してしまいかね
ない。
[Problems to be Solved by the Invention] However, if a separate waveform shaping circuit is provided for each photoinclutter, the circuit scale becomes large (in addition, the number of signal lines increases, making the wiring complicated, etc.) This could negate many of the advantages of photo ink printers.

[発明の目的] そこで本発明の目的は、従来の欠点を解消し、フォトイ
ンタラプタ−の長所を生かしたまま、複数のフォトイン
クラブターを用いながらも構成が簡単で、回路規模の大
きくならないパルスエンコーダー信号処理回路を提供す
ることにある。
[Objective of the Invention] Therefore, the object of the present invention is to solve the drawbacks of the conventional photointerrupter and to create a pulse generator that uses a plurality of photointerrupters but has a simple configuration and does not increase the circuit size. An object of the present invention is to provide an encoder signal processing circuit.

[問題点を解決するための手段] さて、カメラ等、電池を電源とするメカトロニクス機器
では、電池性能上の問題から複数のアクチュエーターを
同時に駆動することは少なく、従って、波形整形回路も
同時に動作することはほとんどない。
[Means for solving the problem] In mechatronic devices such as cameras that are powered by batteries, it is rare to drive multiple actuators at the same time due to battery performance issues, and therefore the waveform shaping circuits also operate at the same time. Very rarely.

本発明はこの点に着目し、ひとつの波形整形回路に複数
のフォトインクラブターを選択的に接続し、さらに、選
択されたフォトインタラプタ−に応じて、上記波形整形
回路の信号入力ゲインを切り替えることにより、それぞ
れのフォトインタラプタ−の特性の違いに対応した信号
処理を行うことを特徴とする6のである。
Focusing on this point, the present invention selectively connects a plurality of photointerrupters to one waveform shaping circuit, and further switches the signal input gain of the waveform shaping circuit according to the selected photointerrupter. Accordingly, signal processing corresponding to the difference in characteristics of each photointerrupter is performed.

[実 施 例] 第1図は、本発明の実施例であるパルスエンコーダー信
号処理回路を含む制御システムのブロック図である。
[Embodiment] FIG. 1 is a block diagram of a control system including a pulse encoder signal processing circuit according to an embodiment of the present invention.

インターフェース部(1)は、太き(は、パルスエンコ
ーダー信号処理回路とモータードライバー回路から構成
され、文字通り、CPU (2)とメカ部(3A、3B
、3G)とのインターフェースを取り成す。
The interface section (1) consists of a pulse encoder signal processing circuit and a motor driver circuit, and literally connects the CPU (2) and the mechanical section (3A, 3B).
, 3G).

さらに、パルスエンコーダー信号処理回路は波形整形回
路(11)とパルスエンコーダー選択回路(12)から
、また、モータードライバー回路はマルチプレクサ(1
3)とモーター駆動アンプ(14a、14b、14.0
)からなる。
Furthermore, the pulse encoder signal processing circuit is connected to the waveform shaping circuit (11) and the pulse encoder selection circuit (12), and the motor driver circuit is connected to the multiplexer (12).
3) and motor drive amplifier (14a, 14b, 14.0
).

第1のメカ部(3A)は、上記モーター駆動アンプ(1
4a)により駆動される第1のモータ(32a)と、そ
の変位量をモニターする第1のフォトインタラプタ−(
31a)とからなる。第2、第3のメカ部も同様に構成
される。
The first mechanical section (3A) includes the motor drive amplifier (1
4a), and a first photointerrupter (32a) that monitors the amount of displacement of the first motor (32a).
31a). The second and third mechanical parts are similarly configured.

3個のフォトインタラプタ−(31a、31b、31c
)の、フォトトランジスタのコレクタ及びLEDのアノ
ードは、それぞれ共通配線されており、前者は波形整形
回路(11)の入力へ、後者は電流制限抵抗(R31)
を介して電源へ接続されている。また、個々のフォトト
ランジスタのエミッタとLEDのカソードとは結ばれ、
パルスエンコーダー選択回路(12)の出力へ接続され
ている。
Three photo interrupters (31a, 31b, 31c
), the collector of the phototransistor and the anode of the LED are wired in common, the former being connected to the input of the waveform shaping circuit (11), and the latter being connected to the current limiting resistor (R31).
connected to the power supply via. In addition, the emitter of each phototransistor and the cathode of the LED are connected,
It is connected to the output of the pulse encoder selection circuit (12).

インターフェース部(1)とCPU (2)との間は、
モーター選択信号(MSLO,MSL 1)。
Between the interface section (1) and the CPU (2),
Motor selection signal (MSLO, MSL 1).

モーター制御信号(MCW、MCCW) 、及び上記波
形整形回路(11)の出力であるパルス信号(PLS)
により結ばれている。
Motor control signals (MCW, MCCW) and a pulse signal (PLS) that is the output of the waveform shaping circuit (11)
are connected by.

さて、上記構成においてCPU (2)は、まずモータ
ー選択信号(MSLO,MSL 1 )で駆動すべきモ
ーターを選択し、次にモーター制御信号(MCW、MC
CW)により駆動制御を行う。つまり、モーター選択信
号(MSLO,MSL 1)の状態により、マルチプレ
クサ(13)はモーター制御信−Pf(MCW、MCC
W)をモーター駆動アンプ(14a、14b、14C)
のいずれか1つへスイッチングし、パルスエンコーダー
選択回路(12〉は駆動すべきモーターに対応するフォ
トインクラブターをアクティブ状態にし、さらに波形整
形回路く11)はアクティブ状態にされたフォトインタ
ラプタ−に応じた入力ゲインを設定する。このファンク
ションの真理値表を第1表に示す。
Now, in the above configuration, the CPU (2) first selects the motor to be driven using the motor selection signals (MSLO, MSL 1 ), and then selects the motor to be driven using the motor control signals (MCW, MC
CW) to perform drive control. That is, depending on the state of the motor selection signal (MSLO, MSL 1), the multiplexer (13) outputs the motor control signal -Pf (MCW, MCC
W) to the motor drive amplifier (14a, 14b, 14C)
The pulse encoder selection circuit (12) activates the photointerrupter corresponding to the motor to be driven, and the waveform shaping circuit (11) activates the activated photointerrupter. Set the input gain accordingly. The truth table for this function is shown in Table 1.

第2図に、波形整形回路(11)の詳細な構成を示す。FIG. 2 shows the detailed configuration of the waveform shaping circuit (11).

特性を等しくしたトランジスタQl、Q2、G3、G4
はカレントミラー回路を構成し、バイアス電流源(C9
1、C32) 、アナログスイッチ(ASWl 、AS
W2.1sW3)及び、アナログスイッチ切り替えゲー
ト(G1.G2)と合わせて、入力ゲイン切り替え部を
構成する。そして。
Transistors Ql, Q2, G3, G4 with equal characteristics
constitutes a current mirror circuit, and the bias current source (C9
1, C32), analog switch (ASWl, AS
W2.1sW3) and the analog switch switching gate (G1.G2) constitute an input gain switching section. and.

この入力ゲイン切り替えは、上記モーター選択信号(M
SLOlM、S L 1 )の状態によって自動的に行
われる。つまり、モーター選択信号(MSLOlMSL
 1 )により選択されたモーターに対応するフォトイ
ンタラプタ−の、出力レベルに応じた入力ゲインに設定
される。因みに、この入力ゲインは、後に説明する電流
電圧変換部で変換された電圧が、回路の電源電圧に対し
余裕を持ち、且つ最大になる様に設定されるのが普通で
ある。
This input gain switching is performed using the motor selection signal (M
This is done automatically depending on the state of SLOIM, S L 1 ). In other words, the motor selection signal (MSLOlMSL
1) The input gain is set according to the output level of the photointerrupter corresponding to the selected motor. Incidentally, this input gain is normally set so that the voltage converted by the current-voltage converter, which will be described later, has a margin with respect to the power supply voltage of the circuit and is maximized.

さて、例えば第1のモーター選択信号(MSLO)が「
L」、第2のモーター選択信号(MSLl)が「H」レ
ベルの時、個々のアナログスイッチは第2表に示す通り
ASW1=OFF、ASW2=ON、ASW3=OFF
となり、入力ゲインは Ql:(Q3+Q4)  =  1:2で、2倍となる
。従って、2倍に増幅された電流が、ダイオード(DI
、D2)、抵抗(R1)により構成される電流電圧変換
部に流れ込み、以後の波形整形部によりロジックレベル
のパルス信号(PLS)に変換される。尚、この波形整
形部は周知のAC検出型波形整形回路であり、詳細説明
は省略する。
Now, for example, if the first motor selection signal (MSLO) is
When the second motor selection signal (MSLl) is at the "H" level, the individual analog switches are ASW1=OFF, ASW2=ON, ASW3=OFF as shown in Table 2.
Therefore, the input gain is Ql:(Q3+Q4) = 1:2, which is twice the input gain. Therefore, the twice amplified current flows through the diode (DI
, D2), flows into a current-voltage converter formed by a resistor (R1), and is converted into a logic-level pulse signal (PLS) by a subsequent waveform shaping unit. Note that this waveform shaping section is a well-known AC detection type waveform shaping circuit, and detailed explanation thereof will be omitted.

また、モーター選択信号が上記組み合わせ以外の時、個
々のアナログスイッチは第2表に示す通りASW1=O
N、ASW2=OFF、ASW3ONとなり、入力ゲイ
ンは Ql:G2 = 1:1 で、1倍となる。
Also, when the motor selection signal is a combination other than the above, each analog switch is set to ASW1=O as shown in Table 2.
N, ASW2=OFF, ASW3ON, and the input gain is Ql:G2=1:1, which is 1x.

第1表 [発明の効果] 以上述べたにうに本発明によれば、複数のフォトインタ
ラプタ−を用いながらも構成が簡Qiで、回路規模の大
きくならないパルスエンコーダー信号処理回路な捉供す
ることができる。従って、フォトインクラブターの長所
を十分に生かしたまま低コストで分解能の高いシステム
を構築することが可能である。
Table 1 [Effects of the Invention] As described above, according to the present invention, it is possible to provide a pulse encoder signal processing circuit that uses a plurality of photointerrupters, has a simple Qi configuration, and does not increase the circuit scale. . Therefore, it is possible to construct a low-cost, high-resolution system while fully utilizing the advantages of the photoink clubter.

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

第1図は、本発明の実施例であるパルスエンコーダー信
−号処理回路を含む制御システムのブロック図、 第2図は、本発明の実施例であるパルスエン第2表 1・・・・・・・・・・・インターフェース部2・・・
・・−・・・・・・CPU 3A、3B、3C ・・・・・・・・・メカ部 11・・・・・・・・波形整形回路 12・・・・・・・・パルスエンコーダー選択回路13
・・・・・・・・・マルチプレクサ14、a、14b、
14. c ・・・・・・・・・モーター駆動アンプ31a、31b
、31c ・・・・・・・・・フォトインクラブター32a、32
 b 、、 32 c ・・・・・・・・・モーター 特許出願人 ミノルタカメラ株式会社
Fig. 1 is a block diagram of a control system including a pulse encoder signal processing circuit which is an embodiment of the present invention, and Fig. 2 is a block diagram of a control system including a pulse encoder signal processing circuit which is an embodiment of the present invention. ...Interface part 2...
......CPU 3A, 3B, 3C ......Mechanical section 11...Waveform shaping circuit 12...Pulse encoder selection circuit 13
......Multiplexer 14, a, 14b,
14. c...Motor drive amplifier 31a, 31b
, 31c...Photo ink converter 32a, 32
b ,, 32 c ...Motor patent applicant Minolta Camera Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] (1)複数のアクチュエーターと、これらのアクチュエ
ーター、或は、アクチュエーターにより駆動されるメカ
部材の変位量に応じたパルス列を発生する、複数のパル
スエンコーダーと、パルスエンコーダーからのパルス列
をロジック信号に変換する波形整形回路と、上記複数の
パルスエンコーダーの内、ひとつを選択的に上記波形整
形回路に接続するパルスエンコーダー選択回路と、から
なる、パルスエンコーダー信号処理回路。
(1) A plurality of actuators, a plurality of pulse encoders that generate a pulse train according to the amount of displacement of a mechanical member driven by these actuators, and a plurality of pulse encoders that convert the pulse train from the pulse encoder into a logic signal. A pulse encoder signal processing circuit comprising a waveform shaping circuit and a pulse encoder selection circuit selectively connecting one of the plurality of pulse encoders to the waveform shaping circuit.
(2)上記パルスエンコーダーは、フォトインタラプタ
ー、或は、フォトリフレクターであることを特徴とする
特許請求の範囲第1項記載のパルスエンコーダー信号処
理回路。
(2) The pulse encoder signal processing circuit according to claim 1, wherein the pulse encoder is a photo interrupter or a photo reflector.
(3)上記パルスエンコーダー選択回路は、上記アクチ
ュエーターの選択信号により、パルスエンコーダーを選
択することを特徴とする特許請求の範囲第1項記載のパ
ルスエンコーダー信号処理回路。
(3) The pulse encoder signal processing circuit according to claim 1, wherein the pulse encoder selection circuit selects the pulse encoder based on a selection signal from the actuator.
(4)上記波形整形回路は、上記アクチュエーターの選
択信号により、パルスエンコーダーからの信号入力ゲイ
ンを切り替え可能としたことを特徴とする特許請求の範
囲第1項記載のパルスエンコーダー信号処理回路。
(4) The pulse encoder signal processing circuit according to claim 1, wherein the waveform shaping circuit is capable of switching the signal input gain from the pulse encoder by a selection signal from the actuator.
JP17071190A 1990-06-27 1990-06-27 Pulse encoder signal processing circuit Expired - Fee Related JP2929674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17071190A JP2929674B2 (en) 1990-06-27 1990-06-27 Pulse encoder signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17071190A JP2929674B2 (en) 1990-06-27 1990-06-27 Pulse encoder signal processing circuit

Publications (2)

Publication Number Publication Date
JPH0457039A true JPH0457039A (en) 1992-02-24
JP2929674B2 JP2929674B2 (en) 1999-08-03

Family

ID=15909987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17071190A Expired - Fee Related JP2929674B2 (en) 1990-06-27 1990-06-27 Pulse encoder signal processing circuit

Country Status (1)

Country Link
JP (1) JP2929674B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022021416A1 (en) * 2020-07-31 2022-02-03 深圳市大疆创新科技有限公司 Electric motor control method, apparatus and system, and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022021416A1 (en) * 2020-07-31 2022-02-03 深圳市大疆创新科技有限公司 Electric motor control method, apparatus and system, and computer-readable storage medium

Also Published As

Publication number Publication date
JP2929674B2 (en) 1999-08-03

Similar Documents

Publication Publication Date Title
US10979050B2 (en) Input/output circuit
JPH0457039A (en) Pulse encoder signal processing circuit
JP2518393B2 (en) Voltage-current conversion circuit with output switching function
US4420716A (en) DC Motor control apparatus
JPS6017261B2 (en) Digital-analog conversion circuit
JP2908298B2 (en) Variable gain amplifier
JP2003348868A (en) Dynamic brake circuit
GB2060289A (en) Magnetically controllable electronic switch circuit
JPH0145048Y2 (en)
JP2531150B2 (en) Semiconductor integrated circuit
JP2700977B2 (en) Input stage for digital signals
JP2662397B2 (en) Drive control IC
KR100233985B1 (en) Overcurrent prevention circuit of motor drive circuit
JP2000350494A (en) Drive device for linear actuator
JP3368349B2 (en) Control equipment
JPH01309518A (en) D/a converter
JPH04132315A (en) D/a conversion circuit
JPH0514203A (en) Digital/analog conversion circuit
JPH05213293A (en) Power source system of bus voltage multistage changing-over for artificial satellite
JPH10336001A (en) Semiconductor relay
JPH01173921A (en) D/a converter
JPH03255718A (en) Switching circuit
JPS612409A (en) Amplifier circuit
JPH0635591A (en) Key input circuit
JP2003158893A (en) Motor controller for multiaxial robot

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090521

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees