JP5783088B2 - Vehicle control system - Google Patents

Vehicle control system Download PDF

Info

Publication number
JP5783088B2
JP5783088B2 JP2012044247A JP2012044247A JP5783088B2 JP 5783088 B2 JP5783088 B2 JP 5783088B2 JP 2012044247 A JP2012044247 A JP 2012044247A JP 2012044247 A JP2012044247 A JP 2012044247A JP 5783088 B2 JP5783088 B2 JP 5783088B2
Authority
JP
Japan
Prior art keywords
crank angle
data
signal
pseudo
angle signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012044247A
Other languages
Japanese (ja)
Other versions
JP2013181418A (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 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 JP2012044247A priority Critical patent/JP5783088B2/en
Publication of JP2013181418A publication Critical patent/JP2013181418A/en
Application granted granted Critical
Publication of JP5783088B2 publication Critical patent/JP5783088B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Description

本発明は、車両に搭載された内燃機関の制御を行う車両制御システムに関する。   The present invention relates to a vehicle control system that controls an internal combustion engine mounted on a vehicle.

従来、車両に搭載された内燃機関(エンジン)の制御を行う制御システムとしては、燃料圧力を測定する圧力センサからの出力に基づき、燃料噴射に関わる圧力変動態様を検出するシステムが知られている(特許文献1参照)。圧力変動態様は、インジェクタや燃料ポンプ等の噴射系システムの種類によって異なる。圧力変動態様の検出結果は、例えば、噴射系システムの特性に応じた最適な燃料噴射制御を行うために用いられる。   2. Description of the Related Art Conventionally, as a control system for controlling an internal combustion engine (engine) mounted on a vehicle, a system that detects a pressure fluctuation mode related to fuel injection based on an output from a pressure sensor that measures fuel pressure is known. (See Patent Document 1). The pressure fluctuation mode varies depending on the type of injection system such as an injector or a fuel pump. The detection result of the pressure fluctuation mode is used, for example, for performing optimal fuel injection control in accordance with the characteristics of the injection system.

特開2008−144749号公報JP 2008-144749

ところで、噴射系システムの特性に応じた燃料噴射制御を行う制御システムを構築する方法としては、エンジン制御装置とは別に燃料噴射コントローラを設けて、一般的な制御をエンジン制御装置が実行し、噴射系システムの特性に依存した制御を燃料噴射コントローラが実行するように、制御システムを構築する方法が考えられる。この制御システムによれば、燃料噴射コントローラを組み替える程度で、様々な噴射系システムに好適な制御システムを効率的に構築することができる。   By the way, as a method of constructing a control system that performs fuel injection control according to the characteristics of the injection system, a fuel injection controller is provided separately from the engine control device, and the engine control device executes general control, and the injection control is performed. A method for constructing the control system so that the fuel injection controller executes control depending on the characteristics of the system is conceivable. According to this control system, it is possible to efficiently construct a control system suitable for various injection systems by changing the fuel injection controller.

しかしながら、複数の車両制御装置(上記例によればエンジン制御装置及び燃料噴射コントローラ)の協働により、内燃機関の制御を行う場合には、各車両制御装置がクランク角の変化に応じた制御を行えるようにするために、車両制御装置の夫々に対してクランク角信号を入力する必要がある。そして、このクランク角信号として、クランク角センサの出力信号を各車両制御装置に入力する場合には、クランク角センサの出力信号を波形整形して、これを各車両制御装置に入力する必要があり、各車両制御装置に対して、波形整形用の入力回路を設ける必要がある。   However, when the internal combustion engine is controlled by the cooperation of a plurality of vehicle control devices (according to the above example, the engine control device and the fuel injection controller), each vehicle control device performs control according to the change in the crank angle. In order to be able to do so, it is necessary to input a crank angle signal to each of the vehicle control devices. When the output signal of the crank angle sensor is input to each vehicle control device as the crank angle signal, it is necessary to shape the waveform of the output signal of the crank angle sensor and input this to each vehicle control device. It is necessary to provide an input circuit for waveform shaping for each vehicle control device.

本発明は、こうした問題に鑑みなされたものであり、車両制御装置の夫々にクランク角センサの出力信号を入力するための入力回路を設けなくても、車両制御装置の夫々が、他の車両制御装置と協働してクランク角の変化に応じた適切な内燃機関の制御を実行可能な技術を提供することを目的とする。   The present invention has been made in view of these problems, and each of the vehicle control devices can control other vehicle controls without providing an input circuit for inputting the output signal of the crank angle sensor to each of the vehicle control devices. An object of the present invention is to provide a technique capable of executing appropriate control of an internal combustion engine in accordance with a change in crank angle in cooperation with an apparatus.

上記目的を達成するためになされた本発明の車両制御システムは、共通する通信線に接続された複数の車両制御装置を備え、車両に搭載された内燃機関の制御を、データの送受信を伴う上記複数の車両制御装置の協働によって実現するものである。この車両制御システムにおいて、第一の車両制御装置及び当該第一の車両制御装置とは異なる第二の車両制御装置は、次のように構成にされる。 This onset Ming vehicle control system has been proposed in order to achieve the above object, comprises a plurality of vehicle control device connected to the communication line in common, the control of the internal combustion engine mounted on the vehicle, accompanied by the transmission and reception of data This is realized by cooperation of the plurality of vehicle control devices. In this vehicle control system, the first vehicle control device and the second vehicle control device different from the first vehicle control device are configured as follows.

第一の車両制御装置は、クランク角信号入力手段と、擬似信号出力手段と、第一のデータ通信手段と、を備える。クランク角信号入力手段は、内燃機関におけるクランク角の変化に応じてパルス信号としてのクランク角信号を入力し、擬似信号出力手段は、クランク角信号入力手段によるクランク角信号の入力毎に、クランク角信号の擬似信号である擬似クランク角信号を通信線に出力し、第一のデータ通信手段は、このクランク角信号の入力間隔に基づき、通信線に対する擬似クランク角信号の出力停止後、擬似クランク角信号が通信線に出力されないと推定される期間に、第二の車両制御装置に対し通信線を介してデータを送信する。   The first vehicle control device includes crank angle signal input means, pseudo signal output means, and first data communication means. The crank angle signal input means inputs a crank angle signal as a pulse signal in accordance with a change in the crank angle in the internal combustion engine, and the pseudo signal output means receives the crank angle signal every time the crank angle signal is input by the crank angle signal input means. A pseudo crank angle signal, which is a pseudo signal of the signal, is output to the communication line, and the first data communication means stops outputting the pseudo crank angle signal to the communication line based on the input interval of the crank angle signal, Data is transmitted via the communication line to the second vehicle control device during a period in which it is estimated that no signal is output to the communication line.

一方、第二の車両制御装置は、擬似信号入力検知手段と、クランク角特定手段と、第二のデータ通信手段と、を備える。擬似信号入力検知手段は、通信線を介して入力される擬似クランク角信号の当該入力を検知するものであり、クランク角特定手段は、擬似信号入力検知手段による検知結果に基づき、内燃機関のクランク角を特定し、第二のデータ通信手段は、通信線を介して第一の車両制御装置から送信されるデータを受信する。   On the other hand, the second vehicle control device includes pseudo signal input detection means, crank angle identification means, and second data communication means. The pseudo signal input detecting means detects the input of the pseudo crank angle signal input via the communication line, and the crank angle specifying means is based on the detection result by the pseudo signal input detecting means. The second data communication means receives data transmitted from the first vehicle control device via the communication line.

このように本発明の車両制御システムでは、車両制御に必要なデータの送受信に用いられる通信線を用いて、クランク角信号に対応する擬似クランク角信号を伝送する。従って、この車両制御システムによれば、第二の車両制御装置の夫々に、クランク角センサの出力信号を入力する入力回路を設ける必要がなく、更に、クランク角信号伝送専用の信号線を設置する必要もない。即ち、本発明の車両制御システムによれば、車両制御装置の夫々に、クランク角センサからの入力回路を設けなくとも、複数の車両制御装置において、クランク角の変化に応じた適切な車両制御を実行することができる。従って、本発明によれば、内燃機関の制御を行う車両制御システムとして優れたシステムを構築することができる。   Thus, in the vehicle control system of the present invention, the pseudo crank angle signal corresponding to the crank angle signal is transmitted using the communication line used for transmission / reception of data necessary for vehicle control. Therefore, according to this vehicle control system, it is not necessary to provide an input circuit for inputting the output signal of the crank angle sensor in each of the second vehicle control devices, and further, a signal line dedicated for crank angle signal transmission is installed. There is no need. That is, according to the vehicle control system of the present invention, even if each of the vehicle control devices is not provided with an input circuit from the crank angle sensor, in the plurality of vehicle control devices, appropriate vehicle control corresponding to the change of the crank angle is performed. Can be executed. Therefore, according to the present invention, an excellent system can be constructed as a vehicle control system for controlling the internal combustion engine.

ところで、上記第一及び第二の車両制御装置は、双方向にデータを送受信する構成にすることができる。例えば、第二のデータ通信手段は、擬似信号入力検知手段の検知結果から特定される擬似クランク角信号の入力間隔に基づき、通信線に対する擬似クランク角信号の出力停止後、擬似クランク角信号が通信線に出力されないと推定される期間に、通信線を介して第一の車両制御装置にデータを送信する構成にすることができ、第一のデータ通信手段は、このようにして通信線を介して第二の車両制御装置から送信されるデータを受信する構成にすることができる。 By the way, the first and second vehicle control devices can be configured to transmit and receive data bidirectionally. For example, the second data communication means communicates the pseudo crank angle signal after stopping the output of the pseudo crank angle signal to the communication line based on the input interval of the pseudo crank angle signal specified from the detection result of the pseudo signal input detection means. The data can be configured to be transmitted to the first vehicle control device via the communication line during the period estimated not to be output to the line, and the first data communication unit can thus be configured to communicate via the communication line. Te Ru can be configured to receive data transmitted from the second vehicle control apparatus.

更に、全二重通信ではない場合等を考慮すると、通信の衝突が発生しないようにため、第一及び第二のデータ通信手段は、通信線に対する擬似クランク角信号の出力停止後、擬似クランク角信号が通信線に出力されないと推定される期間であって自装置にデータの送信権限がある期間に、データを送信する構成にすることができる。 Further, in consideration of a case where the communication is not full-duplex communication or the like, in order to prevent a communication collision from occurring, the first and second data communication means stop the pseudo crank angle signal output to the communication line. the signal there is a time period in a by sending the data to the own device authority is presumed not to be output to the communication line period, Ru can be configured to transmit the data.

そして、送信権限の有無は、例えば次の方法により判断することができる。即ち、第一及び第二のデータ通信手段は、自装置に送信権限がある場合、データの一つとして、次に送信権限を付与する車両制御装置の識別コードを記した送信権限データを送信し、通信線を介して自装置の識別コードが記された送信権限データを受信すると、当該受信後に発生する擬似クランク角信号の出力停止後の、擬似クランク角信号が通信線に出力されないと推定される期間を、自装置にデータの送信権限がある期間と判断する構成にすることができる。このようにして、送信権限を有する車両制御装置が次の車両制御装置に対して送信権限を付与すれば、通信の衝突を抑えて、第一及び第二の車両制御装置間で適切にデータを送受信することができる。 The presence / absence of transmission authority can be determined, for example, by the following method. That is, when the first and second data communication means have the transmission authority, the first and second data communication means transmit the transmission authority data in which the identification code of the vehicle control apparatus to which the transmission authority is given next is written as one of the data. When the transmission authority data in which the identification code of the device is written is received via the communication line, it is estimated that the pseudo crank angle signal is not output to the communication line after the output of the pseudo crank angle signal generated after the reception is stopped. the that period, Ru can be configured to determine that period there is transmission permission data to the own device. In this way, if the vehicle control device having the transmission authority grants the transmission authority to the next vehicle control device, the communication collision is suppressed, and data is appropriately transmitted between the first and second vehicle control devices. You can send and receive.

また、擬似クランク角信号が通信線に出力されないと推定される期間に、上記データを送信する動作は、擬似クランク角信号が通信線に出力されないと推定される期間に送信可能なデータ数の範囲内で、送信対象のデータ数を決定し、通信線に対する擬似クランク角信号の出力停止後、決定した数のデータを送信する動作によって実現することができる。 The operation of transmitting the data during a period in which the pseudo crank angle signal is not output to the communication line is performed in the range of the number of data that can be transmitted in the period in which the pseudo crank angle signal is not output to the communication line. an inner, determines the number of data to be transmitted, after the output stopping of the pseudo crank angle signal to the communication line, Ru can be realized by the operation of sending the determined number of data.

この他、第一の車両制御装置は、クランク角信号の入力毎に送信すべきデータの種類及び数が定義されたテーブルを内燃機関の回転数毎に記憶する記憶手段を有し、このテーブルに従ってデータの送信を行うことによって、擬似クランク角信号が通信線に出力されないと推定される期間に、第二の車両制御装置に対して必要なデータを送信する構成にされてもよい。   In addition, the first vehicle control device has storage means for storing, for each rotational speed of the internal combustion engine, a table in which the type and number of data to be transmitted for each input of the crank angle signal is stored. By transmitting data, it may be configured to transmit necessary data to the second vehicle control device during a period in which it is estimated that the pseudo crank angle signal is not output to the communication line.

即ち、第一のデータ通信手段は、クランク角信号の入力毎に、クランク角信号の入力間隔に対応する内燃機関の回転数のテーブルを参照し、通信線に対する擬似クランク角信号の出力停止後、当該テーブルに従う種類及び数のデータを、通信線を介して第二の車両制御装置に送信することによって、擬似クランク角信号が通信線に出力されないと推定される期間に、通信線を介して第二の車両制御装置にデータを送信する構成にされてもよい。 That is, for each input of the crank angle signal, the first data communication means refers to the table of the rotational speed of the internal combustion engine corresponding to the input interval of the crank angle signal, and after stopping the output of the pseudo crank angle signal to the communication line, By transmitting the data of the type and number according to the table to the second vehicle control device via the communication line, the data is transmitted via the communication line during the period during which it is estimated that the pseudo crank angle signal is not output to the communication line. It is a configuration that transmits the data to the second vehicle control device has good.

この他、第一及び第二の車両制御装置間で双方向にデータ送受信する場合には、第一及び第二の車両制御装置の夫々に対し、上記内燃機関の回転数毎のテーブルを記憶する記憶手段を設けることができ、上記テーブルとしては、クランク角信号の入力毎に送信すべきデータの種類及び数の他、このデータの送信元が定義されたデータを設けることができる。   In addition, when data is transmitted and received bidirectionally between the first and second vehicle control devices, a table for each number of revolutions of the internal combustion engine is stored for each of the first and second vehicle control devices. Storage means can be provided, and as the table, in addition to the type and number of data to be transmitted for each input of the crank angle signal, data in which the transmission source of this data is defined can be provided.

そして、第一のデータ通信手段は、クランク角信号の入力毎に、クランク角信号の入力間隔に対応する内燃機関の回転数のテーブルを参照し、通信線に対する擬似クランク角信号の出力停止後、当該テーブルに従う送信元が自装置である場合には、当該テーブルに従う種類及び数のデータを、通信線を介して第二の車両制御装置に送信する構成にすることができる。同様に、第二のデータ通信手段は、クランク角信号の入力に起因して擬似信号入力検知手段が擬似クランク角信号の当該入力を検知する度に、擬似クランク角信号の入力間隔に対応する内燃機関の回転数のテーブルを参照し、擬似クランク角信号の出力停止後、当該テーブルに従う送信元が自装置である場合には、当該テーブルに従う種類及び数のデータを、通信線を介して第一の車両制御装置に送信する構成にすることができる。 The first data communication means refers to a table of the rotational speed of the internal combustion engine corresponding to the input interval of the crank angle signal for each input of the crank angle signal, and after stopping the output of the pseudo crank angle signal to the communication line, When the transmission source according to the table is its own device, the type and number of data according to the table can be transmitted to the second vehicle control device via the communication line. Similarly, the second data communication unit is configured to generate an internal combustion engine corresponding to the input interval of the pseudo crank angle signal every time the pseudo signal input detection unit detects the input of the pseudo crank angle signal due to the input of the crank angle signal. After referring to the engine speed table and stopping the output of the pseudo crank angle signal, if the transmission source according to the table is its own device, the data of the type and number according to the table are first sent via the communication line. Ru can be configured to be transmitted to the vehicle controller.

このように第一及び第二の車両制御装置間でデータの送受信を行えば、通信の衝突が生じないようにしつつ、擬似クランク角信号が通信線に出力されない期間内に適切にデータを送受信することができる。   If data is transmitted and received between the first and second vehicle control devices in this way, data is appropriately transmitted and received within a period during which the pseudo crank angle signal is not output to the communication line while preventing a communication collision. be able to.

この他、擬似信号出力手段は、通信線の信号レベルをアクティブレベルに切り替えることにより、擬似クランク角信号を通信線に出力し、擬似信号入力検知手段は、通信線での信号レベルがアクティブレベルに変化する事象が発生すると、その時点で、擬似クランク角信号の入力を検知する構成にすることができる。このように車両制御システムを構成することによって、第一の車両制御装置におけるクランク角信号の入力タイミングから少ないタイムラグで第二の車両制御装置において擬似クランク角信号の入力を検知することができ、第二の車両制御装置において、第一の車両制御装置と同様の精度で各時刻のクランク角を特定することができる。   In addition, the pseudo signal output means outputs the pseudo crank angle signal to the communication line by switching the signal level of the communication line to the active level, and the pseudo signal input detection means sets the signal level on the communication line to the active level. When a changing event occurs, the input of the pseudo crank angle signal can be detected at that time. By configuring the vehicle control system in this way, it is possible to detect the input of the pseudo crank angle signal in the second vehicle control device with a small time lag from the input timing of the crank angle signal in the first vehicle control device. In the second vehicle control device, the crank angle at each time can be specified with the same accuracy as the first vehicle control device.

また、このように擬似クランク角信号の入力を検知する場合には、データの送信時に通信線に出力される通信信号を、擬似クランク角信号として検知しないように、擬似信号入力検知手段を、次のように構成されるとよい。   Further, when detecting the input of the pseudo crank angle signal in this way, the pseudo signal input detecting means is set to the following so that the communication signal output to the communication line at the time of data transmission is not detected as the pseudo crank angle signal. It is good to be configured as follows.

即ち、擬似信号入力検知手段は、通信線での信号レベルがアクティブレベルに変化する事象が発生すると、その時点で、擬似クランク角信号の入力を検知する一方、検知の契機となった事象の発生時点から、通信線に対する擬似クランク角信号の出力停止後の擬似クランク角信号が通信線に出力されないと推定される期間の終了時点までは、擬似クランク角信号の入力を検知する動作を無効にすることによって、擬似クランク角信号が入力される度に、擬似クランク角信号の入力を検知する構成にされるとよい。 That is, the pseudo signal input detection means detects the input of the pseudo crank angle signal at the time when the event that the signal level on the communication line changes to the active level occurs, while the occurrence of the event that triggered the detection occurs. The operation for detecting the input of the pseudo crank angle signal is invalidated from the time point until the end of the period when it is estimated that the pseudo crank angle signal after the stop of the output of the pseudo crank angle signal to the communication line is not output to the communication line. it allows each time the pseudo crank angle signal is inputted, it is a good test is a configuration that detects an input of the pseudo crank angle signal.

上述したようにデータの送信は、擬似クランク角信号の出力停止後の擬似クランク角信号が通信線に出力されないと推定される期間に行われるため、この期間において、擬似クランク角信号の入力を検知する動作を無効にすれば、通信信号の受信を擬似クランク角信号の入力として検知せずに済み、擬似クランク角信号を適切に第二の車両制御装置に伝達することができる。   As described above, data transmission is performed during a period during which it is estimated that the pseudo crank angle signal is not output to the communication line after the output of the pseudo crank angle signal is stopped. During this period, the input of the pseudo crank angle signal is detected. If the operation to be performed is invalidated, it is not necessary to detect the reception of the communication signal as the input of the pseudo crank angle signal, and the pseudo crank angle signal can be appropriately transmitted to the second vehicle control device.

また、第二のデータ通信手段において擬似クランク角信号が通信信号と誤解釈されないようにするために、車両制御システムは、次のように構成することができる。例えば、第一のデータ通信手段と第二のデータ通信手段との間では、調歩同期式の通信が行われ、データの送信時には、一単位分のデータである固定長のビット列の前後にスタートビット及びストップビットを含む通信信号が通信線に出力される環境において、擬似信号出力手段は、クランク角信号の入力毎に、スタートビットからストップビットまでの通信信号の時間長以上の一定時間、通信線の信号レベルをアクティブレベルに切り替えることにより、通信信号とは区別される擬似クランク角信号を通信線に出力する構成にすることができる。通信信号に適合しない、このような擬似クランク角信号の出力によって、第二のデータ通信手段では、擬似クランク角信号を通信信号と誤解釈せずに済み、第一及び第二の車両制御装置間では、データを適切に送受信することができる。 In order to prevent the pseudo crank angle signal from being misinterpreted as a communication signal in the second data communication means, the vehicle control system can be configured as follows. For example, asynchronous communication is performed between the first data communication unit and the second data communication unit, and when transmitting data, start bits before and after a fixed-length bit string that is one unit of data. In an environment in which a communication signal including a stop bit is output to the communication line, the pseudo signal output means is configured to communicate the communication line for a certain time longer than the time length of the communication signal from the start bit to the stop bit for each input of the crank angle signal. by switching the signal level to the active level, Ru can be configured to output a pseudo crank angle signal is distinguished from the communication signal to the communication line. By outputting such a pseudo crank angle signal that does not conform to the communication signal, the second data communication means does not need to misinterpret the pseudo crank angle signal as a communication signal, and between the first and second vehicle control devices. Then, data can be transmitted and received appropriately.

また、車両制御システムは、次のように構成されてもよい。即ち、第二のデータ通信手段は、擬似信号入力検知手段により擬似クランク角信号の入力が検知されると、通信線を介して第一の車両制御装置に対し応答信号を出力すると共に、データの受信待ち動作を開始し、第一のデータ通信手段は、応答信号の入力後から第二の車両制御装置に対するデータの送信動作を実行する構成にされてもよい。この構成によれば、第一の車両制御装置における第一のデータ通信手段は、第二の車両制御装置がデータ受信可能となったことを確認した後、データの送信動作を開始することができ、第二の車両制御装置におけるデータ受信の失敗を抑えることができて、通信の信頼性を高めることができる。 The vehicle control system may be configured as follows. That is, the second data communication means outputs a response signal to the first vehicle control device via the communication line when the pseudo signal input detecting means detects the input of the pseudo crank angle signal, and It starts waiting operation, the first data communication means, but it may also be a configuration for performing a transmission operation of data to the second vehicle control device after the input of the response signal. According to this configuration, the first data communication means in the first vehicle control device can start the data transmission operation after confirming that the second vehicle control device can receive data. The failure of data reception in the second vehicle control device can be suppressed, and the communication reliability can be improved.

車両制御システム1の構成を表すブロック図である。1 is a block diagram illustrating a configuration of a vehicle control system 1. FIG. 第一実施例での各種信号及び動作の変化を示すタイムチャートである。It is a time chart which shows the change of various signals and operation | movement in a 1st Example. マイコン20,40が実行する処理の概要を示す図である。It is a figure which shows the outline | summary of the process which the microcomputers 20 and 40 perform. 演算部21が実行する通信制御処理を表すフローチャートである。It is a flowchart showing the communication control process which the calculating part 21 performs. 演算部21,41が実行する定時処理を表すフローチャートである。It is a flowchart showing the regular processing which the calculating parts 21 and 41 perform. 演算部21,41が実行する送信処理を表すフローチャートである。It is a flowchart showing the transmission process which the calculating parts 21 and 41 perform. エンスト時の各種信号及び動作の変化を示すタイムチャートである。It is a time chart which shows the change of various signals at the time of an engine stall, and operation. 演算部21,41が実行する受信処理を表すフローチャートである。It is a flowchart showing the reception process which the calculating parts 21 and 41 perform. 受信エラー時の各種信号及び動作の変化を示すタイムチャートである。It is a time chart which shows the change of various signals at the time of reception error, and operation. 演算部41が実行する通信制御処理を表すフローチャートである。It is a flowchart showing the communication control process which the calculating part 41 performs. 第二実施例での各種信号及び動作の変化を示すタイムチャートである。It is a time chart which shows the change of various signals and operation | movement in a 2nd Example. エンジン回転数毎のスケジュールデータの構成を表す図である。It is a figure showing the structure of the schedule data for every engine speed. 演算部21が実行する通信制御処理を表すフローチャートである。It is a flowchart showing the communication control process which the calculating part 21 performs. 演算部21,41が実行する定時処理を表すフローチャートである。It is a flowchart showing the regular processing which the calculating parts 21 and 41 perform. 演算部21,41が実行する送信処理を表すフローチャートである。It is a flowchart showing the transmission process which the calculating parts 21 and 41 perform. 演算部21,41が実行する受信処理を表すフローチャートである。It is a flowchart showing the reception process which the calculating parts 21 and 41 perform. 演算部41が実行する通信制御処理を表すフローチャートである。It is a flowchart showing the communication control process which the calculating part 41 performs. 変形例の車両制御システム1の構成を表すブロック図である。It is a block diagram showing the structure of the vehicle control system 1 of a modification.

以下に本発明の実施例について、図面と共に説明する。
[第一実施例]
図1に示す本実施例の車両制御システム1は、車両に搭載された内燃機関(エンジン)を制御する制御システムであり、具体的には、各気筒に設置されたインジェクタ3からの燃料噴射を制御するシステムである。この車両制御システム1は、メインユニット10とサブユニット30とが共通する通信線LNを通じて互いにデータ通信可能に接続された構成にされ、制御に必要なデータの送受信を伴って、これら複数ユニット10,30の協働により燃料噴射制御を実現する。
Embodiments of the present invention will be described below with reference to the drawings.
[First embodiment]
A vehicle control system 1 according to this embodiment shown in FIG. 1 is a control system that controls an internal combustion engine (engine) mounted on a vehicle. Specifically, fuel injection from an injector 3 installed in each cylinder is performed. It is a system to control. The vehicle control system 1 is configured such that the main unit 10 and the subunit 30 are connected to each other through a common communication line LN so that data communication is possible. The fuel injection control is realized by the cooperation of 30.

具体的に、通信線LNは、単線の通信線として構成され、メインユニット10とサブユニット30との間のデータ通信は、シングルエンド信号を用いたシリアル通信により実現される。この通信線LNには、必要に応じてクロック信号伝送用の信号線やその他の制御線が併設される。   Specifically, the communication line LN is configured as a single communication line, and data communication between the main unit 10 and the subunit 30 is realized by serial communication using a single end signal. The communication line LN is provided with a signal line for clock signal transmission and other control lines as necessary.

また、メインユニット10は、所謂エンジンECUであり、内燃機関の統括制御を行う車両制御装置として構成される。このメインユニット10は、入力回路11と、擬似クランク角信号生成回路15と、マイクロコンピュータ(以下、単に「マイコン」と表現する)20と、を備える。   The main unit 10 is a so-called engine ECU, and is configured as a vehicle control device that performs overall control of the internal combustion engine. The main unit 10 includes an input circuit 11, a pseudo crank angle signal generation circuit 15, and a microcomputer (hereinafter simply referred to as “microcomputer”) 20.

入力回路11は、内燃機関のクランク軸に取り付けられたクランク角センサSNの出力信号を波形整形して、クランク角の変化に応じたパルス信号としてのクランク角信号(図1及び図2に示す「CRNK」)を入力するものである。クランク角センサSNは、例えば、ロータリエンコーダにより構成され、クランク角の変化に応じた矩形波や正弦波を出力する。この波形は、メーカや製品によって異なる。入力回路11は、このような製品毎に異なる波形を出力するクランク角センサSNの出力信号を波形整形して、クランク角が所定角度変化する度(例えば6度変化する度)に、規定のクランク角信号をマイコン20に入力する。   The input circuit 11 shapes the output signal of the crank angle sensor SN attached to the crankshaft of the internal combustion engine, and forms a crank angle signal as a pulse signal corresponding to a change in the crank angle (see “ CRNK "). The crank angle sensor SN is composed of, for example, a rotary encoder, and outputs a rectangular wave or a sine wave corresponding to a change in the crank angle. This waveform varies depending on the manufacturer and product. The input circuit 11 shapes the output signal of the crank angle sensor SN that outputs a different waveform for each product, and each time the crank angle changes by a predetermined angle (for example, every 6 degrees), the input crank 11 An angle signal is input to the microcomputer 20.

一方、擬似クランク角信号生成回路15は、入力回路11からクランク角信号(Hi)が入力されると、図2に示すように、その入力開始タイミングから所定時間、通信線LNの信号レベルをインアクティブレベル(Hi)からアクティブレベル(Lo)に切り替えることによって、クランク角信号の擬似信号である擬似クランク角信号(図1及び図2に示す「Pcr」)を通信線LNに出力するものである。具体的に、擬似クランク角信号は、メインユニット10とサブユニット30との間で行われるシリアル通信において通信線LNに出力される通信信号では生じることのない時間、アクティブレベル(Lo)を継続する信号として通信線LNに出力される。図2に示す例によれば、擬似クランク角信号は、データ通信で用いられるスタートビット及びストップビットを含む通信信号(フレーム)の長さに対応する10ビット分の時間アクティブレベル(Lo)を継続する信号として通信線LNに出力される。   On the other hand, when the crank angle signal (Hi) is input from the input circuit 11, the pseudo crank angle signal generation circuit 15 inputs the signal level of the communication line LN for a predetermined time from the input start timing as shown in FIG. By switching from the active level (Hi) to the active level (Lo), a pseudo crank angle signal (“Pcr” shown in FIGS. 1 and 2) which is a pseudo signal of the crank angle signal is output to the communication line LN. . Specifically, the pseudo crank angle signal continues the active level (Lo) for a time that does not occur in the communication signal output to the communication line LN in the serial communication performed between the main unit 10 and the subunit 30. The signal is output to the communication line LN. According to the example shown in FIG. 2, the pseudo crank angle signal continues the time active level (Lo) for 10 bits corresponding to the length of the communication signal (frame) including the start bit and the stop bit used in data communication. To be output to the communication line LN.

また、マイコン20は、周知のマイコンと同様のハードウェア構成にされ、内燃機関の制御を含む各種プログラムに従う処理を実行する演算部21の他、通信線LNに接続された送受信回路22と、ダイレクトメモリアクセスコントローラ(DMAC)23と、演算部21によるプログラム実行時に一時記憶メモリとして使用されるRAM25と、演算部21により実行される各種プログラムを記憶するROM26と、エッジ検出回路27と、を備える。   The microcomputer 20 has a hardware configuration similar to that of a known microcomputer, and includes a calculation unit 21 that executes processing according to various programs including control of the internal combustion engine, a transmission / reception circuit 22 connected to the communication line LN, and a direct A memory access controller (DMAC) 23, a RAM 25 that is used as a temporary storage memory when a program is executed by the calculation unit 21, a ROM 26 that stores various programs executed by the calculation unit 21, and an edge detection circuit 27 are provided.

送受信回路22は、通信線LNを介してサブユニット30とデータ通信するためのものであり、調歩同期式のシリアル通信により通信線LNに接続された他の装置(サブユニット30)とデータ通信するものである。周知のように、調歩同期式のシリアル通信では、一単位分のデータ(1ワード)毎に、このデータの先頭にスタートビットを付し、このデータの末尾にストップビットを付してなる通信信号(フレーム)を通信線LNに出力する。   The transmission / reception circuit 22 is for data communication with the subunit 30 via the communication line LN, and performs data communication with another device (subunit 30) connected to the communication line LN by asynchronous serial communication. Is. As is well known, in asynchronous serial communication, for each unit of data (one word), a start bit is added to the beginning of this data, and a stop signal is added to the end of this data. (Frame) is output to the communication line LN.

本実施例では、8ビット単位のデータ毎に、1ビット分のスタートビット及び1ビット分のストップビットを付加してなる通信信号を通信線LNに出力する。従って、一単位分の通信信号(1フレーム)は、10ビット分の信号として構成される。スタートビット及びストップビットは、互いに異なる値を示し、図2に示す例によれば、スタートビットは、アクティブレベルであるLoを採り、ストップビットは、インアクティブレベルであるHiを採る。   In the present embodiment, a communication signal in which a start bit for one bit and a stop bit for one bit are added for each 8-bit data is output to the communication line LN. Therefore, one unit of communication signal (one frame) is configured as a signal of 10 bits. The start bit and the stop bit are different from each other. According to the example shown in FIG. 2, the start bit takes Lo which is an active level, and the stop bit takes Hi which is an inactive level.

即ち、シリアル通信に用いられる通信信号は、10ビット分の時間以上、アクティブレベル(Lo)を継続して採ることがない。本実施例では、このような理由により、上述したように擬似クランク角信号を10ビット分の信号で定義している。   That is, a communication signal used for serial communication does not continuously take an active level (Lo) for a time of 10 bits or more. In this embodiment, for this reason, the pseudo crank angle signal is defined as a 10-bit signal as described above.

この送受信回路22は、図示しない内蔵の送信バッファに格納された送信対象のデータを上述した通信方式で送信し、通信線LNを介して受信したデータを図示しない内蔵の受信バッファに蓄積する。そして、この送受信回路22は、受信信号のストップビットの値が正常値でない場合、これを受信エラーとして検知する。この種の受信エラーを含む送受信回路22で検知される各種受信エラーは、割込み(以下「受信エラー割込み」と表現する)により演算部21に通知される。   The transmission / reception circuit 22 transmits data to be transmitted stored in a built-in transmission buffer (not shown) by the communication method described above, and accumulates data received via the communication line LN in a built-in reception buffer (not shown). When the stop bit value of the reception signal is not a normal value, the transmission / reception circuit 22 detects this as a reception error. Various reception errors detected by the transmission / reception circuit 22 including this type of reception error are notified to the arithmetic unit 21 by an interrupt (hereinafter referred to as “reception error interrupt”).

また、DMAC23は、送受信回路22とRAM25との間のデータ転送を、演算部21による読出/書込を必要とせずに直接的に実現するものである。DMAC23は、演算部21から転送命令が入力されると、RAM25の予め定められた送信メモリ領域に格納されたデータを読み出して、送受信回路22の送信バッファに順次書き込む。これによって、上記データは、送受信回路22を介し上記通信信号として通信線LNに出力される。また、DMAC23は、送受信回路22からの要求に応じて送受信回路22の受信バッファが記憶する受信データを読み出し、これをRAM25の予め定められた受信メモリ領域に書き込む。   The DMAC 23 directly realizes data transfer between the transmission / reception circuit 22 and the RAM 25 without requiring reading / writing by the arithmetic unit 21. When a transfer command is input from the arithmetic unit 21, the DMAC 23 reads data stored in a predetermined transmission memory area of the RAM 25 and sequentially writes the data in the transmission buffer of the transmission / reception circuit 22. Thereby, the data is output to the communication line LN as the communication signal via the transmission / reception circuit 22. In response to a request from the transmission / reception circuit 22, the DMAC 23 reads the reception data stored in the reception buffer of the transmission / reception circuit 22 and writes it in a predetermined reception memory area of the RAM 25.

この他、エッジ検出回路27は、例えばインプットキャプチャにより構成されるものであり、入力回路11の出力端に接続され、入力回路11からクランク角信号が入力されると、その信号エッジ(LoからHiへの信号エッジ)を検出して、当該検出毎に、演算部21に対する割込みを発生させるように構成されたものである。このエッジ検出回路27は、周知のインプットキャプチャと同様、複数の入力チャンネルを備える構成にすることができる。尚、図1には、エッジ検出回路27に対する複数経路からの入力を示すが、破線で示す入力経路は、後述する第二実施例の構成を示したものであり、本実施例のエッジ検出回路27に対しては、このような入力経路は設けられていない点に注意されたい。   In addition, the edge detection circuit 27 is configured by, for example, an input capture, and is connected to the output terminal of the input circuit 11. When a crank angle signal is input from the input circuit 11, the signal edge (Lo to Hi) is detected. The signal edge) is detected, and an interrupt to the calculation unit 21 is generated for each detection. The edge detection circuit 27 can be configured to include a plurality of input channels as in the known input capture. Although FIG. 1 shows inputs from a plurality of paths to the edge detection circuit 27, the input path indicated by a broken line shows the configuration of a second embodiment described later. The edge detection circuit of this embodiment Note that no such input path is provided for 27.

続いて、サブユニット30の構成について説明する。サブユニット30は、噴射系システムの特性に応じた詳細な燃料噴射制御をメインユニット10(エンジンECU)と協働して実現する燃料噴射コントローラであり、マイコン40及び駆動回路50を備える。そして、マイコン40は、燃料噴射制御を含む各種プログラムに従う処理を実行する演算部41の他、送受信回路42と、DMAC43と、演算部41によるプログラム実行時に一時記憶メモリとして使用されるRAM45と、演算部41により実行される各種プログラムを記憶するROM46と、エッジ検出回路47と、出力ポート49と、を備える。   Next, the configuration of the subunit 30 will be described. The sub unit 30 is a fuel injection controller that realizes detailed fuel injection control according to the characteristics of the injection system in cooperation with the main unit 10 (engine ECU), and includes a microcomputer 40 and a drive circuit 50. The microcomputer 40 includes a calculation unit 41 that executes processing according to various programs including fuel injection control, a transmission / reception circuit 42, a DMAC 43, a RAM 45 that is used as a temporary storage memory when the calculation unit 41 executes a program, A ROM 46 that stores various programs executed by the unit 41, an edge detection circuit 47, and an output port 49 are provided.

送受信回路42は、メインユニット10の送受信回路22と同一の通信線LNに接続され、メインユニット10の送受信回路22と同一構成にされて、同一通信方式により、通信線LNに接続されたメインユニット10とデータ通信を行うものである。即ち、送受信回路42は、メインユニット10の送受信回路22と同様に、図示しない内蔵の送信バッファに格納された送信対象のデータを、上記スタートビット及びストップビットを含む通信信号(フレーム)に変換して通信線LNに出力し、当該通信信号を相手先に送信する。また、上記通信信号(フレーム)を受信すると、この通信信号に含まれるデータをシリアル通信による受信データとして図示しない内蔵の受信バッファに格納する。そして、この送受信回路42は、受信信号のストップビットの値が正常値でない場合、これを受信エラーとして検知する。この種の受信エラーを含む送受信回路42で検知される各種受信エラーは、割込み(受信エラー割込み)により演算部41に通知される。   The transmission / reception circuit 42 is connected to the same communication line LN as the transmission / reception circuit 22 of the main unit 10, has the same configuration as the transmission / reception circuit 22 of the main unit 10, and is connected to the communication line LN by the same communication method. 10 for data communication. That is, similar to the transmission / reception circuit 22 of the main unit 10, the transmission / reception circuit 42 converts the transmission target data stored in a built-in transmission buffer (not shown) into a communication signal (frame) including the start bit and stop bit. To the communication line LN and transmit the communication signal to the other party. When the communication signal (frame) is received, data included in the communication signal is stored in a built-in reception buffer (not shown) as reception data by serial communication. When the stop bit value of the received signal is not a normal value, the transmission / reception circuit 42 detects this as a reception error. Various reception errors detected by the transmission / reception circuit 42 including this type of reception error are notified to the arithmetic unit 41 by an interrupt (reception error interrupt).

また、DMAC43は、DMAC23と同様、送受信回路42とRAM45との間のデータ転送を行うものである。即ち、DMAC43は、演算部41から転送命令が入力されると、RAM45の送信メモリ領域に格納された送信対象のデータを読み出して、送受信回路42の送信バッファに順次書き込む。また、送受信回路42からの要求に応じて送受信回路42の受信バッファが記憶する受信データを順次読み出して、これをRAM45の受信メモリ領域に書き込む。   Further, the DMAC 43 performs data transfer between the transmission / reception circuit 42 and the RAM 45 as in the DMAC 23. That is, when a transfer command is input from the arithmetic unit 41, the DMAC 43 reads data to be transmitted stored in the transmission memory area of the RAM 45 and sequentially writes it in the transmission buffer of the transmission / reception circuit 42. In response to a request from the transmission / reception circuit 42, the reception data stored in the reception buffer of the transmission / reception circuit 42 is sequentially read out and written in the reception memory area of the RAM 45.

この他、エッジ検出回路47は、メインユニット10と同様に、例えばインプットキャプチャにより構成され、通信線LNから擬似クランク角信号が入力されると、その信号エッジを検出して、当該検出毎に、演算部41に対する割込みを発生させる。具体的に、このエッジ検出回路47は、通信線LNの信号レベルがインアクティブレベル(Hi)からアクティブレベル(Lo)に変化する信号エッジを検出すると、これを擬似クランク角信号の入力とみなして割込みを発生させる。   In addition, the edge detection circuit 47 is configured by, for example, an input capture as in the main unit 10, and when a pseudo crank angle signal is input from the communication line LN, the edge detection circuit 47 detects the signal edge, and for each detection, An interrupt to the calculation unit 41 is generated. Specifically, when the edge detection circuit 47 detects a signal edge where the signal level of the communication line LN changes from the inactive level (Hi) to the active level (Lo), the edge detection circuit 47 regards this as an input of the pseudo crank angle signal. Generate an interrupt.

但し、このエッジ検出回路47は、擬似クランク角信号に対する割込みマスクが設定されると、割込みマスクが解除されるまで、上記信号エッジの検出による割込みの発生を禁止することにより、演算部41に対し上記信号エッジの検出を無効化する。この割込みマスクは、送受信回路22,42間でデータ通信が行われる期間に有効となるように演算部41により設定される(詳細後述)。このような割込みマスクの設定/解除によって、エッジ検出回路47は、通信線LNを伝送する擬似クランク角信号及び通信信号のうち、擬似クランク角信号の入力に対し割込みを発生させて、擬似クランク角信号の入力を演算部41に通知する。   However, when the interrupt mask for the pseudo crank angle signal is set, the edge detection circuit 47 prohibits the generation of an interrupt due to the detection of the signal edge until the interrupt mask is canceled, thereby causing the arithmetic unit 41 to Disable signal edge detection. The interrupt mask is set by the calculation unit 41 so as to be effective during a period in which data communication is performed between the transmission / reception circuits 22 and 42 (details will be described later). By setting / releasing the interrupt mask as described above, the edge detection circuit 47 generates an interrupt with respect to the input of the pseudo crank angle signal among the pseudo crank angle signal and the communication signal transmitted through the communication line LN, and the pseudo crank angle The calculation unit 41 is notified of the signal input.

また、出力ポート49には、駆動回路50が接続されており、マイコン40の演算部41は、この出力ポート49を介して駆動回路50に制御信号を入力することで、駆動回路50を介してインジェクタ3の駆動制御を行い、インジェクタ3による燃料噴射を制御する。例えば、噴射時期や噴射時間を制御する。また、このインジェクタ3が備える図示しないセンサ(圧力センサ等)からの出力信号は、マイコン40が備える図示しないA/D変換器等を通じて演算部41に入力され、インジェクタ3の駆動制御に用いられる。尚、図1には、出力ポート49から通信線LNへの接続経路が破線により示されているが、この構成は、後述する第二実施例の構成を示したものであることに注意されたい。   Further, a drive circuit 50 is connected to the output port 49, and the calculation unit 41 of the microcomputer 40 inputs a control signal to the drive circuit 50 via the output port 49, and thereby via the drive circuit 50. The drive control of the injector 3 is performed, and the fuel injection by the injector 3 is controlled. For example, the injection timing and the injection time are controlled. An output signal from a sensor (such as a pressure sensor) (not shown) included in the injector 3 is input to the calculation unit 41 through an A / D converter (not shown) included in the microcomputer 40 and used for driving control of the injector 3. In FIG. 1, the connection path from the output port 49 to the communication line LN is indicated by a broken line. However, it should be noted that this configuration shows a configuration of a second embodiment to be described later. .

続いて、図2及び図3を用いてメインユニット10及びサブユニット30の動作概要を説明する。メインユニット10では、入力回路11からクランク角信号が入力されると、演算部21がエッジ検出回路27から発生する割込みに対応して、図3に示すクランク角更新処理PR1及び通信制御処理PR2を実行し、クランク角更新処理PR1では、入力されたクランク角信号に基づき、メインユニット10にて記憶保持するクランク角を更新する。このクランク角の情報は、メインユニット10における内燃機関の制御に用いられる。
また、通信制御処理PR2では、データ送信権限が自ユニットにあるか否かを判断し、データ送信権限が自ユニットにある場合には、送信処理によるデータ送信を許可して、擬似クランク角信号生成回路15による擬似クランク角信号の出力完了後、燃料噴射制御に必要なデータがサブユニット30に対して送信されるようにする。ここで送信されるデータとしては、各気筒の燃料噴射時期や噴射量が記されたデータを一例に挙げることができる。
Subsequently, an outline of operations of the main unit 10 and the subunit 30 will be described with reference to FIGS. 2 and 3. In the main unit 10, when the crank angle signal is input from the input circuit 11, the arithmetic unit 21 performs the crank angle update processing PR <b> 1 and the communication control processing PR <b> 2 shown in FIG. 3 in response to the interrupt generated from the edge detection circuit 27. In the crank angle update process PR1, the crank angle stored and held in the main unit 10 is updated based on the input crank angle signal. This crank angle information is used for controlling the internal combustion engine in the main unit 10.
Further, in the communication control process PR2, it is determined whether or not the data transmission authority is in the own unit. If the data transmission authority is in the own unit, the data transmission by the transmission process is permitted to generate the pseudo crank angle signal. After the output of the pseudo crank angle signal by the circuit 15 is completed, data necessary for fuel injection control is transmitted to the subunit 30. As data transmitted here, the data in which the fuel injection timing and the injection amount of each cylinder were described can be mentioned as an example.

一方、サブユニット30では、通信線LNを通じて擬似クランク角信号が入力されると、演算部41がエッジ検出回路47から発生する割込みに対応して、図3に示すようにクランク角更新処理PR3及び通信制御処理PR4を実行し、クランク角更新処理PR3では、入力された擬似クランク角信号に基づき、サブユニット30にて記憶保持するクランク角を更新する。このクランク角の情報は、サブユニット30における内燃機関の制御(燃料噴射制御)に用いられる。
また、通信制御処理PR4では、擬似クランク角信号に対する割込みマスクを設定する一方、後述する手法にてエッジ検出回路47に対して割込みマスク解除のタイマ設定を行うことにより、次に擬似クランク角信号が入力されると推定される時刻より前に、エッジ検出回路47にて当該割込みマスクが解除されるようにする。これによって、サブユニット30の演算部41は、通信信号による通信線LNの信号レベルの変化に起因するエッジ検出回路47からの上記割込みが発生しないようにする一方、擬似クランク角信号の入力時には、上記割込みが発生するように、エッジ検出回路47を設定する。そして、サブユニット30の演算部41は、この割込みマスクの継続中に、メインユニット10から送信されてくるデータを、送受信回路42を介して受信する。
On the other hand, in the subunit 30, when the pseudo crank angle signal is input through the communication line LN, the calculation unit 41 responds to the interrupt generated from the edge detection circuit 47, as shown in FIG. The communication control process PR4 is executed, and in the crank angle update process PR3, the crank angle stored and held in the subunit 30 is updated based on the input pseudo crank angle signal. This crank angle information is used for control of the internal combustion engine (fuel injection control) in the subunit 30.
Further, in the communication control process PR4, while setting an interrupt mask for the pseudo crank angle signal, a timer for canceling the interrupt mask is set for the edge detection circuit 47 by a method described later, so that the pseudo crank angle signal is The edge detection circuit 47 cancels the interrupt mask before the time estimated to be input. Thereby, the arithmetic unit 41 of the subunit 30 prevents the interruption from the edge detection circuit 47 caused by the change in the signal level of the communication line LN due to the communication signal, while at the time of inputting the pseudo crank angle signal, The edge detection circuit 47 is set so that the interrupt occurs. Then, the arithmetic unit 41 of the subunit 30 receives the data transmitted from the main unit 10 via the transmission / reception circuit 42 while the interrupt mask is continued.

この他、通信制御処理PR4では、データ送信権限が自ユニットにあるか否かを判断し、データ送信権限が自ユニットにある場合には、送信処理によるデータ送信を許可して、擬似クランク角信号の出力完了後、燃料噴射制御に必要なデータがメインユニット10に対して送信されるようにする。ここで送信されるデータとしては、各気筒のインジェクタ3による燃料噴射の結果(例えば、燃料噴射時間)やインジェクタ3に搭載されるセンサによる検出結果(例えば、圧力センサによる圧力検出値)が記されたデータを一例に挙げることができる。メインユニット10の演算部21は、上記割込みマスクの継続中に、このようにサブユニット30から送信されてくるデータを、送受信回路22を介して受信する。   In addition, in the communication control process PR4, it is determined whether or not the data transmission authority is in the own unit. If the data transmission authority is in the own unit, the data transmission by the transmission process is permitted and the pseudo crank angle signal is transmitted. After the output is completed, data necessary for fuel injection control is transmitted to the main unit 10. As data transmitted here, the result of fuel injection by the injector 3 of each cylinder (for example, fuel injection time) and the detection result by the sensor mounted on the injector 3 (for example, the pressure detection value by the pressure sensor) are described. Data can be cited as an example. The arithmetic unit 21 of the main unit 10 receives the data transmitted from the subunit 30 in this way through the transmission / reception circuit 22 while the interrupt mask is continued.

続いて、クランク角信号の入力を契機にエッジ検出回路27から発生する割込みに対応してメインユニット10の演算部21が実行する通信制御処理PR2の詳細を、図4を用いて説明する。メインユニット10の演算部21は、図4に示す処理を開始すると、クランク間時間として、クランク角信号の入力間隔を算出する(S110)。具体的には、クランク間時間として、今回のクランク角信号の入力開始時刻と前回のクランク角信号の入力開始時刻との時間差を算出する。   Next, details of the communication control process PR2 executed by the arithmetic unit 21 of the main unit 10 in response to an interrupt generated from the edge detection circuit 27 when the crank angle signal is input will be described with reference to FIG. When the processing unit 21 of the main unit 10 starts the process shown in FIG. 4, it calculates the crank angle signal input interval as the inter-crank time (S110). Specifically, the time difference between the current crank angle signal input start time and the previous crank angle signal input start time is calculated as the inter-crank time.

その後、演算部21は、擬似クランク角信号生成回路15による擬似クランク角信号の出力が完了するまで待機し(S120)、擬似クランク角信号の出力が完了すると、S130に移行する。尚、擬似クランク角信号の出力が完了したか否かは、例えば、クランク角信号の入力開始時刻からの経過時間で判断することができる。   Thereafter, the calculation unit 21 waits until the pseudo crank angle signal generation by the pseudo crank angle signal generation circuit 15 is completed (S120), and when the output of the pseudo crank angle signal is completed, the process proceeds to S130. Whether or not the output of the pseudo crank angle signal is completed can be determined, for example, based on the elapsed time from the input start time of the crank angle signal.

S130に移行すると、演算部21は、送信ユニットの設定値を参照することにより、送信ユニットが自ユニットであるか否かを判断する。ここで言う送信ユニットとは、シリアル通信によるデータ送信権限を有する車両制御装置(メインユニット10又はサブユニット30)のことを言い、送信ユニットの設定値は、データ送信権限を有する車両制御装置の識別コードを示す。この送信ユニットの設定値は、メインユニット10及びサブユニット30の夫々において、起動時にメインユニット10の識別コードに初期化される。   If transfering to S130, the calculating part 21 will judge whether a transmission unit is an own unit by referring the setting value of a transmission unit. The transmission unit here refers to a vehicle control device (main unit 10 or subunit 30) having the authority to transmit data by serial communication, and the setting value of the transmission unit is the identification of the vehicle control device having the data transmission authority. Indicates the code. The set value of the transmission unit is initialized to the identification code of the main unit 10 at the time of activation in each of the main unit 10 and the subunit 30.

そして、送信ユニットが自ユニットであると判断すると(S130でYes)、演算部21は、今回のクランク角信号の発生を契機とした擬似クランク角信号の通信線LNへの出力開始時に、サブユニット30において上記割込みマスクが解除されていない状態(図9参照)であったか否かを判断する(S140)。上記割込みマスクの継続時間は、サブユニット30において、直前の擬似クランク角信号の入力間隔に基づき所定規則により決定される。このような割込みマスクが解除されていない状態は、エンジン回転の急変動により擬似クランク角信号の入力間隔が急に短くなる方向に変化した場合に発生し得る。   If it is determined that the transmitting unit is the own unit (Yes in S130), the calculation unit 21 starts the output of the pseudo crank angle signal to the communication line LN triggered by the generation of the current crank angle signal. In step S140, it is determined whether or not the interrupt mask is not released at 30 (see FIG. 9). The duration of the interrupt mask is determined by a predetermined rule in the subunit 30 based on the input interval of the immediately preceding pseudo crank angle signal. Such a state in which the interrupt mask is not released can occur when the input interval of the pseudo crank angle signal is suddenly shortened due to a sudden change in engine rotation.

メインユニット10は、このような割込みマスクの継続時間を、擬似クランク角信号の入力間隔に対応する前回のS110で算出した上記クランク間時間から上記規則に従って特定する。そして、このように特定された割込みマスクの継続時間から、サブユニット30において上記割込みマスクが解除されていない状態であったか否かを判断する。   The main unit 10 specifies the duration of such an interrupt mask according to the above rule from the inter-crank time calculated in the previous S110 corresponding to the input interval of the pseudo crank angle signal. Then, it is determined from the duration of the interrupt mask specified in this way whether or not the interrupt mask has not been released in the subunit 30.

例えば、今回のS110で算出した上記クランク間時間よりも、上記特定した割込みマスクの継続時間が長ければ、今回のクランク角信号の発生による擬似クランク角信号の出力開始時に、サブユニット30において擬似クランク角信号に対する上記割込みマスクが解除されていない状態であったと判断する。   For example, if the duration of the specified interrupt mask is longer than the inter-crank time calculated in S110 of this time, the pseudo crank angle signal is started in the subunit 30 at the start of output of the pseudo crank angle signal due to generation of the current crank angle signal. It is determined that the interrupt mask for the corner signal has not been released.

尚、このような割込みマスクが解除されていない状態の発生は、サブユニット30において割込みマスクの継続時間を短めに設定することで回避することができる。但し、本実施例によれば、エッジ検出回路47から通信信号に起因する上記割込みが発生しないように、割込みマスクが設定されている期間に限って、通信信号を送信する。このため、割込みマスクの継続時間を短めに設定すると、データ通信に確保可能な時間が短くなるといった欠点がある。   The occurrence of such a state where the interrupt mask is not released can be avoided by setting a short interrupt mask duration in the subunit 30. However, according to the present embodiment, the communication signal is transmitted only during the period in which the interrupt mask is set so that the edge detection circuit 47 does not generate the interrupt due to the communication signal. For this reason, if the interrupt mask duration is set short, there is a disadvantage that the time that can be secured for data communication is shortened.

ここで、上記割込みマスクが解除されていない状態であったと判断すると(S140でYes)、演算部21は、S150,S160の処理を実行せずに、当該通信制御処理PR2を終了することで、今回のクランク角信号の入力を契機とするデータ通信を禁止する。ここで、データ通信を禁止するのは、上記状態が発生した状況では、仮にデータ通信を開始しても、サブユニット30では、データ受信を正常に行うことができない可能性があるためである。   If it is determined that the interrupt mask has not been released (Yes in S140), the calculation unit 21 ends the communication control process PR2 without executing the processes of S150 and S160. Data communication triggered by the input of the current crank angle signal is prohibited. Here, the reason why data communication is prohibited is that, in the situation where the above-described state occurs, even if data communication is started, the subunit 30 may not be able to normally receive data.

一方、上記割込みマスクが解除されている状態であったと判断すると(S140でNo)、演算部21は、S110で算出したクランク間時間に基づき、今回の擬似クランク角信号の入力によりサブユニット30において設定される割込みマスクの継続時間を特定し、この割込みマスクの継続中にデータ送信が完了するように、サブユニット30に対して送信する制御データ群(以下「送信対象データ群」と表現する)を決定する(S150)。具体的には、サブユニット30に対して送信する制御データの数及び種類を決定する。尚、制御データとは、上記燃料噴射制御に必要なデータのことである。その後、演算部21は、自ユニットの送信許可フラグをオンに設定することで、図6に示す送信処理によるデータ送信を許可し(S160)、当該通信制御処理PR2を終了する。この設定により、後述するようにメインユニット10からは、S150で決定した数及び種類の制御データが送受信回路22を介してサブユニット30に送信される。   On the other hand, if it is determined that the interrupt mask has been released (No in S140), the calculation unit 21 receives the pseudo crank angle signal in this time based on the inter-crank time calculated in S110. A control data group to be transmitted to the subunit 30 (hereinafter referred to as “transmission target data group”) so that the duration of the interrupt mask to be set is specified and the data transmission is completed while the interrupt mask continues. Is determined (S150). Specifically, the number and type of control data to be transmitted to the subunit 30 are determined. The control data is data necessary for the fuel injection control. Thereafter, the calculation unit 21 sets the transmission permission flag of the own unit to ON, thereby permitting data transmission by the transmission process shown in FIG. 6 (S160), and ends the communication control process PR2. With this setting, as will be described later, the number and type of control data determined in S150 are transmitted from the main unit 10 to the subunit 30 via the transmission / reception circuit 22.

尚、メインユニット10からサブユニット30へ送信すべき制御データ及びサブユニット30からメインユニット10へ送信すべき制御データは、クランク角に応じて概ね定まるが、本実施例では、クランク角信号が発生する角度単位で送信すべき制御データを詳細に定めておらず、当該角度単位より広い角度範囲で送信すべき制御データを定めている。   The control data to be transmitted from the main unit 10 to the subunit 30 and the control data to be transmitted from the subunit 30 to the main unit 10 are generally determined according to the crank angle, but in this embodiment, a crank angle signal is generated. The control data to be transmitted in the angle unit to be transmitted is not defined in detail, but the control data to be transmitted in an angle range wider than the angle unit is defined.

即ち、S150では、このような角度範囲内において送信すべき制御データとして定められた制御データ群の内、今回のクランク角信号の入力に応じて送信すべき制御データ群を、それまでに送信した制御データ群と、現時点で未送信の制御データ群と、今回の割込みマスクの継続時間とに基づいて決定する。この際には、後述するように、制御データ群と共に、識別子や、送信権限データ(図6参照)を送信する必要があることも考慮して、これらを含んだ一連のデータ通信が、割込みマスクの継続時間内に終了するように、送信対象データ群を決定する。   That is, in S150, among the control data groups determined as control data to be transmitted within such an angle range, the control data group to be transmitted according to the input of the current crank angle signal has been transmitted so far. This is determined based on the control data group, the control data group not yet transmitted, and the duration of the current interrupt mask. In this case, as will be described later, considering that it is necessary to transmit the identifier and transmission authority data (see FIG. 6) together with the control data group, a series of data communication including these is performed as an interrupt mask. The transmission target data group is determined so as to end within the continuation time.

続いて、メインユニット10の演算部21が上記通信制御処理PR2とは別に、所定時間毎に実行する図5に示す定時処理について説明する。この定時処理は、例えば、車両制御システム1が構築された自車両において発生し得るクランク間時間の最小値よりも十分に短い時間間隔で実行される。   Next, the regular processing shown in FIG. 5 executed by the arithmetic unit 21 of the main unit 10 every predetermined time will be described separately from the communication control processing PR2. This scheduled process is executed at a time interval sufficiently shorter than the minimum value of the time between cranks that can occur in the host vehicle in which the vehicle control system 1 is constructed, for example.

図5に示す定時処理を開始すると、演算部21は、通信線LNに対する擬似クランク角信号の出力(即ち10ビット分の出力)が完了しているか否かを判断する(S210)。そして、擬似クランク角信号が出力されている状態にあり、擬似クランク角信号の出力が完了していないと判断すると(S210でNo)、当該定時処理を終了する。一方、擬似クランク角信号の出力が完了していると判断すると(S210でYes)、自車両がエンスト中であるか否かを判断する(S220)。そして、エンスト中ではないと判断すると(S220でNo)、S280に移行して、図6に示す送信処理を実行する。   When the scheduled processing shown in FIG. 5 is started, the calculation unit 21 determines whether or not the output of the pseudo crank angle signal to the communication line LN (that is, the output for 10 bits) has been completed (S210). When it is determined that the pseudo crank angle signal has been output and the output of the pseudo crank angle signal has not been completed (No in S210), the scheduled processing is terminated. On the other hand, if it is determined that the output of the pseudo crank angle signal is completed (Yes in S210), it is determined whether or not the host vehicle is stalled (S220). If it is determined that the engine is not stalled (No in S220), the process proceeds to S280, and the transmission process shown in FIG. 6 is executed.

ここで、図6に示す送信処理の詳細を説明する。送信処理を開始すると、演算部21は、自ユニットの上記送信許可フラグがオンに設定されているか否かを判断し(S310)、送信許可フラグがオフに設定されていると判断すると(S310でNo)、S320〜S350の処理を実行することなく当該送信処理を終了することにより、実質的にはデータ送信のための処理を何らすることなく当該送信処理を終了する。   Details of the transmission process shown in FIG. 6 will be described here. When the transmission process is started, the calculation unit 21 determines whether or not the transmission permission flag of the own unit is set on (S310), and determines that the transmission permission flag is set off (in S310). No) By terminating the transmission process without executing the processes of S320 to S350, the transmission process is terminated substantially without performing any process for data transmission.

