Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3342085B2 - Electronic control unit - Google Patents
[go: Go Back, main page]

JP3342085B2 - Electronic control unit - Google Patents

Electronic control unit

Info

Publication number
JP3342085B2
JP3342085B2 JP06564993A JP6564993A JP3342085B2 JP 3342085 B2 JP3342085 B2 JP 3342085B2 JP 06564993 A JP06564993 A JP 06564993A JP 6564993 A JP6564993 A JP 6564993A JP 3342085 B2 JP3342085 B2 JP 3342085B2
Authority
JP
Japan
Prior art keywords
signal
fail
microcomputer
logic circuit
safe
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.)
Expired - Fee Related
Application number
JP06564993A
Other languages
Japanese (ja)
Other versions
JPH06274377A (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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP06564993A priority Critical patent/JP3342085B2/en
Publication of JPH06274377A publication Critical patent/JPH06274377A/en
Application granted granted Critical
Publication of JP3342085B2 publication Critical patent/JP3342085B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、自己診断機能を備える
電子制御装置に関し、さらに詳しくはマイクロコンピュ
ータの動作の異常を検出することができる電子制御装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control device having a self-diagnosis function, and more particularly to an electronic control device capable of detecting an abnormality in the operation of a microcomputer.

【0002】[0002]

【従来の技術】近時、自動車にはマイクロコンピュータ
を用いた各種の電子制御装置が搭載され、運転の安全
性、快適性、経済性などの実現が図られている。クルー
ズコントロールシステムもその一つで、電子制御によっ
て繁雑なアクセルペダルの操作から運転者を解放し、疲
労軽減と燃費向上とを図ろうとするものである。クルー
ズコントロールシステム(以下CCSと略記する)は、
メインスイッチがオン状態とされるとパイロットインジ
ケータが点灯し、運転者にCCSで走行可能であること
が報知され、スイッチ操作によって車速が設定され、制
御が開始される。
2. Description of the Related Art Recently, various kinds of electronic control devices using microcomputers are mounted on automobiles to realize driving safety, comfort, economy and the like. One of them is a cruise control system, which relieves the driver from complicated accelerator pedal operations by electronic control, and aims to reduce fatigue and improve fuel efficiency. Cruise control system (hereinafter abbreviated as CCS)
When the main switch is turned on, the pilot indicator is turned on, the driver is notified that the vehicle can travel by CCS, the vehicle speed is set by operating the switch, and control is started.

【0003】CCSには自己診断機能が備えられてお
り、マイクロコンピュータがセンサやアクチュエータの
動作を監視し、制御系統の異常発生を検知すると、発生
部位などの自己診断情報を所定のコードでメモリに書込
むとともに、異常内容によってはフェイルセーフ機能を
作動させる。フェイルセーフは第1フェイル信号と、そ
れより所定時間遅れて出力される第2フェイル信号とに
よって行う。先発の第1フェイル信号が何かの原因で出
なかったとき、後発の第2フェイル信号でバックアップ
させて、動作の確実性と安全性の確保が図られている。
The CCS has a self-diagnosis function. When a microcomputer monitors the operation of sensors and actuators and detects the occurrence of an abnormality in the control system, self-diagnosis information such as the location of occurrence is stored in a memory in a predetermined code. At the same time, the fail-safe function is activated depending on the content of the error. Fail safe is performed by a first fail signal and a second fail signal output with a predetermined time delay from the first fail signal. When the first fail signal does not come out for some reason, it is backed up by the second fail signal to ensure the operation reliability and safety.

【0004】第1フェイル信号はマイクロコンピュータ
から、第2フェイル信号はタイマなどで形成される論理
回路から個別に導出されるようになっている。デューテ
イ制御方式で駆動されるスロットル弁開度調整用モータ
の駆動電圧波形をマイクロコンピュータと論理回路の双
方で監視する。デューテイ比100%でモータが連続通
電されるといった異常制御が一定時間継続して検知され
ると、前述のように第1と第2のフェイル信号が相次い
で出力され、モータへの電源供給を断ってシステムを停
止させ、マニュアル操作などの予備システムに切換えて
危険が防止されるようになっている。
The first fail signal is derived from a microcomputer, and the second fail signal is derived from a logic circuit formed by a timer or the like. The microcomputer and the logic circuit monitor the drive voltage waveform of the throttle valve opening adjustment motor driven by the duty control method. If abnormal control such as continuous energization of the motor at a duty ratio of 100% is detected for a certain period of time, the first and second fail signals are output one after another as described above, and the power supply to the motor is cut off. Danger is prevented by switching the system to a standby system such as manual operation.

【0005】[0005]

【発明が解決しようとする課題】前述したように従来技
術では、マイクロコンピュータに異常が生じて第1フェ
イル信号が出力されなくても、論理回路側からの第2フ
ェイル信号がバックアップするので安全性は確保されて
いるが、マイクロコンピュータに異常が生じていること
を検知することはできない。マイクロコンピュータに異
常が発生すれば、誤動作のために前述のパイロットイン
ジケータが点灯したままになったり、誤まった自己診断
情報が書き込まれたりして状況を誤認して対応が遅れ、
かえって別の危険が派生したり、後日のサービスの際に
も探索のために多大の時間と労力を費やすという問題点
がある。
As described above, in the prior art, even if an abnormality occurs in the microcomputer and the first fail signal is not output, the second fail signal from the logic circuit side is backed up, so that the security is improved. Is secured, but it is not possible to detect that an abnormality has occurred in the microcomputer. If an abnormality occurs in the microcomputer, the pilot indicator remains lit due to malfunction, or incorrect self-diagnosis information is written, misunderstanding of the situation and delay in response,
On the contrary, there is a problem that another danger is generated, and a large amount of time and effort is spent for searching even in the case of service at a later date.

【0006】本発明は上述のような問題点に鑑みてなさ
れたもので、マイクロコンピュータの異常時にフェイル
セーフ機能が作動した場合、マイクロコンピュータの異
常も的確に報知できるようにした電子制御装置を提供す
ることである。
The present invention has been made in view of the above-mentioned problems, and provides an electronic control device capable of accurately notifying an abnormality of a microcomputer when a fail-safe function is activated when the microcomputer is abnormal. It is to be.

【0007】[0007]

【課題を解決するための手段】本発明は、マイクロコン
ピュータと論理回路とを含み、負荷駆動状態について制
御モニタ信号を負荷からフィードバックして異常の有無
を前記マイクロコンピュータと論理回路とによって個別
に監視し、異常が予め定める第1時間を越えて継続する
とき第1信号を前記マイクロコンピュータから導出し、
さらに第1時間より大きい予め定める第2時間を越える
とき第2信号を前記論理回路から導出して、少なくとも
その一方の信号によってフェイルセーフ機能を作動さ
せ、負荷駆動を停止させる電子制御装置において、少な
くとも前記第1信号と第2信号とにより表示される表示
手段を備え、前記論理回路は、前記第1信号が導出され
ず、第2信号によってフェイルセーフ機能を作動させる
とき、マイクロコンピュータの動作を異常として検出
し、前記第1信号および前記第2信号がともに発生する
場合とは異なる態様で表示手段を表示させることを特徴
とする電子制御装置である。
According to the present invention, a microcomputer and a logic circuit are provided, and a control monitor signal is fed back from a load for a load driving state, and the presence or absence of an abnormality is individually monitored by the microcomputer and the logic circuit. Deriving a first signal from the microcomputer when the abnormality continues for more than a predetermined first time;
Further, an electronic control unit for deriving a second signal from the logic circuit when a predetermined second time greater than the first time is exceeded, activating a fail-safe function by at least one of the signals, and stopping load driving, Display means for displaying the first signal and the second signal, wherein the logic circuit abnormally operates the microcomputer when the first signal is not derived and the fail-safe function is activated by the second signal. The electronic control device is characterized in that the display means is displayed in a manner different from the case where both the first signal and the second signal are generated.

【0008】[0008]

【作用】本発明による電子制御装置は、マイクロコンピ
ュータと論理回路とが負荷駆動状態について制御モニタ
信号を負荷からフィードバックして異常の有無を個別に
監視する。異常を検知した場合には、マイクロコンピュ
ータからは第1信号を、論理回路からは第2信号をそれ
ぞれ個別に出力し、少なくとも第2信号によってフェイ
ルセーフ機能を確実に作動させる。さらに論理回路は、
前記第1信号の有無を監視して、第1信号が出力されず
第2信号によってフェイルセーフ機能が作動したと判断
すれば、マイクロコンピュータの動作に異常が生じてい
ると判断する。フェイルセーフ機能は、第1信号による
場合と、この場合には第2信号も発生するが、第1信号
が発生せず第2信号による場合とは異なる態様で表示さ
れる。
In the electronic control unit according to the present invention, the microcomputer and the logic circuit individually feed back a control monitor signal from the load for the load driving state, and individually monitor the presence or absence of an abnormality. When an abnormality is detected, a first signal is output from the microcomputer and a second signal is output from the logic circuit, and the fail-safe function is reliably activated by at least the second signal. Furthermore, the logic circuit
By monitoring the presence or absence of the first signal and determining that the fail-safe function is activated by the second signal without outputting the first signal, it is determined that the operation of the microcomputer is abnormal. The fail-safe function is displayed in a manner different from that in the case of the first signal and in this case, the second signal is also generated, but the first signal is not generated and the second signal is used.

【0009】[0009]

【実施例】図1は、本発明の一実施例の電子制御装置の
電気的構成を示すブロック図である。図示の電子制御装
置1は、クルーズコントロールシステム(以下CCSと
略記する)を構成するもので、入力手段である入力スイ
ッチ部3と、制御手段としての処理回路4と、負荷駆動
手段であるモータドライバ5と、表示手段であるパイロ
ットインジケータ9との各ブロックから成る。負荷駆動
手段には他にクラッチドライバなどが設けられるが図示
されていない。入力スイッチ部3は、セットスイッチな
どのコントロール系スイッチ3aと、ブレーキスイッチ
などのキャンセル系スイッチ3bと、車速センサ3cと
で構成されている。
FIG. 1 is a block diagram showing an electric configuration of an electronic control unit according to an embodiment of the present invention. The illustrated electronic control unit 1 constitutes a cruise control system (hereinafter abbreviated as CCS), and includes an input switch unit 3 as an input unit, a processing circuit 4 as a control unit, and a motor driver as a load driving unit. 5 and a pilot indicator 9 as display means. The load driving means is provided with a clutch driver and the like, but is not shown. The input switch unit 3 includes a control switch 3a such as a set switch, a cancel switch 3b such as a brake switch, and a vehicle speed sensor 3c.

【0010】処理回路4は、マイクロコンピュータ4a
と、論理回路4bと、図示しないメモリや入出力インタ
ーフェイスなどから構成されている。マイクロコンピュ
ータ4aは、前記スイッチ入力部3から入力される情報
に応答して所定の処理を実行し、制御信号であるモータ
制御信号MOを出力してモータドライバ5を制御する。
The processing circuit 4 includes a microcomputer 4a
, A logic circuit 4b, and a memory and an input / output interface (not shown). The microcomputer 4a performs a predetermined process in response to the information input from the switch input unit 3, outputs a motor control signal MO as a control signal, and controls the motor driver 5.

【0011】モータドライバ5は、前記モータ制御信号
M0に応答して負荷駆動信号を生成し、負荷であるスロ
ットル弁用モータ(以下モータという)7を駆動するも
のである。またパイロットインジケータ9は点灯時にC
CSによって走行可能なことを表示するものである。本
実施例で注目すべきは、前記パイロットインジケータ9
が第1〜第3の複数種類の表示状態をとり、マイクロコ
ンピュータ4aの異常時にフェイルセーフが作動したと
きには、パイロットインジケータ9を第3の表示状態で
ある消灯によって異常が生じていることを確実に報知さ
せるようにしていることであるが、これについては後述
する。なお、本実施例ではマイクロコンピュータ4aに
は8ビットマイクロコンピュータが用いられており、以
下マイクロコンピュータ4aを8ビットマイコンと略記
する。
The motor driver 5 generates a load drive signal in response to the motor control signal M0, and drives a throttle valve motor (hereinafter referred to as a motor) 7 as a load. When the pilot indicator 9 is lit,
This indicates that the vehicle can be driven by the CS. It should be noted in this embodiment that the pilot indicator 9
Takes the first to third types of display states, and when the fail-safe is activated when the microcomputer 4a is in an abnormal state, the pilot indicator 9 is surely turned off in the third display state to indicate that an abnormality has occurred. This is to be notified, which will be described later. In this embodiment, an 8-bit microcomputer is used as the microcomputer 4a, and the microcomputer 4a is abbreviated as an 8-bit microcomputer.

【0012】メインスイッチ6が閉成されると論理回路
4bはラインL8を介してリレードライバ10を電力付
勢し、電源リレー11を駆動して接点間を導通させバッ
テリ18から電源電圧Vbが前記モータドライバ5とク
ラッチドライバなどに供給され、パイロットインジケー
タ9が点灯し、CCSによって走行可能なことが運転者
に報知される。運転者はコントロール系スイッチ3aを
操作して所望の車速を設定し、走行が開始される。
When the main switch 6 is closed, the logic circuit 4b energizes the relay driver 10 via the line L8 to drive the power supply relay 11 to conduct between the contacts, so that the power supply voltage Vb is supplied from the battery 18. The power is supplied to the motor driver 5, the clutch driver, and the like, the pilot indicator 9 is turned on, and the driver is notified by the CCS that the vehicle can run. The driver operates the control system switch 3a to set a desired vehicle speed, and starts traveling.

【0013】8ビットマイコン4aから導出され、ライ
ンL3を介してモータドライバ5に入力されるモータ制
御信号MOは、一定周期のパルス(たとえば50ms)
信号で、モータ7の速度制御はデューティ制御方式によ
って行われる。モータ制御信号MOはモータドライバ5
によって電力増幅された後、モータ7に印加される。C
CSはアクセル機構とリンクされているので、運転者の
意志に反してモータ7が連続通電されるというような異
常制御が行われると、車は一気に加速されて非常に危険
な状態となるから、このような危険を防止するためにフ
ェイルセーフ機能が作動する。本実施例でのフェイルセ
ーフは、モータ7に印加される駆動電圧と同一波形の制
御モニタ信号MPを、モータドライバ5からラインL4
を介して処理回路4にフィードバックして、その波形を
8ビットマイコン4aと論理回路4bとが個別に監視し
てチェックする。デューティ比100%のような異常が
発生すれば、8ビットマイコン4aから第1フェイル信
号Aが、続いて論理回路4bから第2フェイル信号Bが
それぞれラインL10に導出され、リレードライバ11
を消勢して電源リレー12の接点を遮断し、モータドラ
イバ5と図示しないクラッチドライバへの電源供給を断
ち、システムを停止させてマニュアル操作側に切換え
る。また第1フェイル信号Aが導出されてフェイルセー
フが作動すれば、自己診断機能によって所定のコードが
図示しないメモリに書込まれ、後日のサービスの際に読
出されるようになっている。
The motor control signal MO derived from the 8-bit microcomputer 4a and input to the motor driver 5 via the line L3 is a pulse having a constant period (for example, 50 ms).
The signal is used to control the speed of the motor 7 by a duty control method. The motor control signal MO is the motor driver 5
After the power is amplified, it is applied to the motor 7. C
Since the CS is linked to the accelerator mechanism, if abnormal control such as continuous energization of the motor 7 is performed against the driver's will, the car will be accelerated at a stretch and become a very dangerous state. In order to prevent such a danger, a fail-safe function is activated. The fail safe in the present embodiment is that the control monitor signal MP having the same waveform as the drive voltage applied to the motor 7 is transmitted from the motor driver 5 to the line L4.
The waveform is fed back to the processing circuit 4 and the 8-bit microcomputer 4a and the logic circuit 4b individually monitor and check the waveform. If an abnormality such as a duty ratio of 100% occurs, a first fail signal A from the 8-bit microcomputer 4a and a second fail signal B from the logic circuit 4b are led out to the line L10, and the relay driver 11
To shut off the contact of the power supply relay 12, cut off the power supply to the motor driver 5 and the clutch driver (not shown), stop the system, and switch to the manual operation side. When the first fail signal A is derived and the fail safe is activated, a predetermined code is written into a memory (not shown) by a self-diagnosis function, and is read out at the time of service at a later date.

【0014】図2は本実施例の各部の波形を示す波形図
である。図中の記号は図1の参照符に対応して付してあ
る。(1)はモータドライバ5に送られるモータ制御信
号MOの波形で、周期T0はたとえば50msに設定さ
れ、図ではデューティ比50%の波形が示されている。
(2)は処理回路4にフィードバックされる制御モニタ
信号MPの波形である。制御モニタ信号MPは正常時に
は前記モータ制御信号MOと同じ波形であるが、時刻t
1以後のようなデューティ比100%の波形が現出する
と、モータ7は連続通電されて非常に危険な加速状態と
なる。(3)は8ビットマイコン4aから導出される第
1フェイル信号Aの波形で、8ビットマイコン4aは前
記制御モニタ信号MPの波形を監視し、時刻t1以後の
ようにデューティ比100%の制御モニタ信号MPの継
続時間T1が、たとえば3周期分に相当する150ms
を越えると、時刻t2でローレベルに落ちる第1フェイ
ル信号Aを出力する。(4)は論理回路4bから導出さ
れる第2フェイル信号Bの波形である。論理回路4bは
デューティ比100%の制御モニタ信号MPの継続時間
T2がたとえば200msを越えると、時刻t3でロー
レベルに落ちるの第2フェイル信号Bを出力する。この
ようにフェイルセーフは8ビットマイコン4aと論理回
路4bとの2重系で形成され、万一8ビットマイコン4
aに異常が生じても確実に作動して安全性が確保される
ようになっている。
FIG. 2 is a waveform chart showing waveforms at various parts in the present embodiment. The symbols in the figure correspond to the reference numerals in FIG. (1) is a waveform of the motor control signal MO sent to the motor driver 5, the cycle T0 is set to, for example, 50 ms, and the figure shows a waveform with a duty ratio of 50%.
(2) is a waveform of the control monitor signal MP fed back to the processing circuit 4. The control monitor signal MP has the same waveform as the motor control signal MO in a normal state, but at time t
When a waveform having a duty ratio of 100% as shown after 1 appears, the motor 7 is continuously energized and enters a very dangerous acceleration state. (3) is a waveform of the first fail signal A derived from the 8-bit microcomputer 4a. The 8-bit microcomputer 4a monitors the waveform of the control monitor signal MP and controls the control monitor with a duty ratio of 100% as after time t1. The duration T1 of the signal MP is, for example, 150 ms corresponding to three cycles.
Is exceeded, a first fail signal A which falls to a low level at time t2 is output. (4) is a waveform of the second fail signal B derived from the logic circuit 4b. When the duration T2 of the control monitor signal MP having a duty ratio of 100% exceeds, for example, 200 ms, the logic circuit 4b outputs a second fail signal B that falls to a low level at time t3. As described above, the fail-safe is formed by the dual system of the 8-bit microcomputer 4a and the logic circuit 4b.
Even if an abnormality occurs in a, the operation is reliably performed to ensure safety.

【0015】図3は本実施例の処理回路4の回路構成を
示すブロツク図であり、図1と同一部分には同一の参照
符を付してある。ただし入力スイッチ部は省略されてい
る。処理回路4は、8ビットマイコン4aと論理回路4
bとによって構成されている。論理回路4bは、バッフ
ァ21と、タイマ回路22と、排他的論理和回路23
と、NORゲート24との各回路素子から成り、全体は
集積回路で一体化されている。8ビットマイコン4aと
論理回路4bとは、ラインL11〜L13によって相互
に接続されている。前記制御モニタ信号MPは、ライン
L4を介してタイマ回路22に入力され、さらにバッフ
ァ21を介して8ビットマイコン4aのモニタ入力端子
mpにも入力される。なお以下の説明で「1」はハイレ
ベルを表し、「0」はローレベルを表わすものとする。
FIG. 3 is a block diagram showing a circuit configuration of the processing circuit 4 according to the present embodiment, and the same parts as those in FIG. 1 are denoted by the same reference numerals. However, the input switch section is omitted. The processing circuit 4 includes an 8-bit microcomputer 4a and a logic circuit 4
b. The logic circuit 4b includes a buffer 21, a timer circuit 22, and an exclusive OR circuit 23.
, And a NOR gate 24, all of which are integrated by an integrated circuit. The 8-bit microcomputer 4a and the logic circuit 4b are mutually connected by lines L11 to L13. The control monitor signal MP is input to the timer circuit 22 via the line L4, and is also input to the monitor input terminal mp of the 8-bit microcomputer 4a via the buffer 21. In the following description, “1” indicates a high level, and “0” indicates a low level.

【0016】8ビットマイコン4aのフェイル出力端子
aには正常時「1」が導出されている。制御モニタ信号
MPのデューティ比が100%で、その継続期間が予め
定める第1時間T1(本実施例では150msである)
を越えていることを8ビットマイコン4aが検知する
と、「0」に落ちる第1フェイル信号Aが前記フェイル
出力端子aからラインL12に導出される。ラインL1
2は前記排他的論理和回路23の一方の入力端子に接続
され、排他的論理和回路23の他方の入力端子はライン
L10を介して前記タイマ回路22の出力端子に接続さ
れている。前記デューティ比100%の制御モニタ信号
MPが入力されると、タイマ回路22からは予め定める
第2時間T2(本実施例では200msである)が経過
すると「1」から「0」に落ちる第2フェイル信号Bが
ラインL10に導出される。正常時ではラインL10は
「1」に保たれているので、リレードライバ11は消勢
されることなく、モータドライバ5には電源が供給され
ている。また8ビットマイコン4aのパイロットインジ
ケータ端子piからは常時は「0」で、自己診断機能が
作動すると診断内容に対応する所定の周期で「1」
「0」とフリッカするパイロット信号PIが導出され、
ラインL11を介して前記NORゲート24の一方に入
力される。前記タイマ回路22の出力端子は、ラインL
10を介してリレードライバ11のリセット端子と排他
的論理和回路23の他方の入力端子とに接続されてい
る。ラインL10,L12間に接続されているダイオー
ドDは逆流防止用ダイオードであり、正常時はラインL
12に導出されている「1」を保持するとともに、第1
フェイル信号Aが導出されるときにはラインL10を第
1フェイル信号Aと同じ「0」に落とすためのものであ
る。これによってデューティ比100%の制御モニタ信
号MPが継続して入力されると、150ms後にライン
L10が「0」となってリレードライバ11が消勢さ
れ、さらにその50ms後に同じ「0」の第2フェイル
信号Bが導出される。すなわち8ビットマイコン4aと
論理回路4bとの2重系でフェイルセーフが行われるこ
とになる。
"1" is output to the fail output terminal a of the 8-bit microcomputer 4a in a normal state. The duty ratio of the control monitor signal MP is 100%, and the duration thereof is a predetermined first time T1 (150 ms in this embodiment).
Is detected by the 8-bit microcomputer 4a, the first fail signal A falling to "0" is led out from the fail output terminal a to the line L12. Line L1
2 is connected to one input terminal of the exclusive OR circuit 23, and the other input terminal of the exclusive OR circuit 23 is connected to the output terminal of the timer circuit 22 via a line L10. When the control monitor signal MP having the duty ratio of 100% is input, the timer circuit 22 drops from "1" to "0" after a predetermined second time T2 (200 ms in this embodiment) has elapsed. The fail signal B is led out to the line L10. Since the line L10 is kept at "1" in the normal state, the power is supplied to the motor driver 5 without deenergizing the relay driver 11. The value is always "0" from the pilot indicator terminal pi of the 8-bit microcomputer 4a, and becomes "1" at a predetermined cycle corresponding to the content of diagnosis when the self-diagnosis function is activated.
A pilot signal PI flickering with "0" is derived,
The signal is input to one of the NOR gates 24 via a line L11. The output terminal of the timer circuit 22 is a line L
10 is connected to the reset terminal of the relay driver 11 and the other input terminal of the exclusive OR circuit 23. The diode D connected between the lines L10 and L12 is a backflow prevention diode.
While holding “1” derived to 12
When the fail signal A is derived, this is for dropping the line L10 to the same “0” as the first fail signal A. As a result, when the control monitor signal MP having the duty ratio of 100% is continuously input, the line L10 becomes “0” after 150 ms, the relay driver 11 is deenergized, and the second “50” after the same 50 ms after that. A fail signal B is derived. That is, fail-safe is performed in a dual system of the 8-bit microcomputer 4a and the logic circuit 4b.

【0017】次に本発明の要旨である8ビットマイコン
4aの異常時の表示について説明する。NORゲート2
4の他方の入力端子には、前記排他的論理和回路23の
出力端子が接続され、NORゲート24の出力端子には
ラインL6を介してパイロットインジケータ9が接続さ
れている。これによってパイロットインジケータ9は、
予め定められる次の〜の3種類の表示状態をとるこ
とになる。
Next, the display of the 8-bit microcomputer 4a at the time of abnormality, which is the gist of the present invention, will be described. NOR gate 2
4 is connected to the output terminal of the exclusive OR circuit 23, and the output terminal of the NOR gate 24 is connected to the pilot indicator 9 via the line L6. This causes the pilot indicator 9 to
The following three display states, which are predetermined, are taken.

【0018】点灯:メインスイッチ6がONされCC
Sによって走行可能状態のときは点灯する。すなわちN
ORゲート24の入力がともに「0,0」のときには点
灯する。これはラインL10,L12がともに「1」で
ラインL11が「0」の状態であり、第1フェイル信号
Aと第2フェイル信号Bとパイロット信号PIとがすべ
て出力されない状態である。したがってパイロットイン
ジケータ9が点灯していればCCSの機能は正常であり
走行可能であることが報知されている。
Lighting: Main switch 6 is turned on and CC
Lights when the vehicle is in the runnable state by S. That is, N
When both inputs of the OR gate 24 are “0, 0”, the light is turned on. This is a state in which the lines L10 and L12 are both "1" and the line L11 is "0", and the first fail signal A, the second fail signal B, and the pilot signal PI are not all output. Therefore, if the pilot indicator 9 is lit, it is informed that the CCS function is normal and the vehicle can run.

【0019】フリッカ:第1フェイル信号Aと第2フ
ェイル信号Bとがともに出力されてフェイルセーフが作
動したときはフリッカする。これはデューテイ比100
%の制御モニタ信号MPが入力され、フェイルセーフが
行われる状態である。第1フェイル信号Aと第2フェイ
ル信号Bとがともに出力されるので、排他的論理和回路
23の出力が「0」となることで判断される。同時にフ
ェイルセーフに関して8ビットマイコン4aが正常に機
能していることも判断される。一方8ビットマイコン4
aは、第1フェイル信号Aを導出することによって、自
己診断機能に基づいて所定の周期でフリッカするパイロ
ット信号PIを導出するので、パイロットインジケータ
9は点滅を繰り返し、フェイルセーフが行われたことが
報知されるのである。なお、フェイルセーフ以外の原因
で自己診断情報が出されたときにもパイロットインジケ
ータ9が点滅するように情報に基づき複数周期のパイロ
ット信号PIを予め設定しておくことによって、点滅周
期によって情報の内容を容易に判別することができる。
Flicker: Flicker occurs when the first fail signal A and the second fail signal B are both output and the fail safe is activated. This is a duty ratio of 100
% In which the control monitor signal MP is input and fail-safe is performed. Since both the first fail signal A and the second fail signal B are output, it is determined that the output of the exclusive OR circuit 23 becomes “0”. At the same time, it is determined that the 8-bit microcomputer 4a is functioning normally with respect to the fail safe. On the other hand, 8-bit microcomputer 4
a, by deriving the first fail signal A, derives the pilot signal PI that flickers at a predetermined cycle based on the self-diagnosis function. Therefore, the pilot indicator 9 repeats blinking, indicating that the fail safe has been performed. It will be announced. The pilot signal PI having a plurality of cycles is set in advance based on the information so that the pilot indicator 9 blinks even when the self-diagnosis information is output due to a cause other than fail-safe. Can be easily determined.

【0020】消灯:第1フェイル信号Aが出力され
ず、第2フェイル信号Bによってフェイルセーフが行わ
れたときは消灯する。デューティ比100%の制御モニ
タ信号MPが150msを越えて入力されているにもか
かわらず、8ビットマイコン4aからは第1フェイル信
号Aが出力されないということは、ラインL12のレベ
ルがハイのままで変化しないことであり、8ビットマイ
コン4aに異常が生じていることを示すものであり、こ
れは排他的論理和回路23の出力によって判断される。
タイマ回路22からは前述したようにローレベルの第2
フェイル信号Bが出力されてリレードライバ11が消勢
され、フェイルセーフによる安全が確保される。この場
合、第2フェイル信号Bによって排他的論理和回路23
の出力は「1」となるから、NORゲート24の出力は
パイロット信号PIとは無関係に「0」となってパイロ
ットインジケータ9は消灯し、CCSが停止しているこ
とが報知されるのである。またこのNORゲート24の
出力を自己診断情報の消去に用いることによって異常発
生の際に誤った情報が記録されるの防止することができ
る。
Light-off: When the first fail signal A is not output and the fail-safe is performed by the second fail signal B, the light is turned off. The fact that the first fail signal A is not output from the 8-bit microcomputer 4a despite the fact that the control monitor signal MP having a duty ratio of 100% is input for more than 150 ms means that the level of the line L12 remains high. No change indicates that an abnormality has occurred in the 8-bit microcomputer 4a, which is determined by the output of the exclusive OR circuit 23.
From the timer circuit 22, the low-level second
The fail signal B is output, the relay driver 11 is deenergized, and safety by fail safe is ensured. In this case, the exclusive OR circuit 23 is provided by the second fail signal B.
Becomes "1", the output of the NOR gate 24 becomes "0" irrespective of the pilot signal PI, the pilot indicator 9 is turned off, and it is notified that the CCS is stopped. Further, by using the output of the NOR gate 24 for erasing the self-diagnosis information, it is possible to prevent erroneous information from being recorded when an abnormality occurs.

【0021】図4は本実施例における、8ビットマイコ
ンおよび論理回路4bの動作を説明するための全体的な
フローチャートである。図1〜図3と対応する部分には
同一の参照符記号を付してあり、これらの図をあわせて
参照して説明する。ステップn1でメインスイッチがO
Nされ、ステップn2でパイロットインジケータ9が点
灯してCCSで走行可能なことが報知される。ステップ
n3に進んでセットSWがONになるのを待ち、次のス
テップn4で設定車速に対応するデューティ比のモータ
制御信号MOがモータドライバ5に送られる。これによ
ってステップn5でモータ7が駆動され、ステップn6
でモータドライバ5から制御モニタ信号MPがフィード
バックされ、そのデューティ比が8ビットマイコン4a
と論理回路4bとで個別にチェックされる。ステップn
7で8ビットマイコン4aによって前記デューティ比が
100%かどうかが判断される。否定であればステップ
n6へ戻り、肯定であればステップn8へ進んで、その
継続時間T1が150msを越えているかどうかが判断
される。なおこれと並行して論理回路4bではタイマ回
路12によっても継続時間が計時されている。150m
s以下で否定であれば、一過性のものと判断されてステ
ップn6へ戻り、制御が続行される。150msを越え
れば、ステップn9で8ビットマイコン4aから第1フ
ェイル信号Aが出力されたかどうかが判断される。出力
されていれば8ビットマイコン4aは正常であり、ステ
ップn10で同時にパイロット信号PIが導出されるの
で、ステップn11でパイロットインジケータ9が所定
の周期でフリッカして、フェイルセーフが作動したこと
が報知される。同時にステップn12で前記第1フェイ
ル信号AによってラインL10が「0」に落ちるので、
電源リレー11の接点が遮断されてモータドライバ5へ
の電源供給が断たれ、ステップn13に進んでフェイル
セーフによる安全が確保される。
FIG. 4 is an overall flowchart for explaining the operation of the 8-bit microcomputer and the logic circuit 4b in this embodiment. Parts corresponding to those in FIGS. 1 to 3 are denoted by the same reference symbols, and will be described with reference to these drawings. In step n1, the main switch is turned on.
N, and at step n2, the pilot indicator 9 is illuminated to notify that the vehicle can travel by CCS. The flow advances to step n3 to wait for the set SW to be turned on. In the next step n4, a motor control signal MO having a duty ratio corresponding to the set vehicle speed is sent to the motor driver 5. As a result, the motor 7 is driven in step n5, and in step n6
, The control monitor signal MP is fed back from the motor driver 5, and the duty ratio of the control monitor signal MP is changed to the 8-bit microcomputer 4a.
And the logic circuit 4b. Step n
At 7, the 8-bit microcomputer 4a determines whether the duty ratio is 100%. If the answer is no, the process returns to step n6. If the answer is affirmative, the process proceeds to step n8, and it is determined whether or not the duration T1 exceeds 150 ms. In parallel with this, the duration time of the logic circuit 4b is also measured by the timer circuit 12. 150m
If negative at s or less, it is determined to be transient and the process returns to step n6 to continue the control. If it exceeds 150 ms, it is determined in step n9 whether the first fail signal A has been output from the 8-bit microcomputer 4a. If it is output, the 8-bit microcomputer 4a is normal, and the pilot signal PI is derived at the same time in step n10. Therefore, in step n11, the pilot indicator 9 flickers at a predetermined cycle to notify that the fail safe has been activated. Is done. At the same time, the line L10 falls to "0" by the first fail signal A in step n12.
The contact of the power supply relay 11 is cut off, the power supply to the motor driver 5 is cut off, and the process proceeds to step n13 to ensure safety by fail-safe.

【0022】ステップn9に戻って、第1フェイル信号
Aが出力されていなければ、8ビットマイコン4aに異
常が生じていることであり、ステップn17に移って前
記デューティ比100%の制御モニタ信号MPの継続時
間が200msを越えているかどうかが判断される。越
えた時点でステップn14に進み、論理回路4bから第
2フェイル信号Bが出力される。ステップn15では8
ビットマイコン4aからのパイロット信号PIは無視さ
れ、代って前記NORゲート24の出力レベルが「0」
となり、ステップn16でパイロットインジケータ9は
消灯し、8ビットマイコン4aの異常が報知され、同時
に第2フェイル信号BによってラインL10のレベルが
「0」に落ちるのでステップn12に戻って電源リレー
11が遮断され、ステップn13でフェイルセーフによ
る安全が確保される。
Returning to step n9, if the first fail signal A is not output, it means that an abnormality has occurred in the 8-bit microcomputer 4a, and the process proceeds to step n17 to control the control monitor signal MP having the duty ratio of 100%. It is determined whether or not the duration of the data exceeds 200 ms. At this point, the process proceeds to step n14, where the second fail signal B is output from the logic circuit 4b. In step n15, 8
The pilot signal PI from the bit microcomputer 4a is ignored, and the output level of the NOR gate 24 becomes "0" instead.
At step n16, the pilot indicator 9 is turned off, an abnormality of the 8-bit microcomputer 4a is notified, and at the same time, the level of the line L10 drops to "0" by the second fail signal B, so that the process returns to step n12 and the power supply relay 11 is cut off. In step n13, safety by fail-safe is ensured.

【0023】前述の説明ではクルーズコントロールシス
テムを例にとったけれども、本発明はこれにはなんら限
定されるものではなく、2重系のフェイルセーフ機能を
備えた電子制御装置に広く適用され、また用途も車載用
に限定されないものであることは当業者には自明であろ
う。本発明ではこのように、システムのフェイルセーフ
をマイクロコンピュータと論理回路との2重系によって
形成し、しかもフェイルセーフの作動時にマイクロコン
ピュータに異常が生じているときにはそのこともあわせ
て報知できるようにしたので、安全性の確保をなんら損
なうことなく、マイクロコンピュータの異常発生を表示
できるようにしたものであって、状況判断と対応も立て
易く、後日の診断修理等のサービスの作業性も格段に向
上するものである。
In the above description, the cruise control system is taken as an example. However, the present invention is not limited to this, and is widely applied to an electronic control device having a double fail-safe function. It will be obvious to those skilled in the art that the use is not limited to the vehicle. As described above, in the present invention, the fail-safe of the system is formed by the dual system of the microcomputer and the logic circuit, and when a failure occurs in the microcomputer during the operation of the fail-safe, the fact can also be notified. As a result, it is possible to display the occurrence of an abnormality in the microcomputer without compromising safety, and it is easy to determine the situation and respond to it. It will improve.

【0024】[0024]

【発明の効果】以上のように本発明によれば、負荷駆動
状態について制御モニタ信号を負荷からフィードバック
して異常の有無を、マイクロコンピュータと論理回路が
個別に監視する。異常が検知されるとマイクロコンピュ
ータと論理回路からそれぞれ第1信号、第2信号が個別
に主力される。第1信号を第2信号がバックアップし、
少なくとも第2信号によってフェイルセーフが確実に作
動するようにしたので、安全性が確保される。さらに論
理回路にはマイクロコンピュータから出力される第1信
号の有無も監視させるようにして、第1信号が出力され
ずに第2信号によってフェイルセーフ機能が作動したと
きには、マイクロコンピュータの動作に異常が生じてい
ることを確実に検知することができる。フェイルセーフ
機能は、第1信号による場合と、この場合には第2信号
も発生するが、第1信号が発生せず第2信号による場合
とは異なる態様で表示されるので異常の区別を付け易い
のである。
As described above, according to the present invention, the microcomputer and the logic circuit individually monitor the presence or absence of an abnormality by feeding back a control monitor signal from the load regarding the load driving state. When an abnormality is detected, the first signal and the second signal are separately output from the microcomputer and the logic circuit. The second signal backs up the first signal,
Since at least the fail-safe operation is ensured by the second signal, safety is ensured. Furthermore, the logic circuit is also monitored for the presence or absence of the first signal output from the microcomputer. When the fail-safe function is activated by the second signal without outputting the first signal, an abnormality occurs in the operation of the microcomputer. This can be reliably detected. In the fail-safe function, although the first signal is generated and the second signal is generated in this case, the first signal is not generated and displayed in a different manner from the case of the second signal. It is easy.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の電子制御装置の電気的構成
を示すブロック図である。
FIG. 1 is a block diagram showing an electrical configuration of an electronic control unit according to an embodiment of the present invention.

【図2】図1図示の各部の信号波形を示す波形図であ
る。
FIG. 2 is a waveform chart showing signal waveforms of respective units shown in FIG.

【図3】図1図示のコントロールユニットの回路構成を
示すブロック図である。
FIG. 3 is a block diagram showing a circuit configuration of the control unit shown in FIG. 1;

【図4】本実施例の動作を説明するためのフローチャー
トである。
FIG. 4 is a flowchart for explaining the operation of the present embodiment.

【符号の説明】[Explanation of symbols]

1 電子制御装置 3 入力スイッチ部 3a コントロール系スイッチ 3b キャンセル系スイッチ 3c 車速センサ 4a マイクロコンピュータ 4b 論理回路 5 モータドライバ 6 メインスイッチ 7 スロットルバルブ開度調整用モータ 9 パイロットインジケータ 11 リレードライバ 12 電源リレー 21 バッファ回路 22 タイマ回路 23 排他的論理和回路 24 NORゲート A 第1フェイル信号 B 第2フェイル信号 MO モータ制御信号 MP 制御モニタ信号 PI パイロット信号 DESCRIPTION OF SYMBOLS 1 Electronic control unit 3 Input switch part 3a Control system switch 3b Cancel system switch 3c Vehicle speed sensor 4a Microcomputer 4b Logic circuit 5 Motor driver 6 Main switch 7 Throttle valve opening adjustment motor 9 Pilot indicator 11 Relay driver 12 Power relay 21 Buffer Circuit 22 Timer circuit 23 Exclusive OR circuit 24 NOR gate A First fail signal B Second fail signal MO Motor control signal MP Control monitor signal PI Pilot signal

フロントページの続き (56)参考文献 特開 平4−66746(JP,A) 実開 平3−13545(JP,U) 実開 昭59−45651(JP,U) (58)調査した分野(Int.Cl.7,DB名) G06F 11/30 Continuation of the front page (56) References JP-A-4-66746 (JP, A) JP-A-3-13545 (JP, U) JP-A-59-45651 (JP, U) (58) Fields investigated (Int) .Cl. 7 , DB name) G06F 11/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マイクロコンピュータと論理回路とを含
み、負荷駆動状態について制御モニタ信号を負荷からフ
ィードバックして異常の有無を前記マイクロコンピュー
タと論理回路とによって個別に監視し、異常が予め定め
る第1時間を越えて継続するとき第1信号を前記マイク
ロコンピュータから導出し、さらに第1時間より大きい
予め定める第2時間を越えるとき第2信号を前記論理回
路から導出して、少なくともその一方の信号によってフ
ェイルセーフ機能を作動させ、負荷駆動を停止させる電
子制御装置において、 少なくとも前記第1信号と第2信号とにより表示される
表示手段を備え、 前記論理回路は、前記第1信号が導出されず、第2信号
によってフェイルセーフ機能を作動させるとき、マイク
ロコンピュータの動作を異常として検出し、前記第1信
号および前記第2信号がともに発生する場合とは異なる
態様で表示手段を表示させることを特徴とする電子制御
装置。
The microcomputer includes a microcomputer and a logic circuit, wherein a control monitor signal is fed back from a load for a load driving state, and the microcomputer and the logic circuit individually monitor the presence / absence of an abnormality. A first signal is derived from the microcomputer when continuing over time, and a second signal is derived from the logic circuit when exceeding a predetermined second time greater than the first time, and at least one of the signals An electronic control device for activating a fail-safe function and stopping a load drive, comprising at least a display unit that is displayed by the first signal and the second signal, wherein the logic circuit does not derive the first signal, When the fail-safe function is activated by the second signal, the operation of the microcomputer is abnormal. It detected, the electronic control unit, characterized in that to display the display means in a manner different from the case where the first signal and the second signal are both generated.
JP06564993A 1993-03-24 1993-03-24 Electronic control unit Expired - Fee Related JP3342085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06564993A JP3342085B2 (en) 1993-03-24 1993-03-24 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06564993A JP3342085B2 (en) 1993-03-24 1993-03-24 Electronic control unit

Publications (2)

Publication Number Publication Date
JPH06274377A JPH06274377A (en) 1994-09-30
JP3342085B2 true JP3342085B2 (en) 2002-11-05

Family

ID=13293072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06564993A Expired - Fee Related JP3342085B2 (en) 1993-03-24 1993-03-24 Electronic control unit

Country Status (1)

Country Link
JP (1) JP3342085B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6119584B2 (en) * 2013-12-04 2017-04-26 株式会社デンソー Battery control device
JP7332529B2 (en) * 2020-04-21 2023-08-23 株式会社東海理化電機製作所 Anomaly detector

Also Published As

Publication number Publication date
JPH06274377A (en) 1994-09-30

Similar Documents

Publication Publication Date Title
JP2625148B2 (en) In-vehicle electronic control unit
US7822516B2 (en) Automotive vehicle with redundant controller
US5897596A (en) Electronic controller with fault diagnosing function
US6497303B1 (en) Electric power steering system
KR940004808B1 (en) Vehicle control apraratus
US6243629B1 (en) Electronic control unit for automotive vehicles
US4653003A (en) Electronic control system for a motive unit
CN113341923B (en) Low-voltage wire harness fault detection method of vehicle, signal diagnosis unit and vehicle
JPS61252852A (en) Communication device for state of trouble in automobile
JP3342085B2 (en) Electronic control unit
JPH1173203A (en) Electronic control unit
US20080224842A1 (en) Brake wear detecting method for electric golf car and electric golf car employing the detecting method
KR20000011099A (en) Indication device
US20040249478A1 (en) Control system
JPH05122801A (en) Controller for electric automobile
JP2918410B2 (en) Cruise control device
JP2002099321A (en) Failure detection device for vehicle electronic control system
JP2003227402A (en) Diagnostic system for vehicle
JP3184362B2 (en) Failure detection device for electronic control unit
JP2694609B2 (en) Electric power steering device
JPH08166826A (en) Relay abnormality detection circuit, controller and temperature controller
JPS5863558A (en) Control device of vehicle
JP2007291989A (en) Abnormality diagnosing device of load drive system
JP2674646B2 (en) Method for displaying fault code memory of in-vehicle electronic control unit
JP3606351B2 (en) Abnormality detection method for microcomputer gas meter

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011023

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

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100823

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100823

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110823

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees