JP5880862B2 - Control system - Google Patents
Control system Download PDFInfo
- Publication number
- JP5880862B2 JP5880862B2 JP2012251400A JP2012251400A JP5880862B2 JP 5880862 B2 JP5880862 B2 JP 5880862B2 JP 2012251400 A JP2012251400 A JP 2012251400A JP 2012251400 A JP2012251400 A JP 2012251400A JP 5880862 B2 JP5880862 B2 JP 5880862B2
- Authority
- JP
- Japan
- Prior art keywords
- mode
- signal
- microcomputers
- control signal
- cpus
- 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
Links
Images
Landscapes
- Multi Processors (AREA)
- Microcomputers (AREA)
- Stored Programmes (AREA)
Description
本発明は、マイコンを複数備える制御システムに関するものである。 The present invention relates to a control system including a plurality of microcomputers.
従来、例えば特許文献1に示されるように、第一及び第二のマイクロコンピュータを備える電子制御装置が提案されている。各マイクロコンピュータは、データ書換可能な不揮発性メモリと、通信ラインに接続された通信回路と、を内蔵している。各マイクロコンピュータは、通信回路を介して自身宛の書込対象のデータを受信すると、書込対象のデータを不揮発性メモリに書き込み、不揮発性メモリが記憶するデータを更新する。 Conventionally, as disclosed in, for example, Patent Document 1, an electronic control device including first and second microcomputers has been proposed. Each microcomputer has a built-in nonvolatile memory capable of rewriting data and a communication circuit connected to a communication line. When each microcomputer receives the write target data addressed to itself via the communication circuit, the microcomputer writes the write target data in the nonvolatile memory and updates the data stored in the nonvolatile memory.
上記したように、従来、複数のマイクロコンピュータそれぞれに内蔵された不揮発性メモリのデータを書き換える電子制御装置が記載されている。このような電子制御装置では、複数のマイクロコンピュータの内、少なくとも1つのマイクロコンピュータの不揮発性メモリに記憶されたデータを更新する際、全てのマイクロコンピュータは、通常処理を行う通常動作モードから、データの書き換え処理を行う書き換えモードに移行する。このデータ書き換え時に、通信障害などが起きて、各マイクロコンピュータが落ちると、幾つかのマイクロコンピュータで書き換えが未終了のままとなる。この状態で電子制御装置が再起動されると、あるマイクロコンピュータは書き換えモードで立ち上がり、他のマイクロコンピュータは通常動作モードで立ち上がる。 As described above, there has been conventionally described an electronic control device that rewrites data in a nonvolatile memory built in each of a plurality of microcomputers. In such an electronic control device, when updating the data stored in the nonvolatile memory of at least one of the plurality of microcomputers, all the microcomputers start from the normal operation mode in which normal processing is performed. Transition to the rewrite mode for performing the rewrite process. If a communication failure occurs at the time of data rewriting and each microcomputer falls, rewriting remains unfinished in some microcomputers. When the electronic control unit is restarted in this state, some microcomputers start up in the rewrite mode, and other microcomputers start up in the normal operation mode.
上記したように、通常処理を行う場合、全てのマイクロコンピュータは通常動作モードであり、書き換え処理を行う場合、全てのマイクロコンピュータは書き換えモードである。したがって、各マイクロコンピュータは、同一のモードに適した信号を送受信する。しかしながら、上記のように、通信障害のために、各マイクロコンピュータが異なるモードで立ち上がると、各マイクロコンピュータは、自身のモードに適した信号を送受信しなくなる。そのため、各マイクロコンピュータにて誤動作が起きる可能性がある。 As described above, when the normal process is performed, all the microcomputers are in the normal operation mode, and when the rewrite process is performed, all the microcomputers are in the rewrite mode. Therefore, each microcomputer transmits and receives signals suitable for the same mode. However, as described above, when each microcomputer starts up in a different mode due to a communication failure, each microcomputer does not transmit or receive a signal suitable for its own mode. Therefore, malfunction may occur in each microcomputer.
そこで、本発明は上記問題点に鑑み、マイクロコンピュータにて誤動作が生じることが抑制された制御システムを提供することを目的とする。 In view of the above problems, an object of the present invention is to provide a control system in which malfunctions are prevented from occurring in a microcomputer.
上記した目的を達成するために、本発明は、アプリケーションソフト及びリプログラミングソフトが記憶されたメモリ(12,22)と、アプリケーションソフト若しくはリプログラミングソフトに基づいて動作するCPU(11,21)と、を有するマイコン(10,20)を複数備え、複数のマイコンそれぞれが電気的に接続された制御システムであって、複数のマイコンそれぞれのCPUが、アプリケーションソフトに基づいて動作するアプリモードであるのか、それとも、リプログラミングソフトに基づいて動作するリプログモードであるのかを判定する判定部(30)を有し、判定部は、複数のマイコンのCPUの全てがアプリモードであると判定した場合、複数のマイコンのCPUの全てに、アプリモードに移行する指示を含む第1制御信号を出力し、複数のマイコンのCPUの少なくとも1つがリプログモードであると判定した場合、複数のマイコンのCPUの全てに、リプログモードに移行する指示を含む第2制御信号を出力しており、複数のマイコンそれぞれのCPUは、アプリモードの場合、複数のマイコン間の通信が正常か否かを判定し、通信が正常だと判定した場合、アプリモードを維持し、通信が正常ではないと判定した場合、判定部から、第2制御信号が入力されているか否かを判定し、第2制御信号が入力されていると判定した場合、リプログモードに移行し、第2制御信号が入力されていないと判定した場合、自身と電気的に接続された外部装置にリセット信号の送信指示を含む指示信号を出力することを特徴とする。 To achieve the above object, the present invention includes a memory (12, 22) in which application software and reprogramming software are stored, a CPU (11, 21) that operates based on the application software or reprogramming software, A control system in which a plurality of microcomputers (10, 20) are provided and each of the plurality of microcomputers is electrically connected, and the CPU of each of the plurality of microcomputers is in an application mode that operates based on application software, Or it has the determination part (30) which determines whether it is the reprogram mode which operate | moves based on reprogramming software, and the determination part determines that all of CPUs of a plurality of microcomputers are application modes. All microcomputer CPUs contain instructions for switching to application mode 1 outputs a control signal, when at least one of the plurality of microcomputers CPU but it is determined that the reprogramming mode, all of the plurality of microcomputers CPU, and outputs a second control signal including an instruction to shift to reprogramming mode In the application mode, the CPU of each of the plurality of microcomputers determines whether or not the communication between the plurality of microcomputers is normal. If the communication is determined to be normal, the CPU maintains the application mode and the communication is not normal. If it is determined, the determination unit determines whether or not the second control signal is input. If it is determined that the second control signal is input, the process proceeds to the reprogress mode and the second control signal is input. If it is determined that it is not, an instruction signal including a reset signal transmission instruction is output to an external device electrically connected to itself .
このように本発明によれば、判定部によって、複数のマイコン(10,20)のCPU(11,21)の少なくとも1つがリプログラモードであると判定された場合、複数のマイコン(10,20)のCPU(11,21)の全てに、リプログモードに移行する指示を含む第2制御信号が出力される。これによれば、通信障害などによって、リプログラミングが未終了のマイコンがあったとしても、各マイコン(10,20)のCPU(11,21)が、強制的にリプログモードに移行される。そのため、各マイコン(10,20)のモードが不一致となった結果、各マイコン(10,20)間で適した信号を送受信しなくなることが抑制される。この結果、各マイコン(10,20)にて誤動作が生じることが抑制される。 Thus, according to the present invention, when the determination unit determines that at least one of the CPUs (11, 21) of the plurality of microcomputers (10, 20) is in the reprogram mode, the plurality of microcomputers (10, 20). The second control signal including an instruction to shift to the reprogress mode is output to all the CPUs (11, 21). According to this, even if there is a microcomputer that has not been reprogrammed due to a communication failure or the like, the CPU (11, 21) of each microcomputer (10, 20) is forcibly shifted to the reprogress mode. Therefore, as a result of the mismatch between the modes of the microcomputers (10, 20), it is possible to prevent a suitable signal from being transmitted / received between the microcomputers (10, 20). As a result, malfunctions in the microcomputers (10, 20) are suppressed.
以下、本発明の実施の形態を図に基づいて説明する。
(第1実施形態)
図1及び図2に基づいて、本実施形態に係る制御システムを説明する。図1に示すように、制御システム100は、要部として、第1マイコン10と、第2マイコン20と、判定部30と、を有する。マイコン10,20それぞれと判定部30とは電気的に接続されており、マイコン10,20それぞれは、書き換え装置などの外部装置と電気的に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
Based on FIG.1 and FIG.2, the control system which concerns on this embodiment is demonstrated. As shown in FIG. 1, the
マイコン10,20それぞれは、外部装置から入力される信号によって起動が制御される構成となっている。具体的に言えば、マイコン10,20それぞれは、外部装置から入力されるリセット信号の入力が解除されると、起動される構成となっている。リセット信号が解除されるタイミングは、マイコン10,20それぞれで同時となっており、マイコン10,20それぞれは、同時に起動される。
Each of the
第1マイコン10は、第1CPU11と、第1メモリ12と、を有し、第2マイコン20は、第2CPU21と、第2メモリ22と、を有する。メモリ12,22それぞれには、アプリケーションソフト(以下、アプリと示す)及びリプログラミングソフト(以下、リプログと示す)が記憶されており、CPU11,21それぞれは、アプリ若しくはリプログに基づいて動作する。
The
CPU11,21それぞれは、アプリに基づいて動作するアプリモードの場合、通常処理を行い、リプログに基づいて動作するリプログモードの場合、書き換え装置から入力されるデータに基づいて、メモリ12,22に記憶されたデータの書き換え処理を行う。また、CPU11,21それぞれは、アプリモードの場合、自身がアプリモードである旨を含む第1モード信号を判定部30に出力し、リプログモードの場合、自身がリプログモードである旨を含む第2モード信号を判定部30に出力する。CPU11,21それぞれは、判定部30から、後述する第1制御信号が入力されると、アプリモードに強制的に移行され、後述する第2制御信号が入力されると、リプログモードに強制的に移行される。ちなみに、本実施形態に係る第1モード信号は、電圧レベルの低いLo信号であり、第2モード信号は、Lo信号よりも電圧レベルの高いHi信号である。
Each of the
判定部30は、CPU11,21それぞれが、アプリモードであるのか、それとも、リプログモードであるのかを判定するものである。判定部30は、CPU11,21それぞれがアプリモードであると判定した場合、CPU11,21それぞれに、アプリモードに移行する指示を含む第1制御信号を出力し、CPU11,21の少なくとも1つがリプログモードであると判定した場合、CPU11,21それぞれに、リプログモードに移行する指示を含む第2制御信号を出力する。上記したように、CPU11,21それぞれは、各モードに対応したモード信号を判定部30に出力する。判定部30は、CPU11,21それぞれから第1モード信号が入力された場合、CPU11,21それぞれに、第1制御信号を出力する。こうすることで、CPU11,21それぞれを、アプリモードにする。これとは異なり、判定部30は、CPU11,21の少なくとも1つから第2モード信号が入力された場合、CPU11,21それぞれに、第2制御信号を出力する。こうすることで、判定部30は、CPU11,21それぞれを、リプログモードにする。本実施形態に係る判定部30は、ORを含み、第1制御信号はLo信号、第2制御信号はHi信号である。
The
次に、本実施形態に係る制御システム100の起動動作を図2に基づいて説明する。CPU11,21それぞれに入力されているリセット信号が解除され、CPU11,21それぞれが起動すると、図2に示す処理を同時に行う。
Next, the starting operation of the
CPU11,21それぞれは、先ず、メモリ12,22の書き込み処理が正常に終了しているか否かを判定する。CPU11,21それぞれは、メモリ12,22の書き込み処理が正常に終了していないと判定した場合、ステップS20に移行し、メモリ12,22の書き込み処理が正常に終了していると判定した場合、ステップS40に移行する。以上が、ステップS10である。
First, each of the
ステップS20に移行すると、CPU11,21それぞれは、リプログモードに移行する。以上が、ステップS20である。
After shifting to step S20, each of the
ステップS20後、CPU11,21それぞれは、第2モード信号を判定部30に出力して、書き換え処理を行う。以上が、ステップS30である。
After step S20, each of the
これとは異なり、ステップS40に移行すると、CPU11,21それぞれは、アプリモードに移行する。以上が、ステップS40である。
In contrast, when the process proceeds to step S40, each of the
ステップS40後、CPU11,21それぞれは、第1モード信号を判定部30に出力する。以上が、ステップS50である。
After step S40, each of the
ステップS50後、CPU11,21それぞれは、マイコン10,20間の通信が正常か否かを判定する。CPU11,21それぞれは、マイコン10,20間の通信が正常だと判定した場合、アプリモードを維持して、通常処理を行う。これとは異なり、CPU11,21それぞれは、マイコン10,20間の通信が正常ではないと判定した場合、ステップS70に移行する。以上が、ステップS60である。
After step S50, each of the
ステップS70に移行すると、CPU11,21それぞれは、判定部30から第2制御信号が入力されているか否かを判定する。CPU11,21それぞれは、第2制御信号が入力されていると判定した場合、ステップS20に移行して、リプログモードに移行する。そして、上記したステップS30を経て、書き換え処理を行う。これとは異なり、CPU11,21それぞれは、第2制御信号が入力されていないと判定した場合、通信障害が起きていると判定して、書き込み装置に、リセット信号の送信指示を含む指示信号を出力して、リセット処理を行う。
In step S <b> 70, each of the
なお、CPU11,21それぞれは、ステップS40にてアプリモードに移行すると、マイコン10,20間の通信が正常か否かの判定と、第2制御信号が入力されているか否かの判定と、を同時にし始める。通信が正常か否かを判定する時間の長さは、第2制御信号が入力されているか否かを判定する時間の長さよりも長くなっている。具体的に言えば、通信が正常か否かを判定する時間は、第2制御信号が入力されているか否かを判定する時間の2倍程度に設定されている。そのため、通信が正常か否かの判定がなされた後に、第2制御信号が入力されているか否かの判定がなされる。
Each of the
次に、本実施形態に係る制御システム100の作用効果を説明する。例えば、通信障害などのため、第1マイコン10にて書き換え処理が正常に終了したが、第2マイコン20にて書き換えが未終了となった場合、各マイコン10,20それぞれの起動時に、第1マイコン10から第1モード信号が出力され、第2マイコン20から第2モード信号が出力される。この結果、判定部30から第2制御信号がCPU11,21に入力され、CPU11,21は、リプログモードに移行する。これとは逆に、第1マイコン10にて書き換え処理が未終了だが、第2マイコン20にて書き換えが正常に終了した場合、各マイコン10,20それぞれの起動時に、第1マイコン10から第2モード信号が出力され、第2マイコン20から第1モード信号が出力される。この結果、判定部30から第2制御信号がCPU11,21に入力され、CPU11,21は、リプログモードに移行する。
Next, effects of the
これによれば、第1マイコン10と第2マイコン20それぞれが、通信障害のために、異なるモードで起動したとしても、同一のモードに移行される。そのため、マイコン10,20それぞれのモードが不一致となった結果、マイコン10,20間で適した信号を送受信しなくなることが抑制される。このため、マイコン10,20それぞれにて誤動作が生じることが抑制される。
According to this, even if each of the
ちなみに、マイコン10,20それぞれにて書き換え処理が正常に終了した場合、マイコン10,20それぞれの起動時に、マイコン10,20それぞれから第1モード信号が出力される。そのため、判定部30から第1制御信号がCPU11,21に入力され、CPU11,21それぞれは、アプリモードに移行する。これとは異なり、マイコン10,20それぞれにて書き換え処理が未終了の場合、マイコン10,20それぞれの起動時に、マイコン10,20それぞれから第2モード信号が出力される。そのため、判定部30から第2制御信号がCPU11,21に入力され、CPU11,21それぞれは、リプログモードに移行する。
Incidentally, when the rewriting process is normally completed in each of the
以上、示したように、第1マイコン10と第2マイコン20それぞれが、いかなるモードで起動したとしても、同一のモードに移行される。そのため、マイコン10,20それぞれのモードが不一致となった結果、マイコン10,20間で適した信号を送受信しなくなることが抑制される。このため、マイコン10,20それぞれにて誤動作が生じることが抑制される。
As described above, the
CPU11,21それぞれは、図2に示す処理を行う。これによれば、CPU11,21それぞれが、異なる処理を行う構成と比べて、その処理を行うためのプログラムを作成する時間が短くなる。
Each of the
通信障害が起きると、リプログラミングが未終了となるマイコンが生じる虞がある。したがって、本実施形態では、CPU11,21それぞれは、マイコン10,20間の通信が正常か否かを判定する。こうすることで、リプログラミングが未終了となるマイコンが生じたか否かが判定される。
When a communication failure occurs, there is a possibility that a microcomputer in which reprogramming is not completed may occur. Therefore, in this embodiment, each of the
CPU11,21それぞれは、マイコン10,20間の通信が正常か否かの判定と、第2制御信号が入力されているか否かの判定と、を同時にし始める。そして、通信が正常か否かを判定する時間の長さは、第2制御信号が入力されているか否かを判定する時間の長さよりも長くなっている。これによれば、通信が正常か否かを判定する時間の長さが、第2制御信号が入力されているか否かを判定する時間の長さよりも短い構成とは異なり、CPU11,21が、通信が正常か否かを判定する前に、第2制御信号が入力されているか否かを判定する、という誤動作をすることが抑制される。
Each of the
(第2実施形態)
次に、本発明の第2実施形態を、図3〜図5に基づいて説明する。第2実施形態に係る制御システム100は、第1実施形態によるものと共通するところが多いので、以下、共通部分については詳しい説明を省略し、異なる部分を重点的に説明する。なお、第1実施形態で示した要素と同一の要素には、同一の符号を付与している。
(Second Embodiment)
Next, 2nd Embodiment of this invention is described based on FIGS. Since the
第1実施形態では、マイコン10,20それぞれは、外部装置から入力されるリセット信号の入力が解除されることで起動される構成となっており、リセット信号が解除されるタイミングは、マイコン10,20それぞれで同時となっている例を示した。これに対して、本実施形態では、第1マイコン10は、外部装置から入力されるリセット信号の入力が解除されることで起動されるのに対して、第2マイコン20は、第1マイコン10から入力されるリセット信号の入力が解除されることで起動される点を特徴とする。したがって、第1実施形態とは異なり、本実施形態では、第1マイコン10が起動した後、第2マイコン20が起動される。
In the first embodiment, each of the
更に、本実施形態では、第1マイコン10は、自身が、アプリ若しくはリプログに基づいて動作した後に、第2マイコン20を起動させる。そして、第2マイコン20は、図5に示すように、起動した後、先ず、判定部30から第2制御信号が入力されているかを判定する(ステップS90)。第2CPU21は、第2制御信号が入力されていると判定した場合、ステップS20に移行して、リプログモードに移行する。そして、上記したステップS30を経て、書き換え処理を行う。また、第2CPU21は、第2制御信号が入力されていないと判定した場合、第1実施形態と同様にして、ステップS10〜ステップS70の処理を行う。
Further, in the present embodiment, the
これによれば、第2マイコンの立ち上がり時、第2CPUが、リプログの書き換え処理が終了したか否かを判定した後、判定部から第2制御信号が入力されているかを判定する構成と比べて、第2CPU21が、アプリに基づいて動作するのか、それとも、リプログに基づいて動作するのか、を判定する時間が短くなる。この結果、外乱ノイズによる誤作動が第2CPU21で生じることが抑制される。
According to this, when the second microcomputer starts up, the second CPU determines whether or not the reprogram rewriting process has been completed, and then determines whether or not the second control signal is input from the determination unit. The time for determining whether the
第1実施形態では、CPU11,21それぞれは、ステップS40にてアプリモードに移行すると、マイコン10,20間の通信が正常か否かの判定と、第2制御信号が入力されているか否かの判定と、を同時にし始める。そして、通信が正常か否かを判定する時間の長さは、第2制御信号が入力されているか否かを判定する時間の長さよりも長くなっている例を示した。これに対して、本実施形態では、第1CPU11が、ステップS40にてアプリモードに移行すると、マイコン10,20間の通信が正常か否かの判定と、第2制御信号が入力されているか否かの判定と、を同時にし始める。そして、第1CPU11は、ステップS50にて第1モード信号を出力した後、通信が正常か否かを判定するのに要する時間、及び、第2制御信号が入力されているか否かを判定するのに要する時間よりも長い待機時間だけ待機する(図4に示すステップS80を行う)。待機時間が経過した後、第1CPU11は、ステップS60に移行して、マイコン10,20間の通信が正常か否かを判定する処理を行う。
In the first embodiment, each of the
これによれば、第1CPU11が、通信が正常か否かを判定する前に、第2制御信号が入力されているか否かを判定する、という誤動作をすることが抑制される。
According to this, it is possible to prevent 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.
各実施形態では、マイコン10,20それぞれが外部装置と電気的に接続された例を示した。しかしながら、図6に示すように、第1マイコン10のみが外部装置と電気的に接続された構成を採用することもできる。
In each embodiment, the example in which each of the
本実施形態では、第1モード信号がLo信号であり、第2モード信号がHi信号である例を示した。しかしながら、第1モード信号がHi信号であり、第2モード信号がLo信号であってもよい。 In the present embodiment, an example in which the first mode signal is the Lo signal and the second mode signal is the Hi signal is shown. However, the first mode signal may be a Hi signal and the second mode signal may be a Lo signal.
本実施形態では、第1制御信号がLo信号であり、第2制御信号がHi信号である例を示した。しかしながら、第1制御信号がHi信号であり、第2制御信号がLo信号であってもよい。 In the present embodiment, an example in which the first control signal is the Lo signal and the second control signal is the Hi signal has been described. However, the first control signal may be a Hi signal and the second control signal may be a Lo signal.
各実施形態では、判定部30がORを含む例を示した。しかしながら、図6に示すように、判定部30がNORを含む構成を採用することができる。また、図示しないが、判定部30がNAND、若しくは、ANDを含む構成を採用することもできる。
In each embodiment, the
ちなみに、判定部30がNORを含む場合、第1モード信号がLo信号、第2モード信号がHi信号となり、第1制御信号がHi信号、第2制御信号がLo信号となる。判定部30がNANDを含む場合、第1モード信号がHi信号、第2モード信号がLo信号となり、第1制御信号がLo信号、第2制御信号がHi信号となる。そして、判定部30がANDを含む場合、第1モード信号がHi信号、第2モード信号がLo信号となり、第1制御信号がHi信号、第2制御信号がLo信号となる。
Incidentally, when the
10・・・第1マイコン
11・・・第1CPU
12・・・第1メモリ
20・・・第2マイコン
21・・・第2CPU
22・・・第2メモリ
30・・・判定部
100・・・制御システム
10 ...
12 ...
22 ...
Claims (5)
複数の前記マイコンそれぞれのCPUが、前記アプリケーションソフトに基づいて動作するアプリモードであるのか、それとも、前記リプログラミングソフトに基づいて動作するリプログモードであるのかを判定する判定部(30)を有し、
前記判定部は、
複数の前記マイコンのCPUの全てが前記アプリモードであると判定した場合、複数の前記マイコンのCPUの全てに、前記アプリモードに移行する指示を含む第1制御信号を出力し、
複数の前記マイコンのCPUの少なくとも1つが前記リプログモードであると判定した場合、複数の前記マイコンのCPUの全てに、前記リプログモードに移行する指示を含む第2制御信号を出力しており、
複数の前記マイコンそれぞれのCPUは、
前記アプリモードの場合、複数の前記マイコン間の通信が正常か否かを判定し、
通信が正常だと判定した場合、前記アプリモードを維持し、
通信が正常ではないと判定した場合、前記判定部から、前記第2制御信号が入力されているか否かを判定し、
前記第2制御信号が入力されていると判定した場合、前記リプログモードに移行し、
前記第2制御信号が入力されていないと判定した場合、自身と電気的に接続された外部装置にリセット信号の送信指示を含む指示信号を出力することを特徴とする制御システム。 A plurality of microcomputers (10, 20) having memories (12, 22) storing application software and reprogramming software and CPUs (11, 21) operating based on the application software or the reprogramming software are provided. A control system in which each of the plurality of microcomputers is electrically connected,
A determination unit (30) for determining whether a CPU of each of the plurality of microcomputers is in an application mode that operates based on the application software or a reprogram mode that operates based on the reprogramming software; ,
The determination unit
When it is determined that all of the CPUs of the plurality of microcomputers are in the application mode, a first control signal including an instruction to shift to the application mode is output to all of the CPUs of the plurality of microcomputers,
If it is determined that at least one of the CPUs of the plurality of microcomputers is in the reprolog mode, a second control signal including an instruction to shift to the reprolog mode is output to all of the CPUs of the plurality of microcomputers ;
The CPU of each of the plurality of microcomputers is
In the case of the application mode, it is determined whether communication between the plurality of microcomputers is normal,
If it is determined that the communication is normal, the application mode is maintained,
When it is determined that the communication is not normal, the determination unit determines whether the second control signal is input,
When it is determined that the second control signal is input, the mode is shifted to the reprogress mode,
When it is determined that the second control signal is not input , the control system outputs an instruction signal including a reset signal transmission instruction to an external device electrically connected to the second control signal .
前記判定部は、複数の前記マイコンのCPUの全てから前記第1モード信号が入力された場合、複数の前記マイコンのCPUの全てに、前記第1制御信号を出力し、複数の前記マイコンのCPUの少なくとも1つから前記第2モード信号が入力された場合、複数の前記マイコンのCPUの全てに、前記第2制御信号を出力することを特徴とする請求項1に記載の制御システム。 The CPU of each of the plurality of microcomputers outputs a first mode signal to the determination unit in the application mode, and outputs a second mode signal to the determination unit in the reprogress mode,
When the first mode signal is input from all of the CPUs of the plurality of microcomputers, the determination unit outputs the first control signal to all of the CPUs of the plurality of microcomputers. 2. The control system according to claim 1, wherein when the second mode signal is input from at least one of the second control signal, the second control signal is output to all of the CPUs of the plurality of microcomputers.
前記第1モード信号及び前記第2モード信号の他方は、前記Hi信号よりも電圧レベルの低いLo信号であり、
前記第1制御信号及び前記第2制御信号の一方は、前記Hi信号であり、
前記第1制御信号及び前記第2制御信号の他方は、前記Lo信号であることを特徴とする請求項2に記載の制御システム。 One of the first mode signal and the second mode signal is a Hi signal,
The other of the first mode signal and the second mode signal is a Lo signal having a lower voltage level than the Hi signal.
One of the first control signal and the second control signal is the Hi signal,
The control system according to claim 2, wherein the other of the first control signal and the second control signal is the Lo signal.
前記第1マイコンのCPU(11)は、自身が、前記アプリモード若しくは前記リプログモードで動作した後に、前記第2マイコンを起動させ、
前記第2マイコンのCPU(21)は、起動した後、先ず、前記判定部から前記第1制御信号若しくは前記第2制御信号が入力されているかを判定することを特徴とする請求項1〜4のいずれか1項に記載の制御システム。 The activation of the second microcomputer (20) is controlled by the first microcomputer (10) which is one of the plurality of microcomputers,
The CPU (11) of the first microcomputer activates the second microcomputer after operating in the application mode or the reprolog mode,
CPU (21) of the second microcomputer, after started, claims 1 to 4, wherein the first control signal or the second control signal from said decision unit is characterized in that determining whether the inputted The control system according to any one of the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012251400A JP5880862B2 (en) | 2012-11-15 | 2012-11-15 | Control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012251400A JP5880862B2 (en) | 2012-11-15 | 2012-11-15 | Control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014099099A JP2014099099A (en) | 2014-05-29 |
| JP5880862B2 true JP5880862B2 (en) | 2016-03-09 |
Family
ID=50941047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012251400A Active JP5880862B2 (en) | 2012-11-15 | 2012-11-15 | Control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5880862B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5920243B2 (en) * | 2013-02-26 | 2016-05-18 | 株式会社デンソー | Control system |
| JP6102692B2 (en) | 2013-11-22 | 2017-03-29 | 株式会社デンソー | Electronic control unit |
| JP6753388B2 (en) * | 2017-11-13 | 2020-09-09 | 株式会社デンソー | Automatic driving control device, automatic driving control method for vehicles |
| JP7271973B2 (en) * | 2019-02-01 | 2023-05-12 | 株式会社デンソー | VEHICLE CONTROL DEVICE AND OPERATING CLOCK SWITCHING METHOD |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0650473B2 (en) * | 1987-01-05 | 1994-06-29 | 日本電気株式会社 | Emulator for multiple computers with built-in multiple processors |
| JPH06332752A (en) * | 1993-05-19 | 1994-12-02 | Nippondenso Co Ltd | Computer system |
| JP4755123B2 (en) * | 2007-02-19 | 2011-08-24 | ルネサスエレクトロニクス株式会社 | Operation mode control circuit for information processing apparatus and information processing apparatus |
| JP4367513B2 (en) * | 2007-03-28 | 2009-11-18 | 株式会社デンソー | Electronic control unit |
| JP5488405B2 (en) * | 2010-11-02 | 2014-05-14 | 株式会社デンソー | Electronic control unit |
-
2012
- 2012-11-15 JP JP2012251400A patent/JP5880862B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014099099A (en) | 2014-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6044316B2 (en) | In-vehicle electronic control unit | |
| JP6692763B2 (en) | Control device and control program updating method | |
| JP6021597B2 (en) | Information processing apparatus, information processing method, and computer program | |
| JP5880862B2 (en) | Control system | |
| JP6175788B2 (en) | Electronic devices that can update microprograms | |
| JP6723941B2 (en) | Control device and control program updating method | |
| JP6001962B2 (en) | Inverter device | |
| JP5084853B2 (en) | Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program | |
| WO2016136014A1 (en) | Monitoring recorder | |
| KR100849212B1 (en) | Memory card and method for updating of memory card program | |
| JP2008226111A (en) | Duplex controller system, operating system controller | |
| JP5920243B2 (en) | Control system | |
| JP6102692B2 (en) | Electronic control unit | |
| JP2007122151A (en) | Boot controller and boot control method | |
| JP5774941B2 (en) | Configuration device and configuration method | |
| JP6351882B1 (en) | Programmable logic controller and program | |
| JP2007172096A (en) | Information processing apparatus and activation control method thereof | |
| JP5944017B2 (en) | Information processing apparatus and program | |
| JP2010176182A (en) | Electronic equipment | |
| JP2018180608A (en) | Program execution device and program execution method | |
| JP5413809B2 (en) | Data processing apparatus and data processing method | |
| JP5720206B2 (en) | Microprocessor | |
| JP2014016947A (en) | Programmable controller | |
| JP2018032312A (en) | Memory access device and memory access method | |
| JP2009205569A (en) | Electronic apparatus, and program rewriting method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150203 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150908 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151020 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151208 |
|
| 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: 20160106 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160119 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5880862 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |