JP6641920B2 - Power converter - Google Patents

Power converter Download PDF

Info

Publication number
JP6641920B2
JP6641920B2 JP2015228755A JP2015228755A JP6641920B2 JP 6641920 B2 JP6641920 B2 JP 6641920B2 JP 2015228755 A JP2015228755 A JP 2015228755A JP 2015228755 A JP2015228755 A JP 2015228755A JP 6641920 B2 JP6641920 B2 JP 6641920B2
Authority
JP
Japan
Prior art keywords
signal
encoder
speed
circuit
output
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
JP2015228755A
Other languages
Japanese (ja)
Other versions
JP2017099130A (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.)
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 JP2015228755A priority Critical patent/JP6641920B2/en
Publication of JP2017099130A publication Critical patent/JP2017099130A/en
Application granted granted Critical
Publication of JP6641920B2 publication Critical patent/JP6641920B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)

Description

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

市場の省エネ要求の高まりに伴い、工場やビル等の動力源として多く用いられるモータの駆動制御システム(以下、モータ駆動システムという)では、モータの回転子の速度や出力を調整する機能を備えた電力変換装置が一般的に用いられている。この種のモータ駆動システムでは、電力変換装置の導入により高機能化が実現される一方、システムの複雑化が進んでいる。このため、電力変換装置自体もしくは付随する周辺装置の故障によって、モータの暴走や事故等が発生する可能性が増しており、これらの暴走や事故を防止することが強く求められている。そこで、国際標準規格であるIEC61508やISO13849のような安全規格が定められており、これらの安全規格に準拠した安全機能が電力変換装置に設けられるようになってきている。例えばモータを駆動制御する電力変換装置のための安全機能に関しては、国際標準規格であるIEC61800−5−2において、安全トルクオフ、安全減速といった安全機能の仕様が規定されている。各電力変換装置メーカーは、この安全機能の仕様に基づいて、電力変換装置を開発している。   Along with the demand for energy saving in the market, a motor drive control system (hereinafter referred to as a motor drive system), which is often used as a power source for factories and buildings, has a function for adjusting the speed and output of a motor rotor. Power converters are commonly used. In a motor drive system of this type, the introduction of a power converter achieves high functionality, while the system is becoming more complicated. For this reason, there is an increasing possibility that a motor runaway or an accident will occur due to a failure of the power conversion device itself or an associated peripheral device, and it is strongly demanded to prevent such a runaway or an accident. Therefore, safety standards such as IEC61508 and ISO13849, which are international standards, are defined, and a safety function conforming to these safety standards is provided in the power conversion device. For example, with regard to 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 IEC61800-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 by the specified time from the time when the deceleration command signal is input to the power converter. Is required. When the vehicle is not normally decelerated, such as when the vehicle is not decelerated or when the speed exceeds a specified speed, it is required to forcibly shut off the output of the power converter. In order to realize such a safe deceleration function, a means for accurately detecting the speed and position of the rotor of the motor (hereinafter, simply referred to as the speed and position of the motor) is required. Generally, an encoder is used to detect the speed and position of the motor.

ここで、エンコーダが故障すると、モータの速度や位置を正常に検出することができなくなり、安全機能を正常に機能させることができなくなる。このため、エンコーダの故障の有無を診断し、エンコーダの出力の信頼性を確保する技術が提案されている。   Here, if the encoder fails, the speed and position of the motor cannot be detected normally, and the safety function cannot be functioned normally. For this reason, a technique for diagnosing the presence or absence of a failure in the encoder and ensuring the reliability of the output of the encoder has been proposed.

エンコーダの故障の有無を診断する技術の一例として、特許文献1に開示されたエンコーダがある。特許文献1のエンコーダは、3系統の検出回路とCPU(Central Processing Unit)とを有する。このエンコーダのCPUは、3系統の検出回路の各々から出力される検出信号を互いに比較し、いずれの検出信号を採択すべきかを多数決原理に基づいて決定する。これにより、特許文献1のエンコーダでは、3系統の検出回路のうちの故障している検出回路を特定することができる。   As an example of a technique for diagnosing the presence / absence of a failure in an encoder, there is an encoder disclosed in Patent Document 1. The encoder of Patent Literature 1 includes three detection circuits and a CPU (Central Processing Unit). The CPU of this encoder compares the detection signals output from each of the three detection circuits with each other, and determines which detection signal to adopt based on the majority rule. As a result, in the encoder disclosed in Patent Document 1, a faulty detection circuit among the three detection circuits can be specified.

しかし、検出回路の故障に比べ故障の頻度は少ないが、エンコーダ内のCPUにおいて故障が発生する虞もある。そこで、このような故障も考慮し、エンコーダの出力の信頼性をさらに高くすることも行われる。その一例として、エンコーダ内のCPUの二重化が行われる。例えば、エンコーダには、2系統の検出回路と2個のCPUが設けられる。2個のCPUの各々は、2系統の検出回路の各々から出力される検出信号の比較を独立して行い、各CPUにおける比較結果を相互に診断する。また、他の例として、モータに複数個のエンコーダを取り付けるようなエンコーダの二重化が行われる。この場合、エンコーダとは異なる他の装置が各エンコーダの出力の比較を行うことで、エンコーダの故障の有無が診断される。   However, although the frequency of the failure is lower than that of the detection circuit, the failure may occur in the CPU in the encoder. Therefore, in consideration of such a failure, the reliability of the output of the encoder is further increased. As an example, the CPU in the encoder is duplicated. For example, the encoder is provided with two detection circuits and two CPUs. Each of the two CPUs independently compares the detection signals output from each of the two detection circuits, and mutually diagnoses the result of comparison in each CPU. Further, as another example, an encoder is duplicated such that a plurality of encoders are attached to a motor. In this case, the presence or absence of a failure of the encoder is diagnosed by comparing the output of each encoder with another device different from the encoder.

特開2010−19575号公報JP 2010-19575 A

しかし、特許文献1のエンコーダでは、少なくとも3系統の検出回路が必要であり、検出回路が2系統以下のエンコーダに比べて、エンコーダにかかるコストが高くなる。   However, the encoder of Patent Document 1 requires at least three detection circuits, and the cost of the encoder is higher than that of an encoder having two or less detection circuits.

また、CPUを二重化したエンコーダでは、複数個のCPUが必要であり、CPUが1個のエンコーダに比べて、エンコーダにかかるコストが高くなる。   Further, an encoder with a duplicated CPU requires a plurality of CPUs, and the cost of the encoder is higher than that of a single CPU.

また、モータに複数個のエンコーダを取り付ける態様では、複数個のエンコーダが必要であり、モータにエンコーダを1個だけ取り付ける態様に比べ、エンコーダにかかるコストが高くなる。   Further, in a mode in which a plurality of encoders are attached to a motor, a plurality of encoders are required, and the cost for the encoder is higher than in a mode in which only one encoder is attached to the motor.

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

この発明による電力変換装置は、入力された電力を変換して出力することでモータを駆動制御する装置である。この発明による電力変換装置は、モータの回転子の速度および位置を検出するエンコーダから出力される第1の伝送信号と、第1の伝送信号が出力されるエンコーダから出力される第2の伝送信号とに基づいてエンコーダの異常の有無を判断する安全回路を有する。   A power conversion device according to the present invention is a device that controls driving of a motor by converting input power and outputting the converted power. A power converter according to the present invention includes a first transmission signal output from an encoder that detects a speed and a position of a rotor of a motor, and a second transmission signal output from an encoder that outputs the first transmission signal. And a safety circuit for determining the presence or absence of an abnormality in the encoder based on the above.

この発明による電力変換装置は、同一のエンコーダから出力される第1の伝送信号と第2の伝送信号とに基づいてエンコーダの異常の有無を判断するため、エンコーダの個数を増やすことなくエンコーダの異常の有無を判断することができる。   The power converter according to the present invention determines whether there is an abnormality in the encoder based on the first transmission signal and the second transmission signal output from the same encoder, so that the abnormality in the encoder can be performed without increasing the number of encoders. Can be determined.

好ましい態様において、第2の伝送信号は、第1の伝送信号を生成する過程で発生する信号である。本発明では、第1の伝送信号と、第1の伝送信号を生成する過程で生成されて出力される第2の伝送信号とに基づいてエンコーダの異常の有無を判断するため、第1の伝送信号を生成する過程で用いられるエンコーダ内のCPUが正常であるか否かの判断を、エンコーダ内のCPUを二重化することなく行うことができる。すなわち、本発明では、エンコーダ内のCPUの個数を増やすことなくエンコーダの異常の有無を判断することができる。   In a preferred aspect, the second transmission signal is a signal generated in the process of generating the first transmission signal. According to the present invention, the first transmission signal is used to determine whether or not the encoder is abnormal based on the first transmission signal and the second transmission signal generated and output in the process of generating the first transmission signal. The determination as to whether the CPU in the encoder used in the process of generating the signal is normal can be made without duplicating the CPU in the encoder. That is, in the present invention, it is possible to determine whether or not the encoder is abnormal without increasing the number of CPUs in the encoder.

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

この発明の一実施形態によるモータ駆動システム1の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a motor drive system 1 according to an embodiment of the present invention. 同モータ駆動システム1の安全用マイコン122の機能を示すブロック図である。FIG. 3 is a block diagram showing functions of a safety microcomputer 122 of the motor drive system 1. 同安全用マイコン122の動作を示すフローチャートである。4 is a flowchart showing the operation of the safety microcomputer 122.

以下、図面を参照しつつ、この発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、この発明の一実施形態によるモータ駆動システム1の構成を示すブロック図である。図1に示すように、モータ駆動システム1は、電力変換装置10とエンコーダ20とを有する。   FIG. 1 is a block diagram showing a configuration of a motor drive system 1 according to one embodiment of the present invention. As shown in FIG. 1, the motor drive system 1 has a power converter 10 and an encoder 20.

エンコーダ20は、モータ30の速度や位置などのモータ30の動作を検出する装置である。エンコーダ20は、円盤32、第1の検出回路21、第2の検出回路22、CPU23、迂回伝送回路24、外部出力端子41および外部出力端子42を有している。円盤32は、モータ30の回転軸31に取り付けられ、モータ30の回転に従って周方向に回転する。   The encoder 20 is a device that detects an operation of the motor 30 such as a speed and a position of the motor 30. The encoder 20 has a disk 32, a first detection circuit 21, a second detection circuit 22, a CPU 23, a bypass transmission circuit 24, an external output terminal 41, and an external output terminal 42. The disk 32 is attached to the rotating shaft 31 of the motor 30 and rotates in the circumferential direction according to the rotation of the motor 30.

第1の検出回路21は、モータ30の速度および位置を検出して検出結果を示す第1の検出信号を生成する検出回路である。第1の検出回路21は、具体的には、光学式の検出回路であり、発光素子211と、受光素子212と、増幅回路213とを有する。円盤32には、例えば、光の反射率が異なり円盤32の角度に応じたコードパターンが描かれている。発光素子211は、このコードパターンに光を放射する。受光素子212は、このコードパターンによって反射される反射光を受光し、受光した光の強度に応じた電気信号を増幅回路213に出力する。増幅回路213は、受光素子212から供給される電気信号の振幅を増幅して第1の検出信号を生成する。このようにして生成された第1の検出信号は、円盤32に描かれたコードパターンに応じて立ち上がるパルス列信号であり、アナログ信号である。なお、第1の検出回路21の具体的な構成は上記の例に限らない。また、第1の検出回路21は、円盤32に描かれたコードパターンを読み取ることで回転子の回転角度(絶対位置)を検出する構成であるが、回転子の回転角度を検出する構成に限らない。また、第1の検出回路21は、光学式の検出回路に限らない。   The first detection circuit 21 is a detection circuit that detects a speed and a position of the motor 30 and generates a first detection signal indicating a detection result. The first detection circuit 21 is, specifically, an optical detection circuit, and includes a light emitting element 211, a light receiving element 212, and an amplification circuit 213. On the disk 32, for example, a code pattern having a different light reflectance and corresponding to the angle of the disk 32 is drawn. The light emitting element 211 emits light to the code pattern. The light receiving element 212 receives the reflected light reflected by the code pattern, and outputs an electric signal corresponding to the intensity of the received light to the amplifier circuit 213. The amplification circuit 213 amplifies the amplitude of the electric signal supplied from the light receiving element 212 and generates a first detection signal. The first detection signal generated in this manner is a pulse train signal that rises according to the code pattern drawn on the disk 32, and is an analog signal. Note that the specific configuration of the first detection circuit 21 is not limited to the above example. The first detection circuit 21 is configured to detect the rotation angle (absolute position) of the rotor by reading the code pattern drawn on the disk 32, but is not limited to the configuration that detects the rotation angle of the rotor. Absent. Further, the first detection circuit 21 is not limited to an optical detection circuit.

第2の検出回路22は、モータ30の速度および位置を検出して検出結果を示す第2の検出信号を生成する検出回路である。第2の検出回路22は、具体的には、磁気式の検出回路であり、磁界を発生する磁石(図示略)と、磁気抵抗素子222と、増幅回路223とを有する。磁気抵抗素子222および磁石は、円盤32の外周面に近接して配置される。円盤32の外周面には金属の突起が外周に沿って複数個設けられており、円盤32は歯車のようになっている。円盤32の外周面の突起が磁気抵抗素子222に近づくと、磁気抵抗素子222が受ける磁界の強さが強くなり、磁気抵抗素子222の抵抗値が大きくなる。一方、円盤32の外周面の突起が磁気抵抗素子222から遠ざかると、磁気抵抗素子222が受ける磁界の強さが弱くなり、磁気抵抗素子222の抵抗値が小さくなる。増幅回路223には、磁気抵抗素子222の抵抗値の変化の周期で振幅が増減する電気信号が供給される。増幅回路223は、磁気抵抗素子222から供給される電気信号の振幅を増幅して第2の検出信号として出力する。このようにして生成される第2の検出信号は、磁気抵抗素子222の抵抗値の変化に応じて振幅が増減する波形状の信号であり、アナログ信号である。なお、第2の検出回路22の具体的な構成は上記の例に限らない。例えば、磁気抵抗素子222に代えて、磁界の変化に応じて誘導電圧を発生する検出用コイルを用いる構成にしても良い。また、第2の検出回路22は、磁気式の検出回路に限らない。   The second detection circuit 22 is a detection circuit that detects a speed and a position of the motor 30 and generates a second detection signal indicating a detection result. The second detection circuit 22 is, specifically, a magnetic detection circuit, and includes a magnet (not shown) that generates a magnetic field, a magnetoresistance element 222, and an amplification circuit 223. The magnetoresistive element 222 and the magnet are arranged close to the outer peripheral surface of the disk 32. A plurality of metal protrusions are provided on the outer peripheral surface of the disk 32 along the outer periphery, and the disk 32 is like a gear. When the protrusion on the outer peripheral surface of the disk 32 approaches the magnetoresistive element 222, the strength of the magnetic field received by the magnetoresistive element 222 increases, and the resistance value of the magnetoresistive element 222 increases. On the other hand, when the protrusion on the outer peripheral surface of the disk 32 moves away from the magnetoresistive element 222, the strength of the magnetic field received by the magnetoresistive element 222 decreases, and the resistance value of the magnetoresistive element 222 decreases. The amplifier circuit 223 is supplied with an electric signal whose amplitude increases and decreases in a cycle of a change in the resistance value of the magnetoresistive element 222. The amplifier circuit 223 amplifies the amplitude of the electric signal supplied from the magnetoresistive element 222 and outputs the amplified signal as a second detection signal. The second detection signal generated in this manner is a wave-shaped signal whose amplitude increases and decreases according to a change in the resistance value of the magnetoresistive element 222, and is an analog signal. The specific configuration of the second detection circuit 22 is not limited to the above example. For example, a configuration may be adopted in which a detection coil that generates an induced voltage according to a change in a magnetic field is used instead of the magnetoresistance element 222. Further, the second detection circuit 22 is not limited to a magnetic detection circuit.

CPU23は、具体的には、マイコンやASIC(Application Specific Integrated Circuit)である。CPU23は、第1の検出回路21から出力されるアナログの第1の検出信号と、第2の検出回路22から出力されるアナログの第2の検出信号とに信号処理を施して、エンコーダ20の出力信号の1つである速度位置デジタル信号を生成して出力する検出信号処理手段である。以後、速度位置デジタル信号のことを第1の伝送信号と呼ぶことがある。CPU23は、A/D(アナログ/デジタル)変換器231、A/D変換器232、信号処理器233および外部伝送回路234を有する。   The CPU 23 is, specifically, a microcomputer or an ASIC (Application Specific Integrated Circuit). The CPU 23 performs signal processing on the analog first detection signal output from the first detection circuit 21 and the analog second detection signal output from the second detection circuit 22, This is a detection signal processing unit that generates and outputs a velocity position digital signal that is one of the output signals. Hereinafter, the velocity position digital signal may be referred to as a first transmission signal. The CPU 23 has an A / D (analog / digital) converter 231, an A / D converter 232, a signal processor 233, and an external transmission circuit 234.

A/D変換器231は、第1の検出回路21によって生成された第1の検出信号のパルスをカウントする回路である。パルスのカウント結果は、円盤32の回転角度(すなわちモータ30の回転子の位置)を示しており、デジタル値である。パルスのカウント結果は、信号処理器233に引き渡される。   The A / D converter 231 is a circuit that counts pulses of the first detection signal generated by the first detection circuit 21. The pulse count result indicates the rotation angle of the disk 32 (ie, the position of the rotor of the motor 30) and is a digital value. The pulse count result is transferred to the signal processor 233.

A/D変換器232は、第2の検出回路22によって生成された第2の検出信号をサンプリングしてデジタル信号に変換する回路である。A/D変換器232によってデジタル信号に変換された第2の検出信号は、信号処理器233に引き渡される。   The A / D converter 232 is a circuit that samples the second detection signal generated by the second detection circuit 22 and converts it into a digital signal. The second detection signal converted to a digital signal by the A / D converter 232 is delivered to the signal processor 233.

信号処理器233は、A/D変換器231の処理結果とA/D変換器232の処理結果とから速度位置デジタル信号を生成する回路である。具体的には、信号処理器233は、A/D変換器231の処理結果である第1の検出信号のパルスのカウント結果が示すモータ30の回転子の位置を時間微分して速度を算出する。また、信号処理器233は、A/D変換器232の処理結果であるデジタル信号に変換された第2の検出信号が表す波形の周期から速度を算出する。信号処理器233は、第1の検出信号に基づいて得られた速度と第2の検出信号に基づいて得られた速度とを比較して、第1の検出回路21および第2の検出回路22の異常の有無を判断する。そして、信号処理器233は、第1の検出信号のパルスのカウント結果である回転子の位置データと、第1の検出信号に基づいて得られた回転子の速度データと、各検出回路の異常の有無を表す状態データとをペイロードに格納したフレームを生成する。このように生成されたフレームは、外部伝送回路234に引き渡される。なお、信号処理器233の具体的な処理はこの例に限らない。   The signal processor 233 is a circuit that generates a velocity position digital signal from the processing result of the A / D converter 231 and the processing result of the A / D converter 232. Specifically, the signal processor 233 calculates the speed by time-differentiating the position of the rotor of the motor 30 indicated by the pulse count result of the first detection signal, which is the processing result of the A / D converter 231. . Further, the signal processor 233 calculates the speed from the cycle of the waveform represented by the second detection signal converted into the digital signal which is the processing result of the A / D converter 232. The signal processor 233 compares the speed obtained based on the first detection signal with the speed obtained based on the second detection signal, and compares the speed obtained based on the second detection signal with the first detection circuit 21 and the second detection circuit 22. The presence or absence of abnormalities is determined. Then, the signal processor 233 outputs the position data of the rotor, which is the result of counting the pulses of the first detection signal, the speed data of the rotor obtained based on the first detection signal, and the abnormality of each detection circuit. A frame is generated in which status data indicating the presence / absence of data is stored in the payload. The frame generated in this way is delivered to the external transmission circuit 234. The specific processing of the signal processor 233 is not limited to this example.

外部伝送回路234は、信号処理器233により生成されたフレームを速度位置デジタル信号として外部出力端子41から出力する回路である。外部伝送回路234は、RS485に基づいたシリアル通信に従って数Mbps程度の伝送速度で電力変換装置10と通信する。例えば、外部伝送回路234は、電力変換装置10からリクエスト信号が格納されたフレームを受信すると、速度データ、位置データおよび状態データが格納されたフレームを信号処理器233に生成させて、そのフレームを電力変換装置10へ送信する。なお、外部伝送回路234と電力変換装置10との通信は、シリアル通信に限らず、パラレルバス通信や無線通信であっても良い。   The external transmission circuit 234 is a circuit that outputs the frame generated by the signal processor 233 from the external output terminal 41 as a velocity position digital signal. The external transmission circuit 234 communicates with the power conversion device 10 at a transmission speed of about several Mbps according to serial communication based on RS485. For example, when the external transmission circuit 234 receives a frame in which a request signal is stored from the power conversion device 10, the external transmission circuit 234 causes the signal processor 233 to generate a frame in which speed data, position data, and status data are stored, and generates the frame. Transmit to power converter 10. The communication between the external transmission circuit 234 and the power converter 10 is not limited to serial communication, but may be parallel bus communication or wireless communication.

迂回伝送回路24は、当該エンコーダ20が速度位置デジタル信号を生成する過程で発生する信号を迂回速度アナログ信号として外部出力端子42から出力する回路である。具体的には、迂回伝送回路24は、第1の検出回路21により生成される第1の検出信号をCPU23を介さずに迂回速度アナログ信号として出力する。迂回速度アナログ信号は、エンコーダ20の他の出力信号であり、速度位置デジタル信号とは別個に出力される信号である。以後、迂回速度アナログ信号を第2の伝送信号と呼ぶことがある。迂回速度アナログ信号は、例えば、ABパルス方式の信号やsin/cos方式の信号などである。ABパルス方式は、モータ30の速度に応じた周期を有し、モータの回転方向に応じた位相差を持った2相(A相およびB相)のパルス信号を出力する方式である。   The detour transmission circuit 24 is a circuit that outputs a signal generated in the process of the encoder 20 generating the speed position digital signal from the external output terminal 42 as a detour speed analog signal. Specifically, the bypass transmission circuit 24 outputs the first detection signal generated by the first detection circuit 21 as a bypass speed analog signal without passing through the CPU 23. The bypass speed analog signal is another output signal of the encoder 20, and is a signal output separately from the speed position digital signal. Hereinafter, the bypass speed analog signal may be referred to as a second transmission signal. The detour speed analog signal is, for example, an AB pulse signal or a sin / cos signal. The AB pulse method is a method of outputting a two-phase (A-phase and B-phase) pulse signal having a cycle according to the speed of the motor 30 and having a phase difference according to the rotation direction of the motor.

このように、エンコーダ20は、CPU23から出力される信号とCPU23に供給される信号とを当該エンコーダ20の出力信号として出力する。また、エンコーダ20の2つの出力信号の伝送方式は、各々異なっている。
以上が、エンコーダ20の構成である。
Thus, the encoder 20 outputs the signal output from the CPU 23 and the signal supplied to the CPU 23 as the output signal of the encoder 20. Further, the transmission systems of the two output signals of the encoder 20 are different from each other.
The above is the configuration of the encoder 20.

電力変換装置10は、例えばインバータ装置などであり、交流電源40から供給される電力を変換してモータ30に供給し、モータ30を駆動制御する装置である。電力変換装置10は、制御回路11、安全回路12、インバータ主回路13およびゲート駆動回路14を有する。   The power conversion device 10 is, for example, an inverter device, and is a device that converts the power supplied from the AC power supply 40, supplies the converted power to the motor 30, and controls the driving of the motor 30. The power converter 10 includes a control circuit 11, a safety circuit 12, an inverter main circuit 13, and a gate drive circuit 14.

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

制御回路11は、記憶装置(図示略)に格納されているプログラムを実行することで、モータ30を駆動制御するための演算等を行う回路である。制御回路11は、指令信号用端子台111、モータ制御マイコン112およびLSI(Large Scale Integration)113を含んでいる。指令信号用端子台111は、上位コントローラ(図示略)から各種の指令信号(例えばトルク指令信号など)を受け取り、モータ制御マイコン112に引き渡す。モータ制御マイコン112は、指令信号用端子台111を介して供給された指令信号に基づいて演算を行って制御信号を生成する。LSI113は、モータ制御マイコン112から供給される制御信号に基づいてキャリア信号をパルス幅変調してPWM(Pulse Width Modulation)信号を生成する。生成されたPWM信号は、ゲート駆動回路14に出力される。また、LSI113は、エンコーダ20の外部伝送回路234から速度位置デジタル信号を取得してPMW信号の生成に利用する。   The control circuit 11 is a circuit that executes a program stored in a storage device (not shown) to perform an operation or the like for controlling the drive of the motor 30. The control circuit 11 includes a command signal terminal block 111, a motor control microcomputer 112, and an LSI (Large Scale Integration) 113. The command signal terminal block 111 receives various command signals (for example, a torque command signal, etc.) from a host controller (not shown) and transfers the command signals to the motor control microcomputer 112. The motor control microcomputer 112 performs a calculation based on the command signal supplied via the command signal terminal block 111 to generate a control signal. The LSI 113 generates a PWM (Pulse Width Modulation) signal by performing pulse width modulation on the carrier signal based on a control signal supplied from the motor control microcomputer 112. The generated PWM signal is output to the gate drive circuit 14. Further, the LSI 113 acquires the velocity position digital signal from the external transmission circuit 234 of the encoder 20 and uses the digital signal for generating the PWM signal.

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

安全回路12は、モータ駆動システム1において異常の発生を検知した場合や作業者等による非常停止ボタンの押下操作を検知した場合などにおいて、ゲート停止信号を出力してゲート駆動回路14にゲート信号の出力を停止させる安全制御を行う回路である。モータ駆動システム1における異常の一例として、エンコーダ20の異常が挙げられる。安全回路12は、エンコーダ20のCPU23から出力される速度位置デジタル信号(第1の伝送信号)とエンコーダ20の迂回伝送回路24から出力される迂回速度アナログ信号(第2の伝送信号)とを比較してエンコーダ20の異常の有無を判断する手段である。このような異常の有無の判断は、安全回路12が記憶装置(図示略)に格納されているプログラムを実行することで実現される。   The safety circuit 12 outputs a gate stop signal and outputs the gate signal to the gate drive circuit 14 when an abnormality is detected in the motor drive system 1 or when an emergency stop button is pressed by an operator or the like. This circuit performs safety control to stop output. An example of an abnormality in the motor drive system 1 is an abnormality of the encoder 20. The safety circuit 12 compares the speed position digital signal (first transmission signal) output from the CPU 23 of the encoder 20 with the bypass speed analog signal (second transmission signal) output from the bypass transmission circuit 24 of the encoder 20. This is a means for determining whether or not the encoder 20 is abnormal. The determination of the presence or absence of such an abnormality is realized by the safety circuit 12 executing a program stored in a storage device (not shown).

電力変換装置10において、安全回路12と同じ構成の回路を追加して安全回路12を二重化しても良い。この場合、2個の安全回路12の各々は、エンコーダ20から出力される速度位置デジタル信号と迂回速度アナログ信号の比較を独立して行い、各安全回路12における比較結果を相互に診断する。   In the power converter 10, the safety circuit 12 may be duplicated by adding a circuit having the same configuration as the safety circuit 12. In this case, each of the two safety circuits 12 independently compares the speed position digital signal output from the encoder 20 and the bypass speed analog signal, and mutually diagnoses the comparison result in each safety circuit 12.

安全回路12は、安全端子台121、安全用マイコン122および非常停止回路123を含んでいる。   The safety circuit 12 includes a safety terminal block 121, a safety microcomputer 122, and an emergency stop circuit 123.

安全端子台121は、外部回路(図示略)から非常停止信号(例えば、非常停止ボタンの押下操作により発生した信号)を受け取り、安全用マイコン122および非常停止回路123に引き渡す。   The safety terminal block 121 receives an emergency stop signal (for example, a signal generated by pressing an emergency stop button) from an external circuit (not shown) and transfers the signal to the safety microcomputer 122 and the emergency stop circuit 123.

安全用マイコン122は、安全端子台121から出力される非常停止信号、ゲート駆動回路14から出力されるゲート停止状態信号、エンコーダ20から出力される速度位置デジタル信号および迂回速度アナログ信号を取得する。安全用マイコン122は、これらの各信号に基づいてモータ駆動システム1における異常の有無を判断し、異常があると判断した場合に非常停止指令を非常停止回路123に出力する回路である。   The safety microcomputer 122 acquires the emergency stop signal output from the safety terminal block 121, the gate stop state signal output from the gate drive circuit 14, the speed position digital signal output from the encoder 20, and the bypass speed analog signal. The safety microcomputer 122 is a circuit that determines the presence or absence of an abnormality in the motor drive system 1 based on each of these signals, and outputs an emergency stop command to the emergency stop circuit 123 when it determines that there is an abnormality.

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

図2は、安全用マイコン122の機能を示すブロック図である。安全用マイコン122は、データ取得部501、通信異常監視部502、位置速度変換部503、速度比較部504、パルス計数・A/D変換部505、速度単位変換部506、迂回速度信号監視部507、非常停止指令出力部508、モータ制御マイコン通信部509、非常停止信号監視部510、ゲート停止状態信号監視部511、自己診断処理部512、相互診断処理部513および初期化関連処理部514を有する。安全用マイコン122のこれら各部は、安全用マイコン122がプログラムを実行することにより実現される機能である。   FIG. 2 is a block diagram showing functions of the safety microcomputer 122. The safety microcomputer 122 includes a data acquisition unit 501, a communication abnormality monitoring unit 502, a position / speed conversion unit 503, a speed comparison unit 504, a pulse counting / A / D conversion unit 505, a speed unit conversion unit 506, and a bypass speed signal monitoring unit 507. , An emergency stop command output unit 508, a motor control microcomputer communication unit 509, 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 components of the safety microcomputer 122 are functions realized by the safety microcomputer 122 executing a program.

図3は、安全用マイコン122の動作を示すフローチャートである。安全用マイコン122は、電源が投入されるとプログラムを読み出して、図2に示す各機能部として動作を行い、図3に示すステップS101〜S108の処理を順に行う。安全用マイコン122は、以後、このステップS101〜S108の処理を定期的に繰り返し行う。図2および図3を参照して、安全用マイコン122の動作を説明する。   FIG. 3 is a flowchart showing the operation of the safety microcomputer 122. When the power is turned on, the safety microcomputer 122 reads out the program, operates as each functional unit shown in FIG. 2, and sequentially performs the processing of steps S101 to S108 shown in FIG. Thereafter, the safety microcomputer 122 periodically repeats the processing 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は、非常停止指令を出力して非常停止回路123にゲート停止信号を出力させる(図3のフローチャートでは省略した)。また、安全用マイコン122が二重化されている場合、自己診断処理部512による自己診断に加え、安全用マイコン122の相互診断処理部513は、安全用マイコン122の異常の有無を他方の安全用マイコン122と相互に診断を行う(ステップS101)。いずれかの安全用マイコン122において異常があった場合、その異常を検出した相互診断処理部513は、非常停止指令を出力して非常停止回路123にゲート停止信号を出力させる(図3のフローチャートでは省略した)。   First, the self-diagnosis processing unit 512 makes a self-diagnosis as to whether a runaway or an 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 outputs the emergency stop command and determines that the safety microcomputer 122 outputs an emergency stop command. The circuit 123 outputs a gate stop signal (omitted in the flowchart of FIG. 3). When the safety microcomputer 122 is duplicated, in addition to the self-diagnosis performed by the self-diagnosis processing unit 512, the mutual diagnosis processing unit 513 of the safety microcomputer 122 determines whether or not the safety microcomputer 122 is abnormal. Diagnosis is performed mutually with step 122 (step S101). If any one of the safety microcomputers 122 has an abnormality, the mutual diagnosis processing unit 513 that has detected the abnormality outputs an emergency stop command and causes the emergency stop circuit 123 to output a gate stop signal (in the flowchart of FIG. 3). Omitted).

次に、データ取得部501は、エンコーダ20のCPU23から出力される速度位置デジタル信号(第1の伝送信号)を取得する(ステップS102)。データ取得部501は、エンコーダ20の外部出力端子41から安全用マイコン122へ至る通信線を介したデータ通信により速度位置デジタル信号を取得する。また、データ取得部501は、制御回路11を介して速度位置デジタル信号を取得しても良い。   Next, the data acquisition unit 501 acquires a velocity position digital signal (first transmission signal) output from the CPU 23 of the encoder 20 (Step S102). The data acquisition unit 501 acquires a velocity position digital signal by data communication via a communication line from the external output terminal 41 of the encoder 20 to the safety microcomputer 122. Further, the data acquisition unit 501 may acquire a velocity position digital signal via the control circuit 11.

次に、通信異常監視部502は、デジタル信号である速度位置デジタル信号における単位やビットサイズの変更を行い、その後、速度位置デジタル信号の取得の際の通信に異常があるか否かの確認を行う(図3のフローチャートでは省略した)。例えば、通信異常監視部502は、巡回冗長符号を用いた巡回冗長検査(Cyclic Redundancy Check:CRC)などを行う。通信に異常があった場合(具体的にはCRCによって誤りを検出した場合)、通信異常監視部502は、通信に異常が発生した旨を表す値(例えば1)を異常フラグに格納した異常フラグ信号(以下、単に異常フラグ信号という)を非常停止指令出力部508に出力する。   Next, the communication abnormality monitoring unit 502 changes the unit and bit size of the velocity position digital signal, which is a digital signal, and then checks whether there is an abnormality in communication when acquiring the velocity position digital signal. (Not shown in the flowchart of FIG. 3). For example, the communication abnormality monitoring unit 502 performs a cyclic redundancy check (CRC) using a cyclic redundancy code. When there is an abnormality in the communication (specifically, when an error is detected by CRC), the communication abnormality monitoring unit 502 stores an abnormality flag indicating that an abnormality has occurred in the communication (for example, 1) in the abnormality flag. A signal (hereinafter, simply referred to as an abnormal flag signal) is output to the emergency stop command output unit 508.

通信異常監視部502において通信に異常がないと判断された場合(具体的にはCRCによって誤りが検出されなかった場合)、位置速度変換部503は、速度位置デジタル信号に格納された位置データが表す位置を微分して速度を算出する(ステップS103)。これにより、デジタル通信によって取得された速度位置デジタル信号から比較対象となる一方の速度データ(以下、便宜的にデジタル速度信号と呼ぶ)が得られる。位置速度変換部503は、得られたデジタル速度信号を速度比較部504に出力する。なお、位置速度変換部503は、算出した速度を移動平均フィルタ等を用いて移動平均化しても良い。   When the communication abnormality monitoring unit 502 determines that there is no abnormality in the communication (specifically, when no error is detected by the CRC), the position / speed conversion unit 503 determines whether the position data stored in the speed / position digital signal is The speed is calculated by differentiating the represented position (step S103). Thus, one speed data to be compared (hereinafter, referred to as a digital speed signal for convenience) is obtained from the speed position digital signal acquired by the digital communication. The position / velocity converter 503 outputs the obtained digital velocity signal to the velocity comparator 504. Note that the position / velocity converter 503 may perform moving averaging on the calculated speed using a moving average filter or the like.

次に、パルス計数・A/D変換部505は、エンコーダ20の迂回伝送回路24から出力される迂回速度アナログ信号(第2の伝送信号)を取得し、取得した迂回速度アナログ信号の電圧をオペアンプ等で調整した後、調整後の迂回速度アナログ信号のパルスをカウントする(ステップS104)。パルスのカウント結果は、モータ30の回転子の位置を示しており、デジタル値である。パルス計数・A/D変換部505は、このカウント結果を速度単位変換部506に出力する。また、パルス計数・A/D変換部505は、オペアンプ等で調整後の迂回速度アナログ信号をデジタル信号に変換し、その後に周波数換算して得られた周波数を速度単位変換部506に出力しても良い。   Next, the pulse counting / A / D converter 505 acquires the bypass speed analog signal (second transmission signal) output from the bypass transmission circuit 24 of the encoder 20, and converts the voltage of the acquired bypass speed analog signal into an operational amplifier. After the adjustment, the pulses of the detour speed analog signal after the adjustment are counted (step S104). The pulse count result indicates the position of the rotor of the motor 30 and is a digital value. The pulse counting / A / D converter 505 outputs the count result to the speed unit converter 506. The pulse counting / A / D converter 505 converts the detour speed analog signal adjusted by an operational amplifier or the like into a digital signal, and then outputs the frequency obtained by frequency conversion to the speed unit converter 506. Is also good.

次に、速度単位変換部506は、パルス計数・A/D変換部505から受け取ったパルスのカウント結果(または周波数)を時間微分して速度を算出する(ステップS105)。これにより、アナログ通信によって取得された迂回速度アナログ信号から比較対象となる他方の速度データ(以下、便宜的にアナログ速度信号と呼ぶ。なお、アナログ速度信号は実際にはデジタルである。)が得られる。速度単位変換部506は、得られたアナログ速度信号を速度比較部504に出力する。すなわち、安全用マイコン122は、エンコーダ20のCPU23(具体的にはA/D変換器231および信号処理器233)が第1の検出信号に対して行う処理と同様の処理を迂回速度アナログ信号に対して行う。   Next, the speed unit converter 506 calculates the speed by time-differentiating the pulse count result (or frequency) received from the pulse counting / A / D converter 505 (step S105). As a result, the other speed data to be compared (hereinafter referred to as an analog speed signal for convenience; the analog speed signal is actually digital) is obtained from the detour speed analog signal acquired by the analog communication. Can be Speed unit conversion section 506 outputs the obtained analog speed signal to speed comparison section 504. That is, the safety microcomputer 122 performs the same processing as that performed by the CPU 23 (specifically, the A / D converter 231 and the signal processor 233) of the encoder 20 on the first detection signal into the bypass speed analog signal. Do it for

また、パルス計数・A/D変換部505が迂回速度アナログ信号を取得するのに合わせて、迂回速度信号監視部507も、迂回速度アナログ信号を取得する。図3のフローチャートでは省略したが、迂回速度信号監視部507は、迂回速度アナログ信号の取得の際の通信に異常があるか否かの確認を行う。迂回速度信号監視部507は、例えば、迂回速度アナログ信号が通信の途中で断絶したか否かの判断や、迂回速度アナログ信号が表す信号値が不定になったか否かの判断などを行う。通信に異常があった場合(具体的には、通信が断絶した場合や信号値が不定になった場合)、迂回速度信号監視部507は、異常フラグ信号を非常停止指令出力部508に出力する。   At the same time that the pulse counting / A / D converter 505 acquires the bypass speed analog signal, the bypass speed signal monitor 507 also acquires the bypass speed analog signal. Although omitted in the flowchart of FIG. 3, the bypass speed signal monitoring unit 507 checks whether or not there is an abnormality in communication when acquiring the bypass speed analog signal. The detour speed signal monitoring unit 507 determines, for example, whether the detour speed analog signal has been interrupted during communication, or whether the signal value represented by the detour speed analog signal has become indefinite. When there is an abnormality in the communication (specifically, when the communication is interrupted or the signal value becomes indefinite), the bypass speed signal monitoring unit 507 outputs an abnormality flag signal to the emergency stop command output unit 508. .

次に、速度比較部504は、位置速度変換部503から受け取ったデジタル速度信号(速度位置デジタル信号から得られた速度データ)と、速度単位変換部506から受け取ったアナログ速度信号(迂回速度アナログ信号から得られた速度データ)とを比較して、エンコーダ20の異常の有無を判断する(ステップS106)。位置速度変換部503から受け取ったデジタル速度信号と速度単位変換部506から受け取ったアナログ速度信号とが一致していなかった場合、速度比較部504は、エンコーダ20に異常が発生したとみなして(S106:Yes)、異常フラグ信号を非常停止指令出力部508に出力する。   Next, the speed comparison unit 504 converts the digital speed signal (speed data obtained from the speed position digital signal) received from the position speed conversion unit 503 and the analog speed signal (detour speed analog signal) received from the speed unit conversion unit 506. The speed of the encoder 20 is compared with the speed data obtained from the above (step S106). If the digital speed signal received from the position / speed converter 503 does not match the analog speed signal received from the speed unit converter 506, the speed comparator 504 considers that an abnormality has occurred in the encoder 20 (S106). : Yes), and outputs an abnormal flag signal to the emergency stop command output unit 508.

非常停止指令出力部508は、速度比較部504から異常フラグ信号を受け取ると、非常停止指令を非常停止回路123に出力する(ステップS108)。また、非常停止指令出力部508は、通信異常監視部502および迂回速度信号監視部507から異常フラグ信号を受け取った場合も同様に、非常停止指令を出力する。非常停止指令出力部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 also outputs an emergency stop command when receiving an abnormality flag signal from the communication abnormality monitoring unit 502 and the bypass speed signal monitoring unit 507. The emergency stop command output unit 508 causes the motor control microcomputer communication unit 509 to output a diagnosis signal indicating that an abnormality has occurred in the motor drive system 1 together 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において、位置速度変換部503から受け取ったデジタル速度信号と速度単位変換部506から受け取ったアナログ速度信号とが一致していた場合、速度比較部504は、エンコーダ20に異常が発生していないと判断する(S106:No)。   On the other hand, in step S106, if the digital speed signal received from the position speed converter 503 matches the analog speed signal received from the speed unit converter 506, the speed comparator 504 generates an error in the encoder 20. It is determined that it has not been performed (S106: No).

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

非常停止信号が供給されなかった場合および非常停止信号の供給にかかる通信に異常がない場合(S107:Yes)、一連の処理を終了する。   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: Yes), a series of processing is ended.

また、図3のフローチャートでは省略したが、ステップS107における判断結果がYesである場合、ゲート停止状態信号監視部511は、ゲート停止状態信号の供給にかかる通信に異常があるか否かの確認を行っても良い。ゲート停止状態信号監視部511は、ゲート停止状態信号の供給にかかる通信に異常があった場合、異常フラグ信号を非常停止指令出力部508に出力する。ゲート停止状態信号監視部511から異常フラグ信号を受け取った非常停止出力部508は、非常停止指令を非常停止回路123に出力する。一方、ゲート停止状態信号の供給にかかる通信に異常がない場合、一連の処理を終了する。   Although omitted in the flowchart of FIG. 3, if the determination result in step S107 is Yes, the gate stop state signal monitoring unit 511 checks whether there is an abnormality in the communication related to the supply of the gate stop state signal. You may go. The gate stop state signal monitoring unit 511 outputs an abnormal flag signal to the emergency stop command output unit 508 when there is an abnormality in the 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 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 processing ends.

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

以上のように、本実施形態のモータ駆動システム1の電力変換装置10は、エンコーダ20から出力される第1の伝送信号(速度位置デジタル信号)と、第1の伝送信号を生成する過程で生成されて出力される第2の伝送信号(迂回速度アナログ信号)とに基づいてエンコーダ20の異常の有無を判断する。このため、モータ駆動システム1では、第1の伝送信号を生成する過程で用いられるエンコーダ20内のCPU23が正常であるか否かの判断を、エンコーダ20内のCPU23を二重化することなく行うことができる。すなわち、本モータ駆動システムでは、CPU23の個数を増やすことなくエンコーダ20の異常の有無を判断することができる。また、モータ駆動システム1の電力変換装置10は、同一のエンコーダ23から出力される第1の伝送信号と第2の伝送信号とに基づいてエンコーダ20の異常の有無を判断する。このため、モータ駆動システム1では、エンコーダ20の個数を増やすことなくエンコーダ20の異常の有無を判断することができる。   As described above, the power conversion device 10 of the motor drive system 1 according to the present embodiment generates the first transmission signal (speed position digital signal) output from the encoder 20 and the first transmission signal in the process of generating the first transmission signal. It is determined whether or not the encoder 20 is abnormal based on the second transmission signal (detour speed analog signal) that is output. Therefore, in the motor drive system 1, it is possible to determine whether the CPU 23 in the encoder 20 used in the process of generating the first transmission signal is normal without duplicating the CPU 23 in the encoder 20. it can. That is, in the present motor drive system, it is possible to determine whether or not the encoder 20 is abnormal without increasing the number of CPUs 23. Further, the power conversion device 10 of the motor drive system 1 determines whether or not the encoder 20 is abnormal based on the first transmission signal and the second transmission signal output from the same encoder 23. For this reason, the motor drive system 1 can determine whether there is an abnormality in the encoder 20 without increasing the number of encoders 20.

具体的には、電力変換装置10は、エンコーダ20のCPU23において熱暴走や異常発振などの異常が発生したとしても、CPU23から出力される速度位置デジタル信号とCPU23を迂回して伝送される正常な迂回速度アナログ信号と比較することでCPU23の異常を検知することができる。また、電力変換装置10は、迂回伝送回路24において異常が発生したとしても、迂回伝送回路24から出力される迂回速度アナログ信号とCPU23から出力される正常な速度位置デジタル信号と比較することで迂回伝送回路24の異常を検知することができる。また、電力変換装置10は、速度位置デジタル信号または迂回速度アナログ信号のうちのいずれか一方の伝送信号における通信路の断線や短絡などが発生したとしても、他方の伝送信号に基づいて通信の異常を検知することができる。   Specifically, even if an abnormality such as thermal runaway or abnormal oscillation occurs in the CPU 23 of the encoder 20, the power conversion device 10 transmits the speed position digital signal output from the CPU 23 and the normal transmission transmitted by bypassing the CPU 23. An abnormality of the CPU 23 can be detected by comparing with the bypass speed analog signal. In addition, even if an abnormality occurs in the detour transmission circuit 24, the power conversion device 10 compares the detour speed analog signal output from the detour transmission circuit 24 with the normal speed position digital signal output from the CPU 23 to perform detour. An abnormality in the transmission circuit 24 can be detected. Further, even if a disconnection or short circuit of the communication path in one of the speed position digital signal and the detour speed analog signal occurs, the power conversion device 10 can perform communication abnormality based on the other transmission signal. Can be detected.

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

また、デジタル信号を用いた通信では、ビットエラーなどのデジタル信号に特有の異常の発生の虞がある。このビットエラーなどは、アナログ信号を用いた通信では発生しない。一方、アナログ信号を用いた通信では、信号のクロストークなどのアナログ信号に特有の異常の発生の虞がある。このクロストークなどは、デジタル信号を用いた通信では発生しない。本実施形態のモータ駆動システム1では、デジタル信号を用いた通信とアナログ信号を用いた通信とを併用しているため、通信の途中においてデジタル信号またはアナログ信号に特有の異常が発生したとしても、速度位置デジタル信号の通信と迂回速度アナログ信号の通信の両方に同時に異常が発生する可能性は低い。このため、モータ駆動システム1では、エンコーダ20と電力変換装置10との通信における信頼性が低下することはない。   Further, in communication using digital signals, there is a possibility that abnormalities specific to digital signals, such as bit errors, may occur. This bit error does not occur in communication using an analog signal. On the other hand, in communication using analog signals, there is a possibility that abnormalities specific to analog signals, such as signal crosstalk, may occur. This crosstalk does not occur in communication using digital signals. In the motor drive system 1 of the present embodiment, the communication using the digital signal and the communication using the analog signal are used in combination, so even if an abnormality specific to the digital signal or the analog signal occurs during the communication, It is unlikely that an abnormality occurs simultaneously in both the communication of the velocity position digital signal and the communication of the bypass speed analog signal. Therefore, in the motor drive system 1, the reliability in communication between the encoder 20 and the power conversion device 10 does not decrease.

また、電力変換装置10の制御回路11には、エンコーダ20から出力される速度位置デジタル信号が供給される。制御回路11は、速度位置デジタル信号に含まれる速度データおよび位置データを用いてモータ30を駆動制御するため、電力変換装置10は、従来の電力変換装置10と同様にモータを駆動制御することができる。   Further, a speed position digital signal output from the encoder 20 is supplied to the control circuit 11 of the power conversion device 10. Since the control circuit 11 controls the drive of the motor 30 using the speed data and the position data included in the speed position digital signal, the power converter 10 can control the drive of the motor in the same manner as the conventional power converter 10. it can.

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

(1)実施形態のモータ駆動システム1のエンコーダ20は、2個の検出回路(第1の検出回路21および第2の検出回路22)を有していた。しかし、エンコーダ20が有する検出回路の個数は2個に限らず、1個であっても良いし、3個以上であっても良い。例えば、エンコーダが検出回路を1個だけ有する態様では、CPU23は、その検出回路のアナログの検出信号に基づいてデジタルの第1の伝送信号(速度位置デジタル信号)を生成して出力すれば良い。また、この場合、その検出回路のアナログの検出信号を第2の検出信号(迂回速度アナログ信号)として出力すれば良い。この態様においても、実施形態のモータ駆動システム1と同様の効果が得られる。 (1) The encoder 20 of the motor drive system 1 according to the embodiment has two detection circuits (a first detection circuit 21 and a second detection circuit 22). However, the number of detection circuits included in the encoder 20 is not limited to two, and may be one, or may be three or more. For example, in an embodiment in which the encoder has only one detection circuit, the CPU 23 may generate and output a digital first transmission signal (speed position digital signal) based on an analog detection signal of the detection circuit. In this case, an analog detection signal of the detection circuit may be output as a second detection signal (a bypass speed analog signal). Also in this aspect, the same effects as those of the motor drive system 1 of the embodiment can be obtained.

(2)実施形態のエンコーダ20の迂回伝送回路24は、第1の検出回路21の第1の検出信号を第2の伝送信号として出力していた。しかし、迂回伝送回路24は、第2の検出回路22の第2の検出信号を第2の伝送信号として出力しても良い。すなわち、エンコーダ20が検出回路を複数有する場合、迂回伝送回路24は、複数の検出回路のうちのいずれか1の検出回路の検出信号を第2の伝送信号として出力すれば良い。 (2) The bypass transmission circuit 24 of the encoder 20 according to the embodiment outputs the first detection signal of the first detection circuit 21 as a second transmission signal. However, the bypass transmission circuit 24 may output the second detection signal of the second detection circuit 22 as a second transmission signal. That is, when the encoder 20 has a plurality of detection circuits, the detour transmission circuit 24 may output the detection signal of any one of the plurality of detection circuits as the second transmission signal.

1…モータ駆動システム、10…電力変換装置、20…エンコーダ、30…モータ、40…交流電源、11…制御回路、12…安全回路、13…インバータ主回路、14…ゲート駆動回路、111…指令信号端子台、112…モータ制御マイコン、113…LSI、121…安全端子台、122…安全用マイコン、123…非常停止回路、21…第1の検出回路、22…第2の検出回路、23…CPU、24…迂回伝送回路、31…回転軸、41,42…外部出力端子、211…発光素子、212…受光素子、213,223…増幅回路、222…磁気抵抗素子、231,232…A/D変換器、233…信号処理器、234…外部伝送回路。   DESCRIPTION OF SYMBOLS 1 ... Motor drive system, 10 ... Power converter, 20 ... Encoder, 30 ... Motor, 40 ... AC power supply, 11 ... Control circuit, 12 ... Safety circuit, 13 ... Inverter main circuit, 14 ... Gate drive circuit, 111 ... Command Signal terminal block, 112: Motor control microcomputer, 113: LSI, 121: Safety terminal block, 122: Safety microcomputer, 123: Emergency stop circuit, 21: First detection circuit, 22: Second detection circuit, 23 ... CPU, 24: detour transmission circuit, 31: rotating shaft, 41, 42: external output terminal, 211: light emitting element, 212: light receiving element, 213, 223: amplifier circuit, 222: magnetoresistive element, 231, 232: A / D converter, 233: signal processor, 234: external transmission circuit.

Claims (3)

入力された電力を変換して出力することでモータを駆動制御する電力変換装置であって、
前記モータの回転子の速度および位置を検出するエンコーダから出力される第1の伝送信号と、前記第1の伝送信号が出力される前記エンコーダから出力される第2の伝送信号とに基づいて前記エンコーダの異常の有無を判断する安全回路を有し、
前記エンコーダから出力される前記第1の伝送信号はデジタル信号であり、
前記エンコーダから出力される前記第2の伝送信号はアナログ信号であり、
前記安全回路は、
前記第2の伝送信号をデジタル信号に変換し、
前記第1の伝送信号と、デジタル信号に変換された前記第2の伝送信号とを比較する
ことを特徴とする電力変換装置。
A power converter that drives and controls a motor by converting and outputting input power,
A first transmission signal output from an encoder that detects a speed and a position of a rotor of the motor, and a second transmission signal output from the encoder from which the first transmission signal is output. It has a safety circuit to determine the presence or absence of an encoder abnormality ,
The first transmission signal output from the encoder is a digital signal,
The second transmission signal output from the encoder is an analog signal,
The safety circuit includes:
Converting the second transmission signal into a digital signal;
A power converter , wherein the first transmission signal is compared with the second transmission signal converted into a digital signal .
入力された電力を変換して出力することでモータを駆動制御する電力変換装置であって、A power converter that drives and controls a motor by converting and outputting input power,
前記モータの回転子の速度および位置を検出するエンコーダから出力される第1の伝送信号と、前記第1の伝送信号が出力される前記エンコーダから出力される第2の伝送信号とに基づいて前記エンコーダの異常の有無を判断する安全回路を有し、A first transmission signal output from an encoder that detects a speed and a position of a rotor of the motor, and a second transmission signal output from the encoder from which the first transmission signal is output. It has a safety circuit to determine the presence or absence of an encoder abnormality,
前記エンコーダは、The encoder is
前記モータの回転子の速度および位置を検出して検出結果を示す検出信号を各々生成する複数の検出回路と、A plurality of detection circuits for detecting the speed and position of the rotor of the motor and generating a detection signal indicating the detection result,
前記複数の検出回路によって生成される各検出信号に信号処理を施して前記第1の伝送信号を生成して出力する検出信号処理手段と、Detection signal processing means for performing signal processing on each detection signal generated by the plurality of detection circuits to generate and output the first transmission signal;
前記複数の検出回路のうちのいずれか1の検出回路によって生成される検出信号を前記第2の伝送信号として出力する迂回伝送回路と、を有するA bypass transmission circuit that outputs a detection signal generated by any one of the plurality of detection circuits as the second transmission signal.
ことを特徴とする電力変換装置。A power converter characterized by the above-mentioned.
入力された電力を変換して出力することでモータを駆動制御する電力変換装置であって、
前記モータの回転子の速度および位置を検出するエンコーダから出力される第1の伝送信号と、前記第1の伝送信号が出力される前記エンコーダから出力される第2の伝送信号とに基づいて前記エンコーダの異常の有無を判断する安全回路を有し、
前記エンコーダは、前記第1の伝送信号を生成するのに用いた信号を前記第2の伝送信号として出力する
ことを特徴とする電力変換装置。
A power converter that drives and controls a motor by converting and outputting input power,
A first transmission signal output from an encoder that detects a speed and a position of a rotor of the motor, and a second transmission signal output from the encoder from which the first transmission signal is output. It has a safety circuit to determine the presence or absence of an encoder abnormality,
The power converter according to claim 1, wherein the encoder outputs a signal used to generate the first transmission signal as the second transmission signal .
JP2015228755A 2015-11-24 2015-11-24 Power converter Active JP6641920B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015228755A JP6641920B2 (en) 2015-11-24 2015-11-24 Power converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015228755A JP6641920B2 (en) 2015-11-24 2015-11-24 Power converter

Publications (2)

Publication Number Publication Date
JP2017099130A JP2017099130A (en) 2017-06-01
JP6641920B2 true JP6641920B2 (en) 2020-02-05

Family

ID=58804019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015228755A Active JP6641920B2 (en) 2015-11-24 2015-11-24 Power converter

Country Status (1)

Country Link
JP (1) JP6641920B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6969293B2 (en) * 2017-10-31 2021-11-24 日本電気株式会社 Sensing device, control method, program
JP6824447B2 (en) * 2018-01-16 2021-02-03 三菱電機株式会社 Signal control device and abnormality detection method
JP7467382B2 (en) 2021-03-22 2024-04-15 株式会社東芝 Electrically operated mechanism and failure determination method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4512211B2 (en) * 1999-01-25 2010-07-28 株式会社日立産機システム Current control circuit, inverter control device, inverter device, and power conversion device
JP2005062951A (en) * 2003-08-13 2005-03-10 Fuji Electric Holdings Co Ltd Encoder signal transmission system
JP5299844B2 (en) * 2009-01-23 2013-09-25 富士電機株式会社 Speed monitoring device

Also Published As

Publication number Publication date
JP2017099130A (en) 2017-06-01

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
JP4968069B2 (en) Encoder with abnormality detection device and control system therefor
JP6641920B2 (en) Power converter
JP6549637B2 (en) Encoder system having abnormality detection function and abnormality detection method
TWI473973B (en) Server motor and encoder
JP2019161759A (en) Motor drive system
JP2005518178A (en) Motor error detection method
US20100145519A1 (en) Industrial robot and method to operate an industrial robot
US10444288B2 (en) Abnormality diagnosing device and abnormality diagnosing method
US11820444B2 (en) Control device for vehicle-mounted equipment
JP2016208656A (en) Power conversion device and safety monitoring device
JP2009135655A (en) Electronic control device
US6333614B1 (en) Method and circuit for monitoring the operating condition of electric motors
CN111505933B (en) Servo driver and servo system
JP5215188B2 (en) Monitoring device for drive unit
JP2004147463A (en) Motor drive unit
JP6157772B1 (en) Servo control diagnostic system
JP5301814B2 (en) Rotary encoder and electronic control system
JP5043639B2 (en) Rotary encoder
JP5043636B2 (en) Rotary encoder
WO2023053489A1 (en) Electronic control device, and method for diagnosing electronic control device
JP5043640B2 (en) Rotary encoder
JP2018050431A (en) Biaxial inverter device
JP6339144B2 (en) Two-axis inverter device and its sequential monitoring switching method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190827

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190930

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191216

R150 Certificate of patent or registration of utility model

Ref document number: 6641920

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