JP4463533B2 - ロータリエンコーダ検出装置 - Google Patents
ロータリエンコーダ検出装置 Download PDFInfo
- Publication number
- JP4463533B2 JP4463533B2 JP2003401871A JP2003401871A JP4463533B2 JP 4463533 B2 JP4463533 B2 JP 4463533B2 JP 2003401871 A JP2003401871 A JP 2003401871A JP 2003401871 A JP2003401871 A JP 2003401871A JP 4463533 B2 JP4463533 B2 JP 4463533B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- operation knob
- rotary encoder
- count value
- phase pulse
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Description
図1はこの発明の実施形態1に係るロータリエンコーダ検出装置の構成を示すブロック回路図である。
図において、操作ツマミ部1を正転または逆転操作することによりロータリエンコーダは正方向または逆方向に回転される。ロータリエンコーダ部2は、操作ツマミ部1の正転および逆転操作の変化量を入力としてロータリエンコーダの回転を表す所定の位相差を持ったA相およびB相の二相パルスを二相パルスカウンタ部3へ出力する。二相パルスカウンタ部3は、ロータリエンコーダ部2から出力される二相パルスに基づいて加算または減算を行って操作ツマミ部1の正転または逆転の変化量に対応したカウント値を得る。
なお、二相パルスカウンタ部3と制御部4は、具体的には一つのマイコン(例えば、シングルチップ16ビットCMOSマイクロコンピュータ:製品名「M16C/62N」)に内蔵された機能で構成される。
カウンタ変化検出処理部42は、定周期処理部41から定周期に起動されて図2に示される手順の処理を行う。カウンタ変化検出処理部42では、二相パルスカウンタ部3のカウント値を読み取ると、今回サンプリング値と前回サンプリング値との比較を行う(ステップST61)。両サンプリング値が等しければ操作ツマミ部1の変化が無いと判定し、また、等しくなければ操作ツマミ部1の変化が有りと判定する(ステップST62)。変化が有りと判定した場合、(今回サンプリング値)−(前回サンプリング値)=Argを計算し、Argを引数として回転方向・変化量解析処理部43の起動を要求する(ステップST63)。また、起動する度に今回サンプリング値を前回サンプリング値に置き換えてメモリに保存し後(ステップST64)、処理を終了する。この実施の形態では、ロータリエンコーダが変化した時に発生するチャタリング時間より十分大きな周期でサンプリングを行う。
制御部4は、以上の処理により得られた回転方向と変化量のデータを用いて被制御装置の設定を行うことができる。
Claims (1)
- 正転および逆転操作を行うことによりロータリエンコーダを回転させる操作ツマミ部と、
操作ツマミ部の操作変化量を入力としてロータリエンコーダの回転を表す所定の位相差を持ったA相およびB相の二相パルスを出力するロータリエンコーダ部と、
出力された二相パルスに基づいて前記操作ツマミ部の正転または逆転操作の変化量に対応したカウント値を得る二相パルスカウンタ部と、
この二相パルスカウンタ部のカウント値に基づいて前記操作ツマミ部による入力状態を検出する制御部とを備え、
前記制御部は、
定周期に起動され、今回サンプリングした前記二相パルスカウンタ部のカウント値と保存しておいた前回サンプリングしたカウント値を比較し、両カウント値が等しい場合には前記操作ツマミ部の操作が無いと判定し、一方、前記両カウント値が等しくない場合には前記操作ツマミ部の操作が有ると判定して、前記操作ツマミ部の回転方向に関わらず、今回サンプリングしたカウント値から前回サンプリングしたカウント値を減算した結果を引数として出力するカウンタ変化検出処理部と、
前記引数の正負の符号に基づいて前記操作ツマミ部の回転方向を検出すると共に、前記引数の絶対値から前記操作ツマミ部の変化量を検出する回転方向・変化量解析処理部とを有するロータリエンコーダ検出装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003401871A JP4463533B2 (ja) | 2003-12-01 | 2003-12-01 | ロータリエンコーダ検出装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003401871A JP4463533B2 (ja) | 2003-12-01 | 2003-12-01 | ロータリエンコーダ検出装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005164329A JP2005164329A (ja) | 2005-06-23 |
JP4463533B2 true JP4463533B2 (ja) | 2010-05-19 |
Family
ID=34725656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003401871A Expired - Fee Related JP4463533B2 (ja) | 2003-12-01 | 2003-12-01 | ロータリエンコーダ検出装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4463533B2 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105856228A (zh) * | 2016-05-03 | 2016-08-17 | 杭州电子科技大学 | 一种基于fpga的六轴工业机器人测速方法 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100989144B1 (ko) | 2009-11-30 | 2010-10-22 | 경상대학교산학협력단 | 무선 로터리 엔코더 및 회전체 제어 시스템 |
-
2003
- 2003-12-01 JP JP2003401871A patent/JP4463533B2/ja not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105856228A (zh) * | 2016-05-03 | 2016-08-17 | 杭州电子科技大学 | 一种基于fpga的六轴工业机器人测速方法 |
Also Published As
Publication number | Publication date |
---|---|
JP2005164329A (ja) | 2005-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8775117B2 (en) | Encoder, servo unit, and method including calculating position data | |
JPH07218288A (ja) | 絶対位置検出装置及びその誤差補正方法 | |
JPS62162968A (ja) | 速度検出装置 | |
CN111752531B (zh) | 整数除法装置和马达控制装置 | |
CN109768755B (zh) | 半导体装置、角度值校正电路及其方法 | |
JP4463533B2 (ja) | ロータリエンコーダ検出装置 | |
JP5149820B2 (ja) | コントローラおよび加工装置 | |
JP4782434B2 (ja) | 回転検出装置の信号処理装置 | |
JPH07229910A (ja) | パルスカウンタ回路 | |
JP2022103046A (ja) | 信号生成装置 | |
JPH061279B2 (ja) | デイジタル式速度検出装置 | |
JP2941790B1 (ja) | パルス計数器 | |
JP6589107B2 (ja) | 変調波レゾルバ装置 | |
JP2002116058A (ja) | エンコーダデータ変換回路 | |
JP2009153335A (ja) | ブラシレスサーボモータ | |
US6310458B1 (en) | Blended velocity estimation | |
JP2006300699A (ja) | 速度検出装置とその異常速度検出方法 | |
JP2002112566A (ja) | モータ制御装置 | |
JP2002311040A (ja) | 速度検出装置 | |
JPH04285815A (ja) | ロータリエンコーダの位置カウンタ回路 | |
JP2005207985A (ja) | 位置検出装置 | |
JP2003005837A (ja) | パルスエンコーダによる位置検出方法または停止位置制御方法 | |
JPH0674787A (ja) | 絶対位置検出装置 | |
JPH1123319A (ja) | 増分形エンコーダによる位置検出装置 | |
CN113391087A (zh) | 转速检测装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060522 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071017 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080710 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081209 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090206 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100209 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100217 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130226 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4463533 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130226 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140226 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |