JP5096887B2 - Rotary encoder - Google Patents

Rotary encoder Download PDF

Info

Publication number
JP5096887B2
JP5096887B2 JP2007300682A JP2007300682A JP5096887B2 JP 5096887 B2 JP5096887 B2 JP 5096887B2 JP 2007300682 A JP2007300682 A JP 2007300682A JP 2007300682 A JP2007300682 A JP 2007300682A JP 5096887 B2 JP5096887 B2 JP 5096887B2
Authority
JP
Japan
Prior art keywords
light receiving
light
phase
phase signal
outputs
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.)
Active
Application number
JP2007300682A
Other languages
Japanese (ja)
Other versions
JP2009128061A (en
Inventor
正治 長谷川
克博 橋本
いずみ 長田
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries 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 Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP2007300682A priority Critical patent/JP5096887B2/en
Publication of JP2009128061A publication Critical patent/JP2009128061A/en
Application granted granted Critical
Publication of JP5096887B2 publication Critical patent/JP5096887B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Transform (AREA)

Description

本発明は、アブソリュート型やインクリメンタル型のロータリエンコーダに関するものである。本発明のロータリエンコーダは、円周方向複数の回転スリットを設けた回転スリット板に対して固定スリットを介して投光素子から光を当てて上記両スリットを通過した光信号を受光素子で受光し、この受光に応答して受光素子から出力される信号から回転情報を得るエンコーダである。   The present invention relates to an absolute type or incremental type rotary encoder. The rotary encoder of the present invention applies light from a light projecting element to a rotating slit plate provided with a plurality of rotating slits in the circumferential direction via a fixed slit, and receives a light signal that has passed through both slits by the light receiving element. The encoder obtains the rotation information from the signal output from the light receiving element in response to the light reception.

図5、図6を参照して、ロータリエンコーダREは、一般的に、投光素子LEDと2つの受光素子PD1,PD2との間に、円周方向等間隔に投光素子LEDからの光を透過することができる複数のスリット(以下回転スリットと言う)を有する回転スリット板RSと、この回転スリット板RSの一方側に上記スリットと同様に投光素子LEDからの光を透過することができるスリット(以下固定スリットと言う)を有する固定スリット板FSとを対向配置している(特許文献1)。   Referring to FIGS. 5 and 6, the rotary encoder RE generally emits light from the light projecting element LED at equal intervals in the circumferential direction between the light projecting element LED and the two light receiving elements PD1 and PD2. A rotating slit plate RS having a plurality of slits (hereinafter referred to as rotating slits) that can transmit, and light from the light projecting element LED can be transmitted to one side of the rotating slit plate RS in the same manner as the slits. A fixed slit plate FS having a slit (hereinafter referred to as “fixed slit”) is disposed oppositely (Patent Document 1).

この固定スリット板FSの固定スリットは、投光素子LEDからの光を電気角で順次90度ずつずれさせて回転スリット板RSの回転スリットを通過させて光信号を形成するようになっている。受光素子PD1,PD2では上記光信号を受光し、それぞれ比較回路CP1,CP2で受光素子PD1,PD2の受光出力の出力レベルを基準レベルと比較して図7(a)(b)で示すようなA相信号と、B相信号とを生成し、これらA相とB相信号から被検出軸の回転状態すなわちその回転方向や回転速度を検出することができるようになっている。   The fixed slit of the fixed slit plate FS shifts the light from the light projecting element LED by 90 degrees sequentially in electrical angle and passes through the rotary slit of the rotary slit plate RS to form an optical signal. The light receiving elements PD1 and PD2 receive the optical signal, and the comparison circuits CP1 and CP2 respectively compare the output levels of the light receiving outputs of the light receiving elements PD1 and PD2 with the reference level as shown in FIGS. An A-phase signal and a B-phase signal are generated, and the rotation state of the detected shaft, that is, the rotation direction and the rotation speed can be detected from the A-phase and B-phase signals.

この回転方向の検出では、図7(c)で示すようにA相とB相信号のバイナリーコードでA相信号「0」、B相信号「0」の組み合わせでは「0」、A相信号「1」、B相信号「0」の組み合わせでは「2」、A相信号「1」、B相信号「1」の組み合わせでは「3」、A相信号「0」、B相信号「1」の組み合わせでは「1」としそのバイナリーコードの変化順序から回転方向を判定することができる。バイナリーコードは「0」「2」「3」「1」「0」「2」…と変化し、信号レベル合計は「0」「1」「2」「1」「0」「1」…と変化する。   In the detection of the rotation direction, as shown in FIG. 7C, the binary code of the A phase and B phase signals is “0” for the combination of the A phase signal “0” and the B phase signal “0”, and the A phase signal “ 1 ”, B phase signal“ 0 ”in combination“ 2 ”, A phase signal“ 1 ”, B phase signal“ 1 ”in combination“ 3 ”, A phase signal“ 0 ”, B phase signal“ 1 ” The combination is “1”, and the rotation direction can be determined from the change order of the binary code. The binary code changes as “0” “2” “3” “1” “0” “2”... And the total signal level is “0” “1” “2” “1” “0” “1”. Change.

そして、上記A相信号とB相信号のバイナリーコードの組み合わせでは「0」「0」の組み合わせが存在している。この場合、上記ロータリエンコーダでは受光素子PD1,PD2が電源コモン端子CTに共通に接続されているために、電源コモン端子CTが受光素子PD1,PD2に未接続であるときも上記A相信号とB相信号のバイナリーコードの組み合わせでは「0」「0」の組み合わせが成立することになる。受光素子PD1,PD2の受光出力はそれぞれ比較回路CP1,CP2で比較され、A相信号、B相信号が生成されるようになっている。   In the combination of the binary code of the A phase signal and the B phase signal, there are “0” and “0” combinations. In this case, since the light receiving elements PD1 and PD2 are commonly connected to the power supply common terminal CT in the rotary encoder, the A-phase signal and the B signal are output even when the power common terminal CT is not connected to the light receiving elements PD1 and PD2. In the combination of the binary codes of the phase signals, the combination of “0” and “0” is established. The light reception outputs of the light receiving elements PD1 and PD2 are compared by the comparison circuits CP1 and CP2, respectively, and an A phase signal and a B phase signal are generated.

そのため従来のロータリエンコーダREでは、受光素子PD1,PD2が電源コモン端子CTに未接続の場合では、被検出軸の回転状態を誤検出することになり、ロータリエンコーダを搭載した装置やシステムの信頼性を低下させてしまう要因となるという課題がある。   Therefore, in the conventional rotary encoder RE, when the light receiving elements PD1 and PD2 are not connected to the power supply common terminal CT, the rotation state of the detected shaft is erroneously detected, and the reliability of the apparatus or system on which the rotary encoder is mounted is improved. There is a problem that it becomes a factor of lowering.

一方、受光素子PD1,PD2が電源コモン端子CTに接続されているか否かの判定を行うにあたり、例えば比較回路CP1,CP2の出力であるA相信号、B相信号を用いると、これら比較回路CP1,CP2が故障している場合には、受光素子PD1,PD2が電源コモン端子CTに接続されているにもかかわらずA相信号とB相信号のバイナリーコードの組み合わせでは「0」「0」の組み合わせが成立して電源コモン端子CTの接続状態に関する上記判定を誤判定する可能性が存在する。   On the other hand, in determining whether or not the light receiving elements PD1 and PD2 are connected to the power supply common terminal CT, for example, when the A-phase signal and the B-phase signal output from the comparison circuits CP1 and CP2 are used, these comparison circuits CP1. , CP2 is faulty, the combination of the binary code of the A phase signal and the B phase signal is “0” or “0” even though the light receiving elements PD1 and PD2 are connected to the power supply common terminal CT. There is a possibility that the above determination regarding the connection state of the power supply common terminal CT is erroneously determined due to the combination.

さらには受光素子PD1,PD2自体が故障して異常な場合にもA相信号とB相信号のバイナリーコードの組み合わせでは「0」「0」の組み合わせが成立して電源コモン端子CTの接続状態に関する上記判定を誤判定する可能性が存在する。
特開平07−134048号公報
Further, even when the light receiving elements PD1 and PD2 themselves are faulty and abnormal, the combination of the binary code of the A phase signal and the B phase signal establishes a combination of “0” and “0” and relates to the connection state of the power supply common terminal CT. There is a possibility that the above determination is erroneously determined.
Japanese Patent Laid-Open No. 07-134048

したがって、本発明により解決すべき課題は、複数の受光素子が電源コモン端子に共通に接続されているロータリエンコーダにおいて、電源コモン端子に対する複数の受光素子の接続状態の判定に対してその誤判定を確実に無くし、正確に行うことを検出可能とすることである。   Therefore, the problem to be solved by the present invention is that in a rotary encoder in which a plurality of light receiving elements are commonly connected to the power supply common terminal, the erroneous determination is made with respect to the determination of the connection state of the plurality of light receiving elements with respect to the power supply common terminal. It is to ensure that it is possible to detect exactly what is to be done.

本発明によるロータリエンコーダは、投光素子の投光を回転スリットを介して受光して180度ごとに反転し互いに180度位相が相違する2つの第1、第2受光出力を生成する一対のA相信号生成用受光素子と、上記2つの第1、第2受光出力それぞれと90度位相がずれ180度ごとに反転し互いに180度位相が相違する2つの第3、第4受光出力を生成する一対のB相信号生成用受光素子と、を備えたロータリエンコーダにおいて、一対のA相信号生成用受光素子の受光出力からA相信号、一対のB相信号生成用受光素子の受光出力からB相信号を生成する相信号生成回路と、上記受光出力のうち任意の3つの受光出力の受光出力をレベル加算する加算部と、上記加算レベルが、1つの受光出力の最大レベルと2つの受光出力の合計最大レベルとの範囲内であるときは受光素子が正常でかつ電源コモン端子が上記受光素子に接続されていると判定し、上記加算レベルが0でないが上記範囲外であるときは受光素子が異常でかつ電源コモン端子が上記受光素子に接続されていると判定し、上記加算レベルが0であるときは電源コモン端子が上記受光素子に未接続であると判定する判定部と、を備えたことを特徴とするものである。   The rotary encoder according to the present invention receives a light projection of a light projecting element through a rotary slit, and inverts every 180 degrees to generate two first and second light receiving outputs that are 180 degrees out of phase with each other. The phase signal generating light receiving element and the two first and second light receiving outputs are shifted by 90 degrees and inverted every 180 degrees to generate two third and fourth light receiving outputs that are 180 degrees out of phase with each other. In a rotary encoder provided with a pair of light receiving elements for generating a B phase signal, a light receiving output of a pair of light receiving elements for generating an A phase signal is an A phase signal, and a light receiving output of a pair of light receiving elements for generating a B phase signal is a B phase. A phase signal generation circuit for generating a signal, an adder for adding the levels of light reception outputs of any three light reception outputs among the light reception outputs, and the addition level of the maximum level of one light reception output and two light reception outputs. total When it is within the range of the large level, it is determined that the light receiving element is normal and the power supply common terminal is connected to the light receiving element. When the addition level is not 0 but outside the above range, the light receiving element is abnormal. And a determination unit that determines that the power supply common terminal is connected to the light receiving element and determines that the power supply common terminal is not connected to the light receiving element when the addition level is 0. It is characterized by.

上記加算部と判定部はマイクロコンピュータで構成してもよいし、ロジック回路で構成してもよい。   The addition unit and determination unit may be configured by a microcomputer or a logic circuit.

本発明では、判定部により3つの受光出力の受光出力レベルの加算レベルが0か否かにより受光素子が電源コモン端子に未接続か接続かの判定を行うので、A、B相両信号の信号レベルの組み合わせで「00」の場合が存在していても、上記判定により被検出軸の回転状態を検出することができ、ロータリエンコーダを搭載した装置やシステムの信頼性を向上することができる。   In the present invention, the determination unit determines whether the light receiving element is not connected to the power supply common terminal or not depending on whether the addition level of the light reception output levels of the three light reception outputs is 0 or not. Even if the level combination is “00”, the rotation state of the detected shaft can be detected by the above determination, and the reliability of the apparatus or system on which the rotary encoder is mounted can be improved.

この場合、電源コモン端子が受光素子に接続されているか否かの判定を、比較回路等の信号処理回路の出力であるA相信号、B相信号を用いないので、これら信号処理回路が故障している場合での電源コモン端子接続状態の判定を誤判定する可能性が無い。   In this case, since the A-phase signal and the B-phase signal that are the outputs of the signal processing circuit such as the comparison circuit are not used to determine whether or not the power supply common terminal is connected to the light receiving element, these signal processing circuits fail. There is no possibility of misjudging the judgment of the connection state of the power supply common terminal.

また、受光素子自体が故障して異常な場合には加算レベルが0でないが所定範囲外であるという判定からその異常の判定ができるので電源コモン端子に受光素子が共通に接続されているか否かの誤判定を行う可能性が無い。   Also, if the light receiving element itself is faulty and abnormal, it can be determined from the determination that the addition level is not 0 but outside the predetermined range, so whether or not the light receiving element is commonly connected to the power supply common terminal. There is no possibility of misjudgment.

なお、本発明は、アブソリュート型のロータリエンコーダでもインクリメンタル型のロータリエンコーダにも適用することができる。   The present invention can be applied to both an absolute type rotary encoder and an incremental type rotary encoder.

本発明の方法では、受光素子のいずれかが電源コモン端子に未接続状態であることを確実に判定することができる。したがって、この方法を採用したロータリエンコーダを搭載した装置やシステムの信頼性を向上させることができる。   According to the method of the present invention, it is possible to reliably determine that one of the light receiving elements is not connected to the power supply common terminal. Therefore, it is possible to improve the reliability of an apparatus or system equipped with a rotary encoder that employs this method.

以下、添付した図面を参照して、本発明の実施の形態に係る方法を詳細に説明する。実施の形態に係る方法が適用されるロータリエンコーダの基本構成は図5、図6と同様である。   Hereinafter, a method according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. The basic configuration of the rotary encoder to which the method according to the embodiment is applied is the same as that shown in FIGS.

図1を参照して、投光素子LEDは電源と接地との間に電流制限抵抗R0、トランジスタTR0と共に直列に挿入接続され図示略の駆動回路出力でオンオフするトランジスタTR0を通じて投光動作する。投光素子LEDからの投光を略示した回転スリット板RSと、固定スリット板FSとを介してA相信号生成用の一対の受光素子PD(a+),PD(a-)と,B相信号生成用の一対の受光素子PD(b+),PD(b-)と、で受光する。 Referring to FIG. 1, the light projecting element LED performs a light projecting operation through a transistor TR0 that is inserted and connected in series with a current limiting resistor R0 and a transistor TR0 between a power source and the ground, and is turned on and off with a drive circuit output (not shown). A pair of light receiving elements PD (a + ), PD (a ) for generating an A phase signal via a rotating slit plate RS schematically showing light projection from the light projecting element LED and a fixed slit plate FS, B Light is received by a pair of light receiving elements PD (b + ) and PD (b ) for generating a phase signal.

A相信号生成用の一対の受光素子PD(a+),PD(a-)それぞれの第1、第2受光出力(a+)(a-)と、B相信号生成用の一対の受光素子PD(b+),PD(b-)それぞれの第3、第4受光出力(b+)(b-)は比較回路CP1,CP2で比較され、比較回路CP1から180度ごとに反転するA相信号、比較回路CP2からはA相信号から90度ずれ180度ごとに反転するB相信号が出力される。 First and second light receiving outputs (a + ) (a ) of a pair of light receiving elements PD (a + ) and PD (a ) for generating an A phase signal, and a pair of light receiving elements for generating a B phase signal The third and fourth light receiving outputs (b + ) and (b ) of PD (b + ) and PD (b ) are compared by the comparison circuits CP 1 and CP 2 and inverted from the comparison circuit CP 1 every 180 degrees. The signal / comparison circuit CP2 outputs a B-phase signal that is 90 degrees shifted from the A-phase signal and inverted every 180 degrees.

上記各受光素子PD(a+),PD(a-),PD(b+),PD(b-)のうち任意3つの受光素子PD(a+),PD(b+),PD(b-)それぞれの受光出力(a+),(b+),(b-)と、受光素子PD(a-),PD(b+),PD(b-)それぞれの受光出力(a-),(b+),(b-)とをマイクロコンピュータまたはロジック回路で構成された第1、第2加算部ADD1,ADD2で加算される。この場合、加算部の数は、上記に限定されない。なお、以下の説明では説明の簡略のため第1加算部ADD1について説明し第2加算部ADD2の説明は略する。 Of the light receiving elements PD (a + ), PD (a ), PD (b + ), and PD (b ), any three light receiving elements PD (a + ), PD (b + ), and PD (b ) ) each receiving the output (a +), (b + ), (b -) and the light receiving element PD (a -), PD ( b +), PD (b -) each receiving the output (a -), ( b + ) and (b ) are added by the first and second adders ADD 1 and ADD 2 formed of a microcomputer or a logic circuit. In this case, the number of addition units is not limited to the above. In the following description, the first adder ADD1 is described for the sake of simplicity, and the description of the second adder ADD2 is omitted.

この第1加算部ADD1により加算された加算レベル〔(a+)+(b+)+(b-)〕、は、マイクロコンピュータまたはロジック回路で構成された判定部JGに与えられる。判定部JGは上記3つの受光出力(a+),(b+),(b-)の加算レベル〔(a+)+(b+)+(b-)〕により電源コモン端子CTが受光素子PD(a+),PD(a-),PD(b+),PD(b-)に未接続であるか否かを判定することができるようになっている。 The addition level [(a + ) + (b + ) + (b )] added by the first addition unit ADD1 is given to the determination unit JG constituted by a microcomputer or a logic circuit. The determination unit JG determines whether the power supply common terminal CT is a light receiving element according to the addition level [(a + ) + (b + ) + (b )] of the above three light receiving outputs (a + ), (b + ), and (b ). It is possible to determine whether or not PD (a + ), PD (a ), PD (b + ), and PD (b ) are not connected.

以上のロータリエンコーダでは、投光素子LED、回転スリットrs、固定スリットfs、受光素子PD(a+),PD(a-),PD(b+),PD(b-)、比較回路CP1,CP2により、180度ごとに信号レベルが反転するA相信号と、A相より電気角で90度位相がずれて180度ごとに信号レベルが反転するB相信号とを生成する相信号生成手段、を構成する。 In the above rotary encoder, the light projecting element LED, the rotating slit rs, the fixed slit fs, the light receiving elements PD (a + ), PD (a ), PD (b + ), PD (b ), comparison circuits CP1 and CP2 Phase signal generating means for generating an A-phase signal whose signal level is inverted every 180 degrees and a B-phase signal whose phase is shifted by 90 degrees in electrical angle from the A phase and whose signal level is inverted every 180 degrees. Constitute.

図2を参照して、rsは回転スリット板RSに円周方向等間隔に形成された回転スリットである。図中、回転スリット板RSにおいて、回転スリットrsの部分は図解上は白抜きで、回転スリットrs間は投光素子LEDの投光を遮光する部分であり、図解上はハッチングで示す。固定スリット板FSはこの回転スリットrsに対向する固定スリットfsを有する。   With reference to FIG. 2, rs are rotating slits formed in the rotating slit plate RS at equal intervals in the circumferential direction. In the drawing, in the rotary slit plate RS, the portion of the rotary slit rs is white in the illustration, and the portion between the rotary slits rs is a portion that blocks light projection of the light projecting element LED, and is indicated by hatching in the illustration. The fixed slit plate FS has a fixed slit fs opposed to the rotating slit rs.

固定スリットfsは説明の都合で、投光素子LEDの光を180度ごとに反転する光信号a+を生成する固定スリットをfs(a+)、光信号a+に対して電気角で180度ずれて180度ごとに反転する光信号a-を生成する固定スリットをfs(a-)、投光素子LEDの光を光信号a+に電気角で90度ずれ180度ごとに反転する光信号b+を生成する固定スリットをfs(b+)、光信号b+に対して電気角で180度ずれて180度ごとに反転する光信号b-を生成する固定スリットをfs(b-)、と称する。 For convenience of explanation, the fixed slit fs is fs (a + ) that generates an optical signal a + that inverts the light of the light emitting element LED every 180 degrees, and the electrical angle is 180 degrees with respect to the optical signal a + . The fixed slit that generates the optical signal a that is shifted and inverted every 180 degrees is fs (a ), and the light of the light emitting element LED is shifted to the optical signal a + by an electrical angle of 90 degrees and inverted every 180 degrees. The fixed slit for generating b + is fs (b + ), the fixed slit for generating the optical signal b that is shifted by 180 degrees in electrical angle with respect to the optical signal b + and inverted every 180 degrees, fs (b ), Called.

