JP2005295679A - Motor driving apparatus - Google Patents

Motor driving apparatus Download PDF

Info

Publication number
JP2005295679A
JP2005295679A JP2004106832A JP2004106832A JP2005295679A JP 2005295679 A JP2005295679 A JP 2005295679A JP 2004106832 A JP2004106832 A JP 2004106832A JP 2004106832 A JP2004106832 A JP 2004106832A JP 2005295679 A JP2005295679 A JP 2005295679A
Authority
JP
Japan
Prior art keywords
signal
circuit
transmission
motor
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004106832A
Other languages
Japanese (ja)
Inventor
Yoshio Nakajima
芳夫 中島
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2004106832A priority Critical patent/JP2005295679A/en
Publication of JP2005295679A publication Critical patent/JP2005295679A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor driving apparatus for applying a driving voltage to a motor through a power supply line, capable of bidirectionally transmitting a signal related to an output from a sensor provided in the motor and a signal related to an input to a sensor section for controlling an operation of the sensor through the power supply line. <P>SOLUTION: A transmission circuit 5 detects a rise of the driving voltage V, generates a synchronization signal P1, modulates a transmitted bit sequence by a modulation circuit (54) in synchronization with the synchronization signal P1, and transmits it through the power supply line 3. The transmission circuit 8 detects a fall of the driving voltage V, generates a synchronization signal P3, modulates a transmitted bit sequence by a modulation circuit (84) in synchronization with the synchronization signal P3, and transmits it through the power supply line 3. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、モータに電力を供給する電源線に該モータに備えられたセンサ部の入力及び出力に関連する信号を前記電源線を介して双方向に送受信する送信回路及び受信回路を有するモータ駆動装置に関する。   The present invention provides a motor drive having a transmission circuit and a reception circuit for bidirectionally transmitting / receiving signals related to the input and output of a sensor unit provided in the motor to a power supply line for supplying power to the motor. Relates to the device.

車両に搭載されるモータにはブラシレス直流電動機が用いられている。ブラシレス直流電動機は、車両に搭載された電池から供給される直流を三相交流に変換するモータ駆動回路に、三相の電源線を介して接続されている。モータ駆動回路には、モータを駆動する駆動電圧のパルス幅の長短を制御してモータの出力を制御するPWMインバータの駆動回路がある。   A brushless DC motor is used for a motor mounted on a vehicle. The brushless DC motor is connected via a three-phase power line to a motor drive circuit that converts a DC supplied from a battery mounted on a vehicle into a three-phase AC. The motor drive circuit includes a PWM inverter drive circuit that controls the output of the motor by controlling the length of the pulse width of the drive voltage for driving the motor.

モータ駆動装置に備えられた送信回路は該電動機内部に備えられたレゾルバ又はホール素子などにより電動機の回転子の回転角度に関連する信号を電源線を介して受信回路へ送信し、モータ駆動装置に備えられた受信回路は送信された信号を受信し、受信した信号をモータ駆動回路へ出力する。ブラシレス直流電動機の駆動は、前記信号に基づいてモータ駆動回路から供給される矩形波形の駆動電圧のパルス幅を制御することにより行われる。   The transmission circuit provided in the motor drive device transmits a signal related to the rotation angle of the rotor of the motor to the reception circuit via the power line by a resolver or a hall element provided in the motor, and the motor drive device The provided receiving circuit receives the transmitted signal and outputs the received signal to the motor driving circuit. The brushless DC motor is driven by controlling the pulse width of the rectangular waveform driving voltage supplied from the motor driving circuit based on the signal.

また、温度センサが検出した電動機内部の異常温度に関連する信号をモータ駆動回路へ送信して電動機を停止させる。   Further, a signal related to the abnormal temperature inside the electric motor detected by the temperature sensor is transmitted to the motor drive circuit to stop the electric motor.

信号をモータ駆動回路へ送信するためには、電源線とは別に、前記信号をモータ駆動回路へ送信するための信号線が必要となるが、電源線に加えて信号線をモータとモータ駆動回路との間に設けた場合は、ハーネスが増加し車両の軽量化が図れない。そこで、信号を、信号線を使用せず前記電源線を介して送信している(特許文献1参照)。
特開2003−174787号公報
In order to transmit a signal to the motor drive circuit, a signal line for transmitting the signal to the motor drive circuit is required separately from the power supply line. In addition to the power supply line, the signal line is connected to the motor and the motor drive circuit. If it is provided between the two, the number of harnesses increases and the weight of the vehicle cannot be reduced. Therefore, a signal is transmitted via the power line without using a signal line (see Patent Document 1).
JP 2003-174787 A

しかしながら、特許文献1の構成にあっては、モータに備えられたセンサが正常に動作をするか否かを診断する診断テストを行なう場合、又は仮にセンサの異常が検出された場合において、バックアップ用のセンサに切り換えるときに、センサを制御するための信号を、モータ駆動回路からセンサを有するセンサ部へ送信するためには、電源線とは、別に信号線が必要であった。また、電源線を介してモータを駆動する駆動電圧は、立上がり及び立下がりが急峻な矩形波形であるため、前記駆動電圧の立上がり時及び立下がり時に、前記電源線を介して送信される信号の電圧レベルよりも大きなノイズが発生する場合がある。このため、前記信号を前記電源線を介して送信する場合に、前記信号にノイズが重畳し、前記受信回路は、送信された信号をノイズと分離して受信することができない虞があった。   However, in the configuration of Patent Document 1, when performing a diagnostic test for diagnosing whether or not the sensor provided in the motor operates normally, or if an abnormality of the sensor is detected, the backup In order to transmit a signal for controlling the sensor from the motor drive circuit to the sensor unit having the sensor when switching to the sensor, a signal line is required separately from the power line. In addition, since the drive voltage for driving the motor via the power supply line has a rectangular waveform with a steep rise and fall, the signal transmitted via the power supply line at the rise and fall of the drive voltage Noise greater than the voltage level may occur. For this reason, when the signal is transmitted through the power line, noise is superimposed on the signal, and the reception circuit may not be able to receive the transmitted signal separately from the noise.

本発明は、斯かる事情に鑑みてなされたものであり、モータに備えられたセンサの出力及び該センサの動作を制御するセンサ部の入力に関連する信号を電源線を介して双方向に送受信することができるモータ駆動装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and bidirectionally transmits and receives signals related to the output of the sensor provided in the motor and the input of the sensor unit that controls the operation of the sensor via the power supply line. It is an object of the present invention to provide a motor drive device that can be used.

また、本発明の他の目的は、双方向に送受信する信号夫々を、異なる電源線を介して送受信することにより、信号を双方向に送信することができるモータ駆動装置を提供することにある。   Another object of the present invention is to provide a motor drive device capable of transmitting signals bidirectionally by transmitting and receiving signals transmitted and received in both directions via different power supply lines.

また、本発明の他の目的は、双方向に送受信する信号夫々を、異なる周波数を有する搬送波に搬送して送信することにより、信号を双方向に送信することができるモータ駆動装置を提供することにある。   Another object of the present invention is to provide a motor drive device capable of transmitting signals in both directions by conveying the signals transmitted and received in both directions to carrier waves having different frequencies and transmitting them. It is in.

また、本発明の他の目的は、双方向に送受信する信号夫々を、時分割送信することにより、信号を双方向に送信することができるモータ駆動装置を提供することにある。   Another object of the present invention is to provide a motor driving device capable of transmitting signals bidirectionally by transmitting each signal transmitted and received bidirectionally in a time-sharing manner.

また、本発明の他の目的は、受信した信号の誤りの有無を判定する判定部を備えることにより、信号と該信号の受信結果とを双方向に送信することができるモータ駆動装置を提供することにある。   Another object of the present invention is to provide a motor drive apparatus that can transmit a signal and a reception result of the signal bidirectionally by including a determination unit that determines whether there is an error in the received signal. There is.

また、本発明の他の目的は、受信した信号に誤りがある場合に、受信した信号と再送要求信号とを双方向に送信することができるモータ駆動装置を提供することにある。   Another object of the present invention is to provide a motor drive device capable of bidirectionally transmitting a received signal and a retransmission request signal when there is an error in the received signal.

また、本発明の他の目的は、受信した信号に誤りがない場合に、受信した信号と確認信号とを双方向に送信することができるモータ駆動装置を提供することにある。   Another object of the present invention is to provide a motor drive device capable of transmitting a received signal and a confirmation signal bidirectionally when there is no error in the received signal.

第1発明のモータ駆動装置は、複数の電源線を介してモータへ駆動電圧を印加するモータ駆動回路と、前記モータに備えられたセンサの出力に関連する信号を前記電源線を介して送信する第1の送信回路と、前記電源線を介して前記信号を受信し、受信した信号を前記モータ駆動回路へ出力する第1の受信回路とを備えたモータ駆動装置において、前記センサの動作を制御する信号が入力されるセンサ部と、前記センサ部への入力に関連する信号を前記電源線を介して送信する第2の送信回路と、前記電源線を介して受信した信号を前記センサ部へ出力する第2の受信回路とを備えたことを特徴とする。   A motor driving device according to a first aspect of the present invention transmits a motor driving circuit for applying a driving voltage to a motor via a plurality of power lines, and a signal related to an output of a sensor provided in the motor via the power lines. Controlling the operation of the sensor in a motor drive device comprising: a first transmission circuit; and a first reception circuit that receives the signal via the power line and outputs the received signal to the motor drive circuit. A sensor unit to which a signal to be input is input, a second transmission circuit that transmits a signal related to the input to the sensor unit via the power line, and a signal received via the power line to the sensor unit And a second receiving circuit for outputting.

第2発明のモータ駆動装置は、前記第2の送信回路及び第2の受信回路は、前記第1の送信回路及び第1の受信回路が接続されている電源線と異なる電源線に接続されていることを特徴とする。   In the motor drive device of the second invention, the second transmission circuit and the second reception circuit are connected to a power line different from the power line to which the first transmission circuit and the first reception circuit are connected. It is characterized by being.

第3発明のモータ駆動装置は、前記第1及び第2の送信回路は、信号を搬送する搬送波を生成する搬送波回路を有し、前記第2の送信回路が送信する信号の搬送波の周波数は、前記第1の送信回路が送信する信号の搬送波の周波数と異なることを特徴とする。   In the motor drive device of the third invention, the first and second transmission circuits have a carrier circuit that generates a carrier wave that carries a signal, and the frequency of the carrier wave of the signal transmitted by the second transmission circuit is: The first transmission circuit is different in frequency from a carrier wave of a signal transmitted.

第4発明のモータ駆動装置は、前記モータ駆動回路は矩形状の駆動電圧を印加すべくなしてあり、前記第1及び第2の送信回路は、前記駆動電圧の立上がり又は立下がりに同期して、前記第1の送信回路が送信する信号及び第2の送信回路が送信する信号を時分割送信すべくなしてあることを特徴とする。   In the motor drive device according to a fourth aspect of the invention, the motor drive circuit is adapted to apply a rectangular drive voltage, and the first and second transmission circuits are synchronized with the rise or fall of the drive voltage. The signal transmitted from the first transmission circuit and the signal transmitted from the second transmission circuit are to be transmitted in a time division manner.

第5発明のモータ駆動装置は、前記第1の送信回路は、送信する符号と誤り検出符号とを含む信号を生成する信号生成回路を有し、前記第1の受信回路は、受信した信号の誤りの有無を判定する判定部を備え、前記第2の送信回路は、前記判定部の判定結果に応じて、前記電源線を介して応答信号を前記第2の受信回路へ送信すべくなしてあることを特徴とする。   In the motor drive device of the fifth invention, the first transmission circuit includes a signal generation circuit that generates a signal including a code to be transmitted and an error detection code, and the first reception circuit is configured to receive the received signal. A determination unit configured to determine whether or not there is an error, wherein the second transmission circuit is configured to transmit a response signal to the second reception circuit via the power line in accordance with a determination result of the determination unit; It is characterized by being.

第6発明のモータ駆動装置は、前記第1の受信回路が受信した信号に誤りがある場合は、前記応答信号が、前記第1の送信回路が送信した信号を再送する再送要求信号であることを特徴とする。   In the motor drive device according to the sixth aspect of the present invention, when there is an error in the signal received by the first receiving circuit, the response signal is a retransmission request signal for retransmitting the signal transmitted by the first transmitting circuit. It is characterized by.

第7発明のモータ駆動装置は、前記第1の受信回路が受信した信号に誤りがない場合は、前記応答信号が、前記第1の送信回路が送信した信号が正常に受信されたことを示す確認信号であることを特徴とする。   In the motor drive device of the seventh invention, when there is no error in the signal received by the first receiving circuit, the response signal indicates that the signal transmitted by the first transmitting circuit has been normally received. It is a confirmation signal.

第1発明にあっては、第2の送信回路は、電源線を介して、モータに備えられたセンサの動作を制御するセンサ部の入力に関連する信号を送信し、第2の受信回路は、送信された信号を受信し、受信した信号を前記センサ部へ出力する。   In the first invention, the second transmission circuit transmits a signal related to the input of the sensor unit that controls the operation of the sensor provided in the motor via the power supply line, and the second reception circuit The transmitted signal is received, and the received signal is output to the sensor unit.

第2発明にあっては、第1の送信回路は、一の電源線を介して、センサの出力に関連する信号を送信し、第1の受信回路は、送信された前記信号を受信する。第2の送信回路は、他の電源線を介して、センサ部の入力に関連する信号を送信し、第2の受信回路は、前記他の電源線を介して送信された信号を受信する。   In the second invention, the first transmission circuit transmits a signal related to the output of the sensor via one power supply line, and the first reception circuit receives the transmitted signal. The second transmission circuit transmits a signal related to the input of the sensor unit via another power supply line, and the second reception circuit receives a signal transmitted via the other power supply line.

第3発明にあっては、第1の送信回路は、一の周波数を有する搬送波により信号を送信し、第1の受信回路は、送信された前記信号を含む搬送波を受信し、該信号を復調して受信する。第2の送信回路は、前記一の周波数と異なる周波数を有する搬送波により信号を送信し、第2の受信回路は、送信された前記信号を含む搬送波を受信し、該信号を復調して受信する。   In the third invention, the first transmission circuit transmits a signal using a carrier wave having one frequency, and the first reception circuit receives the carrier wave including the transmitted signal and demodulates the signal. And receive. The second transmission circuit transmits a signal using a carrier wave having a frequency different from the one frequency, and the second reception circuit receives a carrier wave including the transmitted signal and demodulates and receives the signal. .

第4発明にあっては、所定の周波数で変動する矩形波形の駆動電圧の立上がり又は立下がりを検出し、前記駆動電圧の変動に同期して、第1及び第2の送信回路が信号を送信する期間を時分割して分離することにより、前記信号を双方向に送信する。   In the fourth aspect of the invention, the rising or falling of the driving voltage having a rectangular waveform that fluctuates at a predetermined frequency is detected, and the first and second transmission circuits transmit signals in synchronization with the fluctuation of the driving voltage. The signal is transmitted in both directions by separating the period to be time-divided.

第5発明にあっては、第1の送信回路は、送信する符号と誤り検出符号とを含む信号を電源線を介して送信し、第1の受信回路は、送信された信号を受信し、受信した信号に含まれる誤り検出符号に基づいて受信した信号の誤りを判定し、判定結果を第2の送信回路へ出力する。前記第2の送信回路は、前記判定結果に応じて、電源線を介して応答信号を第2の受信回路へ送信する。前記第2の受信回路は、受信した応答信号を前記第1の送信回路へ出力する。   In the fifth invention, the first transmission circuit transmits a signal including a code to be transmitted and an error detection code via the power supply line, and the first reception circuit receives the transmitted signal, An error of the received signal is determined based on an error detection code included in the received signal, and the determination result is output to the second transmission circuit. The second transmission circuit transmits a response signal to the second reception circuit via a power line in accordance with the determination result. The second reception circuit outputs the received response signal to the first transmission circuit.

第6発明にあっては、前記第1の受信回路が受信した信号に誤りがある場合に、前記第1の送信回路へ前記信号を再送するよう要求する。   In the sixth invention, when the signal received by the first receiving circuit has an error, the first transmitting circuit is requested to retransmit the signal.

第7発明にあっては、前記第1の受信回路が受信した信号に誤りがない場合に、前記信号が正常に受信されたことを示す確認信号を前記第1の送信回路へ送信する。   In the seventh invention, when there is no error in the signal received by the first receiving circuit, a confirmation signal indicating that the signal has been normally received is transmitted to the first transmitting circuit.

第1発明にあっては、電源線を介して、センサの出力に関連する信号及び前記センサの動作を制御するセンサ部の入力に関連する信号を、双方向に送信することができる。   In the first invention, a signal related to the output of the sensor and a signal related to the input of the sensor unit for controlling the operation of the sensor can be transmitted bidirectionally via the power line.

第2発明にあっては、双方向に送信する信号を異なる電源線を介して送信することにより、同じ周波数を有する搬送波を用いて、信号を双方向に送信することができる。   In the second invention, signals can be transmitted in both directions using carrier waves having the same frequency by transmitting signals to be transmitted in both directions via different power supply lines.

第3発明にあっては、同一電源線を介して信号を送信する場合であっても、信号を双方向に送信することができる。   In the third aspect of the invention, the signal can be transmitted in both directions even when the signal is transmitted through the same power line.

第4発明にあっては、同一電源線を介して信号を送信する場合であっても、同じ周波数を有する搬送波を用いて、信号を双方向に送信することができる。   In the fourth invention, even when a signal is transmitted through the same power line, the signal can be transmitted bidirectionally using a carrier wave having the same frequency.

第5発明にあっては、送信した信号と受信結果とを双方向に送信することができるとともに、信号を送信した送信回路は送信結果を確認することができる。   In the fifth invention, the transmitted signal and the reception result can be transmitted in both directions, and the transmission circuit that has transmitted the signal can confirm the transmission result.

第6発明にあっては、信号を電源線を介して送信した場合に、前記信号にノイズが重畳し、送信された信号をノイズと分離して受信することができないときでも、前記信号を再度受信することができる。   In the sixth aspect of the invention, when a signal is transmitted through a power line, noise is superimposed on the signal, and even when the transmitted signal cannot be received separately from the noise, the signal is transmitted again. Can be received.

第7発明にあっては、信号を電源線を介して送信した場合に、前記信号が正常に受信されたことを確認することができる。   In the seventh invention, when the signal is transmitted through the power supply line, it can be confirmed that the signal is normally received.

実施の形態1
図1は本発明のPWMインバータ方式を用いたモータ駆動装置の概略構成を示すブロック図である。図において、1は直流を三相交流に変換するモータ駆動回路である。モータ駆動回路1は、電池11の正端子にトランジスタT1、T2、T3のエミッタが接続され、トランジスタT1、T2、T3のコレクタは、夫々トランジスタT4、T5、T6のコレクタに接続され、トランジスタT4、T5、T6のエミッタは、電池11の負端子に接続された構成を有する。
Embodiment 1
FIG. 1 is a block diagram showing a schematic configuration of a motor driving apparatus using a PWM inverter system of the present invention. In the figure, reference numeral 1 denotes a motor drive circuit that converts direct current into three-phase alternating current. In the motor drive circuit 1, the emitters of the transistors T1, T2, and T3 are connected to the positive terminal of the battery 11, the collectors of the transistors T1, T2, and T3 are connected to the collectors of the transistors T4, T5, and T6, respectively. The emitters of T5 and T6 have a configuration connected to the negative terminal of the battery 11.

トランジスタT1、T2、T3のコレクタ夫々は、三相交流用の各電源線3の一端に接続され、各電源線3の他端はモータ2の各三相端子U、V、Wに接続されている。   Each of the collectors of the transistors T1, T2, and T3 is connected to one end of each power line 3 for three-phase alternating current, and the other end of each power line 3 is connected to each three-phase terminal U, V, and W of the motor 2. Yes.

モータ2は、各三相端子U、V、Wに接続された電機子巻線が配置された固定子と、該固定子の内側に、界磁巻線を有しモータ軸の回りに回転する回転子とを備えている。モータ2には、センサ部4が接続され、センサ部4は、前記回転子の回転角度を検出するレゾルバ41、41を有している。レゾルバ41は、回転子の回転角度に応じた位相を有する電圧信号をセンサ部4へ出力する。   The motor 2 has a stator in which armature windings connected to the three-phase terminals U, V, and W are arranged, and has a field winding inside the stator and rotates around the motor shaft. With a rotor. A sensor unit 4 is connected to the motor 2, and the sensor unit 4 includes resolvers 41 and 41 that detect the rotation angle of the rotor. The resolver 41 outputs a voltage signal having a phase corresponding to the rotation angle of the rotor to the sensor unit 4.

センサ部4において、位相差演算部42は、レゾルバ41から入力された電圧信号の位相と、回転子と固定子とのなす角により定められた基準信号との位相差を演算して、位相差に応じた周波数を有するパルス信号をカウンタ43へ出力する。   In the sensor unit 4, the phase difference calculation unit 42 calculates the phase difference between the phase of the voltage signal input from the resolver 41 and the reference signal determined by the angle formed by the rotor and the stator. A pulse signal having a frequency corresponding to is output to the counter 43.

カウンタ43は、位相差演算部42から入力されたパルス信号を計数することにより、回転子の位置に応じたデジタル信号を生成し、送信回路5へ出力する。   The counter 43 generates a digital signal corresponding to the position of the rotor by counting the pulse signal input from the phase difference calculation unit 42 and outputs the digital signal to the transmission circuit 5.

診断部44は、後述する受信回路9から入力されたデジタル信号に応じて、レゾルバ41の診断用の信号をレゾルバ41へ出力するとともに、レゾルバ41から出力された信号を取得して、レゾルバ41が正常に動作するか否かを確認する。   The diagnosis unit 44 outputs a signal for diagnosis of the resolver 41 to the resolver 41 in accordance with a digital signal input from the receiving circuit 9 described later, acquires the signal output from the resolver 41, and the resolver 41 Check if it works properly.

選択部45は、診断部44が行なった診断結果に基づいて、レゾルバ41に不具合が生じた場合に、不具合の生じたレゾルバ41を切り離し、バックアップ用のレゾルバ41に切り換える。   Based on the result of the diagnosis performed by the diagnosis unit 44, the selection unit 45 disconnects the resolver 41 in which the failure has occurred and switches to the backup resolver 41 when the failure occurs in the resolver 41.

図2は送信回路5及び受信回路6の構成を示すブロック図である。図中、バッファ51は、センサ部4から入力されたデジタル信号を一旦保持し、保持したデジタル信号を通信制御回路52へ出力する。   FIG. 2 is a block diagram showing the configuration of the transmission circuit 5 and the reception circuit 6. In the figure, the buffer 51 temporarily holds the digital signal input from the sensor unit 4 and outputs the held digital signal to the communication control circuit 52.

同期回路53は、電源線3のモータ側に接続されている。電源線3を介して、駆動電圧Vが同期回路53へ出力される。駆動電圧Vは、モータ駆動回路1におけるトランジスタT1、T2、T3、T4、T5、及びT6のオン・オフ状態に応じて、電池11の電圧であるEdと接地レベルである零との間を遷移する矩形波となる。駆動電圧Vの周波数は10kHzである。   The synchronization circuit 53 is connected to the motor side of the power line 3. The drive voltage V is output to the synchronization circuit 53 via the power line 3. The drive voltage V transitions between Ed, which is the voltage of the battery 11, and zero, which is the ground level, according to the on / off states of the transistors T1, T2, T3, T4, T5, and T6 in the motor drive circuit 1. It becomes a square wave. The frequency of the driving voltage V is 10 kHz.

同期回路53は、入力された駆動電圧Vの立上がり時を検出し、同期信号P1を生成し、通信制御回路52へ出力する。これにより、駆動電圧Vの立上がり時に同期して同期信号P1が通信制御回路52へ繰り返し出力される。   The synchronization circuit 53 detects the rising time of the input drive voltage V, generates a synchronization signal P1, and outputs it to the communication control circuit 52. Accordingly, the synchronization signal P1 is repeatedly output to the communication control circuit 52 in synchronization with the rise of the drive voltage V.

通信制御回路52は、バッファ51から読み出したデジタル信号のデータビット列にパリティビットを付加し、さらに、データビットの前後にスタートビット及びストップビットを付加し、1送信単位であるフレームを作成する信号生成回路を有し、同期回路53から入力される同期信号P1を検出する毎に、フレームを構成する1ビットを変調回路54へ出力する。   The communication control circuit 52 adds a parity bit to the data bit string of the digital signal read from the buffer 51, adds a start bit and a stop bit before and after the data bit, and generates a signal that forms a frame as one transmission unit. Each time a synchronization signal P1 input from the synchronization circuit 53 is detected, one bit constituting the frame is output to the modulation circuit 54.

搬送波回路55は、周波数が1MHzの搬送波Bを生成し、変調回路54へ出力する。   The carrier circuit 55 generates a carrier B having a frequency of 1 MHz and outputs it to the modulation circuit 54.

変調回路54は通信制御回路52から入力された1ビットごとのデータに応じて、搬送波回路55から入力された搬送波BをASK変調した信号を増幅回路56へ出力する。すなわち、変調回路54は、通信制御回路52から入力されたビットデータが論理値「1」である場合は、搬送波Bをそのまま増幅器56へ出力し、通信制御回路52から入力されたビットデータが論理値「0」である場合は、搬送波Bを増幅回路56へ出力せず、ビットデータに応じてASK変調をした信号を増幅回路56へ出力する。   The modulation circuit 54 outputs a signal obtained by ASK modulating the carrier wave B input from the carrier wave circuit 55 to the amplifier circuit 56 in accordance with the data for each bit input from the communication control circuit 52. That is, when the bit data input from the communication control circuit 52 has a logical value “1”, the modulation circuit 54 outputs the carrier wave B to the amplifier 56 as it is, and the bit data input from the communication control circuit 52 is logically output. When the value is “0”, the carrier wave B is not output to the amplifier circuit 56, and a signal subjected to ASK modulation according to the bit data is output to the amplifier circuit 56.

増幅回路56は、電源線3に接続され、変調回路54から入力された信号を増幅して電源線3へ送出する。受信回路6は、電源線3に接続され、電源線3を介して送信された信号を受信する。   The amplifier circuit 56 is connected to the power supply line 3, amplifies the signal input from the modulation circuit 54, and sends it to the power supply line 3. The receiving circuit 6 is connected to the power line 3 and receives a signal transmitted through the power line 3.

同期回路61は、電源線3のモータ駆動回路側に接続されている。電源線3を介して、駆動電圧Vが同期回路61へ出力される。同期回路61は、入力された駆動電圧Vの立上がり時を検出した同期信号P2を生成し、復調回路62へ出力する。これにより、駆動電圧Vの立上がり時に同期して同期信号P2が復調回路62へ繰り返し出力される。   The synchronization circuit 61 is connected to the motor drive circuit side of the power line 3. The drive voltage V is output to the synchronization circuit 61 via the power line 3. The synchronization circuit 61 generates a synchronization signal P <b> 2 that detects the rising time of the input drive voltage V and outputs it to the demodulation circuit 62. Thus, the synchronization signal P2 is repeatedly output to the demodulation circuit 62 in synchronization with the rise of the drive voltage V.

復調回路62は、電源線3に接続され、電源線3を介して送信された信号を受信し、同期回路61から同期信号P2が入力されるごとに、受信したASK変調された信号の包絡線検波を行い、変調された信号からビット列信号である元のデジタル信号を抽出して復調し、復調したデジタル信号を通信制御回路63へ出力する。   The demodulation circuit 62 is connected to the power supply line 3 and receives a signal transmitted via the power supply line 3. Every time the synchronization signal P <b> 2 is input from the synchronization circuit 61, an envelope of the received ASK-modulated signal is received. Detection is performed, and an original digital signal that is a bit string signal is extracted from the modulated signal and demodulated, and the demodulated digital signal is output to the communication control circuit 63.

通信制御回路63は、入力されたビット列からフレーム単位にデータが誤りなく受信できたか否かを判定する。まず、フレームを構成するスタートビット及びストップビットを抽出し、所定のスタートビット及びストップビットが受信されたか否かを判定して、フレーム単位でデータが受信されたか否かを示すフレームエラーの有無を判定する。また、データビットに付加されたパリティビットを判定することによりパリティエラーの有無を判定する。通信制御回路63は、判定結果を後述の送信回路8へ出力する。   The communication control circuit 63 determines whether or not data can be received from the input bit string in units of frames without error. First, start bits and stop bits constituting a frame are extracted, whether or not predetermined start bits and stop bits are received, and whether or not there is a frame error indicating whether or not data has been received in units of frames. judge. Further, the presence or absence of a parity error is determined by determining the parity bit added to the data bit. The communication control circuit 63 outputs the determination result to the transmission circuit 8 described later.

通信制御回路63は、受信したビット列に誤りがないと判定した場合には、データビットからなるデジタル信号をバッファ64へ出力する。   If the communication control circuit 63 determines that there is no error in the received bit string, the communication control circuit 63 outputs a digital signal composed of data bits to the buffer 64.

バッファ64は、通信制御回路63から入力されたデジタル信号を一旦保持し、保持したデジタル信号を制御回路7へ出力する。   The buffer 64 temporarily holds the digital signal input from the communication control circuit 63 and outputs the held digital signal to the control circuit 7.

制御回路7は、位置算出部71、パルス駆動部72、及びセンサ制御部73を備えている。位置算出部71は、受信回路6から読み出したデジタル信号を、予め定められた基準値と比較することにより、モータ2の回転子の位置を算出し、算出した位置に応じた入力信号をパルス駆動部72へ出力する。   The control circuit 7 includes a position calculation unit 71, a pulse drive unit 72, and a sensor control unit 73. The position calculation unit 71 calculates the position of the rotor of the motor 2 by comparing the digital signal read from the receiving circuit 6 with a predetermined reference value, and pulse-drives the input signal corresponding to the calculated position. To the unit 72.

パルス駆動部72は、位置算出部71から入力された入力信号と、パルス駆動部72において発生する搬送信号とに基づいて、前記入力信号と搬送信号との振幅を比較器(変調器)で比較し、その大小によって、モータ駆動回路1内のいずれのトランジスタT1、T2、T3、T4、T5、又はT6をオン又はオフさせるかを決定するためのパルス信号をモータ駆動回路1へ出力する。これにより、位置算出部71から入力された回転子の位置に対応して変化する回転子の磁界に応じて、前記回転子を回転駆動するための磁界を発生させるために前記電機子巻線にモータ駆動電流を流す。すなわち、前記回転子の位置に応じて、前記回転子にトルクを加えるために前記電機子巻線にモータ駆動電流を流すように、モータ駆動回路1のトランジスタT1、T2、T3、T4、T5、又はT6のオン・オフを制御することにより、前記回転子にトルクを加え続けモータ2を回転させる。   The pulse driving unit 72 compares the amplitude of the input signal and the carrier signal with a comparator (modulator) based on the input signal input from the position calculating unit 71 and the carrier signal generated in the pulse driving unit 72. Then, a pulse signal for determining which transistor T 1, T 2, T 3, T 4, T 5, or T 6 in the motor drive circuit 1 is turned on or off is output to the motor drive circuit 1 depending on the magnitude. Accordingly, the armature winding is configured to generate a magnetic field for rotationally driving the rotor in accordance with the magnetic field of the rotor that changes corresponding to the position of the rotor input from the position calculation unit 71. Apply motor drive current. That is, depending on the position of the rotor, the transistors T1, T2, T3, T4, T5, and T5 of the motor drive circuit 1 are configured to pass a motor drive current through the armature winding in order to apply torque to the rotor. Alternatively, by controlling on / off of T6, torque is continuously applied to the rotor and the motor 2 is rotated.

センサ制御部73は、センサ部4における診断部44が使用する診断用のパラメータ情報、コマンドなどの情報を含むデジタル信号を送信回路8へ出力する。   The sensor control unit 73 outputs a digital signal including information such as parameter information for diagnosis and commands used by the diagnosis unit 44 in the sensor unit 4 to the transmission circuit 8.

図3は送信回路8及び受信回路9の構成を示すブロック図である。送信回路8は、送信回路5と同様の構成をなし、バッファ81、通信制御回路82、同期回路83、変調回路84、搬送波回路85、及び増幅回路86の動作は、バッファ51、通信制御回路52、同期回路53、変調回路54、搬送波回路55、及び増幅回路56の動作と同様である。   FIG. 3 is a block diagram showing the configuration of the transmission circuit 8 and the reception circuit 9. The transmission circuit 8 has the same configuration as the transmission circuit 5, and the operations of the buffer 81, the communication control circuit 82, the synchronization circuit 83, the modulation circuit 84, the carrier wave circuit 85, and the amplification circuit 86 are the buffer 51 and the communication control circuit 52. The operations of the synchronization circuit 53, the modulation circuit 54, the carrier circuit 55, and the amplification circuit 56 are the same.

バッファ81は、制御回路7から入力されたデジタル信号を一旦保持し、保持したデジタル信号を通信制御回路82へ出力する。   The buffer 81 temporarily holds the digital signal input from the control circuit 7 and outputs the held digital signal to the communication control circuit 82.

同期回路83は、電源線3のモータ駆動回路側に接続されている。電源線3を介して、駆動電圧Vが同期回路83へ出力される。同期回路83は、入力された駆動電圧Vの立下がり時を検出した同期信号P3を生成し、通信制御回路82へ出力する。これにより、駆動電圧Vの立下がり時に同期して同期信号P3が通信制御回路82へ繰り返し出力される。   The synchronization circuit 83 is connected to the motor drive circuit side of the power line 3. The drive voltage V is output to the synchronization circuit 83 via the power line 3. The synchronization circuit 83 generates a synchronization signal P3 that is detected when the input drive voltage V falls, and outputs the synchronization signal P3 to the communication control circuit 82. Accordingly, the synchronization signal P3 is repeatedly output to the communication control circuit 82 in synchronization with the fall of the drive voltage V.

通信制御回路82は、バッファ81から読み出したデジタル信号のデータビット列にパリティビットを付加し、さらに、データビットの前後にスタートビット及びストップビットを付加し、1送信単位であるフレームを作成する信号生成回路を有し、同期回路83から入力される同期信号P3を検出する毎に、フレームを構成する1ビットを変調回路84へ出力する。   The communication control circuit 82 adds a parity bit to the data bit string of the digital signal read from the buffer 81, and further adds a start bit and a stop bit before and after the data bit to generate a frame that is one transmission unit. Each time the synchronization signal P3 input from the synchronization circuit 83 is detected, one bit constituting the frame is output to the modulation circuit 84.

また、通信制御回路82は、受信回路6における通信制御回路63が判定したフレームエラー及びパリティエラーの有無を示す判定結果を受け取り、判定結果に応じた応答信号をデジタル信号として生成し、変調回路84へ出力する。例えば、フレームエラー、パリティエラーが無い場合は、確認信号として、ビット列「10」を、フレームエラー又はパリティエラーが検出された場合は、送信された信号と同じ信号を再度送信要求する再送要求信号として、ビット列「11」を出力する。   Further, the communication control circuit 82 receives a determination result indicating the presence / absence of a frame error and a parity error determined by the communication control circuit 63 in the reception circuit 6, generates a response signal corresponding to the determination result as a digital signal, and modulates the modulation circuit 84. Output to. For example, when there is no frame error or parity error, the bit string “10” is used as a confirmation signal. When a frame error or parity error is detected, the same signal as the transmitted signal is used as a retransmission request signal for requesting transmission again. , The bit string “11” is output.

搬送波回路85は、周波数が1MHzの搬送波Bを生成し、変調回路84へ出力する。   The carrier circuit 85 generates a carrier wave B having a frequency of 1 MHz and outputs it to the modulation circuit 84.

変調回路84は通信制御回路82から入力された1ビットごとのデータに応じて、搬送波回路85から入力された搬送波BをASK変調した信号を増幅回路86へ出力する。増幅回路86は、電源線3に接続され、変調回路84から入力された信号を増幅して電源線3へ送出する。受信回路9は、電源線3に接続され、電源線3を介して送信された信号を受信する。   The modulation circuit 84 outputs to the amplifier circuit 86 a signal obtained by ASK-modulating the carrier wave B input from the carrier wave circuit 85 in accordance with the data for each bit input from the communication control circuit 82. The amplifier circuit 86 is connected to the power supply line 3, amplifies the signal input from the modulation circuit 84, and sends it to the power supply line 3. The receiving circuit 9 is connected to the power line 3 and receives a signal transmitted via the power line 3.

受信回路9は、受信回路6と同様の構成をなし、同期回路91、復調回路92、通信制御回路93、及びバッファ94の動作は、同期回路61、復調回路62、通信制御回路63、及びバッファ64の動作と同様である。   The receiving circuit 9 has the same configuration as the receiving circuit 6, and the operations of the synchronizing circuit 91, the demodulating circuit 92, the communication control circuit 93, and the buffer 94 are the synchronizing circuit 61, the demodulating circuit 62, the communication control circuit 63, and the buffer. This is the same as the operation 64.

同期回路91は、電源線3のモータ側に接続されている。電源線3を介して、駆動電圧Vが同期回路91へ出力される。同期回路91は、入力された駆動電圧Vの立下がり時を検出した同期信号P4を生成し、復調回路92へ出力する。これにより、駆動電圧Vの立下がり時に同期して同期信号P4が復調回路92へ繰り返し出力される。   The synchronization circuit 91 is connected to the motor side of the power line 3. The drive voltage V is output to the synchronization circuit 91 through the power line 3. The synchronization circuit 91 generates a synchronization signal P4 that is detected when the input drive voltage V falls, and outputs the synchronization signal P4 to the demodulation circuit 92. Thus, the synchronization signal P4 is repeatedly output to the demodulation circuit 92 in synchronization with the fall of the drive voltage V.

復調回路92は、電源線3に接続され、電源線3を介して送信された信号を受信し、同期回路91から同期信号P4が入力されるごとに、受信したASK変調された信号の包絡線検波を行い、変調された信号からビット列信号である元のデジタル信号を抽出して復調し、復調したデジタル信号を通信制御回路93へ出力する。   The demodulation circuit 92 is connected to the power supply line 3 and receives a signal transmitted via the power supply line 3, and each time the synchronization signal P4 is input from the synchronization circuit 91, an envelope of the received ASK-modulated signal Detection is performed, and an original digital signal that is a bit string signal is extracted from the modulated signal and demodulated, and the demodulated digital signal is output to the communication control circuit 93.

通信制御回路93は、入力されたビット列からフレーム単位にデータが誤りなく受信できたか否かを判定する。まず、フレームを構成するスタートビット及びストップビットを抽出し、フレーム単位でデータが受信されたか否かを示すフレームエラーの有無を判定する。また、データビットに付加されたパリティビットを判定することによりパリティエラーの有無を判定する。通信制御回路93は、判定結果を送信回路5へ出力する。   The communication control circuit 93 determines whether or not data can be received from the input bit string in units of frames without error. First, a start bit and a stop bit constituting a frame are extracted, and it is determined whether or not there is a frame error indicating whether data is received in units of frames. Further, the presence or absence of a parity error is determined by determining the parity bit added to the data bit. The communication control circuit 93 outputs the determination result to the transmission circuit 5.

通信制御回路93は、受信したビット列に誤りがないと判定した場合には、データビットからなるデジタル信号をバッファ94へ出力する。   If the communication control circuit 93 determines that there is no error in the received bit string, the communication control circuit 93 outputs a digital signal composed of data bits to the buffer 94.

通信制御回路93は、受信した信号が送信回路8が送信した再送要求信号である場合は、該再送要求信号を送信回路5へ出力する。これにより、送信回路5は、送信した信号と同じ信号をフレーム単位で再度送信する。また、通信制御回路93は、受信した信号が送信回路8が送信した確認信号である場合は、該確認信号を送信回路5へ出力する。   When the received signal is a retransmission request signal transmitted by the transmission circuit 8, the communication control circuit 93 outputs the retransmission request signal to the transmission circuit 5. Thereby, the transmission circuit 5 transmits the same signal as the transmitted signal again in units of frames. Further, when the received signal is a confirmation signal transmitted by the transmission circuit 8, the communication control circuit 93 outputs the confirmation signal to the transmission circuit 5.

バッファ94は、通信制御回路93から入力されたデジタル信号を一旦保持し、保持したデジタル信号をセンサ部4へ出力する。   The buffer 94 temporarily holds the digital signal input from the communication control circuit 93 and outputs the held digital signal to the sensor unit 4.

次にモータ駆動装置の動作について説明する。図4は信号を双方向に送信する送信動作の一例を示す説明図である。図に示すように、モータ駆動回路1内のトランジスタをオン・オフさせることにより、電源線3上には、電池11の電圧であるEdと接地レベルである零との間を遷移する矩形波の駆動電圧Vが生じる。   Next, the operation of the motor drive device will be described. FIG. 4 is an explanatory diagram showing an example of a transmission operation for transmitting a signal bidirectionally. As shown in the figure, by turning on and off the transistor in the motor drive circuit 1, a rectangular wave that transitions between the voltage Ed of the battery 11 and the ground level zero is generated on the power line 3. A drive voltage V is generated.

送信回路5において、同期回路53は、駆動電圧Vの立上がり時を検出して、同期信号P1を通信制御回路52へ出力する。駆動電圧Vの周波数は10kHzであるから、同期信号P1は、0.1ミリ秒ごとに出力され、駆動電圧Vが電圧Edである期間と接地レベルである期間が等しい場合は、駆動電圧Vが電圧Edである時間は0.05ミリ秒である。   In the transmission circuit 5, the synchronization circuit 53 detects the rising time of the drive voltage V and outputs a synchronization signal P 1 to the communication control circuit 52. Since the frequency of the driving voltage V is 10 kHz, the synchronization signal P1 is output every 0.1 milliseconds. When the period during which the driving voltage V is the voltage Ed and the period during which the driving voltage V is at the ground level are equal, the driving voltage V is The time for the voltage Ed is 0.05 milliseconds.

通信制御回路52は、同期信号P1が入力されると、フレームを構成する1ビットを変調回路54へ出力する。送信されるビット長は、駆動電圧Vが電圧Edである時間より短い値に設定してある。これにより、送信回路5は駆動電圧Vが電圧Edである期間に1ビットの信号を送出できる。   When the synchronization signal P1 is input, the communication control circuit 52 outputs 1 bit constituting the frame to the modulation circuit 54. The bit length to be transmitted is set to a value shorter than the time during which the drive voltage V is the voltage Ed. As a result, the transmission circuit 5 can transmit a 1-bit signal during a period in which the drive voltage V is the voltage Ed.

変調回路54は、通信制御回路52から入力された1ビットごとのデータに応じて、搬送波回路55から入力された搬送波BをASK変調した信号を増幅回路56へ出力する。   The modulation circuit 54 outputs to the amplifier circuit 56 a signal obtained by ASK modulating the carrier wave B input from the carrier wave circuit 55 in accordance with the data for each bit input from the communication control circuit 52.

増幅回路56は、変調回路54から入力された信号を増幅して電源線3へ送出する。これにより、送信回路5から送信される信号S1は、駆動電圧Vが電圧Edである期間に駆動電圧Vに重畳して電源線3を介して送信される。   The amplifier circuit 56 amplifies the signal input from the modulation circuit 54 and sends it to the power supply line 3. As a result, the signal S1 transmitted from the transmission circuit 5 is transmitted via the power supply line 3 while being superimposed on the drive voltage V in a period in which the drive voltage V is the voltage Ed.

受信回路6において、同期回路61は、駆動電圧Vの立上がり時を検出して、同期信号P2を復調回路62へ出力する。   In the reception circuit 6, the synchronization circuit 61 detects the rising time of the drive voltage V and outputs the synchronization signal P <b> 2 to the demodulation circuit 62.

復調回路62は、同期回路61から同期信号P2が入力されるごとに、受信したASK変調された信号の包絡線検波を行い、変調された信号からビット列信号である元のデジタル信号を抽出して復調し、復調したデジタル信号を通信制御回路63へ出力する。   Each time the synchronization signal P2 is input from the synchronization circuit 61, the demodulation circuit 62 performs envelope detection of the received ASK modulated signal, and extracts the original digital signal that is a bit string signal from the modulated signal. The demodulated digital signal is output to the communication control circuit 63.

通信制御回路63は、入力されたビット列からフレーム単位にデータが誤りなく受信できたか否かを判定する。また、データビットに付加されたパリティビットを判定することによりパリティエラーの有無を判定する。通信制御回路63は、判定結果を送信回路8へ出力する。通信制御回路63は、受信したビット列に誤りがないと判定した場合には、データビットからなるデジタル信号をバッファ64へ出力する。   The communication control circuit 63 determines whether or not data can be received from the input bit string in units of frames without error. Further, the presence or absence of a parity error is determined by determining the parity bit added to the data bit. The communication control circuit 63 outputs the determination result to the transmission circuit 8. If the communication control circuit 63 determines that there is no error in the received bit string, the communication control circuit 63 outputs a digital signal composed of data bits to the buffer 64.

バッファ64は、通信制御回路63から入力されたデジタル信号を一旦保持し、保持したデジタル信号を制御回路7へ出力する。   The buffer 64 temporarily holds the digital signal input from the communication control circuit 63 and outputs the held digital signal to the control circuit 7.

一方、送信回路8において、同期回路83は、駆動電圧Vの立下がり時を検出して、同期信号P3を通信制御回路82へ出力する。駆動電圧Vの周波数は10kHzであるから、同期信号P3は、0.1ミリ秒ごとに出力され、駆動電圧Vが電圧Edである期間と接地レベルである期間が等しい場合は、駆動電圧Vが接地レベルである時間は0.05ミリ秒である。   On the other hand, in the transmission circuit 8, the synchronization circuit 83 detects the fall of the drive voltage V and outputs a synchronization signal P 3 to the communication control circuit 82. Since the frequency of the driving voltage V is 10 kHz, the synchronization signal P3 is output every 0.1 milliseconds. When the period during which the driving voltage V is the voltage Ed and the period during which the driving voltage V is at the ground level are equal, the driving voltage V is The time at the ground level is 0.05 milliseconds.

通信制御回路82は、同期信号P3が入力されると、フレームを構成する1ビットを変調回路84へ出力する。送信されるビット長は、駆動電圧Vが接地レベルである時間より短い値に設定してある。これにより、送信回路8は駆動電圧Vが接地レベルである期間に1ビットの信号を送出できる。   When the synchronization signal P3 is input, the communication control circuit 82 outputs one bit constituting the frame to the modulation circuit 84. The bit length to be transmitted is set to a value shorter than the time during which the drive voltage V is at the ground level. As a result, the transmission circuit 8 can transmit a 1-bit signal during the period when the drive voltage V is at the ground level.

変調回路84は、通信制御回路82から入力された1ビットごとのデータに応じて、搬送波回路85から入力された搬送波BをASK変調した信号を増幅回路86へ出力する。   The modulation circuit 84 outputs a signal obtained by ASK-modulating the carrier wave B input from the carrier wave circuit 85 to the amplifier circuit 86 in accordance with the data for each bit input from the communication control circuit 82.

増幅回路86は、変調回路84から入力された信号を増幅して電源線3へ送出する。これにより、送信回路8から送信される信号S2は、駆動電圧Vが接地レベルである期間に駆動電圧Vに重畳して電源線3を介して送信される。   The amplifier circuit 86 amplifies the signal input from the modulation circuit 84 and sends it to the power supply line 3. Accordingly, the signal S2 transmitted from the transmission circuit 8 is transmitted via the power supply line 3 while being superimposed on the drive voltage V during a period in which the drive voltage V is at the ground level.

受信回路9において、同期回路91は、駆動電圧Vの立下がり時を検出して、同期信号P4を復調回路92へ出力する。   In the receiving circuit 9, the synchronizing circuit 91 detects when the driving voltage V falls, and outputs a synchronizing signal P 4 to the demodulating circuit 92.

復調回路92は、同期回路91から同期信号P4が入力されるごとに、受信したASK変調された信号の包絡線検波を行い、変調された信号からビット列信号である元のデジタル信号を抽出して復調し、復調したデジタル信号を通信制御回路93へ出力する。   Each time the synchronization signal P4 is input from the synchronization circuit 91, the demodulation circuit 92 performs envelope detection of the received ASK-modulated signal, and extracts the original digital signal that is a bit string signal from the modulated signal. The demodulated digital signal is output to the communication control circuit 93.

通信制御回路93は、入力されたビット列からフレーム単位にデータが誤りなく受信できたか否かを判定する。また、データビットに付加されたパリティビットを判定することによりパリティエラーの有無を判定する。通信制御回路93は、判定結果を送信回路5へ出力する。通信制御回路93は、受信したビット列に誤りがないと判定した場合には、データビットからなるデジタル信号をバッファ94へ出力する。   The communication control circuit 93 determines whether or not data can be received from the input bit string in units of frames without error. Further, the presence or absence of a parity error is determined by determining the parity bit added to the data bit. The communication control circuit 93 outputs the determination result to the transmission circuit 5. If the communication control circuit 93 determines that there is no error in the received bit string, the communication control circuit 93 outputs a digital signal composed of data bits to the buffer 94.

通信制御回路93は、受信した信号が送信回路8が送信した再送要求信号である場合は、該再送要求信号を送信回路5へ出力する。これにより、送信回路5は、送信した信号と同じ信号をフレーム単位で再度送信する。また、通信制御回路93は、受信した信号が送信回路8が送信した確認信号である場合は、該確認信号を送信回路5へ出力する。これにより、送信回路5は、確認信号が受信できないことを以って、再度送信する処理を行う。モータの電源線には、モータの駆動等のためノイズが乗りやすくて確認信号が欠落する場合を考慮すると、確認信号が受信できないことを以って再度送信するのが安全性の点で好適である。   When the received signal is a retransmission request signal transmitted by the transmission circuit 8, the communication control circuit 93 outputs the retransmission request signal to the transmission circuit 5. Thereby, the transmission circuit 5 transmits the same signal as the transmitted signal again in units of frames. Further, when the received signal is a confirmation signal transmitted by the transmission circuit 8, the communication control circuit 93 outputs the confirmation signal to the transmission circuit 5. Thereby, the transmission circuit 5 performs the process of transmitting again because the confirmation signal cannot be received. Considering the case where the confirmation signal is lost due to the noise of the motor power line due to motor drive, etc., it is preferable to transmit again because the confirmation signal cannot be received. is there.

バッファ94は、通信制御回路93から入力されたデジタル信号を一旦保持し、保持したデジタル信号をセンサ部4へ出力する。   The buffer 94 temporarily holds the digital signal input from the communication control circuit 93 and outputs the held digital signal to the sensor unit 4.

上述のとおり、送信回路5及び送信回路8は、駆動電圧Vの立上がり又は立下がりに対応した同期信号を生成し、送信回路5は、駆動電圧Vが電圧Edである期間に信号S1を送信し、送信回路8は、駆動電圧Vが接地レベルである期間に信号S2を送信することにより、駆動電圧Vの立上がり又は立下がりに対応して、信号を時分割して送信することができる。   As described above, the transmission circuit 5 and the transmission circuit 8 generate a synchronization signal corresponding to the rise or fall of the drive voltage V, and the transmission circuit 5 transmits the signal S1 during the period in which the drive voltage V is the voltage Ed. The transmission circuit 8 can transmit the signal in a time-sharing manner in response to the rise or fall of the drive voltage V by transmitting the signal S2 while the drive voltage V is at the ground level.

実施の形態1においては、駆動電圧Vの立上がり時から立下がり時、又は立下がり時から立上がり時の間に1ビット分のデジタル信号を送信する構成であったが、これに限らず、複数ビットを送信する構成でよい。この場合は、駆動電圧Vの周波数に対応して送信する信号のビットレート、データビット長を設定することができる。   In the first embodiment, the digital signal for one bit is transmitted between the rising time and the falling time of the driving voltage V or between the falling time and the rising time. However, the present invention is not limited to this, and a plurality of bits are transmitted. The structure to do is sufficient. In this case, the bit rate and data bit length of the signal to be transmitted can be set corresponding to the frequency of the drive voltage V.

実施の形態2
実施の形態1においては、駆動電圧Vの電圧Edレベル及び接地レベルの期間を用いて、信号を双方向に送信するものであったが、駆動電圧Vの接地レベルの期間を時分割して、信号を双方向に送信することも可能である。図5は信号を双方向に送信する送信動作を示す説明図である。
Embodiment 2
In the first embodiment, the signal is transmitted bidirectionally using the period of the voltage Ed level and the ground level of the drive voltage V. However, the period of the ground level of the drive voltage V is time-divided, It is also possible to transmit signals in both directions. FIG. 5 is an explanatory diagram showing a transmission operation for transmitting a signal bidirectionally.

送信回路5、8及び受信回路6、9の構成は、実施の形態1と同様であるので、説明は省略し、送信動作について説明する。図5に示すように、モータ駆動回路1内のトランジスタをオン・オフさせることにより、電源線3上には、電池11の電圧であるEdと接地レベルである零との間を遷移する矩形波の駆動電圧Vが生じる。   Since the configurations of the transmission circuits 5 and 8 and the reception circuits 6 and 9 are the same as those in the first embodiment, description thereof will be omitted and the transmission operation will be described. As shown in FIG. 5, by turning on and off the transistor in the motor drive circuit 1, a rectangular wave that transitions between Ed, which is the voltage of the battery 11, and zero, which is the ground level, on the power line 3. Drive voltage V is generated.

送信回路5において、同期回路53は、駆動電圧Vの立上がり時を検出して、同期信号P11を通信制御回路52へ出力する。また、駆動電圧Vの立下がり時を検出して、同期信号P12を通信制御回路52へ出力する。   In the transmission circuit 5, the synchronization circuit 53 detects the rising time of the drive voltage V and outputs a synchronization signal P <b> 11 to the communication control circuit 52. Further, when the driving voltage V falls, the synchronization signal P12 is output to the communication control circuit 52.

通信制御回路52は、同期信号P11が入力されると、フレーム単位の信号の送信開始を示すフレーム信号を構成するビット列(例えば、「11」)を変調回路54へ出力する。送信される1ビット長は、駆動電圧Vが電圧Edである時間より短い値に設定してあるのは実施の形態1と同様である。   When the synchronization signal P <b> 11 is input, the communication control circuit 52 outputs a bit string (for example, “11”) that constitutes a frame signal indicating the start of transmission of a frame unit signal to the modulation circuit 54. The 1-bit length to be transmitted is set to a value shorter than the time during which the drive voltage V is the voltage Ed, as in the first embodiment.

変調回路54は、通信制御回路52から入力されたフレーム信号をASK変調して増幅回路56へ出力する。増幅回路56は、変調回路54から入力されたフレーム信号を増幅して電源線3へ送出する。   The modulation circuit 54 performs ASK modulation on the frame signal input from the communication control circuit 52 and outputs the result to the amplification circuit 56. The amplifier circuit 56 amplifies the frame signal input from the modulation circuit 54 and sends it to the power supply line 3.

通信制御回路52は、フレーム信号を変調回路54へ出力した後、同期信号P12が入力されごとに、1ビットのデータを変調回路54へ出力し、合計で3ビット分のデータを変調回路54へ出力する。   After outputting the frame signal to the modulation circuit 54, the communication control circuit 52 outputs 1-bit data to the modulation circuit 54 every time the synchronization signal P12 is input, and a total of 3 bits of data to the modulation circuit 54. Output.

変調回路54は、通信制御回路52から入力された1ビットごとのデータに応じてASK変調して増幅回路56へ出力する。増幅回路56は、変調回路54から入力された信号を増幅して送信信号S10を電源線3へ送出する。これにより、送信回路5からのフレーム信号は、駆動電圧Vが電圧Edである期間に駆動電圧Vに重畳して送信され、送信信号S10は、駆動電圧Vが接地レベルである期間に駆動電圧Vに重畳して送信される。   The modulation circuit 54 performs ASK modulation according to the data for each bit input from the communication control circuit 52 and outputs the result to the amplification circuit 56. The amplification circuit 56 amplifies the signal input from the modulation circuit 54 and sends the transmission signal S10 to the power supply line 3. Thereby, the frame signal from the transmission circuit 5 is transmitted while being superimposed on the drive voltage V during the period when the drive voltage V is the voltage Ed, and the transmission signal S10 is transmitted during the period when the drive voltage V is at the ground level. Is transmitted superimposed on.

受信回路6において、同期回路63は、駆動電圧Vの立上がり時を検出して、同期信号P21を復調回路62へ出力する。また、駆動電圧Vの立下がり時を検出して、同期信号P22を復調回路62へ出力する。これにより、復調回路62は、同期信号P21及びP22に応じて、フレーム信号及び送信信号S10を復調し、復調した信号を通信制御回路63へ出力する。   In the reception circuit 6, the synchronization circuit 63 detects the rise of the drive voltage V and outputs a synchronization signal P 21 to the demodulation circuit 62. Further, when the driving voltage V falls, the synchronization signal P22 is output to the demodulation circuit 62. Thereby, the demodulation circuit 62 demodulates the frame signal and the transmission signal S10 according to the synchronization signals P21 and P22, and outputs the demodulated signal to the communication control circuit 63.

通信制御回路63は、フレームエラーが無いことを確認し、送信信号S10から3ビット分のデータを取得すると、送信信号S10が受信されたことを示す受信確認信号を送信回路8へ出力する。   When the communication control circuit 63 confirms that there is no frame error and acquires 3 bits of data from the transmission signal S10, the communication control circuit 63 outputs a reception confirmation signal indicating that the transmission signal S10 has been received to the transmission circuit 8.

同期回路83は、入力された駆動電圧Vの立下がり時を検出した同期信号P31を生成し、通信制御回路82へ出力する。これにより、駆動電圧Vの立下がり時に同期して同期信号P31が通信制御回路82へ繰り返し出力される。   The synchronization circuit 83 generates a synchronization signal P31 that is detected when the input drive voltage V falls, and outputs it to the communication control circuit 82. Thereby, the synchronization signal P31 is repeatedly output to the communication control circuit 82 in synchronization with the fall of the drive voltage V.

通信制御回路82は、受信回路6から受信確認信号を受け取ると、バッファ81から3ビット分のデータを読み出し、同期信号P31が入力されるごとに1ビットごとのデータを変調回路84へ出力する。   When receiving the reception confirmation signal from the reception circuit 6, the communication control circuit 82 reads out data for 3 bits from the buffer 81, and outputs data for each bit to the modulation circuit 84 every time the synchronization signal P <b> 31 is input.

変調回路84は、通信制御回路82から入力された1ビットごとのデータに応じて、搬送波回路85から入力された搬送波BをASK変調した信号を増幅回路86へ出力し、増幅回路86は、変調回路84から入力された信号を増幅して送信信号S20を電源線3へ送出する。   The modulation circuit 84 outputs a signal obtained by ASK-modulating the carrier wave B input from the carrier wave circuit 85 to the amplification circuit 86 in accordance with the data for each bit input from the communication control circuit 82. The amplification circuit 86 The signal input from the circuit 84 is amplified and the transmission signal S20 is sent to the power supply line 3.

上述のとおり、送信回路5は、駆動電圧Vが電圧Edである期間に信号の送信開始を示すフレーム信号を送信した後に、駆動電圧Vが接地レベルである期間に3ビットのデータを有する送信信号S10を送信する。一方、送信回路8は、送信信号S10が送信された後に、駆動電圧Vが接地レベルである期間に3ビットのデータを有する送信信号S20を送信する。これにより、送信回路5及び送信回路8は、駆動電圧Vの立上がり又は立下がりに対応して、信号を時分割して送信することができる。   As described above, the transmission circuit 5 transmits a frame signal indicating the start of signal transmission during a period in which the drive voltage V is the voltage Ed, and then transmits a 3-bit data in a period in which the drive voltage V is at the ground level. S10 is transmitted. On the other hand, after the transmission signal S10 is transmitted, the transmission circuit 8 transmits a transmission signal S20 having 3-bit data during a period in which the drive voltage V is at the ground level. Thereby, the transmission circuit 5 and the transmission circuit 8 can transmit the signal in a time-sharing manner in response to the rise or fall of the drive voltage V.

実施の形態2では、送信するデータのビット数は3ビットであったが、これに限らず、何ビットのデータであってもよい。また、双方向に送信するデータのビット数は同一である必要はなく、異なっていてもよい。   In the second embodiment, the number of bits of data to be transmitted is three bits. However, the number of bits is not limited to this and may be any number of bits. In addition, the number of bits of data transmitted in both directions does not have to be the same and may be different.

実施の形態1及び2では、送信回路5、受信回路6、送信回路8、及び受信回路9は、複数の電源線3のうち同一の電源線に接続されていたが、送信回路5及び受信回路6を電源線3の一の電源線に接続し、送信回路8及び受信回路9を前記一の電源線と異なる他の電源線に接続することもできる。この場合は、双方に送信する信号は、異なる電源線を介して送信されるため、同一の電源線を介して送信する場合に比べて、双方向に送信される信号同士を時分割して送信する必要がなく、同期回路53、61、83、91などの構成が不要となり送信回路5、8及び受信回路6、9の構成が簡略化できる。   In the first and second embodiments, the transmission circuit 5, the reception circuit 6, the transmission circuit 8, and the reception circuit 9 are connected to the same power line among the plurality of power lines 3. However, the transmission circuit 5 and the reception circuit 6 may be connected to one power line of the power line 3, and the transmission circuit 8 and the reception circuit 9 may be connected to another power line different from the one power line. In this case, since the signals transmitted to both sides are transmitted via different power lines, the signals transmitted in both directions are time-divisionally transmitted compared to the case where signals are transmitted via the same power line. Therefore, the configuration of the synchronization circuits 53, 61, 83, 91 and the like is not necessary, and the configurations of the transmission circuits 5, 8 and the reception circuits 6, 9 can be simplified.

実施の形態1及び2では、変調回路54、84は、1MHzの搬送波Bを用いていたが、これに限らず、例えば、変調回路84において、5Mhzの搬送波を用いて変調する構成であってもよい。この場合は、同一の電源線を介して、信号を双方向に送信するときでも、上述の同期回路53、61、83、91などの構成が不要となり、送信回路5、8及び受信回路6、9の構成が簡略化できる。   In the first and second embodiments, the modulation circuits 54 and 84 use the carrier wave B of 1 MHz. However, the present invention is not limited to this. For example, the modulation circuit 84 may modulate using a carrier wave of 5 MHz. Good. In this case, even when signals are transmitted bidirectionally via the same power line, the above-described configurations of the synchronization circuits 53, 61, 83, 91, etc. are not required, and the transmission circuits 5, 8 and the reception circuit 6, The configuration of 9 can be simplified.

