JP2000333484A - Motor control - Google Patents

Motor control

Info

Publication number
JP2000333484A
JP2000333484A JP11139733A JP13973399A JP2000333484A JP 2000333484 A JP2000333484 A JP 2000333484A JP 11139733 A JP11139733 A JP 11139733A JP 13973399 A JP13973399 A JP 13973399A JP 2000333484 A JP2000333484 A JP 2000333484A
Authority
JP
Japan
Prior art keywords
encoder
signal
phase pulse
interface
serial communication
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
JP11139733A
Other languages
Japanese (ja)
Other versions
JP3644308B2 (en
Inventor
Yoshishige Ikeuchi
慶成 池内
Kenji Ishimoto
憲治 石本
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 JP13973399A priority Critical patent/JP3644308B2/en
Publication of JP2000333484A publication Critical patent/JP2000333484A/en
Application granted granted Critical
Publication of JP3644308B2 publication Critical patent/JP3644308B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)
  • Control By Computers (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain reduction in cost and size and high performance, by making common a receiving circuit and an interface for two-phase pulse encoder signal and coping with a serial communication encoder and full close control. SOLUTION: A motor controller fetches a signal (including a serial signal) from a two-phase pulse encoder 1 through an interface 4 and inputted in a microcomputer 5. In using a serial communication encoder 2, an external linear scale signal 3 is inputted in the same interface 4 as that in the two-phase pulse encoder 1. A function is also provided, which conducts switching between a mode using the two-phase pulse encoder 1 and a mode using the serial communication encoder 2 and the external linear scale signal 3 with a software in the microcomputer 5.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、2相パルス式エン
コーダの回路およびインターフェイスを共用し、シリア
ル通信エンコーダおよびフルクローズ制御対応できるモ
ータ制御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial communication encoder and a motor control method capable of supporting full-closed control by sharing the circuit and interface of a two-phase pulse encoder.

【0002】[0002]

【従来の技術】従来のモータ制御装置ではフルクローズ
制御を行うにあたり、2相パルス式エンコーダの信号と
は別にフルクローズ制御に必要な外部リニアスケール信
号用の受信回路およびインターフェースを設けていた
(図2)。
2. Description of the Related Art In a conventional motor control device, when performing full-closed control, a receiving circuit and an interface for an external linear scale signal necessary for full-closed control are provided separately from signals of a two-phase pulse encoder (see FIG. 1). 2).

【0003】また、シリアル通信エンコーダの場合にお
いても、外部リニアスケール信号用の受信回路およびイ
ンターフェースを設けており、この場合には2相パルス
信号入力部を未使用としていた(図3)。
Also, in the case of a serial communication encoder, a receiving circuit and an interface for an external linear scale signal are provided, and in this case, a two-phase pulse signal input section is not used (FIG. 3).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、2相パルス式エンコーダまたはシリアル
通信エンコーダの信号とは別に外部リニアスケール信号
用の受信回路およびインターフェースを設ける必要があ
り、モータ制御装置の小型化と低価格化に課題があっ
た。
However, in the above-mentioned conventional configuration, it is necessary to provide a receiving circuit and an interface for an external linear scale signal separately from the signal of the two-phase pulse encoder or the serial communication encoder. There was a problem in miniaturization and price reduction of the device.

【0005】また、別の入出力信号部のインターフェー
スを外部スケール信号の入力インターフェースに割り当
てた場合、その機能を不能とするなどの課題があった。
Further, when an interface of another input / output signal section is assigned to an input interface of an external scale signal, there is a problem that the function is disabled.

【0006】本発明はこのような従来の課題を解決する
ものであり、2相パルス式エンコーダ信号の受信回路お
よびインターフェイスを共用化し、シリアル通信エンコ
ーダおよびフルクローズ制御に対応でき、低価格化,小
型化,高性能化が可能なモータ制御方法を提供すること
を目的とする。
The present invention solves such a conventional problem. The receiving circuit and interface for the two-phase pulse encoder signal are shared, and the serial communication encoder and full-closed control can be supported. It is an object of the present invention to provide a motor control method capable of achieving higher performance and higher performance.

【0007】[0007]

【課題を解決するための手段】本発明は上記の課題を解
決するもので、2相パルス式エンコーダからの信号をイ
ンターフェースより取り込み、マイコンに入力するモー
タ制御装置において、シリアル通信エンコーダ使用時に
は外部リニアスケール信号を前記2相パルス式エンコー
ダと同じインターフェースを使用してマイコンに入力す
るものである。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems. In a motor control device which receives a signal from a two-phase pulse encoder from an interface and inputs the signal to a microcomputer, an external linear encoder is used when a serial communication encoder is used. The scale signal is input to the microcomputer using the same interface as the two-phase pulse encoder.

【0008】[0008]

【発明の実施の形態】上記の課題を解決するために本発
明は、2相パルス式エンコーダからの信号をインターフ
ェースより取り込み、マイコンに入力するモータ制御装
置において、シリアル通信エンコーダ使用時には外部リ
ニアスケール信号を前記2相パルス式エンコーダと同じ
インターフェースを使用してマイコンに入力するモータ
制御方法である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to solve the above-mentioned problems, the present invention relates to a motor control device which receives a signal from a two-phase pulse encoder from an interface and inputs the signal to a microcomputer. Is input to a microcomputer using the same interface as the two-phase pulse encoder.

【0009】また、2相パルス式エンコーダを使用した
モードとシリアル通信エンコーダおよび外部リニアスケ
ール信号を使用したモードをソフトウェアにて切り替え
る機能を具備した請求項1記載のモータ制御方法であ
る。
The motor control method according to claim 1, further comprising a function of switching between a mode using a two-phase pulse encoder and a mode using a serial communication encoder and an external linear scale signal by software.

【0010】このように、2相パルス式エンコーダの回
路およびインターフェイスを共用化し、モードをソフト
ウェアにて切り替えるようにしたので、シリアル通信エ
ンコーダおよびフルクローズ制御に対応することが可能
となる。
As described above, since the circuit and interface of the two-phase pulse encoder are shared and the mode is switched by software, the serial communication encoder and full-closed control can be supported.

【0011】[0011]

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

【0012】図1において、モータ制御装置は、2相パ
ルス式エンコーダ1からの信号(シリアル信号を含む)
をインターフェース4より取り込み、マイコン5に入力
する。そして、シリアル通信エンコーダ2を使用する時
には、外部リニアスケール信号3を2相パルス式エンコ
ーダ1と同じインターフェース4に入力する。さらに、
2相パルス式エンコーダ1を使用したモードとシリアル
通信エンコーダ2および外部リニアスケール信号3を使
用したモードを、マイコン5内部のソフトウェアにて切
り替える機能を有している。
In FIG. 1, a motor control device includes a signal (including a serial signal) from a two-phase pulse encoder 1.
From the interface 4 and input to the microcomputer 5. When using the serial communication encoder 2, the external linear scale signal 3 is input to the same interface 4 as the two-phase pulse encoder 1. further,
The microcomputer 5 has a function of switching between a mode using the two-phase pulse encoder 1 and a mode using the serial communication encoder 2 and the external linear scale signal 3 by software inside the microcomputer 5.

【0013】このように、シリアル通信エンコーダ使用
時に、2相パルス式エンコーダのシリアル信号通信部と
同じ回路およびインターフェースを使用し、シリアル通
信エンコーダの信号をマイコンに入力している。また、
2相パルス式エンコーダの2相パルス入力部よりフルク
ローズ制御に必要な外部リニアスケール信号を入力して
いる。これにより、回路およびインターフェイスを共用
化することができる。さらに、入力された信号をソフト
ウェアにてモードを切り替えるので、切り替え信号およ
び回路を必要とせず、低価格化,小型化が可能となる。
As described above, when using the serial communication encoder, the same circuit and interface as those of the serial signal communication unit of the two-phase pulse encoder are used, and the signal of the serial communication encoder is input to the microcomputer. Also,
An external linear scale signal required for full-closed control is input from the two-phase pulse input unit of the two-phase pulse encoder. Thereby, the circuit and the interface can be shared. Furthermore, since the mode of the input signal is switched by software, a switching signal and a circuit are not required, and the cost and size can be reduced.

【0014】[0014]

【発明の効果】上記の実施例から明らかなように本発明
によれば、2相パルス式エンコーダ使用のセミクローズ
制御時とシリアル通信エンコーダおよび外部リニアスケ
ール使用のフルクローズ制御時に回路およびインターフ
ェイスを共用化することが可能となり、モータ制御装置
の低価格化,小型化,高性能化ができる有用な効果があ
る。
As is apparent from the above embodiment, according to the present invention, the circuit and the interface are shared during the semi-closed control using the two-phase pulse encoder and the full-closed control using the serial communication encoder and the external linear scale. Therefore, there is a useful effect that the cost, size, and performance of the motor control device can be reduced.

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

【図1】本発明の一実施例の構成図FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】従来のフルクローズ制御の構成図FIG. 2 is a configuration diagram of a conventional full-closed control.

【図3】従来の他のフルクローズ制御の構成図FIG. 3 is a configuration diagram of another conventional full-closed control.

