JP2017147841A - Power conversion device - Google Patents

Power conversion device Download PDF

Info

Publication number
JP2017147841A
JP2017147841A JP2016027674A JP2016027674A JP2017147841A JP 2017147841 A JP2017147841 A JP 2017147841A JP 2016027674 A JP2016027674 A JP 2016027674A JP 2016027674 A JP2016027674 A JP 2016027674A JP 2017147841 A JP2017147841 A JP 2017147841A
Authority
JP
Japan
Prior art keywords
signal
position signal
encoder
safety
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016027674A
Other languages
Japanese (ja)
Other versions
JP6658056B2 (en
Inventor
博之 國分
Hiroyuki Kokubu
博之 國分
哲也 高山
Tetsuya Takayama
哲也 高山
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2016027674A priority Critical patent/JP6658056B2/en
Publication of JP2017147841A publication Critical patent/JP2017147841A/en
Application granted granted Critical
Publication of JP6658056B2 publication Critical patent/JP6658056B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology capable of suppressing a cost required for a motor drive system while satisfying safety performance required in the motor drive system.SOLUTION: An encoder I/F 114 acquires a first position signal and a second position signal having higher ability of error detection or correction than that of the first position signal, from an encoder 20 at different points of time. The encoder I/F 114 generates a first time stamp signal showing time at which the first position signal is acquired and a second time stamp signal showing time at which the second position signal is acquired. A safety microcomputer 122 determines presence/no presence of abnormality in communication of the second position signal. The safety microcomputer 122 generates first speed data from the first position signal and the first time stamp signal, generates second speed data from the second position signal and the second time stamp signal, and performs comparison using the first speed data, the second speed data, and a speed command signal supplied from a host controller.SELECTED DRAWING: Figure 1

Description

この発明は、モータを駆動する電力変換装置に関する。   The present invention relates to a power conversion device that drives a motor.

市場の省エネ要求の高まりに伴い、工場やビル等の動力源として多く用いられるモータの駆動制御システム(以下、モータ駆動システムという)では、モータの回転子の速度や出力を調整する機能を備えた電力変換装置が一般的に用いられている。この種のモータ駆動システムでは、電力変換装置の導入により高機能化が実現される一方、システムの複雑化が進んでいる。このため、電力変換装置自体もしくは付随する周辺装置の故障によって、モータの暴走や事故等が発生する可能性が増しており、これらの暴走や事故を防止することが強く求められている。そこで、国際標準規格であるIEC61508やISO13849のような安全規格が定められており、これらの安全規格に準拠した安全機能が電力変換装置に設けられるようになってきている。例えばモータを駆動制御する電力変換装置のための安全機能に関しては、国際標準規格であるIEC61800−5−2において、安全トルクオフ、安全減速といった安全機能の仕様が規定されている。各電力変換装置メーカーは、この安全機能の仕様に基づいて、電力変換装置を開発している。   Along with the growing demand for energy saving in the market, motor drive control systems (hereinafter referred to as motor drive systems) that are often used as power sources in factories and buildings have functions to adjust the speed and output of the rotor of the motor. A power converter is generally used. In this type of motor drive system, the introduction of a power conversion device achieves higher functionality while the system is becoming more complex. For this reason, there is an increased possibility of motor runaway or accidents due to failure of the power conversion device itself or accompanying peripheral devices, and there is a strong demand to prevent these runaways and accidents. Therefore, safety standards such as IEC 61508 and ISO 13849, which are international standards, have been established, and a safety function conforming to these safety standards has been provided in power converters. For example, regarding a safety function for a power conversion device that drives and controls a motor, specifications of safety functions such as safe torque-off and safe deceleration are defined in IEC 61800-5-2, which is an international standard. Each power converter manufacturer has developed a power converter based on the specifications of this safety function.

これらの安全機能のうち安全減速機能については、モータの回転子の速度を監視し、電力変換装置に減速指令信号が入力された時点から規定された時間までに規定された速度までモータを減速させることを要求される。そして、減速がなされない場合や規定された速度を超過した場合などのように正常に減速されない場合には、電力変換装置の出力を強制的に遮断することを要求される。このような安全減速機能などを実現するためには、モータの回転子の速度や位置(以下、単にモータの速度や位置という)の故障を正確に検出する手段が必要である。一般に、モータの速度や位置の検出には、エンコーダが用いられる。   Of these safety functions, the safety deceleration function monitors the speed of the rotor of the motor and decelerates the motor to the specified speed from the time when the deceleration command signal is input to the power converter to the specified time. Is required to. And when not decelerating normally, such as when deceleration is not carried out or when a prescribed speed is exceeded, it is required to forcibly cut off the output of the power converter. In order to realize such a safety deceleration function, means for accurately detecting a failure in the speed and position of the rotor of the motor (hereinafter simply referred to as the speed and position of the motor) is required. In general, an encoder is used to detect the speed and position of a motor.

ここで、エンコーダに異常が発生すると、モータの速度や位置を正常に検出することができなくなり、安全機能を正常に機能させることができなくなる。このため、エンコーダの異常の有無を診断する技術が提案されている。   Here, when an abnormality occurs in the encoder, the speed and position of the motor cannot be normally detected, and the safety function cannot be normally functioned. For this reason, a technique for diagnosing the presence or absence of an abnormality in the encoder has been proposed.

その一例として、エンコーダ内のASIC(Application Specific Integrated Circuit)もしくはCPU(Central Processing Unit)や検出回路の二重化が挙げられる。例えば、エンコーダには、2系統の検出回路と2個のASICが設けられる。2個のASICの各々は、2系統の検出回路の各々から出力される検出信号の比較を独立して行い、各ASICにおける比較結果を相互に診断する。また、他の例として、モータに複数個のエンコーダを取り付けるようなエンコーダの二重化が挙げられる。この場合、エンコーダとは異なる他の装置が各エンコーダの出力の比較を行うことで、エンコーダの異常の有無が診断される。また、他の例として、エンコーダの出力を監視する部品をモータ駆動システムに設けて、エンコーダの異常の有無の診断機能を強化する態様も考えられる。   As an example, there is an ASIC (Application Specific Integrated Circuit) or CPU (Central Processing Unit) in the encoder or a duplex detection circuit. For example, the encoder is provided with two detection circuits and two ASICs. Each of the two ASICs independently compares the detection signals output from each of the two systems of detection circuits, and mutually diagnoses the comparison results in each ASIC. In addition, as another example, there is a duplex encoder in which a plurality of encoders are attached to a motor. In this case, another device different from the encoder compares the output of each encoder, thereby diagnosing the presence or absence of the encoder abnormality. As another example, a mode in which a part for monitoring the output of the encoder is provided in the motor drive system to enhance the diagnosis function for the presence or absence of the encoder abnormality is also conceivable.

また、他の例として、特許文献1には、コントローラとエンコーダとサーボドライバとセーフティユニットとを有するサーボシステムが開示されている。このサーボシステムのサーボドライバは、コントローラから供給される速度指令値とエンコーダから取得したフィードバック値とをセーフティユニットに送る。セーフティユニットは、速度指令値とフィードバック値とを比較する。特許文献1の技術では、エンコーダから取得したフィードバック値の異常を検出することができ、エンコーダを安全機能を有するものに入れ替えることなく、サーボシステムの安全化を図ることができる。   As another example, Patent Document 1 discloses a servo system having a controller, an encoder, a servo driver, and a safety unit. The servo driver of this servo system sends the speed command value supplied from the controller and the feedback value acquired from the encoder to the safety unit. The safety unit compares the speed command value with the feedback value. With the technique of Patent Document 1, it is possible to detect an abnormality in the feedback value acquired from the encoder, and it is possible to make the servo system safe without replacing the encoder with one having a safety function.

特許第5367623号公報Japanese Patent No. 5367623

ところで、電力変換装置は、エンコーダとの間で通信を行ってエンコーダの出力信号を取得する。エンコーダと電力変換装置との間の通信の際には、データのビット化けやデータの誤送信などの異常が発生する虞がある。サーボアンプなどの電力変換装置には、このような通信の異常を防止する機能が、安全規格を満たす形で備わっていないことが多い。   By the way, a power converter device communicates with an encoder and acquires the output signal of an encoder. During communication between the encoder and the power converter, there is a possibility that an abnormality such as data bit corruption or erroneous data transmission may occur. In many cases, power converters such as servo amplifiers do not have a function for preventing such communication abnormalities so as to satisfy safety standards.

このような通信の異常を防止する機能が安全規格を満たす形で設けられない場合、その対策として、電力変換装置にエンコーダの出力信号を受信する通信手段を複数個設置し、各々の通信手段で受信したエンコーダの出力信号を比較して、エンコーダとの間の通信の異常の有無を診断することがある。しかし、電力変換装置に通信手段を複数個設けた場合、通信手段の個数が増加するため、通信手段の設置に必要な基板面積が広くなったり通信手段にかかるコストが高くなったりする。   When a function for preventing such communication abnormality is not provided in a form that satisfies the safety standard, as a countermeasure, a plurality of communication means for receiving the output signal of the encoder is installed in the power converter, and each communication means The received encoder output signal may be compared to diagnose whether there is an abnormality in communication with the encoder. However, when a plurality of communication means are provided in the power conversion device, the number of communication means increases, so that the board area necessary for installing the communication means increases and the cost for the communication means increases.

この発明は、以上説明した事情に鑑みてなされたものであり、モータ駆動システムにおいて要求される安全性能を満たしつつ、モータ駆動システムにかかるコストを抑えることが可能な技術を提供することを目的とする。   The present invention has been made in view of the above-described circumstances, and an object of the present invention is to provide a technique capable of suppressing the cost of the motor drive system while satisfying the safety performance required in the motor drive system. To do.

この発明による電力変換装置は、モータを駆動するものである。本電力変換装置は、モータの回転子の位置を検出するエンコーダと通信し、第1の位置信号と第1の位置信号よりも誤り検出または訂正の能力の高い第2の位置信号とを時間を変えてエンコーダから取得する通信手段と、第1の位置信号と、第2の位置信号と、上位コントローラから供給される速度指令信号とに基づいてエンコーダに関する異常の有無を判断する安全回路と、を有する。   The power conversion device according to the present invention drives a motor. The power conversion device communicates with an encoder that detects the position of the rotor of the motor, and sends a first position signal and a second position signal having a higher error detection or correction capability than the first position signal. A safety circuit that determines whether there is an abnormality related to the encoder based on the communication means that is obtained from the encoder instead, the first position signal, the second position signal, and the speed command signal supplied from the host controller; Have.

この発明による電力変換装置では、2種類の位置信号(第1の位置信号および第2の位置信号)と速度指令信号とに基づいてエンコーダに関する異常の有無が判断される。このため、本電力変換装置では、エンコーダと電力変換装置との間の通信の異常の有無を含めたエンコーダに関する異常の有無を検出することができる。このため、本電力変換装置は、エンコーダと電力変換装置との間の通信の異常を防止する機能が安全規格を満たす形で設けられていなくても、モータ駆動システムにおいて要求される安全性能を満たす。また、本電力変換装置では、通信手段が第1の位置信号と第2の位置信号とを取得するため、通信手段を複数搭載する必要がなく、通信手段の設置に関するコストを抑えることができる。また、本電力変換装置では、2種類の位置信号のうちの一方の位置信号(具体的には第2の位置信号)を誤り検出または訂正の能力の高い通信によってエンコーダから取得する。このため、本電力変換装置では、従来の電力変換装置に比べ、より確実に通信の異常の有無を検出することができる。また、エンコーダは、エンコーダ内にASICが複数搭載されていなくても、第1の位置信号と第2の位置信号とを1つのASICで生成することが可能である。このため、本電力変換装置を用いれば、エンコーダ内にASICが複数搭載されたような高価な安全対応エンコーダを使用する必要がなく、エンコーダにかかるコストを抑えることができる。また、本電力変換装置では、第1の位置信号と第2の位置信号とを同一のエンコーダから取得する。このため、本電力変換装置を用いれば、複数個のエンコーダをモータに取り付ける必要がなく、エンコーダにかかるコストを抑えることができる。   In the power conversion device according to the present invention, the presence / absence of an abnormality in the encoder is determined based on the two types of position signals (first position signal and second position signal) and the speed command signal. For this reason, in this power converter device, the presence or absence of the abnormality regarding the encoder including the presence or absence of the abnormality of the communication between the encoder and the power converter device can be detected. For this reason, the power conversion device satisfies the safety performance required in the motor drive system even if the function for preventing abnormal communication between the encoder and the power conversion device is not provided in a form that satisfies the safety standard. . Moreover, in this power converter device, since a communication means acquires a 1st position signal and a 2nd position signal, it is not necessary to mount several communication means and the cost regarding installation of a communication means can be held down. In the power conversion apparatus, one position signal (specifically, the second position signal) of the two kinds of position signals is acquired from the encoder by communication with high error detection or correction capability. For this reason, in this power converter, compared with the conventional power converter, the presence or absence of a communication abnormality can be detected more reliably. Further, the encoder can generate the first position signal and the second position signal with one ASIC even if a plurality of ASICs are not mounted in the encoder. For this reason, if this power converter is used, it is not necessary to use an expensive safety-compatible encoder in which a plurality of ASICs are mounted in the encoder, and the cost of the encoder can be suppressed. In this power converter, the 1st position signal and the 2nd position signal are acquired from the same encoder. For this reason, if this power converter device is used, it is not necessary to attach a some encoder to a motor, and the cost concerning an encoder can be held down.

従って、この発明による電力変換装置を用いれば、モータ駆動システムにおいて要求される安全性能を満たしつつ、モータ駆動システムにかかるコストを抑えることが可能である。   Therefore, by using the power conversion device according to the present invention, it is possible to reduce the cost of the motor drive system while satisfying the safety performance required in the motor drive system.

この発明の一実施形態による電力変換装置10を含むモータ駆動システム1の構成を示すブロック図である。1 is a block diagram showing a configuration of a motor drive system 1 including a power conversion device 10 according to an embodiment of the present invention. モータ駆動システム1におけるエンコーダ20が生成する第1の位置信号の通信フレームの構成を示す図である。It is a figure which shows the structure of the communication frame of the 1st position signal which the encoder 20 in the motor drive system 1 produces | generates. モータ駆動システム1におけるエンコーダ20が生成する第2の位置信号の通信フレームの構成を示す図である。It is a figure which shows the structure of the communication frame of the 2nd position signal which the encoder 20 in the motor drive system 1 produces | generates. 電力変換装置10の安全用マイコン122の機能を示すブロック図である。3 is a block diagram illustrating functions of a safety microcomputer 122 of the power conversion device 10. FIG. 安全用マイコン122の動作を示すフローチャートである。4 is a flowchart showing the operation of the safety microcomputer 122.

以下、図面を参照しつつ、この発明の実施形態について説明する。
<実施形態>
図1は、この発明の一実施形態による電力変換装置10を含むモータ駆動システム1の構成を示すブロック図である。モータ駆動システム1は、電力変換装置10とエンコーダ20とを有する。電力変換装置10は、例えばサーボアンプやインバータなどであり、交流電源40から供給される電力を変換してサーボモータや誘導モータなどのモータ30に供給し、モータ30を駆動制御する装置である。エンコーダ20は、モータ30の回転子の位置(すなわち回転角度)を検出する装置である。エンコーダ20の出力信号は、電力変換装置10に送られる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<Embodiment>
FIG. 1 is a block diagram showing a configuration of a motor drive system 1 including a power conversion device 10 according to an embodiment of the present invention. The motor drive system 1 includes a power conversion device 10 and an encoder 20. The power conversion device 10 is, for example, a servo amplifier or an inverter, and is a device that converts the power supplied from the AC power supply 40 and supplies the converted power to the motor 30 such as a servo motor or an induction motor, and drives and controls the motor 30. The encoder 20 is a device that detects the position (that is, the rotation angle) of the rotor of the motor 30. The output signal of the encoder 20 is sent to the power conversion device 10.

モータ30の回転子の回転軸には、回転子の回転に従って周方向に回転する円盤が取り付けられる。エンコーダ20は、円盤に描かれた角度に応じたコードパターンを光学的に読み取ることでモータ30の回転子の位置を検出する。なお、具体的な位置検出方法は、コードパターンを光学的に読み取る方法に限らない。エンコーダ20は、モータ30の回転子の位置の検出結果を表す信号に信号処理を施してエンコーダ20の出力信号である第1の位置信号と第2の位置信号とを生成する信号処理手段を有する。信号処理手段は、例えば、ASICやCPUなどである。   A disk that rotates in the circumferential direction according to the rotation of the rotor is attached to the rotating shaft of the rotor of the motor 30. The encoder 20 detects the position of the rotor of the motor 30 by optically reading a code pattern corresponding to the angle drawn on the disk. The specific position detection method is not limited to the method of optically reading the code pattern. The encoder 20 has signal processing means for generating a first position signal and a second position signal which are output signals of the encoder 20 by performing signal processing on a signal representing the detection result of the rotor position of the motor 30. . The signal processing means is, for example, an ASIC or a CPU.

図2は、エンコーダ20のASICが生成する第1の位置信号の通信フレームの構成を示す図である。第1の位置信号は、主に、モータの駆動制御に用いられる位置信号である。第1の位置信号の通信フレームのペイロードには、モータ30の回転子の位置の検出結果である位置データが格納される。位置データは、例えば、20ビットで表される。第1の位置信号の通信フレームのヘッダには、取得コマンドなどの通信コマンドと、巡回冗長検査(Cyclic Redundancy Check:CRC)に用いられる簡易的な巡回冗長符号が格納される。第1の位置信号の通信フレームのフッタには、その他のエンコーダ20の追加情報が格納される。このように、第1の位置信号の通信フレームは、従来のエンコーダの出力信号の通信フレームと同様の構成となっている。第1の位置信号は、簡易的な巡回冗長符号が格納されてはいるものの、安全通信仕様(例えば、IECなどで規定される安全通信に関する仕様)を満たしていない信号である。このため、第1の位置信号をモータ駆動制御に用いることはできても、第1の位置信号だけで安全制御を行うのは好ましくない。   FIG. 2 is a diagram illustrating a configuration of a communication frame of the first position signal generated by the ASIC of the encoder 20. The first position signal is a position signal mainly used for drive control of the motor. In the payload of the communication frame of the first position signal, position data that is a detection result of the position of the rotor of the motor 30 is stored. The position data is represented by 20 bits, for example. In the header of the communication frame of the first position signal, a communication command such as an acquisition command and a simple cyclic redundancy code used for cyclic redundancy check (CRC) are stored. Additional information of the other encoder 20 is stored in the footer of the communication frame of the first position signal. As described above, the communication frame of the first position signal has the same configuration as the communication frame of the output signal of the conventional encoder. The first position signal is a signal that does not satisfy a safety communication specification (for example, a specification related to safety communication defined by IEC) although a simple cyclic redundancy code is stored. For this reason, even though the first position signal can be used for motor drive control, it is not preferable to perform safety control using only the first position signal.

図3は、エンコーダ20のASICが生成する第2の位置信号の通信フレームの構成を示す図である。第2の位置信号は、安全制御に用いられる位置信号である。第2の位置信号の通信フレームのペイロードには、モータ30の回転子の位置の検出結果である位置データが格納される。第2の位置信号の位置データは、第1の位置信号の位置データと同様のものである。第2の位置信号の通信フレームのヘッダには、取得コマンドなどの通信コマンドと、通信する毎に更新される番号であるシーケンス番号と、通信相手であると明確に判定することを可能にする識別子であるユニークIDと、8ビットや16ビット等の巡回冗長符号とが格納される。第2の位置信号の巡回冗長符号は、第1の位置信号の簡易的な巡回冗長符号よりもビット数が多くなっている。第2の位置信号の通信フレームのフッタには、通信に必要な最小限の情報が格納される。このように、第2の位置信号の通信フレームは、第1の位置信号の通信フレームに比べ、誤り検出または訂正に用いられる情報がヘッダに多く格納される構成となっている。このため、第2の位置信号は、第1の位置信号よりも誤り検出または訂正の能力が高い位置信号である。第2の位置信号は、第1の位置信号に比べ通信における安全性が高くなっており、安全通信仕様を満たす。   FIG. 3 is a diagram illustrating a configuration of a communication frame of the second position signal generated by the ASIC of the encoder 20. The second position signal is a position signal used for safety control. In the payload of the communication frame of the second position signal, position data that is a detection result of the position of the rotor of the motor 30 is stored. The position data of the second position signal is the same as the position data of the first position signal. The header of the communication frame of the second position signal includes a communication command such as an acquisition command, a sequence number that is updated every time communication is performed, and an identifier that can be clearly determined as a communication partner. And a unique ID and a cyclic redundancy code such as 8 bits or 16 bits are stored. The cyclic redundancy code of the second position signal has a larger number of bits than the simple cyclic redundancy code of the first position signal. The footer of the communication frame of the second position signal stores minimum information necessary for communication. As described above, the communication frame of the second position signal is configured to store more information used for error detection or correction in the header than the communication frame of the first position signal. For this reason, the second position signal is a position signal having higher error detection or correction capability than the first position signal. The second position signal has higher safety in communication than the first position signal, and satisfies the safety communication specification.

図1に示すように、電力変換装置10は、制御基板11、電源基板15、主回路13および安全オプション12を有する。   As shown in FIG. 1, the power conversion device 10 includes a control board 11, a power supply board 15, a main circuit 13, and a safety option 12.

主回路13は、IGBT(Insulated Gate Bipoler Transistor)などのスイッチング素子を有している。このスイッチング素子は、ゲート信号に応じてオン/オフする。主回路13は、このスイッチング素子のオン/オフに従った電流をモータ30に出力する。モータ30は、主回路13から供給される電流に応じて動作する。   The main circuit 13 includes a switching element such as an IGBT (Insulated Gate Bipolar Transistor). This switching element is turned on / off according to the gate signal. The main circuit 13 outputs a current according to on / off of the switching element to the motor 30. The motor 30 operates according to the current supplied from the main circuit 13.

制御基板11には、モータ30を駆動制御するための各要素が備えられている。具体的には、制御基板11には、指令信号用端子台111、モータ制御用マイコン112およびPWMLSI(Pulse Width Modulation Large Scale Integration)113およびエンコーダインターフェース(以下、インターフェースをI/Fと表記する)114が実装されている。   The control board 11 is provided with each element for driving and controlling the motor 30. Specifically, the control board 11 includes a command signal terminal block 111, a motor control microcomputer 112, a PWM LSI (Pulse Width Modulation Large Scale Integration) 113, and an encoder interface (hereinafter, the interface is referred to as I / F) 114. Has been implemented.

指令信号用端子台111は、上位コントローラ(図示略)から各種の指令信号(例えば速度指令信号など)を受け取り、モータ制御用マイコン112に引き渡す。モータ制御用マイコン112は、指令信号用端子台111を介して上位コントローラから供給される各種の指令信号に基づいてモータ30を駆動制御するための演算を行う制御演算手段である。モータ制御用マイコン112は、その演算を行って制御信号(例えば電圧指令信号)を生成する。PWMLSI113は、モータ制御用マイコン112から供給される制御信号に基づいてキャリア信号をパルス幅変調してPWM信号を生成する。生成されたPWM信号は、電源基板15に実装されているゲート駆動回路14に出力される。   The command signal terminal block 111 receives various command signals (for example, a speed command signal) from a host controller (not shown) and delivers them to the motor control microcomputer 112. The motor control microcomputer 112 is a control calculation unit that performs calculations for driving and controlling the motor 30 based on various command signals supplied from the host controller via the command signal terminal block 111. The motor control microcomputer 112 performs the calculation and generates a control signal (for example, a voltage command signal). The PWM LSI 113 generates a PWM signal by pulse width modulating the carrier signal based on the control signal supplied from the motor control microcomputer 112. The generated PWM signal is output to the gate drive circuit 14 mounted on the power supply substrate 15.

ゲート駆動回路14は、例えば、フォトカプラを有している。ゲート駆動回路14は、ゲート停止信号が与えられていない状態では、フォトカプラの電源がオン状態となり、制御基板11のPWMLSI113から供給されるPWM信号をゲート信号として主回路13に出力する。一方、ゲート駆動回路14は、ゲート停止信号を受信すると、フォトカプラの電源がオフ状態となり、主回路13へのゲート信号の出力を停止する。また、ゲート駆動回路14は、ゲート信号の出力を停止しているか否かを表すゲート停止状態信号を安全オプション12に出力する。   The gate drive circuit 14 includes, for example, a photocoupler. In the state where the gate stop signal is not given, the gate drive circuit 14 turns on the power supply of the photocoupler, and outputs the PWM signal supplied from the PWM LSI 113 of the control board 11 to the main circuit 13 as a gate signal. On the other hand, when the gate drive circuit 14 receives the gate stop signal, the photocoupler is turned off and stops outputting the gate signal to the main circuit 13. Further, the gate drive circuit 14 outputs a gate stop state signal indicating whether or not the output of the gate signal is stopped to the safety option 12.

エンコーダI/F114は、RS485などの規格に基づいたシリアル通信に従ってエンコーダ20のASICと通信を行う通信手段である。エンコーダI/F114は、エンコーダ20と通信を行って、第1の位置信号と第2の位置信号とを時間を変えてエンコーダ20から取得する。すなわち、エンコーダI/F114が第1の位置信号を取得するタイミングとエンコーダI/F114が第2の位置信号を取得するタイミングとが異なる。   The encoder I / F 114 is a communication unit that communicates with the ASIC of the encoder 20 according to serial communication based on a standard such as RS485. The encoder I / F 114 communicates with the encoder 20 and acquires the first position signal and the second position signal from the encoder 20 while changing the time. That is, the timing at which the encoder I / F 114 acquires the first position signal is different from the timing at which the encoder I / F 114 acquires the second position signal.

ここで、エンコーダ20において第1の位置信号と第2の位置信号とが同一タイミングで生成される第1の態様と、第1の位置信号と第2の位置信号とが異なるタイミングで生成される第2の態様の2つの態様が考えられる。   Here, in the encoder 20, the first mode in which the first position signal and the second position signal are generated at the same timing, and the first position signal and the second position signal are generated at different timings. Two aspects of the second aspect are conceivable.

第1の態様では、例えば、エンコーダI/F114は、所定の頻度(従来の電力変換装置におけるエンコーダの出力信号を取得する際の通信の頻度と同様の頻度など)でリクエスト信号をエンコーダ20に送信する。エンコーダ20は、リクエスト信号を受信すると、その受信タイミングにおけるモータ30の回転子の位置を検出する。エンコーダ20のASICは、その位置検出結果である位置データを図2の通信フレームに格納して第1の位置信号を生成するとともに、その位置検出結果である位置データを図3の通信フレームに格納して第2の位置信号を生成する。すなわち、この態様では、第1の位置信号の位置データと第2の位置信号の位置データは、同一タイミングで検出された同一のデータである。そして、エンコーダ20のASICは、第1の位置信号を電力変換装置10に送信し、第1の位置信号の送信が完了した後に第2の位置信号を電力変換装置10に送信する。電力変換装置10は、このようにして同一タイミングにおいて生成された第1の位置信号と第2の位置信号とを時間を変えてエンコーダ20から取得する。   In the first aspect, for example, the encoder I / F 114 transmits the request signal to the encoder 20 at a predetermined frequency (such as the frequency similar to the frequency of communication when acquiring the output signal of the encoder in the conventional power converter). To do. When the encoder 20 receives the request signal, the encoder 20 detects the position of the rotor of the motor 30 at the reception timing. The ASIC of the encoder 20 stores the position data as the position detection result in the communication frame of FIG. 2 to generate the first position signal, and stores the position data as the position detection result in the communication frame of FIG. Thus, the second position signal is generated. That is, in this aspect, the position data of the first position signal and the position data of the second position signal are the same data detected at the same timing. Then, the ASIC of the encoder 20 transmits the first position signal to the power conversion device 10 and transmits the second position signal to the power conversion device 10 after the transmission of the first position signal is completed. The power conversion device 10 acquires the first position signal and the second position signal thus generated at the same timing from the encoder 20 while changing the time.

第2の態様では、例えば、エンコーダI/F114は、所定の頻度で第1の位置信号についてのリクエスト信号をエンコーダ20に送信する。エンコーダ20は、その第1の位置信号についてのリクエスト信号を受信したタイミングにおけるモータ30の回転子の位置を検出する。エンコーダ20のASICは、この位置検出結果である位置データを図2の通信フレームに格納して第1の位置信号を生成する。そして、エンコーダ20のASICは、第1の位置信号を電力変換装置10に送信する。電力変換装置10は、このようにして第1の位置信号をエンコーダ20から取得する。その後、エンコーダI/F114は、第2の位置信号についてのリクエスト信号をエンコーダ20に送信する。エンコーダ20は、その第2の位置信号についてのリクエスト信号を受信したタイミングにおけるモータ30の回転子の位置を検出する。エンコーダ20のASICは、この位置検出結果である位置データを図3の通信フレームに格納して第2の位置信号を生成する。すなわち、この態様では、第1の位置信号の位置データと第2の位置信号の位置データは、異なるタイミングで検出された異なるデータである。そして、エンコーダ20のASICは、第2の位置信号を電力変換装置10に送信する。電力変換装置10は、このようにして異なるタイミングにおいて生成された第1の位置信号と第2の位置信号とを時間を変えてエンコーダ20から取得する。   In the second mode, for example, the encoder I / F 114 transmits a request signal for the first position signal to the encoder 20 at a predetermined frequency. The encoder 20 detects the position of the rotor of the motor 30 at the timing at which the request signal for the first position signal is received. The ASIC of the encoder 20 stores the position data, which is the position detection result, in the communication frame of FIG. 2 and generates a first position signal. Then, the ASIC of the encoder 20 transmits the first position signal to the power conversion device 10. In this way, the power conversion device 10 acquires the first position signal from the encoder 20. Thereafter, the encoder I / F 114 transmits a request signal for the second position signal to the encoder 20. The encoder 20 detects the position of the rotor of the motor 30 at the timing at which the request signal for the second position signal is received. The ASIC of the encoder 20 stores the position data that is the position detection result in the communication frame of FIG. 3 and generates a second position signal. That is, in this aspect, the position data of the first position signal and the position data of the second position signal are different data detected at different timings. Then, the ASIC of the encoder 20 transmits the second position signal to the power conversion device 10. The power conversion device 10 acquires the first position signal and the second position signal generated at different timings in this way from the encoder 20 while changing the time.

エンコーダI/F114は、所定の頻度で取得する第1の位置信号に関する通信の合間に第2の位置信号に関する通信を行って第2の位置信号を取得すれば良い。第1の位置信号に関する通信頻度と第2の位置信号に関する通信頻度とは、同じであっても良いし異なっていても良い。上述の第2の態様であれば、例えば、第1の位置信号を取得した後から次の第1の位置信号のリクエスト信号を送信する前の間に第2の位置信号を2度取得するというように、第1の位置信号に関する通信頻度と第2の位置信号に関する通信頻度を変えることができる。   The encoder I / F 114 may acquire the second position signal by performing communication regarding the second position signal between the communication regarding the first position signal acquired at a predetermined frequency. The communication frequency regarding the first position signal and the communication frequency regarding the second position signal may be the same or different. In the case of the second aspect described above, for example, the second position signal is acquired twice after the first position signal is acquired and before the request signal of the next first position signal is transmitted. As described above, the communication frequency related to the first position signal and the communication frequency related to the second position signal can be changed.

エンコーダI/F114は、第1の位置信号を取得すると、第1の位置信号を取得した時刻を示す第1のタイムスタンプ信号を生成する。エンコーダI/F114は、取得した第1の位置信号と生成した第1のタイムスタンプ信号とをモータ制御用マイコン112に引き渡す。また、エンコーダI/F114は、第2の位置信号を取得すると、第2の位置信号を取得した時刻を示す第2のタイムスタンプ信号を生成する。エンコーダI/F114は、取得した第2の位置信号と生成した第2のタイムスタンプ信号とをモータ制御用マイコン112に引き渡す。   When the encoder I / F 114 acquires the first position signal, the encoder I / F 114 generates a first time stamp signal indicating the time when the first position signal is acquired. The encoder I / F 114 delivers the acquired first position signal and the generated first time stamp signal to the motor control microcomputer 112. Further, when the encoder I / F 114 acquires the second position signal, the encoder I / F 114 generates a second time stamp signal indicating the time when the second position signal is acquired. The encoder I / F 114 delivers the acquired second position signal and the generated second time stamp signal to the motor control microcomputer 112.

モータ制御用マイコン112は、第1の位置信号、第1のタイムスタンプ信号、第2の位置信号および第2のタイムスタンプ信号をエンコーダI/F114から受け取ると、それら各信号を安全オプション12に送る。また、モータ制御用マイコン112は、上位コントローラから供給された速度指令信号を安全オプション12に送る。このように、モータ制御用マイコン112は、これらの各信号を安全オプション12に出力する役割を兼ねる。また、モータ制御用マイコン112は、モータ30を駆動制御するための指令信号に基づいた演算を行う際に、第1の位置信号の位置データを参照する。   Upon receiving the first position signal, the first time stamp signal, the second position signal, and the second time stamp signal from the encoder I / F 114, the motor control microcomputer 112 sends these signals to the safety option 12. . Further, the motor control microcomputer 112 sends the speed command signal supplied from the host controller to the safety option 12. Thus, the motor control microcomputer 112 also serves to output these signals to the safety option 12. The motor control microcomputer 112 refers to the position data of the first position signal when performing a calculation based on a command signal for driving and controlling the motor 30.

安全オプション12は、モータ駆動システム1において異常の発生を検知した場合や作業者等による非常停止ボタンの押下操作を検知した場合などにおいて、ゲート停止信号を出力してゲート駆動回路14にゲート信号の出力を停止させる安全制御を行う安全回路である。モータ駆動システム1における異常の一例として、エンコーダ20自体の異常やエンコーダ20と電力変換装置10との間の通信の異常などのエンコーダ20に関する異常が挙げられる。安全オプション12は、エンコーダ20に関する異常の有無を判断する手段である。このような異常の有無の判断は、安全オプション12が記憶装置(図示略)に格納されているプログラムを実行することで実現される。   The safety option 12 outputs a gate stop signal and outputs a gate signal to the gate drive circuit 14 when an abnormality is detected in the motor drive system 1 or when an operator presses an emergency stop button. It is a safety circuit that performs safety control to stop output. As an example of an abnormality in the motor drive system 1, an abnormality relating to the encoder 20 such as an abnormality of the encoder 20 itself or an abnormality in communication between the encoder 20 and the power conversion device 10 can be given. The safety option 12 is a means for determining whether there is an abnormality related to the encoder 20. Such determination of the presence / absence of an abnormality is realized by executing a program stored in a storage device (not shown) by the safety option 12.

電力変換装置10において、安全オプション12と同じ構成の回路を追加して安全オプション12を二重化しても良い。この場合、2個の安全オプション12の各々は、エンコーダ20に関する異常の有無の判断を独立して行い、各安全オプション12における結果を相互に診断する。   In the power conversion device 10, the safety option 12 may be duplicated by adding a circuit having the same configuration as the safety option 12. In this case, each of the two safety options 12 independently determines whether there is an abnormality in the encoder 20 and mutually diagnoses the result in each safety option 12.

安全オプション12には、安全関連信号用端子台121、安全用マイコン122および非常停止回路123が備えられている。   The safety option 12 includes a safety-related signal terminal block 121, a safety microcomputer 122, and an emergency stop circuit 123.

安全関連信号用端子台121は、外部回路(図示略)から非常停止信号(例えば、非常停止ボタンの押下操作により発生した信号)を受け取り、安全用マイコン122および非常停止回路123に引き渡す。また、安全関連信号用端子台121は、外部回路(図示略)から安全信号を受け取り、安全用マイコン112に引き渡す。安全信号としては、安全トルクオフの安全機能を実現するための安全信号、減速停止の安全機能を実現するための安全信号、速度制限の安全機能を実現するための安全信号などが挙げられる。安全トルクオフは、主回路13のスイッチング素子のゲートを即座に遮断する安全機能である。減速停止は、早急にモータ30を止めるためにモータ30を減速させて、停止付近で安全トルクオフとする安全機能である。速度制限は、モータ30を予め設定した速度になるように減速させる安全機能である。   The safety-related signal terminal block 121 receives an emergency stop signal (for example, a signal generated by pressing the emergency stop button) from an external circuit (not shown), and delivers it to the safety microcomputer 122 and the emergency stop circuit 123. The safety-related signal terminal block 121 receives a safety signal from an external circuit (not shown) and delivers it to the safety microcomputer 112. Examples of the safety signal include a safety signal for realizing a safety function for safety torque off, a safety signal for realizing a safety function for deceleration stop, a safety signal for realizing a safety function for speed limitation, and the like. The safe torque off is a safety function that immediately shuts off the gate of the switching element of the main circuit 13. The deceleration stop is a safety function in which the motor 30 is decelerated to stop the motor 30 as soon as possible, and the safety torque is turned off near the stop. The speed limit is a safety function that decelerates the motor 30 to a preset speed.

安全用マイコン122は、安全関連信号用端子台121から出力される非常停止信号および安全信号、ゲート駆動回路14から出力されるゲート停止状態信号を取得する。また、安全用マイコン122は、モータ制御用マイコン112から出力される速度指令信号、第1の位置信号、第1のタイムスタンプ信号、第2の位置信号および第2のタイムスタンプ信号を取得する。安全用マイコン122は、これらの各信号に基づいてモータ駆動システム1における異常の有無を判断し、異常があると判断した場合に非常停止指令を非常停止回路123に出力する回路である。   The safety microcomputer 122 acquires an emergency stop signal and a safety signal output from the safety-related signal terminal block 121 and a gate stop state signal output from the gate drive circuit 14. In addition, the safety microcomputer 122 acquires the speed command signal, the first position signal, the first time stamp signal, the second position signal, and the second time stamp signal output from the motor control microcomputer 112. The safety microcomputer 122 is a circuit that determines the presence or absence of an abnormality in the motor drive system 1 based on these signals and outputs an emergency stop command to the emergency stop circuit 123 when it is determined that there is an abnormality.

非常停止回路123は、安全関連信号用端子台121から出力される非常停止信号または安全用マイコン122から出力される非常停止指令が供給された場合に、ゲート停止信号をゲート駆動回路14に出力する回路である。   The emergency stop circuit 123 outputs a gate stop signal to the gate drive circuit 14 when an emergency stop signal output from the safety-related signal terminal block 121 or an emergency stop command output from the safety microcomputer 122 is supplied. Circuit.

図4は、安全用マイコン122の機能を示すブロック図である。安全用マイコン122は、速度指令信号取得部503、位置信号取得部501、位置速度変換部502、速度比較部504、安全通信処理部505、位置速度変換部506、非常停止指令出力部508、モータ制御用マイコン通信部509、安全信号監視部507、非常停止信号監視部510、ゲート停止状態信号監視部511、自己診断処理部512、相互診断処理部513および初期化関連処理部514を有する。安全用マイコン122のこれら各部は、安全用マイコン122がプログラムを実行することにより実現される機能である。   FIG. 4 is a block diagram showing functions of the safety microcomputer 122. The safety microcomputer 122 includes a speed command signal acquisition unit 503, a position signal acquisition unit 501, a position speed conversion unit 502, a speed comparison unit 504, a safety communication processing unit 505, a position speed conversion unit 506, an emergency stop command output unit 508, a motor. It includes a control microcomputer communication unit 509, a safety signal monitoring unit 507, an emergency stop signal monitoring unit 510, a gate stop state signal monitoring unit 511, a self-diagnosis processing unit 512, a mutual diagnosis processing unit 513, and an initialization related processing unit 514. These parts of the safety microcomputer 122 are functions realized by the safety microcomputer 122 executing a program.

図5は、安全用マイコン122の動作を示すフローチャートである。安全用マイコン122は、電源が投入されるとプログラムを読み出して、図4に示す各機能部として動作を行い、図5に示すステップS101〜S108の処理を順に行う。安全用マイコン122は、以後、このステップS101〜S108の処理を定期的に繰り返し行う。図4および図5を参照して、安全用マイコン122の動作を説明する。   FIG. 5 is a flowchart showing the operation of the safety microcomputer 122. When the power is turned on, the safety microcomputer 122 reads the program, operates as each functional unit shown in FIG. 4, and sequentially performs the processes of steps S101 to S108 shown in FIG. Thereafter, the safety microcomputer 122 periodically repeats the processes of steps S101 to S108. The operation of the safety microcomputer 122 will be described with reference to FIGS.

まず、自己診断処理部512は、自分自身(すなわち安全用マイコン122)の暴走や異常が発生するか否かを自己診断する(ステップS101)。例えば、自己診断処理部512は、安全用マイコン122の温度を測定した結果を取得し、その温度測定結果が所定温度以上であるか否かを判断する。温度検出結果が所定温度以上である場合、安全用マイコン122が熱暴走して各種処理結果のエラーが増大する可能性が高いとして、自己診断処理部512は、非常停止指令出力部508に非常停止指令を出力させて非常停止回路123にゲート停止信号を出力させる(図5のフローチャートでは省略した)。また、安全用マイコン122が二重化されている場合、自己診断処理部512による自己診断に加え、安全用マイコン122の相互診断処理部513は、安全用マイコン122の異常の有無を他方の安全用マイコン122と相互に診断を行う(ステップS101)。いずれかの安全用マイコン122において異常があった場合、その異常を検出した相互診断処理部513は、非常停止指令出力部508に非常停止指令を出力させて非常停止回路123にゲート停止信号を出力させる(図5のフローチャートでは省略した)。   First, the self-diagnosis processing unit 512 performs self-diagnosis as to whether a runaway or abnormality of itself (that is, the safety microcomputer 122) occurs (step S101). For example, the self-diagnosis processing unit 512 acquires a result of measuring the temperature of the safety microcomputer 122 and determines whether or not the temperature measurement result is equal to or higher than a predetermined temperature. If the temperature detection result is equal to or higher than the predetermined temperature, the self-diagnosis processing unit 512 causes the emergency stop command output unit 508 to perform an emergency stop because there is a high possibility that the safety microcomputer 122 will run out of heat and errors in various processing results increase. A command is output to cause the emergency stop circuit 123 to output a gate stop signal (omitted in the flowchart of FIG. 5). When the safety microcomputer 122 is duplicated, in addition to the self-diagnosis by the self-diagnosis processing unit 512, the mutual diagnosis processing unit 513 of the safety microcomputer 122 determines whether there is an abnormality in the safety microcomputer 122. A diagnosis is performed mutually with step 122 (step S101). If there is an abnormality in any of the safety microcomputers 122, the mutual diagnosis processing unit 513 that has detected the abnormality causes the emergency stop command output unit 508 to output an emergency stop command and outputs a gate stop signal to the emergency stop circuit 123. (Omitted in the flowchart of FIG. 5).

次に、速度指令信号取得部503は、モータ制御用マイコン112から速度指令信号を取得する(ステップS102)。速度指令信号取得部503は、取得した速度指令信号を速度比較部504へ引き渡す。   Next, the speed command signal acquisition unit 503 acquires a speed command signal from the motor control microcomputer 112 (step S102). The speed command signal acquisition unit 503 delivers the acquired speed command signal to the speed comparison unit 504.

次に、位置信号取得部501は、モータ制御用マイコン112から第1の位置信号を取得する(ステップS103)。位置信号取得部501は、取得した第1の位置信号の通信フレームに格納された位置データ(以下、第1の位置データという)を抽出し、その第1の位置データを位置速度変換部502へ引き渡す。   Next, the position signal acquisition unit 501 acquires a first position signal from the motor control microcomputer 112 (step S103). The position signal acquisition unit 501 extracts position data (hereinafter referred to as first position data) stored in the communication frame of the acquired first position signal, and sends the first position data to the position / velocity conversion unit 502. hand over.

次に、安全通信処理部505は、モータ制御用マイコン112から第2の位置信号を取得する(ステップS104)。安全通信処理部505は、取得した第2の位置信号の通信フレームのヘッダに格納されたデータに基づいて第2の位置信号における通信の異常の有無を判断する。例えば、安全通信処理部505は、ヘッダに格納されたユニークIDが予め設定された識別子であるか否かを判別したり、ヘッダに格納された8ビットや16ビットの巡回冗長符号を用いた巡回冗長検査(CRC)を行ったりする。安全通信処理部505は、第2の位置信号のユニークIDが予め設定された識別子ではない場合、第2の位置信号の通信が誤送信である可能性が高く、第2の位置信号の通信に異常があったと判断する。また、第2の位置信号には、第1の位置信号の巡回冗長符号よりもビット数が多い巡回冗長符号が格納されているため、安全通信処理部505は、第1の位置信号に比べ第2の位置信号の誤りを精度よく検出することができる。安全通信処理部505は、第2の位置信号に格納された巡回冗長符号を用いたCRCによって誤りを検出した場合、第2の位置信号の通信に異常があったと判断する。また、安全通信処理部505は、CRCによって誤りを検出した場合、第2の位置信号の誤りを訂正する処理を行う。また、安全通信処理部505は、CRCによって誤りを検出した場合、第2の位置信号に格納されていたシーケンス番号をエンコーダI/F114経由でエンコーダ20に送信して、そのシーケンス番号に対応する第2の位置信号の再送を要求しても良い。   Next, the safety communication processing unit 505 acquires a second position signal from the motor control microcomputer 112 (step S104). The safety communication processing unit 505 determines whether there is a communication abnormality in the second position signal based on the data stored in the header of the communication frame of the acquired second position signal. For example, the safety communication processing unit 505 determines whether or not the unique ID stored in the header is a preset identifier, or uses a cyclic redundancy code of 8 bits or 16 bits stored in the header. Redundancy check (CRC) is performed. When the unique ID of the second position signal is not a preset identifier, the safety communication processing unit 505 has a high possibility that the communication of the second position signal is an erroneous transmission. Judge that there was an abnormality. Since the second position signal stores a cyclic redundancy code having a larger number of bits than the cyclic redundancy code of the first position signal, the safety communication processing unit 505 compares the first position signal with the first position signal. It is possible to detect an error in the position signal 2 with high accuracy. When the safety communication processing unit 505 detects an error by CRC using the cyclic redundancy code stored in the second position signal, the safety communication processing unit 505 determines that there is an abnormality in communication of the second position signal. In addition, when an error is detected by CRC, the safety communication processing unit 505 performs a process of correcting the error of the second position signal. In addition, when an error is detected by CRC, the safety communication processing unit 505 transmits the sequence number stored in the second position signal to the encoder 20 via the encoder I / F 114, and the first corresponding to the sequence number. Second position signal retransmission may be requested.

また、安全通信処理部505は、第2の位置信号における通信に異常があった場合(例えば、CRCによって誤りを検出した場合)、通信に異常が発生した旨を表す値(例えば1)を異常フラグに格納した異常フラグ信号(以下、単に異常フラグ信号という)を非常停止指令出力部508に出力する。第2の位置信号における通信に異常が発見されなかった場合、安全信号処理部505は、取得した第2の位置信号の通信フレームに格納された位置データ(以下、第2の位置データという)を抽出し、その第2の位置データを位置速度変換部506へ引き渡す。   In addition, when there is an abnormality in communication in the second position signal (for example, when an error is detected by CRC), the safety communication processing unit 505 abnormally sets a value (for example, 1) indicating that an abnormality has occurred in communication. An abnormality flag signal stored in the flag (hereinafter simply referred to as an abnormality flag signal) is output to the emergency stop command output unit 508. When no abnormality is found in the communication in the second position signal, the safety signal processing unit 505 uses the position data (hereinafter referred to as second position data) stored in the communication frame of the acquired second position signal. The second position data is extracted and transferred to the position / velocity conversion unit 506.

次に、位置速度変換部502は、位置信号取得部501から第1の位置データを受け取るとともに、モータ制御用マイコン112から第1のタイムスタンプ信号を取得する。位置速度変換部502は、第1の位置データと第1のタイムスタンプ信号とから第1の位置信号が表す第1の速度データを生成する(ステップS105)。具体的には、位置速度変換部502は、第1の位置データと第1のタイムスタンプ信号とを取得するごとにレジスタに格納する。位置速度変換部502は、新たに取得した今回の第1の位置データが表す位置と直前に取得されてレジスタに格納された前回の第1の位置データが表す位置との差を算出する。次に、位置速度変換部502は、新たに取得した今回の第1のタイムスタンプ信号が表す時刻と直前に取得されてレジスタに格納された前回の第1のタイムスタンプ信号が表す時刻との差を算出する。次に、位置速度変換部502は、算出した位置の差分を、算出した時刻の差分で除算する。位置速度変換部502は、このように算出した除算結果を第1の速度データとして速度比較部504に引き渡す。   Next, the position / velocity conversion unit 502 receives the first position data from the position signal acquisition unit 501 and acquires the first time stamp signal from the motor control microcomputer 112. The position / velocity conversion unit 502 generates first speed data represented by the first position signal from the first position data and the first time stamp signal (step S105). Specifically, the position / velocity conversion unit 502 stores the first position data and the first time stamp signal in the register each time it acquires the position data. The position / velocity conversion unit 502 calculates the difference between the position represented by the newly acquired first position data and the position represented by the previous first position data acquired immediately before and stored in the register. Next, the position / velocity conversion unit 502 calculates the difference between the time indicated by the newly acquired first time stamp signal and the time indicated by the previous first time stamp signal acquired immediately before and stored in the register. Is calculated. Next, the position / velocity conversion unit 502 divides the calculated position difference by the calculated time difference. The position / velocity conversion unit 502 passes the division result calculated in this way to the speed comparison unit 504 as first speed data.

次に、位置速度変換部506は、安全通信処理部505から第2の位置データを受け取るとともに、モータ制御用マイコン112から第2のタイムスタンプ信号を取得する。位置速度変換部506は、第2の位置データと第2のタイムスタンプ信号とから第2の位置信号が表す第2の速度データを生成する(ステップS105)。位置速度変換部506は、位置速度変換部502と同様の演算を行えば良い。具体的には、位置速度変換部506は、今回の第2の位置データが表す位置と前回の第2の位置データが表す位置の差分を、今回の第2のタイムスタンプ信号が表す時刻と前回の第2のタイムスタンプ信号が表す時刻の差分で除算する。位置速度変換部502は、このように算出した除算結果を第2の速度データとして速度比較部504に引き渡す。   Next, the position / velocity conversion unit 506 receives the second position data from the safety communication processing unit 505 and acquires the second time stamp signal from the motor control microcomputer 112. The position / velocity conversion unit 506 generates second speed data represented by the second position signal from the second position data and the second time stamp signal (step S105). The position / velocity conversion unit 506 may perform the same calculation as the position / velocity conversion unit 502. Specifically, the position / velocity conversion unit 506 calculates the difference between the position represented by the current second position data and the position represented by the previous second position data from the time represented by the current second time stamp signal and the previous time. Is divided by the time difference represented by the second time stamp signal. The position / velocity conversion unit 502 delivers the division result calculated in this way to the speed comparison unit 504 as second speed data.

次に、速度比較部504は、速度指令信号取得部503から受け取った速度指令信号と、位置速度変換部502から受け取った第1の速度データと、位置速度変換部506から受け取った第2の速度データとを用いた比較を行い、エンコーダ20に関する異常の有無を判断する(ステップS106)。速度比較部504は、第1の速度データおよび第2の速度データの少なくとも一方が速度指令信号と一致していなかった場合、エンコーダ20に関する異常が発生したとみなして(S106:Yes)、異常フラグ信号を非常停止指令出力部508に出力する。   Next, the speed comparison unit 504 receives the speed command signal received from the speed command signal acquisition unit 503, the first speed data received from the position / speed conversion unit 502, and the second speed received from the position / speed conversion unit 506. A comparison using the data is performed to determine whether there is an abnormality related to the encoder 20 (step S106). When at least one of the first speed data and the second speed data does not match the speed command signal, the speed comparison unit 504 regards that an abnormality relating to the encoder 20 has occurred (S106: Yes), and an abnormality flag The signal is output to the emergency stop command output unit 508.

第1の位置信号と第2の位置信号の取得頻度が異なる場合、第1の位置信号の差分結果と第2の位置信号の差分結果は異なるものとなる。この場合、第1のタイムスタンプ信号の生成間隔と第2のタイムスタンプ信号の生成間隔が異なるため、第1のタイムスタンプ信号の差分結果と第2のタイムスタンプ信号の差分結果も異なるものとなる。しかし、この場合においても、第1の位置信号の差分結果を第1のタイムスタンプ信号の差分結果で除算した結果と第2の位置信号の差分結果を第2のタイムスタンプ信号で除算した結果は、伝送遅延等を考慮せず第1の位置信号および第2の位置信号に異常が無ければ、同じになるはずである。このため、第1の位置信号と第2の位置信号の取得頻度が異なっていたとしても、速度比較部504は、3つの信号の比較を行うことができる。   When the acquisition frequency of the first position signal and the second position signal is different, the difference result of the first position signal and the difference result of the second position signal are different. In this case, since the generation interval of the first time stamp signal and the generation interval of the second time stamp signal are different, the difference result of the first time stamp signal and the difference result of the second time stamp signal are also different. . However, even in this case, the result of dividing the difference result of the first position signal by the difference result of the first time stamp signal and the result of dividing the difference result of the second position signal by the second time stamp signal is If there is no abnormality in the first position signal and the second position signal without considering the transmission delay or the like, they should be the same. For this reason, even if the acquisition frequency of a 1st position signal and a 2nd position signal differs, the speed comparison part 504 can compare three signals.

また、第1の位置信号と第2の位置信号とが同一タイミングで生成されたものである場合(換言すると、第1の位置データと第2の位置データが同一タイミングの位置検出結果である場合)、速度比較部504は、第1の速度データと第2の速度データと速度指令信号とをそのまま比較すれば良い。一方、第1の位置信号と第2の位置信号とが異なるタイミングで生成されたものである場合(換言すると、第1の位置データと第2の位置データが異なるタイミングの位置検出結果である場合)、速度比較部504は、第1の速度データおよび第2の速度データを時間軸上において各々補間し、同一タイミングにおける第1の速度データ(補間された第1の速度データ)と第2の速度データ(補間された第2の速度データ)と速度指令信号とを比較すれば良い。このようにすれば、第1の位置信号と第2の位置信号とが異なるタイミングの位置を表していたとしても、正確に速度比較を行うことができる。   Further, when the first position signal and the second position signal are generated at the same timing (in other words, when the first position data and the second position data are the position detection results at the same timing). ) The speed comparison unit 504 may compare the first speed data, the second speed data, and the speed command signal as they are. On the other hand, when the first position signal and the second position signal are generated at different timings (in other words, when the first position data and the second position data are position detection results at different timings). ), The speed comparison unit 504 interpolates the first speed data and the second speed data on the time axis, respectively, and the first speed data (interpolated first speed data) and the second at the same timing. The speed data (interpolated second speed data) may be compared with the speed command signal. In this way, even if the first position signal and the second position signal represent positions at different timings, speed comparison can be performed accurately.

また、第1の位置信号、第2の位置信号および速度指令信号の取得頻度が異なる場合、第1の速度データ、第2の速度データおよび速度指令信号の3種類の信号がすべて得られるまで、速度比較部504における比較処理(ステップS106)よりも前のステップを繰り返すようにすれば良い。そして、速度比較部504は、取得頻度の少ない信号に合わせた頻度で比較処理を行えば良い。あるいは、取得頻度が異なる場合、各速度データを時間軸上において各々補間し、取得頻度が少ない速度データについては補間された速度データを用いて比較処理を行えば良い。このようにすれば、第1の位置信号、第2の位置信号および速度指令信号の3種類の信号に基づいた比較を行うことができるからである。   Further, when the acquisition frequencies of the first position signal, the second position signal, and the speed command signal are different, until all three types of signals of the first speed data, the second speed data, and the speed command signal are obtained, What is necessary is just to repeat the step before the comparison process (step S106) in the speed comparison unit 504. And the speed comparison part 504 should just perform a comparison process with the frequency match | combined with the signal with little acquisition frequency. Alternatively, when the acquisition frequencies are different, each speed data may be interpolated on the time axis, and the speed data with a low acquisition frequency may be compared using the interpolated speed data. This is because the comparison based on the three types of signals of the first position signal, the second position signal, and the speed command signal can be performed.

非常停止指令出力部508は、速度比較部504から異常フラグ信号を受け取ると、非常停止指令を非常停止回路123に出力する(ステップS108)。非常停止指令出力部508は、非常停止指令の出力とともに、モータ駆動システム1に異常が発生した旨を表す診断信号をモータ制御用マイコン通信部509に出力させる。モータ制御用マイコン112は、モータ制御用マイコン通信部509から出力された診断信号を受け取ることでモータ駆動システム1に異常が発生した旨を認識する。   Upon receiving the abnormality flag signal from the speed comparison unit 504, the emergency stop command output unit 508 outputs an emergency stop command to the emergency stop circuit 123 (step S108). The emergency stop command output unit 508 causes the motor control microcomputer communication unit 509 to output a diagnostic signal indicating that an abnormality has occurred in the motor drive system 1 along with the output of the emergency stop command. The motor control microcomputer 112 recognizes that an abnormality has occurred in the motor drive system 1 by receiving the diagnostic signal output from the motor control microcomputer communication unit 509.

ステップS106において、第1の速度データと第2の速度データと速度指令信号とが一致していた場合、速度比較部504は、エンコーダ20に関する異常が発生していないと判断する(S106:No)。   If the first speed data, the second speed data, and the speed command signal match in step S106, the speed comparison unit 504 determines that an abnormality relating to the encoder 20 has not occurred (S106: No). .

速度比較部504がエンコーダ20に関する異常が発生していないと判断した後、非常停止信号監視部510は、安全関連信号用端子台121を介して非常停止信号が供給されたか否かを判断する(ステップS107)。非常停止信号が供給された場合(S107:Yes)、非常停止信号監視部510は、異常フラグ信号を非常停止指令出力部508に出力する。そして、非常停止信号監視部510から異常フラグ信号を受け取った非常停止出力部508は、非常停止指令を非常停止回路123に出力する(ステップS108)。また、非常停止信号監視部510は、非常停止信号の供給にかかる通信に異常があるか否かの確認も行う。非常停止信号監視部510は、非常停止信号の供給にかかる通信に異常があった場合、異常フラグ信号を非常停止指令出力部508に出力する。   After the speed comparison unit 504 determines that an abnormality relating to the encoder 20 has not occurred, the emergency stop signal monitoring unit 510 determines whether an emergency stop signal has been supplied via the safety-related signal terminal block 121 ( Step S107). When the emergency stop signal is supplied (S107: Yes), the emergency stop signal monitoring unit 510 outputs an abnormality flag signal to the emergency stop command output unit 508. Then, the emergency stop output unit 508 that has received the abnormality flag signal from the emergency stop signal monitoring unit 510 outputs an emergency stop command to the emergency stop circuit 123 (step S108). The emergency stop signal monitoring unit 510 also checks whether there is an abnormality in communication related to the supply of the emergency stop signal. The emergency stop signal monitoring unit 510 outputs an abnormality flag signal to the emergency stop command output unit 508 when there is an abnormality in communication related to the supply of the emergency stop signal.

非常停止信号が供給されなかった場合および非常停止信号の供給にかかる通信に異常がない場合(S107:No)、一連の処理を終了する。   When the emergency stop signal is not supplied and when there is no abnormality in the communication related to the supply of the emergency stop signal (S107: No), the series of processing ends.

また、図5のフローチャートでは省略したが、安全信号の供給にかかる通信に異常があるか否かの確認およびゲート停止状態信号の供給にかかる通信に異常があるか否かの確認を行っても良い。例えば、ステップS107における判断結果がNoである場合、安全信号監視部507は、安全信号の供給にかかる通信に異常があるか否かを判断する。安全信号監視部507は、安全信号の供給にかかる通信に異常があった場合、異常フラグ信号を非常停止指令出力部508に出力する。安全信号の供給にかかる通信に異常がない場合、ゲート停止状態信号監視部511は、ゲート停止状態信号の供給にかかる通信に異常があるか否かを判断する。ゲート停止状態信号監視部511は、ゲート停止状態信号の供給にかかる通信に異常があった場合、異常フラグ信号を非常停止指令出力部508に出力する。安全信号監視部507またはゲート停止状態信号監視部511から異常フラグ信号を受け取った非常停止出力部508は、非常停止指令を非常停止回路123に出力する。一方、ゲート停止状態信号の供給にかかる通信に異常がない場合、一連の処理を終了する。   Although omitted in the flowchart of FIG. 5, it is possible to confirm whether there is an abnormality in communication related to the supply of the safety signal and whether there is an abnormality in communication related to the supply of the gate stop state signal. good. For example, when the determination result in step S107 is No, the safety signal monitoring unit 507 determines whether there is an abnormality in communication related to the supply of the safety signal. The safety signal monitoring unit 507 outputs an abnormality flag signal to the emergency stop command output unit 508 when there is an abnormality in the communication related to the supply of the safety signal. When there is no abnormality in the communication related to the supply of the safety signal, the gate stop state signal monitoring unit 511 determines whether there is an abnormality in the communication related to the supply of the gate stop state signal. The gate stop state signal monitoring unit 511 outputs an abnormality flag signal to the emergency stop command output unit 508 when there is an abnormality in communication related to the supply of the gate stop state signal. The emergency stop output unit 508 that has received the abnormality flag signal from the safety signal monitoring unit 507 or the gate stop state signal monitoring unit 511 outputs an emergency stop command to the emergency stop circuit 123. On the other hand, if there is no abnormality in the communication related to the supply of the gate stop state signal, the series of processes is terminated.

また、初期化関連処理部514は、安全用マイコン122の各機能部において用いられる各種設定値の初期化を行う際に動作する機能部である。   The initialization-related processing unit 514 is a functional unit that operates when various setting values used in the functional units of the safety microcomputer 122 are initialized.

以上のように、本実施形態の電力変換装置10は、第1の位置信号と第1の位置信号よりも誤り検出または訂正の能力の高い第2の位置信号とを時間を変えて取得するエンコーダI/F114を有する。また、電力変換装置10は、第1の位置信号と、第2の位置信号と、上位コントローラから供給される速度指令信号とに基づいてエンコーダに関する異常の有無を判断する安全用マイコン122と、を有する。すなわち、電力変換装置10では、2種類の位置信号(第1の位置信号および第2の位置信号)と速度指令信号とに基づいてエンコーダ20に関する異常の有無が判断される。このため、電力変換装置10では、エンコーダ20と電力変換装置10との間の通信の異常の有無を含めたエンコーダ20に関する異常の有無を検出することができる。このため、電力変換装置10は、エンコーダ20と電力変換装置10との間の通信の異常を防止する機能が安全規格を満たす形で設けられていなくても、モータ駆動システム1において要求される安全性能を満たす。また、電力変換装置10では、エンコーダI/F114が第1の位置信号と第2の位置信号とを取得するため、エンコーダI/F114を複数搭載する必要がなく、エンコーダI/F114の設置に関するコストを抑えることができる。また、電力変換装置10では、2種類の位置信号のうちの一方の位置信号(具体的には第2の位置信号)を誤り検出または訂正の能力の高い通信によってエンコーダ20から取得する。このため、電力変換装置10では、従来の電力変換装置に比べ、より確実に通信の異常の有無を検出することができる。また、エンコーダ20は、エンコーダ20内にASICが複数搭載されていなくても、第1の位置信号と第2の位置信号とを1つのASICで生成することが可能である。このため、電力変換装置10を用いれば、エンコーダ20内にASICが複数搭載されたような高価な安全対応エンコーダを使用する必要がなく、エンコーダ20にかかるコストを抑えることができる。また、電力変換装置10では、第1の位置信号と第2の位置信号とを同一のエンコーダ20から取得する。このため、電力変換装置10を用いれば、複数個のエンコーダ20をモータ30に取り付ける必要がなく、エンコーダ20にかかるコストを抑えることができる。   As described above, the power conversion device 10 according to the present embodiment obtains the first position signal and the second position signal having a higher error detection or correction capability than the first position signal at different times. I / F 114. In addition, the power conversion device 10 includes a safety microcomputer 122 that determines whether there is an abnormality in the encoder based on the first position signal, the second position signal, and the speed command signal supplied from the host controller. Have. In other words, power converter 10 determines whether there is an abnormality in encoder 20 based on two types of position signals (a first position signal and a second position signal) and a speed command signal. Therefore, the power conversion device 10 can detect the presence or absence of an abnormality related to the encoder 20 including the presence or absence of a communication abnormality between the encoder 20 and the power conversion device 10. For this reason, even if the power converter 10 is not provided with a function that prevents an abnormality in communication between the encoder 20 and the power converter 10 in a form that satisfies the safety standards, the safety required in the motor drive system 1 Satisfy performance. Further, in the power conversion device 10, since the encoder I / F 114 acquires the first position signal and the second position signal, there is no need to install a plurality of encoder I / Fs 114, and the cost associated with the installation of the encoder I / F 114 is eliminated. Can be suppressed. In addition, the power conversion apparatus 10 acquires one position signal (specifically, the second position signal) of the two types of position signals from the encoder 20 by communication with high error detection or correction capability. For this reason, in the power converter device 10, the presence or absence of communication abnormality can be detected more reliably than in the conventional power converter device. Further, the encoder 20 can generate the first position signal and the second position signal with one ASIC even if a plurality of ASICs are not mounted in the encoder 20. For this reason, if the power converter 10 is used, it is not necessary to use an expensive safety-compatible encoder in which a plurality of ASICs are mounted in the encoder 20, and the cost of the encoder 20 can be suppressed. Further, in the power conversion device 10, the first position signal and the second position signal are acquired from the same encoder 20. For this reason, if the power converter device 10 is used, it is not necessary to attach a plurality of encoders 20 to the motor 30, and the cost of the encoder 20 can be suppressed.

従って、本実施形態の電力変換装置10を用いれば、モータ駆動システム1において要求される安全性能を満たしつつ、モータ駆動システム1にかかるコストを抑えることが可能である。   Therefore, by using the power conversion device 10 of the present embodiment, it is possible to reduce the cost of the motor drive system 1 while satisfying the safety performance required in the motor drive system 1.

また、電力変換装置10では、第1の位置信号から第1の速度データを生成する演算と第2の位置信号から第2の速度データを生成する演算とを安全用マイコン122が実行する。すなわち、電力変換装置10では、安全制御に関する速度演算を安全用マイコン122のみで行うため、安全制御に関する速度演算を2箇所(例えばモータ制御用112マイコンと安全用マイコン122)で行う態様に比べ、その速度演算を担う回路が少ない。このため、電力変換装置10では、その速度演算を複数箇所で行う態様に比べ、その速度演算の演算過程や演算結果における異常の発生を減らすことができ、安全性を高めることができる。   In power converter 10, safety microcomputer 122 performs the operation which generates the 1st speed data from the 1st position signal, and the operation which generates the 2nd speed data from the 2nd position signal. That is, in the power converter 10, since the speed calculation related to the safety control is performed only by the safety microcomputer 122, the speed calculation related to the safety control is performed in two places (for example, the motor control 112 microcomputer and the safety microcomputer 122), There are few circuits responsible for the speed calculation. For this reason, in the power converter 10, compared with the aspect which performs the speed calculation in multiple places, generation | occurrence | production of the abnormality in the calculation process of the speed calculation and a calculation result can be reduced, and safety can be improved.

電力変換装置10では、エンコーダ20に関する異常の有無を安全用マイコン122が判断する。このため、電力変換装置10では、エンコーダ20から安全用マイコン122に至る第1および第2の位置信号の伝送経路(例えば、エンコーダ20とエンコーダI/F114との間のケーブルやエンコーダI/F114を実現する集積回路など)における通信の異常の発生を検出することができる。   In the power conversion device 10, the safety microcomputer 122 determines whether there is an abnormality related to the encoder 20. For this reason, in the power conversion device 10, the transmission path of the first and second position signals from the encoder 20 to the safety microcomputer 122 (for example, a cable between the encoder 20 and the encoder I / F 114 or an encoder I / F 114 is connected). It is possible to detect the occurrence of communication abnormality in an integrated circuit to be realized.

また、エンコーダI/F114は、エンコーダ20との間でシリアル通信を行い、第1の位置信号と第2の位置信号とを時間を変えてエンコーダ20から取得する。このため、本実施形態では、第1の位置信号と第2の位置信号とを同じ伝送経路を通って安全用マイコン122に送ることが可能である。このことからも、電力変換装置10を用いれば、エンコーダI/F114を複数搭載する必要がなく、エンコーダI/F114の設置に関するコストを抑えることができると言える。   In addition, the encoder I / F 114 performs serial communication with the encoder 20 and acquires the first position signal and the second position signal from the encoder 20 by changing the time. For this reason, in this embodiment, it is possible to send the first position signal and the second position signal to the safety microcomputer 122 through the same transmission path. From this, it can be said that if the power conversion device 10 is used, it is not necessary to mount a plurality of encoder I / Fs 114, and the cost related to the installation of the encoder I / F 114 can be suppressed.

電力変換装置10では、誤り検出または訂正の能力の高い第2の位置信号をエンコーダ20から取得するため、エンコーダ20との間の通信の異常の有無を、速度比較部504において検出するだけでなく、安全通信処理部505においても検出可能である。このため、従来の電力変換装置に比べ、より確実にその通信の異常の有無を検出することができる。   In the power conversion device 10, since the second position signal having high error detection or correction capability is acquired from the encoder 20, the speed comparison unit 504 not only detects the presence / absence of communication abnormality with the encoder 20. The safe communication processing unit 505 can also detect it. For this reason, compared with the conventional power converter, the presence or absence of the abnormality of the communication can be detected more reliably.

また、電力変換装置10では、エンコーダI/F114が第1の位置信号と第2の位置信号とを異なる頻度で取得しても良い。第1の位置信号と第2の位置信号とを異なる頻度で取得するようにすれば、速度比較部504の実行頻度と安全通信処理部505の実行頻度が変わるため、電力変換装置10が用いられるモータ駆動システムにあった信頼度でその通信の異常の有無を検出することができる。   Further, in the power conversion device 10, the encoder I / F 114 may acquire the first position signal and the second position signal at different frequencies. If the first position signal and the second position signal are acquired at different frequencies, the execution frequency of the speed comparison unit 504 and the execution frequency of the safety communication processing unit 505 change, and thus the power converter 10 is used. The presence or absence of the communication abnormality can be detected with the reliability suitable for the motor drive system.

また、電力変換装置10の安全オプション12は、安全用マイコン122においてエンコーダ20に関する異常があると判断した場合に、モータ30への電力供給を停止させる停止信号(具体的にはゲート停止信号)を非常停止回路123から出力する。このため、電力変換装置10を用いれば、エンコーダ20に関する異常が発生したとしても、モータ30を確実に停止させることができ、危険を回避することができる。   Further, the safety option 12 of the power conversion device 10 provides a stop signal (specifically, a gate stop signal) for stopping power supply to the motor 30 when the safety microcomputer 122 determines that there is an abnormality related to the encoder 20. Output from the emergency stop circuit 123. For this reason, if the power converter 10 is used, even if abnormality regarding the encoder 20 occurs, the motor 30 can be stopped reliably and danger can be avoided.

<他の実施形態>
以上、この発明の一実施形態について説明したが、この発明には他にも実施形態が考えられる。例えば次の通りである。
<Other embodiments>
Although one embodiment of the present invention has been described above, other embodiments are conceivable for the present invention. For example:

(1)モータ駆動用マイコン112、PWMLSI113およびエンコーダI/F114の各機能をSoC(System on Chip)のように1つの集積回路に集積させても良い。 (1) The functions of the motor driving microcomputer 112, the PWM LSI 113, and the encoder I / F 114 may be integrated into a single integrated circuit such as a SoC (System on Chip).

1…モータ駆動システム、10…電力変換装置、20…エンコーダ、30…モータ、40…交流電源、11…制御基板、12…安全オプション、13…主回路、14…ゲート駆動回路、15…電源基板、111…指令信号用端子台、112…モータ制御用マイコン、113…PWMLSI、114…エンコーダインターフェース、121…安全関連信号用端子台、122…安全用マイコン、123…非常停止回路。   DESCRIPTION OF SYMBOLS 1 ... Motor drive system, 10 ... Power converter, 20 ... Encoder, 30 ... Motor, 40 ... AC power supply, 11 ... Control board, 12 ... Safety option, 13 ... Main circuit, 14 ... Gate drive circuit, 15 ... Power supply board , 111 ... command signal terminal block, 112 ... motor control microcomputer, 113 ... PWMLSI, 114 ... encoder interface, 121 ... safety related signal terminal block, 122 ... safety microcomputer, 123 ... emergency stop circuit.

Claims (5)

モータを駆動する電力変換装置であって、
前記モータの回転子の位置を検出するエンコーダと通信し、第1の位置信号と前記第1の位置信号よりも誤り検出または訂正の能力の高い第2の位置信号とを時間を変えて前記エンコーダから取得する通信手段と、
前記第1の位置信号と、前記第2の位置信号と、上位コントローラから供給される速度指令信号とに基づいて前記エンコーダに関する異常の有無を判断する安全回路と、
を有することを特徴とする電力変換装置。
A power converter for driving a motor,
The encoder communicates with an encoder for detecting the position of the rotor of the motor, and changes the first position signal and the second position signal having a higher error detection or correction capability than the first position signal at different times. Communication means obtained from
A safety circuit that determines the presence or absence of an abnormality related to the encoder based on the first position signal, the second position signal, and a speed command signal supplied from a host controller;
The power converter characterized by having.
前記通信手段は、
前記第1の位置信号を取得した時刻を示す第1のタイムスタンプ信号と、
前記第2の位置信号を取得した時刻を示す第2のタイムスタンプ信号と、を生成し、
前記安全回路は、
前記第1の位置信号と前記第1のタイムスタンプ信号とに基づいて第1の速度データを生成し、
前記第2の位置信号と前記第2のタイムスタンプ信号とに基づいて第2の速度データを生成し、
前記第1の速度データと前記第2の速度データと前記速度指令信号とを用いた比較を行う
ことを特徴とする請求項1に記載の電力変換装置。
The communication means includes
A first time stamp signal indicating a time when the first position signal is acquired;
Generating a second time stamp signal indicating the time when the second position signal was acquired;
The safety circuit is
Generating first velocity data based on the first position signal and the first time stamp signal;
Generating second velocity data based on the second position signal and the second time stamp signal;
The power converter according to claim 1, wherein comparison is performed using the first speed data, the second speed data, and the speed command signal.
上位コントローラから供給される各種の指令信号に基づいて前記モータを駆動制御するための演算を行う制御演算手段であって、
上位コントローラから供給された前記速度指令信号と、前記通信手段によって取得された前記第1の位置信号および前記第2の位置信号と、前記通信手段によって生成された前記第1のタイムスタンプ信号および前記第2のタイムスタンプ信号と、を前記安全回路に出力する制御演算手段を有する
ことを特徴とする請求項2に記載の電力変換装置。
Control arithmetic means for performing an operation for driving and controlling the motor based on various command signals supplied from a host controller,
The speed command signal supplied from the host controller, the first position signal and the second position signal acquired by the communication means, the first time stamp signal generated by the communication means, and the The power conversion device according to claim 2, further comprising a control calculation unit that outputs a second time stamp signal to the safety circuit.
前記通信手段は、前記第1の位置信号と前記第2の位置信号とを異なる頻度で取得する
ことを特徴とする請求項1から3のいずれか1の請求項に記載の電力変換装置。
The power converter according to any one of claims 1 to 3, wherein the communication unit acquires the first position signal and the second position signal at different frequencies.
前記安全回路は、前記エンコーダに関する異常があると判断した場合、前記モータへの電力供給を停止させる停止信号を出力する
ことを特徴とする請求項1から4のいずれか1の請求項に記載の電力変換装置。
The said safety circuit outputs the stop signal which stops the electric power supply to the said motor, when it judges that there exists abnormality regarding the said encoder. The claim of any one of Claim 1 to 4 characterized by the above-mentioned. Power conversion device.
JP2016027674A 2016-02-17 2016-02-17 Power converter Active JP6658056B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016027674A JP6658056B2 (en) 2016-02-17 2016-02-17 Power converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016027674A JP6658056B2 (en) 2016-02-17 2016-02-17 Power converter

Publications (2)

Publication Number Publication Date
JP2017147841A true JP2017147841A (en) 2017-08-24
JP6658056B2 JP6658056B2 (en) 2020-03-04

Family

ID=59683302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016027674A Active JP6658056B2 (en) 2016-02-17 2016-02-17 Power converter

Country Status (1)

Country Link
JP (1) JP6658056B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453669A (en) * 2017-08-30 2017-12-08 北京新能源汽车股份有限公司 Motor rotor position detection method and device and electric automobile
WO2019146311A1 (en) 2018-01-29 2019-08-01 オムロン株式会社 Motor control device and motor control system
JP2019161759A (en) * 2018-03-09 2019-09-19 富士電機株式会社 Motor drive system
WO2020115896A1 (en) * 2018-12-07 2020-06-11 三菱電機株式会社 Information processing device and information processing method
CN113867430A (en) * 2020-06-30 2021-12-31 日本电产三协株式会社 Motor amplifier and motor amplifier control method
WO2023013245A1 (en) * 2021-08-03 2023-02-09 株式会社日立産機システム Servo system and control method for servo system
JP2023509650A (en) * 2019-12-31 2023-03-09 ビーワイディー カンパニー リミテッド Motor control system and vehicle equipped with the same

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260581A (en) * 1997-10-08 2006-09-28 Denso Corp Robot controller
JP2007136617A (en) * 2005-11-18 2007-06-07 Nachi Fujikoshi Corp Robot control device
JP2010169556A (en) * 2009-01-23 2010-08-05 Fuji Electric Systems Co Ltd Speed monitoring device
US20110089875A1 (en) * 2009-10-20 2011-04-21 Gm Global Technology Operations, Inc. Limp home operational mode for an electric vehicle
CN102803904A (en) * 2009-06-19 2012-11-28 Ntn株式会社 Rotation Detection Device And Bearing Fitted With Rotation Detection Device
JP5367623B2 (en) * 2010-03-15 2013-12-11 オムロン株式会社 Servo system, servo motor driving device, safety unit, and servo system control method
JP2015049769A (en) * 2013-09-03 2015-03-16 株式会社ニコン Communication device, encoder device and serial communication method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260581A (en) * 1997-10-08 2006-09-28 Denso Corp Robot controller
JP2007136617A (en) * 2005-11-18 2007-06-07 Nachi Fujikoshi Corp Robot control device
JP2010169556A (en) * 2009-01-23 2010-08-05 Fuji Electric Systems Co Ltd Speed monitoring device
CN102803904A (en) * 2009-06-19 2012-11-28 Ntn株式会社 Rotation Detection Device And Bearing Fitted With Rotation Detection Device
US20110089875A1 (en) * 2009-10-20 2011-04-21 Gm Global Technology Operations, Inc. Limp home operational mode for an electric vehicle
JP5367623B2 (en) * 2010-03-15 2013-12-11 オムロン株式会社 Servo system, servo motor driving device, safety unit, and servo system control method
JP2015049769A (en) * 2013-09-03 2015-03-16 株式会社ニコン Communication device, encoder device and serial communication method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453669A (en) * 2017-08-30 2017-12-08 北京新能源汽车股份有限公司 Motor rotor position detection method and device and electric automobile
CN107453669B (en) * 2017-08-30 2020-06-12 北京新能源汽车股份有限公司 Motor rotor position detection method and device and electric automobile
US11159116B2 (en) 2018-01-29 2021-10-26 Omron Corporation Motor control device and motor control system
WO2019146311A1 (en) 2018-01-29 2019-08-01 オムロン株式会社 Motor control device and motor control system
JP2019161759A (en) * 2018-03-09 2019-09-19 富士電機株式会社 Motor drive system
WO2020115896A1 (en) * 2018-12-07 2020-06-11 三菱電機株式会社 Information processing device and information processing method
JPWO2020115896A1 (en) * 2018-12-07 2021-09-02 三菱電機株式会社 Information processing device and information processing method
JP7058757B2 (en) 2018-12-07 2022-04-22 三菱電機株式会社 Information processing equipment and information processing method
JP2023509650A (en) * 2019-12-31 2023-03-09 ビーワイディー カンパニー リミテッド Motor control system and vehicle equipped with the same
JP7446435B2 (en) 2019-12-31 2024-03-08 ビーワイディー カンパニー リミテッド Motor control system and vehicle equipped with it
CN113867430A (en) * 2020-06-30 2021-12-31 日本电产三协株式会社 Motor amplifier and motor amplifier control method
CN113867430B (en) * 2020-06-30 2024-04-16 日本电产三协株式会社 Motor amplifier and motor amplifier control method
WO2023013245A1 (en) * 2021-08-03 2023-02-09 株式会社日立産機システム Servo system and control method for servo system

Also Published As

Publication number Publication date
JP6658056B2 (en) 2020-03-04

Similar Documents

Publication Publication Date Title
JP6658056B2 (en) Power converter
US8659254B2 (en) Servo system, servo motor driving device, safety unit and method for controlling servo system
EP3588208B1 (en) Servo system
US11643095B2 (en) Electronic control device, control system, and reset determination method
CN110116752B (en) Apparatus and method for controlling vehicle based on redundant structure
EP2341609B1 (en) Motor control device
JP2019161759A (en) Motor drive system
CN108931261B (en) Encoder system and abnormality detection method
US11084524B2 (en) Motor control device
US10444288B2 (en) Abnormality diagnosing device and abnormality diagnosing method
US11820444B2 (en) Control device for vehicle-mounted equipment
JP6641920B2 (en) Power converter
US20150207445A1 (en) Semiconductor device and driving apparatus
US20030223374A1 (en) Sensor apparatus and monitoring method of control system using detected data from sensor apparatus
US11528030B2 (en) Analog input device
US10527676B2 (en) Abnormality diagnosing device and abnormality diagnosing method
US20190386594A1 (en) Motor control apparatus driving one main axis switchingly by two motors
US8952636B2 (en) Data communication device that carries out serial communication in order to control motor
JPWO2017046964A1 (en) INVERTER DEVICE AND INVERTER DEVICE CONTROL METHOD
JP7326822B2 (en) motor controller
JP2023039186A (en) Vehicle control apparatus
JP2015012699A (en) Drive apparatus
WO2020075693A1 (en) Motor control system, motor, and electric power steering device
CN114123929A (en) Control system and control method of six-phase motor
JP2009128062A (en) Electronic control system and rotary encoder used for this

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200120

R150 Certificate of patent or registration of utility model

Ref document number: 6658056

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250