JP2002340609A - Rotary encoder input detecting device - Google Patents

Rotary encoder input detecting device

Info

Publication number
JP2002340609A
JP2002340609A JP2001141228A JP2001141228A JP2002340609A JP 2002340609 A JP2002340609 A JP 2002340609A JP 2001141228 A JP2001141228 A JP 2001141228A JP 2001141228 A JP2001141228 A JP 2001141228A JP 2002340609 A JP2002340609 A JP 2002340609A
Authority
JP
Japan
Prior art keywords
microcomputer
input
rotary encoder
res
input terminal
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
JP2001141228A
Other languages
Japanese (ja)
Inventor
Masashi Yano
雅士 矢野
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 JP2001141228A priority Critical patent/JP2002340609A/en
Publication of JP2002340609A publication Critical patent/JP2002340609A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize the number of input terminals of a microcomputer with two input terminals regardless of the number of rotary encoders in a rotary encoder input detecting device. SOLUTION: This rotary encoder input detecting device has the input terminals A and B of microcomputer, having the function of discriminating an output signal by A/D conversion on the output signal from the rotary encoders (hereinafter referred to as RE), voltage dividing resistances R5 and R6 connected to the individual REs, and a microcomputer 1 for internally storing a constant corresponding to an output voltage value by the individual dividing resistances. Since the microcomputer can discriminate and determine which RE is operated by referentially comparing and determining the voltage value with an RE input voltage constant inside of the microcomputer simultaneously when executing the A/D conversion on the voltage value from the individual REs inputted to an A/D terminal of the microcomputer 1, even if an apparatus requires a large number of REs, the REs can be easily increased without increasing the input terminals for the REs.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は,電気電子機器,情
報機器,産業用機器等に於ける機器の機能設定や,情報
入力及び選択する際に用いる,ロータリーエンコーダー
の入力検知装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input detection device for a rotary encoder, which is used for function setting, information input, and selection of devices in electric / electronic devices, information devices, industrial devices, and the like. .

【0002】[0002]

【従来の技術】従来,この種のロータリーエンコーダー
(以下REと名称を略す)の入力装置として示すのが図
3である。
2. Description of the Related Art FIG. 3 shows an input device of a conventional rotary encoder (hereinafter abbreviated as RE).

【0003】図3に於いて,1はREからの出力信号を
検出し判定するマイコン,RE1はロータリーエンコー
ダー1,SW1AはRE1の信号接点,SW1BはSW
1Aと一対のREの信号接点,AはRE1のSW1Aか
らの信号入力端子,BはRE1のSW1Bからの信号入
力端子,R1とC1はSW1Aの接点開閉時の際に生じ
る尖頭ノイズを除去する抵抗とコンデンサ,R2とC2
はSW1Bの接点開閉時の尖頭ノイズを除去する抵抗と
コンデンサ,R3はマイコン1のA端子及びSW1Aの
プルダウン抵抗,R4はマイコン1のB端子及びSW1
Bのプルダウン抵抗である。
In FIG. 3, reference numeral 1 denotes a microcomputer which detects and determines an output signal from the RE, RE1 denotes a rotary encoder, SW1A denotes a signal contact of RE1, and SW1B denotes SW.
1A and a signal contact of a pair of REs, A is a signal input terminal of the RE1 from the SW1A, B is a signal input terminal of the RE1 from the SW1B, and R1 and C1 are used to remove spike noise generated when the contacts of the SW1A are opened and closed. Resistance and capacitor, R2 and C2
Is a resistor and a capacitor for removing peak noise when the contact of SW1B is opened and closed, R3 is an A terminal of the microcomputer 1 and a pull-down resistor of SW1A, and R4 is a B terminal and SW1 of the microcomputer 1.
B is a pull-down resistor.

【0004】更に同様に図3に於いて,RE2は前記の
RE1と同様のロータリーエンコーダー2,SW2Aは
RE2の信号接点,SW2BはSW2Aと一対のREの
信号接点,CはRE2のSW2Aからの信号入力端子,
DはRE2のSW2Bからの信号入力端子,R5とC3
はSW1Aの接点開閉時の際に生じる尖頭ノイズを除去
する抵抗とコンデンサ,R6とC4はSW1Bの接点開
閉時の尖頭ノイズを除去する抵抗とコンデンサ,R7は
マイコン1のC端子及びSW2Aのプルダウン抵抗,R
8はマイコン1のD端子及びSW2Bのプルダウン抵抗
である。
Similarly, in FIG. 3, RE2 is a rotary encoder similar to RE1 described above, SW2A is a signal contact of RE2, SW2B is a signal contact of SW2A and a pair of REs, and C is a signal from SW2A of RE2. Input terminal,
D is a signal input terminal from SW2B of RE2, R5 and C3
Is a resistor and a capacitor for removing the peak noise generated when the SW1A contacts are opened and closed, R6 and C4 are resistors and capacitors for removing the peak noise when the SW1B contacts are opened and closed, and R7 is the C terminal of the microcomputer 1 and the SW2A. Pull-down resistor, R
Reference numeral 8 denotes a D terminal of the microcomputer 1 and a pull-down resistor of SW2B.

【0005】[0005]

【発明が解決しようとする課題】しかしながら,前記従
来の構成では,一個のREに対しマイコンの入力端子は
2個づつ必要であり,複数個のREを配置する機器に於
いては,RE個数の2倍のマイコン入力端子が必要とな
り,限定されたマイコンの端子数の中で,多機能化及び
多入力判定を要求される機器になればなる程REの個数
分,マイコンの入出力端子が減少するという問題を有し
ていた。
However, in the above-described conventional configuration, two input terminals of the microcomputer are required for one RE, and in a device in which a plurality of REs are arranged, the number of REs is reduced. Double the number of microcontroller input terminals is required, and among the limited number of microcontroller terminals, the more multifunction and multi-input judgment devices are required, the more the number of REs reduces the number of microcontroller input / output terminals. Had the problem of doing so.

【0006】本発明は,前記従来の問題を解決するもの
で,一つのマイコンに複数個を有するREが設置された
としても,マイコンとしてのREの入力端子数は従来通
り,2つの入力端子で実現できるものとした,RE用の
入力装置を提供する事を目的とする。
The present invention solves the above-mentioned conventional problem. Even if a plurality of REs are installed in one microcomputer, the number of input terminals of the RE as the microcomputer is the same as in the conventional case, and two input terminals are required. An object of the present invention is to provide an input device for an RE that can be realized.

【0007】[0007]

【課題を解決するための手段】前記従来の課題を解決す
る為に,本発明のRE入力装置は,REからの出力信号
を検知し判定する一つのマイコンに対して,複数個分の
REからの出力をマイコンの入力端子毎にそれぞれ個別
に接続するのでは無く,RE毎に個別の電圧分割用抵抗
を設定し,RE毎に区分された個々のREからの出力電
圧を,マイコンのA/D入力(電圧アナログ値をデジタ
ル値に変換する)機能を有したマイコン入力端子に並列
に接続した構成としたものである。
In order to solve the above-mentioned conventional problems, an RE input device of the present invention uses a plurality of REs for one microcomputer to detect and determine an output signal from the RE. Is not connected individually to each input terminal of the microcomputer, but an individual voltage dividing resistor is set for each RE, and the output voltage from each RE divided for each RE is output to the A / It is configured to be connected in parallel to a microcomputer input terminal having a D input (converting a voltage analog value to a digital value) function.

【0008】これによって,複数個のREからの出力が
同一マイコンの同一入力端子に接続されたとしても,個
々のREからの出力電圧の差異をマイコンが検知判定す
る事により,どのREが操作されたかをマイコンが判定
し機器の動作に反映する事となる。
Thus, even if the outputs from a plurality of REs are connected to the same input terminal of the same microcomputer, the microcomputer detects and determines the difference in the output voltage from each RE, and which RE is operated. Is determined by the microcomputer and reflected in the operation of the device.

【0009】[0009]

