JP2017021426A - Electronic controller - Google Patents
Electronic controller Download PDFInfo
- Publication number
- JP2017021426A JP2017021426A JP2015136291A JP2015136291A JP2017021426A JP 2017021426 A JP2017021426 A JP 2017021426A JP 2015136291 A JP2015136291 A JP 2015136291A JP 2015136291 A JP2015136291 A JP 2015136291A JP 2017021426 A JP2017021426 A JP 2017021426A
- Authority
- JP
- Japan
- Prior art keywords
- calculation unit
- clock signal
- processing
- data
- calculation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Multi Processors (AREA)
Abstract
Description
本発明は、一定周期で演算処理を同期して並列に行う複数の演算部を有する電子制御装置に関するものである。 The present invention relates to an electronic control device having a plurality of arithmetic units that perform arithmetic processing in parallel at a constant cycle in parallel.
特許文献1に示されるように、複数のプロセッサを有するマルチプロセッサシステムが知られている。特許文献1のマルチプロセッサシステムでは、プロセッサAはメモリに記憶されたプログラムAを実行し、プロセッサBはメモリに記憶されたプログラムBを実行する。
As shown in
特許文献1のプロセッサAとプロセッサBは、プログラムAとプログラムBを同期して並列に処理する。このプログラムA,Bの中には、並列演算処理において処理順序の依存する同期処理と、処理順序の依存しない他処理とがある。プロセッサA,Bが同期処理を共同して行う場合、プロセッサAが同期処理の前半処理を行った後、プロセッサBはその前半処理にて得られたデータに基づいて同期処理の後半処理を行う。プロセッサAが同期処理を行っている際、プロセッサBは同期処理を行うことができず、待機状態となる。したがってプロセッサBの処理時間が長くなり、その結果として並列演算処理時間が増大する虞がある。
The processor A and the processor B of
そこで本発明は上記問題点に鑑み、並列演算処理時間の増大が抑制された電子制御装置を提供することを目的とする。 In view of the above problems, an object of the present invention is to provide an electronic control device in which an increase in parallel processing time is suppressed.
上記した目的を達成するための開示された発明の1つは、一定周期で演算処理を同期して並列に行う複数の演算部(11,21)を有し、
演算処理として、処理順序に依存する同期処理と、処理順序に依存しない他処理と、があり、
複数の演算部の内の2つを第1演算部(11)および第2演算部(21)とすると、
第1演算部は同期処理を行って第1データを算出し、
第2演算部は第1演算部が第1データを算出している間に他処理を行い、第1データに基づいて同期処理を行う。
One of the disclosed inventions for achieving the above-described object has a plurality of arithmetic units (11, 21) that perform arithmetic processing synchronously in parallel at a constant cycle,
As arithmetic processing, there are synchronous processing that depends on the processing order, and other processing that does not depend on the processing order,
When two of the plurality of calculation units are defined as a first calculation unit (11) and a second calculation unit (21),
The first calculation unit performs a synchronization process to calculate the first data,
The second calculation unit performs other processing while the first calculation unit calculates the first data, and performs synchronization processing based on the first data.
このように本発明によれば、第2演算部(21)は第1演算部(11)が同期処理を行っている間に他処理を行う。そのため第1演算部(11)が同期処理を行っている間に第2演算部(21)が待機状態となる構成と比べて、並列演算処理時間の増大が抑制される。 Thus, according to this invention, a 2nd calculating part (21) performs another process, while the 1st calculating part (11) is performing a synchronous process. Therefore, an increase in parallel calculation processing time is suppressed as compared with the configuration in which the second calculation unit (21) is in a standby state while the first calculation unit (11) is performing the synchronization process.
なお、特許請求の範囲に記載の請求項、および、課題を解決するための手段それぞれに記載の要素に括弧付きで符号をつけている。この括弧付きの符号は実施形態に記載の各構成要素との対応関係を簡易的に示すためのものであり、実施形態に記載の要素そのものを必ずしも示しているわけではない。括弧付きの符号の記載は、いたずらに特許請求の範囲を狭めるものではない。 In addition, the code | symbol with the parenthesis is attached | subjected to the element as described in the claim as described in a claim, and each means for solving a subject. The reference numerals in parentheses are for simply indicating the correspondence with each component described in the embodiment, and do not necessarily indicate the element itself described in the embodiment. The description of the reference numerals with parentheses does not unnecessarily narrow the scope of the claims.
以下、本発明をエンジンECUに適用した場合の実施形態を図に基づいて説明する。
(第1実施形態)
図1〜図3に基づいて本実施形態に係る電子制御装置(ECU)を説明する。なお図2および図3では各種処理を分けて明示するため、それぞれにハッチングを施している。
Hereinafter, an embodiment when the present invention is applied to an engine ECU will be described with reference to the drawings.
(First embodiment)
An electronic control unit (ECU) according to this embodiment will be described with reference to FIGS. 2 and 3 are hatched in order to clearly indicate various processes separately.
電子制御装置100は車両に搭載されるエンジンECUである。電子制御装置100は、例えばアクセル踏み込み量やスロットル開度などからトルク要求値を算出し、そのトルク要求値に基づいて点火プラグの点火タイミングや燃料噴射弁の燃料噴射タイミングを算出する。このように電子制御装置100はエンジンの燃焼駆動に関わる制御(以下、エンジン制御処理と示す)を行う。また電子制御装置100は、アクセル踏み込み量を検出するアクセルセンサやスロットル開度を検出するスロットル開度センサなどの故障診断処理も行う。
The
図1に示すように電子制御装置100は、第1マイコン10と第2マイコン20、および、第1基本クロック部30と第2基本クロック部40を有する。第1基本クロック部30は第1基本クロック信号を生成し、それを第1マイコン10に出力する。第2基本クロック部40は第2基本クロック信号を生成し、それを第2マイコン20に出力する。基本クロック部30,40は水晶振動子を保有している。なお図示しないが、電子制御装置100は上記の構成要素の他に入出力回路や電源回路などを有する。
As shown in FIG. 1, the
第1マイコン10は、第1演算部11と第1メモリ12を有する。第1演算部11は第1メモリ12に記憶された第1プログラムに基づいて演算処理を行う。同様にして第2マイコン20は、第2演算部21と第2メモリ22を有する。第2演算部21は第2メモリ22に記憶された第2プログラムに基づいて演算処理を行う。演算部11,21の処理能力は互いに等しくなっている。
The
図2に示すように第1演算部11は、第1基本クロック信号に基づいて第1基本クロック信号よりも周波数の低い第1クロック信号を生成する。そして第1演算部11は第1クロック信号をカウントし、そのカウント数(第1カウント数)に基づいて演算処理を行う。同様にして第2演算部21は、第2基本クロック信号に基づいて第2基本クロック信号よりも周波数の低い第2クロック信号を生成する。そして第2演算部21は第2クロック信号をカウントし、そのカウント数(第2カウント数)に基づいて演算処理を行う。
As shown in FIG. 2, the first
本実施形態において第1基本クロック信号と第2基本クロック信号の周波数は互いに同一である。また第1クロック信号と第2クロック信号の周波数も互いに同一である。第1クロック信号と第2クロック信号それぞれのデューティ比は50%である。 In the present embodiment, the first basic clock signal and the second basic clock signal have the same frequency. The frequencies of the first clock signal and the second clock signal are also the same. The duty ratio of each of the first clock signal and the second clock signal is 50%.
演算部11,21は、カウント信号に含まれるパルスの立ち上がりエッジや立ち下がりエッジをカウントする度にカウント数を1だけインクリメントする。第1クロック信号と第2クロック信号のパルス幅は1msに相当する。演算部11,21はカウント数を0から8までカウントするとキャンセルすることを繰り返す。演算部11,21は上記の演算処理を、このカウント数がカウントされてからキャンセルされるまでの間に行う。したがって演算処理はその周期時間を8msとして、演算部11,21において一定周期で行われる。
The
図1に示すように第1演算部11から第2演算部21へ同期信号が出力される。第1演算部11と第2演算部21とは、この同期信号に基づいて上記の演算処理を同期して並列に行う。本実施形態においてこの同期信号は、図2に示すように演算部11,21が演算処理を開始し始める際に、第1演算部11から第2演算部21へ出力される。
As shown in FIG. 1, a synchronization signal is output from the
同期信号は、第1カウント数に第2カウント数を一致させるための信号である。本実施形態では第1カウント数がゼロのときに第1演算部11が第2演算部21に同期信号を出力する。第2演算部21は同期信号を受け取ると、第2カウント数をゼロにし、第1カウント数と第2カウント数のカウント始まりを一致させる。これにより演算部11,21が同一のカウント数で同期し、演算処理を並列に行う。
The synchronization signal is a signal for making the second count number coincide with the first count number. In the present embodiment, the
第1演算部11と第2演算部21とはバスを通してデータ通信可能となっている。第1演算部11と第2演算部21とはこのバスを介してデータの送受信を行い、演算処理を共同して行う。
The first
演算処理としては、処理順序に依存する同期処理と、処理順序に依存しない他処理とがある。同期処理は、例えば上記したエンジン制御処理である。他処理は、例えば上記した故障診断処理である。 Arithmetic processing includes synchronous processing that depends on the processing order and other processing that does not depend on the processing order. The synchronization process is, for example, the engine control process described above. The other processing is, for example, the above-described failure diagnosis processing.
上記したようにエンジン制御処理を行うためには点火プラグの点火タイミングや燃料噴射弁の燃料噴射タイミングを算出しなくてはならない。しかしながらこれらを算出するためには予めトルク要求値を算出しなくてはならない。このように点火タイミングや燃料噴射タイミングを算出するためには、その前にトルク要求値を算出しなくてはならず、算出処理順序に依存する。これに対して故障診断処理は単に配線の断線や天絡地絡を検出するものなので、処理順序に依存しない。 As described above, in order to perform the engine control process, the ignition timing of the spark plug and the fuel injection timing of the fuel injection valve must be calculated. However, in order to calculate these, the torque request value must be calculated in advance. Thus, in order to calculate the ignition timing and the fuel injection timing, the torque request value must be calculated before that, which depends on the calculation processing order. On the other hand, the fault diagnosis process simply detects a disconnection of the wiring or a ground fault, and does not depend on the processing order.
同期処理は他処理に比べて処理容量が多く、その算出処理工数が多い。そのために演算部11,21のいずれか一方のみでは算出しきれない虞がある。そこで同期処理を前半処理と後半処理とに分け、第1演算部11が前半処理を行った後、その前半処理によって算出された第1データに基づいて、第2演算部21が後半処理を行う。こうすることで電子制御装置100は同期処理を行う。本実施形態では同期処理を前半処理と後半処理とに等分している。
The synchronous processing has a larger processing capacity than that of other processing, and has a large number of calculation processing steps. Therefore, there is a possibility that the calculation cannot be performed by only one of the
次に、図2に基づいて演算部11,21による演算処理を具体的に説明する。演算処理の始まりにおいて第1演算部11は、第2演算部21に同期信号を出力する。これにより第1カウント数と第2カウント数とが同一のタイミングにおいてともにゼロとなる。これが図2に示すタイミング同期処理に相当する。なお、このように第1カウント数と第2カウント数とが一致するため、以下においては特に断わらない限り、第1カウント数と第2カウント数とをまとめてカウント数と示す。
Next, the calculation processing by the
カウント数が1になると、演算部11,21はともに他処理を行う。しかしながらカウント数が2になると、第1演算部11は同期処理(前半処理)を開始する。この第1演算部11による前半処理は、カウント数が4になるまで継続して行われる。第1演算部11はカウント数が4に至り、前半処理が終了すると、前半処理によって算出した第1データを第2演算部21に出力する(送受信処理)。そして第1演算部11はカウント数が5から8(0)になるまで他処理を行う。
When the count number becomes 1, both the
これに対して第2演算部21はカウント数が2になっても他処理を継続する。しかしながらカウント数4において第1演算部11から第1データが送信されると、第2演算部21は第1データを受信する(送受信処理)。そして第1データを受信し終えてカウント数5に至ると、第2演算部21は同期処理(後半処理)を開始する。この第2演算部21による後半処理は、カウント数が7になるまで継続して行われる。第2演算部21はカウント数が7に至り、後半処理が終了すると、カウント数が7から8(0)になるまで他処理を行う。
On the other hand, the
以上に示したように第1演算部11が前半処理を終えるには、カウント数2分の時間(2ms)を要する。この前半処理にかかる時間が第1処理時間に相当する。また第2演算部21が後半処理を終えるには、カウント数2分の時間(2ms)を要する。
As described above, it takes time (2 ms) for the count number of 2 for the
また、第1演算部が前半処理を終了して第1データを算出した後、第2演算部が第1データを受信し終えるのにカウント数1分の時間(1ms)を要する。この第1データの受信にかかる時間が第2処理時間に相当する。また本実施形態では、この第1データの受信にかかる時間が第2所定時間にも相当する。 Further, after the first calculation unit finishes the first half process and calculates the first data, it takes a time of 1 minute (1 ms) for the second calculation unit to finish receiving the first data. The time taken to receive the first data corresponds to the second processing time. In the present embodiment, the time taken to receive the first data also corresponds to the second predetermined time.
図2に示すように第1演算部11から第2演算部21へと第1データが送信され始めるのはカウント数4の時である。そして第2演算部21が第1データを受信し終えるのはカウント数5の時である。このため第2演算部21は、予め後半処理をカウント数5において行うように設定されている。
As shown in FIG. 2, the first data starts to be transmitted from the
第1演算部11が前半処理を開始してから第2演算部21が第1データを受け取るまでにカウント数で3だけかかる。換言すれば、3ms要する。この第1演算部11が前半処理を開始してから3ms要する時間が、第1所定時間に相当する。
It takes 3 in terms of the number of counts from when the
なお、同期処理よりも優先順位の高い割り込み処理のために、第1演算部11での前半処理の終了が遅れる場合がある。例えば図3に示すように第1演算部11が前半処理を行っている最中に割り込み処理が発生すると、第1データの算出タイミングが遅延する。上記したように第2演算部21がカウント数5において後半処理を開始する設定となっているにも関わらず、その後半処理を行うのに必要な第1データがカウント数5を超えても第2演算部21にて受信し終わらなくなる。この場合、図3に示すように第2演算部21は、後半処理を中止する。そして第2演算部21は他処理を行う。
Note that the end of the first half process in the
次に、本実施形態に係る電子制御装置100の作用効果を説明する。上記したように第2演算部21は、第1演算部11が同期処理を行っている間に他処理を行う。そのため第1演算部11が同期処理を行っている間に第2演算部21が待機状態となる構成と比べて、演算部11,21が並列して演算処理する時間(並列演算処理時間)の増大が抑制される。
Next, functions and effects of the
演算処理の始まりにおいて第1演算部11は、第2演算部21に同期信号を出力する。これにより第1カウント数と第2カウント数とが同一のタイミングにおいてともにゼロとなる。これによれば第1カウンタと第2カウンタのカウント数がずれていたとしても、それを補正することができる。これにより第1演算部11と第2演算部21との同期がずれることが抑制される。
At the beginning of the calculation process, the
以上、本発明の好ましい実施形態について説明したが、本発明は上記した実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することが可能である。 The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.
(第1の変形例)
本実施形態では第2演算部21が同期処理開始タイミング(カウント数5)を超えても第1データを受信し終わらない場合、後半処理を中止する例を示した。しかしながら例えば図4に示すように第2演算部21は、カウント数5を越えて第1データを受信し終わった後に後半処理を開始してもよい。これによれば割り込み処理などのために第2演算部21における第1データの受信がカウント数5を超えたとしても、第2演算部21において後半処理を行うことができる。
(First modification)
In the present embodiment, an example is shown in which the second half process is stopped when the
(第2の変形例)
本実施形態ではカウント数5において第2演算部21が後半処理を行う例を示した。換言すれば、第2演算部21において第1データを受信し終えることが期待されるタイミングで第2演算部21が後半処理を行う例を示した。しかしながら第2演算部21は第1データを受信し終わりを契機として、後半処理を行ってもよい。これによれば、第2演算部21における後半処理タイミングをカウント数指定(時間指定)する構成とは異なり、第2演算部21における第1データの受信が遅れたとしても、第2演算部21において後半処理を行うことができる。
(Second modification)
In the present embodiment, an example in which the
ただし、上記の第1の変形例、および、第2の変形例それぞれにおいて、第2演算部21での後半処理の終了がカウント数0(8)を超えることが予想される場合、第2演算部21は後半処理を中止する。換言すれば、同一周期内において後半処理を終了しえない場合、第2演算部21は第1データを受信したとしても、後半処理を中止する。更に言い換えれば、第2演算部21は第1データを受信し終わった時点における同一周期内において残された時間が後半処理を行う時間よりも短い場合、後半処理を中止する。本実施形態の場合、第2演算部21が後半処理を行うのに必要なカウント数は2である。したがってより具体的に言えば、第2演算部21はカウント数6を超えて第1データを受信し終わった場合、後半処理を中止する。
However, in each of the first modification and the second modification described above, if it is expected that the end of the second half processing in the
(第3の変形例)
本実施形態ではカウント数5において第2演算部21が後半処理を行う例を示した。換言すれば、第2演算部21において第1データを受信し終えることが期待されるタイミングで第2演算部21が後半処理を行う例を示した。しかしながらこれとは異なり、例えば図5に示すようにカウント数6において第2演算部21が後半処理を行ってもよい。換言すれば、第2演算部21において第1データを受信し終えることが期待されるタイミングよりも遅くに、第2演算部21が後半処理を行ってもよい。これによれば割り込み処理などのために第2演算部21における第1データの受信がカウント数5を超えたとしても、第2演算部21において後半処理を行うことができる。
(Third Modification)
In the present embodiment, an example in which the
なおこの第3の変形例の場合、第1演算部11が前半処理を開始してから4ms要する時間が、第1所定時間に相当する。そして第1演算部11が前半処理を終了してから2ms要する時間が第2所定時間に相当する。
In the case of the third modification, the time required for 4 ms after the
(第4の変形例)
本実施形態では演算処理の始まりにおいて第1演算部11が第2演算部21に同期信号を出力する例を示した。しかしながら図6に示すように、第1演算部11が第1カウント数をキャンセルする毎に第2演算部21に同期信号を出力してもよい。これによれば第1カウント数と第2カウント数とがずれたとしても、そのずれを周期的に補正することができる。これにより第1演算部11と第2演算部21との同期がずれることが抑制される。
(Fourth modification)
In the present embodiment, an example in which the
なお、同期信号の入出力タイミングは、カウント数がゼロのときに限定されない。例えば第1カウント数が1の特に同期信号を入出力してもよい。この場合、第2演算部21は第2カウント数を1に設定する。
Note that the input / output timing of the synchronization signal is not limited to when the count number is zero. For example, a synchronization signal with a first count number of 1 may be input / output. In this case, the
(第5の変形例)
本実施形態では電子制御装置100が、第1マイコン10と第2マイコン20、および、第1基本クロック部30と第2基本クロック部40を有する例を示した。しかしながらこれとは異なり、例えば図7に示すように電子制御装置100が、第1マイコン10と基本クロック部50を有する構成を採用することもできる。なお図示しないが、この変形例においても電子制御装置100は上記の構成要素の他に、入出力回路や電源回路などを有する。
(Fifth modification)
In this embodiment, the example which the
この構成の場合、基本クロック部50は水晶振動子を保有して基本クロック信号を生成し、それを第1マイコン10に出力する。第1マイコン10は、演算部11,21と共有メモリ60を有する。演算部11,21は共有メモリ60に記憶されたプログラムに基づいて演算処理を行う。第1演算部11と第2演算部21との間でのデータの送受信は共有メモリ60を介して行われる。
In the case of this configuration, the
演算部11,21は基本クロック信号に基づいて、基本クロック信号よりも周波数の低いクロック信号を生成し、それをカウントする。そして演算部11,21はそのカウント数(第1カウント数、第2カウント数)に基づいて演算処理を行う。第1演算部11から第2演算部21へ同期信号が出力され、この同期信号に基づいて第1演算部11と第2演算部21とが演算処理を同期して並列に行う。
The
(その他の変形例)
本実施形態に係る電子制御装置100はエンジンECUである例を示した。しかしながら電子制御装置100としては上記例に限定されず、例えばハイブリッドECUやバッテリECUなどを採用することができる。より広く言えば、電子制御装置100としては、2つ以上の演算部を有し、これらが同期して並列演算処理を行うものであれば、適宜採用することができる。
(Other variations)
An example in which the
本実施形態では電子制御装置100が2つのマイコン10,20を有する例を示した。しかしながら電子制御装置100が有するマイコン10,20の数としては上記例に限定されない。例えば第5の変形例で示したように電子制御装置100が1つの第1マイコン10を有してもよいし、電子制御装置100が3つ以上のマイコンを有してもよい。電子制御装置100は演算処理するための演算部を少なくとも2つ有していれば良い。
In this embodiment, the example which the
本実施形態では演算部11,21が、ソフト的に基本クロック信号に基づいてクロック信号を生成し、クロック信号の数をカウントする例を示した。しかしながらこれとは異なり、図示しないが、電子制御装置100が演算部11,21の他に、基本クロック信号に基づいてクロック信号を生成するクロック部と、クロック信号の数をカウントするカウンタと、をハード的に有してもよい。
In the present embodiment, an example is shown in which the
本実施形態では第1基本クロック信号と第2基本クロック信号の周波数が互いに同一である例を示した。しかしながら第1基本クロック信号と第2基本クロック信号の周波数は異なっていてもよい。 In the present embodiment, an example in which the frequencies of the first basic clock signal and the second basic clock signal are the same is shown. However, the frequencies of the first basic clock signal and the second basic clock signal may be different.
本実施形態では第1クロック信号と第2クロック信号の周波数が互いに同一である例を示した。しかしながら第1クロック信号と第2クロック信号の周波数は異なっていてもよい。 In the present embodiment, an example in which the frequencies of the first clock signal and the second clock signal are the same is shown. However, the frequencies of the first clock signal and the second clock signal may be different.
本実施形態では第1クロック信号と第2クロック信号のパルス幅が1msに相当する例を示した。しかしながらパルス幅としては上記例に限定されず、例えば0.5msでもよい。 In the present embodiment, an example in which the pulse widths of the first clock signal and the second clock signal correspond to 1 ms is shown. However, the pulse width is not limited to the above example, and may be 0.5 ms, for example.
本実施形態では演算部11,21がカウント数を0から8までカウントするとキャンセルすることを繰り返す例を示した。しかしながら、例えば演算部11,21がカウント数を0から4までカウントするとキャンセルすることを繰り返してもよい。また演算部11,21がカウント数を0から16までカウントするとキャンセルすることを繰り返してもよい。
In the present embodiment, an example is shown in which the
本実施形態では演算部11,21の処理能力が互いに等しい例を示した。しかしながら演算部11,21の処理能力は互いに異なっていてもよい。
In the present embodiment, the
本実施形態では同期処理を前半処理と後半処理とに等分する例を示した。しかしながら同期処理を等分しなくともよい。例えば2つの演算部11,21の処理能力に差がある場合、同期処理が早く効率よく終わるように、前半処理と後半処理の分ける割合を決定してもよい。例えば演算部11,21の処理能力比が1:2の場合、前半処理と後半処理とを1:2に分ける。
In the present embodiment, an example is shown in which the synchronization process is equally divided into the first half process and the second half process. However, the synchronization process need not be equally divided. For example, when there is a difference between the processing capabilities of the two
10…第1マイコン
11…第1演算部
20…第2マイコン
21…第2演算部
100…電子制御装置
DESCRIPTION OF
Claims (9)
前記演算処理として、処理順序に依存する同期処理と、前記処理順序に依存しない他処理と、があり、
複数の前記演算部の内の2つを第1演算部(11)および第2演算部(21)とすると、
前記第1演算部は前記同期処理を行って第1データを算出し、
前記第2演算部は前記第1演算部が前記第1データを算出している間に前記他処理を行い、前記第1データに基づいて前記同期処理を行う電子制御装置。 It has a plurality of calculation units (11, 21) that perform calculation processing in parallel in a constant cycle,
As the arithmetic processing, there is a synchronous processing that depends on the processing order, and other processing that does not depend on the processing order,
When two of the plurality of calculation units are a first calculation unit (11) and a second calculation unit (21),
The first calculation unit performs the synchronization process to calculate first data,
The second control unit is an electronic control device that performs the other processing while the first calculation unit is calculating the first data, and performs the synchronization processing based on the first data.
前記第1演算部は前記第1基本クロック信号よりも周波数の低い第1クロック信号を生成して前記第1クロック信号に含まれるパルスの数をカウントし、
前記第2演算部は前記第2基本クロック信号よりも周波数の低い第2クロック信号を生成して前記第2クロック信号に含まれるパルスの数をカウントし、
前記第1演算部は、前記第1クロック信号に含まれるパルスのカウント数に前記第2クロック信号に含まれるパルスのカウント数を一致させる同期信号を前記第2演算部に出力する請求項1〜6いずれか1項に記載の電子制御装置。 A first basic clock unit (30) for generating and outputting a first basic clock signal; and a second basic clock unit (40) for generating and outputting a second basic clock signal;
The first arithmetic unit generates a first clock signal having a frequency lower than that of the first basic clock signal and counts the number of pulses included in the first clock signal.
The second arithmetic unit generates a second clock signal having a frequency lower than that of the second basic clock signal, and counts the number of pulses included in the second clock signal.
The first calculation unit outputs to the second calculation unit a synchronization signal that makes the pulse count included in the second clock signal coincide with the pulse count included in the first clock signal. 6. The electronic control device according to any one of claims 6.
前記第1演算部は前記基本クロック信号よりも周波数の低い第1クロック信号を生成して前記第1クロック信号に含まれるパルスの数をカウントし、
前記第2演算部は前記基本クロック信号よりも周波数の低い第2クロック信号を生成して前記第2クロック信号に含まれるパルスの数をカウントし、
前記第1演算部は、前記第1クロック信号に含まれるパルスのカウント数に前記第2クロック信号に含まれるパルスのカウント数を一致させる同期信号を前記第2演算部に出力する請求項1〜6いずれか1項に記載の電子制御装置。 A basic clock unit (50) for generating and outputting a basic clock signal;
The first arithmetic unit generates a first clock signal having a frequency lower than that of the basic clock signal, and counts the number of pulses included in the first clock signal.
The second arithmetic unit generates a second clock signal having a frequency lower than that of the basic clock signal, and counts the number of pulses included in the second clock signal,
The first calculation unit outputs to the second calculation unit a synchronization signal that makes the pulse count included in the second clock signal coincide with the pulse count included in the first clock signal. 6. The electronic control device according to any one of claims 6.
前記第2演算部は、前記一定周期を前記第2クロック信号のカウント数によって計測するとともに前記一定周期経過毎に前記第2クロック信号のカウント数をキャンセルし、
前記第1演算部は、前記一定周期経過毎に前記第2演算部に前記同期信号を出力する請求項7または請求項8に記載の電子制御装置。 The first calculation unit measures the fixed period based on the count number of the first clock signal and cancels the count number of the first clock signal every time the fixed period elapses.
The second arithmetic unit measures the fixed period based on the count number of the second clock signal and cancels the count number of the second clock signal every time the fixed period elapses.
The electronic control device according to claim 7 or 8, wherein the first calculation unit outputs the synchronization signal to the second calculation unit every time the fixed period elapses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015136291A JP2017021426A (en) | 2015-07-07 | 2015-07-07 | Electronic controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015136291A JP2017021426A (en) | 2015-07-07 | 2015-07-07 | Electronic controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017021426A true JP2017021426A (en) | 2017-01-26 |
Family
ID=57888341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015136291A Pending JP2017021426A (en) | 2015-07-07 | 2015-07-07 | Electronic controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017021426A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008009621A (en) * | 2006-06-28 | 2008-01-17 | Nippon Signal Co Ltd:The | Method for processing genetic algorithm, and method for simulating train operation using the same |
JP2009087282A (en) * | 2007-10-03 | 2009-04-23 | Fuji Xerox Co Ltd | Parallel computation system and parallel computation method |
JP2010122758A (en) * | 2008-11-17 | 2010-06-03 | Fujitsu Ltd | Job managing device, job managing method and job managing program |
WO2010073313A1 (en) * | 2008-12-22 | 2010-07-01 | トヨタ自動車株式会社 | Electronic control system for vehicle, electronic control unit for vehicle, and control synchronization method for vehicle |
-
2015
- 2015-07-07 JP JP2015136291A patent/JP2017021426A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008009621A (en) * | 2006-06-28 | 2008-01-17 | Nippon Signal Co Ltd:The | Method for processing genetic algorithm, and method for simulating train operation using the same |
JP2009087282A (en) * | 2007-10-03 | 2009-04-23 | Fuji Xerox Co Ltd | Parallel computation system and parallel computation method |
JP2010122758A (en) * | 2008-11-17 | 2010-06-03 | Fujitsu Ltd | Job managing device, job managing method and job managing program |
WO2010073313A1 (en) * | 2008-12-22 | 2010-07-01 | トヨタ自動車株式会社 | Electronic control system for vehicle, electronic control unit for vehicle, and control synchronization method for vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6253707B2 (en) | Control device | |
JP2013061863A (en) | Electronic control device | |
JP6207987B2 (en) | In-vehicle electronic control unit | |
JP2001214790A (en) | Engine control device | |
US6493628B2 (en) | Engine control unit having frequency-multiplied signal generating function | |
JP3539327B2 (en) | Engine control device | |
JP2001280193A (en) | Engine controller | |
JP2012168605A (en) | Control apparatus | |
WO2018211790A1 (en) | Ecu | |
JP2017021426A (en) | Electronic controller | |
JP5844038B2 (en) | Electronic control device and control method of electronic control device | |
JP2007026028A (en) | Device for detecting abnormality in microcomputer | |
JP5776661B2 (en) | Electronic control unit | |
JP6224545B2 (en) | Electronic control unit | |
JP2018135785A (en) | Engine control device | |
JP5884788B2 (en) | Microcomputer | |
JP2014146222A (en) | Microcomputer device for vehicle | |
JP5948230B2 (en) | In-vehicle control device | |
JP2013141085A (en) | Electronic controller for vehicle | |
JP2018151921A (en) | Electronic control device | |
JP2023079051A (en) | Engine control device | |
JP2019164680A (en) | Electronic control device | |
JP2015161184A (en) | Electronic control device | |
JP5794012B2 (en) | Electronic control unit | |
JP2020067685A (en) | Computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171016 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180528 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180605 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180724 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20180821 |