JP5169412B2 - Electric power steering device - Google Patents

Electric power steering device Download PDF

Info

Publication number
JP5169412B2
JP5169412B2 JP2008102740A JP2008102740A JP5169412B2 JP 5169412 B2 JP5169412 B2 JP 5169412B2 JP 2008102740 A JP2008102740 A JP 2008102740A JP 2008102740 A JP2008102740 A JP 2008102740A JP 5169412 B2 JP5169412 B2 JP 5169412B2
Authority
JP
Japan
Prior art keywords
steering assist
memory
steering
failure
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008102740A
Other languages
Japanese (ja)
Other versions
JP2009248923A (en
Inventor
一博 熊井戸
信広 久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2008102740A priority Critical patent/JP5169412B2/en
Publication of JP2009248923A publication Critical patent/JP2009248923A/en
Application granted granted Critical
Publication of JP5169412B2 publication Critical patent/JP5169412B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Steering Mechanism (AREA)
  • Control Of Electric Motors In General (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)

Description

本発明は、電動パワーステアリング装置、そのメモリ故障検出方法、およびコンピュータが実行可能なプログラムに関し、詳細には、メモリに故障(異常)が発生した場合でも操舵補助処理を継続することが可能な電動パワーステアリング装置、そのメモリ故障検出方法、およびコンピュータが実行可能なプログラムに関する。   The present invention relates to an electric power steering apparatus, a memory failure detection method thereof, and a computer-executable program, and more specifically, an electric motor capable of continuing steering assist processing even when a failure (abnormality) occurs in a memory. The present invention relates to a power steering device, a memory failure detection method thereof, and a computer-executable program.

乗用車やトラック等の車両の操舵力を軽減するため、操舵補助モータによって操舵を補助する、いわゆる電動パワーステアリング(EPS:Electric Power Steering)装置がある。電動パワーステアリング装置では、操舵補助モータの駆動力を、減速機を介してギヤまたはベルト等の伝送機構により、ステアリングシャフトまたはラック軸に補助力を付与するようになっている。かかる電動パワーステアリング装置は、操舵補助トルクを正確に発生させるため、モータ電流のフィードバック制御を行っている。フィードバック制御は、電流指令値とモータ電流検出値との差が小さくなるようにモータ印加電圧を調整するものであり、モータ印加電圧の調整は、一般的にPWM(パルス幅変調)制御のデューティ比の調整で行っている。   In order to reduce the steering force of vehicles such as passenger cars and trucks, there is a so-called electric power steering (EPS) device that assists steering by a steering assist motor. In the electric power steering apparatus, the driving force of the steering assist motor is applied to the steering shaft or the rack shaft by a transmission mechanism such as a gear or a belt via a speed reducer. Such an electric power steering apparatus performs feedback control of motor current in order to accurately generate steering assist torque. In feedback control, the motor applied voltage is adjusted so that the difference between the current command value and the detected motor current value is small. Generally, the adjustment of the motor applied voltage is a duty ratio of PWM (pulse width modulation) control. It is done by adjusting.

かかる電動パワーステアリング装置を搭載する車両の大型化のため、電動パワーステアリング装置の高出力化が進み、操舵補助モータのモータトルクの増大・大電流化が加速している。従来、電動パワーステアリング装置に何らかの異常が発生した場合には、操舵アシストを停止していた。軽自動車等では、電動パワーステアリング装置が作動していない場合でもある程度の操舵が可能であるが、リッターカー以上では操舵に大きな力が必要になるため、異常発生後も電動パワーステアリング装置による操舵アシストを継続することが望まれる。   Due to the increase in size of vehicles equipped with such an electric power steering device, the output of the electric power steering device has been increased, and the increase in motor torque and the increase in current of the steering assist motor have been accelerated. Conventionally, the steering assist is stopped when any abnormality occurs in the electric power steering apparatus. Light cars can be steered to some extent even when the electric power steering device is not operating. However, since a large force is required for steering with a liter car or higher, steering assistance by the electric power steering device is possible even after an abnormality has occurred. It is desirable to continue.

このような電動パワーステアリング装置の制御には、データの格納や演算処理のためにRAM等のメモリを使用しており、操舵性能と信頼性を向上させるためにメモリ容量も大きくなってきている。そして、電動パワーステアリング装置の安全性を高めるために、初期時においても、また、操舵アシスト中においてもシステムの信頼性を高めたり、安全性を図ることを目的としてメモリ診断機能を具備するようになっている。   In the control of such an electric power steering apparatus, a memory such as a RAM is used for data storage and calculation processing, and the memory capacity is increased in order to improve steering performance and reliability. In order to enhance the safety of the electric power steering apparatus, a memory diagnosis function is provided for the purpose of improving the reliability of the system and improving the safety at the initial time and during the steering assist. It has become.

例えば、特許文献1〜3では、メモリ診断機能を備えた電動パワーステアリング装置において、メモリの異常を検出した場合に、安全のために操舵アシストを停止する技術が開示されている。しかしながら、特許文献1〜3では、メモリの異常を検出した場合には、
異常の軽重に拘わらず操舵アシストを停止する構成であるので、メモリに異常がある場合に操舵アシストを継続することができないという問題がある。
For example, Patent Documents 1 to 3 disclose a technique for stopping steering assist for safety when an abnormality in a memory is detected in an electric power steering apparatus having a memory diagnosis function. However, in Patent Documents 1 to 3, when a memory abnormality is detected,
Since the configuration is such that the steering assist is stopped regardless of the weight of the abnormality, there is a problem that the steering assist cannot be continued when there is an abnormality in the memory.

特開2006−331086号公報JP 2006-331086 A 特開2004−133635号公報JP 2004-133635 A 特開2003−323353号公報JP 2003-323353 A

本発明は、上記に鑑みてなされたものであり、メモリに異常がある場合でも可及的に操舵補助処理を実行または継続することが可能な電動パワーステアリング装置、そのメモリ故障検出方法、およびコンピュータが実行可能なプログラムを提供することを目的とする。   The present invention has been made in view of the above, and an electric power steering apparatus capable of executing or continuing steering assist processing as much as possible even when there is an abnormality in a memory, a memory failure detection method thereof, and a computer The purpose is to provide an executable program.

上述した課題を解決し、目的を達成するために、本発明は、車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置において、前記操舵補助モータを制御する操舵補助処理を実行する制御手段と、前記制御手段の作業領域となるメモリと、前記操舵補助処理の実行前または実行中に前記メモリの故障検出を行うメモリ故障検出手段と、を備え、前記メモリは、故障しても前記操舵補助処理を実行できる第1の領域と、故障がある場合でも前記操舵補助トルクを制限することで、当該操舵補助処理を実行できる第2の領域と、を有し、当該第2の領域は、前記操舵補助処理の機能に応じて複数に分割されており、前記メモリ故障検出手段で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続し、前記メモリ故障検出手段は、前記操舵補助処理の実行中に前記メモリの故障検出を行う場合には、前記第1の領域の故障検出を行わないことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the steering assist force in the steering system. In the electric power steering apparatus that controls the steering assist motor based on the detected current value of the steering assist motor, the control means for executing the steering assist process for controlling the steering assist motor, and the operation of the control means A memory serving as a region, and memory failure detection means for detecting a failure of the memory before or during execution of the steering assist process, wherein the memory is capable of executing the steering assist process even if a failure occurs. and regions, by limiting the steering assist torque even when there is a failure, and a second region that can perform the steering assist processing, and the second Region, in response to said function of steering assist process is divided into a plurality, when detecting a failure in the region of the memory in the memory failure detecting means, by limiting the steering assist torque, the steering Auxiliary processing is executed or continued, and the memory failure detection means does not perform failure detection in the first region when performing failure detection of the memory during execution of the steering assist processing. .

また、本発明の好ましい態様によれば、前記メモリの前記領域は、トルク制御で使用される第1の領域を含み、前記メモリ故障検出手段で前記メモリの前記第1の領域の故障を検出した場合には、前記トルク制御を制限して、前記操舵補助処理を実行または継続することが望ましい。   According to a preferred aspect of the present invention, the area of the memory includes a first area used for torque control, and the memory failure detecting means detects a failure of the first area of the memory. In this case, it is desirable that the torque control is limited and the steering assist process is executed or continued.

また、本発明の好ましい態様によれば、前記メモリの前記領域は、トルク補償制御に使用される第2の領域を含み、前記メモリ故障検出手段で前記メモリの前記第2の領域の故障を検出した場合には、前記トルク補償制御を制限して、前記操舵補助処理を実行または継続することが望ましい。   According to a preferred aspect of the present invention, the area of the memory includes a second area used for torque compensation control, and the memory failure detecting means detects a failure of the second area of the memory. In this case, it is desirable that the torque compensation control is limited and the steering assist process is executed or continued.

また、本発明の好ましい態様によれば、前記メモリの前記領域は、モータ電流制御に使用される第3の領域を含み、前記メモリ故障検出手段で前記メモリの前記第3の領域の故障を検出した場合には、前記モータ電流制御を制限して、前記操舵補助処理を実行または継続することが望ましい。   According to a preferred aspect of the present invention, the area of the memory includes a third area used for motor current control, and the memory failure detection means detects a failure of the third area of the memory. In this case, it is desirable that the motor current control is limited and the steering assist process is executed or continued.

また、本発明の好ましい態様によれば、前記メモリはランダムアクセスメモリであることが望ましい。   According to a preferred aspect of the present invention, it is desirable that the memory is a random access memory.

上述した課題を解決し、目的を達成するために、本発明は、車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置のメモリ故障検出方法において、前記操舵補助モータを制御する操舵補助処理を実行する制御手段の作業領域となるメモリに対して、前記操舵補助処理の実行前または実行中に、その故障検出を行う工程と、を含み、前記メモリは、故障しても前記操舵補助処理を実行できる第1の領域と、故障がある場合でも前記操舵補助トルクを制限することで、当該操舵補助処理を継続できる第2の領域と、を有し、当該第2の領域は、前記操舵補助処理の機能に応じて複数に分割されており、前記故障検出を行う工程で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続し、前記故障検出を行う工程は、前記操舵補助処理の実行中に前記メモリの故障検出を行う場合には、前記第1の領域の故障検出を行わないことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the steering assist force in the steering system. In the memory failure detection method of the electric power steering apparatus for controlling the steering assist motor based on the detected current value of the steering assist motor for providing the steering assist motor, the operation of the control means for executing the steering assist process for controlling the steering assist motor And a step of detecting the failure before or during the execution of the steering assist process for the memory serving as the area, wherein the memory is capable of executing the steering assist process even if a failure occurs. when, by limiting the steering assist torque even when there is a failure, and a second region that can continue the steering assist processing, and the second region, The steering assist process is divided into a plurality of parts according to the function of the steering assist process, and when a failure in the area of the memory is detected in the failure detection step, the steering assist torque is limited to limit the steering assist process. The step of performing or continuing the step of performing the failure detection does not perform failure detection of the first region when performing failure detection of the memory during execution of the steering assist process .

上述した課題を解決し、目的を達成するために、本発明は、車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置に搭載されるプログラムにおいて、前記操舵補助モータを制御する操舵補助処理を実行する制御手段の作業領域となるメモリに対して、前記操舵補助処理の実行前または実行中に、その故障検出を行う工程と、をコンピュータに実行させ、前記メモリは、故障しても前記操舵補助処理を実行できる第1の領域と、故障がある場合でも前記操舵補助トルクを制限することで、当該操舵補助処理を継続できる第2の領域と、を有し、当該第2の領域は、前記操舵補助処理の機能に応じて複数に分割されており、前記故障検出を行う工程で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続し、前記故障検出を行う工程は、前記操舵補助処理の実行中に前記メモリの故障検出を行う場合には、前記第1の領域の故障検出を行わないことを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the steering assist force in the steering system. The operation of the control means for executing the steering assist process for controlling the steering assist motor in the program installed in the electric power steering apparatus for controlling the steering assist motor based on the detected current value of the steering assist motor. And a step of detecting a failure of the area memory before or during execution of the steering assist process. The computer executes the steering assist process even if a failure occurs . has a first region, by limiting the steering assist torque even when there is a failure, a second region can continue the steering assist process, the The second region is divided into a plurality depending on the function of the steering assist process, when detecting a failure of the region of the memory in the step of performing the fault detection, limits the steering assist torque Then, the step of executing or continuing the steering assist process and detecting the failure performs the failure detection of the first area when the failure detection of the memory is performed during the execution of the steering assist process. It is characterized by not .

本発明によれば、車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置において、前記操舵補助モータを制御する操舵補助処理を実行する制御手段と、前記制御手段の作業領域となるメモリと、前記操舵補助処理の実行前または実行中に前記メモリの故障検出を行うメモリ故障検出手段と、を備え、前記メモリは、故障がある場合でも操舵補助トルクを制限することで、当該操舵補助処理を継続できる領域を有し、当該領域は、前記操舵補助処理の機能に応じて複数に分割されており、前記メモリ故障検出手段で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続することとしたので、メモリに異常がある場合でも可及的に操舵補助処理を実行または継続することが可能な電動パワーステアリング装置を提供することが可能となるという効果を奏する。   According to the present invention, the steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the current detection value of the steering assist motor that applies the steering assist force to the steering system. Based on this, in the electric power steering apparatus for controlling the steering assist motor, control means for executing a steering assist process for controlling the steering assist motor, a memory serving as a work area of the control means, and execution of the steering assist process Memory failure detecting means for detecting a failure of the memory before or during execution, and the memory has a region where the steering assist processing can be continued by limiting the steering assist torque even when there is a failure. The area is divided into a plurality of areas according to the function of the steering assist process, and the memory failure detection means determines the reason for the area of the memory. Is detected, the steering assist torque is limited and the steering assist process is executed or continued. Therefore, even if there is an abnormality in the memory, the steering assist process is executed or continued as much as possible. There is an effect that it is possible to provide an electric power steering apparatus capable of performing the above.

以下に、この発明につき図面を参照しつつ詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。また、下記実施例における構成要素には、当業者が容易に想定できるものまたは実質的に同一のものが含まれる。   Hereinafter, the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments. In addition, constituent elements in the following embodiments include those that can be easily assumed by those skilled in the art or those that are substantially the same.

図1は、電動パワーステアリング装置の一般的な構成を示す図である。図1において、操向ハンドル1のコラム軸2は減速ギヤ3、ユニバーサルジョイント4aおよび4b、ピニオンラック機構5を経て操向車輪のタイロッド6に連結されている。コラム軸2には、操向ハンドル1の操舵トルクTを検出するトルクセンサ10が設けられており、操向ハンドル1の操舵力を補助する操舵補助モータ20が、減速ギヤ3を介してコラム軸2に連結されている。ここで、操舵補助モータ20は、例えば、ブラシレスモータやブラシモータである。電動パワーステアリング装置を制御するコントロールユニット30には、バッテリ14から内蔵の電源リレー13を経て電力が供給され、イグニションキー11からイグニション信号が供給される。また、コントロールユニット30は、トルクセンサ10で検出された操舵トルクTと車速センサ12で検出された車速Vとに基づいて、操舵補助モータ20の電流指令値を演算し、操舵補助モータ20の電流検出値と電流指令値とに基づいて、操舵補助モータ20の電流検出値が電流指令値に追従するように操舵補助モータ20を駆動制御する。   FIG. 1 is a diagram illustrating a general configuration of an electric power steering apparatus. In FIG. 1, a column shaft 2 of a 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 T of the steering handle 1, and a steering assist motor 20 that assists the steering force of the steering handle 1 is connected to the column shaft via the reduction gear 3. 2 is connected. Here, the steering assist motor 20 is, for example, a brushless motor or a brush motor. The control unit 30 that controls the electric power steering device is supplied with electric power from the battery 14 via the built-in power supply relay 13 and is supplied with an ignition signal from the ignition key 11. Further, the control unit 30 calculates a current command value for the steering assist motor 20 based on the steering torque T detected by the torque sensor 10 and the vehicle speed V detected by the vehicle speed sensor 12, and the current of the steering assist motor 20 is calculated. Based on the detected value and the current command value, the steering assist motor 20 is drive-controlled so that the current detected value of the steering assist motor 20 follows the current command value.

図2は、図1のコントロールユニット30のハードウェア構成を示す図である。コントロールユニット30は、図2に示すように、MCU(マイクロコントロールユニット)100と、FETプリドライバ回路110と、モータ駆動回路(インバータ)120と、電流検出回路130と、位置検出回路140等を備えている。   FIG. 2 is a diagram showing a hardware configuration of the control unit 30 of FIG. As shown in FIG. 2, the control unit 30 includes an MCU (micro control unit) 100, an FET pre-driver circuit 110, a motor drive circuit (inverter) 120, a current detection circuit 130, a position detection circuit 140, and the like. ing.

MCU100は、CPU(制御手段)101、ROM102、RAM103、EEPROM(不揮発性メモリ)104、A/D変換器105、インターフェース106、バス107等を備えている。CPU101は、ROM102に格納されたプログラムを実行して電動パワーステアリング装置を制御する。   The MCU 100 includes a CPU (control means) 101, a ROM 102, a RAM 103, an EEPROM (nonvolatile memory) 104, an A / D converter 105, an interface 106, a bus 107, and the like. The CPU 101 executes a program stored in the ROM 102 and controls the electric power steering apparatus.

ROM102は、CPU101が実行する各種プログラムを格納する。具体的には、ROM102には、操舵補助(アシスト)を行う操舵補助モータ20を制御するアシスト処理(操舵補助処理)、およびRAM103の故障検出を行うメモリ診断処理(メモリ初期診断処理およびメモリ常時診断処理)を実行するための制御プログラム等が格納されている。   The ROM 102 stores various programs executed by the CPU 101. Specifically, the ROM 102 includes an assist process (steering assist process) for controlling the steering assist motor 20 that performs steering assist (assist), and a memory diagnosis process (memory initial diagnosis process and memory constant diagnosis) for detecting a failure of the RAM 103. A control program for executing (processing) is stored.

RAM103は、CPU101がプログラムを実行する場合にその作業領域として使用され、処理過程で必要とするデータや処理結果等が記憶されるものである。   The RAM 103 is used as a work area when the CPU 101 executes a program, and stores data, processing results, and the like necessary in the processing process.

EEPROM104は、電源遮断後においても記憶内容を保持可能な不揮発性メモリであり、CPU101が、電動パワーステアリング装置の制御で使用する制御データ等が格納される。なお、ここでは、不揮発性メモリとして、EEPROMを使用することとしたが、本発明はこれに限られるものではなく、FLASH−ROM等の他の不揮発性メモリを使用することにしてもよい。   The EEPROM 104 is a non-volatile memory that can retain stored contents even after the power is shut off, and stores control data and the like that the CPU 101 uses in controlling the electric power steering apparatus. Here, the EEPROM is used as the non-volatile memory. However, the present invention is not limited to this, and other non-volatile memories such as a FLASH-ROM may be used.

A/D変換器105は、トルクセンサ10からの操舵トルクT、電流検出回路130からの操舵補助モータ20の電流検出値Im、および位置検出回路140からのモータ回転角信号θ等を入力し、デジタル信号に変換する。インターフェース106は、車速センサ12からの車速V(パルス)をCAN通信で受け取るためのものである。   The A / D converter 105 inputs the steering torque T from the torque sensor 10, the current detection value Im of the steering assist motor 20 from the current detection circuit 130, the motor rotation angle signal θ from the position detection circuit 140, and the like. Convert to digital signal. The interface 106 is for receiving the vehicle speed V (pulse) from the vehicle speed sensor 12 by CAN communication.

上記構成において、CPU101が、ROM102に格納されたプログラムを実行することにより、メモリ故障検出手段、アシスト可否判定手段、およびフェールセーフ処理手段として機能する。   In the above configuration, the CPU 101 functions as a memory failure detection unit, an assistability determination unit, and a failsafe processing unit by executing a program stored in the ROM 102.

FETプリドライバ回路110は、主MCU100から入力されるUVW各相のPWM制御信号を、各相正負の通電信号(Up、Un、Vp、Vn、Wp、Wn)に変換して、モータ駆動回路120に出力する。   The FET pre-driver circuit 110 converts the PWM control signal for each phase of UVW input from the main MCU 100 into positive and negative energization signals (Up, Un, Vp, Vn, Wp, Wn) for each phase, and the motor drive circuit 120. Output to.

モータ駆動回路120は、一対のFETスイッチング素子からなるブリッジ回路をU相用、V相用、W相用として3相分備えており、各FETスイッチング素子には還流ダイオードが並列接続されている。このブリッジ回路には、バッテリ14から電源リレー13を介して直流電圧が印加される。各FETスイッチング素子の制御端子(ゲート端子)には、FETプリドライバ回路110から通電信号が入力される。モータ駆動回路120に印加される直流電圧は、モータ駆動回路120内のFETスイッチング素子のスイッチング動作によって3相の交流電圧に変換され、それにより操舵補助モータ20が駆動される。このブリッジ回路には、シャント抵抗R1、R2が接続されている。このシャント抵抗R1、R2に電流検出回路130が接続され、これによって、操舵補助モータ20の電流検出値Imを検出するようになっている。   The motor drive circuit 120 includes a bridge circuit composed of a pair of FET switching elements for three phases for the U phase, the V phase, and the W phase, and a reflux diode is connected in parallel to each FET switching element. A DC voltage is applied to the bridge circuit from the battery 14 via the power relay 13. An energization signal is input from the FET pre-driver circuit 110 to the control terminal (gate terminal) of each FET switching element. The DC voltage applied to the motor drive circuit 120 is converted into a three-phase AC voltage by the switching operation of the FET switching element in the motor drive circuit 120, thereby driving the steering assist motor 20. Shunt resistors R1 and R2 are connected to this bridge circuit. A current detection circuit 130 is connected to the shunt resistors R1 and R2, and the current detection value Im of the steering assist motor 20 is thereby detected.

位置検出回路140は、位置センサ21からの出力信号をモータ回転角信号θとして、A/D変換器105に出力する。   The position detection circuit 140 outputs the output signal from the position sensor 21 to the A / D converter 105 as a motor rotation angle signal θ.

上記のように構成される電動パワーステアリング装置では、アシスト処理の実行前または実行中に、RAM103の故障を検出した場合でも、可及的にアシスト処理を実行するために、RAM103の故障を検出した場合に、故障した領域に基づいて、アシスト処理を実行可能な故障か否かを判断し、アシスト処理を実行可能と判定した場合には、アシスト処理を開始または継続し、アシスト処理を実行不可能と判定した場合には、アシスト処理を停止するように構成されている。   In the electric power steering apparatus configured as described above, even when the failure of the RAM 103 is detected before or during the execution of the assist process, the failure of the RAM 103 is detected in order to execute the assist process as much as possible. In this case, based on the failure area, it is determined whether or not the failure is such that the assist process can be performed. If it is determined that the assist process can be performed, the assist process is started or continued and the assist process cannot be performed. Is determined, the assist process is configured to stop.

図3は、RAM103のメモリ構成例を示す図である。同図に示すように、RAM103は、故障検出後の処理に応じて3つの領域に分割されており、故障しても正常時と同様にアシスト処理を継続(実行)できる領域Aと、故障した場合にアシストトルク(操舵補助トルク)を制限(以下、「アシスト制限」とも称する)することでアシスト処理を継続(実行)できる領域Bと、故障した場合に、アシスト処理を継続(実行)できない領域Cとを備えている。   FIG. 3 is a diagram illustrating a memory configuration example of the RAM 103. As shown in the figure, the RAM 103 is divided into three areas according to the process after the failure detection. A region B where the assist process can be continued (executed) by limiting the assist torque (steering assist torque) in this case (hereinafter also referred to as “assist limit”), and a region where the assist process cannot be continued (executed) when a failure occurs. C.

RAM103に記憶されるべきデータも、当該データが異常となった際にアシスト処理に及ぶ影響度に応じて、3つに分類されている。領域Aには、異常となってもアシスト処理に影響を殆ど与えない影響度の低いデータが記憶される。領域Bには、異常となってもアシストトルクを制限することでアシスト処理を継続できる影響度が中程度のデータが記憶される。領域Cには、異常となった場合にはアシスト処理を継続できない影響度が高いデータが記憶される。ここで、影響度が高いデータとは、アシスト処理を実行する場合に基本となるデータであり、例えば、アシストマップの操舵補助指令値を算出するためのデータである。   The data to be stored in the RAM 103 is also classified into three types according to the degree of influence on the assist process when the data becomes abnormal. In the area A, low-impact data that hardly affects the assist process even if an abnormality occurs is stored. In the region B, data having an intermediate degree of influence that allows the assist process to be continued by limiting the assist torque even if an abnormality occurs is stored. In the area C, data having a high influence level in which the assist process cannot be continued when an abnormality occurs is stored. Here, the data having a high degree of influence is data that is basic when the assist process is executed, for example, data for calculating the steering assist command value of the assist map.

さらに、領域Bは、アシスト処理を行う場合にその機能に応じて3つに分割されており、トルク制御を実行するために使用し、例えば、電流指令値を算出するために使用する領域B−1(第1の領域)と、トルク補償制御を実行するために使用し、例えば、その補償値を算出するために使用する領域B−2(第2の領域)と、モータ電流制御を実行するために使用する領域B−3(第3の領域)とを備えている。   Further, the region B is divided into three according to the function when the assist process is performed, and is used for executing the torque control, for example, the region B− used for calculating the current command value. 1 (first region), used to execute torque compensation control, for example, region B-2 (second region) used to calculate the compensation value, and motor current control Area B-3 (third area) used for this purpose.

図4は、MCU100の機能構成図(CPU101が制御プログラムを実行することにより実現する機能構成)を示す図である。MCU100は、図4に示すように、メモリ故障検出・アシスト可否判定部211と、フェールセーフ処理部212と、電流指令値制限部213、補償値制限部214と、デューティ制限部215とを備えている。   FIG. 4 is a diagram illustrating a functional configuration diagram of the MCU 100 (a functional configuration realized by the CPU 101 executing a control program). As shown in FIG. 4, the MCU 100 includes a memory failure detection / assist availability determination unit 211, a fail safe processing unit 212, a current command value limiting unit 213, a compensation value limiting unit 214, and a duty limiting unit 215. Yes.

メモリ故障検出・アシスト可否判定部211は、RAM103の故障診断を行い、RAM103の故障を検出した場合に、その故障領域に基づいて、アシスト処理が実行可能、アシスト制限することで実行可能、および実行不可能のいずれであるかを判定し、判定結果に基づいて、電流指令値制限部213、補償値制限部214、およびデューティ制限部215の制限ゲインを設定する。   The memory failure detection / assist availability determination unit 211 performs failure diagnosis of the RAM 103, and when a failure of the RAM 103 is detected, the assist process can be executed based on the failure area, and can be executed by limiting the assist. It is determined which is impossible, and the limiting gains of the current command value limiting unit 213, the compensation value limiting unit 214, and the duty limiting unit 215 are set based on the determination result.

具体的には、メモリ故障検出・アシスト可否判定部211は、故障アドレスが領域A(図3参照)である場合には、電流指令値制限部213、補償値制限部214、およびデューティ制限部215の現在の制限ゲインを維持する。   Specifically, the memory failure detection / assist availability determination unit 211 determines that the current command value limiter 213, the compensation value limiter 214, and the duty limiter 215 when the failure address is the region A (see FIG. 3). Maintain the current limit gain.

故障アドレスが領域Bである場合には、アシスト制限と判定して、さらに、故障アドレスが領域B−1、領域B−2、および領域B−3のいずれであるかを判定する。領域B−1である場合には、電流指令値制限部213の電流指令値制限ゲインを「所定値(ただし、0≦所定値<1)」に設定する。領域B−2である場合には、補償値制限部214の補償値制限ゲインを「所定値(ただし、0≦所定値<1)」に設定する。領域B−3である場合には、デューティ制限部215のデューティ制限ゲインを「所定値(ただし、0≦所定値<1)」に設定する。   When the failure address is the region B, it is determined that the assist is limited, and further, it is determined whether the failure address is the region B-1, the region B-2, or the region B-3. In the case of the region B-1, the current command value limiting gain of the current command value limiting unit 213 is set to “predetermined value (where 0 ≦ predetermined value <1)”. In the region B-2, the compensation value limiting gain of the compensation value limiting unit 214 is set to “predetermined value (where 0 ≦ predetermined value <1)”. In the case of the region B-3, the duty limit gain of the duty limiter 215 is set to “predetermined value (where 0 ≦ predetermined value <1)”.

故障アドレスが領域Cである場合には、アシスト処理を実行不可能と判断して、電流指令値制限部213の電流指令値制限ゲインを「0」、補償値制限部214の補償値制限ゲインを「0」、デューティ制限部215のデューティ制限ゲインを「0」に設定すると共に、アシスト不能通知をフェールセーフ処理部212に出力する。   If the failure address is in region C, it is determined that the assist process cannot be executed, the current command value limit gain of the current command value limiter 213 is set to “0”, and the compensation value limit gain of the compensation value limiter 214 is set. “0”, the duty limit gain of the duty limiter 215 is set to “0”, and an assist failure notification is output to the failsafe processor 212.

電流指令値制限部213は、トルク制御系モジュール500の電流指令値演算部504で決定された電流指令値Iref1に、メモリ故障検出・アシスト可否判定部211により設定される電流指令値制限ゲインを乗算して、トルク制御を制限する。   The current command value limiter 213 multiplies the current command value Iref1 determined by the current command value calculator 504 of the torque control system module 500 by the current command value limit gain set by the memory failure detection / assist availability determination unit 211. Thus, torque control is limited.

補償値制限部214は、補償制御系モジュール510で算出されるトルク補償を行うための補償値に、メモリ故障検出・アシスト可否判定部211により設定される補償値制限ゲインを乗算して、トルク補償制御を制限する。   The compensation value limiting unit 214 multiplies the compensation value for performing the torque compensation calculated by the compensation control system module 510 by the compensation value limiting gain set by the memory failure detection / assist availability determination unit 211 to thereby compensate the torque. Limit control.

デューティ制限部215は、モータ電流制御系モジュール520のPWM制御部550で算出されるPWM制御信号に、メモリ故障検出・アシスト可否判定部211により設定されるデューティ制限ゲインを乗算して、モータ電流制御を制限する。   The duty limiting unit 215 multiplies the PWM control signal calculated by the PWM control unit 550 of the motor current control system module 520 by the duty limiting gain set by the memory failure detection / assist availability determination unit 211, and performs motor current control. Limit.

フェールセーフ処理部212は、メモリ故障検出・アシスト可否判定部211からアシスト不能通知を受け取った場合に、フェールセーフ処理(アシスト処理を停止、操舵補助モータ20への通電を遮断、またはMCU100のリセット等)を実行する。   When the fail-safe processing unit 212 receives the assist failure notification from the memory failure detection / assistability determination unit 211, the fail-safe processing (stops assist processing, cuts off power to the steering assist motor 20, or resets the MCU 100, etc.) ).

また、MCU100は、図4に示すように、操舵トルクTおよび車速V等に基づいて電流指令値Iref1を算出するトルク制御系モジュール500と、各種のトルク補償を行う補償制御系モジュール510と、モータ電流のFB(フィードバック)制御を行うモータ電流制御系モジュール520等を備えている。つぎに、動作の概略を説明する。   Further, as shown in FIG. 4, the MCU 100 includes a torque control system module 500 that calculates a current command value Iref1 based on the steering torque T and the vehicle speed V, a compensation control system module 510 that performs various types of torque compensation, a motor A motor current control system module 520 or the like that performs current feedback (FB) control is provided. Next, an outline of the operation will be described.

まず、トルクセンサ10で検出された操舵トルクTと、車速センサ12で検出された車速Vとがアシストマップ501に入力され操舵補助指令値が算出される。さらに、補償制御系モジュール510で、例えば、収斂性、慣性、およびSATなどの補償値が算出される。かかる補償値は補償値制限部214で補償値制限ゲインが乗算された後、加算部502で操舵補助指令値に加算してトルク指令値Trefが決定される。   First, the steering torque T detected by the torque sensor 10 and the vehicle speed V detected by the vehicle speed sensor 12 are input to the assist map 501, and a steering assist command value is calculated. Further, the compensation control system module 510 calculates compensation values such as convergence, inertia, and SAT, for example. The compensation value is multiplied by the compensation value limiting gain in the compensation value limiting unit 214 and then added to the steering assist command value in the adding unit 502 to determine the torque command value Tref.

トルク指令値Trefは、位相補償部503で位相補償された後、電流指令値演算部504に入力される。そして、トルク指令値Trefに基づいて電流指令値演算部504で電流指令値Iref1が決定される。なお、ブラシレスモータでは、トルク指令値Trefの他に回転子のロータ角度も電流指令値演算部504に入力して電流指令値Iref1が決定される。電流指令値Iref1は、電流指令値制限部213で電流指令値制限ゲインが乗算されて、電流指令値Iref2となる。   The torque command value Tref is phase-compensated by the phase compensator 503 and then input to the current command value calculator 504. The current command value calculation unit 504 determines the current command value Iref1 based on the torque command value Tref. In the brushless motor, in addition to the torque command value Tref, the rotor angle of the rotor is also input to the current command value calculation unit 504 to determine the current command value Iref1. The current command value Iref1 is multiplied by a current command value limit gain by the current command value limiter 213 to become a current command value Iref2.

一方、操舵補助モータ20のモータ電流は、電流検出値Imとして、電流検出回路130で検出され、電流指令値Iref2とともに減算部521へ入力される。減算部521では、それらの偏差ΔI=Iref2−Imが算出され、PI(比例積分)制御部522に入力される。PI(比例積分)制御部522では、偏差ΔIの比例積分出力として、電圧制御値Vrefが出力される。また、電流指令値Iref2は、補助値演算部531に入力される。補助値演算部531で演算される補助値、例えば、Dead Time、EMF(逆起電力)、および弱め界磁制御の補助値が、加算部535で電圧制御値Vrefに加算される。加算部535の出力は、PWM制御部550に入力されて、PWM処理され、UVW各相のPWM制御信号が出力される。PWM制御信号は、デューティ制限部215でデューティ制御ゲインが乗算された後、FETプリドライバ回路110に出力され、FETプリドライバ回路110およびモータ駆動回路120を介して、操舵補助モータ20が駆動される。   On the other hand, the motor current of the steering assist motor 20 is detected by the current detection circuit 130 as the current detection value Im, and is input to the subtraction unit 521 together with the current command value Iref2. The subtraction unit 521 calculates the deviation ΔI = Iref2−Im and inputs it to the PI (proportional integration) control unit 522. A PI (proportional integration) control unit 522 outputs a voltage control value Vref as a proportional integration output of the deviation ΔI. The current command value Iref2 is input to the auxiliary value calculation unit 531. The auxiliary value calculated by the auxiliary value calculating unit 531, for example, Dead Time, EMF (back electromotive force), and auxiliary value for field weakening control are added to the voltage control value Vref by the adding unit 535. The output of the adding unit 535 is input to the PWM control unit 550, subjected to PWM processing, and a PWM control signal for each phase of UVW is output. The PWM control signal is multiplied by the duty control gain in the duty limiting unit 215 and then output to the FET pre-driver circuit 110, and the steering assist motor 20 is driven via the FET pre-driver circuit 110 and the motor drive circuit 120. .