【発明の実施の形態】請求項1に記載の発明は、複数個
のロータリーエンコーダーを配した機器と、前記複数個
のロータリーエンコーダーからの信号を入力する入力装
置を備えた機器と、前記機器を制御する制御装置を備え
た制御機器において、個々のロータリーエンコーダーか
らの出力信号をマイコンの入力端子に並列接続する事に
より、複数個のロータリーエンコーダーを一個のマイコ
ンに対して配したとしても、マイコンへのロータリーエ
ンコーダーの入力端子は2個のみで回路を構成する事が
出来き、多数のロータリーエンコーダーを配置する多機
能、多入力を要求される機器においても、ロータリーエ
ンコーダーの個数分のマイコンの入力端子を減少させる
事無く、容易に複数のロータリーエンコーダーを配した
機器を構成する事が出来る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 is an apparatus provided with a plurality of rotary encoders, an apparatus provided with an input device for inputting signals from the plurality of rotary encoders, and By connecting output signals from individual rotary encoders to the input terminals of the microcomputer in parallel in a control device equipped with a control device for controlling, even if multiple rotary encoders are assigned to one microcomputer, The input terminals of the rotary encoder can be configured with only two rotary encoders, and even in equipment that requires multiple functions and multiple inputs in which a large number of rotary encoders are arranged, the input terminals of the microcomputer for the number of rotary encoders It is easy to configure devices with multiple rotary encoders without reducing Can.

【0010】請求項2に記載の発明は、特に、請求項1
に記載のローターリーエンコーダー入力検知装置をマイ
コンの同一入力端子に並列に接続した場合においても、
個々のロータリーエンコーダー毎に出力電圧差異を設定
する分割抵抗を設け、且つ、ロータリーエンコーダーか
らの出力電圧をA/D機能を有するマイコンの入力端子
に入力する事により、複数個のロータリーエンコーダー
の出力がマイコンの同一入力端子に接続されたとして
も、個々のロータリーエンコーダーからの入力をマイコ
ンが識別判定する事となり、ロータリーエンコーダー個
数分のマイコンの入力端子を減少させる事無く、複数の
ロータリーエンコーダーを配した機器を構成する事が出
来る。
[0010] The invention described in claim 2 is particularly advantageous in claim 1.
Even if the rotary encoder input detection device described in is connected in parallel to the same input terminal of the microcomputer,
By providing a dividing resistor for setting the output voltage difference for each rotary encoder, and by inputting the output voltage from the rotary encoder to the input terminal of a microcomputer having an A / D function, the output of the plurality of rotary encoders is Even if they are connected to the same input terminal of the microcomputer, the microcomputer identifies and determines the input from each rotary encoder. Equipment can be configured.

【0011】[0011]

【実施例】以下本発明の実施例について,図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】(実施例1)図1に於いて,1はREから
の出力信号を検出し判定するマイコン,AはREからの
出力信号をA/D変換する機能を有したマイコンの入力
端子A,BもAと同様にREからの出力信号をA/D変
換する機能を有したマイコンの入力端子B,R1はマイ
コンのA入力端子用プルダウン抵抗,R2はマイコンの
B入力端子用プルダウン抵抗,C1はマイコンのA入力
端子用ノイズ除去用コンデンサ,C2はマイコンのB入
力端子用ノイズ除去用コンデンサ,R3はマイコンのA
入力端子用ノイズ低減用抵抗,R4はマイコンのB入力
端子用ノイズ低減用抵抗を示す。
(Embodiment 1) In FIG. 1, reference numeral 1 denotes a microcomputer which detects and determines an output signal from an RE, and A denotes an input terminal A of a microcomputer having a function of A / D converting an output signal from the RE. , B also have the function of A / D converting the output signal from the RE similarly to A. Input terminals B and R1 of the microcomputer have a pull-down resistor for the A input terminal of the microcomputer, R2 has a pull-down resistor for the B input terminal of the microcomputer, C1 is a noise removing capacitor for the A input terminal of the microcomputer; C2 is a noise removing capacitor for the B input terminal of the microcomputer;
The input terminal noise reduction resistor R4 indicates a microcomputer B input terminal noise reduction resistor.

【0013】次にRE1はロータリーエンコーダー1,
SW1AはRE1の回転軸と連動した信号接点A,SW
1BはRE1の回転軸と連動したSW1Aと一対の信号
接点B,そしてRE1のSW1AとSW1Bの共通接続
端子はマイコンの駆動電源及び,マイコンのA/D用の
基準電圧端子に接続されている。
Next, RE1 is a rotary encoder 1,
SW1A is a signal contact A, SW interlocked with the rotation axis of RE1.
Reference numeral 1B denotes a switch 1A and a pair of signal contacts B interlocked with the rotation axis of RE1, and a common connection terminal of SW1A and SW1B of RE1 is connected to a drive power supply of the microcomputer and a reference voltage terminal for A / D of the microcomputer.

【0014】前記よりSW1Aの接点が閉じた場合,マ
イコンの電源電圧がR3を介してマイコンのAのA/D
入力端子に入力される,またSW2Bの接点が閉じた場
合,マイコンの電源電圧がR3を介してマイコンのBの
A/D入力端子に入力される。
As described above, when the contact of SW1A is closed, the power supply voltage of the microcomputer is changed to the A / D of the microcomputer A via R3.
When the signal is input to the input terminal and the contact of SW2B is closed, the power supply voltage of the microcomputer is input to the A / D input terminal of B of the microcomputer via R3.

【0015】次にRE2はロータリーエンコーダー2,
SW2AはRE2の回転軸と連動した信号接点Aで,R
3を介してマイコンのA/D入力端子Aに接続,SW2
BはRE2の回転軸と連動したSW2Aと一対の信号接
点Bで,R4を介してマイコンのA/D入力端子Bに接
続,そしてRE2のSW2AとSW2Bの共通接続端子
はR5の抵抗を介して,マイコンの駆動電源及び,マイ
コンのA/D用の基準電圧端子に接続されている。
Next, RE2 is a rotary encoder 2,
SW2A is a signal contact A interlocked with the rotation axis of RE2.
3, connected to the A / D input terminal A of the microcomputer, SW2
B is a pair of signal contacts B and SW2A interlocked with the rotation axis of RE2, connected to the A / D input terminal B of the microcomputer via R4, and the common connection terminal of SW2A and SW2B of RE2 is connected via the resistor of R5. , A drive power supply of the microcomputer and a reference voltage terminal for A / D of the microcomputer.

【0016】前記よりSW2Aの接点が閉じた場合,マ
イコンのAのA/D入力端子には,R1とR5で分割さ
れた電圧がR3を介して印加される,またSW2Bの接
点が閉じた場合,マイコンのBのA/D入力端子には,
R2とR5で分割された電圧がR4を介して印加され
る。
As described above, when the contact of SW2A is closed, the voltage divided by R1 and R5 is applied to the A / D input terminal of A of the microcomputer via R3, and when the contact of SW2B is closed. , To the A / D input terminal of B of the microcomputer,
The voltage divided by R2 and R5 is applied via R4.

【0017】次にRE3はロータリーエンコーダー3,
SW3AはRE3の回転軸と連動した信号接点Aで,R
3を介してマイコンのA/D入力端子Aに接続,SW3
BはRE3の回転軸と連動したSW3Aと一対の信号接
点Bで,R4を介してマイコンのA/D入力端子Bに接
続,そしてRE3のSW3AとSW3Bの共通接続端子
はR6の抵抗を介して,マイコンの駆動電源及び,マイ
コンのA/D用の基準電圧端子に接続されている。
Next, RE3 is a rotary encoder 3,
SW3A is a signal contact A interlocked with the rotation axis of RE3.
3, connected to A / D input terminal A of the microcomputer, SW3
B is a pair of signal contacts B and SW3A interlocked with the rotation axis of RE3, connected to the A / D input terminal B of the microcomputer via R4, and the common connection terminal of SW3A and SW3B of RE3 is connected via the resistor of R6. , A drive power supply of the microcomputer and a reference voltage terminal for A / D of the microcomputer.

【0018】前記よりSW3Aの接点が閉じた場合,マ
イコンのAのA/D入力端子には,R1とR6で分割さ
れた電圧がR3を介して印加される,またSW3Bの接
点が閉じた場合,マイコンのBのA/D入力端子には,
R2とR6で分割された電圧がR4を介して印加され
る。
As described above, when the contact of SW3A is closed, the voltage divided by R1 and R6 is applied to the A / D input terminal of A of the microcomputer via R3, and when the contact of SW3B is closed. , To the A / D input terminal of B of the microcomputer,
The voltage divided by R2 and R6 is applied via R4.

【0019】以上の様に構成されたロータリーエンコー
ダー入力検知装置について,以下にその動作,作用を説
明する。
The operation and operation of the rotary encoder input detecting device configured as described above will be described below.

【0020】RE1の回転軸を右もしくは左に回転させ
た時,RE1の回転軸と直結しているSW1AとSW1
Bの円盤状の各スイッチの接点は,RE1の回転軸の回
転位相角度により,SW1AとSW1Bの各スイッチ接
点のON/OFF位相が異なる。
When the rotation axis of RE1 is rotated right or left, SW1A and SW1 which are directly connected to the rotation axis of RE1.
The ON / OFF phase of each switch contact of SW1A and SW1B differs depending on the rotational phase angle of the rotating shaft of RE1.

【0021】これを図2に於いて説明すると,RE1の
回転軸が時計方向に回転時,SW1Aの接点がSW1B
の接点より先にONする為,マイコンのA入力端子はマ
イコンのB入力端子より先にLOレベルからHIレベル
に切り替わる,この時RE1のSW1Bはまだ開状態を
保持している為,マイコンのB入力端子はLOレベルを
保持している。
Referring to FIG. 2, when the rotating shaft of RE1 rotates clockwise, the contact of SW1A is set to SW1B.
, The A input terminal of the microcomputer is switched from the LO level to the HI level before the B input terminal of the microcomputer. At this time, SW1B of RE1 is still in the open state. The input terminal holds the LO level.

【0022】よってRE1の回転軸を連続的に時計方向
に回転させると、SW1AとSW1B各スイッチ接点の
断続により,図2に示す様に,位相の異なった断続出力
がマイコンのA及び,Bの入力端子に入力される。
Therefore, when the rotating shaft of RE1 is continuously rotated clockwise, as shown in FIG. 2, the intermittent outputs having different phases are output from the microcomputers A and B due to the intermittent operation of the switch contacts of SW1A and SW1B. Input to the input terminal.

【0023】次にRE1の回転軸を反時計方向に回転さ
せた場合,SW1AとSW1Bの各スイッチ接点がON
/OFFする位相が,前記の時計方向回転時と反転し,
RE1のSW1B接点の方が先にONした後,遅れてS
W1Aの接点がONする。
Next, when the rotating shaft of RE1 is rotated counterclockwise, the switch contacts of SW1A and SW1B are turned on.
The phase to be turned off is reversed from the above clockwise rotation,
After the SW1B contact of RE1 turns on first,
The contact of W1A turns ON.

【0024】よってRE1の回転軸を連続的に反時計方
向に回転させると、SW1AとSW1B各スイッチ接点
の断続により,図2に示す様に,時計方向回転時とは位
相の異なった断続出力がマイコンのA及び,Bの入力端
子に入力される。
Therefore, when the rotating shaft of RE1 is continuously rotated in the counterclockwise direction, as shown in FIG. 2, an intermittent output having a phase different from that of the clockwise rotation is produced due to the intermittent operation of the switch contacts of SW1A and SW1B. The signals are input to the input terminals A and B of the microcomputer.

【0025】よって前記より,マイコンはA及びB入力
端子が共に常時LOレベル時はREが静止状態,マイコ
ンのA入力端子がB入力端子よりも先にHI,その後B
入力端子がHIの繰り返し信号がマイコンに入力された
場合,位相差のある断続信号の入力により,REが時計
方向に回転している事をマイコンが検知し判定する。
As described above, when both the A and B input terminals are always at the LO level, the RE is in a stationary state, the A input terminal of the microcomputer is HI before the B input terminal, and
When a repetitive signal whose input terminal is HI is input to the microcomputer, the microcomputer detects and determines that the RE is rotating clockwise by inputting an intermittent signal having a phase difference.

【0026】同時に,入力された電圧値をマイコンがA
/D変換し,入力電圧レベルを判定するのと共に,入力
された断続信号の数をカウントする。
At the same time, the microcomputer
/ D conversion, the input voltage level is determined, and the number of input intermittent signals is counted.

【0027】次にマイコンのB入力端子が先にLO→H
I,その後A入力端子がLO→HIの繰り返し信号がマ
イコンに入力された時も前記同様に,位相差のある断続
信号の入力により,REが反時計方向に回転している事
をマイコンが検知し判定する。
Next, the B input terminal of the microcomputer is changed from LO to H first.
In the same manner as above, when the repetition signal of LO → HI is input to the microcomputer, the microcomputer detects that the RE is rotating counterclockwise by the input of the intermittent signal having the phase difference. And determine.

【0028】同時に入力された電圧値をマイコンがA/
D変換し,入力電圧レベルを判定するのと共に,入力さ
れた断続信号の数をカウントする。
At the same time, the microcomputer inputs A / A
D-conversion is performed, the input voltage level is determined, and the number of intermittent signals input is counted.

【0029】(実施例2)ここで各REからの出力信号
は,それぞれマイコンのA及びBのA/D入力端子に並
列に接続されている為,個々のREのどのREが操作さ
れたのかを識別する手段として,RE個々に異なる分割
抵抗値を設定し,その分割抵抗による出力電圧値に対応
した電圧定数をマイコン内部のROMに収納する。
(Embodiment 2) Since the output signals from the respective REs are connected in parallel to the A / D input terminals of the microcomputers A and B, which RE of the individual REs has been operated. As a means for identifying the RE, different division resistance values are set for each RE, and a voltage constant corresponding to an output voltage value by the division resistance is stored in a ROM in the microcomputer.

【0030】よってマイコンは,A/D入力端子に入力
された個別のREからの電圧値をA/D変換すると同時
に,マイコンのRE入力電圧定数ROM内容と参照比較
判定する事により,マイコンのA及びBのA/D入力端
子に接続されている,どのREが操作されたかをマイコ
ンが識別する事が出来る。
Therefore, the microcomputer performs A / D conversion of the voltage value from the individual RE input to the A / D input terminal and, at the same time, performs a reference comparison with the contents of the RE input voltage constant ROM of the microcomputer to thereby determine the A value of the microcomputer. The microcomputer can identify which RE connected to the A / D input terminal of each of B and B has been operated.

【0031】前記の内容を示すのが図3であり,分割抵
抗値の差異による,各REからの出力電圧(マイコンA
/D入力端子電圧波形)を表したものである。
FIG. 3 shows the above-mentioned contents, and the output voltage from each RE (microcomputer A
/ D input terminal voltage waveform).

【0032】また,本実施例のRE入力回路はREが3
個であるが,REの分割抵抗値に対応した入力電圧の電
圧定数を細分化し,マイコンのROMに収納する事によ
り,多数個のREを要する機器であったとしも,RE用
の入力端子を別途増やす事なく,容易にREを増加させ
る事が出来る。
The RE input circuit of this embodiment has a RE of 3
However, by dividing the voltage constant of the input voltage corresponding to the divided resistance value of the RE into microcontrollers and storing them in the ROM of the microcomputer, even if the equipment requires a large number of REs, the input terminals for the REs can be used. RE can be easily increased without additional increase.

【0033】[0033]

【発明の効果】以上のように、請求項1、2に記載の発
明によれば、一つのマイコンに複数個のロータリーエン
コーダーが設置されたとしても,ロータリーエンコーダ
ー用の入力端子数は従来通り2つの入力端子で実現で
き,複数個のロータリーエンコーダーを配する機器であ
ったとしも,ロータリーエンコーダー用の入力端子を別
途増やす必要が無く,且つロータリーエンコーダー周辺
部品の削減も図る事が可能となり,多数のロータリーエ
ンコーダーを配置する多機能,多入力を要求される機器
に於いても,ロータリーエンコーダーの個数分のマイコ
ンの入力端子を減少させる事無く,容易に複数のロータ
リーエンコーダーを配した機器を構成する事が出来る。
As described above, according to the first and second aspects of the present invention, even if a plurality of rotary encoders are installed in one microcomputer, the number of input terminals for the rotary encoder is two as in the past. It can be realized with one input terminal, and even if the device has multiple rotary encoders, it is not necessary to increase the input terminals for the rotary encoder separately, and it is possible to reduce the number of parts around the rotary encoder. Even in devices that require multiple functions and multiple inputs in which multiple rotary encoders are arranged, devices with multiple rotary encoders can be easily configured without reducing the number of microcontroller input terminals by the number of rotary encoders. I can do things.

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

【図1】本発明の実施例1におけるロータリーエンコー
ダーの回路構成図
FIG. 1 is a circuit configuration diagram of a rotary encoder according to a first embodiment of the present invention.

【図2】同ロータリーエンコーダーの時計方向、反時計
方向回転時の出力位相波形図
FIG. 2 is an output phase waveform diagram when the rotary encoder is rotated clockwise and counterclockwise.

【図3】本発明の実施例2におけるロータリーエンコー
ダーの出力波形図
FIG. 3 is an output waveform diagram of a rotary encoder according to a second embodiment of the present invention.

【図4】従来のロータリーエンコーダーの回路構成図FIG. 4 is a circuit configuration diagram of a conventional rotary encoder.

【符号の説明】[Explanation of symbols]

1 マイコン A A/D機能を有したマイコンの入力端子 B A/D機能を有したマイコンの入力端子 RE1 ロータリーエンコーダー1 RE2 ロータリーエンコーダー2 RE3 ロータリーエンコーダー3 SW1A ロータリーエンコーダー1のスイッチ接点A SW1B ロータリーエンコーダー1のスイッチ接点B R5 ロータリーエンコーダー2の電圧分割用抵抗 R6 ロータリーエンコーダー3の電圧分割用抵抗 1 microcomputer A input terminal of microcomputer having A / D function B input terminal of microcomputer having A / D function RE1 rotary encoder 1 RE2 rotary encoder 2 RE3 rotary encoder 3 SW1A switch contact of rotary encoder 1 SW1B rotary encoder 1 Switch contact B R5 Resistance for voltage division of rotary encoder 2 R6 Resistance for voltage division of rotary encoder 3

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数個のロータリーエンコーダーを配し
た機器と、前記複数個のロータリーエンコーダーからの
信号を入力する入力装置を備えた機器と、前記機器を制
御する制御装置を備えた制御機器において、複数個のロ
ータリーエンコーダーを一個のマイコンに対して配した
としても、マイコンへのロータリーエンコーダーの入力
端子は2個のみでできる事を特徴とするロータリーエン
コーダー入力検知装置。
1. A device provided with a plurality of rotary encoders, a device provided with an input device for inputting signals from the plurality of rotary encoders, and a control device provided with a control device for controlling the device. A rotary encoder input detection device characterized in that even if a plurality of rotary encoders are provided for one microcomputer, only two input terminals of the rotary encoder can be provided to the microcomputer.
【請求項2】 複数個のロータリーエンコーダーの入力
を一つのマイコンの同一端子に並列に接続した場合にお
いても、それぞれ個別のロータリーエンコーダーの入力
を判定する事を特徴とするロータリーエンコーダー入力
検知装置。
2. A rotary encoder input detection device characterized in that even when inputs of a plurality of rotary encoders are connected in parallel to the same terminal of one microcomputer, inputs of the individual rotary encoders are determined.
JP2001141228A 2001-05-11 2001-05-11 Rotary encoder input detecting device Pending JP2002340609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001141228A JP2002340609A (en) 2001-05-11 2001-05-11 Rotary encoder input detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001141228A JP2002340609A (en) 2001-05-11 2001-05-11 Rotary encoder input detecting device

Publications (1)

Publication Number Publication Date
JP2002340609A true JP2002340609A (en) 2002-11-27

Family

ID=18987715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001141228A Pending JP2002340609A (en) 2001-05-11 2001-05-11 Rotary encoder input detecting device

Country Status (1)

Country Link
JP (1) JP2002340609A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10498098B2 (en) 2016-12-27 2019-12-03 Jeco Co., Ltd. Slip ring, rotation sensor device having slip ring, and method of manufacturing slip ring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10498098B2 (en) 2016-12-27 2019-12-03 Jeco Co., Ltd. Slip ring, rotation sensor device having slip ring, and method of manufacturing slip ring

Similar Documents

Publication Publication Date Title
US20160226508A1 (en) Semiconductor Device
WO1988010409A1 (en) Absolute position encoder
JP2002340609A (en) Rotary encoder input detecting device
JP5917154B2 (en) Shift position detector
JP3724669B2 (en) Position detection switch
JPH07270181A (en) Method for detecting absolute signal, and absolute encoder
JP5065623B2 (en) Turret device for machine tools
JPH1198883A (en) Method for controlling brushless motor
EP1035551B1 (en) Rotary variable resistor and output regulator using the same
US6998802B2 (en) Motor rotation rate detecting circuit and motor driving device
JPH07218290A (en) Multiple-rotation type absolute encoder
CN210983130U (en) Knob structure with forward and reverse recognition function and remote controller
JP2006121811A (en) Rotor position detecting device of rotary electric machine
JP4419225B2 (en) Rotary encoder
JP2001061288A (en) Inverter device
JPH0719900A (en) Encoder device and rotation angle controller
JP2005149223A (en) Button depression detector
WO2020050323A1 (en) Vehicle instrument
JP3370886B2 (en) Motor control signal generator and motor controller
JPH06303793A (en) Drive circuit of dc brushless dc motor
JPH0421098A (en) Encoder signal detection circuit
JP4241354B2 (en) Rotary operation type encoder
KR200144318Y1 (en) Interface device of servo motor current sensor for robot
JPH0520018Y2 (en)
JPS61251328A (en) Pwm circuit