JPH10108354A - Method of judging inversive connection of motor, and motor position detector - Google Patents

Method of judging inversive connection of motor, and motor position detector

Info

Publication number
JPH10108354A
JPH10108354A JP25489996A JP25489996A JPH10108354A JP H10108354 A JPH10108354 A JP H10108354A JP 25489996 A JP25489996 A JP 25489996A JP 25489996 A JP25489996 A JP 25489996A JP H10108354 A JPH10108354 A JP H10108354A
Authority
JP
Japan
Prior art keywords
motor
phase pulse
rotation
reverse rotation
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.)
Granted
Application number
JP25489996A
Other languages
Japanese (ja)
Other versions
JP3705308B2 (en
Inventor
Kazuo Sato
一男 佐藤
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP25489996A priority Critical patent/JP3705308B2/en
Publication of JPH10108354A publication Critical patent/JPH10108354A/en
Application granted granted Critical
Publication of JP3705308B2 publication Critical patent/JP3705308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To judge the normal connection/inversive connection of a motor without using a switch. SOLUTION: A CPU 8 detects the revolution data (data on multi-revolutions) of one turn or more by A-phase pulses in the same manner as conventional one, but at this time, this observes the outer output pulses (B-phase pulses or its inversive pulses) of a line receiver 5, and if it is in high level, this judges that the motor is connected normally, and if it is in low level, this judges that the motor is connected reversely, and inverts the code of data on multi- revolutions.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電源投入時絶対値
エンコーダから出力されるA相パルスより1回転以上の
回転数データを検出し、その後A相パルスとB相パルス
で1回転未満の回転数を検出し、その後前記絶対値エン
コーダはインクリメンタルエンコーダとして働くサーボ
制御装置におけるモータ逆回転接続識別方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention detects rotation speed data of one or more rotations from an A-phase pulse output from an absolute value encoder at power-on, and then rotates the A-phase pulse and the B-phase pulse for less than one rotation. The absolute value encoder then detects the motor reverse rotation connection identification method in a servo controller that acts as an incremental encoder.

【0002】[0002]

【従来の技術】図3はこの種のサーボ制御装置における
モータ位置検出装置のブロック図である。絶対値エンコ
ーダ1で検出されたA相信号、B相信号はエンコーダ入
力回路2でノイズ分を除去あるいは波形整形され、A相
パルス、B相パルスとなる。逆回転反転回路3’はエン
コーダ入力回路2から出力されたA相パルス、B相パル
スと、抵抗10により電源にプルアップされた信号を入
力し、モータ(不図示)の通常接続では前記信号はハイ
レベルで、A相パルス、B相パルスをそのまま出力する
が、モータが逆回転接続された場合、信号はOVに落さ
れ、ロウレベルとなり、A相パルスはそのまま出力し、
B相パルスは反転して出力する。逆回転反転回路3から
出力されたパルスはラインドライバ4、ラインレシーバ
5を経て、符号判別回路6に入力する。符号判別回路6
は、A相パルスの位相がB相パルスまたはその反転パル
スよりも位相よりも進んでいるときはカウントアップの
符号とパルスを出力し、A相パルスの位相がB相パルス
またはその反転パルスよりも位相が遅れているときはカ
ウントダウンの符号とパルスを出力する。カウンタ7は
アップパルスによりカウントアップし、ダウンパルスに
よりダウンカウントする。CPU8’はラインレシーバ
5から出力されるA相パルスより1回転以上の回転量デ
ータを検出し、カウンタ7から出力されるカウント値に
より1回転未満の回転量データを検出するが、逆接続ス
イッチ9がオンしている(モータが逆回転接続されてい
ることを示す)場合、これらの回転量データの符号を反
転する。
2. Description of the Related Art FIG. 3 is a block diagram of a motor position detecting device in a servo control device of this kind. The A-phase signal and the B-phase signal detected by the absolute value encoder 1 are subjected to noise removal or waveform shaping by the encoder input circuit 2 to become an A-phase pulse and a B-phase pulse. The reverse rotation inversion circuit 3 ′ receives the A-phase pulse and the B-phase pulse output from the encoder input circuit 2 and a signal pulled up to the power supply by the resistor 10. In a normal connection of a motor (not shown), the signal is At the high level, the A-phase pulse and the B-phase pulse are output as they are, but when the motor is connected in reverse rotation, the signal is dropped to OV and becomes the low level, and the A-phase pulse is output as it is,
The B-phase pulse is inverted and output. The pulse output from the reverse rotation inverting circuit 3 is input to the code discriminating circuit 6 via the line driver 4 and the line receiver 5. Sign determination circuit 6
Outputs a count-up sign and a pulse when the phase of the A-phase pulse is ahead of the phase of the B-phase pulse or its inverted pulse, and the phase of the A-phase pulse is greater than that of the B-phase pulse or its inverted pulse. If the phase is late, a countdown sign and pulse are output. The counter 7 counts up with an up pulse and counts down with a down pulse. The CPU 8 ′ detects rotation amount data of one or more rotations from the A-phase pulse output from the line receiver 5, and detects rotation amount data of less than one rotation based on the count value output from the counter 7. Is on (indicating that the motor is connected in reverse rotation), the sign of these rotation amount data is inverted.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従来
はスイッチを設け、モータを逆回転接続した場合、スイ
ッチをオンしてCPUにモータを逆回転接続したことを
伝え、回転量データを反転して処理していたが、制御装
置等を交換してモータ側のコネクタあるいはケーブルの
接続とスイッチの設定が一致していなかった場合、モー
タが指令と逆方向に回転してしまい事故につながるとい
う問題があった。本発明の目的は、スイッチを用いずに
モータの通常接続/逆回転接続を判別し、モータの回転
位置が間違って機械が暴走するの無くした、モータの逆
回転接続判別方法およびモータ回転量検出装置を提供す
ることにある。
As described above, conventionally, when a switch is provided and the motor is connected in reverse rotation, the switch is turned on to inform the CPU that the motor is connected in reverse rotation, and the rotation amount data is inverted. If the control device is replaced and the connection of the connector or cable on the motor side does not match the setting of the switch, the motor will rotate in the opposite direction to the command and lead to an accident. There was a problem. SUMMARY OF THE INVENTION It is an object of the present invention to discriminate between a normal connection and a reverse rotation connection of a motor without using a switch, to prevent the machine from running out of control due to a wrong rotation position of the motor, and to detect a motor reverse rotation connection and a motor rotation amount detection. It is to provide a device.

【0004】[0004]

【課題を解決するための手段】本発明の、モータの逆回
転接続判別方法は、A相パルスより1回転以上の回転数
データを検出中に、B相パルスを、モータの通常接続の
場合にはそのまま出力し、モータの逆回転接続の場合に
は反転する逆回転反転回路の出力を観測し、そのレベル
によりモータが逆回転接続されているかどうか判別す
る。逆回転接続設定のスイッチを無くし、CPU内でモ
ータの通常接続/逆回転接続を自動的に判定するので、
回転量データが間違って、機械が暴走することがなくな
る。また、本発明のモータ位置検出装置は、絶対値エン
コーダのB相パルスを入力し、モータの逆回転接続の場
合にはB相パルスを反転して出力する逆回転反転回路
と、前記絶対値エンコーダのA相パルスと、前記逆回転
反転回路の出力パルスを入力し、符号を判別してカウン
トして位置とする符号判別・カウンタ回路と、電源投入
時、前記A相パルスより1回転以上の回転数データを検
出し、その後前記符号判別・カウンタ回路のカウント値
から1回転未満の回転数を検出し、1回転以上の回転数
データを検出中にB相パルスを観測し、B相パルスがロ
ウレベルであれば1回転以上の回転数データの符号を反
転するCPUを有する。
SUMMARY OF THE INVENTION The present invention provides a method for determining the reverse rotation connection of a motor, in which a B-phase pulse is detected during rotation data of one or more rotations from an A-phase pulse. Is output as it is, and in the case of reverse rotation connection of the motor, the output of the reverse rotation reversing circuit which reverses is observed, and it is determined whether or not the motor is reversely connected based on the level thereof. Since the reverse rotation connection setting switch is eliminated and the normal connection / reverse rotation connection of the motor is automatically determined in the CPU,
The machine does not run away due to incorrect rotation amount data. Further, the motor position detecting device of the present invention comprises: a reverse rotation inverting circuit for receiving a B-phase pulse of an absolute encoder and inverting and outputting the B-phase pulse when the motor is connected in reverse rotation; A phase determination pulse and an output pulse of the reverse rotation inverting circuit are inputted, and a code determination / counter circuit which determines a code and counts the position and a rotation of at least one rotation from the A phase pulse when power is turned on. Number data, then detect the number of revolutions less than one revolution from the count value of the code discriminating / counter circuit, observe the B-phase pulse while detecting the revolution number data of one or more revolutions, If so, a CPU for inverting the sign of the rotation speed data of one or more rotations is provided.

【0005】本発明の実施態様によれば、前記逆回転反
転回路と前記符号判別回路の間にラインドライバとライ
ンレシーバが接続されている。
According to an embodiment of the present invention, a line driver and a line receiver are connected between the reverse rotation inverting circuit and the code discriminating circuit.

【0006】[0006]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明の一実施形態
のモータ位置検出装置のブロック図、図2(1)、
(2)はそれぞれモータ正転時、モータ逆回転時の回転
量データを示す図である。本実施形態では、図2の実施
形態と比較して、逆接続スイッチ9が無くなり、エンコ
ーダ入力回路2から出力されたA相パルスはラインドラ
イバ4に直接入力し、逆回転反転回路3はB相パルスま
たはその反転パルスのみを出力し、CPU8の処理が異
なっている。ただし、逆回転反転回路3は逆回転反転回
路3’と同じでもよい。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a motor position detecting device according to an embodiment of the present invention, and FIG.
(2) is a diagram showing rotation amount data at the time of motor forward rotation and motor reverse rotation, respectively. In this embodiment, as compared with the embodiment of FIG. 2, the reverse connection switch 9 is eliminated, the A-phase pulse output from the encoder input circuit 2 is directly input to the line driver 4, and the reverse rotation inversion circuit 3 Only a pulse or its inverted pulse is output, and the processing of the CPU 8 is different. However, the reverse rotation inversion circuit 3 may be the same as the reverse rotation inversion circuit 3 '.

【0007】CPU8は、電源投入時、従来と同じくA
相パルスより1回転以上の回転数データ(多回転デー
タ)を検出するが、このときラインレシーバ5の他の出
力パルス(B相パルスまたはその反転パルス)を観測
し、図2(1)のように、ハイレベルであれば、モータ
は通常接続されているものと判定し、図2(2)に示す
ように、ロウレベルであれば、モータは逆回転接続され
ているものと判定し、多回転データの符号を反転する。
なお、本実施形態では逆回転反転回路3と符号判別回路
6の間ラインドライバ4とレシーバ5が接続されている
が、逆回転反転回路3と符号判別回路6は直接接続され
ていてもよい。また、逆回転反転回路3の前または後に
分周回路等が入っていてもよい。
When the power is turned on, the CPU 8 operates in the same manner as in the prior art.
At least one rotation data (multi-rotation data) is detected from the phase pulse. At this time, another output pulse (B-phase pulse or its inverted pulse) of the line receiver 5 is observed, and as shown in FIG. On the other hand, if the level is high, it is determined that the motor is normally connected. If the level is low, it is determined that the motor is reversely connected, as shown in FIG. Invert the sign of the data.
In this embodiment, the line driver 4 and the receiver 5 are connected between the reverse rotation inverting circuit 3 and the sign discriminating circuit 6, but the reverse rotation inverting circuit 3 and the sign discriminating circuit 6 may be directly connected. Further, a frequency dividing circuit or the like may be provided before or after the reverse rotation inverting circuit 3.

【0008】[0008]

【発明の効果】以上説明したように、本発明は、1回転
以上の回転数データを観測中にB相パルスを観測し、そ
のレベルによりモータの通常接続/逆回転接続を判定す
ることにより、回転量データが間違って機械が暴走する
という事故がなくなる効果がある。
As described above, according to the present invention, the B-phase pulse is observed while observing the rotation speed data of one or more rotations, and the normal connection / reverse rotation connection of the motor is determined based on the level thereof. This has the effect of eliminating an accident that the machine runs away due to incorrect rotation amount data.

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

【図1】本発明の一実施形態のモータ位置検出装置はブ
ロック図である。
FIG. 1 is a block diagram illustrating a motor position detecting device according to an embodiment of the present invention.

【図2】モータ正転時、モータ逆回転時の回転量データ
を示す図である。
FIG. 2 is a diagram showing rotation amount data during forward rotation of the motor and reverse rotation of the motor.

【図3】モータ位置検出装置の従来例のブロック図であ
る。
FIG. 3 is a block diagram of a conventional example of a motor position detecting device.

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

1 絶対値エンコーダ 2 エンコーダ入力回路 3、3’ 逆回転反転回路 4 ラインドライバ 5 ラインレシーバ 6 符号判別回路 7 カウンタ 8、8’ CPU 9 逆接続スイッチ 10 プルアップ抵抗 DESCRIPTION OF SYMBOLS 1 Absolute value encoder 2 Encoder input circuit 3, 3 'reverse rotation inversion circuit 4 Line driver 5 Line receiver 6 Code discrimination circuit 7 Counter 8, 8' CPU 9 Reverse connection switch 10 Pull-up resistor

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 電源投入時、絶対値エンコーダから出力
されるA相パルスより1回転以上の回転数データを検出
し、その後A相パルスとB相パルスで1回転未満の回転
数を検出し、その後前記絶対値エンコーダはインクリメ
ンタルエンコーダとして働くサーボ制御装置におけるモ
ータ逆回転接続識別方法であって、 A相パルスより1回転以上の回転数データを検出中に、
B相パルスを、モータの通常接続の場合にはそのまま出
力し、モータの逆回転接続の場合には反転する逆回転反
転回路の出力を観測し、そのレベルによりモータが逆回
転接続されているかどうか判別する、モータの逆回転接
続判別方法。
When power is turned on, rotation speed data of one or more rotations is detected from an A-phase pulse output from an absolute value encoder, and then rotation speeds of less than one rotation are detected by an A-phase pulse and a B-phase pulse. Thereafter, the absolute value encoder is a motor reverse rotation connection identification method in a servo control device that functions as an incremental encoder, and while detecting rotation speed data of one or more rotations from the A-phase pulse,
The B-phase pulse is output as it is in the case of normal connection of the motor, and in the case of reverse rotation of the motor, the output of the reverse rotation inversion circuit that reverses is observed. A method for determining the reverse rotation connection of the motor.
【請求項2】 電源投入時、絶対値エンコーダから出力
されるA相パルスより1回転以上の回転数データを検出
し、その後A相パルスとB相パルスで1回転未満の回転
数を検出し、その後前記絶対値エンコーダはインクリメ
ンタルエンコーダとして働くサーボ制御装置におけるモ
ータ位置検出装置であって、 前記絶対値エンコーダのB相パルスを入力し、モータの
通常回転接続の場合にはB相パルスをそのまま出力し、
モータの逆回転接続の場合にはB相パルスを反転して出
力する逆回転反転回路と、前記絶対値エンコーダのA相
パルスと、前記逆回転反転回路の出力パルスを入力し、
符号を判別してカウントして位置とする符号判別・カウ
ンタ回路と、電源投入時、前記A相パルスより1回転以
上の回転数データを検出し、その後前記符号判別・カウ
ンタ回路のカウント値から1回転未満の回転数を検出
し、1回転以上の回転数をデータを検出中にB相パルス
を観測し,B相パルスがロウレベルであれば1回転以上
の回転数データの符号を反転するCPUとを有するモー
タ位置検出装置。
2. When power is turned on, data of one or more rotations is detected from an A-phase pulse output from an absolute value encoder, and then less than one rotation is detected by an A-phase pulse and a B-phase pulse. Thereafter, the absolute value encoder is a motor position detecting device in a servo control device acting as an incremental encoder, and receives the B-phase pulse of the absolute value encoder, and outputs the B-phase pulse as it is in the case of a normal rotation connection of the motor. ,
In the case of reverse rotation connection of the motor, a reverse rotation inversion circuit that inverts and outputs a B-phase pulse, an A-phase pulse of the absolute value encoder, and an output pulse of the reverse rotation inversion circuit,
A code discriminating / counter circuit for discriminating and counting the sign to determine a position, and when power is turned on, detecting rotation speed data of one or more rotations from the A-phase pulse, and then detecting 1 count from the count value of the sign discriminating / counter circuit. A CPU for detecting a rotational speed less than one rotation, observing a B-phase pulse while detecting data for one or more rotations, and inverting the sign of one or more rotational speed data if the B-phase pulse is at a low level; A motor position detecting device having:
【請求項3】 前記逆回転反転回路と前記符号判別回路
の間にラインドライバとラインレシーバが接続されてい
る請求項2記載のモータ位置検出装置。
3. The motor position detecting device according to claim 2, wherein a line driver and a line receiver are connected between said reverse rotation inverting circuit and said code discriminating circuit.
JP25489996A 1996-09-26 1996-09-26 Motor reverse rotation connection determination method and motor position detection device Expired - Fee Related JP3705308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25489996A JP3705308B2 (en) 1996-09-26 1996-09-26 Motor reverse rotation connection determination method and motor position detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25489996A JP3705308B2 (en) 1996-09-26 1996-09-26 Motor reverse rotation connection determination method and motor position detection device

Publications (2)

Publication Number Publication Date
JPH10108354A true JPH10108354A (en) 1998-04-24
JP3705308B2 JP3705308B2 (en) 2005-10-12

Family

ID=17271397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25489996A Expired - Fee Related JP3705308B2 (en) 1996-09-26 1996-09-26 Motor reverse rotation connection determination method and motor position detection device

Country Status (1)

Country Link
JP (1) JP3705308B2 (en)

Also Published As

Publication number Publication date
JP3705308B2 (en) 2005-10-12

Similar Documents

Publication Publication Date Title
US4794536A (en) Steering angle detection device
KR860003493A (en) Robot angle detection device
JPH10108354A (en) Method of judging inversive connection of motor, and motor position detector
JP3047809B2 (en) Rotary encoder
JPH109894A (en) Method for detecting abnormality of encoder signal in motor control device
JP2001249154A (en) Disconnection detecting device for encoder and method for disconnection detection
US6246343B1 (en) Increment encoder failure detection
JP3250356B2 (en) Rotational position detector
US5185563A (en) Error detecting unit for a rotational detector
JPS6348179A (en) Rotational frequency monitor
JP4042239B2 (en) Encoder pulse generator
KR100227739B1 (en) Motor control apparatus and its method
JP3058360B2 (en) Servo motor runaway detection / prevention method
JP4419225B2 (en) Rotary encoder
JPH01148906A (en) Apparatus for detecting angle of rotation of industrial robot
KR0139605B1 (en) Method for counting the rotation number of an inverter washing machine
JPH0420122B2 (en)
JPH0664293B2 (en) Microfilm search device
KR0170331B1 (en) Method and apparatus for detecting absolute position signal of motor of incremental encoder
JPH0651834A (en) Cycle timer
KR19980076031A (en) Apparatus and method for detecting abnormality of feedback signal line of servo motor encoder
JPH08258694A (en) Failure sensing method for input capture circuit
JPS6126811A (en) Detecting device for steering angle
JP2723757B2 (en) Motor control device
JPS5940206A (en) Display device for vehicle

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050330

A521 Written amendment

Effective date: 20050530

Free format text: JAPANESE INTERMEDIATE CODE: A523

RD03 Notification of appointment of power of attorney

Effective date: 20050530

Free format text: JAPANESE INTERMEDIATE CODE: A7423

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

A61 First payment of annual fees (during grant procedure)

Effective date: 20050719

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees