JP2016082430A - On-vehicle electronic controller - Google Patents

On-vehicle electronic controller Download PDF

Info

Publication number
JP2016082430A
JP2016082430A JP2014212638A JP2014212638A JP2016082430A JP 2016082430 A JP2016082430 A JP 2016082430A JP 2014212638 A JP2014212638 A JP 2014212638A JP 2014212638 A JP2014212638 A JP 2014212638A JP 2016082430 A JP2016082430 A JP 2016082430A
Authority
JP
Japan
Prior art keywords
abnormality
abnormality determination
converter
determination time
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014212638A
Other languages
Japanese (ja)
Inventor
桃歌 石川
Momoka Ishikawa
桃歌 石川
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 Corp
Original Assignee
Denso Corp
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 Corp filed Critical Denso Corp
Priority to JP2014212638A priority Critical patent/JP2016082430A/en
Publication of JP2016082430A publication Critical patent/JP2016082430A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an on-vehicle electronic controller capable of preventing from erroneously determining an input noise as a failure on an A/D converter as well as capable of swiftly detecting a failure on an A/D converter.SOLUTION: The on-vehicle electronic controller includes: an A/D converter that performs an A/D conversion on an analog signal, which is transmitted from inside a vehicle and is divided into two parts, and outputs two conversion outputs; a first determination section that, when the difference between the two conversion outputs exceeds a first determine value, temporarily determines as abnormal; and an abnormality determination time variation section that varies the abnormality determination time based on whether the difference between the two conversion outputs exceeds a second determine value.SELECTED DRAWING: Figure 2

Description

本発明は、車両に搭載されたセンサから出力されたアナログの検知信号をA/D変換するA/D変換器を備えた車載電子制御装置に関する。   The present invention relates to an in-vehicle electronic control device including an A / D converter that A / D converts an analog detection signal output from a sensor mounted on a vehicle.

アナログの検知信号をA/D変換するA/D変換器の故障を検出する装置の一例が特許文献1に記載されている。この装置においては、A/D変換器から2つの変換出力を出力させ、これら2つの変換出力の差が設定された判定値よりも大きくなったときに、A/D変換器が故障したと判定するように構成している。しかし、上記構成の場合、ノイズが入ったときに、2つの変換出力の差が判定値よりも大きくなることから、A/D変換器が故障したと誤判定してしまうことがあった。   An example of an apparatus for detecting a failure of an A / D converter that performs A / D conversion of an analog detection signal is described in Patent Document 1. In this apparatus, when two conversion outputs are output from the A / D converter and the difference between the two conversion outputs becomes larger than a set determination value, it is determined that the A / D converter has failed. It is configured to do. However, in the case of the above configuration, when noise enters, the difference between the two conversion outputs becomes larger than the determination value, so that it may be erroneously determined that the A / D converter has failed.

この誤判定を防止する構成として、所定の異常判定時間内において、2つの変換出力の差が判定値よりも大きくなる異常回数をカウントし、判定時間が経過した時点で、異常回数のカウント値が設定されたカウント判定値よりも大きくなったときに、A/D変換器が故障したと判定する構成が考えられている。この構成によれば、ノイズが1〜2回程度入ったときに、誤判定することを防止できる。   As a configuration to prevent this erroneous determination, the number of abnormal times in which the difference between the two conversion outputs is larger than the determination value within a predetermined abnormality determination time is counted, and when the determination time has elapsed, the count value of the abnormal number is A configuration is considered in which it is determined that the A / D converter has failed when the count determination value becomes larger than the set count determination value. According to this configuration, it is possible to prevent erroneous determination when noise enters about once or twice.

特開平11−22538号公報Japanese Patent Laid-Open No. 11-22538

しかし、上記構成の場合、何らかの事情でノイズが多く入るような事態が生じると、異常判定時間が経過した時点で、異常回数のカウント値がカウント判定値よりも大きくなってしまい、A/D変換器が故障したと誤判定する可能性がある。この場合、カウント判定値を大きく設定する対策が考えられるが、カウント判定値を大きくするためには、異常判定時間を長く設定する必要がある。そして、異常判定時間を長くすると、A/D変換器が故障したときに、故障を検出するまでに要する時間が長くなってしまうという問題が発生する。   However, in the case of the above configuration, if a situation in which a lot of noise occurs for some reason occurs, when the abnormality determination time has elapsed, the count value of the number of abnormalities becomes larger than the count determination value, and A / D conversion is performed. There is a possibility of misjudging that the instrument has failed. In this case, a countermeasure for setting a large count determination value can be considered, but in order to increase the count determination value, it is necessary to set a long abnormality determination time. If the abnormality determination time is lengthened, there arises a problem that when the A / D converter breaks down, it takes a long time to detect the failure.

そこで、本発明の目的は、ノイズが入ったときにA/D変換器の故障と誤判定することを防止できると共に、A/D変換器の故障をすみやかに検出することができる車載電子制御装置を提供することにある。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an in-vehicle electronic control device that can prevent erroneous determination of an A / D converter failure when noise enters and can quickly detect a failure of an A / D converter. Is to provide.

請求項1の発明の車載電子制御装置は、車両内から取り込まれると共に2つに分けたアナログ信号をA/D変換して2つの変換出力を出力するA/D変換器と、前記2つの変換出力の差が第1の判定値を超えるときに、仮異常と判定する第1の判定部と、前記2つの変換出力の差が第2の判定値を超えるか否かに基づいて、異常判定時間を可変させる異常判定時間可変部とを備えたところに特徴を有する。   An in-vehicle electronic control device according to a first aspect of the present invention includes an A / D converter that takes in an inside of a vehicle and A / D converts an analog signal divided into two to output two conversion outputs, and the two conversions When the difference in output exceeds the first determination value, the abnormality determination is performed based on the first determination unit that determines that the provisional abnormality is present and whether the difference between the two conversion outputs exceeds the second determination value. It has a feature in that it includes an abnormality determination time variable unit that varies the time.

本発明の第1実施形態を示すもので、スロットル制御装置の概略構成を示すブロック図1 is a block diagram illustrating a schematic configuration of a throttle control device according to a first embodiment of the present invention. 異常検出制御のフローチャートFlow chart of abnormality detection control ノイズが入るときのタイムチャートTime chart when noise enters A/D変換器が故障したときのタイムチャートTime chart when A / D converter breaks down 本発明の第2実施形態を示す図1相当図FIG. 1 equivalent view showing a second embodiment of the present invention 本発明の第3実施形態を示す図1相当図FIG. 1 equivalent view showing a third embodiment of the present invention

以下、本発明の第1実施形態について、図1ないし図4を参照して説明する。図1は、車両のエンジンのスロットル1を駆動制御するスロットル制御装置(車載電子制御装置)2の概略構成を示すブロック図である。この図1に示すように、スロットル制御装置2は、入力回路3と、マイコン4と、駆動回路5とを備えている。   Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a schematic configuration of a throttle control device (on-vehicle electronic control device) 2 that controls driving of a throttle 1 of a vehicle engine. As shown in FIG. 1, the throttle control device 2 includes an input circuit 3, a microcomputer 4, and a drive circuit 5.

入力回路3は、車両のアクセル6の開度を検出するセンサー(アクセルポジションセンサー)7から出力されたアナログの検出信号Saを入力し、この検出信号Saを2つの分けて、第1検出信号Sa1及び第2検出信号Sa2をマイコン4へ出力する。マイコン4は、A/D変換器8と、CPU9とを有している。   The input circuit 3 receives an analog detection signal Sa output from a sensor (accelerator position sensor) 7 for detecting the opening degree of the accelerator 6 of the vehicle, and divides the detection signal Sa into two to obtain a first detection signal Sa1. The second detection signal Sa2 is output to the microcomputer 4. The microcomputer 4 has an A / D converter 8 and a CPU 9.

A/D変換器8は、入力回路3からの第1検出信号Sa1と第2検出信号Sa2を入力し、それぞれA/D変換して2つの変換出力として例えば第1A/D変換信号Sb1と第2A/D変換信号Sb2をCPU9へ出力する。CPU9は、A/D変換器8からの第1A/D変換信号Sb1及び第2A/D変換信号Sb2を入力し、これら2つの第1A/D変換信号Sb1及び第2A/D変換信号Sb2に基づいてA/D変換器8が故障しているか否かを検出する機能を有する。そして、CPU9は、A/D変換器8が故障していないと判定されたときに、第1A/D変換信号Sb1(または第2A/D変換信号Sb2)に基づいてスロットル制御信号を生成し、生成したスロットル制御信号を駆動回路5へ出力する。この構成の場合、CPU9は、第1の判定部、異常判定時間可変部及び第2の判定部としての各機能を有する。   The A / D converter 8 receives the first detection signal Sa1 and the second detection signal Sa2 from the input circuit 3, performs A / D conversion, respectively, and outputs two conversion outputs, for example, the first A / D conversion signal Sb1 and the second detection signal Sa2. 2A / D conversion signal Sb2 is output to CPU9. The CPU 9 inputs the first A / D conversion signal Sb1 and the second A / D conversion signal Sb2 from the A / D converter 8, and based on the two first A / D conversion signals Sb1 and the second A / D conversion signal Sb2. Thus, the A / D converter 8 has a function of detecting whether or not it has failed. When the CPU 9 determines that the A / D converter 8 has not failed, the CPU 9 generates a throttle control signal based on the first A / D conversion signal Sb1 (or the second A / D conversion signal Sb2), The generated throttle control signal is output to the drive circuit 5. In the case of this configuration, the CPU 9 has functions as a first determination unit, an abnormality determination time variable unit, and a second determination unit.

駆動回路5は、CPU9からのスロットル制御信号を入力し、このスロットル制御信号に基づいてスロットル1のスロットルバルブ(図示しない)を駆動するモータ等からなるアクチュエータ(図示しない)へ駆動電圧を出力し、該アクチュエータを通電制御する。   The drive circuit 5 receives a throttle control signal from the CPU 9 and outputs a drive voltage to an actuator (not shown) including a motor that drives a throttle valve (not shown) of the throttle 1 based on the throttle control signal. The actuator is energized and controlled.

次に、上記構成の作用、特には、CPU9のA/D変換器8が故障しているか否かを検出する制御(異常検出制御)について、図2のフローチャートを参照して説明する。まず、図2のステップS10において、A/D変換器8から出力された2つの変換出力の差として、例えば第1A/D変換信号Sb1の電圧と第2A/D変換信号Sb2の電圧との電圧差Va(A/D変換結果の差)が、予め設定された第1の判定値A1よりも大きいか否かを判断する。   Next, the operation of the above configuration, in particular, the control for detecting whether or not the A / D converter 8 of the CPU 9 has failed (abnormality detection control) will be described with reference to the flowchart of FIG. First, in step S10 in FIG. 2, as a difference between two conversion outputs output from the A / D converter 8, for example, a voltage between the voltage of the first A / D conversion signal Sb1 and the voltage of the second A / D conversion signal Sb2 It is determined whether or not the difference Va (difference in A / D conversion result) is larger than a first determination value A1 set in advance.