図5は、MCU100の全体動作の概略を説明するためのフローチャートである。図5を参照して、MCU100の全体動作の概略を説明する。同図において、まず、IGがオンされると(ステップS1の「Yes」)、CPU101を初期化した後(ステップS2)、メモリ故障検出・アシスト可否判定部211はメモリ初期診断処理を実行する(ステップS3)。メモリ初期診断処理では、後述するRAM103の故障診断を行う(図6参照)。なお、メモリ初期診断処理でRAM103の故障を検出した場合には、その故障領域に基づいて、アシスト処理が実行可能か、実行不可能か、アシスト制限して実行可能かを判定する。アシスト処理を実行不可能と判定した場合には、アシスト処理を開始せず、また、アシスト処理を実行可能と判断した場合には、通常のアシスト処理を開始し、また、アシスト制限して実行可能と判定した場合には、アシスト制限してアシスト処理を開始する。   FIG. 5 is a flowchart for explaining an outline of the overall operation of the MCU 100. With reference to FIG. 5, an outline of the overall operation of the MCU 100 will be described. In the figure, first, when the IG is turned on ("Yes" in step S1), the CPU 101 is initialized (step S2), and then the memory failure detection / assistability determination unit 211 executes a memory initial diagnosis process ( Step S3). In the memory initial diagnosis process, failure diagnosis of the RAM 103 described later is performed (see FIG. 6). When a failure of the RAM 103 is detected in the memory initial diagnosis process, it is determined whether the assist process can be executed, cannot be executed, or can be executed with limited assistance based on the failure area. If it is determined that the assist process cannot be performed, the assist process is not started. If it is determined that the assist process can be performed, the normal assist process is started, and the assist process can be performed with limited assist. If it is determined, assist limitation is started and assist processing is started.