【符号の説明】 1 2相パルス式エンコーダ 2 シリアル通信エンコーダ 3 外部リニアスケール信号 4 インターフェース 5 マイコン[Description of Signs] 1 2-phase pulse encoder 2 Serial communication encoder 3 External linear scale signal 4 Interface 5 Microcomputer

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5H004 GA31 GA34 GA40 JB01 JB03 JB07 JB10 JB17 JB29 MA37 MA39 MA53 5H215 BB01 BB03 CC09 CX01 EE04 EE05 5H550 BB04 BB10 DD01 GG08 JJ03 LL07 LL21  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5H004 GA31 GA34 GA40 JB01 JB03 JB07 JB10 JB17 JB29 MA37 MA39 MA53 5H215 BB01 BB03 CC09 CX01 EE04 EE05 5H550 BB04 BB10 DD01 GG08 JJ03 LL07 LL21

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2相パルス式エンコーダからの信号(シ
リアル信号を含む)をインターフェースより取り込み、
マイコンに入力するモータ制御装置において、シリアル
通信エンコーダ使用時には外部リニアスケール信号を前
記2相パルス式エンコーダと同じインターフェースを使
用してマイコンに入力し、フルクローズ制御を可能とす
るモータ制御方法。
1. A signal (including a serial signal) from a two-phase pulse encoder is taken in from an interface,
A motor control method for inputting an external linear scale signal to a microcomputer using a same interface as that of the two-phase pulse encoder when a serial communication encoder is used.
【請求項2】 2相パルス式エンコーダを使用したモー
ドとシリアル通信エンコーダおよび外部リニアスケール
信号を使用したモードをソフトウェアにて切り替える機
能を具備した請求項1記載のモータ制御方法。
2. The motor control method according to claim 1, further comprising a function of switching between a mode using a two-phase pulse encoder and a mode using a serial communication encoder and an external linear scale signal by software.
JP13973399A 1999-05-20 1999-05-20 Motor control method Expired - Lifetime JP3644308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13973399A JP3644308B2 (en) 1999-05-20 1999-05-20 Motor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13973399A JP3644308B2 (en) 1999-05-20 1999-05-20 Motor control method

Publications (2)

Publication Number Publication Date
JP2000333484A true JP2000333484A (en) 2000-11-30
JP3644308B2 JP3644308B2 (en) 2005-04-27

Family

ID=15252123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13973399A Expired - Lifetime JP3644308B2 (en) 1999-05-20 1999-05-20 Motor control method

Country Status (1)

Country Link
JP (1) JP3644308B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116711A (en) * 2007-11-08 2009-05-28 Panasonic Corp Servo amplifier and method for adjusting reference position
WO2019208758A1 (en) * 2018-04-27 2019-10-31 パナソニックIpマネジメント株式会社 Motor drive device and conveying system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116711A (en) * 2007-11-08 2009-05-28 Panasonic Corp Servo amplifier and method for adjusting reference position
WO2019208758A1 (en) * 2018-04-27 2019-10-31 パナソニックIpマネジメント株式会社 Motor drive device and conveying system

Also Published As

Publication number Publication date
JP3644308B2 (en) 2005-04-27

Similar Documents

Publication Publication Date Title
US20020022958A1 (en) Low power audio processor
JP2002300783A (en) Three-phase pwm signal generating circuit
JP2000333484A (en) Motor control
KR20070014347A (en) Symmetric pwm motor driving current sync. apparatus using dsp/fpga
US5771398A (en) Interface device for having first port control means to control drive having fast access and second port control means for drive with slow access
JP2005250883A (en) Programmable logic controller system
JP2001086416A (en) Television receiver
JP2638435B2 (en) Motor control device
JP3620181B2 (en) Semiconductor device and read access method
JP3288114B2 (en) Microcomputer
JP4023198B2 (en) Parameter setting method for motor control system
JPH0738776A (en) Video signal processing circuit
JPH02272667A (en) Input/output signal processing system
JP2760027B2 (en) I / O device
JP2597729B2 (en) Microcomputer
JPS62173557A (en) Microprocessor
JPS62107304A (en) Programmable controller
JPH09258704A (en) Lcd display control circuit
JPH10247293A (en) Encoder signal processing method
JPH1031647A (en) Cpu board having data bus width conversion control circuit
JPH05150944A (en) Digital signal processor
JPH07141288A (en) Dma transfer system
JPH09265448A (en) System for controlling plural integrated circuits by cpu
JPH02287618A (en) Data processor
JPH04195241A (en) Information processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041209

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: 20050111

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050124

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080210

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 9

EXPY Cancellation because of completion of term