受光素子PDもそれぞれの固定スリットfs(a+),fs(a-),fs(b+),fs(b-)それぞれに合わせて、PD(a+),PD(a-),PD(b+),PD(b-)と称しており、それぞれの受光素子PD(a+),PD(a-),PD(b+),PD(b-)は、対応する固定スリットfs(a+)、fs(a-)、fs(b+)、fs(b-)を通過した光信号a+,a-,b+,b-を受光する。光信号a+、a-をそれぞれ受光した受光素子PD(a+)とPD(a-)それぞれの出力(a+)、(a-)は上記したように比較回路CP1で比較されてA相信号が生成され、光信号b+、b-をそれぞれ受光した受光素子PD(b+)とPD(b-)それぞれの出力(b+),(b-)は上記したように比較回路CP2で比較されてB相信号が生成される。 The light receiving element PD also has PD (a + ), PD (a ), and PD (a) according to the respective fixed slits fs (a + ), fs (a ), fs (b + ), and fs (b ). b + ) and PD (b ), and the respective light receiving elements PD (a + ), PD (a ), PD (b + ), and PD (b ) correspond to the corresponding fixed slits fs (a + ), Fs (a ), fs (b + ), and optical signals a + , a , b + and b that have passed through fs (b ) are received. The outputs (a + ) and (a ) of the light receiving elements PD (a + ) and PD (a ) that receive the optical signals a + and a , respectively, are compared by the comparison circuit CP1 as described above and the A phase. As described above, the outputs (b + ) and (b ) of the light receiving elements PD (b + ) and PD (b ), which receive the optical signals b + and b , are generated by the comparison circuit CP2 as described above. The B phase signal is generated by comparison.