つづいて、RAM103を初期化した後(ステップS4)、アシスト処理を開始する(ステップS5)、アシスト処理の実行中に、所定周期でメモリ常時診断処理を実行する(ステップS6)。メモリ常時診断処理は、メモリ初期診断処理と同様なRAM103の故障診断を行い(図6参照)、RAM103の故障を検出した場合に、アシスト処理を実行不可能な故障と判定した場合には、アシスト処理を停止させる。   Subsequently, after the RAM 103 is initialized (step S4), an assist process is started (step S5), and a memory continuous diagnosis process is executed at a predetermined cycle during the execution of the assist process (step S6). In the memory continuous diagnosis process, the failure diagnosis of the RAM 103 is performed in the same manner as the initial memory diagnosis process (see FIG. 6). When the failure of the RAM 103 is detected and the assist process is determined to be impossible, the assist is performed. Stop processing.

この後、IGがOFFされていない場合には(ステップS7の「No」)、ステップS5に戻り、IGがOFFされた場合には(ステップS7の「Yes」)、操舵補助モータ20を停止させるための所定の停止処理を行って(ステップS8)、当該フローを終了する。   Thereafter, if the IG is not turned off (“No” in step S7), the process returns to step S5. If the IG is turned off (“Yes” in step S7), the steering assist motor 20 is stopped. Predetermined stop processing is performed (step S8), and the flow ends.

図6は、図5のメモリ初期診断処理S3およびメモリ常時診断処理S6におけるRAM診断処理の具体的な内容を説明するためのフローチャートである。同図において、メモリ故障検出・アシスト可否判定部211は、まず、初期診断であるか否かを判断する(ステップS21)。初期診断である場合には(ステップS21の「Yes」)、RAM103の領域Aの先頭アドレスを診断アドレスに設定する一方(ステップS22)、初期診断でない場合(ステップS21の「No」)、すなわち、常時診断である場合には、RAM103の領域Bの先頭アドレスを診断アドレスに設定する(ステップS27)。   FIG. 6 is a flowchart for explaining specific contents of the RAM diagnosis process in the memory initial diagnosis process S3 and the memory constant diagnosis process S6 of FIG. In the figure, the memory failure detection / assist availability determination unit 211 first determines whether or not an initial diagnosis is made (step S21). If it is an initial diagnosis (“Yes” in step S21), the head address of the area A of the RAM 103 is set as a diagnosis address (step S22), whereas if it is not an initial diagnosis (“No” in step S21), If the diagnosis is always performed, the head address of the area B of the RAM 103 is set as the diagnosis address (step S27).

メモリ故障検出・アシスト可否判定部211は、診断アドレスを設定した後、RAM103の診断アドレスのビットの診断を行って(ステップS23)、故障があるか否かを判定する(ステップS24)。診断アドレスに故障があるか否かの判断は、例えば、基準データを診断アドレスにライト/リードし、その一致を判断して、故障か否かを判定することができる。   After setting the diagnostic address, the memory failure detection / assistability determination unit 211 performs diagnosis of the bit of the diagnostic address in the RAM 103 (step S23) and determines whether there is a failure (step S24). The determination as to whether or not there is a failure in the diagnostic address can be made by, for example, writing / reading the reference data to the diagnostic address and determining whether or not there is a failure to determine whether or not there is a failure.

メモリ故障検出・アシスト可否判定部211は、診断アドレスに故障がない場合には(ステップS24の「Yes」)、ステップS25に移行する一方、診断アドレスに故障がある場合には(ステップS24の「No」)、診断アドレスをRAM103の故障アドレスに設定して、アシスト可否判定処理(図7参照)を実行する(ステップS29)。このアシスト可否判定処理では、後述するように、RAM103の故障した領域に基づいて、アシスト処理の継続が可能か、アシスト制限してアシスト処理を継続可能か、または、アシスト処理の継続が不可能でアシスト停止かを判定する。メモリ故障検出・アシスト可否判定部211は、アシスト可否判定処理の判定結果がアシスト継続またはアシスト制限であるか否かを判断する(ステップS30)。アシスト継続またはアシスト制限でない場合には(ステップS30の「No」)、アシスト不能通知をフェールセーフ処理部212に出力する。フェールセーフ処理部212は、アシスト不能通知を受け取ると、フェールセーフ処理を実行した後(ステップS31)、当該フローを終了する。他方、アシスト可否判定処理の判定結果がアシスト継続またはアシスト制限である場合には(ステップS30の「Yes」)、ステップS25に移行する。   If there is no failure in the diagnostic address (“Yes” in step S24), the memory failure detection / assist availability determination unit 211 proceeds to step S25, whereas if there is a failure in the diagnostic address (“ No ”), the diagnosis address is set to the failure address of the RAM 103, and the assist propriety determination process (see FIG. 7) is executed (step S29). In this assist propriety determination process, as will be described later, it is possible to continue the assist process based on the failure area of the RAM 103, to continue the assist process by limiting the assist, or to continue the assist process. It is determined whether the assist is stopped. The memory failure detection / assist availability determination unit 211 determines whether or not the determination result of the assist availability determination process is assist continuation or assist limitation (step S30). If the assist is not continued or the assist is not limited (“No” in step S30), an assist disabling notification is output to the fail safe processing unit 212. When the fail-safe processing unit 212 receives the assistance disabling notification, the fail-safe processing unit 212 executes the fail-safe processing (step S31), and then ends the flow. On the other hand, when the determination result of the assist propriety determination process is assist continuation or assist limitation (“Yes” in step S30), the process proceeds to step S25.

ステップS25では、メモリ故障検出・アシスト可否判定部211は、RAM103の次のアドレスを診断アドレスに設定し、診断アドレス>RAM103の最終アドレスであるか否かを判断する(ステップS26)。診断アドレス>RAM103の最終アドレスでない場合には(ステップS26の「No」)、ステップS23に戻り、当該診断アドレスの診断を行って故障ビットがあるか否かを判断し(ステップS24)、診断アドレス>RAM103の最終アドレスとなるまで(ステップS26の「Yes」)、同じ処理(ステップS23〜S25)を繰り返し実行する。   In step S25, the memory failure detection / assist availability determination unit 211 sets the next address of the RAM 103 as a diagnostic address, and determines whether or not the diagnostic address> the final address of the RAM 103 (step S26). If the diagnosis address is not the final address of the RAM 103 ("No" in step S26), the process returns to step S23 to determine whether or not there is a failure bit by diagnosing the diagnosis address (step S24). > The same processing (steps S23 to S25) is repeatedly executed until the final address of the RAM 103 is reached (“Yes” in step S26).

図7は、上記図6のステップS29のアシスト可否判定処理の詳細な内容を説明するためのフローチャートである。同図において、まず、メモリ故障検出・アシスト可否判定部211は、故障アドレスがRAM103の領域A(図3参照)であるか否かを判断する(ステップS41)。故障アドレスが領域Aである場合には(ステップS41の「Yes」)、判定結果=アシスト継続として(ステップS43)、電流指令値制限部213、補償値制限部214、およびデューティ制限部215の現在の電流指令値制限ゲイン、補償値制限ゲイン、およびデューティ制限ゲインをそれぞれ維持する。   FIG. 7 is a flowchart for explaining the detailed contents of the assist propriety determination process in step S29 of FIG. In the figure, first, the memory failure detection / assistability determination unit 211 determines whether or not the failure address is the area A of the RAM 103 (see FIG. 3) (step S41). When the failure address is the area A (“Yes” in step S41), the determination result = assist continuation (step S43), the current command value limiting unit 213, the compensation value limiting unit 214, and the current of the duty limiting unit 215 Current command value limiting gain, compensation value limiting gain, and duty limiting gain are maintained.

ステップS41において、故障アドレスがRAM103の領域Aでない場合には(ステップS41の「No」)、故障アドレスがRAM103の領域Bであるか否かを判断する(ステップS42)。故障アドレスがRAM103の領域Bである場合には(ステップS42の「Yes」)、判定結果=アシスト制限として(ステップS45)、制限ゲイン設定処理(図8参照)を行う。これにより、アシスト制限されたアシスト処理が行われる。   In step S41, when the failure address is not the area A of the RAM 103 (“No” in step S41), it is determined whether or not the failure address is the area B of the RAM 103 (step S42). When the failure address is the region B of the RAM 103 (“Yes” in step S42), the limit gain setting process (see FIG. 8) is performed with the determination result = assist restriction (step S45). As a result, assist processing with limited assist is performed.

他方、ステップS42において、故障アドレスがRAM103の領域Bでない場合(ステップS42の「No」)、すなわち、故障アドレスがRAM103の領域Cである場合には、判定結果=アシスト停止として(ステップS47)、電流指令値制限部213の電流指令値制限ゲインを「0」、補償値制限部214の補償値制限ゲインを「0」、デューティ制限部215のデューティ制限ゲインを「0」に設定すると共に、アシスト不能通知をフェールセーフ処理部212に出力する(ステップS48)。これにより、操舵補助モータ20に駆動信号が出力されなくなるため、アシスト処理が停止する。   On the other hand, when the failure address is not the region B of the RAM 103 in Step S42 (“No” in Step S42), that is, when the failure address is the region C of the RAM 103, the determination result = assist stop (Step S47). The current command value limiting unit 213 sets the current command value limiting gain to “0”, the compensation value limiting unit 214 sets the compensation value limiting gain to “0”, the duty limiting unit 215 sets the duty limiting gain to “0”, and assists. The impossibility notification is output to the fail safe processing unit 212 (step S48). As a result, the drive signal is not output to the steering assist motor 20, and the assist process is stopped.

図8は、上記図7のステップS46の制限ゲイン設定処理の詳細な内容を説明するためのフローチャートである。同図において、まず、メモリ故障検出・アシスト可否判定部211は、故障アドレスがRAM103の領域B−1(図3参照)であるか否かを判断する(ステップS51)。故障アドレスが領域B−1である場合には(ステップS51の「Yes」)、電流指令値制限部213の電流指令値制限ゲインを「所定値(ただし、0≦所定値<1)」に設定する(ステップS53)。   FIG. 8 is a flowchart for explaining the detailed contents of the limit gain setting process in step S46 of FIG. In the figure, first, the memory failure detection / assistability determination unit 211 determines whether or not the failure address is the area B-1 (see FIG. 3) of the RAM 103 (step S51). When the failure address is the area B-1 (“Yes” in step S51), the current command value limiting gain of the current command value limiting unit 213 is set to “predetermined value (where 0 ≦ predetermined value <1)”. (Step S53).

ステップS51において、故障アドレスが領域B−1でない場合には(ステップS51の「No」)、故障アドレスが領域B−2であるか否かを判断する(ステップS52)。故障アドレスが領域B−2である場合には(ステップS52の「Yes」)、補償値制限部214の補償値制限ゲインを「所定値(0≦所定値<1)」に設定する(ステップS54)。   In step S51, when the failure address is not the region B-1 (“No” in step S51), it is determined whether or not the failure address is the region B-2 (step S52). When the failure address is the area B-2 (“Yes” in step S52), the compensation value limiting gain of the compensation value limiting unit 214 is set to “predetermined value (0 ≦ predetermined value <1)” (step S54). ).

ステップS52において、故障アドレスが領域B−2でない場合(ステップS52の「No」)、すなわち、故障アドレスが領域B−3である場合には、デューティ制限部215のデューティ制限ゲインを「所定値(0≦所定値<1)」に設定する(ステップS55)。   In step S52, when the failure address is not the region B-2 (“No” in step S52), that is, when the failure address is the region B-3, the duty limit gain of the duty limiter 215 is set to “predetermined value ( 0 ≦ predetermined value <1) ”(step S55).

以上説明したように、上記実施例によれば、操舵補助モータ20を制御するアシスト処理を実行するCPU101と、CPU101の作業領域となるRAM103と、アシスト処理の実行前または実行中にRAM103の故障検出を行うメモリ故障検出・アシスト可否判定部211とを備え、RAM103は、故障がある場合でもアシストトルクを制限することで、アシスト処理を継続できる領域Bを有し、領域Bは、アシスト処理の機能に応じて複数に分割されており、メモリ故障検出・アシスト可否判定部211でRAM103の領域Bの故障を検出した場合には、アシストトルクを制限して、アシスト処理を実行または継続することとしたので、RAM103の領域Bに故障がある場合でも、アシストトルクを制限することで、アシスト処理を実施または継続することができ、RAMに故障がある場合でも可及的にアシスト処理を実行または継続することが可能となる。   As described above, according to the above embodiment, the CPU 101 that executes the assist process for controlling the steering assist motor 20, the RAM 103 that is the work area of the CPU 101, and the failure detection of the RAM 103 before or during the execution of the assist process. The RAM 103 has a region B in which the assist process can be continued by limiting the assist torque even when there is a failure, and the region B is a function of the assist process. When the memory failure detection / assistability determination unit 211 detects a failure in the area B of the RAM 103, the assist torque is limited and the assist process is executed or continued. Therefore, even if there is a failure in the area B of the RAM 103, by limiting the assist torque, Processing can be performed or continued, it is possible to perform or continue an assist process as much as possible even if there is a fault in the RAM.

また、RAM103の領域Bは、トルク制御で使用されるB−1領域を含み、メモリ故障検出・アシスト可否判定部211でB−1領域の故障を検出した場合には、トルク制御を制限して(例えば、電流指令値のゲイン補正)、アシスト処理を実行または継続することとしたので、RAM103のB−1領域が故障した場合でも、トルク制御を制限することで、アシスト処理を実行または継続することが可能となる。   The area B of the RAM 103 includes the area B-1 used for torque control. When the memory failure detection / assist availability determination unit 211 detects a failure in the area B-1, the torque control is limited. Since the assist process is executed or continued (for example, the gain correction of the current command value), the assist process is executed or continued by restricting the torque control even when the B-1 region of the RAM 103 fails. It becomes possible.