電源線を介して双方向に送信及び受信される信号は、限定されるものではなく、モータの動作に関する信号であれば、いずれの信号を送信及び受信することができる。   The signals transmitted and received in both directions via the power line are not limited, and any signal can be transmitted and received as long as it is a signal related to the operation of the motor.

本発明のPWMインバータ方式を用いたモータ駆動装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the motor drive device using the PWM inverter system of this invention. 送信回路及び受信回路の構成を示すブロック図である。It is a block diagram which shows the structure of a transmission circuit and a receiving circuit. 送信回路及び受信回路の構成を示すブロック図である。It is a block diagram which shows the structure of a transmission circuit and a receiving circuit. 信号を双方向に送信する送信動作の一例を示す説明図である。It is explanatory drawing which shows an example of the transmission operation | movement which transmits a signal bidirectionally. 信号を双方向に送信する送信動作の一例を示す説明図である。It is explanatory drawing which shows an example of the transmission operation | movement which transmits a signal bidirectionally.

符号の説明Explanation of symbols

1 モータ駆動回路
2 モータ
3 電源線
4 センサ部
5、8 送信回路
6、9 受信回路
7 制御回路
51、64、81、94 バッファ
52、63、82、93 通信制御回路
53、61、83、91 同期回路
54、84 変調回路
55、85 搬送波回路
56、86 増幅器
62、92 復調回路

DESCRIPTION OF SYMBOLS 1 Motor drive circuit 2 Motor 3 Power supply line 4 Sensor part 5, 8 Transmission circuit 6, 9 Reception circuit 7 Control circuit 51, 64, 81, 94 Buffer 52, 63, 82, 93 Communication control circuit 53, 61, 83, 91 Synchronous circuit 54, 84 Modulator circuit 55, 85 Carrier circuit 56, 86 Amplifier 62, 92 Demodulator circuit

Claims (7)

複数の電源線を介してモータへ駆動電圧を印加するモータ駆動回路と、前記モータに備えられたセンサの出力に関連する信号を前記電源線を介して送信する第1の送信回路と、前記電源線を介して前記信号を受信し、受信した信号を前記モータ駆動回路へ出力する第1の受信回路とを備えたモータ駆動装置において、
前記センサの動作を制御する信号が入力されるセンサ部と、
前記センサ部への入力に関連する信号を前記電源線を介して送信する第2の送信回路と、
前記電源線を介して受信した信号を前記センサ部へ出力する第2の受信回路と
を備えたことを特徴とするモータ駆動装置。
A motor driving circuit for applying a driving voltage to the motor via a plurality of power supply lines; a first transmission circuit for transmitting a signal related to an output of a sensor provided in the motor via the power supply line; A motor driving device comprising: a first receiving circuit that receives the signal via a line and outputs the received signal to the motor driving circuit;
A sensor unit to which a signal for controlling the operation of the sensor is input;
A second transmission circuit for transmitting a signal related to an input to the sensor unit via the power line;
And a second receiving circuit that outputs a signal received via the power line to the sensor unit.
前記第2の送信回路及び第2の受信回路は、前記第1の送信回路及び第1の受信回路が接続されている電源線と異なる電源線に接続されていることを特徴とする請求項1に記載されたモータ駆動装置。   2. The second transmission circuit and the second reception circuit are connected to a power line different from a power line to which the first transmission circuit and the first reception circuit are connected. The motor drive device described in 1. 前記第1及び第2の送信回路は、信号を搬送する搬送波を生成する搬送波回路を有し、前記第2の送信回路が送信する信号の搬送波の周波数は、前記第1の送信回路が送信する信号の搬送波の周波数と異なることを特徴とする請求項1に記載されたモータ駆動装置。   The first and second transmission circuits include a carrier circuit that generates a carrier wave that carries a signal, and the first transmission circuit transmits the frequency of the carrier wave of the signal transmitted by the second transmission circuit. The motor driving apparatus according to claim 1, wherein the motor driving apparatus is different from a frequency of a carrier wave of the signal. 前記モータ駆動回路は矩形状の駆動電圧を印加すべくなしてあり、
前記第1及び第2の送信回路は、前記駆動電圧の立上がり又は立下がりに同期して、前記第1の送信回路が送信する信号及び第2の送信回路が送信する信号を時分割送信すべくなしてあることを特徴とする請求項1に記載されたモータ駆動装置。
The motor driving circuit is adapted to apply a rectangular driving voltage,
The first and second transmission circuits should perform time-division transmission of a signal transmitted by the first transmission circuit and a signal transmitted by the second transmission circuit in synchronization with a rise or fall of the drive voltage. The motor driving apparatus according to claim 1, wherein the motor driving apparatus is provided.
前記第1の送信回路は、送信する符号と誤り検出符号とを含む信号を生成する信号生成回路を有し、
前記第1の受信回路は、受信した信号の誤りの有無を判定する判定部を備え、
前記第2の送信回路は、前記判定部の判定結果に応じて、前記電源線を介して応答信号を前記第2の受信回路へ送信すべくなしてあることを特徴とする請求項1乃至請求項4のいずれかに記載されたモータ駆動装置。
The first transmission circuit includes a signal generation circuit that generates a signal including a code to be transmitted and an error detection code,
The first receiving circuit includes a determination unit that determines whether there is an error in the received signal,
The second transmission circuit is configured to transmit a response signal to the second reception circuit via the power line in accordance with a determination result of the determination unit. Item 5. The motor driving device according to any one of Items 4 to 5.
前記第1の受信回路が受信した信号に誤りがある場合は、前記応答信号が、前記第1の送信回路が送信した信号を再送する再送要求信号であることを特徴とする請求項5に記載されたモータ駆動装置。   6. The retransmission request signal for retransmitting the signal transmitted by the first transmission circuit when the signal received by the first reception circuit has an error. Motor drive device. 前記第1の受信回路が受信した信号に誤りがない場合は、前記応答信号が、前記第1の送信回路が送信した信号が正常に受信されたことを示す確認信号であることを特徴とする請求項5又は請求項6に記載されたモータ駆動装置。

When there is no error in the signal received by the first receiving circuit, the response signal is a confirmation signal indicating that the signal transmitted by the first transmitting circuit has been normally received. The motor drive device according to claim 5 or 6.

JP2004106832A 2004-03-31 2004-03-31 Motor driving apparatus Pending JP2005295679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004106832A JP2005295679A (en) 2004-03-31 2004-03-31 Motor driving apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004106832A JP2005295679A (en) 2004-03-31 2004-03-31 Motor driving apparatus

Publications (1)

Publication Number Publication Date
JP2005295679A true JP2005295679A (en) 2005-10-20

Family

ID=35328007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004106832A Pending JP2005295679A (en) 2004-03-31 2004-03-31 Motor driving apparatus

Country Status (1)

Country Link
JP (1) JP2005295679A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008249375A (en) * 2007-03-29 2008-10-16 Topcon Corp Three-dimensional position measuring apparatus
JP2016019417A (en) * 2014-07-10 2016-02-01 有限会社ファインチューン Motor drive device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008249375A (en) * 2007-03-29 2008-10-16 Topcon Corp Three-dimensional position measuring apparatus
JP2016019417A (en) * 2014-07-10 2016-02-01 有限会社ファインチューン Motor drive device

Similar Documents

Publication Publication Date Title
US10700741B2 (en) Electronic control apparatus provided with power line communication function, actuator, electronic control system, and automobile using same
JP2007043825A (en) Power generation controller for vehicle
US20040190464A1 (en) Method and apparatus for supplying power, and channeling analog measurement and communication signals over single pair of wires
JP5402985B2 (en) Image forming apparatus, image forming apparatus control method, and image forming apparatus control program
JP2005295679A (en) Motor driving apparatus
KR100840026B1 (en) Measurement apparatus for measuring discharge current of flash lamp in laser system of high energy
JP2013013257A (en) Failure information transmitter, and motor device
US8952636B2 (en) Data communication device that carries out serial communication in order to control motor
JP2005341763A (en) Motor drive
JP6019633B2 (en) Power converter
JP4607777B2 (en) Scanning train detection apparatus and scanning train detection method
JP2005062951A (en) Encoder signal transmission system
JP4918506B2 (en) Load control device
JP2005287098A (en) Motor drive
US20200052800A1 (en) Communication in fluid medium using motor modulation
JP5642877B2 (en) Sensor synchronization method
JP3059970B2 (en) Power line communication control device
EP4195492A1 (en) Motor control system and motor control method
JP4181891B2 (en) Speed detection device
JP5074816B2 (en) Motor drive system and motor drive method
JP2005229719A (en) Motor drive
JP2007174518A (en) Power system
JP2005341764A (en) Motor drive
US8879609B2 (en) Communication system, communication device, and method for operating communication system
JP2663676B2 (en) Operation confirmation device for telemeter device for detecting field winding ground

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090901

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100105