一方、送信許可フラグがオンに設定されていると判断すると(S310でYes)、S320に移行し、S320,S330の処理を繰り返し実行することにより、S150で決定された送信対象データ群をRAM25の送信メモリ領域に送信順に書き込む。   On the other hand, if it is determined that the transmission permission flag is set to ON (Yes in S310), the process proceeds to S320, and the process of S320 and S330 is repeatedly executed, whereby the transmission target data group determined in S150 is stored in the RAM 25. Write in the transmission memory area in the order of transmission.

具体的に、S320において演算部21は、送信対象データ(制御データ)の全てをRAM25の送信メモリ領域に書き込んだか否かを判断し、書き込んでいないと判断すると(S320でNo)、S330に移行して、送信メモリ領域に書き込んでいない送信対象データの内、送信順が最も若い送信対象データを、このデータの識別子と共に送信メモリ領域に書き込む。尚、本実施例において、識別子及び制御データは夫々、一単位分の通信信号で(即ち1フレームで)送信可能な8ビットのデータとして構成され、図2等に示すように、識別子及び制御データは、識別子、制御データの順に夫々、スタートビット及びストップビットを含む通信信号として通信線LNに出力される。S330では、この識別子を先頭とする識別子及び制御データの組を、送信メモリ領域に書き込む。そして、S330の処理を終えるとS320に戻る。演算部21は、このような処理を繰り返すことで、送信対象データの夫々をRAM25の送信メモリ領域に送信順に書き込む。   Specifically, in S320, the calculation unit 21 determines whether or not all the transmission target data (control data) has been written in the transmission memory area of the RAM 25, and determines that it has not been written (No in S320), the process proceeds to S330. Then, the transmission target data with the youngest transmission order among the transmission target data not written in the transmission memory area is written in the transmission memory area together with the identifier of this data. In this embodiment, the identifier and the control data are each configured as 8-bit data that can be transmitted with one unit of communication signal (that is, in one frame). As shown in FIG. Are output to the communication line LN as communication signals including a start bit and a stop bit, respectively, in the order of identifier and control data. In S330, a set of identifier and control data starting from this identifier is written in the transmission memory area. Then, when the process of S330 is completed, the process returns to S320. The calculation unit 21 repeats such processing to write each of the transmission target data in the transmission memory area of the RAM 25 in the order of transmission.

また、送信対象データの全てを、RAM25の送信メモリ領域に書き込んだと判断すると(S320でYes)、演算部21は、次に送信ユニットに設定されるべき車両制御装置の識別コードを記した送信権限データを生成し、これを送信権限データの識別子と共に送信メモリ領域に書き込む(S340)。尚、ここで言う「次に送信ユニットに設定されるべき車両制御装置」は、自分自身(メインユニット10)である場合も有り得る。送信ユニットに設定されるべき車両制御装置の情報は、上述したクランク角に応じて送信すべきデータの情報と関連付けて、各車両制御装置(メインユニット10及びサブユニット30)が予めROMに記憶する。付言すると、この送信権限データは、制御データと同様、一単位分の通信信号として送信可能な8ビットのデータとして構成される。   If it is determined that all of the transmission target data has been written in the transmission memory area of the RAM 25 (Yes in S320), the calculation unit 21 transmits the identification code of the vehicle control device to be set next in the transmission unit. Authority data is generated and written in the transmission memory area together with the identifier of the transmission authority data (S340). It should be noted that the “vehicle control apparatus to be set next as the transmission unit” mentioned here may be itself (main unit 10). Information on the vehicle control device to be set in the transmission unit is stored in advance in the ROM by each vehicle control device (main unit 10 and subunit 30) in association with the information on the data to be transmitted according to the crank angle described above. . In other words, the transmission authority data is configured as 8-bit data that can be transmitted as a communication signal for one unit, like the control data.

演算部21は、上述したS320〜S340の処理により、上記送信対象データ群の送信後に送信権限データが送信されるように、通信データの一群(即ち、識別子、制御データ及び送信権限データの一群)を配列して送信メモリ領域に書き込む。その後、DMAC23に対して転送命令を入力することにより(S350)、DMAC23に送信メモリ領域に書き込まれた通信データの一群を、送受信回路22の送信バッファに転送させて、送受信回路22から、これら通信データの一群が順にサブユニット30に向けて送信されるようにする。   The calculation unit 21 is a group of communication data (that is, a group of identifiers, control data, and transmission authority data) so that the transmission authority data is transmitted after the transmission of the transmission target data group by the processes of S320 to S340 described above. Are arranged and written to the transmission memory area. Thereafter, by inputting a transfer command to the DMAC 23 (S350), a group of communication data written in the transmission memory area in the DMAC 23 is transferred to the transmission buffer of the transmission / reception circuit 22, and the communication circuit 22 transmits these communication data. A group of data is transmitted to the subunit 30 in order.

メインユニット10の演算部21は、S280(図5参照)において、上記内容の送信処理を終えると、送信許可フラグをオフに設定し(S290)、定時処理を終了する。
一方、演算部21は、S220においてエンスト中であると判断すると、エンスト発生直後であるか否かを判断する(S230)。ここでは、前回の定時処理でエンスト中でないと判断し今回の定時処理でエンスト中であると判断した場合に、エンスト発生直後であると判断する(S230)。そして、エンスト発生直後であると判断すると(S230でYes)、S250に移行し、送信ユニットをメインユニット10に設定更新する。
When the calculation unit 21 of the main unit 10 finishes the transmission process described above in S280 (see FIG. 5), the transmission permission flag is set to OFF (S290), and the scheduled process ends.
On the other hand, when determining that the engine stall is in S220, the arithmetic unit 21 determines whether or not it is immediately after the engine stall occurs (S230). Here, when it is determined that the engine stall is not being performed in the previous scheduled process, and it is determined that the engine stall is being performed in the current scheduled process, it is determined that the engine stall has just occurred (S230). If it is determined that the engine stall has just occurred (Yes in S230), the process proceeds to S250, and the transmission unit is updated to the main unit 10.

その後、演算部21は、S260に移行して、送信ユニットが自ユニットであるか否かを判断し、送信ユニットが自ユニットであると判断すると(S260でYes)、エンスト対処に必要な制御データ群を送信対象データ群に決定し(S270)、自ユニットの送信許可フラグをオンに設定した後(S275)、S280以降の処理を実行することで、送信処理のS330では、S270で決定した送信対象データを順に送信メモリ領域に書き込み、DMAC23及び送受信回路22を介して、これらをサブユニット30に送信する。一方、送信ユニットが自ユニットではないと判断すると(S260でNo)、当該定時処理を終了する。   Thereafter, the calculation unit 21 proceeds to S260, determines whether or not the transmission unit is the own unit, and determines that the transmission unit is the own unit (Yes in S260), the control data necessary for dealing with the engine stall The group is determined as a transmission target data group (S270), the transmission permission flag of the own unit is set to ON (S275), and the processing after S280 is executed, so in S330 of the transmission processing, the transmission determined in S270 The target data is sequentially written into the transmission memory area, and these are transmitted to the subunit 30 via the DMAC 23 and the transmission / reception circuit 22. On the other hand, if it is determined that the transmitting unit is not the own unit (No in S260), the scheduled processing is terminated.

この他、S230において、エンスト発生直後ではないと判断すると、演算部21は、S250の処理をスキップしてS260以降の処理を実行する。これにより、演算部21は、図7に示すように、内燃機関が再始動してクランク角信号の入力が再開されるまで、エンスト対処(エンスト解消)に必要なデータ通信をサブユニット30との間で継続的に実行する。   In addition, if it is determined in S230 that it is not immediately after the occurrence of the engine stall, the calculation unit 21 skips the process of S250 and executes the processes after S260. As a result, as shown in FIG. 7, the calculation unit 21 performs data communication with the subunit 30 until the internal combustion engine is restarted and the input of the crank angle signal is restarted. Run continuously between.

一方、メインユニット10の演算部21は、上記割込みマスクの継続中に行われる上記データ通信による一連のデータ受信が完了すると発生する受信割込み又は上記受信エラー割込みに応じて、図8に示す受信処理を実行することにより、送受信回路22の受信バッファからRAM25の受信メモリ領域に転送された一連の受信データ群を、識別子及びデータ本体(制御データ又は送信権限データ)の組毎に、受信順に読み出し、この読み出したデータに対応した処理を実行する。   On the other hand, the arithmetic unit 21 of the main unit 10 performs the reception process shown in FIG. 8 in response to the reception interrupt or the reception error interrupt that occurs when a series of data reception by the data communication performed during the interruption mask is continued. By executing the above, a series of reception data groups transferred from the reception buffer of the transmission / reception circuit 22 to the reception memory area of the RAM 25 are read in the order of reception for each set of identifier and data body (control data or transmission authority data). A process corresponding to the read data is executed.

。尚、受信割込みは、データ通信期間(上記割込みマスクの継続期間)の終了タイミングでタイマ割込みとして発生させてもよいし、受信すべき個数のデータを受信したことを要因として発生させてもよい。但し、受信データの個数によって受信割込みを発生させる場合には、メインユニット10及びサブユニット30における送信対象データ群の決定アルゴリズムを、これらメインユニット10及びサブユニット30間で共有しておく。 . The reception interrupt may be generated as a timer interrupt at the end timing of the data communication period (continuation period of the interrupt mask) or may be generated due to reception of the number of pieces of data to be received. However, when a reception interrupt is generated depending on the number of received data, the determination algorithm of the transmission target data group in the main unit 10 and the subunit 30 is shared between the main unit 10 and the subunit 30.

具体的に図8に示す受信処理を開始すると、演算部21は、送受信回路22にて受信エラーが発生しているか否かを判断する(S410)。そして、受信エラーが発生していないと判断すると(S410でNo)、受信メモリ領域に格納された受信データ群の内、識別子及びデータ本体の一組(データセット)を、受信メモリ領域から読み出し(S420)、この読み出したデータセットの識別子に基づき、このデータセットが送信権限データを含むデータセットであるか否かを判断する(S430)。   Specifically, when the reception process shown in FIG. 8 is started, the arithmetic unit 21 determines whether or not a reception error has occurred in the transmission / reception circuit 22 (S410). If it is determined that no reception error has occurred (No in S410), a set (data set) of an identifier and a data body in the reception data group stored in the reception memory area is read from the reception memory area ( S420) Based on the identifier of the read data set, it is determined whether or not this data set is a data set including transmission authority data (S430).

そして、送信権限データを含むデータセットではなく、制御データを含むデータセットであると判断すると(S430でNo)、そのデータセットに含まれる識別子から、このデータセットに含まれる制御データの種類を判別して、この制御データを、この制御データを必要とする燃料噴射制御に関する制御タスクに提供する。これによって、この制御データを取り込む(S440)。但し、この受信処理では、自ユニットから送信したデータについても取り扱うことになるので、受信した制御データが自ユニットにおいて不要である場合も有り得る。この場合には、S440において制御データを破棄してもよい。   If it is determined that the data set includes control data instead of the data set including transmission authority data (No in S430), the type of control data included in the data set is determined from the identifier included in the data set. This control data is then provided to a control task related to fuel injection control that requires this control data. Thereby, the control data is captured (S440). However, since this reception process also handles data transmitted from the own unit, the received control data may not be necessary in the own unit. In this case, the control data may be discarded in S440.

S440の処理後、演算部21は、受信メモリ領域に格納された受信データを全て読み出したか否かを判断し(S450)、読み出していれば、当該受信処理を終了し、読み出していなければS420に移行する。   After the process of S440, the calculation unit 21 determines whether or not all the received data stored in the reception memory area has been read (S450). If the data has been read, the reception process is terminated. If not, the process proceeds to S420. Transition.

一方、読み出したデータセットが送信権限データについてのデータセットであると判断すると(S430でYes)、演算部21は、自ユニットが記憶する送信ユニットの設定値を、この送信権限データが示す車両制御装置の識別コードに設定することで、次の送信ユニットを、送信権限データにより通知された車両制御装置(メインユニット10又はサブユニット30)に設定する(S460)。ここでは、送信権限データが自ユニットから送信した送信権限データである場合も有り得るが、この場合も、送信権限データに基づき、自ユニットが記憶する送信ユニットの設定値を更新する。このようにしてS460での処理を終えると、当該受信処理を終了する。   On the other hand, when it is determined that the read data set is a data set for transmission authority data (Yes in S430), the calculation unit 21 controls the vehicle control that the transmission authority data indicates the set value of the transmission unit stored in its own unit. By setting the identification code of the device, the next transmission unit is set to the vehicle control device (main unit 10 or subunit 30) notified by the transmission authority data (S460). Here, there is a possibility that the transmission authority data is the transmission authority data transmitted from the own unit. In this case as well, the setting value of the transmission unit stored in the own unit is updated based on the transmission authority data. When the process in S460 is completed in this way, the reception process is ended.

この他、上記受信エラーが発生していると判断すると(S410でYes)、演算部21は、S415に移行し、発生した上記受信エラーが、サブユニット30における上記割込みマスクの継続中(換言すればデータ通信中)に擬似クランク角信号の出力が開始され(図9参照)、これによってストップビットが正常値でなくなったことを原因とする種類の受信エラーであるか否かを判断する(S415)。   In addition, if it is determined that the reception error has occurred (Yes in S410), the arithmetic unit 21 proceeds to S415, and the generated reception error is continuing the interrupt mask in the subunit 30 (in other words, During the data communication), the pseudo crank angle signal starts to be output (see FIG. 9), thereby determining whether or not the type of reception error is caused by the stop bit not being a normal value (S415). ).

そして、受信エラーがこの種類の受信エラーであると判断すると(S415でYes)、S470に移行し、RAM25の受信メモリ領域に書き込まれた受信データ群の内、エラーの発生タイミングから正常な受信データと判断した受信データを取り込み、正常な受信データではないと判断した受信データを破棄する。S470では、正常に受信できた制御データを含むデータセットに対し、S420〜S460と同様の処理を実行することができる。その後、当該受信処理を終了する。尚、図8において破線にて示されるステップは、メインユニット10における受信処理に関しては関係ないステップであるので注意されたい。   If it is determined that the reception error is this type of reception error (Yes in S415), the process proceeds to S470, and within the reception data group written in the reception memory area of the RAM 25, normal reception data is determined from the error occurrence timing. Received data determined to be received, and received data determined to be not normal received data are discarded. In S470, the same processing as in S420 to S460 can be performed on a data set including control data that can be normally received. Thereafter, the reception process ends. Note that steps indicated by broken lines in FIG. 8 are irrelevant steps regarding the reception processing in the main unit 10.

演算部21は、この受信エラーの発生時点で送信ユニットが自ユニットである場合、S470において、受信エラーにより正常に受信できなかったデータセット、換言すれば、送信エラーの発生したデータセットを記憶し、送信エラーの発生したデータセットを再送するように、S150の処理及び送信処理を実行することができる(図9参照)。その後、当該受信処理を終了する。   If the transmission unit is the own unit at the time of occurrence of this reception error, the calculation unit 21 stores the data set that could not be normally received due to the reception error, in other words, the data set in which the transmission error occurred in S470. The processing of S150 and the transmission processing can be executed so as to retransmit the data set in which the transmission error has occurred (see FIG. 9). Thereafter, the reception process ends.

この他、受信エラーが上記種類の受信エラーではないと判断すると(S415でNo)、演算部21は、発生した受信エラーの種類に対応した処理を実行する(S495)。その後、当該受信処理を終了する。   In addition, if it is determined that the reception error is not the above type of reception error (No in S415), the arithmetic unit 21 executes processing corresponding to the type of the reception error that has occurred (S495). Thereafter, the reception process ends.

続いて、サブユニット30の演算部41が実行する処理について説明する。サブユニット30の演算部41は、擬似クランク角信号の入力によりエッジ検出回路47から発生する割込みに応じて、図10に示す通信制御処理PR4を開始する。   Next, processing executed by the calculation unit 41 of the subunit 30 will be described. The computing unit 41 of the subunit 30 starts the communication control process PR4 shown in FIG. 10 in response to an interrupt generated from the edge detection circuit 47 by the input of the pseudo crank angle signal.

この通信制御処理PR4を開始すると、演算部41は、クランク間時間として、擬似クランク角信号の入力間隔を算出する(S610)。具体的には、今回の擬似クランク角信号の入力開始時刻と前回の擬似クランク角信号の入力開始時刻との時間差を算出する。   When the communication control process PR4 is started, the calculation unit 41 calculates the input interval of the pseudo crank angle signal as the inter-crank time (S610). Specifically, the time difference between the input start time of the current pseudo crank angle signal and the input start time of the previous pseudo crank angle signal is calculated.

その後、演算部41は、擬似クランク角信号に対する割込みマスクをエッジ検出回路47に設定することにより(S620)、この割込みマスクの継続中においては、エッジ検出回路47から割込みが発生しないようにし、これによって当該通信制御処理が再度実行されないようにする。   Thereafter, the calculation unit 41 sets an interrupt mask for the pseudo crank angle signal in the edge detection circuit 47 (S620), so that no interruption is generated from the edge detection circuit 47 during the interruption mask. This prevents the communication control process from being executed again.

併せて、演算部41は、S610にて算出されたクランク間時間に基づき、割込みマスクを解除するまでの時間、換言すれば、割込みマスクの継続時間を決定し、S620で設定した割込みマスクが、この決定した時間経過後に解除されるように、エッジ検出回路47に対して割込みマスク解除のタイマ設定を行う(S625)。エッジ検出回路47は、このような設定がなされると、上記時間の経過後に割込みマスクを解除する。   In addition, the calculation unit 41 determines the time until the interrupt mask is canceled based on the inter-crank time calculated in S610, in other words, determines the duration of the interrupt mask, and the interrupt mask set in S620 is A timer for canceling the interrupt mask is set for the edge detection circuit 47 so as to be canceled after the determined time has elapsed (S625). When such a setting is made, the edge detection circuit 47 cancels the interrupt mask after the elapse of the time.

尚、S625では、割込みマスクの継続時間を、クランク間時間の所定割合に定めることができる。例えば、クランク間時間の0.7倍や0.8倍などを割込みマスクの継続時間に設定することができる。上記割合については、想定されるエンジン回転の変動等を考慮して、次回のクランク間時間が割込みマスク継続時間よりも短くならないような範囲、又は、短くなる確率が十分に小さくなるような範囲で、0より大きく1未満の値として設計段階で定めることができる。   In S625, the interrupt mask duration can be set to a predetermined percentage of the inter-crank time. For example, the interruption mask duration can be set to 0.7 times or 0.8 times the time between cranks. Regarding the above ratio, in consideration of the assumed fluctuations in engine rotation, etc., the range in which the next crank interval will not be shorter than the interrupt mask duration, or the range in which the probability of shortening will be sufficiently small. , Greater than 0 and less than 1 can be determined in the design stage.

更に、演算部41は、伝達遅れによるクランク角の誤差を抑えるために、クランク角更新処理PR3にて算出されたクランク角の補正を行う(S630)。具体的には、メインユニット10におけるクランク角信号の入力から、サブユニット30における擬似クランク角信号の入力までのタイムラグ(遅延時間)をシステム特性から特定し、このタイムラグに基づき、クランク角の誤差を消す方向にクランク角の補正を行うことができる。   Further, the calculation unit 41 corrects the crank angle calculated in the crank angle update process PR3 in order to suppress the crank angle error due to the transmission delay (S630). Specifically, the time lag (delay time) from the input of the crank angle signal in the main unit 10 to the input of the pseudo crank angle signal in the subunit 30 is specified from the system characteristics, and the crank angle error is determined based on this time lag. The crank angle can be corrected in the direction to erase.

また、この処理を終えると、演算部41は、送信ユニットの設定値を参照することによって、送信ユニットが自ユニットであるか否かを判断し(S640)、送信ユニットが自ユニットではないと判断すると(S640でNo)、当該通信制御処理を終了し、送信ユニットが自ユニットであると判断すると(S640でYes)、S610にて算出したクランク間時間、詳細には、クランク間時間からS625で決定した割込みマスクの継続時間に基づき、この割込みマスクの継続中にデータ送信が完了するように、メインユニット10に対して送信する制御データ群(送信対象データ群)を決定する(S650)。具体的には、メインユニット10に対して送信する制御データの数及び種類を決定する。ここでの決定手法は、メインユニット10におけるS150と同様の手法を採用することができる。   When this processing is finished, the calculation unit 41 refers to the setting value of the transmission unit to determine whether or not the transmission unit is its own unit (S640), and determines that the transmission unit is not its own unit. Then (No in S640), the communication control process is terminated, and when it is determined that the transmitting unit is the own unit (Yes in S640), the inter-crank time calculated in S610, specifically, from the inter-crank time to S625. Based on the determined interrupt mask duration, a control data group (transmission target data group) to be transmitted to the main unit 10 is determined so that data transmission is completed while the interrupt mask continues (S650). Specifically, the number and type of control data to be transmitted to the main unit 10 are determined. As the determination method here, the same method as S150 in the main unit 10 can be adopted.

その後、演算部41は、自ユニットの送信許可フラグをオンに設定することで、送信処理によるデータ送信を許可し(S660)、当該通信制御処理PR4を終了する。尚、サブユニット30においてもメインユニット10と同様の定時処理(図5参照)及び送信処理(図6)が実行されるため、この設定により、サブユニット30からは、S650で決定された数及び種類の制御データが送受信回路42を介してメインユニット10に送信される。   Thereafter, the calculation unit 41 sets the transmission permission flag of the own unit to ON to permit data transmission by the transmission process (S660), and ends the communication control process PR4. In the subunit 30, the same timed processing (see FIG. 5) and transmission processing (FIG. 6) as those in the main unit 10 are executed. Therefore, by this setting, the number of units determined in S650 and Various types of control data are transmitted to the main unit 10 via the transmission / reception circuit 42.

ここで、サブユニット30の演算部41が実行する定時処理及び送信処理について補足説明する。サブユニット30の演算部41が実行する定時処理及び送信処理では、当然のことながら、マイコン20が備える送受信回路22、DMAC23、RAM25、ROM26及びエッジ検出回路27に代えて、マイコン40が備える送受信回路42、DMAC43、RAM45、ROM46及びエッジ検出回路47が用いられる。また、データ送信は、メインユニット10に対して行われる。   Here, a supplementary description will be given of the scheduled processing and transmission processing executed by the calculation unit 41 of the subunit 30. In the scheduled processing and transmission processing executed by the arithmetic unit 41 of the subunit 30, the transmission / reception circuit provided in the microcomputer 40 is replaced by the transmission / reception circuit 22, the DMAC 23, the RAM 25, the ROM 26 and the edge detection circuit 27 provided in the microcomputer 20 as a matter of course. 42, DMAC 43, RAM 45, ROM 46 and edge detection circuit 47 are used. Data transmission is performed to the main unit 10.

この他、定時処理では、S250において送信ユニットをメインユニット10に設定する前に、擬似クランク角信号に対する割込みマスクを設定する処理を行う(S240:図5)。ここでは、割込みマスクの解除設定がなされている場合に、これを無効化することで、割込みマスクが擬似クランク角信号の発生まで継続的に行われるようにし、エンスト中には通信制御処理が演算部41で実行されないようにする。これによって、エンスト中には、メインユニット10とサブユニット30の間でデータ通信を正常に行うことができるようにする。   In addition, in the scheduled processing, before setting the transmission unit to the main unit 10 in S250, processing for setting an interrupt mask for the pseudo crank angle signal is performed (S240: FIG. 5). Here, when the interrupt mask release setting has been made, disabling the interrupt mask allows the interrupt mask to be continuously performed until the pseudo crank angle signal is generated, and the communication control processing is performed during the stall. This is not executed by the unit 41. As a result, during the stall, data communication can be normally performed between the main unit 10 and the subunit 30.

また、サブユニット30の演算部41は、送受信回路42による一連のデータ受信が完了すると発生する受信割込み又は送受信回路42で検知された受信エラーに起因する受信エラー割込みに応じて、メインユニット10と同様に図8に示す受信処理を実行する。但し、この受信処理において、サブユニット30の演算部41は、S470(図8参照)の処理後、S480〜S490の処理を実行した後に、当該受信処理を終了する。   In addition, the arithmetic unit 41 of the subunit 30 is connected to the main unit 10 in response to a reception interrupt that occurs when a series of data reception by the transmission / reception circuit 42 is completed or a reception error interrupt caused by a reception error detected by the transmission / reception circuit 42. Similarly, the reception process shown in FIG. 8 is executed. However, in this reception process, the calculation unit 41 of the subunit 30 ends the reception process after executing the process of S480 to S490 after the process of S470 (see FIG. 8).

具体的に、S480では、擬似クランク角信号に対する割込みマスクを解除し、S490では、クランク間時間として、今回の擬似クランク角信号の入力開始時刻と前回の擬似クランク角信号の入力開始時刻との時間差を算出する。今回入力された擬似クランク角信号の入力開始時刻については、受信データのビット列やエッジ検出回路47が記憶する信号エッジの検出時刻の情報から特定することができる。例えば、エッジ検出回路47を通じて、擬似クランク角信号のアクティブレベル(Lo)からインアクティブレベル(Hi)への信号エッジを検出し、この信号エッジ検出時刻の10ビット前の時刻を、今回の擬似クランク角信号の入力開始時刻として特定することができる。また、このようなケースでは、S490において自ユニットが記憶保持するクランク角を更新する処理を行う。   Specifically, in S480, the interrupt mask for the pseudo crank angle signal is canceled, and in S490, the time difference between the input start time of the current pseudo crank angle signal and the input start time of the previous pseudo crank angle signal is determined as the inter-crank time. Is calculated. The input start time of the pseudo crank angle signal input this time can be specified from the bit sequence of the received data and the signal edge detection time information stored in the edge detection circuit 47. For example, a signal edge from the active level (Lo) to the inactive level (Hi) of the pseudo crank angle signal is detected through the edge detection circuit 47, and the time 10 bits before this signal edge detection time is determined as the current pseudo crank angle. It can be specified as the input start time of the angle signal. In such a case, a process of updating the crank angle stored and held by the own unit is performed in S490.

以上、第一実施例の車両制御システム1について説明したが、本実施例によれば、通信線LNを通じて、クランク角信号の擬似信号をメインユニット10からサブユニット30に伝送することで、サブユニット30に対しクランク角の情報を提供するようにした。従って、クランク角センサSNの出力信号を波形整形して入力する入力回路11を、サブユニット30に設けなくても、サブユニット30においてクランク角の情報を保持することができ、内燃機関の制御を、クランク角の変化に応じて、メインユニット10及びサブユニット30の協働により適切に実行することができる。   Although the vehicle control system 1 of the first embodiment has been described above, according to the present embodiment, the pseudo signal of the crank angle signal is transmitted from the main unit 10 to the subunit 30 through the communication line LN. Crank angle information was provided to 30. Therefore, even if the input circuit 11 for shaping the waveform of the output signal of the crank angle sensor SN is not provided in the subunit 30, the subunit 30 can hold the crank angle information and control the internal combustion engine. According to the change of the crank angle, the main unit 10 and the subunit 30 can be appropriately executed.

そして、本実施例によれば、入力回路11をサブユニット30に設けなくてもよいことに加えて、擬似クランク角信号伝送専用の信号線を別途メインユニット10とサブユニット30の間に設ける必要がないので、複数の車両制御装置(メインユニット10及びサブユニット30)の協働による内燃機関の制御を、簡単なハードウェア構成で高精度に実行することができる。   According to the present embodiment, the input circuit 11 need not be provided in the subunit 30, and a signal line dedicated to pseudo crank angle signal transmission needs to be separately provided between the main unit 10 and the subunit 30. Therefore, the control of the internal combustion engine by the cooperation of the plurality of vehicle control devices (the main unit 10 and the subunit 30) can be executed with high accuracy with a simple hardware configuration.

また、本実施例によれば、通信線LNの信号レベルをアクティブレベルに切り替えることにより、擬似クランク角信号を通信線に出力し、サブユニット30では、通信線LNでの信号レベルがアクティブレベルに変化する事象が発生した時点で、擬似クランク角信号の入力を検知して割込みを発生させるようにした。従って、メインユニット10においてクランク角信号が入力された時点からのタイムラグを抑えて、サブユニット30においてクランク角を適切に更新することができ、クランク角についての高精度な情報をサブユニット30において持つことができる。   Further, according to the present embodiment, the pseudo crank angle signal is output to the communication line by switching the signal level of the communication line LN to the active level, and in the subunit 30, the signal level on the communication line LN becomes the active level. When a changing event occurs, an interrupt is generated by detecting the input of a pseudo crank angle signal. Accordingly, the time lag from the time when the crank angle signal is input in the main unit 10 can be suppressed, and the crank angle can be appropriately updated in the subunit 30, and the subunit 30 has highly accurate information on the crank angle. be able to.

また、このような手法を採用していることから、本実施例では、擬似クランク角信号の入力により割込みが発生する度に、クランク間時間に基づく所定時間、擬似クランク角信号に対する割込みマスクを設定することで、エッジ検出回路47による通信信号を原因とする擬似クランク角信号の誤検知を演算部41に対して無効化し、この割込みマスク中にデータ通信を行うようにした。従って、本実施例によれば、上記手法を採用しても、通信信号が擬似クランク角信号と誤検知され、演算部41により誤った処理が実行される不都合を抑えることができる。   In addition, since this method is employed, in this embodiment, every time an interrupt is generated by the input of the pseudo crank angle signal, an interrupt mask for the pseudo crank angle signal is set for a predetermined time based on the inter-crank time. Thus, the false detection of the pseudo crank angle signal caused by the communication signal by the edge detection circuit 47 is invalidated to the calculation unit 41, and data communication is performed during this interrupt mask. Therefore, according to the present embodiment, even if the above method is adopted, it is possible to suppress the inconvenience that the communication signal is erroneously detected as a pseudo crank angle signal and erroneous processing is executed by the calculation unit 41.

この他、本実施例によれば、急なエンジン回転の変動により、割込みマスク中(データ通信中)に擬似クランク角信号が発生しても、これを送受信回路でエラーとして検知できるように、擬似クランク角信号を通信信号では生じ得ない期間アクティブレベルとなる信号に設定した。従って、本実施例によれば、データ通信中における擬似クランク角信号の発生により、不適切な受信データを取り込んでしまうのを抑えることができ、メインユニット10とサブユニット30の間で適切にデータ通信することができる。   In addition, according to the present embodiment, even if a pseudo crank angle signal is generated during an interrupt mask (during data communication) due to a sudden change in engine rotation, a pseudo-crank angle signal can be detected as an error in the transmission / reception circuit. The crank angle signal is set to a signal that is active for a period that cannot be generated by a communication signal. Therefore, according to the present embodiment, it is possible to prevent improper reception data from being taken in due to generation of a pseudo crank angle signal during data communication, and to appropriately transmit data between the main unit 10 and the subunit 30. Can communicate.

また、本実施例によれば、送信権限データの送受信により、メインユニット10とサブユニット30との間で通信の衝突が生じないようにしたので、全二重通信を採用しなくても、メインユニット10とサブユニット30との間で適切に双方向通信して、高精度な内燃機関の制御を実現することができる。   In addition, according to the present embodiment, since communication conflict between the main unit 10 and the subunit 30 is prevented by transmission / reception of transmission authority data, the main unit 10 can be operated without using full-duplex communication. The two-way communication can be appropriately performed between the unit 10 and the subunit 30, and the internal combustion engine can be controlled with high accuracy.

従って、本実施例の車両制御システム1は、複数の車両制御装置により内燃機関の制御を協働して実行する場合に、非常に優れたシステムであると言える。
尚、用語間の対応関係は、次の通りである。即ち、本実施例のメインユニット10は、第一の車両制御装置の一例に対応し、入力回路11は、クランク角信号入力手段の一例に対応し、擬似クランク角信号生成回路15は、擬似信号出力手段の一例に対応し、マイコン20によって実行されるデータ通信に係る処理は、第一のデータ通信手段によって実現される処理の一例に対応する。
Therefore, it can be said that the vehicle control system 1 of the present embodiment is a very excellent system when the control of the internal combustion engine is executed in cooperation by a plurality of vehicle control devices.
The correspondence between terms is as follows. That is, the main unit 10 of the present embodiment corresponds to an example of a first vehicle control device, the input circuit 11 corresponds to an example of a crank angle signal input unit, and the pseudo crank angle signal generation circuit 15 includes a pseudo signal. The process related to data communication executed by the microcomputer 20 corresponds to an example of output means, and corresponds to an example of processing realized by the first data communication means.

この他、サブユニット30は、第二の車両制御装置の一例に対応し、マイコン40が備えるエッジ検出回路47は、擬似信号入力検知手段の一例に対応し、マイコン40が備える演算部41によって実行されるクランク角更新処理PR3は、クランク角特定手段によって実現される処理の一例に対応し、マイコン40によって実行されるデータ通信に係る処理は、第二のデータ通信手段によって実現される処理の一例に対応する。   In addition, the subunit 30 corresponds to an example of a second vehicle control device, and the edge detection circuit 47 included in the microcomputer 40 corresponds to an example of a pseudo signal input detection unit, and is executed by the arithmetic unit 41 included in the microcomputer 40. The crank angle update process PR3 to be performed corresponds to an example of a process realized by the crank angle specifying means, and a process related to data communication executed by the microcomputer 40 is an example of a process realized by the second data communication means. Corresponding to

[第二実施例]
続いて、第二実施例の車両制御システム1について説明する。但し、第二実施例の車両制御システム1は、第一実施例の車両制御システム1と多くの部分で構成や動作が共通している。従って、以下では、第二実施例の車両制御システム1の説明として、第一実施例と異なるハードウェア構成及び動作を説明し、第一実施例と共通する構成及び動作の説明を適宜省略する。
[Second Example]
Next, the vehicle control system 1 according to the second embodiment will be described. However, the vehicle control system 1 of the second embodiment has the same configuration and operation in many parts as the vehicle control system 1 of the first embodiment. Therefore, in the following, as a description of the vehicle control system 1 of the second embodiment, a hardware configuration and operation different from the first embodiment will be described, and a description of the configuration and operation common to the first embodiment will be omitted as appropriate.

第二実施例の車両制御システム1は、クランク角信号の入力を契機に、ハンドシェイクに類する処理をメインユニット10とサブユニット30の間で行った後、データ通信を行うことで、信頼性の高い通信を実現すると同時に、予め定められたスケジュールに従って各種類の制御データの送信を行うことで、第一実施例のような識別子の送信を不要とし、通信量を抑えて効率的に制御データの送受信を、メインユニット10とサブユニット30との間で実現できるようにしたものである。   The vehicle control system 1 according to the second embodiment performs a data communication after performing a process similar to a handshake between the main unit 10 and the subunit 30 with the input of the crank angle signal, thereby improving reliability. At the same time as realizing high communication, by transmitting each type of control data according to a predetermined schedule, it is not necessary to transmit an identifier as in the first embodiment, and the control data can be efficiently transmitted while suppressing the communication amount. Transmission / reception can be realized between the main unit 10 and the subunit 30.

図11に示すように、本実施例によれば、第一実施例と同様、クランク角信号の入力に合わせてメインユニット10の擬似クランク角信号生成回路15が擬似クランク角信号(図1及び図11に示す「Pcr」)を通信線LNに出力する。但し、本実施例の擬似クランク角信号は、エッジ検出回路47にて信号エッジを検出可能な信号であれば十分であり、第一実施例のように10ビット分の信号として出力される必要はない。例えば、本実施例の擬似クランク角信号は、1ビット分のような短い時間、通信線LNの信号レベルをアクティブレベルとするパルス信号として通信線LNに出力される。   As shown in FIG. 11, according to the present embodiment, as in the first embodiment, the pseudo crank angle signal generation circuit 15 of the main unit 10 generates a pseudo crank angle signal (see FIG. 1 and FIG. 11 "Pcr") is output to the communication line LN. However, the pseudo crank angle signal of this embodiment is sufficient as long as the signal can be detected by the edge detection circuit 47, and it is necessary to output it as a 10-bit signal as in the first embodiment. Absent. For example, the pseudo crank angle signal of this embodiment is output to the communication line LN as a pulse signal that sets the signal level of the communication line LN to the active level for a short time such as one bit.

また、サブユニット30は、擬似クランク角信号の入力によりエッジ検出回路47から割込みが発生すると、演算部41が実行する通信制御処理により、擬似クランク角信号に対する割込みマスクを設定する一方、送受信回路47等に対し各種設定を行うことで、自ユニットを通信準備完了状態(データ送受信待ち状態)にした後、通信線LNの信号レベルを所定時間アクティブレベルとする通信準備完了信号(図1及び図11に示す「Ret」)を出力ポート49から通信線LNに出力する。これによって通信準備完了をメインユニット10に通知する。尚、割込みマスクの設定時には、第一実施例と同様に、クランク間時間に基づいて割込みマスクを解除するまでの割込みマスク継続時間を決定する。   Further, when an interrupt is generated from the edge detection circuit 47 by the input of the pseudo crank angle signal, the subunit 30 sets an interrupt mask for the pseudo crank angle signal by the communication control process executed by the calculation unit 41, while the transmission / reception circuit 47. Are set to the communication ready state (waiting for data transmission / reception), and then the communication ready signal for setting the signal level of the communication line LN to the active level for a predetermined time (FIGS. 1 and 11). The “Ret” shown in FIG. 4 is output from the output port 49 to the communication line LN. This notifies the main unit 10 of completion of communication preparation. When setting the interrupt mask, the interrupt mask duration until the interrupt mask is canceled is determined based on the inter-crank time as in the first embodiment.

メインユニット10の演算部21は、この通信準備完了信号の入力を、エッジ検出回路27を通じて検知する。本実施例では、例えば、入力チャンネルを2以上有するインプットキャプチャをエッジ検出回路27として用い、図1において破線で示すように、エッジ検出回路27の一つの入力チャンネルに通信線LNを接続して、通信準備完了信号の信号エッジを検出できるようにする。更に、エッジ検出回路27のもう一つの入力チャネルには、入力回路11を接続して、クランク角信号の信号エッジを検出できるようにする。   The calculation unit 21 of the main unit 10 detects the input of the communication preparation completion signal through the edge detection circuit 27. In this embodiment, for example, an input capture having two or more input channels is used as the edge detection circuit 27, and as shown by a broken line in FIG. 1, a communication line LN is connected to one input channel of the edge detection circuit 27, A signal edge of a communication preparation completion signal can be detected. Further, the input circuit 11 is connected to another input channel of the edge detection circuit 27 so that the signal edge of the crank angle signal can be detected.

そして、メインユニット10の演算部21は、通信準備完了信号の入力を検知すると、サブユニット30が通信準備完了状態にあると判断し、この時点から、サブユニット30による割込みマスクの継続中に限って、制御データを、送受信回路22を通じてサブユニット30に送信する。本実施例では、このように制御データを送信することにより、サブユニット30において制御データの受信が失敗する可能性を抑えて、通信の信頼性を高める。即ち、サブユニット30において受信準備ができていない状態で制御データが送信されることによる不都合を抑制する。但し、制御データを送信するのは、上記スケジュールにより自ユニットがデータ送信することになっているときだけである。また、メインユニット10の演算部21は、この割込みマスクの継続中に送受信回路22が受信した制御データを取り込む。   Then, when the arithmetic unit 21 of the main unit 10 detects the input of the communication preparation completion signal, it determines that the subunit 30 is in the communication preparation completion state, and from this point of time, the interrupt masking by the subunit 30 is continued. Then, the control data is transmitted to the subunit 30 through the transmission / reception circuit 22. In this embodiment, by transmitting the control data in this way, the possibility of failure in receiving the control data in the subunit 30 is suppressed, and the communication reliability is improved. That is, inconvenience due to transmission of control data in a state in which the subunit 30 is not ready for reception is suppressed. However, the control data is transmitted only when the unit is to transmit data according to the schedule. Further, the arithmetic unit 21 of the main unit 10 takes in the control data received by the transmission / reception circuit 22 during the interruption mask.

同様に、サブユニット30の演算部41は、通信準備完了信号を出力ポート49から出力した後、割込みマスク継続中に送受信回路42が受信した制御データを取り込む。一方で、上記スケジュールにより自ユニットがデータ送信することになっているときには、制御データを、送受信回路42を通じて送信する。   Similarly, the arithmetic unit 41 of the subunit 30 takes in the control data received by the transmission / reception circuit 42 while the interrupt mask is continuing after outputting the communication preparation completion signal from the output port 49. On the other hand, when the own unit is to transmit data according to the schedule, control data is transmitted through the transmission / reception circuit 42.

本実施例では、このようにしてデータ通信と擬似クランク角信号の伝送とを行う。但し、本実施例では、割込みマスクの継続時間をクランク間時間に対して短めに設定することにより、第一実施例のような割込みマスクの継続中に擬似クランク角信号が発生してしまう現象の発生を回避する。そして、このような現象が発生しない環境で、上述したように、クランク角信号及び擬似クランク角信号の入力毎に、予め定められたスケジュールに従うデータ通信を、メインユニット10とサブユニット30との間で行う。図12には、メインユニット10及びサブユニット30の両者が共にROM26,46に記憶するエンジン回転数毎のスケジュールデータの構成を示す。   In this embodiment, data communication and pseudo crank angle signal transmission are performed in this way. However, in this embodiment, by setting the interrupt mask duration to be shorter than the time between cranks, a pseudo crank angle signal is generated while the interrupt mask is continued as in the first embodiment. Avoid occurrence. In an environment where such a phenomenon does not occur, as described above, data communication between the main unit 10 and the subunit 30 is performed according to a predetermined schedule for each input of the crank angle signal and the pseudo crank angle signal. To do. FIG. 12 shows the configuration of schedule data for each engine speed that both the main unit 10 and the subunit 30 store in the ROMs 26 and 46.

図12に示す例によれば、メインユニット10及びサブユニット30は、エンジン回転数が1000rpm以下であるときの通信スケジュールが定義されたスケジュールデータ、エンジン回転数が1000rpm〜2000rpmであるときの通信スケジュールが定義されたスケジュールデータ、エンジン回転数が2000rpm〜3000rpmであるときの通信スケジュールが定義されたスケジュールデータといった具合に、内燃機関が採りうるエンジン回転数の範囲内で1000rpm単位毎のスケジュールデータを有する。   According to the example shown in FIG. 12, the main unit 10 and the subunit 30 have schedule data in which a communication schedule is defined when the engine speed is 1000 rpm or less, and a communication schedule when the engine speed is 1000 rpm to 2000 rpm. Schedule data in which the engine speed is 2000 rpm to 3000 rpm, schedule data in which the communication schedule is defined, etc., and schedule data in units of 1000 rpm within the range of engine speeds that the internal combustion engine can take. .

これらエンジン回転数毎のスケジュールデータは、クランク角信号の発生するクランク角毎に、そのクランク角に対応するクランク角信号が入力されたとき送信すべきデータの種類及び送信順、データ数、データの送信方向が定義されたものである。図12に示すスケジュールデータによれば、送信すべきデータの種類が送信順に記述される。また、図12に示す送信方向「M→S」は、メインユニット10からサブユニット30にデータを送信すること、換言すればメインユニット10がデータ送信権限を有する送信ユニットであることを定義し、図12に示す送信方向「M←S」は、サブユニット30からメインユニット10に送信すること、換言すればサブユニット30がデータ送信権限を有する送信ユニットであることを定義する情報である。このように、第二実施例では、第一実施例とは異なり、クランク角信号が発生する角度単位で送信すべき制御データを定め、この情報をメインユニット10とサブユニット30とを共有することで、識別子なしで制御データの種類を受信側が判別できるようにする。   The schedule data for each engine speed is the data type to be transmitted when the crank angle signal corresponding to the crank angle signal is input and the order of transmission, the number of data, the data The transmission direction is defined. According to the schedule data shown in FIG. 12, the type of data to be transmitted is described in the order of transmission. Further, the transmission direction “M → S” shown in FIG. 12 defines that data is transmitted from the main unit 10 to the subunit 30, in other words, that the main unit 10 is a transmission unit having data transmission authority. The transmission direction “M ← S” shown in FIG. 12 is information defining that transmission from the subunit 30 to the main unit 10, in other words, that the subunit 30 is a transmission unit having data transmission authority. As described above, in the second embodiment, unlike the first embodiment, control data to be transmitted is determined in units of the angle at which the crank angle signal is generated, and this information is shared between the main unit 10 and the subunit 30. Thus, the receiving side can determine the type of control data without an identifier.

続いて、メインユニット10の処理動作の詳細を、フローチャートを用いて説明する。メインユニット10の演算部21は、クランク角信号の入力によりエッジ検出回路27から発生する割込みに対応して図13に示す通信制御処理を実行する。この通信制御処理を開始すると、演算部21は、クランク間時間として、第一実施例と同様に、クランク角信号の入力間隔を算出した後(S710)、クランク間時間から特定されるエンジン回転数に対応するスケジュールデータにおける現時点でのクランク角に対応するデータ送信方向の情報を参照することにより、送信ユニットが自ユニットであるか否かを判断する(S720)。   Next, details of the processing operation of the main unit 10 will be described using a flowchart. The calculation unit 21 of the main unit 10 executes the communication control process shown in FIG. 13 in response to an interrupt generated from the edge detection circuit 27 by the input of the crank angle signal. When this communication control process is started, the calculation unit 21 calculates the crank angle signal input interval as the inter-crank time as in the first embodiment (S710), and then determines the engine speed determined from the inter-crank time. It is determined whether or not the transmission unit is the own unit by referring to the data transmission direction information corresponding to the current crank angle in the schedule data corresponding to (S720).

そして、送信ユニットが自ユニットであると判断すると(S720でYes)、このスケジュールデータによって送信すべきと定義される現クランク角での制御データの一群を、送信対象データ群に決定する(S730)。その後、自ユニットの送信許可フラグをオンに設定することで、図15に示す送信処理によるデータ送信を許可し(S740)、当該通信制御処理を終了する。一方、送信ユニットが自ユニットではないと判断すると(S720でNo)、S730,S740をスキップして、当該通信制御処理を終了する。   If it is determined that the transmission unit is the own unit (Yes in S720), a group of control data at the current crank angle defined to be transmitted by the schedule data is determined as a transmission target data group (S730). . Thereafter, by setting the transmission permission flag of the own unit to ON, data transmission by the transmission process shown in FIG. 15 is permitted (S740), and the communication control process is ended. On the other hand, if it is determined that the transmission unit is not its own unit (No in S720), S730 and S740 are skipped, and the communication control process is terminated.

また、メインユニット10の演算部21は、第一実施例と同様に図14に示す定時処理を定期的に実行するが、S220においてエンスト中ではないと判断した場合には、サブユニット30が通信準備完了状態にあるか否かを判断し(S225)、サブユニット30が通信準備完了状態にある場合に限って(S225でYes)、S280以降の処理を実行し、通信準備完了状態にないと判断すると(S225でNo)、当該定時処理を終了する。このような処理によって、演算部21は、サブユニット30が通信準備完了状態にない場合には、サブユニット30に対するデータ送信が行われないようにする。   Further, the arithmetic unit 21 of the main unit 10 periodically executes the regular processing shown in FIG. 14 as in the first embodiment, but if it is determined that the engine is not stalled in S220, the subunit 30 communicates. It is determined whether or not it is in a ready state (S225), and only when the subunit 30 is in a communication ready state (Yes in S225), the processing after S280 is executed, and if it is not in a ready state for communication. When it is determined (No in S225), the scheduled process is terminated. By such processing, the arithmetic unit 21 prevents data transmission to the subunit 30 when the subunit 30 is not ready for communication.

具体的に、メインユニット10の演算部21は、S225において、クランク角信号の入力に伴う擬似クランク角信号の通信線LNへの出力後、所定時間内にサブユニット30から通信線LNを介して通信準備完了信号が入力されたか否かを判断する。これによって、サブユニット30が通信準備完了状態にあるか否かを判断する。尚、通信準備完了信号が入力されたか否かについては、上記所定時間内においてエッジ検出回路27が通信線LNついてのインアクティブレベル(Lo)からアクティブレベル(Hi)への信号エッジを検出したか否かによって判断することができる。   Specifically, the calculation unit 21 of the main unit 10 outputs the pseudo crank angle signal accompanying the input of the crank angle signal to the communication line LN in S225, and then from the subunit 30 via the communication line LN within a predetermined time. It is determined whether a communication preparation completion signal is input. Thereby, it is determined whether or not the subunit 30 is in a communication ready state. Whether or not a communication preparation completion signal has been input is determined by whether the edge detection circuit 27 detects a signal edge from the inactive level (Lo) to the active level (Hi) for the communication line LN within the predetermined time. Judgment can be made based on whether or not.

尚、本実施例におけるメインユニット10の演算部21は、図14において第一実施例の定時処理と同一番号を付しているステップに関して、概ね第一実施例と同様の処理を行うが、本実施例では、エンスト時の通信スケジュールを定義したスケジュールデータが、ROM26,46に記憶されているため、第一実施例のようなS250の処理については実行せず、このスケジュールデータに従って、S260において送信ユニットが自ユニットであるか否かを判断する。そして、S270では、このエンスト時の通信スケジュールを定義したスケジュールデータに従って、送信対象データ群を決定する。   The calculation unit 21 of the main unit 10 in the present embodiment performs the same processing as in the first embodiment with respect to the steps denoted by the same numbers as those in the first embodiment in FIG. In the embodiment, the schedule data defining the communication schedule at the time of the stall is stored in the ROMs 26 and 46. Therefore, the processing of S250 as in the first embodiment is not executed, and is transmitted in S260 according to this schedule data. Determine whether the unit is its own unit. In S270, a transmission target data group is determined according to the schedule data defining the communication schedule at the time of the stall.

また、S280では、図15に示す送信処理を実行する。図15に示す送信処理を開始すると、演算部21は、自ユニットの上記送信許可フラグがオンに設定されているか否かを判断し(S810)、送信許可フラグがオフに設定されていると判断すると(S810でNo)、S820〜S850の処理を実行することなく、当該送信処理を終了することにより、実質的にはデータ送信のための処理を何らすることなく送信処理を終了する。   In S280, the transmission process shown in FIG. 15 is executed. When the transmission process shown in FIG. 15 is started, the calculation unit 21 determines whether or not the transmission permission flag of its own unit is set to ON (S810), and determines that the transmission permission flag is set to OFF. Then (No in S810), the transmission process is terminated without performing any process for data transmission by ending the transmission process without executing the processes of S820 to S850.

一方、送信許可フラグがオンに設定されていると判断すると(S810でYes)、S820,S830の処理を繰り返し実行することにより、S730又はS270で送信対象データとして決定された制御データ群をRAM25の送信メモリ領域に送信順に書き込む。但し、本実施例では、識別子を用いない。即ち、S830では、識別子を書きこむことなく、制御データを送信メモリ領域に書き込む。   On the other hand, if it is determined that the transmission permission flag is set to ON (Yes in S810), the control data group determined as the transmission target data in S730 or S270 is stored in the RAM 25 by repeatedly executing the processes in S820 and S830. Write in the transmission memory area in the order of transmission. However, in this embodiment, no identifier is used. That is, in S830, the control data is written in the transmission memory area without writing the identifier.

また、制御データの全てを、RAM25の送信メモリ領域に書き込むと(S820でYes)、演算部21は、DMAC23に対して転送命令を入力することにより(S850)、DMAC23に送信メモリ領域に書き込まれた制御データの一群を、送受信回路22の送信バッファに転送させて、送受信回路22から、これら制御データの一群が順にサブユニット30に向けて送信されるようにする。   When all the control data is written in the transmission memory area of the RAM 25 (Yes in S820), the calculation unit 21 inputs the transfer command to the DMAC 23 (S850), and is written in the transmission memory area in the DMAC 23. The group of control data is transferred to the transmission buffer of the transmission / reception circuit 22 so that the group of control data is sequentially transmitted to the subunit 30 from the transmission / reception circuit 22.

また、本実施例の演算部21は、上記割込みマスクの継続中に行われるデータ通信による一連のデータ受信が完了すると発生する受信割込み又は上記受信エラー割込みに応じて、図16に示す受信処理を実行する。そして、この受信処理では、送受信回路22にて受信エラーが発生しているか否かを判断し(S910)、受信エラーが発生していないと判断すると(S910でNo)、S920の処理を実行した後、当該受信処理を終了する。   In addition, the calculation unit 21 according to the present embodiment performs the reception process illustrated in FIG. 16 in response to a reception interrupt or a reception error interrupt that occurs when a series of data reception by data communication performed while the interrupt mask is continued. Run. In this reception process, it is determined whether or not a reception error has occurred in the transmission / reception circuit 22 (S910). If it is determined that no reception error has occurred (No in S910), the process of S920 is executed. Then, the reception process ends.

具体的に、S920では、RAM25の受信メモリ領域に受信データとして格納された制御データの夫々を受信順に、受信メモリ領域から読み出し、読み出した制御データの種類を、今回のクランク間時間に対応するエンジン回転数のスケジュールデータにおける現クランク角に対応する部位を参照することにより判別し、この制御データを、この制御データを必要とする燃料噴射制御に関する制御タスクに提供する。これによって、送受信回路22が受信した制御データを取り込む。   Specifically, in S920, the control data stored as reception data in the reception memory area of the RAM 25 is read from the reception memory area in the order of reception, and the type of the read control data is set to the engine corresponding to the current inter-crank time. The control data is determined by referring to the portion corresponding to the current crank angle in the rotational speed schedule data, and this control data is provided to a control task related to fuel injection control that requires this control data. Thereby, the control data received by the transmission / reception circuit 22 is captured.

一方、上記受信エラーが発生していると判断すると(S910でYes)、発生した受信エラーの種類に対応した処理を実行する(S930)。その後、当該受信処理を終了する。   On the other hand, if it is determined that the reception error has occurred (Yes in S910), processing corresponding to the type of the reception error that has occurred is executed (S930). Thereafter, the reception process ends.

続いて、サブユニット30の処理動作の詳細を、フローチャートを用いて説明する。サブユニット30の演算部41は、擬似クランク角信号の入力によりエッジ検出回路47から発生する割込みに応じて、図17に示す通信制御処理を開始する。   Next, details of the processing operation of the subunit 30 will be described using a flowchart. The calculation unit 41 of the subunit 30 starts the communication control process shown in FIG. 17 in response to an interrupt generated from the edge detection circuit 47 by the input of the pseudo crank angle signal.

この通信制御処理を開始すると、演算部41は、第一実施例と同様に、擬似クランク角信号に基づいて、クランク間時間を算出する(S1010)。その後、演算部41は、擬似クランク角信号に対する割込みマスクをエッジ検出回路47に設定すると共に(S1020)、S1010にて算出されたクランク間時間に基づき、第一実施例と同様に割込みマスクの継続時間を決定し、S1020で設定した割込みマスクが、この決定した時間経過後に解除されるように、エッジ検出回路47に対して割込みマスク解除のタイマ設定を行う(S1025)。更に、演算部41は、クランク角の補正を行う(S1030)。   When the communication control process is started, the calculation unit 41 calculates the inter-crank time based on the pseudo crank angle signal as in the first embodiment (S1010). Thereafter, the calculation unit 41 sets an interrupt mask for the pseudo crank angle signal in the edge detection circuit 47 (S1020), and continues the interrupt mask as in the first embodiment based on the time between cranks calculated in S1010. The time is determined, and the interrupt mask cancellation timer is set to the edge detection circuit 47 so that the interrupt mask set in S1020 is canceled after the determined time has elapsed (S1025). Further, the calculation unit 41 corrects the crank angle (S1030).

その後、演算部41は、送受信回路47等に対して各種設定(動作パラメータの設定等)を行うことで、自ユニットを通信準備完了状態(データ送受信待ち状態)にした後、上述の通信準備完了信号を出力ポート49から通信線LNに出力する(S1040)。更に、S1010で算出したクランク間時間から特定されるエンジン回転数に対応するスケジュールデータにおける現クランク角に対応するデータ送信方向の情報を参照することにより、送信ユニットが自ユニットであるか否かを判断する(S1050)。   Thereafter, the calculation unit 41 performs various settings (operation parameter settings, etc.) on the transmission / reception circuit 47, etc., thereby bringing the unit into a communication ready state (waiting for data transmission / reception), and then completing the communication preparation described above. A signal is output from the output port 49 to the communication line LN (S1040). Further, by referring to the data transmission direction information corresponding to the current crank angle in the schedule data corresponding to the engine speed specified from the inter-crank time calculated in S1010, it is determined whether or not the transmission unit is the own unit. Judgment is made (S1050).

そして、送信ユニットが自ユニットであると判断すると(S1050でYes)、このスケジュールデータによって送信すべきと定義される現クランク角での制御データの一群を、送信対象データ群に決定し(S1060)、自ユニットの送信許可フラグをオンに設定し(S1070)、当該通信制御処理を終了する。一方、送信ユニットが自ユニットではないと判断すると(S1050でNo)、S1060,S1070をスキップして、当該通信制御処理を終了する。   If it is determined that the transmission unit is the own unit (Yes in S1050), a group of control data at the current crank angle defined to be transmitted by the schedule data is determined as a transmission target data group (S1060). Then, the transmission permission flag of the own unit is set to ON (S1070), and the communication control process ends. On the other hand, if it is determined that the transmitting unit is not its own unit (No in S1050), S1060 and S1070 are skipped, and the communication control process is terminated.

また、サブユニット30の演算部41は、メインユニット10と同様の定時処理、送信処理、及び、受信処理を実行する。勿論、サブユニット30の演算部41が実行する定時処理、送信処理及び受信処理では、マイコン20が備える送受信回路22、DMAC23、RAM25、ROM26及びエッジ検出回路27に代えて、マイコン40が備える送受信回路42、DMAC43、RAM45、ROM46及びエッジ検出回路47が用いられる。また、データ送信は、メインユニット10に対して行われる。   In addition, the calculation unit 41 of the subunit 30 executes the same scheduled processing, transmission processing, and reception processing as those of the main unit 10. Of course, the transmission / reception circuit provided in the microcomputer 40 in place of the transmission / reception circuit 22, the DMAC 23, the RAM 25, the ROM 26 and the edge detection circuit 27 provided in the microcomputer 20 in the scheduled process, transmission process and reception process executed by the arithmetic unit 41 of the subunit 30. 42, DMAC 43, RAM 45, ROM 46 and edge detection circuit 47 are used. Data transmission is performed to the main unit 10.

その他、S225(図14参照)におけるサブユニット30が通信準備完了状態にあるか否かの判断は、S1040(図17参照)の処理により自ユニットから通信線LNを介して通信準備完了信号が出力されたか否かの判断により実現することができる。   In addition, in S225 (see FIG. 14), whether or not the subunit 30 is in a communication ready state is determined by outputting a communication preparation completion signal from the own unit via the communication line LN by the processing in S1040 (see FIG. 17). It can be realized by determining whether or not it has been done.

以上、第二実施例の車両制御システム1について説明したが、本実施例によれば、上述したようにハンドシェイクに類する処理を行うため、信頼性の高い通信を効率的に実現することができる。尚、用語間の対応関係は、次の通りである。ROM26,46が記憶するエンジン回転数毎のスケジュールデータは、記憶手段が内燃機関の回転数毎に記憶するテーブルの一例に対応する。また、通信準備完了信号は、第二のデータ通信手段から出力される応答信号の一例に対応する。   As described above, the vehicle control system 1 according to the second embodiment has been described. However, according to this embodiment, since the processing similar to the handshake is performed as described above, highly reliable communication can be efficiently realized. . The correspondence between terms is as follows. The schedule data for each engine speed stored in the ROMs 26 and 46 corresponds to an example of a table stored by the storage unit for each engine speed. The communication preparation completion signal corresponds to an example of a response signal output from the second data communication unit.

[その他]
以上には、本発明の実施例について説明したが、本発明は、上記実施例に限定されるものではなく、種々の態様を採ることができる。例えば、メインユニット10とサブユニット30間のデータ通信は、差動通信によって実現されてもよい。また、データ通信は、調歩同期式の他に、クロック同期式を採用してもよい。但し、クロック同期式の場合には、通信線LNと併設してクロック信号伝送用のクロック信号線を設ける必要がある。この他、データ通信には、SPI(シリアル・ペリフェラル・インタフェース)等を用いることができる。また、送受信回路22,42には、汎用のUART(Universal Asynchronous Receiver Transmitter)等を用いることが可能である。
[Others]
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and can take various forms. For example, data communication between the main unit 10 and the subunit 30 may be realized by differential communication. In addition to the start-stop synchronization method, the data communication may employ a clock synchronization method. However, in the case of the clock synchronous type, it is necessary to provide a clock signal line for transmitting a clock signal along with the communication line LN. In addition, SPI (Serial Peripheral Interface) or the like can be used for data communication. For the transmission / reception circuits 22 and 42, a general-purpose UART (Universal Asynchronous Receiver Transmitter) or the like can be used.

また、第二実施例におけるスケジュールデータに基づくデータ通信(換言すれば識別子を用いないデータ通信)は、第一実施例に適用されてもよく、第一実施例における識別子を用いたデータ通信は、第二実施例に適用されてもよい。
この他、上記実施例では、サブユニット30として、全気筒共通の燃料噴射コントローラを設けて、燃料噴射制御を、単一のメインユニット10と単一のサブユニット30との協働により実現するようにしたが、別例として、車両制御システム1は、図18に示すように、サブユニット30として気筒毎の燃料噴射コントローラを備えた構成にされてもよい。
Further, data communication based on schedule data in the second embodiment (in other words, data communication not using an identifier) may be applied to the first embodiment, and data communication using an identifier in the first embodiment is It may be applied to the second embodiment.
In addition, in the above-described embodiment, a fuel injection controller common to all cylinders is provided as the subunit 30, and fuel injection control is realized by the cooperation of the single main unit 10 and the single subunit 30. However, as another example, the vehicle control system 1 may be configured to include a fuel injection controller for each cylinder as the subunit 30, as shown in FIG.

1…車両制御システム、3…インジェクタ、10…メインユニット、11…入力回路、15…擬似クランク角信号生成回路、20,40…マイコン、21,41…演算部、22,42…送受信回路、23,43…DMAC、25,45…RAM、26,46…ROM、27,47…エッジ検出回路、30…サブユニット、49…出力ポート、50…駆動回路、LN…通信線、SN…クランク角センサ DESCRIPTION OF SYMBOLS 1 ... Vehicle control system, 3 ... Injector, 10 ... Main unit, 11 ... Input circuit, 15 ... Pseudo crank angle signal generation circuit, 20, 40 ... Microcomputer, 21, 41 ... Calculation part, 22, 42 ... Transmission / reception circuit, 23 , 43 ... DMAC, 25, 45 ... RAM, 26, 46 ... ROM, 27, 47 ... edge detection circuit, 30 ... subunit, 49 ... output port, 50 ... drive circuit, LN ... communication line, SN ... crank angle sensor

Claims (12)

共通する通信線に接続された複数の車両制御装置を備え、車両に搭載された内燃機関の制御を、データの送受信を伴う前記複数の車両制御装置の協働によって実現する車両制御システムであって、
前記複数の車両制御装置の一つである第一の車両制御装置は、
前記内燃機関におけるクランク角の変化に応じてパルス信号としてのクランク角信号を入力するクランク角信号入力手段と、
前記クランク角信号入力手段による前記クランク角信号の入力毎に、前記クランク角信号の擬似信号であり、前記クランク角信号の有効エッジと同期したエッジを有するパルス信号である擬似クランク角信号を、前記通信線に出力する擬似信号出力手段と、
前記複数の車両制御装置の内、前記第一の車両制御装置とは異なる第二の車両制御装置に対し前記通信線を介して前記データを送信する手段であって、前記クランク角信号の入力間隔に基づき、前記通信線に対する前記擬似クランク角信号の出力停止後、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記データを送信する第一のデータ通信手段と、
を備え、
前記第二の車両制御装置は、
前記通信線を介して入力される前記擬似クランク角信号の当該入力を検知する擬似信号入力検知手段と、
前記擬似信号入力検知手段による検知結果に基づき、前記内燃機関のクランク角を特定するクランク角特定手段と、
前記通信線を介して前記第一の車両制御装置から送信される前記データを受信する第二のデータ通信手段と、
を備えること
を特徴とする車両制御システム。
A vehicle control system comprising a plurality of vehicle control devices connected to a common communication line, and realizing control of an internal combustion engine mounted on the vehicle by cooperation of the plurality of vehicle control devices with data transmission / reception. ,
A first vehicle control device that is one of the plurality of vehicle control devices,
Crank angle signal input means for inputting a crank angle signal as a pulse signal in accordance with a change in crank angle in the internal combustion engine;
For each input of the crank angle signal by the crank angle signal input means, Ri pseudo signal der of the crank angle signal, a pseudo crank angle signal Ru pulse signal der having an effective edge synchronized with an edge of the crank angle signal Pseudo signal output means for outputting to the communication line;
A means for transmitting the data via the communication line to a second vehicle control device different from the first vehicle control device among the plurality of vehicle control devices, wherein the input interval of the crank angle signal And the first data communication means for transmitting the data during a period in which the pseudo crank angle signal is estimated not to be output to the communication line after the output of the pseudo crank angle signal to the communication line is stopped.
With
The second vehicle control device is
Pseudo signal input detection means for detecting the input of the pseudo crank angle signal input via the communication line;
Crank angle specifying means for specifying the crank angle of the internal combustion engine based on the detection result by the pseudo signal input detection means;
Second data communication means for receiving the data transmitted from the first vehicle control device via the communication line;
A vehicle control system comprising:
共通する通信線に接続された複数の車両制御装置を備え、車両に搭載された内燃機関の制御を、データの送受信を伴う前記複数の車両制御装置の協働によって実現する車両制御システムであって、  A vehicle control system comprising a plurality of vehicle control devices connected to a common communication line, and realizing control of an internal combustion engine mounted on the vehicle by cooperation of the plurality of vehicle control devices with data transmission / reception. ,
前記複数の車両制御装置の一つである第一の車両制御装置は、  A first vehicle control device that is one of the plurality of vehicle control devices,
前記内燃機関におけるクランク角の変化に応じてパルス信号としてのクランク角信号を入力するクランク角信号入力手段と、  Crank angle signal input means for inputting a crank angle signal as a pulse signal in accordance with a change in crank angle in the internal combustion engine;
前記クランク角信号入力手段による前記クランク角信号の入力毎に、前記クランク角信号の擬似信号である擬似クランク角信号を、前記通信線に出力する擬似信号出力手段と、  Pseudo signal output means for outputting a pseudo crank angle signal, which is a pseudo signal of the crank angle signal, to the communication line every time the crank angle signal is input by the crank angle signal input means;
前記複数の車両制御装置の内、前記第一の車両制御装置とは異なる第二の車両制御装置に対し前記通信線を介して前記データを送信する手段であって、前記クランク角信号の入力間隔に基づき、前記通信線に対する前記擬似クランク角信号の出力停止後、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記データを送信する第一のデータ通信手段と、  A means for transmitting the data via the communication line to a second vehicle control device different from the first vehicle control device among the plurality of vehicle control devices, wherein the input interval of the crank angle signal And the first data communication means for transmitting the data during a period in which the pseudo crank angle signal is estimated not to be output to the communication line after the output of the pseudo crank angle signal to the communication line is stopped.
を備え、  With
前記第二の車両制御装置は、  The second vehicle control device is
前記通信線を介して入力される前記擬似クランク角信号の当該入力を検知する擬似信号入力検知手段と、  Pseudo signal input detection means for detecting the input of the pseudo crank angle signal input via the communication line;
前記擬似信号入力検知手段による検知結果に基づき、前記内燃機関のクランク角を特定するクランク角特定手段と、  Crank angle specifying means for specifying the crank angle of the internal combustion engine based on the detection result by the pseudo signal input detection means;
前記通信線を介して前記第一の車両制御装置から送信される前記データを受信する第二のデータ通信手段と、  Second data communication means for receiving the data transmitted from the first vehicle control device via the communication line;
を備え、  With
前記第一のデータ通信手段と前記第二のデータ通信手段との間では、調歩同期式の通信が行われ、これによって、前記データの送信時には、一単位分の前記データである固定長のビット列の前後にスタートビット及びストップビットを含む通信信号が前記通信線に出力され、  Asynchronous communication is performed between the first data communication unit and the second data communication unit, and thereby, when transmitting the data, a fixed-length bit string that is the data for one unit. A communication signal including a start bit and a stop bit before and after is output to the communication line,
前記擬似信号出力手段は、前記クランク角信号の入力毎に、前記スタートビットから前記ストップビットまでの前記通信信号の時間長以上の一定時間、前記通信線の信号レベルをアクティブレベルに切り替えることにより、前記通信信号とは区別される前記擬似クランク角信号を前記通信線に出力すること  The pseudo signal output means, for each input of the crank angle signal, by switching the signal level of the communication line to an active level for a certain time equal to or longer than the time length of the communication signal from the start bit to the stop bit, Outputting the pseudo crank angle signal, which is distinguished from the communication signal, to the communication line;
を特徴とする車両制御システム。  A vehicle control system.
共通する通信線に接続された複数の車両制御装置を備え、車両に搭載された内燃機関の制御を、データの送受信を伴う前記複数の車両制御装置の協働によって実現する車両制御システムであって、
前記複数の車両制御装置の一つである第一の車両制御装置は、
前記内燃機関におけるクランク角の変化に応じてパルス信号としてのクランク角信号を入力するクランク角信号入力手段と、
前記クランク角信号入力手段による前記クランク角信号の入力毎に、前記クランク角信号の擬似信号である擬似クランク角信号を、前記通信線に出力する擬似信号出力手段と、
前記複数の車両制御装置の内、前記第一の車両制御装置とは異なる第二の車両制御装置に対し前記通信線を介して前記データを送信する手段であって、前記クランク角信号の入力間隔に基づき、前記通信線に対する前記擬似クランク角信号の出力停止後、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記データを送信する第一のデータ通信手段と、
を備え、
前記第二の車両制御装置は、
前記通信線を介して入力される前記擬似クランク角信号の当該入力を検知する擬似信号入力検知手段と、
前記擬似信号入力検知手段による検知結果に基づき、前記内燃機関のクランク角を特定するクランク角特定手段と、
前記通信線を介して前記第一の車両制御装置から送信される前記データを受信する第二のデータ通信手段と、
を備え、
前記擬似信号出力手段は、前記クランク角信号の入力毎に、一定時間、前記通信線の信号レベルをアクティブレベルに切り替えることにより、前記擬似クランク角信号を前記通信線に出力し、
前記第二のデータ通信手段は、前記擬似信号入力検知手段により前記擬似クランク角信号の入力が検知されると、前記通信線を介して前記第一の車両制御装置に対し応答信号を出力すると共に、前記データの受信待ち動作を開始し、
前記第一のデータ通信手段は、前記応答信号の入力後から前記擬似クランク角信号が前記通信線に出力されないと推定される期間に限って、前記第二の車両制御装置に対する前記データの送信動作を実行し、
前記擬似信号入力検知手段は、前記通信線での信号レベルがアクティブレベルに変化する事象が発生すると、その時点で前記擬似クランク角信号の入力を検知する一方、その後前記擬似クランク角信号が前記通信線に出力されないと推定される期間の終了時点までは、前記擬似クランク角信号の入力を検知する動作を無効にすること
を特徴とする車両制御システム。
A vehicle control system comprising a plurality of vehicle control devices connected to a common communication line, and realizing control of an internal combustion engine mounted on the vehicle by cooperation of the plurality of vehicle control devices with data transmission / reception. ,
A first vehicle control device that is one of the plurality of vehicle control devices,
Crank angle signal input means for inputting a crank angle signal as a pulse signal in accordance with a change in crank angle in the internal combustion engine;
Pseudo signal output means for outputting a pseudo crank angle signal, which is a pseudo signal of the crank angle signal, to the communication line every time the crank angle signal is input by the crank angle signal input means;
A means for transmitting the data via the communication line to a second vehicle control device different from the first vehicle control device among the plurality of vehicle control devices, wherein the input interval of the crank angle signal And the first data communication means for transmitting the data during a period in which the pseudo crank angle signal is estimated not to be output to the communication line after the output of the pseudo crank angle signal to the communication line is stopped.
With
The second vehicle control device is
Pseudo signal input detection means for detecting the input of the pseudo crank angle signal input via the communication line;
Crank angle specifying means for specifying the crank angle of the internal combustion engine based on the detection result by the pseudo signal input detection means;
Second data communication means for receiving the data transmitted from the first vehicle control device via the communication line;
With
The pseudo signal output means outputs the pseudo crank angle signal to the communication line by switching the signal level of the communication line to an active level for a predetermined time every time the crank angle signal is input.
The second data communication means outputs a response signal to the first vehicle control device via the communication line when the pseudo crank angle signal input is detected by the pseudo signal input detection means. , Start the data reception waiting operation,
The first data communication means transmits the data to the second vehicle control device only during a period in which the pseudo crank angle signal is estimated not to be output to the communication line after the response signal is input. Run
The pseudo signal input detection means detects an input of the pseudo crank angle signal at the time when an event occurs in which the signal level on the communication line changes to an active level, and thereafter, the pseudo crank angle signal is transmitted to the communication line. The vehicle control system is characterized in that the operation of detecting the input of the pseudo crank angle signal is disabled until the end of the period estimated not to be output to the line .
前記第二のデータ通信手段は、前記擬似信号入力検知手段の検知結果から特定される前記擬似クランク角信号の入力間隔に基づき、前記通信線に対する前記擬似クランク角信号の出力停止後、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記通信線を介して前記第一の車両制御装置に前記データを送信する構成にされ、
前記第一のデータ通信手段は、前記通信線を介して前記第二の車両制御装置から送信される前記データを受信する構成にされていること
を特徴とする請求項1〜請求項3のいずれか一項記載の車両制御システム。
The second data communication means, after stopping the output of the pseudo crank angle signal to the communication line, based on the input interval of the pseudo crank angle signal specified from the detection result of the pseudo signal input detection means, In a period during which it is estimated that an angular signal is not output to the communication line, the data is transmitted to the first vehicle control device via the communication line.
Said first data communication means, one of the claims 1 to 3, characterized in that it is in the configuration for receiving said data transmitted from said second vehicle control apparatus via said communication line the vehicle control system of one claim or.
前記第一及び第二のデータ通信手段は、前記通信線に対する前記擬似クランク角信号の出力停止後、前記擬似クランク角信号が前記通信線に出力されないと推定される期間であって、自装置に前記データの送信権限がある期間に、前記データを送信すること
を特徴とする請求項記載の車両制御システム。
The first and second data communication means are periods during which it is estimated that the pseudo crank angle signal is not output to the communication line after the output of the pseudo crank angle signal to the communication line is stopped. The vehicle control system according to claim 4 , wherein the data is transmitted during a period in which the data transmission authority exists.
前記第一及び第二のデータ通信手段は、自装置に前記送信権限がある場合、前記データの一つとして、次に前記送信権限を付与する前記車両制御装置の識別コードを記した送信権限データを送信する構成にされ、前記通信線を介して自装置の識別コードが記された前記送信権限データを受信すると、当該受信後に発生する前記擬似クランク角信号の出力停止後の、前記擬似クランク角信号が前記通信線に出力されないと推定される期間を、自装置に前記データの送信権限がある期間と判断すること
を特徴とする請求項記載の車両制御システム。
The first and second data communication means, when the own device has the transmission authority, as one of the data, the transmission authority data describing the identification code of the vehicle control device to which the next transmission authority is given The pseudo crank angle after stopping the output of the pseudo crank angle signal generated after the reception when receiving the transmission authority data in which the identification code of the own device is written via the communication line The vehicle control system according to claim 5 , wherein a period in which a signal is estimated not to be output to the communication line is determined as a period in which the device has an authority to transmit the data.
前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記データを送信する動作は、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に送信可能なデータ数の範囲内で、送信対象のデータ数を決定し、前記通信線に対する前記擬似クランク角信号の出力停止後、前記決定した数の前記データを送信する動作によって実現されること
を特徴とする請求項1〜請求項のいずれか一項記載の車両制御システム。
The operation of transmitting the data during a period during which it is estimated that the pseudo crank angle signal is not output to the communication line is the number of data that can be transmitted during the period during which the pseudo crank angle signal is not output to the communication line. The number of data to be transmitted is determined within the range, and the output of the pseudo crank angle signal to the communication line is stopped, and then the determined number of the data is transmitted. The vehicle control system according to any one of claims 1 to 6 .
前記第一の車両制御装置は、前記クランク角信号の入力毎に送信すべきデータの種類及び数が定義されたテーブルを前記内燃機関の回転数毎に記憶する記憶手段を有し、
前記第一のデータ通信手段は、前記クランク角信号の入力毎に、前記クランク角信号の入力間隔に対応する前記内燃機関の回転数の前記テーブルを参照し、前記通信線に対する前記擬似クランク角信号の出力停止後、当該テーブルに従う前記種類及び数のデータを、前記通信線を介して前記第二の車両制御装置に送信することによって、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記通信線を介して前記第二の車両制御装置に前記データを送信すること
を特徴とする請求項1〜請求項3のいずれか一項記載の車両制御システム。
The first vehicle control device has storage means for storing a table in which the type and number of data to be transmitted for each input of the crank angle signal are defined for each rotation speed of the internal combustion engine,
For each input of the crank angle signal, the first data communication means refers to the table of the rotational speed of the internal combustion engine corresponding to the input interval of the crank angle signal, and the pseudo crank angle signal for the communication line After the output is stopped, it is estimated that the pseudo crank angle signal is not output to the communication line by transmitting the type and number of data according to the table to the second vehicle control device via the communication line. The vehicle control system according to any one of claims 1 to 3 , wherein the data is transmitted to the second vehicle control device via the communication line during a period of time.
前記第一及び第二の車両制御装置の夫々は、前記クランク角信号の入力毎に送信すべきデータの種類、数及び送信元が定義されたテーブルを前記内燃機関の回転数毎に記憶する記憶手段を有し、
前記第一のデータ通信手段は、前記クランク角信号の入力毎に、前記クランク角信号の入力間隔に対応する前記内燃機関の回転数の前記テーブルを参照し、前記通信線に対する前記擬似クランク角信号の出力停止後、当該テーブルに従う送信元が自装置である場合には、当該テーブルに従う前記種類及び数のデータを、前記通信線を介して前記第二の車両制御装置に送信することによって、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記通信線を介して前記第二の車両制御装置に前記データを送信し、
前記第二のデータ通信手段は、前記クランク角信号の入力に起因して前記擬似信号入力検知手段が前記擬似クランク角信号の当該入力を検知する度に、前記擬似クランク角信号の入力間隔に対応する前記内燃機関の回転数の前記テーブルを参照し、前記擬似クランク角信号の出力停止後、当該テーブルに従う送信元が自装置である場合には、当該テーブルに従う前記種類及び数のデータを、前記通信線を介して前記第一の車両制御装置に送信することによって、前記擬似クランク角信号が前記通信線に出力されないと推定される期間に、前記通信線を介して前記第一の車両制御装置に前記データを送信すること
を特徴とする請求項記載の車両制御システム。
Each of the first and second vehicle control devices stores a table in which the type, number, and source of data to be transmitted for each input of the crank angle signal are defined for each rotation speed of the internal combustion engine. Having means,
For each input of the crank angle signal, the first data communication means refers to the table of the rotational speed of the internal combustion engine corresponding to the input interval of the crank angle signal, and the pseudo crank angle signal for the communication line When the transmission source according to the table is its own device after the output stops, the type and number of data according to the table are transmitted to the second vehicle control device via the communication line, thereby In a period during which it is estimated that a pseudo crank angle signal is not output to the communication line, the data is transmitted to the second vehicle control device via the communication line,
The second data communication means corresponds to the input interval of the pseudo crank angle signal every time the pseudo signal input detection means detects the input of the pseudo crank angle signal due to the input of the crank angle signal. After referring to the table of the rotational speed of the internal combustion engine and stopping the output of the pseudo crank angle signal, if the transmission source according to the table is its own device, the data of the type and number according to the table are By transmitting to the first vehicle control device via the communication line, the first vehicle control device via the communication line during a period during which it is estimated that the pseudo crank angle signal is not output to the communication line. The vehicle control system according to claim 4 , wherein the data is transmitted to the vehicle.
前記擬似信号出力手段は、前記通信線の信号レベルをアクティブレベルに切り替えることにより、前記擬似クランク角信号を前記通信線に出力する構成にされ、
前記擬似信号入力検知手段は、前記通信線での信号レベルがアクティブレベルに変化する事象が発生すると、その時点で、前記擬似クランク角信号の入力を検知する一方、前記検知の契機となった前記事象の発生時点から、前記通信線に対する前記擬似クランク角信号の出力停止後の前記擬似クランク角信号が前記通信線に出力されないと推定される期間の終了時点までは、前記擬似クランク角信号の入力を検知する動作を無効にすることによって、前記擬似クランク角信号が入力される度に、前記擬似クランク角信号の入力を検知すること
を特徴とする請求項1又は請求項2記載の車両制御システム。
The pseudo signal output means is configured to output the pseudo crank angle signal to the communication line by switching the signal level of the communication line to an active level.
The pseudo signal input detection means detects an input of the pseudo crank angle signal at the time when an event occurs in which the signal level on the communication line changes to an active level, and at the same time, before the trigger of the detection From the time of occurrence of the event until the end of the period during which it is estimated that the pseudo crank angle signal after the stop of the output of the pseudo crank angle signal to the communication line is not output to the communication line, the pseudo crank angle signal 3. The vehicle control according to claim 1, wherein an input of the pseudo crank angle signal is detected every time the pseudo crank angle signal is input by disabling an operation of detecting an input. 4. system.
前記第一のデータ通信手段と前記第二のデータ通信手段との間では、調歩同期式の通信が行われ、これによって、前記データの送信時には、一単位分の前記データである固定長のビット列の前後にスタートビット及びストップビットを含む通信信号が前記通信線に出力され、
前記擬似信号出力手段は、前記クランク角信号の入力毎に、前記スタートビットから前記ストップビットまでの前記通信信号の時間長以上の一定時間、前記通信線の信号レベルをアクティブレベルに切り替えることにより、前記通信信号とは区別される前記擬似クランク角信号を前記通信線に出力すること
を特徴とする請求項1又は請求項3記載の車両制御システム。
Asynchronous communication is performed between the first data communication unit and the second data communication unit, and thereby, when transmitting the data, a fixed-length bit string that is the data for one unit. A communication signal including a start bit and a stop bit before and after is output to the communication line,
The pseudo signal output means, for each input of the crank angle signal, by switching the signal level of the communication line to an active level for a certain time equal to or longer than the time length of the communication signal from the start bit to the stop bit, claim 1 or claim 3 vehicle control system according and outputs the pseudo crank angle signal that is distinct from that of the communication signal to the communication line.
前記第二のデータ通信手段は、前記擬似信号入力検知手段により前記擬似クランク角信号の入力が検知されると、前記通信線を介して前記第一の車両制御装置に対し応答信号を出力すると共に、前記データの受信待ち動作を開始し、
前記第一のデータ通信手段は、前記応答信号の入力後から前記第二の車両制御装置に対する前記データの送信動作を実行すること
を特徴とする請求項1、請求項2、又は請求項10記載の車両制御システム。
The second data communication means outputs a response signal to the first vehicle control device via the communication line when the pseudo crank angle signal input is detected by the pseudo signal input detection means. , Start the data reception waiting operation,
The said 1st data communication means performs the transmission operation | movement of the said data with respect to a said 2nd vehicle control apparatus after the input of the said response signal. The Claim 1 , Claim 2, or Claim 10 characterized by the above-mentioned. Vehicle control system.
JP2012044247A 2012-02-29 2012-02-29 Vehicle control system Active JP5783088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012044247A JP5783088B2 (en) 2012-02-29 2012-02-29 Vehicle control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012044247A JP5783088B2 (en) 2012-02-29 2012-02-29 Vehicle control system

Publications (2)

Publication Number Publication Date
JP2013181418A JP2013181418A (en) 2013-09-12
JP5783088B2 true JP5783088B2 (en) 2015-09-24

Family

ID=49272272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012044247A Active JP5783088B2 (en) 2012-02-29 2012-02-29 Vehicle control system

Country Status (1)

Country Link
JP (1) JP5783088B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115244291B (en) * 2020-03-11 2023-08-04 本田技研工业株式会社 Control method of engine control device and straddle-type vehicle
JP7376425B2 (en) * 2020-05-11 2023-11-08 日立Astemo株式会社 Vehicle control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0762462B2 (en) * 1985-03-18 1995-07-05 本田技研工業株式会社 Abnormality detection device for control device of internal combustion engine
JPH09242590A (en) * 1996-03-11 1997-09-16 Aisan Ind Co Ltd Internal combustion engine control device
JP2008232094A (en) * 2007-03-23 2008-10-02 Honda Motor Co Ltd Control device for glow plug

Also Published As

Publication number Publication date
JP2013181418A (en) 2013-09-12

Similar Documents

Publication Publication Date Title
US8948280B2 (en) Clock determination for a sensor
US9081699B2 (en) Relay device
US7747897B2 (en) Method and apparatus for lockstep processing on a fixed-latency interconnect
US10153825B2 (en) Vehicle-mounted control device
JP5811140B2 (en) Communications system
JP5814474B2 (en) Method for driving a communication system
JP2017118487A (en) Information aggregation method to be executed in communication system
JP5783088B2 (en) Vehicle control system
JP2017199266A (en) Vehicle control system and vehicle system
JP2004249817A (en) Electronic control device and control system having a plurality of electronic control devices
JP6747346B2 (en) Engine control device and electronic control device
JPH0381862A (en) Equipment and method for communication of vehicle-mounted network
JP2017182627A (en) Microcomputer
US8688241B2 (en) Distributed control system for monitoring a significant control
JP2010113419A (en) Multicore controller
JP4123946B2 (en) Time synchronization system
JP5078857B2 (en) Real-time control network system
JP6102667B2 (en) Electronic control unit
JP2013104358A (en) Vehicle control system and vehicle control device
US20240020245A1 (en) Electronic control device
JP2003097344A (en) Electronic control device for vehicle
JP4259449B2 (en) Signal processing device
JP2000253094A (en) Method and equipment for serial communication
JP5391897B2 (en) node
JP4948583B2 (en) Control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150408

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150706

R151 Written notification of patent or utility model registration

Ref document number: 5783088

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250