JP2011148498A - Control method and control device of electric power steering device - Google Patents

Control method and control device of electric power steering device Download PDF

Info

Publication number
JP2011148498A
JP2011148498A JP2011104946A JP2011104946A JP2011148498A JP 2011148498 A JP2011148498 A JP 2011148498A JP 2011104946 A JP2011104946 A JP 2011104946A JP 2011104946 A JP2011104946 A JP 2011104946A JP 2011148498 A JP2011148498 A JP 2011148498A
Authority
JP
Japan
Prior art keywords
control unit
synchronization
electric power
steering
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011104946A
Other languages
Japanese (ja)
Other versions
JP5223945B2 (en
Inventor
Yasutsugu Nomura
康継 野村
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.)
NSK Ltd
Original Assignee
NSK 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 NSK Ltd filed Critical NSK Ltd
Priority to JP2011104946A priority Critical patent/JP5223945B2/en
Publication of JP2011148498A publication Critical patent/JP2011148498A/en
Application granted granted Critical
Publication of JP5223945B2 publication Critical patent/JP5223945B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Steering Mechanism (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control method and a control device of an electric power steering device for improving safety and reliability, by preventing erroneous operation of a plurality of control part cooperative operations, even when being different in an operation clock frequency of a system constituted of a plurality of control parts having a main control part (a CPU or an MCU) and a subordinate control part (a CPU or an MCU). <P>SOLUTION: The electric power steering device includes: an electric current command value arithmetic operation part for arithmetically operating an electric current command value based on steering torque generated in a steering shaft and a vehicle speed signal; and a driving control part for controlling driving of a motor for imparting steering assisting force to a steering mechanism based on an electric current value of the motor and the electric current command value. The electric current command value arithmetic operation part and the driving control part are constituted of the main control part and the subordinate control part which can communicate with each other. In the control method of the electric power steering device, the main control part and the subordinate control part are synchronized when a specific condition is satisfied. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、車両の操舵系にモータによる操舵補助力を付与するようにした電動パワーステアリング装置の制御方法及び装置に関し、特に主CPU(MCU(Micro Controller Unit)を含む)及び隷属CPU等の複数のCPUで構成されるシステムの動作クロック周波数が相違していても、初期診断中に同期化することにより複数CPUの協調動作の誤動作を防止するようにした電動パワーステアリング装置の制御方法及び制御装置に関する。   The present invention relates to a method and apparatus for controlling an electric power steering apparatus that applies a steering assist force by a motor to a steering system of a vehicle. Control method and control device for electric power steering apparatus which prevents malfunction of cooperative operation of multiple CPUs by synchronizing during initial diagnosis even if system operating clock frequency is different About.

車両のステアリング機構をモータの回転力で補助的に負荷付勢する電動パワーステアリング装置は、モータの駆動力を減速機を介してギア又はベルト等の伝達機構により、ステアリングシャフト或いはラック軸に補助負荷を付勢するようになっている。   An electric power steering apparatus that assists and biases a steering mechanism of a vehicle with the rotational force of a motor is provided with an auxiliary load on a steering shaft or a rack shaft by a transmission mechanism such as a gear or a belt via a speed reducer. Has come to be energized.

かかる従来の電動パワーステアリング装置は、アシストトルク(操舵補助トルク)を正確に発生させるため、モータ電流のフィードバック制御を行っている。このフィードバック制御は、電流指令値とモータ電流検出値との差が小さくなるようにモータ印加電圧を調整するものである。また、モータ印加電圧の調整は、一般的にパルス幅変調(PWM)制御のデュ−ティ比の調整で行っている。   Such a conventional electric power steering apparatus performs feedback control of motor current in order to accurately generate assist torque (steering assist torque). In this feedback control, the motor applied voltage is adjusted so that the difference between the current command value and the detected motor current value becomes small. The motor applied voltage is generally adjusted by adjusting the duty ratio of pulse width modulation (PWM) control.

ここで、電動パワーステアリング装置の一般的な構成を図9に示して説明する。操向ハンドル1のコラム軸2は減速ギア3、ユニバーサルジョイント4A及び4B、ピニオンラック機構5を経て操向車輪のタイロッド6に連結されている。コラム軸2には、操向ハンドル1の操舵トルクを検出するトルクセンサ10が設けられており、操向ハンドル1の操舵力を補助するモータ20が、減速ギア3を介してコラム軸2に連結されている。電動パワーステアリング装置を制御するコントロールユニット30には、バッテリ14から電力が供給されると共に、イグニションキー11からイグニション信号が供給され、コントロールユニット30は、トルクセンサ10で検出された操舵トルクTと車速センサ12で検出された車速Vとに基づいてアシスト指令の操舵補助指令値Iの演算を行い、演算された操舵補助指令値Iに基づいてモータ20に供給する電流を制御する。   Here, a general configuration of the electric power steering apparatus will be described with reference to FIG. The column shaft 2 of the steering handle 1 is connected to a tie rod 6 of a steering wheel via a reduction gear 3, universal joints 4A and 4B, and a pinion rack mechanism 5. The column shaft 2 is provided with a torque sensor 10 that detects the steering torque of the steering handle 1, and a motor 20 that assists the steering force of the steering handle 1 is connected to the column shaft 2 via the reduction gear 3. Has been. The control unit 30 that controls the electric power steering apparatus is supplied with electric power from the battery 14 and is also supplied with an ignition signal from the ignition key 11. The control unit 30 detects the steering torque T detected by the torque sensor 10 and the vehicle speed. An assist command steering assist command value I is calculated based on the vehicle speed V detected by the sensor 12, and a current supplied to the motor 20 is controlled based on the calculated steering assist command value I.

コントロールユニット30は、主としてCPUで構成されるが、そのCPUの内部においてプログラムで実行される一般的な機能を図10に示して、コントロールユニット30の機能及び動作を説明する。   The control unit 30 is mainly composed of a CPU, and the functions and operations of the control unit 30 will be described with reference to FIG.

トルクセンサ10で検出されて入力される操舵トルクTは、位相補償器31で位相補償され、位相補償された操舵トルクTAが操舵補助指令値演算器32に入力され、車速センサ12で検出された車速Vも操舵補助指令値演算器32に入力される。操舵補助指令値演算器32は、入力された操舵トルクTA及び車速Vに基づいてモータ20に供給する電流の制御目標値である操舵補助指令値Iを決定する。操舵補助指令値Iは減算器30Aに入力されると共に、応答速度を高めるためのフィードフォワード系の微分補償器34に入力され、減算器30Aの偏差(I−i)は比例演算器35に入力されると共にフィードバック系の特性を改善するための積分演算器36に入力され、その各出力は加算器30Bに入力される。微分補償器34の出力も加算器30Bに加算入力され、加算器30Bでの加算結果である電流制御値Eが、モータ駆動信号としてモータ駆動回路37に入力される。モータ20のモータ電流値iはモータ電流検出回路38で検出され、モータ電流検出値iは減算器30Aに入力されてフィードバックされる。モータ駆動回路37には、リレー接点13を経てバッテリ14から電力が供給されている。   The steering torque T detected and input by the torque sensor 10 is phase-compensated by the phase compensator 31, and the phase-compensated steering torque TA is input to the steering assist command value calculator 32 and detected by the vehicle speed sensor 12. The vehicle speed V is also input to the steering assist command value calculator 32. The steering assist command value calculator 32 determines a steering assist command value I that is a control target value of the current supplied to the motor 20 based on the input steering torque TA and vehicle speed V. The steering assist command value I is input to the subtractor 30A, and is also input to the feedforward differential compensator 34 for increasing the response speed. The deviation (Ii) of the subtractor 30A is input to the proportional calculator 35. At the same time, it is input to an integration calculator 36 for improving the characteristics of the feedback system, and each output is input to an adder 30B. The output of the differential compensator 34 is also added to the adder 30B, and the current control value E, which is the addition result of the adder 30B, is input to the motor drive circuit 37 as a motor drive signal. The motor current value i of the motor 20 is detected by the motor current detection circuit 38, and the motor current detection value i is input to the subtractor 30A and fed back. Electric power is supplied to the motor drive circuit 37 from the battery 14 via the relay contact 13.

次に、モータ駆動回路37の構成例を図11に示して説明すると、モータ駆動回路37は加算器30Bからの電流制御値Eに基いてPWM信号及び電流方向信号に変換する変換部371と、Hブリッジ構成の電界効果トランジスタ(FET)FET1〜FET4の各ゲートを駆動するFETゲート駆動回路372と、4個のFET1〜FET4でH字状に接続・構成されたHブリッジ回路373と、バッテリ14のHブリッジ回路373への電力供給をON/OFFする電源リレーのリレー接点13と、FETゲート駆動回路372の電圧を昇圧する昇圧電源374と、Hブリッジ回路373に接続された電流検出のための低抵抗のシャント抵抗R1、R2とで構成されている。   Next, a configuration example of the motor drive circuit 37 will be described with reference to FIG. 11. The motor drive circuit 37 converts the PWM signal and the current direction signal into a PWM signal and a current direction signal based on the current control value E from the adder 30B. An FET gate drive circuit 372 for driving the gates of the field effect transistors (FETs) FET1 to FET4 having an H bridge configuration, an H bridge circuit 373 connected and configured in an H shape with four FET1 to FET4, and the battery 14 The relay contact 13 of the power supply relay for turning on / off the power supply to the H bridge circuit 373, the boost power source 374 for boosting the voltage of the FET gate drive circuit 372, and the current detection connected to the H bridge circuit 373 It consists of low resistance shunt resistors R1 and R2.

FET1及びFET2は、電流制御値Eに基いて決定されるデューティ比D1のPWM(パルス幅変調)信号によってON/OFFされ、実際にモータ20に流れる電流Irの大きさが制御される。また、FET3及びFET4は、デューティ比D1の小さい領域では所定1次関数式(a,bを定数としてD2=a・D1+b)で定義されるデューティ比D2のPWM信号で駆動され、デューティ比D2も100%に達した以降、PWM信号の符合により決定されるモータ20の回転方向に応じてON/OFFされる。Hブリッジ回路373にはシャント抵抗R1、R2が接地されており、シャント抵抗R1、R2にモータ電流検出回路38が接続され、これによってモータ電流iを検出するようになっている。   The FET1 and FET2 are turned on / off by a PWM (pulse width modulation) signal having a duty ratio D1 determined based on the current control value E, and the magnitude of the current Ir that actually flows through the motor 20 is controlled. Further, the FET 3 and the FET 4 are driven by a PWM signal having a duty ratio D2 defined by a predetermined linear function equation (D2 = a · D1 + b where a and b are constants) in a region where the duty ratio D1 is small, and the duty ratio D2 is also set. After reaching 100%, it is turned ON / OFF according to the rotation direction of the motor 20 determined by the sign of the PWM signal. Shunt resistors R1 and R2 are grounded to the H bridge circuit 373, and a motor current detection circuit 38 is connected to the shunt resistors R1 and R2, thereby detecting a motor current i.

このように、従来は1つのCPUで操舵トルクTやモータ電流iに基づいて電流指令値を演算し、その電流指令値に基づいてモータ20を駆動制御していた。この場合、決定したモータ電流駆動方向に対して、ハードロジックや別のCPUで操舵トルクTに基づいて操舵トルク方向信号を生成し、この操舵トルク方向信号とモータ駆動方向とが一致した場合のみモータを駆動していた。そして、モータ駆動系の異常を検出する際に、検出してから異常を確定するまでの時間が一定であり、常に正確なものではなかった。   Thus, conventionally, a single CPU calculates a current command value based on the steering torque T and the motor current i, and controls the drive of the motor 20 based on the current command value. In this case, a steering torque direction signal is generated based on the steering torque T by the hard logic or another CPU for the determined motor current driving direction, and the motor is driven only when the steering torque direction signal matches the motor driving direction. Was driving. When detecting an abnormality in the motor drive system, the time from the detection to the determination of the abnormality is constant, and is not always accurate.

また、従来は1つのCPUに外付けのWDT(Watch Dog Timer)を設けて、CPUからクリアパルスをWDTへ入力することによりCPUの暴走を監視していた。予め定められた時間内にクリアパルスが入力されない場合には、WDTよりリセット信号をCPUへ出力し、CPUを再起動させていた。外付けのWDTを用いてCPUの暴走を監視する場合は、プログラムが正常に動作しないことによりCPUに暴走が発生し、WDTからのリセット信号により再起動するようにしている。しかし、再度同様な場所でプログラムが暴走を引き起こしてしまうような故障の場合、モータの出力状態と停止状態とが交互に発生し、ドライバに対して不快な状態を引き起こしていた。   Conventionally, an external WDT (Watch Dog Timer) is provided in one CPU, and a CPU runaway is monitored by inputting a clear pulse from the CPU to the WDT. When a clear pulse is not input within a predetermined time, a reset signal is output from the WDT to the CPU to restart the CPU. When the CPU runaway is monitored using an external WDT, the program runs out of control and the CPU is runaway, and is restarted by a reset signal from the WDT. However, in the case of a failure that causes the program to run away again in the same place, the motor output state and the stop state occur alternately, causing an unpleasant state for the driver.

従来安全性と信頼性を高めるために2つのCPUを備えたシステムも存在し、このような2つのCPUを具備したシステムでは、1つのCPUが制御演算し、もう一方のCPUがそれを監視する場合、監視しているCPUが正常に動作していることを確認するために、2つのCPUが相互にCPUの暴走を監視する必要がある。また、2つのCPUを用いたシステムで相互にパルス信号を送受信してCPUの暴走を監視する場合、プログラム自身が正常に動作せずに、監視のためのパルスだけを出力し続けて暴走を検出できなかったり、ノイズによって正常に出されているパルス信号を誤って計測して誤検出する場合があった。   Conventionally, there are systems with two CPUs in order to increase safety and reliability. In such a system with two CPUs, one CPU performs control operations and the other CPU monitors them. In this case, in order to confirm that the monitored CPUs are operating normally, it is necessary for the two CPUs to monitor the CPU runaway each other. Also, when monitoring CPU runaway by sending and receiving pulse signals to and from each other in a system using two CPUs, the program itself does not operate normally and only outputs a monitoring pulse to detect runaway. In some cases, the pulse signal that was not able to be obtained or that was normally output due to noise was erroneously measured and erroneously detected.

上述のような問題を解決する制御装置として、特開2001−18819(特許文献1)に開示するものがあるが、入力部、出力部及び演算部の異常監視がそれぞれ1つの回路によってのみ行われている構成であるため、その回路自身が異常を起こして異常監視の機能が不能になった場合には、異常の発生が看過される可能性があるので、フェールセーフの点で十分とはいえなかった。例えば万が一、WDTによって検出できない処理回路の異常が発生し、入力部又は出力部の異常監視機能が不能になった場合、或いは万が一、WDTと処理回路の両者が同時に異常になった場合には、異常の発生が認識されない恐れがある。そのため、入力部、出力部及び演算部の異常監視を2つの別個の回路によって2重に行う構成が望まれるが、処理回路とWDTをそれぞれ1個だけ備える構成であるため、2重監視を実現することができなかった。   As a control device that solves the above problems, there is one disclosed in Japanese Patent Laid-Open No. 2001-18819 (Patent Document 1). However, each of the input unit, the output unit, and the arithmetic unit is monitored for abnormality by only one circuit. Therefore, if the circuit itself malfunctions and the malfunction monitoring function is disabled, the malfunction may be overlooked. There wasn't. For example, if an abnormality of the processing circuit that cannot be detected by WDT occurs and the abnormality monitoring function of the input unit or the output unit is disabled, or if both WDT and the processing circuit become abnormal at the same time, The occurrence of abnormality may not be recognized. For this reason, a configuration in which abnormality monitoring of the input unit, the output unit, and the arithmetic unit is performed by two separate circuits is desired. However, since the configuration includes only one processing circuit and one WDT, double monitoring is realized. I couldn't.

また、特開2003−26024(特許文献2)では、モータ制御のための演算処理と入出力部の異常監視を行うメインMCU(主CPU)と、メインMCU及び入出力部の異常監視を行うサブMCU(隷属CPU)と、メインMCUの異常監視を行う外部WDTとを設け、外部WDTやHブリッジ駆動用の出力回路等を1つのASIC(特定用途向けIC)としており、フェールセーフ機能を信頼性高く実現し、しかも回路構成が比較的簡素になっている。   Japanese Patent Laid-Open No. 2003-26024 (Patent Document 2) discloses a main MCU (main CPU) that performs arithmetic processing for motor control and abnormality monitoring of input / output units, and a sub that performs abnormality monitoring of the main MCU and input / output units. An MCU (slave CPU) and an external WDT that monitors the abnormality of the main MCU are provided. The output circuit for driving the external WDT and H-bridge is a single ASIC (specific application IC), and the fail-safe function is reliable. Highly realized, and the circuit configuration is relatively simple.

しかし、特許文献2に示される制御装置では、2つの処理回路である主CPU及び隷属CPUの相互監視と自己監視用のWDTとによる監視において、各々のCPU(MCU)動作クロック周波数の相違による同期のずれが発生してしまう問題がある。   However, in the control device disclosed in Patent Document 2, in the monitoring by the mutual monitoring of the main CPU and the slave CPU, which are the two processing circuits, and the WDT for self-monitoring, synchronization due to the difference in the operation clock frequency of each CPU (MCU). There is a problem that the deviation occurs.

特開2001−18819JP 2001-18819 A 特開2003−26024JP 200326024 A

上述のように従来装置では、いずれも複数のCPUで構成される電動パワーステアリング装置の制御装置において、各CPUの動作クロック周波数が相違する場合、CPUの起動直後から同期のズレが発生する。この場合、従来技術で示されるようにCPU間で情報の授受を行う必要性のあるシステムの診断を実施する場合、個々のCPUが動作クロック周波数の相違等により同期がとられていない場合、診断によって同期のズレに起因する異常の誤検出をする可能性がある。   As described above, in the conventional device, in the control device of the electric power steering device constituted by a plurality of CPUs, when the operation clock frequencies of the CPUs are different, a synchronization shift occurs immediately after the activation of the CPUs. In this case, as shown in the prior art, when performing diagnosis of a system that needs to exchange information between CPUs, if individual CPUs are not synchronized due to differences in operating clock frequency, etc. May cause an erroneous detection of an abnormality caused by a synchronization shift.

本発明は上述のような事情からなされたものであり、本発明の目的は、主制御部(CPU若しくはMCU、MPU(Micro Processor Unit)等)及び隷属制御部(CPU若しくはMCU、MPU等)を具備した複数の制御部で構成されるシステムの動作クロック周波数が相違していても、複数の制御部協調動作の誤作動を防止し、安全性及び信頼性を向上した電動パワーステアリング装置の制御方法及び制御装置を提供することにある。   The present invention has been made under the circumstances as described above, and an object of the present invention is to provide a main control unit (CPU or MCU, MPU (Micro Processor Unit, etc.)) and a slave control unit (CPU, MCU, MPU, etc.). Control method of electric power steering apparatus that prevents malfunction of cooperative operation of a plurality of control units and improves safety and reliability even if the operation clock frequency of a system composed of a plurality of control units is different And providing a control device.

本発明は、ステアリングシャフトに発生する操舵トルク及び車速信号に基づいて電流指令値を演算する電流指令値演算部と、モータの電流値及び前記電流指令値に基づいてステアリング機構に操舵補助力を付与する前記モータを駆動制御する駆動制御部とを具備すると共に、前記電流指令値演算部及び駆動制御部が相互に通信可能な主制御部及び隷属制御部で構成されている電動パワーステアリング装置の制御方法に関し、本発明の上記目的は、装置内電源電圧が作動範囲電圧となったこと、又は他の制御装置から所定データを受信したこと、又は初期診断中に特定回路の正常が確認されたことの特定条件が成立したと判定した時に、前記主制御部が同期化を前記隷属制御部に通知し、前記主制御部及び前記隷属制御部の所定の動作が同時に開始するように同期化させることにより達成される。   The present invention provides a current command value calculation unit that calculates a current command value based on a steering torque generated on a steering shaft and a vehicle speed signal, and applies a steering assist force to the steering mechanism based on the current value of the motor and the current command value. And a drive control unit that controls the drive of the motor, and a control of an electric power steering device that includes a main control unit and a slave control unit that can communicate with each other between the current command value calculation unit and the drive control unit Regarding the method, the above object of the present invention is to confirm that the power supply voltage in the apparatus has become the operating range voltage, that predetermined data has been received from another control apparatus, or that the specific circuit is normal during the initial diagnosis. When it is determined that the specific condition is satisfied, the main control unit notifies the slave control unit of synchronization, and predetermined operations of the main control unit and the slave control unit are performed simultaneously. It is accomplished by synchronizing to start.

また、本発明の上記目的は、前記同期化は前記操舵補助力を発生させていない状態で行うようになっていることにより、或いは、前記同期化が、前記主制御部から前記隷属制御部に対して待機状態解除指令を送信し、受信した前記隷属制御部のみが先のステップに進めるようにして行うことにより、或いは、前記主制御部から前記隷属制御部に対してポート信号のレベル変化を通知することにより前記同期化を行うようにしていることにより、或いは、前記同期化を前記主制御部及び前記隷属制御部の交差バスを介して、又は共通の共有メモリを介して行うようにしていることにより、より効果的に達成される。   Further, the object of the present invention is that the synchronization is performed in a state in which the steering assist force is not generated, or the synchronization is performed from the main control unit to the slave control unit. A standby state release command is transmitted to the slave control unit that has been received so that only the slave control unit advances to the previous step, or the main control unit changes the level of the port signal to the slave control unit. The synchronization is performed by notifying, or the synchronization is performed through a cross bus of the main control unit and the slave control unit, or through a common shared memory. This is achieved more effectively.

本発明は、ステアリングシャフトに発生する操舵トルク及び車速信号に基づいて電流指令値を演算する電流指令値演算部と、モータの電流値及び前記電流指令値に基づいてステアリング機構に操舵補助力を付与する前記モータを駆動制御する駆動制御部とを具備すると共に、前記電流指令値演算部及び駆動制御部が相互に通信可能な主制御部及び隷属制御部で構成されている電動パワーステアリング装置の制御装置に関し、本発明の上記目的は、装置内電源電圧が作動範囲電圧となったこと、又は他の制御装置から所定データを受信したこと、又は初期診断中に特定回路の正常が確認されたことの特定条件が成立したと判定した時に、前記主制御部が同期化を前記隷属制御部に通知し、前記主制御部及び前記隷属制御部の所定の動作が同時に開始するように同期化させる同期化手段を設けることにより達成される。   The present invention provides a current command value calculation unit that calculates a current command value based on a steering torque generated on a steering shaft and a vehicle speed signal, and applies a steering assist force to the steering mechanism based on the current value of the motor and the current command value. And a drive control unit that controls the drive of the motor, and a control of an electric power steering device that includes a main control unit and a slave control unit that can communicate with each other between the current command value calculation unit and the drive control unit Regarding the device, the above object of the present invention is to confirm that the power supply voltage in the device has become the operating range voltage, that predetermined data has been received from another control device, or that the specific circuit is normal during the initial diagnosis. When it is determined that the specific condition is satisfied, the main control unit notifies the slave control unit of synchronization, and predetermined operations of the main control unit and the slave control unit are performed simultaneously. It is accomplished by providing a synchronizing means for synchronizing to start.

本発明の上記目的は、前記同期化手段は前記操舵補助力を発生させていない状態で前記同期化を行うと共に、前記主制御部から前記隷属制御部に対して待機状態解除指令を送信し、受信した前記隷属制御部のみが先のステップに進めるようになっていることにより、或いは、前記同期化手段は前記操舵補助力を発生させていない状態で前記同期化を行うと共に、前記主制御部から前記隷属制御部に対してポート信号のレベル変化を通知することにより前記同期化を行うようになっていることにより、或いは、前記同期化手段は前記操舵補助力を発生させていない状態で前記同期化を行うと共に、前記主制御部及び前記隷属制御部の交差バスを介して、又は共通の共有メモリを介して前記同期化を行うようになっていることにより、より効果的に達成される。   The object of the present invention is to perform the synchronization in a state where the synchronization means does not generate the steering assist force, and transmits a standby state release command from the main control unit to the slave control unit, Only the received slave control unit proceeds to the previous step, or the synchronization means performs the synchronization without generating the steering assist force, and the main control unit The synchronization is performed by notifying the slave control unit of a change in the level of the port signal, or the synchronization means does not generate the steering assist force. It is more effective by performing synchronization and performing the synchronization via a crossing bus of the main control unit and the slave control unit or via a common shared memory. It is achieved.

本発明によれば、複数のCPUで構成されるシステムの動作クロック周波数が相違していても、各々のCPUで認識可能であるか、主となるCPUから隷属CPUへ何らかの形態で通知することが可能な機能を持たせることにより同期化させているので、複数のCPU間の協調動作による誤動作を防止することができる。   According to the present invention, even if the operating clock frequency of a system composed of a plurality of CPUs is different, each CPU can recognize it, or the main CPU can notify the slave CPU in some form. Since synchronization is achieved by providing possible functions, it is possible to prevent malfunctions caused by cooperative operations among a plurality of CPUs.

本発明に係る電動パワーステアリング装置の制御装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the control apparatus of the electric power steering apparatus which concerns on this invention. 電動パワーステアリング装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an electric power steering apparatus. 本発明の動作例を示すフローチャートである。It is a flowchart which shows the operation example of this invention. 本発明の動作例を示すタイムチャートである。It is a time chart which shows the operation example of this invention. 主CPUと複数の隷属CPUとの一般的な接続関係を示すシステム構成図である。It is a system configuration diagram showing a general connection relationship between a main CPU and a plurality of slave CPUs. 主CPUの動作例を示すフローチャートである。It is a flowchart which shows the operation example of main CPU. 主CPUの同期化処理例を示すフローチャートであるIt is a flowchart which shows the example of a synchronization process of main CPU. 隷属CPUの動作例を示すフローチャートであるIt is a flowchart which shows the operation example of a slave CPU. 一般的なステアリング機構の一例を示す図である。It is a figure which shows an example of a general steering mechanism. 一般的なCPU機構の一例を示す図である。It is a figure which shows an example of a general CPU mechanism. 従来の電動パワーステアリング装置の制御装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the control apparatus of the conventional electric power steering apparatus.

1 操向ハンドル
2 コラム軸
3 減速ギア
4A及び4B ユニバーサルジョイント
5 ピニオンラック機構
6 タイロッド
10、40 トルクセンサ
11 イグニションキー
12、41 車速センサ
14 バッテリ
20 モータ
30 コントロールユニット
37 モータ駆動回路
38 モータ電流検出回路
42 外部WDT
50 主CPU(主制御部)
60 隷属CPU(隷属制御部)
DESCRIPTION OF SYMBOLS 1 Steering handle 2 Column shaft 3 Reduction gear 4A and 4B Universal joint 5 Pinion rack mechanism 6 Tie rod 10, 40 Torque sensor 11 Ignition key 12, 41 Vehicle speed sensor 14 Battery 20 Motor 30 Control unit 37 Motor drive circuit 38 Motor current detection circuit 42 External WDT
50 Main CPU (Main Control Unit)
60 Slave CPU (Slave Control Unit)

本発明は、複数の制御部(以下、「CPU」とするが、MCUやMPU等も含む)で構成されるシステムの作動クロック周波数が相違していても、ハードウェアの特定条件が成立したことを契機として、2以上のCPUで実施される処理の前段階で同期化を行うようにしているので、複数のCPU間の協調動作による誤動作を防ぐことができ、かかる同期化後に処理を実行する。同期化処理は、電動パワーステアリング装置がアシストを発生させていない初期診断中に行い、ハードウェアの特定条件成立は、各CPUで認識可能であるか、或いは主CPUから隷属CPUへ何らかの形態で通知することが可能な機能を種々持たせることで可能である。   In the present invention, even if the operating clock frequency of a system composed of a plurality of control units (hereinafter referred to as “CPU”, including MCU, MPU, etc.) is different, a specific condition of hardware is established. As a result, synchronization is performed at a stage prior to processing executed by two or more CPUs, so that malfunction due to cooperative operation among multiple CPUs can be prevented, and processing is executed after such synchronization . The synchronization processing is performed during the initial diagnosis when the electric power steering apparatus does not generate assist, and whether the specific condition of the hardware is satisfied can be recognized by each CPU, or notified from the main CPU to the slave CPU in some form. This is possible by providing various functions that can be performed.

本発明では、入出力部の2重監視が主CPUと隷属CPUによって行われると共に、主CPUの2重監視が隷属CPUと外部WDTによって行われ、フェールセーフコンセプトが実現される。このため、電動パワーステアリング装置の安全性と信頼性を十分高く確保できる。しかも、主CPU監視用の外部WDTが主CPUに対して1個だけ設けられた構成であるため、回路構成が比較的簡素となり大型化を回避することができる。   In the present invention, the dual monitoring of the input / output unit is performed by the main CPU and the slave CPU, and the dual monitoring of the main CPU is performed by the slave CPU and the external WDT, thereby realizing the fail-safe concept. For this reason, the safety and reliability of the electric power steering device can be secured sufficiently high. Moreover, since only one external WDT for monitoring the main CPU is provided for the main CPU, the circuit configuration is relatively simple and an increase in size can be avoided.

以下、図面に基づいて本発明の好適な実施例を詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

図1に本発明の構成例を図11に対応させて示し、先ずその構成を説明する。   FIG. 1 shows a configuration example of the present invention corresponding to FIG. 11, and the configuration will be described first.

本発明に係る制御装置は、主CPU自己監視用のWDT51及び相互監視用のWDT52を内蔵した主CPU50と、相互監視用のWDT61及び隷属CPU自己監視用のWDT62を内蔵した隷属CPU60とを具備しており、主CPU50はモータ制御処理の他に、入出力部の異常を監視し、異常検出時には異常対応処理を実行するフェールセーフ機能を有する。例えばシステム電源電圧が許容範囲(作動電圧範囲)を超えたか否かを所定周期で監視し、許容範囲を超えた場合には、モータ駆動回路37内の各FETの駆動を強制停止する。即ちFETゲート駆動回路372を介して各FETをオフ状態に維持すると共に、リレー接点13をオフするアシスト停止処理を実行する。また、電流検出回路38から入力されるモータ電流iに基づいてモータ20の過電流状態を判定し、異常な過電流状態と判定した場合には、同様のアシスト停止処理を実行する。   The control device according to the present invention includes a main CPU 50 having a WDT 51 for main CPU self-monitoring and a WDT 52 for mutual monitoring, and a slave CPU 60 having a WDT 61 for mutual monitoring and a WDT 62 for slave CPU self-monitoring. In addition to the motor control process, the main CPU 50 has a fail-safe function for monitoring an abnormality of the input / output unit and executing an abnormality handling process when an abnormality is detected. For example, whether or not the system power supply voltage exceeds an allowable range (operating voltage range) is monitored at a predetermined cycle. If the system power supply voltage exceeds the allowable range, the driving of each FET in the motor drive circuit 37 is forcibly stopped. That is, an assist stop process for turning off the relay contact 13 is performed while maintaining each FET in the off state via the FET gate drive circuit 372. Further, when the overcurrent state of the motor 20 is determined based on the motor current i input from the current detection circuit 38 and it is determined that the abnormal overcurrent state is detected, the same assist stop process is executed.

一方、隷属CPU60はモータ制御のための演算処理は実行しないが、主CPU50と同様に入出力部の異常を監視し、異常検出時には同様の異常対応処理を実行するフェールセーフ機能を有する。即ち、入力部と出力部の2重監視が2つのCPU50及び60によって実現されている。なお、各CPUによる異常監視はそれぞれ別個に行われ、いずれか一方のCPUが異常を検出すれば、所定の異常対応処理が実行される構成となっている。例えば、2つのCPU50及び60が両者共モータ20の通電を許可している状態、即ちアシスト停止処理を指令していない状態でなければ、モータ20の駆動が実行されない構成となっている。   On the other hand, the slave CPU 60 does not execute arithmetic processing for motor control, but has a fail-safe function of monitoring the abnormality of the input / output unit in the same manner as the main CPU 50 and executing the same abnormality handling process when an abnormality is detected. That is, double monitoring of the input unit and the output unit is realized by the two CPUs 50 and 60. Note that abnormality monitoring by each CPU is performed separately, and if any one of the CPUs detects an abnormality, a predetermined abnormality handling process is executed. For example, the driving of the motor 20 is not executed unless the two CPUs 50 and 60 both permit energization of the motor 20, that is, the state where the assist stop process is not instructed.

なお、図1では1つの主CPU50に対して隷属CPU(60)も1つになっているが、複数の隷属CPUで構成することも可能である。   In FIG. 1, one slave CPU (60) is provided for one main CPU 50, but a plurality of slave CPUs may be used.

トルクセンサ40からの操舵トルクTは主CPU50及び隷属CPU60に入力され、車速センサ41からの車速Vも主CPU50及び隷属CPU60に入力され、モータ電流検出回路38で検出されたモータ電流iも主CPU50及び隷属CPU60に入力されている。また、主CPU50には主CPU監視用の外部WDT42が接続されており、リレー接点13はフェールリレー駆動回路43によってオン・オフ制御される。   The steering torque T from the torque sensor 40 is input to the main CPU 50 and the slave CPU 60, the vehicle speed V from the vehicle speed sensor 41 is also input to the main CPU 50 and the slave CPU 60, and the motor current i detected by the motor current detection circuit 38 is also the main CPU 50. And input to the slave CPU 60. An external WDT 42 for monitoring the main CPU is connected to the main CPU 50, and the relay contact 13 is on / off controlled by a fail relay drive circuit 43.

このような構成において、主CPU50と隷属CPU60との間では、特許文献1で示されるような方法で通信及び監視が行われる。即ち、メインCPU50と隷属CPU60との間では、シリアル通信により相互に動作(暴走)の監視を行っており、メインCPU50は常時隷属CPU60から正常なコマンドを受信したか否かを判断しており、正常なコマンドを受信した場合には内蔵している隷属用のWDT52をクリアし待機状態に戻る。正常コマンドを受信していないと判断した場合には、内蔵のWDT52を「+1」加算し、WDT52の計数値が所定の閾値以上であるか否かを判定する。計数値が閾値以下であれば待機状態に戻り、計数値が閾値を越えた場合には隷属CPU60の暴走を確定し、モータ駆動信号をOFFすると共に、フェールリレー駆動回路43からのリレーOFF信号によってリレー44の接点13をOFFする。なお、隷属CPU60が暴走を確定した場合には、モータ駆動信号をOFFするのではなく、モータ駆動禁止信号を出力してモータ駆動回路37を停止させ、リレーOFF信号によってリレー44をOFFする。   In such a configuration, communication and monitoring are performed between the main CPU 50 and the slave CPU 60 by a method as disclosed in Patent Document 1. That is, the main CPU 50 and the slave CPU 60 mutually monitor operation (runaway) by serial communication, and the main CPU 50 determines whether or not a normal command has been received from the slave CPU 60 at all times. When a normal command is received, the built-in slave WDT 52 is cleared and the process returns to the standby state. If it is determined that a normal command has not been received, “+1” is added to the built-in WDT 52 to determine whether the count value of the WDT 52 is equal to or greater than a predetermined threshold. If the count value is equal to or less than the threshold value, the process returns to the standby state. If the count value exceeds the threshold value, the runaway of the slave CPU 60 is confirmed, the motor drive signal is turned OFF, and the relay OFF signal from the fail relay drive circuit 43 is used. The contact 13 of the relay 44 is turned off. When the slave CPU 60 determines runaway, the motor drive signal is not turned off, but a motor drive inhibition signal is output to stop the motor drive circuit 37, and the relay 44 is turned off by the relay OFF signal.

また、自己監視用WDT51及び62のCPU暴走検出時間を同じ時間に設定しておくと、2つのCPUがほぼ同時に暴走した場合に、自己監視用WDT51及び62による再起動後は両制御部が一時的に正常に動作して相互監視が機能せず、再度同様なプログラムの暴走が発生した場合に、自己監視用WDT51及び62による再起動を繰り返す恐れがある。このため、主CPU監視用WDT51の暴走検出時間と、隷属CPU監視用WDT62の暴走検出時間を異ならせることにより、より確実に暴走を検出することができるようにしている。   Also, if the CPU runaway detection times of the self-monitoring WDTs 51 and 62 are set to the same time, when the two CPUs run away at the same time, both control units are temporarily suspended after restarting by the self-monitoring WDTs 51 and 62. Therefore, when the mutual monitoring does not function normally and a similar program runaway occurs again, there is a possibility that the restart by the self-monitoring WDTs 51 and 62 is repeated. Therefore, the runaway detection time of the main CPU monitoring WDT 51 and the runaway detection time of the slave CPU monitoring WDT 62 are made different so that the runaway can be detected more reliably.

ここにおいて、電動パワーステアリング装置の動作は図2に示すように、イグニションキーがONになったときに(ステップS1)、初期診断を行い(ステップS2)、初期診断がOKの場合(ステップS3)にアシストを開始するようになっている(ステップS4)。そして、イグニションキーがOFFになった場合に(ステップS5)、終了条件を判定して終了する(ステップS6)。なお、上記ステップS3において初期診断がNGとなった場合にも、終了条件を判定して終了する。   Here, as shown in FIG. 2, when the ignition key is turned on (step S1), an initial diagnosis is performed (step S2), and the operation of the electric power steering apparatus is OK (step S3). Assist is started (step S4). When the ignition key is turned off (step S5), the end condition is determined and the process ends (step S6). In addition, also when the initial diagnosis is NG in the above step S3, the end condition is determined and the process ends.

本発明では上記初期診断時(ステップS2)に、次に説明する主CPU50と隷属CPU60との間の同期化を行う。   In the present invention, at the time of the initial diagnosis (step S2), synchronization between the main CPU 50 and the slave CPU 60 described below is performed.

図3のフローチャート及び図4のタイムチャートを参照して本発明の動作を説明すると、時点t1にイグニションキーがONされると(ステップS10、図4(A))、その直後の時点t2からシステム電源電圧は図4(B)に示すように上昇すると共に、昇圧電源374の電源電圧も図4(C)に示すように徐々に上昇する。そして、システム電源電圧が作動範囲電圧(許容範囲)に入り(ステップS11、図4の時点t2)、昇圧電源374の電源電圧が作動範囲電圧(許容範囲)に入ると(ステップS12、図4の時点t4)、主CPU50は隷属CPU60への診断開始を通知し(ステップS13)、図4の時点t4から上述したような診断(監視)を開始する。システム電源電圧はイグニションキーのオンで図4(B)に示すように急激に上昇し、時点t2で作動範囲電圧に入り、更に時点t3以降飽和電圧を保持する。また、昇圧電源電圧は図4(C)に示すように緩やかに上昇し、時点4で作動範囲電圧に入り、更に時点t5以降飽和電圧を保持する。   The operation of the present invention will be described with reference to the flowchart of FIG. 3 and the time chart of FIG. 4. When the ignition key is turned on at time t1 (step S10, FIG. 4A), the system starts from time t2 immediately after that. The power supply voltage rises as shown in FIG. 4B, and the power supply voltage of the boost power supply 374 gradually rises as shown in FIG. 4C. When the system power supply voltage enters the operating range voltage (allowable range) (step S11, time t2 in FIG. 4), and the power supply voltage of the boost power supply 374 enters the operating range voltage (allowable range) (step S12, FIG. 4). At time t4), the main CPU 50 notifies the slave CPU 60 of the start of diagnosis (step S13), and starts diagnosis (monitoring) as described above from time t4 in FIG. When the ignition key is turned on, the system power supply voltage rapidly rises as shown in FIG. 4B, enters the operating range voltage at time t2, and further maintains the saturation voltage after time t3. Further, the boosted power supply voltage gradually rises as shown in FIG. 4C, enters the operating range voltage at time point 4, and holds the saturation voltage after time point t5.

一方、主CPU50の動作状態は図4(D)に示すように、時点t4までが診断待機待ち(充電待ち)であり、時点t4以降が診断状態となる。   On the other hand, as shown in FIG. 4D, the operation state of the main CPU 50 is waiting for diagnosis (waiting for charging) until time t4, and is in the diagnosis state after time t4.

2CPU50及び60間の同期化のための処理に関して、初期診断は主CPU50及び隷属CPU60が共に作動範囲電圧内でないと実施できないように設計し、システム電源電圧からモータ20を駆動するための昇圧電源374へ十分な電荷がチャージされたことを待ち、回路が十分に充電されて昇圧電源電圧が一定電圧以上(図4の時点t4以降)、CPU50及び60へ印加されたことを契機としてその後に診断を開始する。その理由としては、システム電源電圧が作動範囲電圧内でないと、昇圧回路へ十分に電荷がチャージされず、昇圧回路への充電が完了した時点で、昇圧電源電圧が作動範囲電圧内であると認識することが可能である。それ故に、昇圧回路への充電完了を契機として診断(監視)を開始すれば、2CPU間で診断タイミングのずれは生じない。   Regarding the processing for synchronization between the two CPUs 50 and 60, the initial diagnosis is designed so that the main CPU 50 and the slave CPU 60 can only be performed within the operating range voltage, and the boost power source 374 for driving the motor 20 from the system power source voltage. Wait until a sufficient amount of charge has been charged, and after that, the circuit is fully charged and the boosted power supply voltage is higher than a certain voltage (after time t4 in FIG. 4) and applied to the CPUs 50 and 60. Start. The reason for this is that if the system power supply voltage is not within the operating range voltage, the booster circuit will not be sufficiently charged, and when the charging to the booster circuit is completed, the boosted power supply voltage is recognized as being within the operating range voltage. Is possible. Therefore, if diagnosis (monitoring) is started upon completion of charging of the booster circuit, there is no difference in diagnosis timing between the two CPUs.

上記状態で、主CPU50から隷属CPU60に対してシリアル回線等を経由し、初期診断の開始の通知を行うことにより、主CPU50と隷属CPU60間の同期化を図る(ステップS14)。ここで、シリアル回線を用いた同期化の手法を説明する。   In the above state, the main CPU 50 notifies the slave CPU 60 of the start of the initial diagnosis via a serial line or the like, thereby synchronizing the main CPU 50 and the slave CPU 60 (step S14). Here, a synchronization method using a serial line will be described.

図5は、一般的な主CPU(図1の主CPU50に相当)と複数(n台)の隷属CPU(図1の隷属CPU60に相当)との接続関係を示しており、隷属CPU側は常に主CPUの指令に従い動作を待機する状態となっている。つまり、隷属CPU側は主CPUが起動されてから、主CPUからプロセスの開始指令を受信するまでは待機状態に留まっている。   FIG. 5 shows a connection relationship between a general main CPU (corresponding to the main CPU 50 in FIG. 1) and a plurality (n) of slave CPUs (corresponding to the slave CPU 60 in FIG. 1). It is in a state of waiting for an operation in accordance with a command from the main CPU. That is, the slave CPU side remains in a standby state after the main CPU is activated until a process start command is received from the main CPU.

主CPUは図6に示すように、先ずシステムの起動処理を行い(ステップS20)、他CPU、つまり隷属CPUとの協調動作を行うための同期化処理を行い(ステップS21)、その後に他CPUとの協調動作を行う(ステップS22)。図7は主CPUの同期化処理(ステップS21)を示しており、先ずハードウェアの条件成立を判定し(ステップS211)、条件が成立したときに隷属CPUの待機状態解除要求を隷属CPUに対して行う(ステップS212)。一方、隷属CPUは図8に示すように、先ずシステムの起動処理を行い(ステップS220)、主CPUから待機状態解除要求を受信したか否かを判定し(ステップS221)、受信したときに主CPUとの協調動作を行う(ステップS222)。つまり、主CPUからの待機状態解除要求がない限り、隷属CPUはその先に進めないようにすることで同期化を行う。   As shown in FIG. 6, the main CPU first performs system startup processing (step S20), and performs synchronization processing for performing cooperative operation with other CPUs, that is, slave CPUs (step S21). (Step S22). FIG. 7 shows the synchronization process of the main CPU (step S21). First, it is determined whether the hardware condition is satisfied (step S211). (Step S212). On the other hand, as shown in FIG. 8, the slave CPU first performs system startup processing (step S220), determines whether or not a standby state release request is received from the main CPU (step S221), A cooperative operation with the CPU is performed (step S222). That is, unless there is a standby state cancellation request from the main CPU, the slave CPU performs synchronization by preventing it from proceeding further.

上述のようにして同期化された後、CPU50及び60間の診断を実行し(ステップS15)、CPU間の診断実行終了後は通常処理へ移行(リターン)する(ステップS16)。なお、CPU50及び60間では何らかの形で通知できればよいので、この通知の手段には制限を設けない。また、各CPUで実施の例に挙げた昇圧回路の昇圧電源電圧を認識することが可能であれば、CPUからの通知を必要としない。   After the synchronization as described above, the diagnosis between the CPUs 50 and 60 is executed (step S15), and after the execution of the diagnosis between the CPUs is completed, the process proceeds (returns) to normal processing (step S16). Note that there is no limitation on the means for notification because it is only necessary to be able to notify the CPU 50 and 60 in some form. Further, if each CPU can recognize the boost power supply voltage of the booster circuit described in the embodiment, the notification from the CPU is not required.

また、上述の例ではシリアル回線を用いた同期化を行っているが、主CPU50から隷属CPU60に対してポート信号のレベル変化(例えばLOWレベルを待機とし、HIGHレベルを同期化通知)を行うことで隷属CPU60に同期化を通知することができ、更に主CPU50と隷属CPU60との間に交差バスが存在する場合には、交差バスを利用して同期化通知を行うことができる。主CPU50及び隷属CPU60が共通に使用する共有メモリが存在する場合には、共有メモリに識別情報を持たせ、主CPU50が同期化開始を共有メモリ上に書込むことで同期化通知を行うことができる。更にまた、主CPU50及び隷属CPU60がそれぞれ個々にハードウェア特定条件成立を判断して同期化を通知したり、他の制御装置から通信回線を経由して受信した情報(例えばエンジン回転数、車速等)で同期化を通知することも可能である。   In the above example, the synchronization is performed using the serial line, but the main CPU 50 changes the level of the port signal to the slave CPU 60 (for example, the LOW level is set as standby and the HIGH level is notified of synchronization). Thus, the slave CPU 60 can be notified of synchronization, and if there is an intersection bus between the main CPU 50 and the slave CPU 60, the synchronization notification can be performed using the intersection bus. When there is a shared memory that is shared by the main CPU 50 and the slave CPU 60, identification information may be given to the shared memory, and the main CPU 50 may notify the synchronization by writing the start of synchronization on the shared memory. it can. Furthermore, the main CPU 50 and the slave CPU 60 individually determine whether the hardware specific conditions are satisfied and notify the synchronization, or information received from other control devices via the communication line (for example, engine speed, vehicle speed, etc.) ) Can also be notified of synchronization.

そして、同期化後の診断としては、図3のステップS14である隷属CPU60との診断実行に関して、各CPUの同期化が実現された直後に、CPU間を接続されたポート(HI若しくはLOWで状態を識別させるためのポート等)が正常に接続されているか否かの診断を実施する。これは主CPU50の主導で行い、隷属CPU60は主CPU50で変化させた通りの信号レベルの認識が可能であった場合、CPU間信号線は正常であると識別する。また、信号レベルが意図しないものである場合、CPU間信号線の異常と判断する。このとき、CPU間で同期が取れていない場合、主CPU50が信号レベルを変化させたタイミングと隷属CPU60が信号を認識するタイミングとにずれが生じ、CPU間信号線の故障を誤検出してしまうが、同期がとれていればそのような問題は生じない。   As the diagnosis after synchronization, regarding the execution of diagnosis with the slave CPU 60 in step S14 of FIG. 3, immediately after the synchronization of each CPU is realized, the ports connected between the CPUs (in the state of HI or LOW) The port is used to identify whether or not the port is normally connected. This is performed under the initiative of the main CPU 50, and when the slave CPU 60 can recognize the signal level as changed by the main CPU 50, the inter-CPU signal line is identified as normal. If the signal level is not intended, it is determined that the inter-CPU signal line is abnormal. At this time, if the synchronization is not established between the CPUs, there is a difference between the timing at which the main CPU 50 changes the signal level and the timing at which the slave CPU 60 recognizes the signal, thereby erroneously detecting a failure in the signal line between the CPUs. However, such a problem does not occur if synchronization is achieved.

なお、上述では特定条件の成立を昇圧電源電圧の電圧に基づいて判定しているが、所定の初期診断(幾つかある初期診断のうち、特定回路のための初期診断)が正常終了し、特定回路の正常が確認された段階で条件成立としても良いし、CAN(Controller Area Network)等の他の制御装置との通信からデータを受信したことを成立条件としても良い。また、モータを駆動するための電源回路にコンデンサを搭載し、バッテリから充電のための電源供給を受け、一定の時定数をもって充電回路に充電を行うようにし、充電回路への充電状態を監視して、所定以上の充電が行われた場合に特定条件が成立したとしても良い。更に、CPU温度を監視可能なシステムの場合、CPUが起動してからの温度上昇(処理を行う上でCPU温度が上昇する)が所定値以上、若しくは(現在温度−初期温度)或いは温度推定値が所定値以上となったときに特定条件が成立したとしても良く、或いはCPUが起動してからバッテリ電圧を監視し、所定の電圧条件を満たしている状態が一定期間継続したときに特定条件が成立したとしても良い。上記各方法を組合わせて実施することも可能である。   In the above description, whether or not the specific condition is satisfied is determined based on the voltage of the boost power supply voltage. However, the predetermined initial diagnosis (the initial diagnosis for a specific circuit among several initial diagnoses) is normally completed and specified. The condition may be satisfied when the normality of the circuit is confirmed, or the condition may be satisfied when data is received from communication with another control device such as a CAN (Controller Area Network). In addition, a capacitor is installed in the power supply circuit for driving the motor, the power supply for charging is received from the battery, the charging circuit is charged with a constant time constant, and the charging state to the charging circuit is monitored. Thus, the specific condition may be satisfied when a predetermined charge or more is performed. Further, in the case of a system capable of monitoring the CPU temperature, the temperature rise after the CPU is started (CPU temperature rises during processing) is a predetermined value or more, or (current temperature-initial temperature) or estimated temperature value The specific condition may be satisfied when the voltage exceeds a predetermined value, or the battery voltage is monitored after the CPU is started, and the specific condition is satisfied when a state satisfying the predetermined voltage condition continues for a certain period of time. It may be established. It is also possible to implement a combination of the above methods.

Claims (9)

ステアリングシャフトに発生する操舵トルク及び車速信号に基づいて電流指令値を演算する電流指令値演算部と、モータの電流値及び前記電流指令値に基づいてステアリング機構に操舵補助力を付与する前記モータを駆動制御する駆動制御部とを具備すると共に、前記電流指令値演算部及び駆動制御部が相互に通信可能な主制御部及び隷属制御部で構成されている電動パワーステアリング装置の制御方法において、
装置内電源電圧が作動範囲電圧となったこと、又は他の制御装置から所定データを受信したこと、又は初期診断中に特定回路の正常が確認されたことの特定条件が成立したと判定した時に、前記主制御部が同期化を前記隷属制御部に通知し、前記主制御部及び前記隷属制御部の所定の動作が同時に開始するように同期化させることを特徴とする電動パワーステアリング装置の制御方法。
A current command value calculation unit for calculating a current command value based on a steering torque generated on a steering shaft and a vehicle speed signal; and the motor for applying a steering assist force to a steering mechanism based on the current value of the motor and the current command value. In the control method of the electric power steering apparatus comprising a drive control unit for driving control, and a main control unit and a slave control unit that can communicate with each other, the current command value calculation unit and the drive control unit,
When it is determined that the specific condition that the internal power supply voltage has become the operating range voltage, that predetermined data has been received from another control device, or that the specific circuit has been confirmed to be normal during the initial diagnosis, has been established. The control of the electric power steering apparatus, characterized in that the main control unit notifies the slave control unit of synchronization, and synchronizes so that predetermined operations of the main control unit and the slave control unit start simultaneously Method.
前記同期化は前記操舵補助力を発生させていない状態で行うようになっている請求項1に記載の電動パワーステアリング装置の制御方法。   The method for controlling the electric power steering apparatus according to claim 1, wherein the synchronization is performed in a state where the steering assist force is not generated. 前記同期化が、前記主制御部から前記隷属制御部に対して待機状態解除指令を送信し、受信した前記隷属制御部のみが先のステップに進めるようにして行う請求項2に記載の電動パワーステアリング装置の制御方法。   The electric power according to claim 2, wherein the synchronization is performed by transmitting a standby state release command from the main control unit to the slave control unit so that only the received slave control unit proceeds to the previous step. Steering device control method. 前記主制御部から前記隷属制御部に対してポート信号のレベル変化を通知することにより前記同期化を行うようにしている請求項2に記載の電動パワーステアリング装置の制御方法。   The method for controlling the electric power steering apparatus according to claim 2, wherein the synchronization is performed by notifying the slave control unit of a change in level of a port signal from the main control unit. 前記同期化を前記主制御部及び前記隷属制御部の交差バスを介して、又は共通の共有メモリを介して行うようにしている請求項2に記載の電動パワーステアリング装置の制御方法。   The method of controlling an electric power steering apparatus according to claim 2, wherein the synchronization is performed through a crossing bus of the main control unit and the slave control unit or through a common shared memory. ステアリングシャフトに発生する操舵トルク及び車速信号に基づいて電流指令値を演算する電流指令値演算部と、モータの電流値及び前記電流指令値に基づいてステアリング機構に操舵補助力を付与する前記モータを駆動制御する駆動制御部とを具備すると共に、前記電流指令値演算部及び駆動制御部が相互に通信可能な主制御部及び隷属制御部で構成されている電動パワーステアリング装置の制御装置において、
装置内電源電圧が作動範囲電圧となったこと、又は他の制御装置から所定データを受信したこと、又は初期診断中に特定回路の正常が確認されたことの特定条件が成立したと判定した時に、前記主制御部が同期化を前記隷属制御部に通知し、前記主制御部及び前記隷属制御部の所定の動作が同時に開始するように同期化させる同期化手段を具備したことを特徴とする電動パワーステアリング装置の制御装置。
A current command value calculation unit for calculating a current command value based on a steering torque generated on a steering shaft and a vehicle speed signal; and the motor for applying a steering assist force to a steering mechanism based on the current value of the motor and the current command value. In the control device of the electric power steering device comprising a drive control unit for driving control, and a main control unit and a slave control unit that can communicate with each other, the current command value calculation unit and the drive control unit,
When it is determined that the specific condition that the internal power supply voltage has become the operating range voltage, that predetermined data has been received from another control device, or that the specific circuit has been confirmed to be normal during the initial diagnosis, has been established. The main control unit includes synchronization means for notifying the slave control unit of synchronization and synchronizing so that predetermined operations of the main control unit and the slave control unit start simultaneously. Control device for electric power steering device.
前記同期化手段は前記操舵補助力を発生させていない状態で前記同期化を行うと共に、前記主制御部から前記隷属制御部に対して待機状態解除指令を送信し、受信した前記隷属制御部のみが先のステップに進めるようになっている請求項6に記載の電動パワーステアリング装置の制御装置。   The synchronization means performs the synchronization in a state where the steering assist force is not generated, transmits a standby state release command from the main control unit to the slave control unit, and receives only the slave control unit received 7. The control device for an electric power steering device according to claim 6, wherein the control is advanced to the previous step. 前記同期化手段は前記操舵補助力を発生させていない状態で前記同期化を行うと共に、前記主制御部から前記隷属制御部に対してポート信号のレベル変化を通知することにより前記同期化を行うようになっている請求項6に記載の電動パワーステアリング装置の制御装置。   The synchronization means performs the synchronization in a state where the steering assist force is not generated, and performs the synchronization by notifying the slave control unit of the level change of the port signal from the main control unit. The control device for an electric power steering device according to claim 6. 前記同期化手段は前記操舵補助力を発生させていない状態で前記同期化を行うと共に、前記主制御部及び前記隷属制御部の交差バスを介して、又は共通の共有メモリを介して前記同期化を行うようになっている請求項6に記載の電動パワーステアリング装置の制御装置。   The synchronization means performs the synchronization in a state where the steering assist force is not generated, and also performs the synchronization via a cross bus of the main control unit and the slave control unit or through a common shared memory. The control device for the electric power steering apparatus according to claim 6, wherein:
JP2011104946A 2011-05-10 2011-05-10 Control method and control apparatus for electric power steering apparatus Active JP5223945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011104946A JP5223945B2 (en) 2011-05-10 2011-05-10 Control method and control apparatus for electric power steering apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011104946A JP5223945B2 (en) 2011-05-10 2011-05-10 Control method and control apparatus for electric power steering apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005070738A Division JP4821144B2 (en) 2005-03-14 2005-03-14 Control method and control apparatus for electric power steering apparatus