ここで、上記電圧差Vaが第1の判定値A1よりも大きいときには、ステップS20へ進み、A/D変換器8の現在の状態は仮異常であるとし、異常判定中フラグを「1」に設定し、仮異常カウンタをインクリメント(+1)する。この場合、異常判定中フラグは、異常判定時間の更新処理を実施するか否かを決定する際に用いる。仮異常カウンタは、異常判定を行う際に用いる。一方、上記ステップS10において、上記電圧差Vaが第1の判定値A1以下であるときには、A/D変換器8の現在の状態は正常であるとする。   If the voltage difference Va is larger than the first determination value A1, the process proceeds to step S20, where the current state of the A / D converter 8 is assumed to be a temporary abnormality, and the abnormality determination flag is set to “1”. Set and increment (+1) the temporary abnormality counter. In this case, the abnormality determination flag is used when determining whether or not to perform the abnormality determination time update process. The temporary abnormality counter is used when abnormality determination is performed. On the other hand, when the voltage difference Va is equal to or smaller than the first determination value A1 in step S10, it is assumed that the current state of the A / D converter 8 is normal.

この後、ステップS40へ進み、異常判定中フラグが1であるか否かを判断する。ここで、異常判定中フラグが1でない(即ち、A/D変換器8が一度も仮異常となっておらず、正常状態のみが検出されている)ときには、「NO」へ進み、ステップS140へ進み、A/D変換器8が正常であると判定し、この制御を終了する。   Thereafter, the process proceeds to step S40, and it is determined whether or not the abnormality determination flag is 1. Here, when the abnormality determination flag is not 1 (that is, when the A / D converter 8 has never become a temporary abnormality and only a normal state is detected), the process proceeds to “NO” and proceeds to step S140. Then, it is determined that the A / D converter 8 is normal, and this control is terminated.

一方、上記ステップS40において、異常判定中フラグが1である(即ち、A/D変換器8の現在の状態が仮異常である)ときには、「YES」へ進み、ステップS50へ進む。このステップS50では、A/D変換の上記電圧差Vaが、予め設定された第2の判定値A2よりも大きいか否かを判断する。尚、第2の判定値A2は、上記第1の判定値A1よりも大きい値に設定されている。ここで、電圧差Vaが第2の判定値A2よりも大きいときには、「YES」へ進み、ステップS60へ進み、異常判定時間を時間T1(例えば4ms)短くする。このように異常判定時間を短くする理由は、A/D変換器8の異常(故障)を早く検出できるようにして、フェールセーフやダイアグ情報の記憶など、速やかに異常対応を実施できるようにするためである。   On the other hand, when the abnormality determination flag is 1 in step S40 (that is, the current state of the A / D converter 8 is a temporary abnormality), the process proceeds to “YES”, and the process proceeds to step S50. In step S50, it is determined whether or not the voltage difference Va for A / D conversion is larger than a preset second determination value A2. Note that the second determination value A2 is set to a value larger than the first determination value A1. Here, when the voltage difference Va is larger than the second determination value A2, the process proceeds to “YES”, the process proceeds to step S60, and the abnormality determination time is shortened by time T1 (for example, 4 ms). The reason for shortening the abnormality determination time in this way is to enable early detection of an abnormality (failure) in the A / D converter 8 so that the abnormality can be promptly dealt with, such as fail-safe and storing of diagnostic information. Because.

また、上記ステップS50において、電圧差Vaが第2の判定値A2以下のときには、「NO」へ進み、ステップS70へ進み、異常判定時間を時間T2(例えば4ms)長くする。このように異常判定時間を長くする理由は、ノイズが多く入るときにおいても誤検出しないようにするためである。   In step S50, when the voltage difference Va is equal to or smaller than the second determination value A2, the process proceeds to “NO”, the process proceeds to step S70, and the abnormality determination time is increased by time T2 (for example, 4 ms). The reason for making the abnormality determination time longer is to prevent erroneous detection even when a lot of noise enters.

続いて、ステップS80へ進み、判定回数カウンタをインクリメント(+1)すると共に、判定時間カウンタをインクリメントする(時間T3(例えば4ms)を加算する)。尚、判定回数カウンタは、異常判定を行うために用いる。判定時間カウンタは、判定時間算出を行うために用いる。   Subsequently, the process proceeds to step S80, where the determination number counter is incremented (+1) and the determination time counter is incremented (time T3 (for example, 4 ms) is added). The determination number counter is used to perform abnormality determination. The determination time counter is used for calculating the determination time.

次いで、ステップS90へ進み、判定時間カウンタが異常判定時間以上であるか否かを判断する。ここで、判定時間カウンタが異常判定時間未満である時には、「NO」へ進み、異常判定を実施せず、処理を終了する。一方、上記ステップS90において、判定時間カウンタが異常判定時間以上であるときには、「YES」へ進み、ステップS100へ進み、異常判定を実施する。このステップS100においては、仮異常カウンタ/判定回数カウンタ(即ち、仮異常カウンタのカウント値と判定回数カウンタのカウント値の割合)が所定の割合(例えば50%)よりも大きいか否かを判断する。ここで、仮異常カウンタ/判定回数カウンタが所定の割合よりも大きいときには、「YES」へ進み、ステップS110へ進み、A/D変換器8が本異常であると判定する。また、仮異常カウンタ/判定回数カウンタが所定の割合に達していないときには、「NO」へ進み、ステップS120へ進み、A/D変換器8が正常であると判定する。   Next, the process proceeds to step S90, and it is determined whether or not the determination time counter is equal to or greater than the abnormality determination time. Here, when the determination time counter is less than the abnormality determination time, the process proceeds to “NO”, the abnormality determination is not performed, and the process ends. On the other hand, when the determination time counter is equal to or greater than the abnormality determination time in step S90, the process proceeds to “YES”, and the process proceeds to step S100 to perform abnormality determination. In step S100, it is determined whether or not the temporary abnormality counter / determination count counter (that is, the ratio between the count value of the temporary abnormality counter and the count value of the determination counter) is greater than a predetermined ratio (for example, 50%). . Here, when the temporary abnormality counter / determination count counter is larger than the predetermined ratio, the process proceeds to “YES”, and the process proceeds to step S110, where it is determined that the A / D converter 8 has this abnormality. If the temporary abnormality counter / determination count counter does not reach the predetermined ratio, the process proceeds to “NO”, proceeds to step S120, and determines that the A / D converter 8 is normal.

尚、上記ステップS100における異常判定において、上記したような割合の比較で異常を判定する理由は、A/D変換器8が正常であると誤判定してしまうことを防止するためである。即ち、A/D変換器8が異常状態であっても、入力電圧によってはたまたまA/D変換結果の電圧差Vaが小さくなることがあり、このような場合に、即座に異常判定処理を行うと、A/D変換器8が正常であると誤判定してしまう。これに対して、本実施形態のように、一定時間のうちの異常であった時間の割合で異常判定を行うように構成すると、上記した正常の誤判定を防止することができる。尚、従来構成においては、異常判定時間を固定していたため、上記した割合を算出して比較するような異常判定処理は実施されていない。   In the abnormality determination in step S100, the reason for determining abnormality by comparing the ratios as described above is to prevent erroneous determination that the A / D converter 8 is normal. That is, even when the A / D converter 8 is in an abnormal state, the voltage difference Va of the A / D conversion result may be small depending on the input voltage. In such a case, the abnormality determination process is immediately performed. Then, the A / D converter 8 is erroneously determined to be normal. On the other hand, when the abnormality determination is performed at the rate of the abnormal time in the fixed time as in the present embodiment, the above-described normal erroneous determination can be prevented. In the conventional configuration, since the abnormality determination time is fixed, the abnormality determination processing for calculating and comparing the above-described ratio is not performed.

この後は、ステップS130へ進み、上記したフラグやカウンタ等を初期化する。具体的には、異常判定中フラグに「0」をセットし、仮異常カウンタを「0」クリアし、判定時間カウンタを「0」クリアし、異常判定時間に所定値(例えば48ms)をセットする。これにより、異常検出制御を終了する。尚、本実施形態では、上記した図2に示すA/D変換器8の故障検出処理(異常検出制御)を、所定のサンプリング周期で例えば4ms毎に実行するように構成されている。   Thereafter, the process proceeds to step S130, and the above-described flags, counters, etc. are initialized. Specifically, the abnormality determination flag is set to “0”, the temporary abnormality counter is cleared to “0”, the determination time counter is cleared to “0”, and a predetermined value (for example, 48 ms) is set to the abnormality determination time. . Thereby, abnormality detection control is complete | finished. In the present embodiment, the above-described failure detection process (abnormality detection control) of the A / D converter 8 shown in FIG. 2 is executed at a predetermined sampling period, for example, every 4 ms.

次に、上記したA/D変換器8の異常検出制御の動作について、図3及び図4を参照して説明する。図3及び図4は、A/D変換器8が出力する第1A/D変換信号Sb1及び第2A/D変換信号Sb2と、第1A/D変換信号Sb1の電圧と第2A/D変換信号Sb2の電圧との電圧差Vaと、異常判定時間の動作と、判定時間カウンタの動作と、仮異常カウンタの動作と、判定タイミングとの関係を示したタイミングチャートである。図3は、入力回路3にノイズが3回入った場合のタイミングチャートである。図4は、正常に動作していたA/D変換器8が途中で故障した場合のタイミングチャートである。   Next, the operation of the abnormality detection control of the A / D converter 8 will be described with reference to FIGS. 3 and 4 show the first A / D conversion signal Sb1 and the second A / D conversion signal Sb2 output from the A / D converter 8, the voltage of the first A / D conversion signal Sb1, and the second A / D conversion signal Sb2. 5 is a timing chart showing the relationship between the voltage difference Va from the voltage of V, the operation of the abnormality determination time, the operation of the determination time counter, the operation of the temporary abnormality counter, and the determination timing. FIG. 3 is a timing chart when noise enters the input circuit 3 three times. FIG. 4 is a timing chart when the A / D converter 8 that has been operating normally fails in the middle.

まず、図3を参照して、入力回路3にノイズが3回入ったときの動作について説明する。図3において、第1A/D変換信号Sb1は、サンプリングしてA/D変換して得られた信号であって、上記3回のノイズの影響を受けなかった信号である(実線参照)。第2A/D変換信号Sb2は、サンプリングしてA/D変換して得られた信号であって、上記3回のノイズの影響を受けた信号である(1点鎖線参照)。ノイズが入ったときに、第1A/D変換信号Sb1の電圧値と、第2A/D変換信号Sb2の電圧値が大きく異なる。このため、第1A/D変換信号Sb1の電圧と第2A/D変換信号Sb2の電圧との電圧差Vaは、ノイズが入ったときに大きくなり、ノイズが入っていないときに小さくなる。   First, the operation when noise enters the input circuit 3 three times will be described with reference to FIG. In FIG. 3, the first A / D conversion signal Sb1 is a signal obtained by sampling and A / D conversion, and is not affected by the above three times of noise (see solid line). The second A / D conversion signal Sb2 is a signal obtained by sampling and A / D conversion, and is a signal affected by the above three times of noise (refer to a one-dot chain line). When noise enters, the voltage value of the first A / D conversion signal Sb1 and the voltage value of the second A / D conversion signal Sb2 are greatly different. For this reason, the voltage difference Va between the voltage of the first A / D conversion signal Sb1 and the voltage of the second A / D conversion signal Sb2 increases when noise enters, and decreases when there is no noise.

図3に示す時刻t1において、1回目のノイズが入ったときに、判定時間カウンタがインクリメント(例えば4msの加算)を開始する。そして同時に、Sb1とSB2の電圧差Vaが第1の判定値A1を超えたため、仮異常カウンタもインクリメント(+1)する。この後、時刻t2、t3で、ノイズが入り、ノイズは合計3回入る。これにより、電圧差Vaが第1の判定値A1を超えた回数が3回となるため、仮異常カウンタの値は3になる。   At time t1 shown in FIG. 3, when the first noise is input, the determination time counter starts incrementing (for example, addition of 4 ms). At the same time, since the voltage difference Va between Sb1 and SB2 exceeds the first determination value A1, the temporary abnormality counter is also incremented (+1). Thereafter, noise enters at times t2 and t3, and noise enters a total of three times. As a result, the number of times that the voltage difference Va exceeds the first determination value A1 is 3, so that the value of the temporary abnormality counter is 3.

また、本実施形態では、異常判定時間の初期値を48msとしている。そして、図2のステップS50、S60、S70に示す判定時間算出処理を実行すると、電圧差Vaが第2の判定値V2を超えたときは異常判定時間を短くし、電圧差Vaが第2の判定値V2に満たないときは異常判定時間を長くする。上記3回のノイズが入ったときは、すべて電圧差Vaが第2の判定値V2に満たないため、異常判定時間はノイズが入る毎に長くなる(増加する)。本実施形態では、例えば4msずつ増加するように設定されている(T2=4ms)。尚、本実施形態では、異常判定時間の最大設定値(最大時間)が例えば64msに設定されており、ノイズが4回入ると(判定時間算出処理が4回実施されると)、異常判定時間は64msになるため、それ以上は大きくならないように構成されている。   In this embodiment, the initial value of the abnormality determination time is 48 ms. When the determination time calculation process shown in steps S50, S60, and S70 of FIG. 2 is executed, when the voltage difference Va exceeds the second determination value V2, the abnormality determination time is shortened, and the voltage difference Va is When it is less than the determination value V2, the abnormality determination time is lengthened. When the above three noises are input, the voltage difference Va is less than the second determination value V2, and therefore the abnormality determination time becomes longer (increases) every time noise is input. In this embodiment, for example, it is set to increase by 4 ms (T2 = 4 ms). In the present embodiment, the maximum setting value (maximum time) of the abnormality determination time is set to 64 ms, for example, and when noise enters four times (when the determination time calculation process is performed four times), the abnormality determination time is set. Is set to 64 ms, so that it does not become larger.

この後、判定時間カウンタのカウント値(算出時間)が異常判定時間(60ms)となるまでA/D変換の電圧差Vaを算出し続ける。そして、判定時間カウンタのカウント値が異常判定時間に一致したとき(判定タイミングとなったとき、時刻t4で)、仮異常カウンタの値に基づいて異常であった割合を算出し、異常判定を実施する。この図3に示す例では、仮異常・正常の判定が15回実施され、仮異常カウンタの値が3であることから、異常であった割合は、3/15=20%である。ここで、例えば異常判定のしきい値(所定の割合)が例えば50%と設定されていたとすると、図3に示す例の場合、A/D変換器8は正常であると判定される。   Thereafter, the A / D conversion voltage difference Va is continuously calculated until the count value (calculation time) of the determination time counter reaches the abnormality determination time (60 ms). Then, when the count value of the determination time counter coincides with the abnormality determination time (when the determination timing comes, at time t4), the ratio of abnormality is calculated based on the value of the temporary abnormality counter, and abnormality determination is performed. To do. In the example shown in FIG. 3, the provisional abnormality / normality determination is performed 15 times, and the value of the provisional abnormality counter is 3, so the ratio of abnormality is 3/15 = 20%. Here, for example, if the threshold value (predetermined ratio) for abnormality determination is set to 50%, for example, in the example shown in FIG. 3, it is determined that the A / D converter 8 is normal.

次に、図4を参照して、はじめは正常に動作していたA/D変換器8が途中で故障した場合の動作について説明する。図4において、第1A/D変換信号Sb1は、A/D変換器8が故障しても正常にA/D変換され続けて得られた信号である(実線参照)。第2A/D変換信号Sb2は、はじめは正常にA/D変換された信号であり、A/D変換器8が故障してからは0Vの電圧の信号が出力された信号である(1点鎖線参照)。   Next, with reference to FIG. 4, the operation when the A / D converter 8 which has been normally operating first fails in the middle will be described. In FIG. 4, the first A / D conversion signal Sb1 is a signal obtained by continuing A / D conversion normally even if the A / D converter 8 fails (see solid line). The second A / D conversion signal Sb2 is a signal that has been normally A / D converted, and is a signal from which a signal having a voltage of 0 V has been output since the A / D converter 8 has failed (one point). (See chain line).

図4に示す時刻t11において、A/D変換器8が故障したときに、判定時間カウンタがインクリメント(例えば4msの加算)を開始する。また、第1A/D変換信号Sb1の電圧と第2A/D変換信号Sb2の電圧との電圧差Vaが第1の判定値A1を超えるため、仮異常カウンタがインクリメント(+1)する。A/D変換器8が故障した後は、Sb1とSB2の電圧差Vaが第1の判定値A1よりも大きいため、判定タイミングとなるまで仮異常カウンタはインクリメントし続ける。   At time t11 shown in FIG. 4, when the A / D converter 8 fails, the determination time counter starts incrementing (for example, addition of 4 ms). Further, since the voltage difference Va between the voltage of the first A / D conversion signal Sb1 and the voltage of the second A / D conversion signal Sb2 exceeds the first determination value A1, the temporary abnormality counter is incremented (+1). After the A / D converter 8 has failed, the voltage difference Va between Sb1 and SB2 is larger than the first determination value A1, and therefore the temporary abnormality counter continues to be incremented until the determination timing comes.

本実施形態では、異常判定時間の初期値を例えば48msとしている。そして、図2のステップS50、S60、S70に示す判定時間算出処理を実行すると、電圧差Vaが第2の判定値V2を超えたときは異常判定時間を短くし、電圧差Vaが第2の判定値V2に満たないときは異常判定時間を長くする。A/D変換器8が故障した後は、電圧差Vaが第2の判定値A2よりも大きいことから、異常判定時間は上記判定時間算出処理を実行する毎に短くなる。本実施形態の場合、例えば4msずつ減少するように設定されている(T1=4ms)。尚、本実施形態では、異常判定時間の最小設定値(最小時間)が例えば32msに設定されており、上記判定時間算出処理が4回実施されると(時刻t12で)、異常判定時間は32msになることから、それ以上は小さくならないように構成されている。   In this embodiment, the initial value of the abnormality determination time is set to 48 ms, for example. When the determination time calculation process shown in steps S50, S60, and S70 of FIG. 2 is executed, when the voltage difference Va exceeds the second determination value V2, the abnormality determination time is shortened, and the voltage difference Va is When it is less than the determination value V2, the abnormality determination time is lengthened. After the failure of the A / D converter 8, the voltage difference Va is larger than the second determination value A2, so that the abnormality determination time becomes shorter every time the determination time calculation process is executed. In the case of this embodiment, for example, it is set to decrease by 4 ms (T1 = 4 ms). In this embodiment, the minimum setting value (minimum time) of the abnormality determination time is set to 32 ms, for example, and when the determination time calculation process is performed four times (at time t12), the abnormality determination time is 32 ms. Therefore, it is configured not to become smaller.

この後、判定時間カウンタのカウント値(時間)が異常判定時間(32ms)となるまでA/D変換の電圧差Vaを算出し続ける。そして、判定時間カウンタのカウント値が異常判定時間に一致したとき(判定タイミングとなったとき、時刻t13で)、仮異常カウンタの値に基づいてA/D変換器8が異常であった割合を算出し、異常判定を実施する。この図4に示す例では、仮異常・正常の判定が8回実施され、仮異常カウンタの値が8であることから、異常であった割合は、8/8=100%である。ここで、例えば異常判定のしきい値(所定の割合)が例えば50%と設定されていたとすると、図4に示す例の場合、A/D変換器8は異常(故障)であると判定される。   Thereafter, the A / D conversion voltage difference Va is continuously calculated until the count value (time) of the determination time counter reaches the abnormality determination time (32 ms). Then, when the count value of the determination time counter coincides with the abnormality determination time (when the determination timing is reached, at time t13), the ratio at which the A / D converter 8 is abnormal is determined based on the value of the temporary abnormality counter. Calculate and perform abnormality determination. In the example shown in FIG. 4, the provisional abnormality / normality determination is performed 8 times, and the value of the provisional abnormality counter is 8. Therefore, the ratio of abnormality is 8/8 = 100%. Here, for example, if the threshold value (predetermined ratio) for abnormality determination is set to 50%, for example, in the example shown in FIG. 4, the A / D converter 8 is determined to be abnormal (failure). The

このような構成の本実施形態によれば、2つのデジタル信号Sb1、Sb2の電圧差Vaが第1の判定値A1を超えるときに、仮異常と判定し、2つのデジタル信号Sb1、Sb2の電圧差Vaが第2の判定値A2を超えるか否かに基づいて、異常判定時間を可変させる構成としたので、電圧差Vaが小さいときには、異常判定時間を長くすることが可能となることから、ノイズが多く入るような場合に、誤判定することを防止できる。また、電圧差Vaが大きいときには、異常判定時間を短くすることが可能となることから、すみやかに異常判定できるため、A/D変換器8の異常(故障)に速やかに対応することができる。   According to the present embodiment having such a configuration, when the voltage difference Va between the two digital signals Sb1 and Sb2 exceeds the first determination value A1, it is determined as a temporary abnormality, and the voltages of the two digital signals Sb1 and Sb2 Since the abnormality determination time is variable based on whether or not the difference Va exceeds the second determination value A2, the abnormality determination time can be increased when the voltage difference Va is small. It is possible to prevent erroneous determination when there is a lot of noise. Further, when the voltage difference Va is large, the abnormality determination time can be shortened, so that the abnormality can be determined promptly, so that the abnormality (failure) of the A / D converter 8 can be dealt with promptly.

また、上記実施形態においては、異常判定時間を最大設定値と最小設定値の間で可変させるように構成したので、異常判定時間が異常に大きくなることや、負の値になることを防止できる。   In the above embodiment, since the abnormality determination time is configured to be variable between the maximum setting value and the minimum setting value, the abnormality determination time can be prevented from becoming abnormally large or a negative value. .

更に、上記実施形態では、異常判定完了まで2つのデジタル信号の電圧差Vaが第2の判定値A2を超えるか否かに基づいて異常判定時間を可変させ続けるように構成したので、異常判定タイミングを早くすることができ、A/D変換器8の異常(故障)により一層速やかに対応することができる。   Furthermore, in the above embodiment, the abnormality determination time is continuously varied based on whether or not the voltage difference Va between the two digital signals exceeds the second determination value A2 until the abnormality determination is completed. The A / D converter 8 can be dealt with more quickly due to an abnormality (failure).

また、上記実施形態では、仮異常の検出回数と異常判定時間の割合が所定の割合(所定値)以上のときに、A/D変換器8が異常であると判定するように構成したので、A/D変換器8が異常状態であっても、入力電圧によってはたまたま電圧差Vaが小さくなることがあり、そこで判定すると、正常と誤判定する可能性があるが、異常判定時間のうちの異常状態であった割合で判定することで、正常と誤判定することを防止できる。尚、本実施形態の異常検出制御(図2参照)は、マイコン4の制御プログラムを変更することにより、ハードウェアの変更を伴わずに実現することができる。   In the above embodiment, the A / D converter 8 is determined to be abnormal when the ratio between the number of provisional abnormality detections and the abnormality determination time is equal to or greater than a predetermined ratio (predetermined value). Even if the A / D converter 8 is in an abnormal state, the voltage difference Va may happen to be small depending on the input voltage. By determining with the ratio of being in an abnormal state, it is possible to prevent erroneous determination as normal. The abnormality detection control (see FIG. 2) of the present embodiment can be realized without changing hardware by changing the control program of the microcomputer 4.

図5は、本発明の第2実施形態を示すものである。尚、第1実施形態と同一構成には、同一符号を付している。この第2実施形態においては、マイコン4が2個のA/D変換器11、12を備えるように構成した。上述した以外の第2実施形態の構成は、第1実施形態の構成と同じ構成となっている。従って、第2実施形態においても、第1実施形態とほぼ同じ作用効果を得ることができる。   FIG. 5 shows a second embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same structure as 1st Embodiment. In the second embodiment, the microcomputer 4 includes two A / D converters 11 and 12. The configuration of the second embodiment other than that described above is the same as the configuration of the first embodiment. Therefore, in the second embodiment, substantially the same operational effects as in the first embodiment can be obtained.

図6は、本発明の第3実施形態を示すものである。尚、第1実施形態と同一構成には、同一符号を付している。この第3実施形態においては、入力回路13の中にA/D変換器14を備えるように構成した。上述した以外の第3実施形態の構成は、第1実施形態の構成と同じ構成となっている。従って、第3実施形態においても、第1実施形態とほぼ同じ作用効果を得ることができる。   FIG. 6 shows a third embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same structure as 1st Embodiment. In the third embodiment, an A / D converter 14 is provided in the input circuit 13. The configuration of the third embodiment other than that described above is the same as the configuration of the first embodiment. Therefore, in the third embodiment, substantially the same operational effects as in the first embodiment can be obtained.

また、上記各実施形態において、A/D変換器8、11、12、14の基準電圧が低下したときに、異常検出処理を停止するように構成することが好ましい。このように構成すると、基準電圧低下時の異常の誤検出を防止することができる。   In each of the above embodiments, it is preferable that the abnormality detection process is stopped when the reference voltages of the A / D converters 8, 11, 12, and 14 are lowered. If comprised in this way, the erroneous detection of abnormality at the time of a reference voltage fall can be prevented.

更に、上記各実施形態において、異常判定時間の最大設定値(最大時間)は、A/D変換器8、11、12、14の異常変換出力を用いることによっても車両の挙動に影響を与えない程度の最小時間に設定することが好ましい。このように構成すると、異常判定時間が最大設定値であるときでも、ユーザの意図せぬ挙動を車両にさせないようにすることができる。   Further, in each of the embodiments described above, the maximum setting value (maximum time) of the abnormality determination time does not affect the behavior of the vehicle by using the abnormality conversion output of the A / D converters 8, 11, 12, and 14. It is preferable to set the minimum time. If comprised in this way, even when abnormality determination time is the maximum setting value, a user's unintended behavior can be prevented from making a vehicle.

また、上記各実施形態において、異常判定時間の最小設定値(最小時間)は、スロットル1のアクチュエータを連続駆動可能な最大時間とすることが好ましい。このように構成すると、A/D変換器8の異常を検出したときに、A/D変換器8の異常変換出力をアクチュエータに伝えたとしても、アクチュエータが異常動作しないようにフェールセーフを行うことができる。   In each of the above embodiments, it is preferable that the minimum setting value (minimum time) of the abnormality determination time is the maximum time during which the actuator of the throttle 1 can be continuously driven. With this configuration, when an abnormality of the A / D converter 8 is detected, even if the abnormality conversion output of the A / D converter 8 is transmitted to the actuator, fail safe is performed so that the actuator does not operate abnormally. Can do.

また、上記各実施形態においては、A/D変換器8から出力される2つの変換出力の差として、例えば第1A/D変換信号Sb1の電圧と第2A/D変換信号Sb2の電圧との電圧差Vaを用いるように構成したが、これに限られるものではなく、A/D変換器8から出力される他の2つの変換出力の差を用いるように構成しても良い。   In each of the above embodiments, the difference between the two conversion outputs output from the A / D converter 8 is, for example, the voltage between the voltage of the first A / D conversion signal Sb1 and the voltage of the second A / D conversion signal Sb2. Although the difference Va is configured to be used, the present invention is not limited to this, and a difference between the other two conversion outputs output from the A / D converter 8 may be used.

図面中、1はスロットル、2はスロットル制御装置(車載電子制御装置)、3は入力回路、4はマイコン、6はアクセル、7はセンサー、8はA/D変換器、9はCPU(第1の判定部、異常判定時間可変部、第2の判定部)、11、12はA/D変換器、13は入力回路、14はA/D変換器である。   In the drawings, 1 is a throttle, 2 is a throttle control device (on-vehicle electronic control device), 3 is an input circuit, 4 is a microcomputer, 6 is an accelerator, 7 is a sensor, 8 is an A / D converter, and 9 is a CPU (first , 11 and 12 are A / D converters, 13 is an input circuit, and 14 is an A / D converter.

Claims (8)

車両内から取り込まれると共に2つに分けたアナログ信号をA/D変換して2つの変換出力を出力するA/D変換器(8)と、
前記A/D変換器(8)から出力された2つの変換出力の差が第1の判定値を超えるときに、仮異常と判定する第1の判定部(9)と、
前記2つの変換出力の差が第2の判定値を超えるか否かに基づいて、異常判定時間を可変させる異常判定時間可変部(9)と
を備えた車載電子制御装置。
An A / D converter (8) that takes in from the vehicle and A / D converts an analog signal divided into two to output two conversion outputs;
A first determination unit (9) that determines a temporary abnormality when a difference between two conversion outputs output from the A / D converter (8) exceeds a first determination value;
An on-vehicle electronic control device comprising: an abnormality determination time variable unit (9) that varies the abnormality determination time based on whether or not the difference between the two conversion outputs exceeds a second determination value.
前記異常判定時間可変部(9)は、前記2つの変換出力の差が第2の判定値より大きいときには前記異常判定時間を短くし、前記2つの変換出力の差が第2の判定値よりも小さいときには前記異常判定時間を長くすることを特徴とすることを特徴とする請求項1記載の車載電子制御装置。   The abnormality determination time variable unit (9) shortens the abnormality determination time when the difference between the two conversion outputs is larger than a second determination value, and the difference between the two conversion outputs is smaller than the second determination value. 2. The on-vehicle electronic control device according to claim 1, wherein when the time is small, the abnormality determination time is lengthened. 前記異常判定時間可変部(9)は、前記異常判定時間を最大設定値と最小設定値の間で可変させることを特徴とする請求項1または2記載の車載電子制御装置。   The on-vehicle electronic control device according to claim 1 or 2, wherein the abnormality determination time variable unit (9) varies the abnormality determination time between a maximum set value and a minimum set value. 前記異常判定時間可変部(9)は、異常判定完了まで前記2つの変換出力の差が第2の判定値を超えるか否かに基づいて異常判定時間を可変させ続けることを特徴とする請求項1から3のいずれか一項記載の車載電子制御装置。   The abnormality determination time variable unit (9) is characterized by continuously varying the abnormality determination time based on whether or not a difference between the two conversion outputs exceeds a second determination value until the abnormality determination is completed. The vehicle-mounted electronic control apparatus as described in any one of 1-3. 仮異常の検出回数と異常判定時間の割合が所定値以上のときに、前記A/D変換器(8)が異常であると判定する第2の判定部(9)を備えたことを特徴とする請求項1から4のいずれか一項記載の車載電子制御装置。   A second determination unit (9) is provided that determines that the A / D converter (8) is abnormal when the ratio of the number of provisional abnormality detections to the abnormality determination time is equal to or greater than a predetermined value. The on-vehicle electronic control device according to any one of claims 1 to 4. 前記A/D変換器(8)の基準電圧が低下したときには、異常検出処理を停止するように構成されていることを特徴とする請求項1記載の車載電子制御装置。   The vehicle-mounted electronic control device according to claim 1, wherein the abnormality detection process is stopped when a reference voltage of the A / D converter (8) is lowered. 前記異常判定時間の最大設定値は、前記A/D変換器(8)の異常変換出力を用いることによっても車両の挙動に影響を与えない程度の最小時間であることを特徴とする請求項3記載の車載電子制御装置。   The maximum set value of the abnormality determination time is a minimum time that does not affect the behavior of the vehicle even by using the abnormal conversion output of the A / D converter (8). The vehicle-mounted electronic control apparatus of description. 前記異常判定時間の最小設定値は、アクチュエータを連続駆動可能な最大時間とすることを特徴とする請求項3記載の車載電子制御装置。   The in-vehicle electronic control device according to claim 3, wherein the minimum set value of the abnormality determination time is a maximum time during which the actuator can be continuously driven.
JP2014212638A 2014-10-17 2014-10-17 On-vehicle electronic controller Pending JP2016082430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014212638A JP2016082430A (en) 2014-10-17 2014-10-17 On-vehicle electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014212638A JP2016082430A (en) 2014-10-17 2014-10-17 On-vehicle electronic controller

Publications (1)

Publication Number Publication Date
JP2016082430A true JP2016082430A (en) 2016-05-16

Family

ID=55959295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014212638A Pending JP2016082430A (en) 2014-10-17 2014-10-17 On-vehicle electronic controller

Country Status (1)

Country Link
JP (1) JP2016082430A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113673116A (en) * 2021-09-01 2021-11-19 上海交通大学 Three-dimensional quasi-transportation acceleration method aiming at uniform geometric variable block method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113673116A (en) * 2021-09-01 2021-11-19 上海交通大学 Three-dimensional quasi-transportation acceleration method aiming at uniform geometric variable block method

Similar Documents

Publication Publication Date Title
JP4849164B2 (en) Voltage monitoring device
WO2011040411A1 (en) Voltage monitoring apparatus
JP5739290B2 (en) Electronic control unit
US9778711B2 (en) Control device and reset system utilizing the same
US9083367B2 (en) Analog-to-digital converter and self-diagnosis method for analog-to-digital converter
CN108696232B (en) Vehicle motor control apparatus and method
US10710521B2 (en) Abnormality monitoring device and electric power steering device using same
JP2016113968A (en) Vehicular control device and control method
JP2016082430A (en) On-vehicle electronic controller
KR101596025B1 (en) Error detection method of fail safe software
JP6699480B2 (en) Signal processor
JP5182149B2 (en) Sensor failure detection device
JP5226653B2 (en) In-vehicle control device
KR102195845B1 (en) Fuel supply pump controller having self diagnostic function
JP6094387B2 (en) Control device
JP5978873B2 (en) Electronic control unit
US10099370B2 (en) Driver device for electric gripper and driving method thereof
JP6522550B2 (en) Electronic control unit
JP6533489B2 (en) Vehicle controller
JP4308624B2 (en) Engine control device
JP7435428B2 (en) integrated circuit device
JP5936746B1 (en) Electronic throttle control device
JP2017219923A (en) Electrostatic capacity detection device and malfunction prevention method
JP5900300B2 (en) Abnormality detection device for A / D converter
JP2016182873A (en) Failure diagnostic device