Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5043636B2 - Rotary encoder - Google Patents
[go: Go Back, main page]

JP5043636B2 - Rotary encoder - Google Patents

Rotary encoder Download PDF

Info

Publication number
JP5043636B2
JP5043636B2 JP2007338693A JP2007338693A JP5043636B2 JP 5043636 B2 JP5043636 B2 JP 5043636B2 JP 2007338693 A JP2007338693 A JP 2007338693A JP 2007338693 A JP2007338693 A JP 2007338693A JP 5043636 B2 JP5043636 B2 JP 5043636B2
Authority
JP
Japan
Prior art keywords
monitoring
rotary encoder
item
signal
phase
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
JP2007338693A
Other languages
Japanese (ja)
Other versions
JP2009156840A (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 JP2007338693A priority Critical patent/JP5043636B2/en
Publication of JP2009156840A publication Critical patent/JP2009156840A/en
Application granted granted Critical
Publication of JP5043636B2 publication Critical patent/JP5043636B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Optical Transform (AREA)

Description

本発明は、アブソリュート型やインクリメンタル型のロータリエンコーダにかかり、特に、当該ロータリエンコーダの状態を監視すると共にその監視結果を当該ロータリエンコーダの上位装置に伝えることができるロータリエンコーダに関するものである。   The present invention relates to an absolute type or incremental type rotary encoder, and more particularly to a rotary encoder capable of monitoring the state of the rotary encoder and transmitting the monitoring result to a host device of the rotary encoder.

図5以降を参照して例えばインクリメンタル型のロータリエンコーダREを説明すると、図5は、このロータリエンコーダREの機構的な構成、図6はこのロータリエンコーダREの電気的な構成、図7は、A相信号、B相信号の信号波形を示す。   For example, an incremental type rotary encoder RE will be described with reference to FIG. 5 and subsequent drawings. FIG. 5 shows a mechanical configuration of the rotary encoder RE, FIG. 6 shows an electrical configuration of the rotary encoder RE, and FIG. The signal waveform of a phase signal and a B phase signal is shown.

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

この固定スリット板FSの固定スリットは、投光素子LEDからの光を電気角で順次90度ずつずれさせて回転スリット板RSの回転スリットを通過させて光信号を形成するようになっている。受光素子PDa、PDbで検出回路105として上記光信号を受光する。   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 optical signals are received as the detection circuit 105 by the light receiving elements PDa and PDb.

図6を参照して、上記受光素子PDa、PDbそれぞれの出力は、比較器CPa,CPbからなるA相、B相判定回路106,108で基準値(ref)と比較され、図7(a)(b)で示すようなA相、B相信号(パルス信号)が生成され、これにA相、B相信号はA相、B相出力回路107,109それぞれから出力されるようになっている。   Referring to FIG. 6, the outputs of the light receiving elements PDa and PDb are compared with the reference value (ref) by the A-phase and B-phase determination circuits 106 and 108 including the comparators CPa and CPb, respectively. A-phase and B-phase signals (pulse signals) as shown in (b) are generated, and the A-phase and B-phase signals are output from the A-phase and B-phase output circuits 107 and 109, respectively. .

以上の構成を備えたロータリエンコーダREを、例えばエレベータを電子制御する電子制御システムに組み込む場合、その乗りかごを昇降駆動する駆動用モータの回転軸にロータリエンコーダREを取り付けると共にそのロータリエンコーダREからのA相、B相信号をその上位装置である電子制御装置に入力する。電子制御装置はロータリエンコーダREからのA相、B相信号により駆動用モータを駆動制御して乗りかごを昇降制御するようになっている(例えば特許文献1参照)。この電子制御システムでは、主に、電子制御装置に内蔵する制御用CPUの制御動作により電子制御システムの安全性を図る。制御用CPUは、制御プログラムや各種制御定数や各種入力センサの動作状態に応答して各種の負荷を制御するようになっている。   When the rotary encoder RE having the above configuration is incorporated into, for example, an electronic control system that electronically controls an elevator, the rotary encoder RE is attached to the rotary shaft of a drive motor that drives the car to move up and down, and the rotary encoder RE The A-phase and B-phase signals are input to the electronic control device that is the host device. The electronic control device drives and controls the drive motor by the A-phase and B-phase signals from the rotary encoder RE to control the raising / lowering of the car (for example, see Patent Document 1). In this electronic control system, the safety of the electronic control system is mainly achieved by the control operation of the control CPU incorporated in the electronic control device. The control CPU controls various loads in response to control programs, various control constants, and operating states of various input sensors.

以上の構成において、電子制御装置側では制御用CPUにロータリエンコーダRE側の異常状態をA相、B相信号の有無、信号波形等により一定の判定を行う判定プログラムを追加搭載することが考えられるが、そのような判定プログラムの追加搭載とその判定プログラムの実行は制御用CPUに負担増となるうえに電子制御速度の遅延化やコスト増をもたらす。また、エレベータ製造側とエンコーダ製造側とが分かれていてエレベータ製造側で上記判定プログラムの追加等を行うのはロータリエンコーダREの詳細が明確でない限り困難である。まして、既に建屋等に設置済みのエレベータ装置においては、殆どの例では放置される状態となりかねない。   In the above configuration, it is conceivable that the electronic control device side additionally includes a determination program for performing a fixed determination on the abnormal state on the rotary encoder RE side based on the presence / absence of the A-phase and B-phase signals, the signal waveform, and the like. However, the additional installation of such a determination program and the execution of the determination program increase the burden on the control CPU and cause a delay in electronic control speed and an increase in cost. Moreover, it is difficult for the elevator manufacturing side and the encoder manufacturing side to be separated, and for the elevator manufacturing side to add the determination program or the like unless the details of the rotary encoder RE are clear. Moreover, in an elevator apparatus that has already been installed in a building or the like, in most cases, it may be left unattended.

このような現状下で、ロータリエンコーダREが突然的に異常にならないよう、ロータリエンコーダRE側でその状態を常時監視すると共に、その監視状態を上位装置である電子制御装置に即座に伝えることで当該電子制御装置側が所要の対応が迅速に行うことができるようにすることが望ましい。   Under such circumstances, the rotary encoder RE side constantly monitors its state so that the rotary encoder RE does not suddenly become abnormal, and immediately notifies the monitoring state to the electronic control unit, which is the host device. It is desirable that the electronic control device can perform the required response quickly.

そこで、本出願人は、ロータリエンコーダREに監視用CPUを内蔵する一方、ロータリエンコーダREの状態を監視する項目を多数想定し、各項目ごとの監視信号を監視用CPUに取り込ませ、この監視用CPUでロータリエンコーダRE監視の処理結果を上位装置に送信することを考えている。   Accordingly, the applicant of the present invention incorporates a monitoring CPU in the rotary encoder RE, and assumes a number of items for monitoring the state of the rotary encoder RE, and causes the monitoring CPU to capture monitoring signals for each item. It is considered that the processing result of the rotary encoder RE monitoring is transmitted to the host device by the CPU.

上記した監視項目には、主電源の状態、投光素子の状態、受光素子の状態、A相、B相信号の出力回路等の内部回路の状態や、外部出力であるA相、B相信号のパルス信号の状態等、多数ある。この場合、内部回路監視では、CPUの内部割込みのタイミングで監視処理し、パルス信号では、外部割込みのタイミング(パルス信号の変化のタイミング)で監視処理しようとするが、監視用CPUには、過大な負担がかかるようになり、実際上、監視に影響してくる。そのため、ロータリエンコーダREを組み込んだ上記電子制御システム全体に対してもその安全性や安定性に影響してくることになる。
特開平09−077412号公報
The above monitoring items include the state of the main power supply, the state of the light emitting element, the state of the light receiving element, the state of the internal circuit such as the output circuit of the A phase and B phase signals, and the A phase and B phase signals that are external outputs. There are many pulse signal states. In this case, in the internal circuit monitoring, the monitoring process is performed at the timing of the internal interrupt of the CPU, and the pulse signal is attempted to be monitored at the timing of the external interrupt (change timing of the pulse signal). Burden is placed on it, which in effect affects monitoring. Therefore, the safety and stability of the entire electronic control system incorporating the rotary encoder RE are also affected.
Japanese Patent Application Laid-Open No. 09-077412

そこで、本発明においては、ロータリエンコーダに監視用CPUを実装して、当該ロータリエンコーダの状態を監視する場合において、その監視用CPUの負担を軽減できるようにして、上記した電子制御システム全体の安全性、安定性の向上を図ることを、解決すべき課題とする。   Therefore, in the present invention, when a monitoring CPU is mounted on the rotary encoder and the state of the rotary encoder is monitored, the burden on the monitoring CPU can be reduced, so that the safety of the entire electronic control system described above can be reduced. Improvement of stability and stability is a problem to be solved.

本発明によるロータリエンコーダは、投光素子と、上記投光素子と対向配置された複数の受光素子と、上記投光素子と上記各受光素子との間に配置されて被検出軸と同期回転する円周方向複数の回転スリットと、上記回転スリットに対する上記投光素子からの投光の通過、遮断に応じた上記各受光素子の出力から上記回転状態検出に用いる信号を生成する検出回路と、上記検出回路の出力信号から各種相のパルス信号を生成出力する出力回路と、当該ロータリエンコーダ内部の状態監視を行う監視用CPUと、を備えたロータリエンコーダであって、上記監視用CPUは、その監視項目を回転停止中では内部割込みで監視する第1の監視項目に切り替えて上位装置に当該第1の監視項目が正常か異常かの監視結果を伝える制御を行い、回転動作中では外部割込みで監視する第2の監視項目に切り替えて上記上位装置に当該第2の監視項目が正常か異常かの監視結果を伝える制御を行うようになっていることを特徴とするものである。 A rotary encoder according to the present invention is disposed between a light projecting element , a plurality of light receiving elements disposed opposite to the light projecting element, and between the light projecting element and each light receiving element, and rotates synchronously with a detected shaft. a circumferential plurality of rotary slits, a detection circuit for generating a signal for use in the rotation state detecting from the passage of the light projecting, outputs of the respective light receiving elements corresponding to the cut off from the light projecting element with respect to the rotary slit, said A rotary encoder comprising: an output circuit that generates and outputs pulse signals of various phases from an output signal of a detection circuit; and a monitoring CPU that monitors the internal state of the rotary encoder. item performs control to convey the first of said first monitored item to the host device is switched to the monitored item is normal or abnormal monitoring result to monitor an internal interrupts in a rotary stop, rotational movement Characterized in that is adapted to perform control to switch to the second monitoring item to be monitored by the external interrupt convey monitoring result if the second monitored item is normal or abnormal to the host device at medium is there.

本発明では、上記回転停止中では、第1の監視項目を内部割込みのタイミングで監視することができる監視項目に切り換えるので、外部割込みに影響されずに、確実に監視することができる。そして、上記回転動作中では、監視項目を外部割込みのタイミングで監視する第2の監視項目に切り換えるので、内部割込みに影響されずに、確実に監視することができる。 In the present invention, during the rotation stop, so switched to monitor items that can monitor the first monitored item at the timing of the internal interrupt, without being affected by the external interrupt, it can be reliably monitored. Then, during the rotating operation, the switching to the second monitoring items for monitoring the monitoring item at the timing of the external interrupt, without being affected by the internal interrupt can be reliably monitored.

その結果、本発明では、監視用CPUは、ロータリエンコーダの状態を安定かつ確実に監視制御すると共に、上位装置に対しては、その監視結果を安定して伝えることができるようになる。   As a result, in the present invention, the monitoring CPU can stably and reliably monitor and control the state of the rotary encoder, and can stably transmit the monitoring result to the host device.

本発明において好ましい態様は、上記内部割込みでの上記第1の監視項目は、内部回路の状態に関する項目である。 In a preferred aspect of the present invention, the first monitoring item in the internal interrupt is an item relating to the state of the internal circuit.

本発明において好ましい態様は、上記外部割込みでの上記第2の監視項目は、パルス信号の状態である。 In a preferred aspect of the present invention, the second monitoring item in the external interrupt is a state of a pulse signal.

本発明では、ロータリエンコーダに監視用CPUを実装して、当該ロータリエンコーダの状態を監視する場合において、その監視用CPUの負担を軽減できるようにして、上記した電子制御システム全体の安全性、安定性の向上を図ることができる。   In the present invention, when the monitoring CPU is mounted on the rotary encoder and the state of the rotary encoder is monitored, the burden on the monitoring CPU can be reduced, so that the safety and stability of the entire electronic control system described above can be reduced. It is possible to improve the performance.

以下、添付した図面を参照して、本発明の実施の形態に係るロータリエンコーダを詳細に説明する。図1は、実施の形態のロータリエンコーダREの回路ブロック構成、図2は同ロータリエンコーダREの電気的なハードウェア構成を示す。これらの図において、101は、外部端子Vcc,0Vから電源の供給を受け、ロータリエンコーダREの内部電源104を生成する電源回路、102は、電源回路101の電源を監視する電源電圧監視回路、103は、電源回路101からの電源で投光素子LEDを駆動する投光素子駆動回路、105は、受光素子PDa、PDbを含む検出回路である。検出回路105はa相、b相、ref相の信号を出力する。a相信号は受光素子PDaの出力、b相信号は受光素子PDbの出力、ref相信号は、基準信号である。106は、比較器CPaで構成されてa相信号とref相信号とを比較することでA相信号のH又はLを判定するA相判定回路、107はA相判定回路106の出力を出すA相出力回路、108は、比較器CPbで構成されてb相信号とref相信号とを比較することでB相信号のH又はLを判定するB相判定回路、109はB相判定回路108の出力を出すB相出力回路、110は、検出回路105出力から受光素子PDa、PDbの動作を判定する受光素子動作判定回路である。   Hereinafter, a rotary encoder according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 shows a circuit block configuration of the rotary encoder RE of the embodiment, and FIG. 2 shows an electrical hardware configuration of the rotary encoder RE. In these drawings, reference numeral 101 denotes a power supply circuit that receives supply of power from the external terminals Vcc and 0 V and generates the internal power supply 104 of the rotary encoder RE. Reference numeral 102 denotes a power supply voltage monitoring circuit that monitors the power supply of the power supply circuit 101. Is a light projecting element driving circuit for driving the light projecting element LED with power from the power supply circuit 101, and 105 is a detection circuit including the light receiving elements PDa and PDb. The detection circuit 105 outputs a-phase, b-phase, and ref-phase signals. The a phase signal is the output of the light receiving element PDa, the b phase signal is the output of the light receiving element PDb, and the ref phase signal is the reference signal. Reference numeral 106 denotes a comparator CPa, which compares the a-phase signal with the ref-phase signal to determine H or L of the A-phase signal, and 107 denotes an output A of the A-phase determination circuit 106. The phase output circuit 108 includes a comparator CPb, and compares the b-phase signal with the ref-phase signal to determine H or L of the B-phase signal. 109 denotes the B-phase determination circuit 108. A phase B output circuit 110 for outputting an output is a light receiving element operation determination circuit for determining the operation of the light receiving elements PDa and PDb from the output of the detection circuit 105.

そして、111は監視用CPUであり、この監視用CPU111のAD変換ポートA/Dには、電源電圧監視回路102から電源電圧監視信号(1)、投光素子LEDの駆動回路監視信号(2)、受光素子PDaのa相信号(3)、受光素子PDbのb相信号(4)、ref相信号(5)が入力され、汎用ポートI/Oには、A相信号の判定信号(6)、B相信号の判定信号(7)、A相出力回路107の出力信号OUT A(8)、B相出力回路108の出力信号OUT B(9)が入力され、割り込みポートINTには、同じくA相出力回路107の出力信号OUT A(8)、B相出力回路108の出力信号OUT B(9)が入力される。   Reference numeral 111 denotes a monitoring CPU. A power supply voltage monitoring signal (1) from the power supply voltage monitoring circuit 102 and a drive circuit monitoring signal (2) for the light emitting element LED are connected to the AD conversion port A / D of the monitoring CPU 111. The a-phase signal (3) of the light-receiving element PDa, the b-phase signal (4) of the light-receiving element PDb, and the ref-phase signal (5) are input, and the A-phase signal determination signal (6) is input to the general-purpose port I / O. , The determination signal (7) of the B phase signal, the output signal OUT A (8) of the A phase output circuit 107, and the output signal OUT B (9) of the B phase output circuit 108 are input. The output signal OUT A (8) of the phase output circuit 107 and the output signal OUT B (9) of the B phase output circuit 108 are input.

監視用CPU111は、図3で示す監視項目表に従いロータリエンコーダREを監視する。この監視項目表において、ロータリエンコーダREの監視項目を内部回路監視と、パルス信号監視とに大きくわける。そして内部回路の監視項目をさらに電源電圧異常、投光素子電流異常、受光素子出力異常、出力回路異常に細分し、パルス信号監視をさらに、デューティ異常、高速異常に分ける。   The monitoring CPU 111 monitors the rotary encoder RE according to the monitoring item table shown in FIG. In this monitoring item table, the monitoring items of the rotary encoder RE are roughly divided into internal circuit monitoring and pulse signal monitoring. The monitoring items of the internal circuit are further divided into power supply voltage abnormality, light emitting element current abnormality, light receiving element output abnormality, and output circuit abnormality, and pulse signal monitoring is further divided into duty abnormality and high speed abnormality.

内部回路監視において、投光素子LEDでは図外の定電流回路の電圧監視信号(2)により判定し、受光素子では受光素子動作判定回路110からの信号(3)−(5)により、例えば、受光素子PDa,PDbの電源コモン端子CTが接続されているか否かとか、受光素子PDa,PDbのワイヤボンディングが切断されているか否かとか、投光素子LEDの初期故障等を判定する。また、出力回路では、各相判定回路106,108の判定信号(6)(7)と、出力回路107,109の出力信号(8)(9)との比較で判定する。   In the internal circuit monitoring, the light emitting element LED makes a determination based on a voltage monitoring signal (2) of a constant current circuit (not shown), and the light receiving element uses a signal (3)-(5) from the light receiving element operation determining circuit 110, for example, It is determined whether or not the power supply common terminal CT of the light receiving elements PDa and PDb is connected, whether or not the wire bonding of the light receiving elements PDa and PDb is cut, an initial failure of the light projecting element LED, and the like. In the output circuit, the determination is made by comparing the determination signals (6) and (7) of the respective phase determination circuits 106 and 108 with the output signals (8) and (9) of the output circuits 107 and 109.

パルス信号監視において、回転スリット板RSが回転動作している場合でA相信号、B相信号の出力周期をカウントし、そのカウント結果からA相信号、B相信号のデューティの正常、異常を判定する。このデューティ異常では、A相信号、B相信号のデューティが規定範囲か否かにより判定する。また、カウント結果より想定以上の回転動作(高速回転)をしている場合、高速異常として判定する。   In the pulse signal monitoring, when the rotary slit plate RS is rotating, the output period of the A phase signal and the B phase signal is counted, and the normality and abnormality of the duty of the A phase signal and the B phase signal are determined from the count result. To do. In this duty abnormality, the determination is made based on whether the duty of the A-phase signal and the B-phase signal is within a specified range. Moreover, when the rotation operation (high-speed rotation) more than expected is performed from the count result, it is determined as a high-speed abnormality.

以上により、監視用CPU111では、内部回路の監視に関しては、回転停止中(図3表の○印)に、パルス信号の監視に関しては、回転動作中(図3表の×印)に監視する。そして、監視用CPU111は、回転停止中には、内部回路の監視項目に切り替えて上位装置である電子制御装置207に当該内部回路が正常か異常かの監視結果を伝える制御を行い、回転動作中ではパルス信号が正常に出力されているか否かの監視項目に切り替えて電子制御装置207にパルス信号が正常か異常かの監視結果を伝える制御を行う。この場合、監視用CPU111は、フェイル(FAIL)出力回路112を介して電子制御装置207に、上記監視結果を例えばフェイル信号として出力する。   As described above, the monitoring CPU 111 monitors the internal circuit while the rotation is stopped (circle mark in the table of FIG. 3), and monitors the pulse signal during the rotation operation (marked by the mark x in the table of FIG. 3). Then, when the rotation is stopped, the monitoring CPU 111 switches to the monitoring item of the internal circuit and controls the electronic control device 207, which is a host device, to transmit a monitoring result of whether the internal circuit is normal or abnormal, and is rotating. Then, control is performed to switch to the monitoring item of whether or not the pulse signal is normally output and to notify the electronic control unit 207 of the monitoring result of whether the pulse signal is normal or abnormal. In this case, the monitoring CPU 111 outputs the monitoring result as, for example, a fail signal to the electronic control unit 207 via the fail (FAIL) output circuit 112.

図4を参照して実施の形態のロータリエンコーダREを組み込んだ電子制御システムを説明する。この電子制御システムは、エレベータ装置を制御するシステムであり、エレベータ装置201は、巻上機202を駆動用モータ203により駆動してロープ204を介して乗りかご205を昇降させる一方、被検出軸である駆動用モータ203の回転軸206に取り付けた実施の形態のロータリエンコーダREからの検出信号であるA、B相両信号を電子制御装置207に入力する。電子制御装置207は、制御用CPUを内蔵しており、ロータリエンコーダREからの検出信号により駆動用モータ203を駆動制御するようになっている。電子制御装置207は、制御用CPU208を内蔵していて、ロータリエンコーダREからの信号を処理するようになっている。   An electronic control system incorporating the rotary encoder RE of the embodiment will be described with reference to FIG. This electronic control system is a system for controlling an elevator apparatus. The elevator apparatus 201 drives a hoisting machine 202 by a driving motor 203 to raise and lower a passenger car 205 via a rope 204, while using a detected shaft. Both A and B phase signals, which are detection signals from the rotary encoder RE of the embodiment attached to the rotating shaft 206 of a certain driving motor 203, are input to the electronic control unit 207. The electronic control device 207 has a built-in control CPU, and drives and controls the drive motor 203 by a detection signal from the rotary encoder RE. The electronic control unit 207 includes a control CPU 208 and processes a signal from the rotary encoder RE.

そして、実施の形態のロータリエンコーダREの場合、監視用CPU111は、回転停止中では、汎用ポートI/Oに取り込んだ信号(6)(7)や、AD変換ポートA/Dに取り込んだ信号(1)−(5)で上記図3の表に従う正常、異常の判定処理すると共に、その判定結果を電子制御装置207に伝える一方、回転動作中では、外部割り込み端子INTに取り込んだ信号(8)(9)で上記図3の表に従う正常、異常の判定処理すると共に、その判定結果を電子制御装置207に伝える。   In the case of the rotary encoder RE according to the embodiment, when the rotation is stopped, the monitoring CPU 111 receives the signals (6) and (7) taken into the general-purpose port I / O and the signals taken into the AD conversion port A / D ( 1)-(5), normality / abnormality determination processing according to the table of FIG. 3 is performed and the determination result is transmitted to the electronic control unit 207. On the other hand, during rotation, the signal (8) taken into the external interrupt terminal INT In (9), normality / abnormality determination processing according to the table of FIG. 3 is performed, and the determination result is transmitted to the electronic control unit 207.

以上のように本実施の形態では、ロータリエンコーダREの監視項目を回転停止中では内部割込みで信号処理する監視項目(図3表の内部回路監視)に、回転動作中では外部割込みで信号処理する項目(図3表のパルス信号監視)に切り換えるようにしたので、回転動作中において、内部割込みによる監視項目が外部割込みに影響されずに安定した異常判定を行うことができるようになる一方、回転停止中には、ロータリエンコーダREの各内部回路の状態を監視しているので、制御対象となる装置が可動する前にロータリエンコーダREの異常を伝えることができ、回転動作中はロータリエンコーダREのパルス信号を監視するので、電子制御システム全体の安全性を図ることができる。   As described above, in the present embodiment, the monitoring item of the rotary encoder RE is a monitoring item (internal circuit monitoring in the table of FIG. 3) that performs signal processing with an internal interrupt when rotation is stopped, and is processed with an external interrupt during rotation operation. Since the item is switched to the item (pulse signal monitoring in the table of Fig. 3), during the rotation operation, the monitoring item by the internal interrupt can be judged stably without being affected by the external interrupt, while the rotation Since the state of each internal circuit of the rotary encoder RE is monitored during the stop, the abnormality of the rotary encoder RE can be transmitted before the device to be controlled moves, and the rotary encoder RE Since the pulse signal is monitored, the safety of the entire electronic control system can be achieved.

図1は本発明の実施の形態に係るロータリエンコーダの概略構成を示す図である。FIG. 1 is a diagram showing a schematic configuration of a rotary encoder according to an embodiment of the present invention. 図2はロータリエンコーダの電気的な構成を示すである。FIG. 2 shows the electrical configuration of the rotary encoder. 図3は監視用CPUによる監視項目を示す表図である。FIG. 3 is a table showing monitoring items by the monitoring CPU. 図4は実施の形態のロータリエンコーダを組み込んだ電子制御システムの構成を示す図である。FIG. 4 is a diagram showing a configuration of an electronic control system in which the rotary encoder of the embodiment is incorporated. 図5はロータリエンコーダの一般的な構成を示す図である。FIG. 5 is a diagram showing a general configuration of the rotary encoder. 図6は従来のロータリエンコーダの電気的な構成を示す図である。FIG. 6 is a diagram showing an electrical configuration of a conventional rotary encoder. 図7はA相信号、B相信号の信号波形を示す図である。FIG. 7 is a diagram showing signal waveforms of the A-phase signal and the B-phase signal.

符号の説明Explanation of symbols

101 電源回路
102 電源電圧監視回路
103 投光素子駆動回路
104 内部電源
105 検出回路
106 A相判定回路
107 A相出力回路
108 B相判定回路
109 B相出力回路
111 監視用CPU
201 エレベータ装置
203 駆動用モータ
207 電子制御装置(上位装置)
DESCRIPTION OF SYMBOLS 101 Power supply circuit 102 Power supply voltage monitoring circuit 103 Emitting element drive circuit 104 Internal power supply 105 Detection circuit 106 A phase determination circuit 107 A phase output circuit 108 B phase determination circuit 109 B phase output circuit 111 Monitoring CPU
201 Elevator device 203 Motor 207 for driving Electronic control device (host device)

Claims (3)

投光素子と、
上記投光素子と対向配置された複数の受光素子と、
上記投光素子と上記各受光素子との間に配置されて被検出軸と同期回転する円周方向複数の回転スリットと、
上記回転スリットに対する上記投光素子からの投光の通過、遮断に応じた上記各受光素子の出力から上記回転状態検出に用いる信号を生成する検出回路と、
上記検出回路の出力信号から各種相のパルス信号を生成出力する出力回路と、
当該ロータリエンコーダ内部の状態監視を行う監視用CPUと、を備えたロータリエンコーダであって、
上記監視用CPUは、その監視項目を
回転停止中では内部割込みで監視する第1の監視項目に切り替えて上位装置に当該第1の監視項目が正常か異常かの監視結果を伝える制御を行い、
回転動作中では外部割込みで監視する第2の監視項目に切り替えて上記上位装置に当該第2の監視項目が正常か異常かの監視結果を伝える制御を行うようになっている、ロータリエンコーダ。
A light emitting element;
A plurality of light receiving elements arranged opposite to the light projecting elements;
A circumferential plurality of rotary slits which rotates synchronously with the detection axis is disposed between the light projecting element and the light receiving elements,
A detection circuit for generating a signal for use in the rotation state detecting passage of the light projection, from the output of the light receiving elements corresponding to the cut off from the light emitting element to said rotation slit,
An output circuit for generating and outputting pulse signals of various phases from the output signal of the detection circuit;
A rotary encoder comprising a monitoring CPU for monitoring the state inside the rotary encoder,
The monitoring CPU performs control to switch the monitoring item to the first monitoring item to be monitored by an internal interrupt while the rotation is stopped, and to notify the host device of the monitoring result of whether the first monitoring item is normal or abnormal,
In a rotary operation is adapted to perform control to switch to the second monitoring items to be monitored by the external interrupt convey monitoring result if the second monitored item is normal or abnormal on the host device, a rotary encoder.
上記内部割込みで監視する上記第1の監視項目は、内部回路の状態に関する項目である、請求項1に記載のロータリエンコーダ。 The rotary encoder according to claim 1, wherein the first monitoring item monitored by the internal interrupt is an item related to a state of an internal circuit. 上記外部割込みで監視する上記第2の監視項目は、パルス信号の状態に関する項目である、請求項1または2に記載のロータリエンコーダ。 The rotary encoder according to claim 1, wherein the second monitoring item monitored by the external interrupt is an item related to a state of a pulse signal.
JP2007338693A 2007-12-28 2007-12-28 Rotary encoder Active JP5043636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007338693A JP5043636B2 (en) 2007-12-28 2007-12-28 Rotary encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007338693A JP5043636B2 (en) 2007-12-28 2007-12-28 Rotary encoder

Publications (2)

Publication Number Publication Date
JP2009156840A JP2009156840A (en) 2009-07-16
JP5043636B2 true JP5043636B2 (en) 2012-10-10

Family

ID=40961001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007338693A Active JP5043636B2 (en) 2007-12-28 2007-12-28 Rotary encoder

Country Status (1)

Country Link
JP (1) JP5043636B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5079622B2 (en) * 2008-08-01 2012-11-21 光洋電子工業株式会社 Rotary encoder
JP2013190327A (en) * 2012-03-14 2013-09-26 Omron Corp Monitoring device and method for rotary encoder

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0977412A (en) * 1995-09-14 1997-03-25 Mitsubishi Denki Bill Techno Service Kk Failure restoration device for elevator

Also Published As

Publication number Publication date
JP2009156840A (en) 2009-07-16

Similar Documents

Publication Publication Date Title
CN102195555B (en) Servo system, servo motor driving device, safety unit and method for controlling servo system
CN103308078B (en) Rotary encoder and method of detecting abnormality of rotary encoder
CN1623744A (en) Emergency stop circuit
JP2019161759A (en) Motor drive system
JP4981590B2 (en) Life prediction method for rotary encoder, rotary encoder and electronic control system
JP5089296B2 (en) Rotary encoder for elevator apparatus and elevator apparatus
JP5043636B2 (en) Rotary encoder
JPWO2007010716A1 (en) Encoder with abnormality detection device and control system therefor
JP5079622B2 (en) Rotary encoder
JP5043639B2 (en) Rotary encoder
JP5043638B2 (en) Rotary encoder
JP5240846B2 (en) Fan monitoring and control device
JP5043640B2 (en) Rotary encoder
JP6641920B2 (en) Power converter
JP5043566B2 (en) Elevator equipment
KR101531340B1 (en) Servo motor control system
JP2008292176A (en) Control system using rotary encoder and rotary encoder with self-diagnosis function
JP4901446B2 (en) Elevator control system
JP5166002B2 (en) Electronic control system and rotary encoder used therefor
JPH10249787A (en) Industrial robot
JP5274816B2 (en) Rotary encoder and electronic control system
KR102664902B1 (en) Apparatus for detecting failure of motor drive circuit and method thereof
JP5188785B2 (en) Method for improving operation abnormality judgment accuracy of rotary encoder
JP5089297B2 (en) Elevator equipment
JP2009058491A (en) Rotary encoder and electronic control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120607

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5043636

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250