Publications (2)

Publication Number Publication Date
JP2011148498A true JP2011148498A (en) 2011-08-04
JP5223945B2 JP5223945B2 (en) 2013-06-26

Family

ID=44535890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011104946A Active JP5223945B2 (en) 2011-05-10 2011-05-10 Control method and control apparatus for electric power steering apparatus

Country Status (1)

Country Link
JP (1) JP5223945B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018051550A1 (en) * 2016-09-15 2018-03-22 日立オートモティブシステムズ株式会社 Vehicle-mounted device actuator and power steering device
DE112017003482T5 (en) 2016-07-11 2019-03-28 Denso Corporation MOTOR CONTROL DEVICE, ENGINE DRIVE SYSTEM AND MOTOR CONTROL METHOD
DE112017003492T5 (en) 2016-07-11 2019-04-25 Denso Corporation Engine control device, engine drive system and engine control method
DE112017003491T5 (en) 2016-07-11 2019-04-25 Denso Corporation MOTOR CONTROL DEVICE, ENGINE DRIVE SYSTEM AND MOTOR CONTROL METHOD
CN110651259A (en) * 2017-06-14 2020-01-03 日立汽车系统株式会社 Control device for in-vehicle device
US10654518B2 (en) 2016-07-11 2020-05-19 Denso Corporation Motor control apparatus, motor drive system, and motor control method
US10668945B2 (en) 2016-07-11 2020-06-02 Denso Corporation Motor control apparatus, motor drive system, and motor control method
KR102167906B1 (en) * 2019-06-20 2020-10-20 주식회사 만도 Apparatus for controlling steering and System for assisting steering including it
US11242087B2 (en) 2016-07-11 2022-02-08 Denso Corporation Motor control apparatus, motor drive system, and motor control method
JP7359070B2 (en) 2020-04-09 2023-10-11 株式会社ジェイテクト Control device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63162378A (en) * 1986-12-24 1988-07-05 Toyota Motor Corp Electric control device for rear wheel steering in front and rear wheel steering
JP2001310743A (en) * 2000-04-26 2001-11-06 Toyoda Mach Works Ltd Steering controller for vehicle
JP2002059584A (en) * 2000-08-23 2002-02-26 Minolta Co Ltd Luminous energy correction method for exposure means and image forming device
JP2003077100A (en) * 2001-09-03 2003-03-14 Denso Corp Anomaly detection system, automatic operation system, and anomaly detection method
JP2003252215A (en) * 2002-02-28 2003-09-10 Unisia Jkc Steering System Co Ltd Current value detection device
WO2003078237A1 (en) * 2002-03-18 2003-09-25 Nsk Ltd. Electric power steering device control apparatus
JP2003319678A (en) * 2002-04-17 2003-11-07 Honda Motor Co Ltd Arithmetic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63162378A (en) * 1986-12-24 1988-07-05 Toyota Motor Corp Electric control device for rear wheel steering in front and rear wheel steering
JP2001310743A (en) * 2000-04-26 2001-11-06 Toyoda Mach Works Ltd Steering controller for vehicle
JP2002059584A (en) * 2000-08-23 2002-02-26 Minolta Co Ltd Luminous energy correction method for exposure means and image forming device
JP2003077100A (en) * 2001-09-03 2003-03-14 Denso Corp Anomaly detection system, automatic operation system, and anomaly detection method
JP2003252215A (en) * 2002-02-28 2003-09-10 Unisia Jkc Steering System Co Ltd Current value detection device
WO2003078237A1 (en) * 2002-03-18 2003-09-25 Nsk Ltd. Electric power steering device control apparatus
JP2003319678A (en) * 2002-04-17 2003-11-07 Honda Motor Co Ltd Arithmetic device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112017003491B4 (en) 2016-07-11 2022-01-20 Denso Corporation Engine control device, engine drive system and engine control method
DE112017003492T5 (en) 2016-07-11 2019-04-25 Denso Corporation Engine control device, engine drive system and engine control method
US10668945B2 (en) 2016-07-11 2020-06-02 Denso Corporation Motor control apparatus, motor drive system, and motor control method
DE112017003491T5 (en) 2016-07-11 2019-04-25 Denso Corporation MOTOR CONTROL DEVICE, ENGINE DRIVE SYSTEM AND MOTOR CONTROL METHOD
US11242087B2 (en) 2016-07-11 2022-02-08 Denso Corporation Motor control apparatus, motor drive system, and motor control method
DE112017003482T5 (en) 2016-07-11 2019-03-28 Denso Corporation MOTOR CONTROL DEVICE, ENGINE DRIVE SYSTEM AND MOTOR CONTROL METHOD
DE112017003482B4 (en) 2016-07-11 2022-01-20 Denso Corporation Engine control device, engine drive system and engine control method
US10654518B2 (en) 2016-07-11 2020-05-19 Denso Corporation Motor control apparatus, motor drive system, and motor control method
JPWO2018051550A1 (en) * 2016-09-15 2019-06-24 日立オートモティブシステムズ株式会社 Actuator for vehicle-mounted device and power steering apparatus
CN109803873A (en) * 2016-09-15 2019-05-24 日立汽车系统株式会社 The executing agency of mobile unit and servo steering device
US11084523B2 (en) 2016-09-15 2021-08-10 Hitachi Astemo, Ltd. Vehicle-mounted device actuator and power steering device
CN109803873B (en) * 2016-09-15 2021-09-10 日立安斯泰莫株式会社 Actuator of in-vehicle device and power steering device
WO2018051550A1 (en) * 2016-09-15 2018-03-22 日立オートモティブシステムズ株式会社 Vehicle-mounted device actuator and power steering device
CN110651259A (en) * 2017-06-14 2020-01-03 日立汽车系统株式会社 Control device for in-vehicle device
CN110651259B (en) * 2017-06-14 2023-12-01 日立安斯泰莫株式会社 Control device for in-vehicle apparatus
KR102167906B1 (en) * 2019-06-20 2020-10-20 주식회사 만도 Apparatus for controlling steering and System for assisting steering including it
JP7359070B2 (en) 2020-04-09 2023-10-11 株式会社ジェイテクト Control device

Also Published As

Publication number Publication date
JP5223945B2 (en) 2013-06-26

Similar Documents

Publication Publication Date Title
JP5223945B2 (en) Control method and control apparatus for electric power steering apparatus
JP6709326B2 (en) Vehicle control device
JP5406377B2 (en) Control system and electric power steering control device
EP2810853B1 (en) Actuator control apparatus
JP4029522B2 (en) Control device for electric power steering device
EP0572961A2 (en) Electric power steering apparatus
JP6239895B2 (en) Motor control device and electric power steering device
WO2016047575A1 (en) Control device and control method for on-vehicle electronic apparatus
JP2003182608A (en) Electric power steering controller
JP7346993B2 (en) Control device
EP3098139A1 (en) Steering apparatus
JP2013182477A (en) Microprocessor external monitoring circuit, electronic controller and electrically-driven power steering device
WO2019049731A1 (en) Control device for power steering device
JP2005255037A (en) Electronic control device for vehicle
CN108702099B (en) Electronic control device and electric power steering device equipped with same
EP2842837B1 (en) Electric power steering system
JP2009073446A (en) Electric power steering device
JP4821144B2 (en) Control method and control apparatus for electric power steering apparatus
EP3296185B1 (en) Electric power steering device
EP3617037B1 (en) Vehicle control apparatus
EP3530548B1 (en) Steering control device
JP2021109495A (en) Steering controller
US20230119506A1 (en) Control device for vehicle
JP5256780B2 (en) Electric power steering device
JP2009046044A (en) Control device for electric power steering device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130225

R150 Certificate of patent or registration of utility model

Ref document number: 5223945

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160322

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250