図3を参照してa+は受光素子PD(a+)の受光出力(a+)の波形、b+は受光素子PD(b+)の受光出力(b+)の波形、b-は受光素子PD(b-)の受光出力(b-)の波形、a++b++b-は、上記波形a++波形b++波形b-の加算波形を示す。波形a+、b+、b-はそれぞれ180度ごとに反転する出力であり、出力レベル0.5を中心にしてレベル0−1の間を正弦波状に変化する。ただし、受光素子PD(b+)の受光出力(b+)は受光出力(a+)から90度位相がずれ180度ごとに反転する出力であり、受光素子(b-)の受光出力(b-)は、受光出力(b+)から180度位相ずれし180度ごとに反転する出力である。 Referring to FIG. 3, a + is a waveform of a light receiving output (a + ) of the light receiving element PD (a + ), b + is a waveform of a light receiving output (b + ) of the light receiving element PD (b + ), and b is a light receiving light. The light reception output (b ) waveform of the element PD (b ), a + + b + + b −, indicates the addition waveform of the waveform a + + waveform b + + waveform b . Waveforms a + , b + , and b are outputs that are inverted every 180 degrees, and change between levels 0 and 1 in a sine wave form with an output level of 0.5 as a center. However, the light receiving output (b + ) of the light receiving element PD (b + ) is an output that is 90 degrees out of phase with the light receiving output (a + ) and is inverted every 180 degrees. The light receiving output (b ) of the light receiving element (b ) - ) Is an output that is 180 degrees out of phase with the received light output (b + ) and is inverted every 180 degrees.

上記加算波形a++b++b-はレベル1.5を中心にしてレベル1−2の間を正弦波状に変化し、このレベルが第1加算部ADD1の加算レベルである。 The addition waveform a + + b + + b changes in a sinusoidal shape between level 1-2 with the level 1.5 as the center, and this level is the addition level of the first addition unit ADD1.

図4を参照して、判定部JGは、判定スタートして、第1加算部ADD1による加算レベルが、下限レベルが1つの受光出力の最大レベル「1」で上限レベルが2つの受光出力の合計最大レベル「2」である所定範囲内であるか否かを判定する(ステップn1)。   Referring to FIG. 4, determination unit JG starts determination, and the addition level by first addition unit ADD1 is the sum of the light reception outputs whose lower limit level is the maximum level “1” of one light reception output and whose upper limit level is two. It is determined whether or not it is within a predetermined range of the maximum level “2” (step n1).

判定部JGは、加算レベルが上記所定範囲内のときはステップn1でYESと判定し、受光素子が正常でかつ上記受光素子が電源コモン端子CTに共通に接続されていると判定し(ステップn2)、加算レベルが上記所定範囲外のときはステップn1でNOと判定し、加算レベルが0であるか否かを判定する(ステップn3)。加算レベルが0であるときはステップn3で「=0」と判定し上記受光素子が電源コモン端子CTに未接続であると判定し(ステップn4)、加算レベルが0でないときはステップn3で「≠0」と判定しいずれかの受光素子が異常であるが受光素子が電源コモン端子CTに共通に接続されていると判定する(ステップn5)。   When the addition level is within the predetermined range, the determination unit JG determines YES in step n1, and determines that the light receiving element is normal and the light receiving element is commonly connected to the power supply common terminal CT (step n2). When the addition level is outside the predetermined range, NO is determined in step n1, and it is determined whether or not the addition level is 0 (step n3). When the addition level is 0, it is determined at step n3 that “= 0” and it is determined that the light receiving element is not connected to the power supply common terminal CT (step n4). When the addition level is not 0, at step n3, “ ≠ 0 ”and it is determined that one of the light receiving elements is abnormal but the light receiving element is commonly connected to the power supply common terminal CT (step n5).

