JPH05302544A - Electronic control unit - Google Patents

Electronic control unit

Info

Publication number
JPH05302544A
JPH05302544A JP10461792A JP10461792A JPH05302544A JP H05302544 A JPH05302544 A JP H05302544A JP 10461792 A JP10461792 A JP 10461792A JP 10461792 A JP10461792 A JP 10461792A JP H05302544 A JPH05302544 A JP H05302544A
Authority
JP
Japan
Prior art keywords
control
input
output
processing
arithmetic
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
JP10461792A
Other languages
Japanese (ja)
Inventor
Hiroshi Yamakita
宏 山北
Katsuhiro Ina
克弘 伊奈
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
NipponDenso Co 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP10461792A priority Critical patent/JPH05302544A/en
Publication of JPH05302544A publication Critical patent/JPH05302544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To greatly reduce a processing load relating to an arithmetic unit by independently executing various processes relating to interruption of input/ output. CONSTITUTION:In the case of an on-vehicle electronic control unit 1 of this practical example, a detection signal from the first sensor 17, serving as a detecting means, is converted into a specified detection data in accordance with a LAN protocol by an input/output ECU5, serving as an input processing means, and stored. Arithmetic ECUs 7 to 11, serving as control quantity arithmetic means, receiving the detection data through a LAN circuit 3 serving as a communication line, are only required to calculate a control quantity of a control objective equipment based on the received detection data. Further, a control quantity data as the arithmetic result is stored by the input/output ECU5 serving as an output processing means and converted into a specified control signal to feed it to the control objective equipment. That is, in the arithmetic ECUs 7 to 11, a processing load is greatly reduced by obviating the necessity for executing an input/output process relating to interruption or the like from the first sensor 17.

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 unit for controlling controlled equipment via a communication line.

【0002】[0002]

【従来の技術】従来、この種の電子制御装置として、例
えば図4に示す車載電子制御装置101がある。この車
載電子制御装置101は車載LANとしてデータ通信を
行うものであり、LAN回線103に接続されているn
個の電子制御回路(第1制御ECU105,第2制御E
CU107,第3制御ECU109,・・・,第n制御
ECU111)、各制御ECU105〜111に検出信
号を送るセンサ(第1センサ113,第2センサ11
5,第3センサ117,・・・,第nセンサ119)、
各制御ECU105〜111の制御対象機器またはその
一部としてのアクチュエータ(第1アクチュエータ12
1,第2アクチュエータ123,第3アクチュエータ1
25,・・・,第nアクチュエータ127)等により構
成されている。
2. Description of the Related Art Conventionally, as an electronic control device of this type, for example, there is an on-vehicle electronic control device 101 shown in FIG. The in-vehicle electronic control unit 101 performs data communication as an in-vehicle LAN and is connected to the LAN line 103.
Electronic control circuits (first control ECU 105, second control E
CU107, 3rd control ECU109, ..., nth control ECU111), the sensor which sends the detection signal to each control ECU105-111 (the 1st sensor 113, the 2nd sensor 11).
5, third sensor 117, ..., Nth sensor 119),
An actuator (first actuator 12) as a device to be controlled by each of the control ECUs 105 to 111 or a part thereof
1, second actuator 123, third actuator 1
, ..., The nth actuator 127) and the like.

【0003】そして各制御ECU105〜111は、図
5に例示する処理手順に基づきアクチュエータ121〜
127の制御を行う。即ち、センサ113〜119から
送られる信号をトリガとして割込みを開始し(S20
1)、送られた信号にデータ変換等の処理を加え(S2
03)、処理が加えられた検出データに基づき演算を行
い(S205)、演算の結果から制御信号を生成してア
クチュエータ121〜127に送出する(S207)。
Each of the control ECUs 105 to 111 has actuators 121 to 121 based on the processing procedure illustrated in FIG.
The control of 127 is performed. That is, an interrupt is started by using a signal sent from the sensors 113 to 119 as a trigger (S20
1) Add processing such as data conversion to the sent signal (S2
03), a calculation is performed based on the processed detection data (S205), and a control signal is generated from the calculation result and sent to the actuators 121 to 127 (S207).

【0004】例えば、第1センサ113がクランク軸の
回転に応じてパルス信号を発生する回転速度センサであ
った場合、第1制御ECU105は送られるパルス信号
をトリガとして割込み処理を開始し、そのパルス間隔の
時間を計測することでエンジン回転速度に変換する。変
換されたエンジン回転速度は、他センサから得られた吸
入空気量等と共に検出データとして、例えば燃料噴射量
や燃料噴射時期等の制御量データの演算に用いられる。
制御量データとしての燃料噴射量や燃料噴射時期は、所
定の制御信号に変換されて、例えばインジェクタ等のア
クチュエータ121の制御に用いられる。その際、上記
割込みが絶えず発生している。更に車載電子制御装置1
01はLAN回線103を介して各制御ECU105〜
111間におけるデータ交換を必要に応じて行ってい
る。
For example, when the first sensor 113 is a rotation speed sensor that generates a pulse signal in response to the rotation of the crankshaft, the first control ECU 105 starts an interrupt process by using the pulse signal sent as a trigger, and the pulse It is converted into the engine speed by measuring the time of the interval. The converted engine rotation speed is used as detection data together with the intake air amount obtained from other sensors, for example, for calculation of control amount data such as fuel injection amount and fuel injection timing.
The fuel injection amount and the fuel injection timing as the control amount data are converted into a predetermined control signal and used for controlling the actuator 121 such as an injector. At that time, the above interruption is constantly occurring. In-vehicle electronic control unit 1
01 is each control ECU 105 through the LAN line 103
Data is exchanged between the 111 as necessary.

【0005】[0005]

【発明が解決しようとする課題】しかしこうした従来の
車載電子制御装置101では、センサ113〜119か
ら制御ECU105〜111に対する割込みが頻繁にな
ると、制御ECU105〜111は割込み頻度に応じた
多くの入力処理を単位時間内に実行することになり高い
負荷を受ける。即ち、優先度の高い割込み処理(入力処
理)を実行するために他の処理(例えばアクチュエータ
121〜127の制御量データを算出する処理)が遅れ
るという問題が生ずる。例えば、エンジン回転が高速に
なると、それに応じて回転速度センサとしての第1セン
サ113から出力されるパルスの周波数は高くなり、第
1制御ECU105に対する割込みは頻繁になる。その
ため第1制御ECU105は、割込み処理のために高い
負荷を受け、制御量データの演算が遅れることになる。
However, in such a conventional on-vehicle electronic control unit 101, when the sensors 113 to 119 frequently interrupt the control ECUs 105 to 111, the control ECUs 105 to 111 perform a large number of input processes according to the interrupt frequency. Will be executed within a unit time and will be subject to a high load. That is, there is a problem that other processing (for example, processing for calculating control amount data of the actuators 121 to 127) is delayed due to execution of interrupt processing (input processing) having high priority. For example, when the engine rotation speed becomes high, the frequency of the pulse output from the first sensor 113 as the rotation speed sensor becomes high accordingly, and interrupts to the first control ECU 105 become frequent. Therefore, the first control ECU 105 receives a high load due to the interrupt processing, and the calculation of the control amount data is delayed.

【0006】制御ECU105〜111からアクチュエ
ータ121〜127に制御信号を送る場合においても、
タイマ割込み等に応じて優先度の高い割込み処理(出力
処理)を実行する場合があり、その場合は高い負荷を受
けることになる。本発明は、こうした問題に鑑みなされ
たもので、入出力の割込みに対する各種処理を独立して
実行することにより演算装置の処理負荷を大幅に低減す
ることを目的とする。
Even when a control signal is sent from the control ECUs 105 to 111 to the actuators 121 to 127,
There is a case where interrupt processing (output processing) having a high priority is executed in accordance with a timer interrupt or the like, and in that case, a high load will be applied. The present invention has been made in view of these problems, and an object of the present invention is to significantly reduce the processing load of an arithmetic device by independently executing various processes for input / output interrupts.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
になされた本発明は次のような構成をしている。即ち、
請求項1記載の発明(以下、第1発明とする)は、図3
(a)に例示するように、各種制御対象機器の運転条件
を検出し、該運転条件に基づいて制御量の演算を行い、
該制御量により該当する制御対象機器の制御を実行する
電子制御装置において、データ伝送を行うための通信回
線と、上記制御対象機器の運転条件を検出する検出手段
と、上記検出手段から最新の検出信号を受け取り、該検
出信号を所定の検出データに変換し、該検出データを必
要に応じて上記通信回線に出力する一連の処理を実行す
る入力処理手段と、上記通信回線を介して上記入力処理
手段から上記検出データを受け取り、該検出データに基
づき上記制御対象機器の制御量を演算する制御量演算手
段と、を備えたことにより、上記制御量演算手段での割
込み処理の負荷を低減させたことを特徴とする電子制御
装置を要旨としている。
The present invention, which has been made to achieve the above object, has the following constitution. That is,
The invention according to claim 1 (hereinafter referred to as the first invention) is shown in FIG.
As illustrated in (a), the operating conditions of various controlled devices are detected, the control amount is calculated based on the operating conditions,
In an electronic control device that executes control of a corresponding controlled device according to the control amount, a communication line for data transmission, a detection unit that detects an operating condition of the controlled device, and a latest detection from the detection unit. Input processing means for receiving a signal, converting the detection signal into predetermined detection data, and outputting the detection data to the communication line as necessary, and input processing means for executing the series of processes through the communication line. The control amount calculating means for receiving the detection data from the means and calculating the control amount of the controlled object device based on the detection data, reduces the load of interrupt processing in the control amount calculating means. The gist is an electronic control device characterized by the above.

【0008】請求項2記載の発明(以下、第2発明とす
る)は、図3(b)に例示するように、請求項1記載の
電子制御装置に、更に、上記通信回線を介して上記制御
量演算手段から送られる演算結果としての制御量データ
を格納すると共に、該制御量データを所定の制御信号に
変換し、該制御信号を上記制御対象機器に出力する一連
の出力処理を実行する出力処理手段と、を備えたことに
より、上記制御量演算手段での割込み処理の負担を更に
低減させたことを特徴とする電子制御装置を要旨として
いる。
The invention according to claim 2 (hereinafter referred to as the second invention) is, as illustrated in FIG. 3 (b), the electronic control device according to claim 1 and further, via the communication line, The control amount data as a calculation result sent from the control amount calculation means is stored, the control amount data is converted into a predetermined control signal, and a series of output processing for outputting the control signal to the control target device is executed. The gist of an electronic control device is characterized in that the load of interrupt processing in the control amount calculation means is further reduced by providing the output processing means.

【0009】請求項3記載の発明(以下、第3発明とす
る)は、図3(c)に例示するように、請求項2記載の
電子制御装置にて、上記入力処理手段と上記出力処理手
段とが一つの入出力処理手段として構成されていること
を特徴とする電子制御装置を要旨としている。
The invention according to claim 3 (hereinafter referred to as the third invention) is, as illustrated in FIG. 3 (c), the electronic control device according to claim 2, wherein the input processing means and the output processing are performed. The electronic control device is characterized in that the means and the means are configured as one input / output processing means.

【0010】[0010]

【作用】以上のように構成された第1発明の電子制御装
置の場合、検出手段から送られる最新の検出信号は、入
力処理手段により所定の検出データに変換され、必要に
応じて通信回線に出力される。この一連の入力処理は複
雑な制御を必要とするものではないため、例えば簡単な
論理回路等により入力処理のみを実行させることができ
る。このため、たとえ検出手段からの割込みが頻繁にな
っても入力処理手段は一連の入力処理のみを実行するこ
とができる。制御量演算手段は、通信回線を介して入力
処理手段に格納されている検出データを必要に応じて読
み出し、受け取った検出データに基づき制御対象機器の
制御量を算出すればよい。また制御量演算手段は、入力
処理手段から割込みを受けて検出データを受け取るよう
に構成されていても、その割込み頻度は大幅に低減され
る。そのため制御量演算手段は、入力のための割込みを
頻繁を受けることはなく、入力処理による割込みのため
の高い負荷を受けることはない。
In the electronic control unit of the first aspect of the invention configured as described above, the latest detection signal sent from the detection means is converted into predetermined detection data by the input processing means and, if necessary, is sent to the communication line. Is output. Since this series of input processing does not require complicated control, only the input processing can be executed by, for example, a simple logic circuit. Therefore, the input processing means can execute only a series of input processing even if the interrupt from the detection means becomes frequent. The control amount calculation means may read the detection data stored in the input processing means via the communication line as needed, and calculate the control amount of the control target device based on the received detection data. Further, even if the control amount calculation means is configured to receive an interrupt from the input processing means and receive the detection data, the interrupt frequency is greatly reduced. Therefore, the control amount calculation means does not receive interrupts for input frequently, and does not receive high load due to interrupts due to input processing.

【0011】第2発明の電子制御装置の場合、第1発明
の作用に加えて、制御量演算手段による演算結果として
の制御量データが、出力処理手段により格納され所定の
制御信号に変換された後、制御対象機器に送られる。こ
の出力処理は複雑な制御を必要とするものではないた
め、例えば簡単な論理回路等により出力処理のみを実行
させることができる。制御量演算手段は、演算終了タイ
ミングで制御量データを送ればよく、出力のためのタイ
マ割込みを受けることはない。また、タイマ割込み等を
受ける構成となっていても、その割込み頻度は大幅に低
減される。そのため制御量演算手段は、出力のための割
込みを頻繁に受けることはなく、出力処理のために高い
負荷を受けることはない。
In the case of the electronic control device of the second invention, in addition to the operation of the first invention, the control amount data as the calculation result by the control amount calculation means is stored by the output processing means and converted into a predetermined control signal. After that, it is sent to the controlled device. Since this output processing does not require complicated control, only the output processing can be executed by a simple logic circuit or the like. The control amount calculation means may send the control amount data at the calculation end timing, and does not receive the timer interrupt for output. Further, even if the timer interrupt is configured to be received, the interrupt frequency is greatly reduced. Therefore, the control amount calculation means does not receive interrupts for output frequently and does not receive high load for output processing.

【0012】第3発明の電子制御装置の場合、第2発明
にて実行される入力処理および出力処理を一つの入出力
処理手段で実行している。この入力処理および出力処理
は複雑な制御を必要とするものではないため、例えば一
つのCPU等を用いて入出力処理を実行することができ
る。その際、入出力手段が入出力処理の割込みを受ける
構成となっていても、実行される入力処理および出力処
理は高い負荷を受けるものではないため入出力手段に高
い負荷がかかることはない。制御量演算手段は入出力処
理手段に格納されている検出データを必要に応じて読み
出し、受け取った検出データに基づき制御対象機器の制
御量を算出し、制御量データとして送ればよい。そのた
め制御量演算手段は、入出力のための割込みを頻繁に受
けることはなく、入出力処理のために高い負荷を受ける
ことはない。
In the case of the electronic control unit of the third invention, the input processing and the output processing executed in the second invention are executed by one input / output processing means. Since the input processing and the output processing do not require complicated control, the input / output processing can be executed by using, for example, one CPU or the like. At that time, even if the input / output unit is configured to receive an interrupt of the input / output process, the input process and the output process to be executed do not receive a heavy load, so that the I / O unit is not heavily loaded. The control amount calculation means may read the detection data stored in the input / output processing means as needed, calculate the control amount of the controlled device based on the received detection data, and send it as the control amount data. Therefore, the control amount computing means does not receive interrupts for input / output frequently, and does not receive high load for input / output processing.

【0013】[0013]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は本発明が適用された実施例の車載電
子制御装置1の構成を表すブロック図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an in-vehicle electronic control device 1 of an embodiment to which the present invention is applied.

【0014】車載電子制御装置1は、燃料噴射制御,点
火時期制御,ノック制御,アイドル回転速度制御,ダイ
アグノーシス,トランスミッション制御,サスペンショ
ン制御,アブソーバ減衰力制御,車高制御,定速走行制
御,ステアリング制御,スキッド制御等の幾つかの処理
を、エアーフロメータ,クランク角センサ,水温セン
サ,吸気温センサ,スロットル開度センサ,酸素濃度セ
ンサ,車速センサ,ステアリングセンサ,車高センサ,
車輪速度センサ,室温センサ,日射センサ,外気温セン
サ,エンジン水温センサ等のうち制御に必要な幾つかの
センサ信号や、スタートスイッチ,クラッチスイッチ,
エアコンスイッチ等のスイッチ信号のうち制御に必要な
幾つかのスイッチ信号等に基づき実行するものである。
上述した各制御処理はよく知られているものであるので
詳細な説明は省略する。車載電子制御装置1は、図1に
示すように、LAN回線3、入出力ECU5、n個の演
算ECU(第1演算ECU7,第2演算ECU9,・・
・,第n演算ECU11)、スイッチ13、2個のセン
サ(第1センサ17,第2センサ19)、3個のアクチ
ュエータ(第1アクチュエータ21,第2アクチュエー
タ23,第3アクチュエータ25)等から構成されてい
る。
The on-vehicle electronic control unit 1 includes fuel injection control, ignition timing control, knock control, idle speed control, diagnostics, transmission control, suspension control, absorber damping force control, vehicle height control, constant speed running control, steering. Air flow meter, crank angle sensor, water temperature sensor, intake air temperature sensor, throttle opening sensor, oxygen concentration sensor, vehicle speed sensor, steering sensor, vehicle height sensor,
Wheel speed sensor, room temperature sensor, solar radiation sensor, outside air temperature sensor, engine water temperature sensor, and other sensor signals required for control, start switch, clutch switch,
This is executed based on some switch signals necessary for control among the switch signals of the air conditioner switch and the like.
The control processes described above are well known, and therefore detailed description thereof will be omitted. As shown in FIG. 1, the vehicle-mounted electronic control unit 1 includes a LAN line 3, an input / output ECU 5, and n arithmetic ECUs (first arithmetic ECU 7, second arithmetic ECU 9, ...
.., nth arithmetic ECU 11), switch 13, two sensors (first sensor 17, second sensor 19), three actuators (first actuator 21, second actuator 23, third actuator 25), etc. Has been done.

【0015】LAN回線3は、車両内に分散して配置さ
れている複数の制御装置間におけるデータ通信を行うた
めの通信回線であり、周知の車載LAN用回線である。
ここでは、入出力ECU5,演算ECU7〜11,第2
センサ19,第3アクチュエータ25間におけるデータ
通信がこのLAN回線3を介して行われる。
The LAN line 3 is a communication line for performing data communication between a plurality of control devices distributed in the vehicle, and is a well-known vehicle LAN line.
Here, the input / output ECU 5, the arithmetic ECUs 7 to 11, the second ECU
Data communication between the sensor 19 and the third actuator 25 is performed via the LAN line 3.

【0016】入出力ECU5は、入力処理手段および出
力処理手段としての機能を果たしており、入力処理部と
出力処理部とを備えた論理回路である。入力処理部では
スイッチ13,第1センサ17等から送られる最新の信
号をLANプロトコルに応じた所定のディジタル信号に
変換し、変換したディジタルデータを検出データとして
格納する。例えば第1センサ17が回転速度センサであ
った場合、クランク軸の回転に同期して送られるパルス
信号を、パルス間隔の時間を計測することでエンジン回
転速度に変換し、格納する。格納された検出データは、
LAN回線3を介して演算ECU7〜11に送られる。
The input / output ECU 5 functions as an input processing unit and an output processing unit, and is a logic circuit having an input processing unit and an output processing unit. The input processing unit converts the latest signal sent from the switch 13, the first sensor 17 and the like into a predetermined digital signal according to the LAN protocol and stores the converted digital data as detection data. For example, when the first sensor 17 is a rotation speed sensor, the pulse signal transmitted in synchronization with the rotation of the crankshaft is converted into the engine rotation speed by measuring the time of the pulse interval and stored. The stored detection data is
It is sent to the arithmetic ECUs 7 to 11 via the LAN line 3.

【0017】出力処理部は、LAN回線3を介して送ら
れる演算ECU7〜11の演算結果としての制御量デー
タ等を格納する。格納された制御量データは、所定の制
御信号に変換されてアクチュエータ21,23等に送ら
れる。例えば第1アクチュエータ21が燃料噴射制御の
インジェクタであった場合、演算結果として送られる燃
料噴射量や燃料噴射時期等の制御量データを格納すると
共に、それら制御量データを出力処理部により所定の制
御信号に変換して第1アクチュエータ21としてのイン
ジェクタに送る。尚、入出力ECU5は、CPU処理と
することにより入力処理および出力処理をまとめて一つ
の入出力処理手段として実現することも可能である。
The output processing unit stores control amount data and the like as the calculation results of the calculation ECUs 7 to 11 sent via the LAN line 3. The stored control amount data is converted into a predetermined control signal and sent to the actuators 21, 23 and the like. For example, when the first actuator 21 is an injector for fuel injection control, the control amount data such as the fuel injection amount and the fuel injection timing sent as the calculation result is stored, and the control amount data is subjected to a predetermined control by the output processing unit. It is converted into a signal and sent to the injector as the first actuator 21. The input / output ECU 5 can also be realized as one input / output processing unit by combining the input processing and the output processing by using the CPU processing.

【0018】演算ECU7〜11は、制御量演算手段と
しての機能を果たしており、内部にCPUを備える電子
制御装置である。演算ECU7〜11は、車両の運転条
件を検出するスイッチ13,センサ17,19等の検出
データに基づき、制御対象機器としてのアクチュエータ
21,23,25等に対する制御量の演算処理を実行す
る。実行する処理としては、例えば燃料噴射制御,点火
時期制御,ノック制御,アイドル回転速度制御,ダイア
グノーシス,トランスミッション制御,サスペンション
制御,アブソーバ減衰力制御,車高制御,定速走行制
御,ステアリング制御,スキッド制御等の幾つかであ
る。
The calculation ECUs 7 to 11 function as control amount calculation means, and are electronic control devices having a CPU inside. The arithmetic ECUs 7 to 11 execute arithmetic processing of control amounts for the actuators 21, 23, 25 and the like as control target devices based on the detection data of the switch 13, the sensors 17, 19 and the like that detect the driving conditions of the vehicle. The processes to be executed include, for example, fuel injection control, ignition timing control, knock control, idle speed control, diagnosis, transmission control, suspension control, absorber damping force control, vehicle height control, constant speed running control, steering control, skid control. Some of the controls.

【0019】スイッチ13,センサ17,19は、車載
制御機器の運転条件を検出する検出手段としての一部機
能を果たす。スイッチ13は、例えばスタートスイッ
チ,クラッチスイッチ,エアコンスイッチ等である。ス
イッチ13からの信号は入出力ECU5に送られる。セ
ンサ17,19は、例えばエアーフロメータ,クランク
角センサ,水温センサ,吸気温センサ,スロットル開度
センサ,酸素濃度センサ,車速センサ,ステアリングセ
ンサ,車高センサ,車輪速度センサ,室温センサ,日射
センサ,外気温センサ,エンジン水温センサ等である。
第1センサ17からの検出信号は入出力ECU5に送ら
れる。第2センサ19は内部に入力処理手段としてのイ
ンターフェース回路を備えており、検出信号は直接LA
N回線3を介して演算ECU7〜11に送られる。
The switch 13, the sensors 17 and 19 fulfill some functions as a detecting means for detecting the operating conditions of the on-vehicle control equipment. The switch 13 is, for example, a start switch, a clutch switch, an air conditioner switch, or the like. The signal from the switch 13 is sent to the input / output ECU 5. The sensors 17 and 19 are, for example, air flow meter, crank angle sensor, water temperature sensor, intake air temperature sensor, throttle opening sensor, oxygen concentration sensor, vehicle speed sensor, steering sensor, vehicle height sensor, wheel speed sensor, room temperature sensor, solar radiation sensor. , Outside air temperature sensor, engine water temperature sensor, etc.
The detection signal from the first sensor 17 is sent to the input / output ECU 5. The second sensor 19 is internally provided with an interface circuit as an input processing means, and the detection signal is directly LA
It is sent to the arithmetic ECUs 7 to 11 via the N line 3.

【0020】アクチュエータ21〜25は、それぞれソ
レノイド,ステッピングモータ等電源回路を利用した制
御対象機器である。アクチュエータ21〜25は、例え
ばインジェクタ,イグナイタ(イグニションモジュー
ル),アイドルスピードコントロールバルブ,電磁スピ
ル弁等である。アクチュエータ21,23は、入出力E
CU5から送られる制御信号に基づき所定の動作が実現
される。第3アクチュエータ25は、内部に出力処理手
段としてのインターフェース回路を備えており、制御信
号は演算ECU7〜11からLAN回線3を介して直接
送られる。
The actuators 21 to 25 are devices to be controlled using a power supply circuit such as a solenoid and a stepping motor. The actuators 21 to 25 are, for example, injectors, igniters (ignition modules), idle speed control valves, electromagnetic spill valves, and the like. The actuators 21 and 23 have input / output E
A predetermined operation is realized based on the control signal sent from the CU 5. The third actuator 25 is internally provided with an interface circuit as an output processing means, and a control signal is directly sent from the arithmetic ECUs 7 to 11 via the LAN line 3.

【0021】次に、入出力ECU5および演算ECU7
〜11が実行する処理についてフローチャートに基づき
説明する。尚、入出力ECU5,演算ECU7〜11間
では、車載LANにおける周知の処理手順に基づくデー
タ通信が行われているものとする。
Next, the input / output ECU 5 and the arithmetic ECU 7
The processing executed by each of 11 to 11 will be described based on a flowchart. It is assumed that data communication is performed between the input / output ECU 5 and the arithmetic ECUs 7 to 11 based on a well-known processing procedure in the vehicle-mounted LAN.

【0022】図2(a−1)は、入出力ECU5におけ
る入力処理を示している。入出力ECU5が論理回路で
構成されている場合、第1センサ17からの最新の検出
信号を受け取るとLANプロトコルに応じたディジタル
データに変換して、変換したディジタルデータを検出デ
ータとして格納する(S51)。また入出力ECU5が
CPU処理として構成されている場合は、第1センサ1
7から送られる検出信号をトリガにしてS51の割込み
処理を実行する。入出力ECU5が論理回路またはCP
U処理で実行する処理としては、例えばクランク軸の回
転に同期したパルスを第1センサ17から受け取り受け
取ったパルスから間隔時間を計測してエンジン回転速度
に変換し常に最新のエンジン回転速度を格納する処理が
ある。
FIG. 2A-1 shows an input process in the input / output ECU 5. When the input / output ECU 5 is composed of a logic circuit, when the latest detection signal from the first sensor 17 is received, it is converted into digital data according to the LAN protocol and the converted digital data is stored as detection data (S51). ). If the input / output ECU 5 is configured as CPU processing, the first sensor 1
The detection signal sent from 7 is used as a trigger to execute the interrupt processing of S51. Input / output ECU 5 is a logic circuit or CP
As the processing executed in the U processing, for example, a pulse synchronized with the rotation of the crankshaft is received from the first sensor 17, the interval time is measured from the received pulse, the engine rotational speed is converted, and the latest engine rotational speed is always stored. There is processing.

【0023】図2(b)は、演算ECU7〜11が実行
する処理を示している。演算ECU7〜11は入出力E
CU5に対し、最新の検出データを読み出すための要求
信号を送り、入出力ECU5はそれに応じて格納してい
る最新の検出データを送り出す。演算ECU7〜11
は、入出力ECU5から受け取った検出データに基づき
演算を行い(S71)、演算終了タイミングで入出力E
CU5に演算結果としての制御量データを送る。例え
ば、演算ECU7は入出力ECU5に格納されている最
新のエンジン回転速度を読み出し、受け取ったエンジン
回転速度、および同様の構成手順で受け取った吸入空気
量等の検出データに基づき燃料噴射量や燃料噴射時期等
の制御量データを算出して入出力ECU5に送る。
FIG. 2B shows the processing executed by the arithmetic ECUs 7-11. The calculation ECUs 7 to 11 input / output E
A request signal for reading the latest detection data is sent to the CU 5, and the input / output ECU 5 sends out the stored latest detection data accordingly. Operation ECU 7-11
Performs calculation based on the detection data received from the input / output ECU 5 (S71), and the input / output E is calculated at the calculation end timing.
The control amount data as the calculation result is sent to CU5. For example, the arithmetic ECU 7 reads out the latest engine rotation speed stored in the input / output ECU 5, and based on the received engine rotation speed and the detection data such as the intake air amount received by the similar configuration procedure, the fuel injection amount and the fuel injection amount. Control amount data such as timing is calculated and sent to the input / output ECU 5.

【0024】図2(a−2)は、入出力ECU5におけ
る出力処理を示している。入出力ECU5が論理回路で
構成されている場合、演算ECU7からの制御量データ
を受け取ると、受け取った制御量データを格納すると共
に、所定の制御信号に変換して第1アクチュエータ21
に送る(S61)。入出力ECU5がCPUの処理とし
て構成されている場合は、演算ECU7から制御量デー
タを送るための割込み命令を受けてS61の処理を実行
する。例えば、入出力ECU5は受け取った燃料噴射量
や燃料噴射時期等の制御量データを所定の制御信号に変
換し、変換した制御信号を第1アクチュエータ21とし
てのインジェクタに送り燃料噴射制御を行う。
FIG. 2A-2 shows the output processing in the input / output ECU 5. When the input / output ECU 5 is formed of a logic circuit, when the control amount data from the arithmetic ECU 7 is received, the received control amount data is stored and converted into a predetermined control signal, and the first actuator 21
To (S61). When the input / output ECU 5 is configured as the processing of the CPU, the processing of S61 is executed in response to the interrupt instruction for sending the control amount data from the arithmetic ECU 7. For example, the input / output ECU 5 converts the received control amount data such as the fuel injection amount and the fuel injection timing into a predetermined control signal and sends the converted control signal to an injector as the first actuator 21 to perform fuel injection control.

【0025】車載LANでは、特にエンジン回転速度に
応じた燃料噴射制御や車速に応じたスキッド制御等で演
算用のECUに高い負荷がかかることがあったが、本実
施例の車載電子制御装置1によれば、演算ECU7〜1
1に対して直接センサ信号からの割込みが入ることはな
く、演算ECU7〜11は、実行する演算処理のタイミ
ングで入出力ECU3に格納されている最新の検出デー
タ(エンジン回転速度,吸入空気量等)を受け取ればよ
いことになる。また、入出力ECU3から演算ECU7
〜11に対して割込みをかけて検出データを演算ECU
7〜11に送る方式を採用しても、ある所定時間が経過
したとき、またはセンサ17〜19から送られる検出信
号が大きく変化したとき等に行えばよく、いずれにして
も入力処理は入出力ECU3により実行されているの
で、演算ECU7〜11に高い負荷がかかることはな
い。
In the in-vehicle LAN, a heavy load may be applied to the ECU for calculation, especially in the fuel injection control according to the engine speed and the skid control according to the vehicle speed. According to the calculation ECUs 7-1
1 does not directly receive an interrupt from the sensor signal, and the arithmetic ECUs 7 to 11 store the latest detection data (engine speed, intake air amount, etc.) stored in the input / output ECU 3 at the timing of the arithmetic processing to be executed. ) Will be received. In addition, the input / output ECU 3 to the calculation ECU 7
To 11 and interrupt the detection data to calculate ECU
Even if the method of sending to No. 7 to 11 is adopted, it may be performed when a certain predetermined time has elapsed, or when the detection signals sent from the sensors 17 to 19 change greatly, and in any case, the input processing is input / output. Since it is executed by the ECU 3, the arithmetic ECUs 7 to 11 are not heavily loaded.

【0026】出力処理においても、例えばインジェクタ
に対して制御信号を送る場合、本実施例の車載電子制御
装置1によれば、演算ECU7〜11はタイマ割込み等
に対する割込み処理を実行する必要はなく、演算ECU
7〜11は演算終了タイミングで燃料噴射量や燃料噴射
時期等の制御量データを入出力ECU5に送ればよい。
また、演算ECU7〜11がタイマ割込みを受ける方式
を採用しても、出力処理は入出力ECU3により実行さ
れているので、演算ECU7〜11の割込み頻度が多く
なり処理負荷が高くなることはない。入力処理と出力処
理とを一つのCPUで実行する場合でも入出力処理は複
雑な制御を必要とするものではないので、このCPUに
対して高い負荷がかかることはない。勿論、入力処理と
出力処理とを複数のCPUを用いて構成してもよく、こ
の場合はCPUに負荷が高くならない範囲内で他の処理
を実行させることができる。尚、通信回線を介してのデ
ータ交換方式については、周知の技術が多数存在してお
り、どの方式を用いても構わない。
Also in the output processing, for example, when a control signal is sent to the injector, according to the vehicle-mounted electronic control unit 1 of the present embodiment, the arithmetic ECUs 7 to 11 do not need to execute the interrupt processing for the timer interrupt or the like. Arithmetic ECU
7 to 11 may send the control amount data such as the fuel injection amount and the fuel injection timing to the input / output ECU 5 at the calculation end timing.
Even if the method in which the arithmetic ECUs 7 to 11 receive the timer interrupt is adopted, since the output processing is executed by the input / output ECU 3, the interrupt frequency of the arithmetic ECUs 7 to 11 does not increase and the processing load does not increase. Even when the input processing and the output processing are executed by a single CPU, the input / output processing does not require complicated control, so that a high load is not applied to this CPU. Of course, the input processing and the output processing may be configured by using a plurality of CPUs, and in this case, the CPUs can execute other processings within a range where the load does not increase. As for the data exchange method via the communication line, there are many known techniques, and any method may be used.

【0027】以上説明したように、本実施例の車載電子
制御装置1によれば、スイッチ13,第1センサ17等
から送られる最新の信号は、入出力ECU5によりLA
Nプロトコルに応じた所定の検出データに変換され入出
力ECU5に格納される。また、制御対象機器であるア
クチュエータ21,23を制御する際は、入出力ECU
5により制御量データが格納され出力処理(データ変
換,信号送出等)が実行される。そのため演算ECU7
〜11は、入出力の割込みによる入出力処理を行う必要
がなくなるか、あるいは極めて割込み数が少なくなり、
演算ECU7〜11の処理負荷は大幅に低減される。
As described above, according to the on-vehicle electronic control unit 1 of the present embodiment, the latest signal sent from the switch 13, the first sensor 17, etc. is sent to the LA by the input / output ECU 5.
It is converted into predetermined detection data according to the N protocol and stored in the input / output ECU 5. Further, when controlling the actuators 21 and 23 which are the control target devices, the input / output ECU
5, the control amount data is stored and output processing (data conversion, signal transmission, etc.) is executed. Therefore, the calculation ECU 7
No. 11 to No need to perform input / output processing by input / output interrupts, or the number of interrupts is extremely small,
The processing load on the arithmetic ECUs 7 to 11 is significantly reduced.

【0028】また、本実施例の車載電子制御装置1によ
れば、第2センサ19、第3アクチュエータ25のよう
に内部に入力処理手段、出力処理手段に相当するインタ
ーフェース回路を備える等の方法により、小型化された
制御システムの構築が可能となる。各処理装置を分散・
小型化することにより、各装置に発生する熱の集中化を
防ぐことも容易となる。
Further, according to the vehicle-mounted electronic control unit 1 of this embodiment, it is possible to provide an interface circuit corresponding to the input processing means and the output processing means such as the second sensor 19 and the third actuator 25. Therefore, it becomes possible to construct a miniaturized control system. Disperse each processing unit
By miniaturizing, it becomes easy to prevent concentration of heat generated in each device.

【0029】加えて、演算ECU7〜11は、処理負荷
が大きく低減されるため、これまで処理が遅れていた優
先度の低い処理も遅れることなく実行されることにな
る。そのため演算ECU7〜11内部に備えられるCP
Uを選択する際、割込みの処理能力に対する要求が緩和
され、安価なCPUを用いることが可能となる。
In addition, since the processing loads on the arithmetic ECUs 7 to 11 are greatly reduced, the low-priority processing, which has been delayed until now, can be executed without delay. Therefore, the CP provided in the arithmetic ECUs 7 to 11
When selecting U, the demand for interrupt processing capability is relaxed, and an inexpensive CPU can be used.

【0030】さらに、処理負荷の低減によりこれまで複
数のCPUで行っていた演算処理を一つのCPUで集中
して実行することも可能となる。このことで、システム
からみたECUは小型・低コストで構成可能となり、上
述した制御処理の幾つかを集中化して実行させることが
可能で、総合制御も容易になる。
Further, by reducing the processing load, it becomes possible to centrally execute the arithmetic processing which has been performed by a plurality of CPUs until now by one CPU. As a result, the ECU as viewed from the system can be configured in a small size and at a low cost, some of the control processes described above can be centralized and executed, and the overall control becomes easy.

【0031】また、これまでセンサ信号等で、複数のE
CUで共通して用いることができるデータが、各々の制
御用ECUに重複して格納されることがあったが、本実
施例の入出力ECU5ではデータが集中して格納される
ので、メモリの使用効率が良くなる。
In addition, a plurality of E's have been used so far by the sensor signal or the like.
The data that can be commonly used by the CUs may be stored redundantly in the respective control ECUs. However, since the input / output ECU 5 of this embodiment stores the data centrally, the memory Use efficiency improves.

【0032】尚、入出力ECU5で実行する処理は、判
断文による分岐や演算の切り替え等高度な処理を必要と
せず、しかもスイッチ13,第1センサ17およびソレ
ノイド15,第1アクチュエータ21等の種類により検
出信号や制御信号の形態が大きく異なることはないた
め、汎用性が高く大量生産が可能な簡単な論理回路(例
えばゲートアレイ等)により実現することが可能であ
る。さらに、演算ECU7〜11が実行する演算処理
は、簡単な積和演算で実現できるため、ディジタルシグ
ナルプロセッサ(DSP)によるパイプライン処理で実
現することが可能となり、より高速かつ高効率な処理が
可能となる。
The processing executed by the input / output ECU 5 does not require high-level processing such as branching based on a judgment statement or switching of calculation, and the types of the switch 13, the first sensor 17, the solenoid 15, the first actuator 21, etc. Therefore, the forms of the detection signal and the control signal do not greatly differ, so that it can be realized by a simple logic circuit (for example, a gate array) having high versatility and capable of mass production. Further, since the arithmetic processing executed by the arithmetic ECUs 7 to 11 can be realized by a simple product-sum calculation, it becomes possible to realize the pipeline processing by the digital signal processor (DSP), which enables faster and more efficient processing. Becomes

【0033】[0033]

【発明の効果】以上詳述したように、本発明の電子制御
装置により、入出力の割込みに対する各種処理を独立し
て実行することで演算装置の処理負荷は大幅に低減され
た。
As described in detail above, the electronic control unit according to the present invention independently executes various processes for input / output interrupts, thereby significantly reducing the processing load of the arithmetic unit.

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

【図1】 本発明の一実施例としての車載電子制御装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an in-vehicle electronic control device as an embodiment of the present invention.

【図2】 入出力ECUおよび演算ECUにて実行さ
れる処理を示すフローチャートである。
FIG. 2 is a flowchart showing a process executed by an input / output ECU and an arithmetic ECU.

【図3】 本発明の構成を例示するブロック図であ
る。
FIG. 3 is a block diagram illustrating the configuration of the present invention.

【図4】 従来例としての車載電子制御装置の構成を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a vehicle-mounted electronic control device as a conventional example.

【図5】 従来の制御ECUにて実行される処理を示
すフローチャートである。
FIG. 5 is a flowchart showing a process executed by a conventional control ECU.

【符号の説明】 1・・・車載電子制御装置、3・・・LAN回線、5・
・・入出力ECU、7・・・第1演算ECU、9・・・
第2演算ECU、11・・・第n演算ECU、13・・
・スイッチ、17・・・第1センサ、19・・・第2セ
ンサ、21・・・第1アクチュエータ、23・・・第2
アクチュエータ、25・・・第3アクチュエータ
[Explanation of Codes] 1 ... In-vehicle electronic control device, 3 ... LAN line, 5 ...
.... Input / output ECU, 7 ... First arithmetic ECU, 9 ...
2nd operation ECU, 11 ... nth operation ECU, 13 ...
・ Switch, 17 ... First sensor, 19 ... Second sensor, 21 ... First actuator, 23 ... Second
Actuator, 25 ... Third actuator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 各種制御対象機器の運転条件を検出し、
該運転条件に基づいて制御量の演算を行い、該制御量に
より該当する制御対象機器の制御を実行する電子制御装
置において、 データ伝送を行うための通信回線と、 上記制御対象機器の運転条件を検出する検出手段と、 上記検出手段から最新の検出信号を受け取り、該検出信
号を所定の検出データに変換し、該検出データを必要に
応じて上記通信回線に出力する一連の処理を実行する入
力処理手段と、 上記通信回線を介して上記入力処理手段から上記検出デ
ータを受け取り、該検出データに基づき上記制御対象機
器の制御量を演算する制御量演算手段と、を備えたこと
により、 上記制御量演算手段での割込み処理の負荷を低減させた
ことを特徴とする電子制御装置。
1. Detecting the operating conditions of various controlled devices,
In an electronic control unit that calculates a controlled variable based on the operating condition and executes control of the controlled device corresponding to the controlled variable, a communication line for data transmission and an operating condition of the controlled device are displayed. An input for executing a series of processing for detecting the detection means and the latest detection signal from the detection means, converting the detection signal into predetermined detection data, and outputting the detection data to the communication line as necessary. The control means includes a processing means and a control amount calculation means for receiving the detection data from the input processing means via the communication line and calculating the control amount of the control target device based on the detection data. An electronic control device characterized in that the load of interrupt processing in the quantity calculation means is reduced.
【請求項2】 請求項1記載の電子制御装置に、更に、 上記通信回線を介して上記制御量演算手段から送られる
演算結果としての制御量データを格納すると共に、該制
御量データを所定の制御信号に変換し、該制御信号を上
記制御対象機器に出力する一連の出力処理を実行する出
力処理手段と、を備えたことにより、 上記制御量演算手段での割込み処理の負担を更に低減さ
せたことを特徴とする電子制御装置。
2. The electronic control unit according to claim 1, further stores control amount data as a calculation result sent from the control amount calculation means via the communication line, and stores the control amount data in a predetermined manner. By providing an output processing means for converting the control signal into a control signal and outputting the control signal to the device to be controlled, a load of interrupt processing in the control amount calculation means is further reduced. An electronic control device characterized in that
【請求項3】 請求項2記載の電子制御装置にて、 上記入力処理手段と上記出力処理手段とが一つの入出力
処理手段として構成されていることを特徴とする電子制
御装置。
3. The electronic control device according to claim 2, wherein the input processing means and the output processing means are configured as one input / output processing means.
JP10461792A 1992-04-23 1992-04-23 Electronic control unit Pending JPH05302544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10461792A JPH05302544A (en) 1992-04-23 1992-04-23 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10461792A JPH05302544A (en) 1992-04-23 1992-04-23 Electronic control unit

Publications (1)

Publication Number Publication Date
JPH05302544A true JPH05302544A (en) 1993-11-16

Family

ID=14385408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10461792A Pending JPH05302544A (en) 1992-04-23 1992-04-23 Electronic control unit

Country Status (1)

Country Link
JP (1) JPH05302544A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000177512A (en) * 1998-12-11 2000-06-27 Fujitsu Ten Ltd Parking assist device for vehicle
US7356714B2 (en) 2003-03-05 2008-04-08 Yazaki Corporation Method of communicating a signal from a sensor, connected to a connector, to an auxiliary module
JP2016142270A (en) * 2015-02-03 2016-08-08 ディスペース デジタル シグナル プロセッシング アンド コントロール エンジニアリング ゲゼルシャフト ミット ベシュレンクテル ハフツングdspace digital signal processing and control engineering GmbH Calculation and output method of control pulse by control device realized by computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000177512A (en) * 1998-12-11 2000-06-27 Fujitsu Ten Ltd Parking assist device for vehicle
US7356714B2 (en) 2003-03-05 2008-04-08 Yazaki Corporation Method of communicating a signal from a sensor, connected to a connector, to an auxiliary module
JP2016142270A (en) * 2015-02-03 2016-08-08 ディスペース デジタル シグナル プロセッシング アンド コントロール エンジニアリング ゲゼルシャフト ミット ベシュレンクテル ハフツングdspace digital signal processing and control engineering GmbH Calculation and output method of control pulse by control device realized by computer
DE102015101513B4 (en) 2015-02-03 2023-01-26 Dspace Gmbh Computer-implemented method for calculating and outputting control pulses by a control unit

Similar Documents

Publication Publication Date Title
US5444626A (en) Control system for calculating parameter control values in repetitive control processes
EP1136325B1 (en) Vehicle control apparatus having multiple ecus loaded with respective control programs
KR100228844B1 (en) Synthetic control system for an automobile
JPS5918248A (en) Fuel injection controlling method for internal combustion engine
US6937933B1 (en) Device and method of controlling a drive unit
JPH05302544A (en) Electronic control unit
US5916296A (en) Dual processor automotive control system having flexible processor standardization
JPH06100155B2 (en) Calculation processing method of engine control device
US5111787A (en) Electronic control device for motor vehicle use
JPH07310587A (en) Controller for internal combustion engine in vehicle
JP3050337B2 (en) Electronic control unit for internal combustion engine
US4745554A (en) Method of detecting the number of revolutions of internal combustion engine
JP3124968B2 (en) Automotive control device
JPS6217343A (en) Fuel injection control system
JPH07279745A (en) On-vehicle control device and on-vehicle control system
JP3498802B2 (en) Control device for data communication
JPH03182658A (en) Control device for internal combustion engine
JPH06213063A (en) Electronic control unit for vehicle
JP3002217B2 (en) Cooperative control device
JPH04295162A (en) Control device for equipment
JP3255957B2 (en) Automotive electronic control unit
JP2540196B2 (en) Electronic control unit for engine
JPH0827323B2 (en) Electronic control device
JPH0648224A (en) Communication line failure detection device between electronic controllers
JPS6118002A (en) Concentrated controller using microcomputer