また、RAM103の領域Bは、トルク補償制御に使用されるB−2領域を含み、メモリ故障検出・アシスト可否判定部211でB−2領域の故障を検出した場合には、トルク補償制御を制限して(例えば、補償値のゲイン補正)、アシスト処理を実行または継続することとしたので、RAM103のB−2領域が故障した場合でも、トルク補償制御を制限することで、アシスト処理を実行または継続することが可能となる。   The area B of the RAM 103 includes the area B-2 used for torque compensation control. When the memory failure detection / assist availability determination unit 211 detects a failure in the area B-2, the torque compensation control is limited. (For example, compensation value gain correction), the assist process is executed or continued. Even when the B-2 area of the RAM 103 fails, the assist process is executed by limiting the torque compensation control. It is possible to continue.

また、RAM103の領域Bは、モータ電流制御に使用されるB−3領域を含み、メモリ故障検出・アシスト可否判定部211でB−3領域の故障を検出した場合には、モータ電流制御を制限して(例えば、PWM制御信号のデューティのゲイン補正)、アシスト処理を実行または継続することとしたので、RAM103のB−3領域が故障した場合でも、モータ電流制御を制限することで、アシスト処理を実行または継続することが可能となる。   The area B of the RAM 103 includes the area B-3 used for motor current control. When the memory failure detection / assist availability determination unit 211 detects a failure in the area B-3, the motor current control is limited. Since the assist process is executed or continued (for example, the gain correction of the duty of the PWM control signal), the assist process is performed by limiting the motor current control even when the B-3 region of the RAM 103 fails. Can be executed or continued.

このように、故障した領域を使用している機能の出力値を制限し、故障した領域を使用していない機能の出力値は制限しない構成となっているので、操舵への影響を最小限に抑えてアシスト処理を実行または継続することが可能となる。   In this way, the output value of the function that uses the failed area is limited, and the output value of the function that does not use the failed area is not limited. It is possible to execute or continue the assist process while suppressing.

また、メモリ故障検出・アシスト可否判定部211は、アシスト処理の実行中にRAM103の故障検出を行う場合には(メモリ常時診断処理)、領域Aの故障検出を行わないこととしたので、メモリ診断に要する時間を短縮してCPUの負荷を軽減することが可能となる。   Further, the memory failure detection / assistability determination unit 211 determines that the failure detection of the area A is not performed when failure detection of the RAM 103 is performed during the execution of the assist processing (memory constant diagnosis processing). CPU load can be reduced by shortening the time required for the process.

なお、上記実施例では、RAM103を領域A〜領域Cの3つの領域に分割することとしたが、分割数はこれに限られるものではなく、2または4以上の領域に分割することにしてもよい。   In the above embodiment, the RAM 103 is divided into three areas A to C. However, the number of divisions is not limited to this, and the area may be divided into two or four or more areas. Good.

また、上記実施例では、領域Bを、アシスト処理で使用する機能(トルク制御、トルク補償制御、およびモータ電流制御)に応じて、B−1〜B−3領域の3つの領域に分割することとしたが、分割する機能の数はこれに限られるものではなく、例えば、モータ電流の補助値制御を行う機能を分割することにしてもよい。また、トルク制御、トルク補償制御、およびモータ電流制御を制限する方法は、上記実施例に限られるものではない。   Moreover, in the said Example, area | region B is divided | segmented into three area | regions of B-1-B-3 area | region according to the function (torque control, torque compensation control, and motor current control) used by an assist process. However, the number of functions to be divided is not limited to this. For example, the function for performing auxiliary value control of the motor current may be divided. Further, the method for limiting the torque control, the torque compensation control, and the motor current control is not limited to the above embodiment.

また、上記実施例では、RAM103の故障検出を一例として説明したが、本発明はこれに限られるものではなく、CPUの作業領域として使用されるレジスタについても同様な方法でアシスト可能な故障か否かを判定することができる。   In the above-described embodiment, the failure detection of the RAM 103 has been described as an example. However, the present invention is not limited to this, and whether or not a register used as a work area of the CPU can be assisted by a similar method is determined. Can be determined.

また、上記実施例では、メモリ故障検出・アシスト可否判定およびフェールセーフ処理をCPU101で実行することとしたが、別個のデバイスで実施することにしてもよい。   In the above embodiment, the CPU 101 executes the memory failure detection / assistability determination and the fail safe process, but may be executed by a separate device.

本発明に係る電動パワーステアリング装置、そのメモリ故障検出方法、およびコンピュータが実行可能なプログラムは、CPUが作業用領域として使用するメモリが故障した場合でも、可及的に操舵補助処理を実行または継続する場合に有用である。   The electric power steering apparatus according to the present invention, its memory failure detection method, and a computer-executable program execute or continue steering assist processing as much as possible even when a memory used by the CPU as a work area fails. Useful when you want.

電動パワーステアリング装置の一般的な構成を示す図である。It is a figure which shows the general structure of an electric power steering apparatus. 図1のコントロールユニットのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the control unit of FIG. RAMのメモリ構成例を示す図である。It is a figure which shows the memory structural example of RAM. MCUの機能構成図(CPUが制御プログラムを実行することにより実現する機能構成)を示す図である。It is a figure which shows the functional block diagram (functional structure implement | achieved when CPU executes a control program) of MCU. MCUの動作の概略を説明するためのフローチャートである。It is a flowchart for demonstrating the outline of operation | movement of MCU. メモリ初期診断処理およびメモリ常時診断処理におけるRAM診断処理を説明するためのフローチャートである。5 is a flowchart for explaining a RAM diagnosis process in a memory initial diagnosis process and a memory constant diagnosis process. アシスト可否判定処理の詳細を説明するためのフローチャートである。It is a flowchart for demonstrating the detail of an assist availability determination process. 制限ゲイン設定処理の詳細な内容を説明するためのフローチャートである。It is a flowchart for demonstrating the detailed content of a limiting gain setting process.

符号の説明Explanation of symbols

1 操向ハンドル
2 コラム軸
3 減速ギヤ
4a、4b ユニバーサルジョイント
5 ピニオンラック機構
6 タイロッド
10 トルクセンサ
12 車速センサ
14 バッテリ
20 操舵補助モータ
30 コントロールユニット
100 MCU(マイクロコントロールユニット)
101 CPU(制御手段)
102 ROM
103 RAM
104 EEPROM
105 A/D変換器
106 インターフェース
107 バス
110 FETプリドライバ回路
120 モータ駆動回路(インバータ)
130 電流検出回路
140 位置検出回路
211 メモリ故障検出・アシスト可否判定部
212 フェールセーフ処理部
213 電流指令値制限部
214 補償値制限部
215 デューティ制限部
500 トルク制御系モジュール
510 補償制御系モジュール
520 モータ電流制御系モジュール
DESCRIPTION OF SYMBOLS 1 Steering handle 2 Column shaft 3 Reduction gear 4a, 4b Universal joint 5 Pinion rack mechanism 6 Tie rod 10 Torque sensor 12 Vehicle speed sensor 14 Battery 20 Steering auxiliary motor 30 Control unit 100 MCU (micro control unit)
101 CPU (control means)
102 ROM
103 RAM
104 EEPROM
105 A / D converter 106 Interface 107 Bus 110 FET pre-driver circuit 120 Motor drive circuit (inverter)
DESCRIPTION OF SYMBOLS 130 Current detection circuit 140 Position detection circuit 211 Memory failure detection / assistability determination unit 212 Fail safe processing unit 213 Current command value limiting unit 214 Compensation value limiting unit 215 Duty limiting unit 500 Torque control system module 510 Compensation control system module 520 Motor current Control system module

Claims (7)

車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置において、
前記操舵補助モータを制御する操舵補助処理を実行する制御手段と、
前記制御手段の作業領域となるメモリと、
前記操舵補助処理の実行前または実行中に前記メモリの故障検出を行うメモリ故障検出手段と、
を備え、
前記メモリは、故障しても前記操舵補助処理を実行できる第1の領域と、故障がある場合でも前記操舵補助トルクを制限することで、当該操舵補助処理を実行できる第2の領域と、を有し、当該第2の領域は、前記操舵補助処理の機能に応じて複数に分割されており、
前記メモリ故障検出手段で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続し、
前記メモリ故障検出手段は、前記操舵補助処理の実行中に前記メモリの故障検出を行う場合には、前記第1の領域の故障検出を行わないこと
を特徴とする電動パワーステアリング装置。
Based on the steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the current detection value of the steering assist motor that applies the steering assist force to the steering system, the steering assist In the electric power steering device for controlling the motor,
Control means for executing steering assist processing for controlling the steering assist motor;
A memory serving as a work area for the control means;
Memory failure detection means for detecting a failure of the memory before or during execution of the steering assist process;
With
The memory includes a first region that can perform the steering assist processing also failed, by limiting the steering assist torque even when there is a failure, a second region that can perform the steering assist process, the And the second region is divided into a plurality according to the function of the steering assist process,
If the memory failure detection means detects a failure in the area of the memory, the steering assist torque is limited and the steering assist process is executed or continued .
The electric power steering apparatus, wherein the memory failure detection means does not detect a failure in the first area when the failure detection of the memory is performed during the steering assist process. .
前記メモリの前記領域は、トルク制御で使用される第1の領域を含み、
前記メモリ故障検出手段で前記メモリの前記第1の領域の故障を検出した場合には、前記トルク制御を制限して、前記操舵補助処理を実行または継続することを特徴とする請求項1に記載の電動パワーステアリング装置。
The area of the memory includes a first area used in torque control;
2. The steering assist process is executed or continued by limiting the torque control when the memory failure detection unit detects a failure in the first area of the memory. Electric power steering device.
前記メモリの前記領域は、トルク補償制御に使用される第2の領域を含み、
前記メモリ故障検出手段で前記メモリの前記第2の領域の故障を検出した場合には、前記トルク補償制御を制限して、前記操舵補助処理を実行または継続することを特徴とする請求項1または請求項2に記載の電動パワーステアリング装置。
The area of the memory includes a second area used for torque compensation control;
The steering assist process is executed or continued by limiting the torque compensation control when the memory failure detection means detects a failure in the second area of the memory. The electric power steering apparatus according to claim 2.
前記メモリの前記領域は、モータ電流制御に使用される第3の領域を含み、
前記メモリ故障検出手段で前記メモリの前記第3の領域の故障を検出した場合には、前記モータ電流制御を制限して、前記操舵補助処理を実行または継続することを特徴とする請求項1〜3のいずれか1つに記載の電動パワーステアリング装置。
The area of the memory includes a third area used for motor current control;
2. The steering assist process is executed or continued by limiting the motor current control when the memory failure detection unit detects a failure in the third area of the memory . the electric power steering apparatus according to any one of the three.
前記メモリはランダムアクセスメモリであることを特徴とする請求項1〜4のいずれか1つに記載の電動パワーステアリング装置。   The electric power steering apparatus according to claim 1, wherein the memory is a random access memory. 車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置のメモリ故障検出方法において、
前記操舵補助モータを制御する操舵補助処理を実行する制御手段の作業領域となるメモリに対して、前記操舵補助処理の実行前または実行中に、その故障検出を行う工程と、
を含み、
前記メモリは、故障しても前記操舵補助処理を実行できる第1の領域と、故障がある場合でも前記操舵補助トルクを制限することで、当該操舵補助処理を継続できる第2の領域と、を有し、当該第2の領域は、前記操舵補助処理の機能に応じて複数に分割されており、
前記故障検出を行う工程で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続し、
前記故障検出を行う工程は、前記操舵補助処理の実行中に前記メモリの故障検出を行う場合には、前記第1の領域の故障検出を行わないこと
を特徴とする電動パワーステアリング装置のメモリ故障検出方法。
Based on the steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the current detection value of the steering assist motor that applies the steering assist force to the steering system, the steering assist In the memory failure detection method of the electric power steering device for controlling the motor,
A step of detecting a failure of a memory serving as a work area of a control means for performing steering assist processing for controlling the steering assist motor before or during execution of the steering assist processing;
Including
The memory includes a first region that can perform the steering assist processing also failed, by limiting the steering assist torque even when there is a failure, a second region can continue the steering assist process, the And the second region is divided into a plurality according to the function of the steering assist process,
When a failure in the area of the memory is detected in the step of performing the failure detection, the steering assist torque is limited, and the steering assist process is executed or continued ,
The electric power steering characterized in that the step of performing the failure detection does not perform the failure detection of the first region when the failure of the memory is detected during the execution of the steering assist process. Device memory failure detection method.
車両のステアリング系に発生する操舵トルクおよび前記車両の速度に基づいて演算した操舵補助指令値と、前記ステアリング系に操舵補助力を付与する操舵補助モータの電流検出値とに基づいて、前記操舵補助モータを制御する電動パワーステアリング装置に搭載されるプログラムにおいて、
前記操舵補助モータを制御する操舵補助処理を実行する制御手段の作業領域となるメモリに対して、前記操舵補助処理の実行前または実行中に、その故障検出を行う工程と、
をコンピュータに実行させ、
前記メモリは、故障しても前記操舵補助処理を実行できる第1の領域と、故障がある場合でも前記操舵補助トルクを制限することで、当該操舵補助処理を継続できる第2の領域と、を有し、当該第2の領域は、前記操舵補助処理の機能に応じて複数に分割されており、
前記故障検出を行う工程で前記メモリの前記領域の故障を検出した場合には、前記操舵補助トルクを制限して、前記操舵補助処理を実行または継続し、
前記故障検出を行う工程は、前記操舵補助処理の実行中に前記メモリの故障検出を行う場合には、前記第1の領域の故障検出を行わないこと
を特徴とするコンピュータが実行可能なプログラム。
Based on the steering assist command value calculated based on the steering torque generated in the steering system of the vehicle and the speed of the vehicle, and the current detection value of the steering assist motor that applies the steering assist force to the steering system, the steering assist In the program installed in the electric power steering device that controls the motor,
A step of detecting a failure of a memory serving as a work area of a control means for performing steering assist processing for controlling the steering assist motor before or during execution of the steering assist processing;
To the computer,
The memory includes a first region that can perform the steering assist processing also failed, by limiting the steering assist torque even when there is a failure, a second region can continue the steering assist process, the And the second region is divided into a plurality according to the function of the steering assist process,
When a failure in the area of the memory is detected in the step of performing the failure detection, the steering assist torque is limited, and the steering assist process is executed or continued ,
The step of performing the failure detection is performed by a computer characterized by not performing failure detection of the first area when performing failure detection of the memory during execution of the steering assist process. Possible program.
JP2008102740A 2008-04-10 2008-04-10 Electric power steering device Active JP5169412B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008102740A JP5169412B2 (en) 2008-04-10 2008-04-10 Electric power steering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008102740A JP5169412B2 (en) 2008-04-10 2008-04-10 Electric power steering device

Publications (2)

Publication Number Publication Date
JP2009248923A JP2009248923A (en) 2009-10-29
JP5169412B2 true JP5169412B2 (en) 2013-03-27

Family

ID=41310006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008102740A Active JP5169412B2 (en) 2008-04-10 2008-04-10 Electric power steering device

Country Status (1)

Country Link
JP (1) JP5169412B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4052099B2 (en) * 2002-11-18 2008-02-27 株式会社ジェイテクト Motor control device
JP4184354B2 (en) * 2005-03-23 2008-11-19 三菱電機株式会社 control unit
JP2007253766A (en) * 2006-03-23 2007-10-04 Nsk Ltd Electric power steering system

Also Published As

Publication number Publication date
JP2009248923A (en) 2009-10-29

Similar Documents

Publication Publication Date Title
JP5396948B2 (en) Motor control device and electric power steering device
JP6635129B2 (en) Electric power steering device
US8710775B2 (en) Electric power steering apparatus
JP5402336B2 (en) Motor control device and electric power steering device
US8272474B2 (en) Electric power steering system
WO2010092759A1 (en) Motor control device and electric power steering device
JP5338969B2 (en) Power state diagnosis method and apparatus
JP2017226305A (en) Electric power steering device
JP2008290664A (en) Electric power steering device
US20210067081A1 (en) Motor control device
JP2008172896A (en) Controller of vehicular motor
JP2008137486A (en) Electric power steering device
JP5169410B2 (en) Electric power steering device
JP2009056820A (en) Control device of electric power steering device
JP5169411B2 (en) Electric power steering device
JP2009046005A (en) Electric power steering device
JP5169412B2 (en) Electric power steering device
JP2013216276A (en) Electric power steering device
JP2010188796A (en) Electric power steering device
JP2007283916A (en) Electric power steering control device and method
JP4952340B2 (en) Electric power steering device
JP2009023582A (en) Electric power steering device
JP2008273263A (en) Control device of electric power steering device
JP5035744B2 (en) Electric power steering control device and method
JP2020078184A (en) 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: 20110112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120814

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120928

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121217

R150 Certificate of patent or registration of utility model

Ref document number: 5169412

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250