JP2004178081A - Encoder system - Google Patents

Encoder system Download PDF

Info

Publication number
JP2004178081A
JP2004178081A JP2002341151A JP2002341151A JP2004178081A JP 2004178081 A JP2004178081 A JP 2004178081A JP 2002341151 A JP2002341151 A JP 2002341151A JP 2002341151 A JP2002341151 A JP 2002341151A JP 2004178081 A JP2004178081 A JP 2004178081A
Authority
JP
Japan
Prior art keywords
encoder
signal
host controller
line
encoder system
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
JP2002341151A
Other languages
Japanese (ja)
Inventor
Kenji Hara
憲二 原
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 JP2002341151A priority Critical patent/JP2004178081A/en
Publication of JP2004178081A publication Critical patent/JP2004178081A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Manipulator (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an encoder system in which it is possible to integrate a signal cable between a robot main body and a host controller into one, and to increase the degree of freedom of wiring, and it is not necessary to connect a terminator to a termination. <P>SOLUTION: This encoder system is provided with a line concentration substrate 5 having one line receiver 51 and one line driver 57 for transferring a signal from a host controller and a plurality of transmitting/receiving circuits 50 connected to respective encoders for transmitting an information reception request signal RQ, and for receiving position information ANS from each encoder. While this encoder system is configured as a daisy chain when viewed from the host controller, it is star-connected to a line concentration means when internally viewed. Thus, it is possible to integrate a signal cable between the robot main body and the host controller into one, and to increase the degree of freedom of wiring, and it is not necessary to connect a terminator to a termination. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、産業機器特にロボットの位置検出器として使用されるエンコーダシステムに関する。
【0002】
【従来の技術】
ロボットにおいては、複数の軸の位置をそれぞれエンコーダで検出してコントローラに入力し、位置指令に対して正確にロボットが動作するように位置制御を行っている。したがって、複数のエンコーダの出力がコントローラに入力されることになる。
従来においては、例えば特公平6−19660号公報(特許文献1)に記載されているように、複数のエンコーダから、上位コントローラへ1対1で、即ち軸数分の伝送路となる信号ケーブルを接続して信号を伝送していた。しかし、通常上位コントローラはロボット本体とは別の筐体に設置されるため、ロボット本体と上位コントローラとの間に多くの信号ケーブルが接続されることになり、ロボット回りが輻輳してロボットの動作と干渉しない配線が必要となるなどの問題があった。
【0003】
このような問題を解消するために、本出願人は先に特願2002−135236号において、複数のエンコーダをケーブルで数珠繋ぎにするデージーチェーン方式のエンコーダを提案した。図4はそのデージーチェーンで接続されたエンコーダを示している。デージーチェーン接続は、一本(実際はRS485の差動伝送路であり、電気的には2本)の信号ケーブル11に複数のラインドライバとレシーバ(いずれも図示せず)が接続され、アクティブなドライバが信号ケーブル11にデータを送る。ここで上位コントローラからの信号はコネクタ12に接続され、更に隣のエンコーダ13に接続される。最後のエンコーダ13にはターミネータ14を接続する。
図5は図4に示したデージーチェーン方式のエンコーダを用いた通信の状態を表すタイムチャートである。上位コントローラはエンコーダのアドレスを指定してエンコーダにRQ信号(送信要求信号)を送る。一点鎖線の上部がそれである。指定されたアドレスのエンコーダは自分のデータANS信号を送り返す。一点鎖線の下部がそれに相当する。
【0004】
【特許文献1】
特公平6−19660号公報(第2頁、図4、図7)
【0005】
【発明が解決しようとする課題】
上述したように、デージーチェーン方式のエンコーダではロボット本体と上位コントローラの間のエンコーダ信号が1本になることが利点ではあるが、図4の形態では図の左の上流に相当するエンコーダと上位コントローラの間の電源ケーブルは5軸分の容量が必要となり、太いケーブルを使用しなければならないと共に、伝送路となる信号ケーブル11の配線の引き回しが一筆書きとなるので、配線が面倒である。
近年では、ロボット本体と上位コントローラの間の信号ケーブルの配線数を減ずることが求められており、エンコーダ信号をデージーチェーンで接続し、上位コントローラへ行く信号ケーブルを1本にすることが求められている。しかしながらロボット内部でのデージーチェーン接続は、一筆書きにしたり、コネクタがロボットに2個必要となったり、終端にターミネータを付けなければならない等の複雑な作業が発生したり、耐ノイズ性に劣る等の問題点がある。
そこで本発明は、ロボット本体と上位コントローラとの間の信号ケーブルを1本にでき、かつ配線の自由度が高く、終端にターミネータを接続する必要のないエンコーダシステムを提供することを目的とする。
【0006】
【課題を解決するための手段】
前記課題を解決するため、本発明のエンコーダシステムは、上位コントローラからの信号の授受を行う1つのラインレシーバおよび1つのラインドライバと、複数のエンコーダのそれぞれに接続され情報受信要求信号を伝送すると共に各エンコーダからの位置情報を受け取る複数の送受信回路とを有する集線手段を備えたことを特徴とする。
本発明においては、デージーチェーン接続可能な複数のエンコーダに対して、上位コントローラからの信号をロボット内部等で各エンコーダに1対1接続で分配し、応答のあったエンコーダからの信号を、上位コントローラに送る集線機能を有する。この構成により、上位コントローラから見るとデージーチェーンではあるが内部的には集線手段にスター接続とすることで、ロボット本体と上位コントローラとの間の信号ケーブルを1本にでき、かつ配線の自由度が高く、終端にターミネータを接続する必要のないエンコーダシステムが得られる。
前記集線手段に接続されるエンコーダには、ターミネータを内蔵することで、デージーチェーン接続が可能となる。
【0007】
【発明の実施の形態】
以下、本発明の実施の形態を図1から図3を用いて説明する。
図1は本発明の実施の形態を示すエンコーダシステムであり、複数のエンコーダ1と、各エンコーダ1にコネクタ2を介して接続された信号ケーブル3と、これらの信号ケーブル3からコネクタ4を介して信号をまとめる集線基板5とからなっている。集線基板5は、信号ケーブル6により上位コントローラに接続される。
【0008】
この構成を上位コントローラから見ると、従来の図4に示す構成と同等となり、あたかもコントローラから出た線に複数のエンコーダが接続されたようになっている。当然ロボット本体との信号ケーブル6は1本である。しかし、実際の配線は集線基板5からエンコーダ1に対して1対1の接続となるので、エンコーダ1にはコネクタ2を2個付ける必要は無く、ターミネータも常に内蔵できる。
【0009】
図2は集線基板5の内部回路を示している。図において、集線基板5は、上位コントローラからの信号の授受を行う1つのラインレシーバ51および1つのラインドライバ57と、複数のエンコーダのそれぞれに接続され情報受信要求信号を伝送すると共に各エンコーダからの位置情報を受け取る複数の送受信回路50とを備えている。詳細には、集線基板5には、上位コントローラからの信号を受けるラインレシーバ51と、各エンコーダに位置情報要求信号RQを送るラインドライバ52と、エンコーダ1からのデータを受けるラインレシーバ53と、SEND信号とフォトカプラ61のON信号の否定的論理和をとるNOR回路54と、ラインレシーバ53の出力とNOR回路54の否定的論理積をとるNAND回路55と、各送受信回路50のNAND回路55からの出力の論理和をとるNANDゲート56と、NANDゲート56で収集されたANS信号を上位コントローラへ伝送するラインドライバ57と、各送受信回路50のNOR回路54の出力の論理和をとるORゲート58と、ORゲート58の信号と上位コントローラからの信号でONになるフォトカプラ60の信号の否定的論理和をとるNOR回路59が設けられている。
フォトカプラ60,61の入力側には、それぞれターミネータ抵抗Rが接続されている。
【0010】
次に、この集線基板5の動作について、図2および図3を用いて説明する。
まず、上位コントローラからの送信要求RQ信号を送るために上位コントローラのラインドライバ57のDT/R信号がHになりアクティブになると、伝送路に図3に示す循環電流が流れる。すなわちラインドライバ57の入力信号がHであると反時計回りに、Lであれば時計回りに電流が流れる。AC入力タイプのフォトカプラ60をターミネータ抵抗Rと直列に入れると、ラインドライバ57の信号入力がHでもLでもフォトカプラ60はONすることになる。すなわちフォトカプラ60がONしているときは上位コントローラのラインドライバ57がアクティブで、信号を送る状態であることがわかる。
次に図2を参照して説明する。上位コントローラから信号が送られて来ていることを検出すると、SEND信号がHになる。上位コントローラからの伝送路の信号はラインレシーバ51で受けられ、上位コントローラのRQ信号として各エンコーダに対するラインドライバ52に伝送される。SEND信号がHになるとラインドライバ52はアクティブになりコネクタ4を介して接続されているエンコーダにデータを送る。エンコーダ1が自分のアドレスを確認しエンコーダ内部のラインドライバをアクティブにしANS信号を送ると、フォトカプラ61がONし、SEND信号がLであるのでNOR回路54はHを出力し、DT/RラインをHにし、ラインドライバ57をアクティブにする。エンコーダからのデータを受けたラインレシーバ53の出力は、NOR回路54の出力でNANDゲート56で選択し、エンコーダのANS信号として前記アクティブになったラインドライバ57の入力とすることで、上位コントローラへエンコーダのデータを送る。
【0011】
【発明の効果】
本発明によれば、上位コントローラからの信号の授受を行う1つのラインレシーバおよび1つのラインドライバと、複数のエンコーダのそれぞれに接続され情報受信要求信号を伝送すると共に各エンコーダからの位置情報を受け取る複数の送受信回路とを有する集線手段を備えたことにより、物理的にはスター接続でもシステム的にはデージーチェーン接続となり、配線が容易で、耐ノイズ性にすぐれたエンコーダシステムを提供することができる。
また、集線手段に接続されるエンコーダにターミネータを内蔵することで、デージーチェーン接続が可能となる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るエンコーダシステムの概要を示すブロック図である。
【図2】本発明の実施の形態における集線基板の構成を示す回路図である。
【図3】本発明の実施の形態における集線基板の動作を示す回路図である。
【図4】従来のデージーチェーン方式のエンコーダの接続状態を示す説明図である。
【図5】従来のデージーチェーン方式の通信の状態を示すタイムチャートである。
【符号の説明】
1 エンコーダ
2 コネクタ
3 信号ケーブル
4 コネクタ
5 集線基板
6 ケーブル
50 送受信回路
51 ラインレシーバ
52 ラインドライバ
53 ラインレシーバ
54 NOR回路
55 NAND回路
56 NANDゲート
57 ラインドライバ
58 ORゲート
59 NOR回路
60,61 フォトカプラ
ターミネータ抵抗
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an encoder system used as a position detector of industrial equipment, particularly a robot.
[0002]
[Prior art]
In a robot, the positions of a plurality of axes are respectively detected by encoders and input to a controller, and position control is performed so that the robot operates accurately in response to a position command. Therefore, outputs of a plurality of encoders are input to the controller.
Conventionally, as described in, for example, Japanese Patent Publication No. 6-19660 (Patent Document 1), a signal cable serving as a transmission path for a number of axes from a plurality of encoders to a host controller in a one-to-one manner. Connected and transmitted signals. However, since the host controller is usually installed in a separate housing from the robot main unit, many signal cables are connected between the robot main unit and the host controller. There is a problem that wiring that does not interfere with the need is required.
[0003]
In order to solve such a problem, the present applicant has previously proposed in Japanese Patent Application No. 2002-135236 a daisy-chain type encoder in which a plurality of encoders are connected in a daisy chain. FIG. 4 shows the encoders connected by the daisy chain. In the daisy chain connection, a plurality of line drivers and receivers (both not shown) are connected to one (actually, an RS485 differential transmission path, and electrically two) signal cable 11, and an active driver is connected. Sends data to the signal cable 11. Here, the signal from the host controller is connected to the connector 12 and further to the next encoder 13. A terminator 14 is connected to the last encoder 13.
FIG. 5 is a time chart showing a state of communication using the daisy-chain encoder shown in FIG. The host controller sends an RQ signal (transmission request signal) to the encoder by specifying the address of the encoder. That is the upper part of the dashed line. The encoder at the specified address sends back its own data ANS signal. The lower part of the dashed line corresponds to this.
[0004]
[Patent Document 1]
Japanese Patent Publication No. 6-19660 (page 2, FIG. 4, FIG. 7)
[0005]
[Problems to be solved by the invention]
As described above, an advantage of the daisy chain encoder is that the encoder signal between the robot body and the host controller is one, but in the embodiment of FIG. The power supply cable between them needs a capacity for five axes, and a thick cable must be used, and the wiring of the signal cable 11 serving as a transmission path is drawn by one stroke, so that the wiring is troublesome.
In recent years, it has been required to reduce the number of signal cables between the robot body and the host controller, and it has been required to connect the encoder signals in a daisy chain and to use only one signal cable going to the host controller. I have. However, the daisy chain connection inside the robot requires complicated work such as drawing with one stroke, requiring two connectors for the robot, attaching a terminator at the end, and inferior noise resistance. There is a problem.
Therefore, an object of the present invention is to provide an encoder system that can use a single signal cable between the robot main body and the host controller, has a high degree of freedom in wiring, and does not need to connect a terminator to the end.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, an encoder system according to the present invention includes a line receiver and a line driver for transmitting and receiving a signal from a host controller, and an information reception request signal connected to each of a plurality of encoders. A line concentrator having a plurality of transmission / reception circuits for receiving position information from each encoder is provided.
In the present invention, a signal from a host controller is distributed to a plurality of encoders that can be connected in a daisy chain to each encoder in a robot or the like in a one-to-one connection, and a signal from a responding encoder is sent to a host controller. It has a concentrator function to send to According to this configuration, although it is a daisy chain from the viewpoint of the host controller, the signal connection between the robot body and the host controller can be reduced to one by internally connecting the concentrator to a star connection, and the degree of freedom of wiring is increased. And an encoder system that does not require a terminator to be connected at the end is obtained.
A daisy-chain connection is possible by incorporating a terminator in the encoder connected to the concentrator.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS.
FIG. 1 illustrates an encoder system according to an embodiment of the present invention. The encoder system includes a plurality of encoders 1, a signal cable 3 connected to each encoder 1 via a connector 2, and a signal cable 3 connected to each encoder 1 via a connector 4. And a concentrator board 5 for collecting signals. The concentrator board 5 is connected to a host controller by a signal cable 6.
[0008]
When viewed from the host controller, this configuration is equivalent to the conventional configuration shown in FIG. 4, and it is as if a plurality of encoders were connected to a line coming out of the controller. Naturally, the number of signal cables 6 to the robot body is one. However, since the actual wiring is connected one-to-one from the wiring board 5 to the encoder 1, there is no need to attach two connectors 2 to the encoder 1, and a terminator can always be built in.
[0009]
FIG. 2 shows an internal circuit of the wiring board 5. In the figure, a concentrator board 5 is connected to one line receiver 51 and one line driver 57 for transmitting and receiving signals from a higher-level controller, and a plurality of encoders to transmit information reception request signals and to transmit information reception request signals. And a plurality of transmission / reception circuits 50 for receiving position information. More specifically, the line concentrator 5 includes a line receiver 51 for receiving a signal from a host controller, a line driver 52 for sending a position information request signal RQ to each encoder, a line receiver 53 for receiving data from the encoder 1, and a SEND. A NOR circuit 54 that performs a logical OR operation of the signal and the ON signal of the photocoupler 61, a NAND circuit 55 that performs a logical AND operation between the output of the line receiver 53 and the NOR circuit 54, and a NAND circuit 55 of each transmitting / receiving circuit 50 , A line driver 57 for transmitting the ANS signal collected by the NAND gate 56 to the higher-level controller, and an OR gate 58 for ORing the outputs of the NOR circuits 54 of the transmission / reception circuits 50 And a photocoupler that is turned on by a signal from the OR gate 58 and a signal from the host controller. NOR circuit 59 is provided to take a negative logical sum of 60 signals.
Terminator resistors RT are connected to the input sides of the photocouplers 60 and 61, respectively.
[0010]
Next, the operation of the concentrator board 5 will be described with reference to FIGS.
First, when the DT / R signal of the line driver 57 of the higher-level controller becomes H and becomes active in order to transmit a transmission request RQ signal from the higher-level controller, a circulating current shown in FIG. 3 flows through the transmission line. That is, a current flows counterclockwise when the input signal of the line driver 57 is H, and clockwise when it is L. When the photocoupler 60 of the AC input type is inserted in series with the terminator resistor RT , the photocoupler 60 is turned on regardless of whether the signal input of the line driver 57 is H or L. That is, when the photocoupler 60 is ON, it is understood that the line driver 57 of the upper controller is active and is in a state of transmitting a signal.
Next, a description will be given with reference to FIG. When detecting that a signal is sent from the host controller, the SEND signal becomes H. A signal on the transmission path from the upper controller is received by the line receiver 51 and transmitted to the line driver 52 for each encoder as an RQ signal of the upper controller. When the SEND signal becomes H, the line driver 52 becomes active and sends data to the encoder connected via the connector 4. When the encoder 1 confirms its own address, activates the line driver inside the encoder and sends an ANS signal, the photocoupler 61 is turned on and the NOR circuit 54 outputs H because the SEND signal is L, and the DT / R line Is set to H, and the line driver 57 is activated. The output of the line receiver 53 receiving the data from the encoder is selected by the NAND gate 56 at the output of the NOR circuit 54, and is input to the activated line driver 57 as the ANS signal of the encoder. Send encoder data.
[0011]
【The invention's effect】
According to the present invention, one line receiver and one line driver for transmitting and receiving signals from a host controller are connected to each of a plurality of encoders to transmit an information reception request signal and receive position information from each encoder. By providing the concentrator having a plurality of transmission / reception circuits, it is possible to provide an encoder system which is easily connected to a daisy chain even when physically connected in a star connection and has excellent noise resistance. .
By incorporating a terminator in the encoder connected to the concentrator, daisy-chain connection is possible.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an outline of an encoder system according to an embodiment of the present invention.
FIG. 2 is a circuit diagram showing a configuration of a concentrator board according to the embodiment of the present invention.
FIG. 3 is a circuit diagram showing an operation of the concentrator according to the embodiment of the present invention.
FIG. 4 is an explanatory diagram showing a connection state of a conventional daisy chain encoder.
FIG. 5 is a time chart showing a state of a conventional daisy chain communication.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Encoder 2 Connector 3 Signal cable 4 Connector 5 Concentration board 6 Cable 50 Transmission / reception circuit 51 Line receiver 52 Line driver 53 Line receiver 54 NOR circuit 55 NAND circuit 56 NAND gate 57 Line driver 58 OR gate 59 NOR circuit 60, 61 Photocoupler R T terminator resistance

Claims (2)

上位コントローラからの信号の授受を行う1つのラインレシーバおよび1つのラインドライバと、複数のエンコーダのそれぞれに接続され情報受信要求信号を伝送すると共に各エンコーダからの位置情報を受け取る複数の送受信回路とを有する集線手段を備えたことを特徴とするエンコーダシステム。One line receiver and one line driver for transmitting and receiving signals from the host controller, and a plurality of transmission / reception circuits connected to each of the plurality of encoders for transmitting an information reception request signal and receiving position information from each encoder. An encoder system comprising: 前記集線手段に接続されるエンコーダは、ターミネータを内蔵することを特徴とする請求項1記載のエンコーダシステム。The encoder system according to claim 1, wherein the encoder connected to the concentrator has a built-in terminator.
JP2002341151A 2002-11-25 2002-11-25 Encoder system Pending JP2004178081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002341151A JP2004178081A (en) 2002-11-25 2002-11-25 Encoder system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002341151A JP2004178081A (en) 2002-11-25 2002-11-25 Encoder system

Publications (1)

Publication Number Publication Date
JP2004178081A true JP2004178081A (en) 2004-06-24

Family

ID=32703604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002341151A Pending JP2004178081A (en) 2002-11-25 2002-11-25 Encoder system

Country Status (1)

Country Link
JP (1) JP2004178081A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100797235B1 (en) 2006-03-06 2008-01-23 고요덴시고교 가부시키가이샤 Magnetic encoder
KR100804361B1 (en) * 2005-11-11 2008-02-15 고요덴시고교 가부시키가이샤 Magnetic encoder
EP2868446A1 (en) * 2013-11-01 2015-05-06 Seiko Epson Corporation Robot, controller, and robot system
US10454699B2 (en) 2014-11-05 2019-10-22 Nec Corporation Hub apparatus and control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100804361B1 (en) * 2005-11-11 2008-02-15 고요덴시고교 가부시키가이샤 Magnetic encoder
KR100797235B1 (en) 2006-03-06 2008-01-23 고요덴시고교 가부시키가이샤 Magnetic encoder
EP2868446A1 (en) * 2013-11-01 2015-05-06 Seiko Epson Corporation Robot, controller, and robot system
US9975240B2 (en) 2013-11-01 2018-05-22 Seiko Epson Corporation Robot, controller, and robot system
US10454699B2 (en) 2014-11-05 2019-10-22 Nec Corporation Hub apparatus and control system

Similar Documents

Publication Publication Date Title
US6516205B1 (en) Portable terminal with bus manager switching function
EP0679275B1 (en) A communication node with a first bus configuration for arbitration and a second bus configuration for data transfer
US5579486A (en) Communication node with a first bus configuration for arbitration and a second bus configuration for data transfer
US6119183A (en) Multi-port switching system and method for a computer bus
CN108647180A (en) A kind of arithmetic system and corresponding electronic equipment
CN208477523U (en) A kind of arithmetic system and corresponding electronic equipment
JPH10301898A (en) Electronic equipment and interface circuit
CN104678809A (en) Universal sensor control equipment and system
JP2004178081A (en) Encoder system
CN110113209B (en) MIPI (Mobile industry processor interface) protocol-based inter-device communication method and equipment topological structure
CN115442178B (en) Multi-axis servo bus control circuit and multi-axis servo system
CN217508761U (en) RS-485 communication circuit, integrated circuit and electronic equipment
CN221631961U (en) Intelligent switching circuit and industrial control equipment
CN117939040B (en) Vehicle-mounted monitoring circuit, vehicle and switching method
JP3571091B2 (en) Fixed channel type gate array
JPH11175126A (en) Function adding method for cnc device
JP3388254B2 (en) Nest
JP3983330B2 (en) Computer apparatus, electronic component mounting apparatus using the same, and control method in computer apparatus
JPS622742A (en) Collision detecting system
JPH05289789A (en) Input/output device
JP2600495Y2 (en) Input / output signal switching circuit for POS terminal
JP2902411B2 (en) Data transmission equipment
JPH01241237A (en) Connection system for master equipment and slave equipment
KR900004030B1 (en) Multi access network device
KR100286226B1 (en) Single termination signal/differential termination signal changing apparatus