なお、第2加算部ADD2による加算レベルに関しては、第1加算部ADD1と同様に判定部JGで上記と同様の判定を行うことができる。   Note that the addition level by the second addition unit ADD2 can be determined by the determination unit JG in the same manner as described above, similarly to the first addition unit ADD1.

なお、受光素子が電源コモン端子CTに共通に接続されているか否かの判定は、第1加算部ADD1または第2加算部ADD2のいずれか一方の加算レベルから判定することができる。   Whether or not the light receiving elements are commonly connected to the power supply common terminal CT can be determined from the addition level of either the first addition unit ADD1 or the second addition unit ADD2.

また、受光素子の異常に関しては、上記第1、第2加算部ADD1,ADD2により4つの受光素子PD(a+),PD(a-),PD(b+),PD(b-)すべての異常か否かの判定を行うことができる。 Regarding the abnormality of the light receiving element, all of the four light receiving elements PD (a + ), PD (a ), PD (b + ), and PD (b ) are detected by the first and second adders ADD1 and ADD2. It is possible to determine whether or not there is an abnormality.

以上のように実施の形態では、受光素子が電源コモン端子CTに未接続状態であると判定することができ、結果、実施の形態のロータリエンコーダではそれを搭載した装置やシステムの信頼性が向上することになる。   As described above, in the embodiment, it can be determined that the light receiving element is not connected to the power supply common terminal CT. As a result, the rotary encoder according to the embodiment improves the reliability of the device or system in which the light receiving element is mounted. Will do.

図1は本発明の実施の形態に係るロータリエンコーダの電気的な概略構成を示す図である。FIG. 1 is a diagram showing an electrical schematic configuration of a rotary encoder according to an embodiment of the present invention. 図2は回転スリットと、固定スリットとの対応関係の説明に供する図である。FIG. 2 is a diagram for explaining the correspondence between the rotary slit and the fixed slit. 図3は受光出力(a+)(b+)(b-)の出力変化を示す図である。FIG. 3 is a diagram showing output changes of the light reception outputs (a + ) (b + ) (b ). 図4は実施の形態のロータリエンコーダにおける判定部の動作を説明するためのフローチャートを示す図である。FIG. 4 is a flowchart illustrating the operation of the determination unit in the rotary encoder according to the embodiment. 図5は従来のロータリエンコーダの電気的な概略構成を示す図である。FIG. 5 is a diagram showing a schematic electrical configuration of a conventional rotary encoder. 図6は図5のロータリエンコーダの機械的な構成を示す図である。FIG. 6 is a diagram showing a mechanical configuration of the rotary encoder of FIG. 図7は図5のロータリエンコーダによるA相とB相の関係を示す図である。FIG. 7 is a diagram showing the relationship between the A phase and the B phase by the rotary encoder of FIG.

符号の説明Explanation of symbols

RS 回転スリット板
FS 固定スリット板
LED 投光素子
PD 受光素子
ADD 加算回路
JG 判定回路
CT 電源コモン端子
RS Rotating slit plate FS Fixed slit plate LED Emitting element PD Light receiving element ADD Adder circuit JG Judgment circuit CT Power supply common terminal

Claims (1)

投光素子の投光を回転スリットを介して受光して180度ごとに反転し互いに180度位相が相違する2つの第1、第2受光出力を生成する一対のA相信号生成用受光素子と、上記2つの第1、第2受光出力それぞれと90度位相がずれ180度ごとに反転し互いに180度位相が相違する2つの第3、第4受光出力を生成する一対のB相信号生成用受光素子と、を備えたロータリエンコーダにおいて、
一対のA相信号生成用受光素子の受光出力からA相信号、一対のB相信号生成用受光素子の受光出力からB相信号を生成する相信号生成回路と、
上記受光出力のうち任意の3つの受光出力の受光出力をレベル加算する加算部と、
上記加算レベルが、1つの受光出力の最大レベルと2つの受光出力の合計最大レベルとの範囲内であるときは受光素子が正常でかつ電源コモン端子が上記受光素子に接続されていると判定し、上記加算レベルが0でないが上記範囲外であるときは受光素子が異常でかつ電源コモン端子が上記受光素子に接続されていると判定し、上記加算レベルが0であるときは電源コモン端子が上記受光素子に未接続であると判定する判定部と、
を備えたことを特徴とするロータリエンコーダ。
A pair of A-phase signal generating light receiving elements that receive the light emitted from the light projecting element through a rotating slit and reverse each phase by 180 degrees and generate two first and second light receiving outputs that are 180 degrees out of phase with each other; For generating a pair of B-phase signals that generate two third and fourth light receiving outputs that are 90 degrees out of phase with each of the two first and second light receiving outputs and are inverted every 180 degrees and are 180 degrees out of phase with each other. In a rotary encoder comprising a light receiving element,
A phase signal generation circuit for generating an A phase signal from a light receiving output of a pair of light receiving elements for A phase signal generation, and a B phase signal from a light receiving output of a pair of light receiving elements for generating a B phase signal;
An adder for level-adding the light reception outputs of any three light reception outputs among the light reception outputs;
When the addition level is within the range between the maximum level of one light receiving output and the total maximum level of two light receiving outputs, it is determined that the light receiving element is normal and the power supply common terminal is connected to the light receiving element. When the addition level is not 0 but outside the above range, it is determined that the light receiving element is abnormal and the power supply common terminal is connected to the light receiving element. When the addition level is 0, the power supply common terminal is A determination unit that determines that the light receiving element is not connected;
A rotary encoder comprising:
JP2007300682A 2007-11-20 2007-11-20 Rotary encoder Active JP5096887B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007300682A JP5096887B2 (en) 2007-11-20 2007-11-20 Rotary encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007300682A JP5096887B2 (en) 2007-11-20 2007-11-20 Rotary encoder

Publications (2)

Publication Number Publication Date
JP2009128061A JP2009128061A (en) 2009-06-11
JP5096887B2 true JP5096887B2 (en) 2012-12-12

Family

ID=40819160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007300682A Active JP5096887B2 (en) 2007-11-20 2007-11-20 Rotary encoder

Country Status (1)

Country Link
JP (1) JP5096887B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6959835B2 (en) * 2017-11-06 2021-11-05 株式会社東海理化電機製作所 Rotation detector

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3358854B2 (en) * 1993-11-09 2002-12-24 株式会社ハーモニック・ドライブ・システムズ Optical encoder origin signal generator
JP3140306B2 (en) * 1994-08-30 2001-03-05 アルプス電気株式会社 Signal processing circuit for optical encoder
JP3542199B2 (en) * 1995-05-16 2004-07-14 日本電産コパル株式会社 Absolute encoder
JP3695474B2 (en) * 1995-06-14 2005-09-14 株式会社安川電機 Optical encoder and method for attaching fixed side element of optical encoder

Also Published As

Publication number Publication date
JP2009128061A (en) 2009-06-11

Similar Documents

Publication Publication Date Title
US9020774B2 (en) Encoder system, signal processing method, and transmission signal generation and output device
US8969789B2 (en) Rotary encoder and method of detecting abnormality of rotary encoder
JP2013190327A (en) Monitoring device and method for rotary encoder
JP2009271592A (en) Encoder device and serial communication method
JP5096887B2 (en) Rotary encoder
JP5434617B2 (en) Encoder device
JP4248998B2 (en) Encoder
JP5301814B2 (en) Rotary encoder and electronic control system
JP5096894B2 (en) Method for detecting unconnected power supply common terminal in rotary encoder and rotary encoder
JP5274816B2 (en) Rotary encoder and electronic control system
JP4682598B2 (en) Encoder and encoder system
KR101531340B1 (en) Servo motor control system
JP2019215306A (en) Optical rotary encoder
JP5043637B2 (en) Method for judging output state of light receiving element in rotary encoder
JP2013156062A (en) Optical encoder
JP2013164325A (en) Encoder
JP2020134183A (en) Signal processing apparatus of encoder
JP5043640B2 (en) Rotary encoder
JP5166002B2 (en) Electronic control system and rotary encoder used therefor
JP5070470B2 (en) Temporary phase clock generation method for encoder with failure detection function
KR20130140504A (en) Semiconductor memory system with ecc circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101118

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 5096887

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

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

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250