JP2009202612A - Electric power steering device - Google Patents
Electric power steering device Download PDFInfo
- Publication number
- JP2009202612A JP2009202612A JP2008043771A JP2008043771A JP2009202612A JP 2009202612 A JP2009202612 A JP 2009202612A JP 2008043771 A JP2008043771 A JP 2008043771A JP 2008043771 A JP2008043771 A JP 2008043771A JP 2009202612 A JP2009202612 A JP 2009202612A
- Authority
- JP
- Japan
- Prior art keywords
- mcu
- synchronization signal
- clock
- main mcu
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Steering Control In Accordance With Driving Conditions (AREA)
- Power Steering Mechanism (AREA)
Abstract
Description
本発明は、車両の操舵系にモータによる操舵補助力を付与するようにした電動パワーステアリング装置に関し、特に電動パワーステアリング装置に備えられた制御用コンピュータ(CPU、MPU(Micro Processor Unit)、MCU(Micro Controller Unit)など)のクロック異常を精度良く効率的に検出して信頼性を高めた電動パワーステアリング装置に関する。 The present invention relates to an electric power steering apparatus in which a steering assist force by a motor is applied to a steering system of a vehicle, and in particular, a control computer (CPU, MPU (Micro Processor Unit), MCU ( The present invention relates to an electric power steering apparatus that detects a clock abnormality of a Micro Controller Unit) etc. with high accuracy and efficiently.
車両のステアリング装置をモータの回転力で補助負荷付勢する電動パワーステアリング装置は、モータの駆動力を減速機を介してギア又はベルト等の伝達機構により、ステアリングシャフト或いはラック軸に補助負荷付勢するようになっている。かかる従来の電動パワーステアリング装置は、アシストトルク(操舵補助力)を正確に発生させるため、モータ電流のフィードバック制御を行っている。フィードバック制御は、電流指令値とモータ電流値との差が小さくなるようにモータ印加電圧を調整するものであり、モータ印加電圧の調整は、一般的にPWM(パルス幅変調)制御のデュ−ティ比の調整で行っている。 An electric power steering device for energizing a vehicle steering device with an auxiliary load by the rotational force of a motor energizes an auxiliary load to a steering shaft or a rack shaft by a transmission mechanism such as a gear or a belt via a reduction gear. It is supposed to be. Such a conventional electric power steering apparatus performs feedback control of motor current in order to accurately generate assist torque (steering assist force). In feedback control, the motor applied voltage is adjusted so that the difference between the current command value and the motor current value becomes small. Generally, the adjustment of the motor applied voltage is a duty of PWM (pulse width modulation) control. The ratio is adjusted.
ここで、電動パワーステアリング装置の一般的な構成を図4に示して説明すると、ハンドル1のコラム軸2は減速ギア3、ユニバーサルジョイント4a及び4b、ピニオンラック機構5を経て操向車輪のタイロッド6に連結されている。コラム軸2には、ハンドル1の操舵トルクを検出するトルクセンサ10が設けられており、ハンドル1の操舵力を補助するモータ20が、減速ギア3を介してコラム軸2に連結されている。パワーステアリング装置を制御するコントロールユニット30には、バッテリ14から電力が供給されると共に、イグニッションキー11を経てイグニッション信号が入力され、コントロールユニット30は、トルクセンサ10で検出された操舵トルクThと車速センサ12で検出された車速Vhとに基づいてアシスト指令の操舵補助指令値Iの演算を行い、演算された操舵補助指令値Iに基づいてモータ20に供給する電流を制御する。
Here, the general configuration of the electric power steering apparatus will be described with reference to FIG. It is connected to. The column shaft 2 is provided with a
図5はコントロールユニット30の構成例を示しており、コントロールユニット30は、操舵トルクTh、車速Vh、モータ電流iやモータ角度θに基づいてフィードバック制御や電流制御、演算処理等を実施する制御装置として主MCU100と、主MCU100と同様の制御や演算処理を行って信頼性を高めるために相互監視する副MCU110と、主MCU100からのカウンタクリア信号CLRに基づいてのハングアップや暴走等による異常を検出した場合に、リセット信号Rsを出力して主MCU100に入力すると共に、モータ20を停止させるモータ停止信号Asを出力してFETプリドライバ回路37に入力するWDT(Watch Dog Timer)35と、主MCU100からの通電信号Du、Dv、Dwに基づいて正の駆動信号Up、Vp、Wp及び負の駆動信号Un、Vn、Wnを3相FETブリッジのモータ駆動回路(インバータ)36に入力し、モータ駆動回路36の各FETをON/OFF制御することでモータ20を駆動制御するFETプリドライバ回路37と、モータ20への3相電流(Iu、Iv、Iw)に基づいてモータ電流iを検出するモータ電流検出回路38と、モータ20に回転角センサとして取付けられたレゾルバ21からの出力信号に基づいてモータ角度θを検出する位置検出回路39と、バッテリ14からの電源電圧Vを主MCU100からのスイッチ信号SWによってモータ駆動回路36に供給するスイッチ回路31とで構成されている。また、モータ20へ供給される電流Iu及びIwはそれぞれ電流検出部32U及び32Wで検出され、モータ電流検出回路38に入力される構成となっている。
FIG. 5 shows a configuration example of the
主MCU100は、車種固有のIDやパラメータ等を書き換え可能に記憶保持するEEPROM(Electronically Erasable Programmable ROM)180と、CAN(Controller Area Network)に接続された各種センサ系の情報を送受する入出力インタフェース(I/F)102と、制御プログラムやパラメータ等の固定値を格納するROM106と、操舵トルクTh、モータ電流i、モータ角度θ等のアナログ信号をデジタル信号に変換するA/D変換器103と、EEPROM180やROM106に格納された制御プログラムやパラメータ等に基づいて演算処理するCPU101と、CPU101の演算処理結果を一時的に記憶保持するRAM107とで構成され、双方向性コモンバス108によって相互に接続されている。また、主MCU100と副MCU110とは、クロック同期式で相互通信可能な状態で接続されており、主MCU100は、後述するクロック制御部によって任意の周波数に調整された動作クロックでCPU101によって演算処理を実行し、副MCU110とクロック同期式の通信を実行する際には、副MCU110に通信要求を通知した後、予め設定された所定の周期でHigh/Lowとを繰り返す同期信号CSを副MCUに送信する。つまり、主MCU100は、副MCU110に対して、同期信号CSに合わせてデータD1を副MCU110へ送信する。一方、副MCU110は、受信した同期信号CSに合わせて主MCU100からデータD1を受信すると共に、データD2を主MCU100へ送信し、副MCU110と相互通信可能に構成されている。
The
副MCU110は、制御プログラムやパラメータ等の固定値を格納するROM116と、D/A変換器118からのアナログ信号Saをデジタル信号に変換するA/D変換器113と、ROM116に格納された制御プログラムやパラメータ等に基づいて演算処理するCPU111と、CPU111の演算処理結果を一時的に記憶保持するRAM117とで構成されている。さらに副MCU110は、上述したように主MCU100との間でクロック同期式の通信を行っており、主MCU100から通信要求の通知を受けると、同期信号CSに合わせて主MCU100からのデータD1を受信すると共に、主MCU100へデータD2を送信し、主MCU100と相互通信可能に構成されている。
The
このように構成された主MCU100と副MCU110において、副MCU110は、デジタル出力部112から所定のデジタル信号が出力されると、D/A変換器118によって変換されたアナログ信号Saが主MCU100のA/D変換器103に入力されると共に、副MCU110のA/D変換器113に入力されて再度デジタル信号に変換される。主MCU100は、副MCU110から入力されたアナログ信号SaをA/D変換器103でデジタル信号に変換して所定の演算を行い、同期信号CSに合わせて演算結果を副MCU110に入力する。また、副MCU110は、アナログ信号Saを自身のA/D変換器113でデジタル信号に変換して主MCU100と同様の演算を行い、同期信号CSに合わせて演算結果を主MCU100に入力する。そして、主MCU100は、自身の演算結果と副MCU110から入力された演算結果とを比較して誤差がないか確認し、同様に副MCU110は、自身の演算結果と主MCU100から入力された演算結果とを比較して誤差がないか確認することで、主MCU100と副MCU110とが相互監視を行う2重系となっている。例えば、主MCU100の演算結果と副MCU110の演算結果が相違し、システム異常と判断してアシストを停止する必要がある重大な異常を検出した場合には、主MCU100はスイッチ信号SWを出力し、スイッチ回路31をOFFにしてモータ駆動回路36への電源電圧Vの供給を遮断する。
In the
このような、2つのMCUを搭載した電動パワーステアリング装置では、上述の2つのMCUによる相互監視によって監視を行うほか、主MCUが故障した場合には、電動パワーステアリング装置のシステムが中断されないようにするため、副MCUが主MCUの演算を肩代わりするように切替制御を行うものがある。つまり、副MCUが主MCUと同様の演算を行うと共に、主MCUによって求められた演算値と副MCUによって求められた演算値とを選択的に切替える切替ロジックを備えて構成され、異常が検出された場合、正常なMCUからの演算値を採用するものがある。 In such an electric power steering apparatus equipped with two MCUs, monitoring is performed by mutual monitoring by the two MCUs described above, and when the main MCU fails, the system of the electric power steering apparatus is not interrupted. For this reason, there is one that performs switching control so that the sub MCU takes over the calculation of the main MCU. That is, the sub MCU performs the same calculation as that of the main MCU, and includes a switching logic that selectively switches between the calculation value obtained by the main MCU and the calculation value obtained by the sub MCU, and an abnormality is detected. In some cases, a calculation value from a normal MCU is used.
この場合、システム全体の故障率は、2つの制御装置(MCU)が共に故障する率となり、極めて小さい値とすることができる。しかし、もし2つの制御装置が同時に故障した場合、モータ電流を急激に遮断するので、ハンドルの操舵感覚が急変してしまう問題がある。 In this case, the failure rate of the entire system is a rate at which the two control units (MCUs) both fail, and can be an extremely small value. However, if the two control devices fail at the same time, the motor current is suddenly interrupted, causing a problem that the steering feeling of the steering wheel changes suddenly.
かかる問題を解決する装置として、例えば特開平4−41960号公報(特許文献1)に示される車両用制御装置があり、特許文献1に示される車両用制御装置では、制御装置のマイコンが故障したときに、車両の運転上の危機を生じないようにした。即ち、同じ制御処理を行い正常に一定周期のパルスを出力する2個のマイクロコンピュータと、2個のマイクロコンピュータからの制御出力を選択して制御対象へ印加する切替手段と、制御対象への制御電流供給経路に挿入されたスイッチ手段を備えると共に、各マイクロコンピュータは、相手側マイクロコンピュータの上記パルスの周期若しくは周波数に異常を検出したときは自マイクロコンピュータの制御出力を制御停止時の状態に徐々に近づけかつ上記制御出力が所定の状態になったとき制御停止信号を出力し、上記切替手段は、上記パルスを監視して一方のパルスの周期を出力していない方のマイクロコンピュータからの制御出力を選択して制御対象へ出力し、また両マイクロコンピュータの上記パルスの異常を検出したときあるいは少なくとも一方のマイクロコンピュータより上記制御停止信号が出力されたときは上記スイッチ出力をオフとするようにしている。
しかしながら、特許文献1の装置では、主MCU及び副MCUが同じ制御処理を行って比較すると共に、内蔵されたウォッチドッグタイマによって異常を検出しているが、ウォッチドッグタイマは、CR発振回路によって発生されるパルス信号に基づいて異常を検出するものや、負荷の少ないプログラム処理でウォッチドッグタイマ機能を実行させて異常を検出するようなものであり、一般的に検出精度が低く、使用環境によっても大きな誤差を生じてしまう恐れがあり、また異常を検出した場合には、直ちにリセット処理を実行してしまうという問題がある。
However, in the device of
ここで、主MCU100のハングアップや暴走等による異常を監視するウォッチドッグタイマの例を図6に示し、さらに詳しく説明する。
Here, an example of a watchdog timer for monitoring an abnormality caused by hang-up or runaway of the
主MCU100に搭載されたクロック制御部109は、入力される周波数を逓倍にする逓倍回路や低周波に変換する分周回路によって任意の周波数が得られるように構成されており、発振素子200から所定の発振周波数f1が入力されると、予め設定された任意の周波数に調整して動作クロックを発生させる。CPU101は、クロック制御部109によって発生された動作クロックに基づいて演算処理を実行し、動作するようになっている。
The
WDT35は、ウォッチドッグタイマ機能を備えたICチップの一例であり、監視タイマ352は、CR発振回路351のパルス信号Pで計数すると共に、設定時間が経過するとタイムアップする機能を備えている。また、監視タイマ352の計数値は、主MCU100から予め設定された間隔で入力されるカウンタクリア信号CLR(例えば、エッジが10ms)によってクリアされるようになっており、設定時間(例えば、マージン10倍としてエッジが100ms)を超えるとタイムアップとなる。つまり、WDT35は、カウンタクリア信号CLRが設定時間を超えても入力されない場合に、主MCU100の実行プログラムに異常(ハングアップや暴走等)が発生していると判定し、主MCU100のシステムをリセットするリセット信号Rsを出力するようになっている。
The WDT 35 is an example of an IC chip having a watchdog timer function, and the
ここで、例えば発振素子200の発振周波数f1を10MHzとし、主MCU100のクロック制御部109に入力され、クロック制御部109において“×4”に逓倍され、40MHzに調整された動作クロックによってCPU101が動作している場合、上述した10ms毎のカウンタクリア信号CLRで設定時間100msを超えた時点で、異常を検出するようなWDT35では、発振素子200の異常、MCU100と発振素子200との間に断続的な断線やクロック制御部109に異常が発生しても、検出精度が低いことから、その異常を検出することができない。つまり、例えばMCU100に搭載されたクロック制御部109の異常によって、動作クロック40MHzが10MHzに低下し、CPU101の動作が遅くなり、アシストトルクの低下や操舵性が悪化した場合であっても、マージンを10倍程度に設定されたカウンタクリア信号CLRでは、クロック異常を検出できずに「正常」と判定してしまう。また、検出精度を上げるためにWDT35のマージンを4倍程度に設定した場合、ウォッチドッグタイマでは、異常を検出すると直ちにリセット動作に移行してしまうため、発振素子の異常、発振素子からMCUまでの断続的な断線やクロック制御部の異常等を、余裕を持たせて精度良く検出するには不向きである。
Here, for example, the oscillation frequency f1 of the
このように、ウォッチドッグタイマは、MCUによって実施されるプログラムの異常や演算処理のハングアップや暴走等をコストを抑えて容易に検出することはできるが、MCUの動作クロックや発振素子の周波数となるような高い周波数の異常を、精度良く検出するには不十分であり、またウォッチドッグタイマによって異常が検出されると、直ちにリセット動作に移行されて一時的に制御が停止してしまうため、さらなる改善が望まれている。 As described above, the watchdog timer can easily detect abnormalities in the program executed by the MCU, hang-up or runaway of the arithmetic processing, etc. at a reduced cost, but the operation clock of the MCU and the frequency of the oscillation element It is not enough to detect such high frequency anomalies with high accuracy, and if an anomaly is detected by the watchdog timer, it immediately shifts to reset operation and temporarily stops control. Further improvements are desired.
本発明は上述のような事情によりなされたものであり、本発明の目的は、主MCUのクロック異常を、副MCUによって、精度良く効率的に検出することにより、より信頼性の高い電動パワーステアリング装置を提供することにある。 The present invention has been made under the circumstances as described above, and an object of the present invention is to detect a clock abnormality of the main MCU accurately and efficiently by the sub MCU, thereby achieving a more reliable electric power steering. To provide an apparatus.
本発明は、発振素子からの発振信号に基づいて動作クロックを発生するクロック制御部を各々有する主MCU及び副MCUを具備しており、前記主MCUは、前記副MCUと相互通信可能にするために同期信号を前記副MCUに送信する同期信号送信部を備え、前記副MCUは、前記主MCUから受信した前記同期信号に合わせて前記主MCUと前記相互通信を行う同期信号受信部を備え、前記同期信号送信部から前記同期信号受信部へ前記同期信号を送信するクロック信号線を備えた電動パワーステアリング装置に関し、本発明の上記目的は、前記副MCUが、前記同期信号の所定倍の時間周期でパルス信号を発信するタイマと、前記タイマからのパルス信号を計数すると共に、前記計数値と前記同期信号の時間周期とを比較して前記主MCUのクロック異常を検出するクロック同期信号監視部とを備えることにより、達成される。 The present invention includes a main MCU and a sub MCU each having a clock control unit that generates an operation clock based on an oscillation signal from an oscillation element, and the main MCU is capable of mutual communication with the sub MCU. A synchronization signal transmission unit that transmits a synchronization signal to the sub MCU, and the sub MCU includes a synchronization signal reception unit that performs the mutual communication with the main MCU according to the synchronization signal received from the main MCU, The electric power steering apparatus includes a clock signal line that transmits the synchronization signal from the synchronization signal transmission unit to the synchronization signal reception unit, and the object of the present invention is that the sub MCU has a time that is a predetermined multiple of the synchronization signal. A timer for transmitting a pulse signal at a period, and counting the pulse signal from the timer, and comparing the count value with the time period of the synchronization signal to compare the main M By providing a clock synchronization signal monitoring section for detecting a U clock abnormality is achieved.
また、本発明の上記目的は、前記副MCUに入力される前記発振素子の発振周波数が、前記主MCUに入力される前記発振素子の発振周波数以下であることにより、より効果的に達成される。 The above-mentioned object of the present invention is achieved more effectively by the fact that the oscillation frequency of the oscillation element input to the sub MCU is equal to or lower than the oscillation frequency of the oscillation element input to the main MCU. .
本発明の電動パワーステアリング装置によれば、所定の周期でパルス信号を発信するタイマからのパルス信号を計数し、その計数値と主MCUからの同期信号とを比較して、主MCUのクロック異常を検出するクロック信号監視部を設けることによって、主MCUのクロック制御部の異常、外部の発振素子のクロック異常、外部の発振素子から主MCUまでの断続的な断線や接触不良などによるクロック異常を精度良く検出することができると共に、主MCUからの同期信号によって異常を検出するので、コストを抑え、効率良く実施することができ、信頼性の高い電動パワーステアリング装置を提供することができる。また、主MCUに入力される発振周波数以下の発振素子を副MCUに用いても十分に精度良く主MCUのクロック異常を検出できるので、コストを抑え、効率良く主MCUのクロック異常を検出することができる。 According to the electric power steering apparatus of the present invention, the pulse signal from the timer that transmits the pulse signal at a predetermined cycle is counted, and the count value is compared with the synchronization signal from the main MCU, so that the clock abnormality of the main MCU is detected. By providing a clock signal monitoring unit that detects the clock, abnormalities in the clock control unit of the main MCU, abnormal clocks in the external oscillation element, intermittent disconnection from the external oscillation element to the main MCU, poor contact, etc. While being able to detect with high precision, since abnormality is detected with the synchronizing signal from main MCU, cost can be reduced, it can implement efficiently, and a reliable electric power steering device can be provided. In addition, since the clock abnormality of the main MCU can be detected with sufficient accuracy even if an oscillation element having an oscillation frequency lower than that input to the main MCU is used for the sub MCU, the cost can be reduced and the clock abnormality of the main MCU can be detected efficiently. Can do.
本発明に係る電動パワーステアリング装置は、相互通信が可能な状態で接続された主MCUと副MCUとにおいて、同期をとるために主MCUから副MCUに送信される同期信号の時間周期を計測することにより、主MCUのクロック異常(クロック制御部、外部の発振素子、外部の発振素子から主MCUまでの断続的な断線や接触不良など、以下単に「クロック異常」とする)を検出する。つまり、同期信号は、主MCUに設けられたクロック制御部からの動作クロックに基づいて、予め設定された所定の周期でHigh/Lowとを繰り返す信号であり、その時間周期を副MCUで監視することにより、主MCUのクロック異常を検出する。 The electric power steering apparatus according to the present invention measures a time period of a synchronization signal transmitted from the main MCU to the sub MCU for synchronization in the main MCU and the sub MCU connected in a state where mutual communication is possible. Thus, the clock abnormality of the main MCU (clock controller, external oscillation element, intermittent disconnection from the external oscillation element to the main MCU, contact failure, etc., hereinafter simply referred to as “clock abnormality”) is detected. That is, the synchronization signal is a signal that repeats High / Low at a predetermined cycle set based on an operation clock from the clock control unit provided in the main MCU, and the time cycle is monitored by the sub MCU. Thus, the clock abnormality of the main MCU is detected.
先ず、本発明の基本構成となる同期信号によって相互通信可能な主MCUと副MCUとを備えた構成の例を図1に示して説明する。また、図1は図5及び図6に対応させて示しており、同一部材には同一符号を付して説明を省略する。 First, an example of a configuration including a main MCU and a sub MCU that can communicate with each other by a synchronization signal, which is a basic configuration of the present invention, will be described with reference to FIG. FIG. 1 is shown corresponding to FIGS. 5 and 6, and the same members are denoted by the same reference numerals and the description thereof is omitted.
副MCU110のクロック制御部119は、主MCU100と同様に、入力された周波数を逓倍にする逓倍回路や低周波に変換する分周回路で構成され、任意の周波数が得られるように構成されており、発振素子210から所定の発振周波数f2が入力されると、予め設定された任意の周波数に調整して動作クロックを発生させる。そして、CPU111は、クロック制御部119によって発生された動作クロックで演算処理を実行して動作する。
As with the
また、主MCU100と副MCU110とは、同期信号CSによって相互通信可能な状態であり、主MCU100から副MCU110に通信要求を通知した後、主MCU100の同期信号送信部104は、データの授受に伴う信号の検出タイミングを知らせるため、同期信号CSをクロック信号線CWを介して副MCU110の同期信号受信部114に送信する。主MCU100は、同期信号CSに合わせてデータD1をデータ送信用通信線Soを介して副MCU110に送信し、副MCU110は、同期信号CSに合わせてデータD1を主MCU100から受信する。一方、副MCU110は、同期信号CSに合わせてデータD2を主MCU100へ送信し、主MCU100は、同期信号CSに合わせてデータ受信用通信線Siを介してデータD2を副MCU110から受信する。また、例として同期信号CSの周波数を1kHz(1msで1周期のHigh/Lowの信号)として示している。
In addition, the
このような基本構成に基づいて、以下に本発明の実施の形態を、図面を参照して説明する。 Based on such a basic configuration, an embodiment of the present invention will be described below with reference to the drawings.
図2は本発明の構成例を図5及び図1に対応させて示すブロック図である。 FIG. 2 is a block diagram showing a configuration example of the present invention corresponding to FIG. 5 and FIG.
副MCU110は、動作クロックに基づいて予め設定された周期でパルス信号を発振するタイマ112と、タイマ112からのパルス信号に基づいて計数すると共に、その計数値と同期信号受信部114において受信される主MCU100からの同期信号CSの時間周期とを比較するクロック同期信号監視部115とを更に備える。つまり、同期信号受信部114で受信する主MCU100からの同期信号CSの時間周期とタイマ112からのパルス信号の計数値とを比較することで、主MCU100のクロック異常を検出する。
The
例えば、主MCU100からの同期信号CSが、1ms周期でHigh/Lowとを繰り返す信号であり、タイマ112が1msで4回パルス信号を発振する場合、クロック同期信号監視部115は、同期信号受信部114において受信された同期信号CSの1周期と、タイマ112からのパルス信号の計数値とを比較し、同期信号の1周期が、計数値4であれば「正常」であると判定して自身の計数値をクリアし、再び、同期信号CSと計数値との比較を開始する。一方、同期信号CSの1周期が、計数値4を超えた場合や計数値4より小さい場合には「異常」と判定してクロック異常を検出する。
For example, when the synchronization signal CS from the
また、クロック同期信号監視部115は、計数値に対してオフセット値を予め設定できるようにする。上述では計数値が4の場合に「正常」と判定したが、計数値が例えば2〜6以内であれば「正常」と判定するように設定できるようにする。このように、計数値に対してオフセット値を付与することにより、クロック異常の検出精度を調整できる。
In addition, the clock synchronization
なお、同期信号CSは、動作クロックよりも低く設定できるため、副MCU110の発振素子210は、主MCU100の発振素子200と比べて、同等の周波数(f1=f2)の発振素子、或いは主MCU100の発振素子200と比べて、低い周波数(f1>f2)の発信素子でも実施可能である。また、副MCU110のタイマ112は、例えば同期信号の1周期に対して3回以上の所定倍の周期でパルス信号を発振できれば良い。
Since the synchronization signal CS can be set lower than the operation clock, the oscillation element 210 of the
このような構成における動作例を図3のフローチャートに示して説明する。 An example of operation in such a configuration will be described with reference to the flowchart of FIG.
先ず、副MCU110は、主MCU100から通信要求の通知を受けると、上述の相互通信を開始する。また、通信要求の通知を受けていない場合にはリターンとなる(ステップS10)。
First, when receiving a communication request notification from the
主MCU100から通信要求の通知を受けた副MCU110は、主MCU100からクロック信号線CWを介して送信される同期信号CSを同期信号受信部114で受信する。また、同期信号CSを受信していない場合にはリターンとなる(ステップS11)。
The
クロック同期信号監視部115は、同期信号受信部114で受信した同期信号CSの時間周期と、タイマ112からのパルス信号に基づく計数値とを比較する。ここで、クロック同期信号監視部115は、同期信号CSの時間周期が、予め設定された所定の計数値の範囲内であれば「正常」と判定し、自信の計数値をクリアしてステップS11へ移行する。一方、所定の計数値の範囲外であればステップS13へ移行する(ステップS12)。
The clock synchronization
クロック同期信号監視部115は、ステップS12において、同期信号CSの時間周期が所定の計数値の範囲外であったため、主MCUのクロック異常と判定し(ステップS13)、アシストトルク漸減後、アシストを停止する(ステップS14)。
In step S12, the clock synchronization
1 ハンドル
2 コラム軸
10 トルクセンサ
12 車速センサ
20 モータ
30 コントロールユニット
35 WDT
100 主MCU
101 CPU
104 同期信号送信部104
109 クロック制御部
110 副MCU
111 CPU
112 タイマ
114 同期信号受信部
115 クロック同期信号監視部
119 クロック制御部
200、201 発振素子
351 CR発振回路
352 監視タイマ
1 Handle 2
100 Main MCU
101 CPU
104 Synchronization
109
111 CPU
112
Claims (2)
前記副MCUが、前記同期信号の所定倍の時間周期でパルス信号を発信するタイマと、前記タイマからのパルス信号を計数すると共に、前記計数値と前記同期信号の時間周期とを比較して前記主MCUのクロック異常を検出するクロック同期信号監視部とを備えることを特徴とする電動パワーステアリング装置。 A main MCU and a sub MCU each having a clock control unit that generates an operation clock based on an oscillation signal from an oscillation element, and the main MCU transmits a synchronization signal to enable mutual communication with the sub MCU. A synchronization signal transmitting unit that transmits to the sub MCU, and the sub MCU includes a synchronization signal receiving unit that performs the mutual communication with the main MCU in accordance with the synchronization signal received from the main MCU; In the electric power steering apparatus comprising a clock signal line for transmitting the synchronization signal from the unit to the synchronization signal receiving unit,
The secondary MCU counts the pulse signal from the timer that transmits a pulse signal at a predetermined time period of the synchronization signal, and compares the count value with the time period of the synchronization signal An electric power steering apparatus comprising: a clock synchronization signal monitoring unit that detects a clock abnormality of a main MCU.
The electric power steering apparatus according to claim 1, wherein an oscillation frequency of the oscillation element input to the sub MCU is equal to or lower than an oscillation frequency of the oscillation element input to the main MCU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008043771A JP2009202612A (en) | 2008-02-26 | 2008-02-26 | Electric power steering device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008043771A JP2009202612A (en) | 2008-02-26 | 2008-02-26 | Electric power steering device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009202612A true JP2009202612A (en) | 2009-09-10 |
Family
ID=41145327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008043771A Pending JP2009202612A (en) | 2008-02-26 | 2008-02-26 | Electric power steering device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009202612A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102011054435A1 (en) | 2010-10-22 | 2012-04-26 | Denso Corporation | Electronic control unit (ECU) for electric power steering apparatus of vehicle, detects abnormality of microcomputer, based on abnormality information received through clock control and monitoring signal lines |
CN102582677A (en) * | 2011-01-06 | 2012-07-18 | 上海联盛汽车电子有限公司 | Electric power-assisted steering system |
DE102012105267A1 (en) | 2011-06-23 | 2012-12-27 | Denso Corporation | Electronic control unit for electrical power steering apparatus used in vehicle, has timer units to perform timing offset process for providing time difference between edge timing of pulse signal and sampling timing of input signal |
KR20150012782A (en) * | 2013-07-26 | 2015-02-04 | 현대모비스 주식회사 | Apparatus and Method for timing control of Motor Driven Power Steering Electronic Control Unit |
CN104750087A (en) * | 2013-12-25 | 2015-07-01 | 联创汽车电子有限公司 | System and method for diagnosing external clock source |
CN114261444A (en) * | 2020-09-16 | 2022-04-01 | 上海海拉电子有限公司 | Clock synchronization method for automobile steering system and automobile steering system |
-
2008
- 2008-02-26 JP JP2008043771A patent/JP2009202612A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102011054435A1 (en) | 2010-10-22 | 2012-04-26 | Denso Corporation | Electronic control unit (ECU) for electric power steering apparatus of vehicle, detects abnormality of microcomputer, based on abnormality information received through clock control and monitoring signal lines |
JP2012089073A (en) * | 2010-10-22 | 2012-05-10 | Denso Corp | Electronic control unit and motor-driven power steering device using the same |
CN102582677A (en) * | 2011-01-06 | 2012-07-18 | 上海联盛汽车电子有限公司 | Electric power-assisted steering system |
DE102012105267A1 (en) | 2011-06-23 | 2012-12-27 | Denso Corporation | Electronic control unit for electrical power steering apparatus used in vehicle, has timer units to perform timing offset process for providing time difference between edge timing of pulse signal and sampling timing of input signal |
JP2013006465A (en) * | 2011-06-23 | 2013-01-10 | Denso Corp | Electronic control device |
DE102012105267B4 (en) | 2011-06-23 | 2018-07-12 | Denso Corporation | Electronic control unit |
KR20150012782A (en) * | 2013-07-26 | 2015-02-04 | 현대모비스 주식회사 | Apparatus and Method for timing control of Motor Driven Power Steering Electronic Control Unit |
KR102045869B1 (en) | 2013-07-26 | 2019-11-18 | 현대모비스 주식회사 | Apparatus and Method for timing control of Motor Driven Power Steering Electronic Control Unit |
CN104750087A (en) * | 2013-12-25 | 2015-07-01 | 联创汽车电子有限公司 | System and method for diagnosing external clock source |
CN114261444A (en) * | 2020-09-16 | 2022-04-01 | 上海海拉电子有限公司 | Clock synchronization method for automobile steering system and automobile steering system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9889881B2 (en) | Control apparatus and control method of on-vehicle electronic equipment | |
JP2009202612A (en) | Electric power steering device | |
JP6311828B2 (en) | Control device and control method for in-vehicle electronic device | |
US8755917B2 (en) | Safety control device | |
EP2341609B1 (en) | Motor control device | |
JP5846342B1 (en) | Control device and control method for in-vehicle electronic device | |
US11554809B2 (en) | Steering angle detection device and electric power steering device using same | |
US20170272025A1 (en) | Motor controller | |
JP2013182477A (en) | Microprocessor external monitoring circuit, electronic controller and electrically-driven power steering device | |
US11084524B2 (en) | Motor control device | |
KR101646210B1 (en) | Motor control system for considering functional safety | |
EP3388280B1 (en) | Vehicle control system comprising synchronized control circuits | |
JPH02148206A (en) | Power unit | |
JP6311693B2 (en) | Control device and control method for in-vehicle electronic device | |
KR101421997B1 (en) | Embedded system and method for detecting fault thereof | |
JP4678482B2 (en) | Control device and electric power steering device provided with the same | |
JP2020048387A (en) | Motor control device | |
JP2018139112A (en) | Control apparatus and control method for on-vehicle electronic device |