JP6183296B2 - Vehicle equipment and method for starting vehicle equipment - Google Patents

Vehicle equipment and method for starting vehicle equipment Download PDF

Info

Publication number
JP6183296B2
JP6183296B2 JP2014114281A JP2014114281A JP6183296B2 JP 6183296 B2 JP6183296 B2 JP 6183296B2 JP 2014114281 A JP2014114281 A JP 2014114281A JP 2014114281 A JP2014114281 A JP 2014114281A JP 6183296 B2 JP6183296 B2 JP 6183296B2
Authority
JP
Japan
Prior art keywords
microcomputer
data
activation
transmitted
confirmed
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
JP2014114281A
Other languages
Japanese (ja)
Other versions
JP2015227143A (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 JP2014114281A priority Critical patent/JP6183296B2/en
Publication of JP2015227143A publication Critical patent/JP2015227143A/en
Application granted granted Critical
Publication of JP6183296B2 publication Critical patent/JP6183296B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、車両用機器、車両用機器の起動方法に関する。   The present invention relates to a vehicle device and a method for starting a vehicle device.

車両に搭載される車両用機器としては、マイクロコンピュータで構成された電子制御装置(以下、ECU(Electronic Control Unit)と称する)が広く知られている。このようなECUは、処理や負荷を分散することを目的として、複数のマイクロコンピュータで構成されていることがある。そのような複数のマイクロコンピュータを有するECUでは、マイクロコンピュータ間でデータの送受信を正しく行うために、互いのマイクロコンピュータ間の通信状態が正常であるか否かを把握しておく必要がある。そのため、例えば特許文献1には、通常動作時において、親局と子局との間の通信異常の有無の確認をすることができる電子制御装置が提案されている。   2. Description of the Related Art An electronic control device (hereinafter referred to as an ECU (Electronic Control Unit)) configured with a microcomputer is widely known as a vehicle device mounted on a vehicle. Such an ECU may be composed of a plurality of microcomputers for the purpose of distributing processing and load. In an ECU having such a plurality of microcomputers, it is necessary to know whether or not the communication state between the microcomputers is normal in order to correctly transmit and receive data between the microcomputers. For this reason, for example, Patent Document 1 proposes an electronic control device that can check whether there is a communication abnormality between the master station and the slave station during normal operation.

特開2005−61269号公報JP 2005-61269 A

ところで、複数のマイクロコンピュータが存在する場合、電源が投入された直後の所定の期間すなわち電源投入時においては、各マイクロコンピュータで起動処理が実行され、その起動処理が完了すると各マイクロコンピュータが通常の動作を開始する。このとき、起動処理に要する期間は各マイクロコンピュータにより異なることが考えられ、必ずしも全てのマイクロコンピュータにおいて同時期に起動処理が完了するというわけではない。
そのため、電源投入時には、起動処理が完了していないマイクロコンピュータに対してデータを送信してしまうと、通常動作時であれば受信側となるマイクロコンピュータで受信されるはずのデータが、受信されないまま破棄され、消失してしまうおそれがある。
By the way, when there are a plurality of microcomputers, a startup process is executed in each microcomputer during a predetermined period immediately after the power is turned on, that is, at the time of power-on. Start operation. At this time, it is conceivable that the period required for the startup process differs depending on each microcomputer, and the startup process is not necessarily completed at the same time in all the microcomputers.
For this reason, if data is sent to a microcomputer that has not completed startup processing when the power is turned on, the data that should have been received by the receiving microcomputer during normal operation remains unreceived. There is a risk of being destroyed and lost.

本発明は上記事情に鑑みてなされたものであり、その目的は、電源が投入された直後の所定の期間におけるデータの消失を防止することができるとともに、その期間のデータを通信相手側のマイクロコンピュータに確実に送信することができる車両用機器、車両用機器の起動方法を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to prevent the loss of data in a predetermined period immediately after the power is turned on, and to transmit the data in that period to the communication partner side. An object of the present invention is to provide a vehicle device that can be reliably transmitted to a computer and a method for starting the vehicle device.

請求項1記載の発明では、車両用機器は、互いに通信可能に接続されている複数のマイクロコンピュータを備え、複数のマイクロコンピュータは、電源が投入された直後の所定の期間において、通信相手側となるマイクロコンピュータの起動が確認できるまで通信相手側のマイクロコンピュータに送信するためのデータを保持し続けるとともに、通信相手側となるマイクロコンピュータの起動が確認できた場合には、保持しているデータを自動で送信する。これにより、電源が投入された直後の所定の期間におけるデータの消失を防止することができる。また、保持しているデータを自動で送信することから、データを通信相手側のマイクロコンピュータに確実に送信することができる。
データを通信相手側のマイクロコンピュータに確実に送信することができる。
In the first aspect of the present invention, the vehicular device includes a plurality of microcomputers that are communicably connected to each other, and the plurality of microcomputers communicate with the communication partner side in a predetermined period immediately after the power is turned on. The data to be transmitted to the microcomputer on the other end of the communication is kept until the microcomputer can be confirmed to be activated, and if the activation of the microcomputer on the other end of the communication is confirmed, the retained data is Send automatically. As a result, it is possible to prevent data loss during a predetermined period immediately after the power is turned on. Further, since the stored data is automatically transmitted, the data can be reliably transmitted to the microcomputer on the communication partner side.
Data can be reliably transmitted to the microcomputer on the communication partner side.

一実施形態による車両用機器の電気的構成を模式的に示す図The figure which shows typically the electric constitution of the apparatus for vehicles by one Embodiment. 車両用機器の電源投入時における処理の流れを模式的に示す図The figure which shows typically the flow of the process at the time of power activation of the apparatus for vehicles 電源投入時におけるデータの送受信タイミングの一例を示す図The figure which shows an example of the transmission and reception timing of the data at the time of power activation

以下、本発明の一実施形態について、図1から図3を参照しながら説明する。
図1に示すように、本実施形態の車両用機器に相当するECU1(Electronic Control Unit)は、図示しない車両に搭載されており、車載LAN2を介して車両に搭載されている他のECU3、ECU4、ECU5等に通信可能に接続されている。車載LAN2は、例えばCAN(Controller Area Network)等の周知のものを想定している。なお、車両には例えばエンジンECUやメータECU、空調ECUなど各種のECUが存在するが、本発明は、ECUの種類によらず適用することができる。
ECU1は、第1のマイクロコンピュータ10と、第1のマイクロコンピュータ10に通信可能に接続されている第2のマイクロコンピュータ11とで構成されている。なお、図1では図示を省略しているが、ECU1には、電源回路や周辺回路が設けられている。
Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1 to 3.
As shown in FIG. 1, an ECU 1 (Electronic Control Unit) corresponding to the vehicle device of the present embodiment is mounted on a vehicle (not shown), and other ECUs 3 and ECUs 4 mounted on the vehicle via an in-vehicle LAN 2. The ECU 5 and the like are communicably connected. The in-vehicle LAN 2 is assumed to be a known one such as a CAN (Controller Area Network). Various types of ECUs such as an engine ECU, a meter ECU, and an air conditioning ECU exist in the vehicle, but the present invention can be applied regardless of the type of ECU.
The ECU 1 includes a first microcomputer 10 and a second microcomputer 11 that is communicably connected to the first microcomputer 10. In addition, although illustration is abbreviate | omitted in FIG. 1, ECU1 is provided with the power supply circuit and the peripheral circuit.

第1のマイクロコンピュータ10は、車載LAN2に接続されており、車載LAN2から送信されたデータを第2のマイクロコンピュータ11に中継する中継機能を有している。第2のマイクロコンピュータ11は、第1のマイクロコンピュータ10を経由して、車載LAN2から送信されたデータを受け取る。これら第1のマイクロコンピュータ10と第2のマイクロコンピュータ11との間は、例えばシリアル通信や共有メモリ等を用いたいわゆるマイコン間通信により通信可能に接続されている。また、本実施形態では、第1のマイクロコンピュータ10により、第2のマイクロコンピュータ11の起動が制御されている。   The first microcomputer 10 is connected to the in-vehicle LAN 2 and has a relay function for relaying data transmitted from the in-vehicle LAN 2 to the second microcomputer 11. The second microcomputer 11 receives data transmitted from the in-vehicle LAN 2 via the first microcomputer 10. The first microcomputer 10 and the second microcomputer 11 are communicably connected by so-called microcomputer communication using, for example, serial communication or a shared memory. In the present embodiment, the first microcomputer 10 controls the activation of the second microcomputer 11.

このような構成のECU1には、他のECU3〜ECU5から、第2のマイクロコンピュータ11に対してデータが送信されてくる。そのデータは、第1のマイクロコンピュータ10にて受信された後、第2のマイクロコンピュータ11に送信される。このとき、他のECU3〜ECU5は、ECU1とは独立して起動する。このため、他のECU3〜ECU5は、ECU1に設けられている第2のマイクロコンピュータ11の起動状態に関わらず、換言すると、第2のマイクロコンピュータ11の状態を確認することなく、ECU1に対してデータを送信する。   Data is transmitted to the second microcomputer 11 from the other ECUs 3 to 5 to the ECU 1 having such a configuration. The data is received by the first microcomputer 10 and then transmitted to the second microcomputer 11. At this time, the other ECU3 to ECU5 are activated independently of the ECU1. Therefore, the other ECUs 3 to 5 do not check the state of the second microcomputer 11 regardless of the activation state of the second microcomputer 11 provided in the ECU 1. Send data.

このとき、第2のマイクロコンピュータ11の起動が完了していない状態では、第1のマイクロコンピュータ10が他のECU3〜ECU5から受信したデータを第2のマイクロコンピュータ11に送信しても、第2のマイクロコンピュータ11はそのデータを受信することができない。その結果、他のECU3〜5から送信されたデータ(以下、車載LAN2側から受信したデータと称する)が、第2のマイクロコンピュータ11で受信されないまま破棄され、消失してしまうおそれがある。
そこで、本実施形態のECU1では、第1のマイクロコンピュータ10は、電源が投入された直後の所定の期間において、車載LAN2側から受信したデータを、第2のマイクロコンピュータ11の起動が確認できるまで保持し続ける。
At this time, in a state where the activation of the second microcomputer 11 has not been completed, even if the first microcomputer 10 transmits the data received from the other ECU3 to ECU5 to the second microcomputer 11, the second microcomputer 11 The microcomputer 11 cannot receive the data. As a result, data transmitted from the other ECUs 3 to 5 (hereinafter referred to as data received from the in-vehicle LAN 2 side) may be discarded without being received by the second microcomputer 11 and lost.
Therefore, in the ECU 1 according to the present embodiment, the first microcomputer 10 checks the data received from the in-vehicle LAN 2 side during the predetermined period immediately after the power is turned on until the activation of the second microcomputer 11 can be confirmed. Keep holding.

具体的には、第1のマイクロコンピュータ10は、電源が投入されるとまず自身の初期化処理を行った後、図2に示すように、第2のマイクロコンピュータ11の起動制御を行う(S1)。このとき、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11を起動させるために例えば第2のマイクロコンピュータ11のリセット状態を解除する制御等を行う。なお、第1のマイクロコンピュータ10から第2のマイクロコンピュータ11の起動を制御するのであれば、第2のマイクロコンピュータ11に対する電源の供給を開始する等、他の手法にて起動制御をする構成としてもよい。   Specifically, when the first microcomputer 10 is turned on, it first initializes itself, and then performs start-up control of the second microcomputer 11 as shown in FIG. 2 (S1). ). At this time, the first microcomputer 10 performs, for example, control for canceling the reset state of the second microcomputer 11 in order to activate the second microcomputer 11. If the activation of the second microcomputer 11 is controlled from the first microcomputer 10, the activation is controlled by another method such as starting the supply of power to the second microcomputer 11. Also good.

第2のマイクロコンピュータ11は、第1のマイクロコンピュータ10から起動制御が行われると、初期化処理等を実行することで起動を開始し、初期化処理が完了した時点で起動が完了することになる。
続いて、第1のマイクロコンピュータ10は、図2に示すように、起動が確認できたか否かを判定する(S2)。このステップS2の処理は、起動確認処理に相当する。このとき、第1のマイクロコンピュータ10は、図3に示すように、自身の起動が完了すると、第2のマイクロコンピュータ11に対して起動確認を行う。本実施形態では、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11に対して起動確認の問い合わせを送信し、その問い合わせに対する返信を受けたことをもって、第2のマイクロコンピュータ11が起動したと判定する。
When activation control is performed from the first microcomputer 10, the second microcomputer 11 starts activation by executing an initialization process or the like, and the activation is completed when the initialization process is completed. Become.
Subsequently, as shown in FIG. 2, the first microcomputer 10 determines whether or not activation has been confirmed (S2). The process in step S2 corresponds to an activation confirmation process. At this time, as shown in FIG. 3, the first microcomputer 10 confirms the activation of the second microcomputer 11 when the activation of the first microcomputer 10 is completed. In the present embodiment, the first microcomputer 10 transmits an activation confirmation inquiry to the second microcomputer 11 and receives the reply to the inquiry, whereby the second microcomputer 11 is activated. judge.

なお、本実施形態では、起動確認の問い合わせはマイコン間通信により行っているため、起動確認の問い合わせに対する返信が確認できれば、マイコン間通信も正常に動作していることを同時に確認することができる。
ところで、第1のマイクロコンピュータ10は、起動が完了した場合には車載LAN2側からデータを受信できる状態となっている。その一方で、第2のマイクロコンピュータ11は、第1のマイクロコンピュータ10が起動した後に起動を開始することから、第1のマイクロコンピュータ10よりも遅れて起動が完了する。このため、第1のマイクロコンピュータ10が車載LAN2側からデータを受信できたとしても、そのデータを第2のマイクロコンピュータ11では受信できない期間が存在する可能性がある。
In this embodiment, since the inquiry for the activation confirmation is performed by the communication between the microcomputers, if the reply to the inquiry for the activation confirmation can be confirmed, it can be simultaneously confirmed that the communication between the microcomputers is operating normally.
By the way, the first microcomputer 10 is ready to receive data from the in-vehicle LAN 2 side when the activation is completed. On the other hand, since the second microcomputer 11 starts starting after the first microcomputer 10 is started, the start is completed later than the first microcomputer 10. For this reason, even if the first microcomputer 10 can receive data from the in-vehicle LAN 2 side, there may be a period during which the second microcomputer 11 cannot receive the data.

そのため、第1のマイクロコンピュータ10は、図2に示すように、第2のマイクロコンピュータ11の起動が確認できていない場合において(S2:NO)、車載LAN2側からデータを受信した場合には(S8:YES)、受信したデータを受信バッファに記憶する(S9)。なお、受信バッファは、第1のマイクロコンピュータ10が有するRAM等を利用する構成としてもよいし、ECU1や第1のマイクロコンピュータ10内に専用の受信バッファを設ける構成としてもよい。   Therefore, as shown in FIG. 2, the first microcomputer 10 receives data from the in-vehicle LAN 2 side when the activation of the second microcomputer 11 has not been confirmed (S2: NO) ( (S8: YES), the received data is stored in the reception buffer (S9). The reception buffer may be configured to use a RAM or the like included in the first microcomputer 10 or may be configured to provide a dedicated reception buffer in the ECU 1 or the first microcomputer 10.

具体的には、第1のマイクロコンピュータ10は、図3に示すように、第2のマイクロコンピュータ11の起動が確認できる前に車載LAN2側からデータ(D1)を受信した場合、そのデータを一時的に記憶することで保持し続ける。一方、第1のマイクロコンピュータ10は、車載LAN2側からデータを受信していない場合には(S8:NO)、ステップS2に移行して起動確認を継続する。また、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11の起動が確認できる前に車載LAN2側から新たなデータ(D2)を受信した時には、そのデータ(D2)も保持し続ける。
そして、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11から起動確認の問い合わせに対する返信を受けると、図2に示すように、第2のマイクロコンピュータ11の起動が確認できたと判定する(S2:YES)。
Specifically, as shown in FIG. 3, when the first microcomputer 10 receives data (D1) from the in-vehicle LAN 2 side before the activation of the second microcomputer 11 can be confirmed, the first microcomputer 10 temporarily stores the data. Keep it by memorizing it. On the other hand, if the first microcomputer 10 has not received data from the in-vehicle LAN 2 side (S8: NO), the first microcomputer 10 proceeds to step S2 and continues the activation confirmation. Further, when the first microcomputer 10 receives new data (D2) from the in-vehicle LAN 2 side before the activation of the second microcomputer 11 can be confirmed, the first microcomputer 10 continues to hold the data (D2).
When the first microcomputer 10 receives a reply to the activation confirmation inquiry from the second microcomputer 11, it determines that the activation of the second microcomputer 11 has been confirmed as shown in FIG. 2 (S2). : YES)

第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11の起動が確認できると、すなわち、起動確認の問い合わせに対する返信を受信(起動受信)すると、受信バッファにデータがあるか否かを判定する(S3)。そして、第1のマイクロコンピュータ10は、受信バッファにデータがある場合には(S3:YES)、データ(D1、D2)を第2のマイクロコンピュータ11に自動で送信する(S4)。この、ステップS3、S4、および、上記したステップS8、S9の処理が、データ保持処理に相当する。   When the first microcomputer 10 can confirm the activation of the second microcomputer 11, that is, upon receiving a response to the activation confirmation inquiry (activation reception), the first microcomputer 10 determines whether or not there is data in the reception buffer ( S3). When there is data in the reception buffer (S3: YES), the first microcomputer 10 automatically transmits the data (D1, D2) to the second microcomputer 11 (S4). The processes in steps S3 and S4 and steps S8 and S9 described above correspond to the data holding process.

このとき、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11からデータ(D1)の受信確認を受け取ると、データ(D1)を受信バッファから削除する。同様に、第1のマイクロコンピュータ10は、受信バッファに記憶されているデータ(D2)を送信した場合には、第2のマイクロコンピュータ11からデータ(D2)の受信確認を受け取ると、データ(D2)を受信バッファから削除する。なお、本実施形態の場合、データの送信後にデータの受信確認を受け取ることは必ずしも必須ではない。   At this time, when the first microcomputer 10 receives the reception confirmation of the data (D1) from the second microcomputer 11, the first microcomputer 10 deletes the data (D1) from the reception buffer. Similarly, when the first microcomputer 10 transmits the data (D2) stored in the reception buffer, the first microcomputer 10 receives the data (D2) reception confirmation from the second microcomputer 11 and receives the data (D2). ) Is deleted from the receive buffer. In the case of the present embodiment, it is not always essential to receive a data reception confirmation after data transmission.

このように、本実施形態のECU1では、電源が投入された直後の所定の期間、つまり、データの送信先となる第2のマイクロコンピュータ11の起動が完了し、第2のマイクロコンピュータ11がデータを受信することができるようになるまでの期間においては、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11に送信するためのデータを保持し続けている。   As described above, in the ECU 1 according to the present embodiment, the start-up of the second microcomputer 11 that is a predetermined period immediately after the power is turned on, that is, the data transmission destination is completed, and the second microcomputer 11 receives the data. In the period until the first microcomputer 10 can be received, the first microcomputer 10 continues to hold data to be transmitted to the second microcomputer 11.

なお、第2のマイクロコンピュータ11の起動が完了した以降の期間は、いわゆる通常動作の期間となる。そのため、第1のマイクロコンピュータ10は、図2および図3に示すように、新たなデータ(D3)を車載LAN2側から受信すると(S6:YES)、起動確認を行うことなく、そのデータ(D3)を第2のマイクロコンピュータ11に送信する(S7)。そして、第1のマイクロコンピュータ10は、例えば電源がオフされた場合(S10:YES)等において、図2に示す処理を終了する。   The period after the start of the second microcomputer 11 is a so-called normal operation period. Therefore, as shown in FIG. 2 and FIG. 3, when the first microcomputer 10 receives new data (D3) from the in-vehicle LAN 2 side (S6: YES), the data (D3 ) Is transmitted to the second microcomputer 11 (S7). Then, for example, when the power is turned off (S10: YES), the first microcomputer 10 ends the processing shown in FIG.

以上説明した本実施形態のECU1によれば、次のような効果を得ることができる。
車両用機器としてのECU1は、互いに通信可能に接続されている第1のマイクロコンピュータ10および第2のマイクロコンピュータ11を備えている。このとき、電源が投入された直後の所定の期間においては、第1のマイクロコンピュータ10は、通信相手側となる第2のマイクロコンピュータ11の起動が確認できるまで、第2のマイクロコンピュータ11に送信するためのデータを保持し続けるとともに、第2のマイクロコンピュータ11の起動が確認できた場合には、保持しているデータを自動で送信する。これにより、電源が投入された直後の所定の期間におけるデータの消失、つまり、データが相手側に送信されることなく破棄されてしまうことを防止することができる。また、通信相手側となる第2のマイクロコンピュータ11にデータを自動で送信することから、データを通信相手側のマイクロコンピュータに確実に送信することができる。
According to ECU1 of this embodiment demonstrated above, the following effects can be acquired.
The ECU 1 as a vehicle device includes a first microcomputer 10 and a second microcomputer 11 that are connected to be communicable with each other. At this time, in a predetermined period immediately after the power is turned on, the first microcomputer 10 transmits to the second microcomputer 11 until the activation of the second microcomputer 11 serving as the communication partner side can be confirmed. If the activation of the second microcomputer 11 can be confirmed, the held data is automatically transmitted. As a result, it is possible to prevent the data from being lost in a predetermined period immediately after the power is turned on, that is, the data is not discarded without being transmitted to the other party. Further, since the data is automatically transmitted to the second microcomputer 11 which is the communication counterpart side, the data can be reliably transmitted to the microcomputer of the communication counterpart side.

ECU1は、車載LAN2に接続されており、ECU1とは独立して起動する他のECU3〜ECU5から送信されたデータを、第2のマイクロコンピュータ11に送信する第1のマイクロコンピュータ10と、第1のマイクロコンピュータ10に通信可能に接続され、当該第1のマイクロコンピュータ10から送信されたデータを受け取る第2のマイクロコンピュータ11とで構成されている。この場合、他のECU3〜ECU5は、ECU1の起動状態、より厳密には、第2のマイクロコンピュータ11の起動状態が確認できない。   The ECU 1 is connected to the in-vehicle LAN 2, and the first microcomputer 10 that transmits data transmitted from the other ECU 3 to ECU 5 that starts independently of the ECU 1 to the second microcomputer 11, and the first microcomputer 1. The second microcomputer 11 is communicably connected to the microcomputer 10 and receives data transmitted from the first microcomputer 10. In this case, the other ECU3 to ECU5 cannot confirm the activation state of the ECU1, more strictly the activation state of the second microcomputer 11.

このため、第2のマイクロコンピュータ11がデータを受信できない状態であっても他のECU3〜ECU5からデータが送信されてくる可能性があるものの、第1のマイクロコンピュータ10において第2のマイクロコンピュータ11に送信するデータを保持し続けることで、電源が投入された直後の所定の期間におけるデータの消失を防止することができる。   Therefore, even if the second microcomputer 11 cannot receive data, data may be transmitted from the other ECU 3 to ECU 5, but the first microcomputer 10 uses the second microcomputer 11. By continuing to hold the data to be transmitted to the terminal, it is possible to prevent data loss during a predetermined period immediately after the power is turned on.

また、ECU1は、互いに通信可能に接続されている第1のマイクロコンピュータ10および第2のマイクロコンピュータ11を備えた構成において、電源が投入された直後の所定の期間において通信相手側となるマイクロコンピュータ(第2のマイクロコンピュータ11)の起動を確認する起動確認処理と、起動確認処理にて通信相手側のマイクロコンピュータの起動が確認できるまで送信するデータを保持するデータ保持処理とを含む起動方法を採用している。これにより、上記したように電源が投入された直後の所定の期間におけるデータの消失を防止することができる。   The ECU 1 includes a first microcomputer 10 and a second microcomputer 11 that are communicably connected to each other, and is a microcomputer that becomes a communication partner in a predetermined period immediately after the power is turned on. An activation method including an activation confirmation process for confirming activation of the (second microcomputer 11) and a data holding process for retaining data to be transmitted until the activation of the microcomputer on the communication partner side can be confirmed by the activation confirmation process. Adopted. As a result, it is possible to prevent data loss during a predetermined period immediately after the power is turned on as described above.

(その他の実施形態)
本発明は、上記した各実施形態にて例示したものに限定されることなく、その範囲を逸脱しない範囲で任意に変形あるいは拡張することができる。
一実施形態では、第2のマイクロコンピュータ11に対して起動確認の問い合わせを送信したが、データの送信をもって起動確認する構成としてもよい。その場合、第2のマイクロコンピュータ11は、データを受信した場合には、受信した旨を第1のマイクロコンピュータ10に対して通知する構成となっている。具体的には、第1のマイクロコンピュータ10は、電源が投入された直後の所定の期間において、第2のマイクロコンピュータ11へ送信するデータを車載LAN2側から受信した場合、図3に示した起動確認の問い合わせを、受信したデータを送信先となる第2のマイクロコンピュータ11に対して送信することで実施する。そして、第1のマイクロコンピュータ10は、第2のマイクロコンピュータ11からデータを受信した旨の通知を受けたことをもって、第2のマイクロコンピュータ11の起動が確認できたと判定する。このような構成によっても、電源が投入された直後の所定の期間におけるデータの消失を防止することができる。
(Other embodiments)
The present invention is not limited to those exemplified in the above-described embodiments, and can be arbitrarily modified or expanded without departing from the scope thereof.
In one embodiment, the activation confirmation inquiry is transmitted to the second microcomputer 11, but the activation confirmation may be performed by transmitting data. In that case, when the second microcomputer 11 receives the data, the second microcomputer 11 notifies the first microcomputer 10 that the data has been received. Specifically, when the first microcomputer 10 receives data to be transmitted to the second microcomputer 11 from the in-vehicle LAN 2 side in a predetermined period immediately after the power is turned on, the activation shown in FIG. The confirmation inquiry is executed by transmitting the received data to the second microcomputer 11 as the transmission destination. Then, the first microcomputer 10 determines that the activation of the second microcomputer 11 has been confirmed upon receiving the notification that the data has been received from the second microcomputer 11. Even with such a configuration, it is possible to prevent data loss during a predetermined period immediately after the power is turned on.

一実施形態では1つの第2のマイクロコンピュータ11を設けた構成を例示したが、第1のマイクロコンピュータ10に、複数の第2のマイクロコンピュータ11が接続されている構成であっても、本発明を適用することができる。その場合、第1のマイクロコンピュータ10は、一実施形態のような起動確認や上記したデータ送信による起動確認を、それぞれの第2のマイクロコンピュータ11に対して行えばよい。   In the embodiment, the configuration in which one second microcomputer 11 is provided is illustrated. However, the present invention may be applied to a configuration in which a plurality of second microcomputers 11 are connected to the first microcomputer 10. Can be applied. In that case, the first microcomputer 10 may perform the activation confirmation as in the embodiment and the activation confirmation by the data transmission described above for each second microcomputer 11.

図面中、1はECU(車両用機器)、2は車載LAN、3〜5はECU(他の車両用機器)、10は第1のマイクロコンピュータ(マイクロコンピュータ)、11は第2のマイクロコンピュータ(マイクロコンピュータ)を示す。   In the drawings, 1 is an ECU (vehicle equipment), 2 is an in-vehicle LAN, 3 to 5 are ECUs (other vehicle equipment), 10 is a first microcomputer (microcomputer), and 11 is a second microcomputer ( Microcomputer).

Claims (2)

互いに通信可能に接続されている複数のマイクロコンピュータ(10、11)を備え、
前記複数のマイクロコンピュータ(10、11)は、電源が投入された直後の所定の期間において、通信相手側となるマイクロコンピュータ(10、11)の起動が確認できるまで通信相手側のマイクロコンピュータ(10、11)に送信するためのデータを保持し続けるとともに、通信相手側となるマイクロコンピュータ(10、11)の起動が確認できた場合には、保持しているデータを自動で送信し、
前記複数のマイクロコンピュータ(10、11)は、車載LAN(2)に接続され、該車両用機器(1)とは独立して起動する他の車両用機器(3、4、5)から送信されたデータを他のマイクロコンピュータ(11)に送信する第1のマイクロコンピュータ(10)と、前記第1のマイクロコンピュータ(10)に通信可能に接続され、当該第1のマイクロコンピュータ(10)から送信されたデータを受け取る第2のマイクロコンピュータ(11)とで構成され、
前記第1のマイクロコンピュータ(10)は、電源が投入された直後の所定の期間において、データの送信先となる前記第2のマイクロコンピュータ(11)の起動が確認できるまで、当該第2のマイクロコンピュータ(11)に送信するデータを保持し続けるとともに、電源が投入された直後の所定の期間において前記第2のマイクロコンピュータ(11)へ送信するデータを前記車載LAN(2)側から受信した場合には、受信したデータを送信先となる前記第2のマイクロコンピュータ(11)に対して送信し、送信先となる前記第2のマイクロコンピュータ(11)からデータを受信した旨の通知が返信されたことをもって、当該第2のマイクロコンピュータ(11)の起動が確認できたと判定することを特徴とする車両用機器。
A plurality of microcomputers (10, 11) connected to be communicable with each other;
The plurality of microcomputers (10, 11) are connected to the communication partner side microcomputer (10) until activation of the communication partner side microcomputer (10, 11) can be confirmed in a predetermined period immediately after the power is turned on. 11), the data to be transmitted to the communication partner side is continuously held, and if the activation of the microcomputer (10, 11) on the communication partner side can be confirmed, the held data is automatically transmitted ,
The plurality of microcomputers (10, 11) are connected to the in-vehicle LAN (2) and transmitted from other vehicle devices (3, 4, 5) that start independently of the vehicle device (1). The first microcomputer (10) for transmitting the received data to the other microcomputer (11) and the first microcomputer (10) are communicably connected to the first microcomputer (10) and transmitted from the first microcomputer (10). A second microcomputer (11) for receiving the processed data,
The first microcomputer (10) is in a predetermined period immediately after the power is turned on until the second microcomputer (11) as a data transmission destination can be confirmed to be activated. When data to be transmitted to the second microcomputer (11) is received from the in-vehicle LAN (2) side during a predetermined period immediately after the power is turned on while the data to be transmitted to the computer (11) is kept Sends the received data to the second microcomputer (11) as the transmission destination and returns a notification that the data has been received from the second microcomputer (11) as the transmission destination. Therefore, it is determined that the activation of the second microcomputer (11) has been confirmed .
互いに通信可能に接続されている複数のマイクロコンピュータ(10、11)を備えた車両用機器(1)において、In the vehicle device (1) including a plurality of microcomputers (10, 11) connected to each other so as to communicate with each other,
電源が投入された直後の所定の期間において、通信相手側となるマイクロコンピュータ(10、11)の起動を確認する起動確認処理と、An activation confirmation process for confirming the activation of the microcomputer (10, 11) on the communication partner side in a predetermined period immediately after the power is turned on;
前記起動確認処理にて通信相手側のマイクロコンピュータ(10、11)の起動が確認できるまで送信するデータを保持するデータ保持処理と、を含み、A data holding process for holding data to be transmitted until the activation of the microcomputer (10, 11) on the communication partner side can be confirmed in the activation confirmation process,
前記複数のマイクロコンピュータ(10、11)は、車載LAN(2)に接続され、該車両用機器(1)とは独立して起動する他の車両用機器(3、4、5)から送信されたデータを他のマイクロコンピュータ(11)に送信する第1のマイクロコンピュータ(10)と、前記第1のマイクロコンピュータ(10)に通信可能に接続され、当該第1のマイクロコンピュータ(10)から送信されたデータを受け取る第2のマイクロコンピュータ(11)とで構成され、The plurality of microcomputers (10, 11) are connected to the in-vehicle LAN (2) and transmitted from other vehicle devices (3, 4, 5) that start independently of the vehicle device (1). The first microcomputer (10) for transmitting the received data to the other microcomputer (11) and the first microcomputer (10) are communicably connected to the first microcomputer (10) and transmitted from the first microcomputer (10). A second microcomputer (11) for receiving the processed data,
前記第1のマイクロコンピュータ(10)は、電源が投入された直後の所定の期間において、データの送信先となる前記第2のマイクロコンピュータ(11)の起動が確認できるまで、当該第2のマイクロコンピュータ(11)に送信するデータを保持し続けるとともに、電源が投入された直後の所定の期間において前記第2のマイクロコンピュータ(11)へ送信するデータを前記車載LAN(2)側から受信した場合には、受信したデータを送信先となる前記第2のマイクロコンピュータ(11)に対して送信し、送信先となる前記第2のマイクロコンピュータ(11)からデータを受信した旨の通知が返信されたことをもって、当該第2のマイクロコンピュータ(11)の起動が確認できたと判定することを特徴とする車両用機器の起動方法。The first microcomputer (10) is in a predetermined period immediately after the power is turned on until the second microcomputer (11) as a data transmission destination can be confirmed to be activated. When data to be transmitted to the second microcomputer (11) is received from the in-vehicle LAN (2) side during a predetermined period immediately after the power is turned on while the data to be transmitted to the computer (11) is kept Sends the received data to the second microcomputer (11) as the transmission destination and returns a notification that the data has been received from the second microcomputer (11) as the transmission destination. It is determined that the activation of the second microcomputer (11) has been confirmed. Method.
JP2014114281A 2014-06-02 2014-06-02 Vehicle equipment and method for starting vehicle equipment Active JP6183296B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014114281A JP6183296B2 (en) 2014-06-02 2014-06-02 Vehicle equipment and method for starting vehicle equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014114281A JP6183296B2 (en) 2014-06-02 2014-06-02 Vehicle equipment and method for starting vehicle equipment

Publications (2)

Publication Number Publication Date
JP2015227143A JP2015227143A (en) 2015-12-17
JP6183296B2 true JP6183296B2 (en) 2017-08-23

Family

ID=54884905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014114281A Active JP6183296B2 (en) 2014-06-02 2014-06-02 Vehicle equipment and method for starting vehicle equipment

Country Status (1)

Country Link
JP (1) JP6183296B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01143535A (en) * 1987-11-30 1989-06-06 Furukawa Electric Co Ltd:The Multiplex transmission system
JPH02304607A (en) * 1989-05-19 1990-12-18 Toshiba Corp Starting system in computer system
DE102004039932A1 (en) * 2004-08-17 2006-03-09 Phoenix Contact Gmbh & Co. Kg Method and device for bus connection of safety-relevant processes
JP2009298331A (en) * 2008-06-13 2009-12-24 Toyota Motor Corp Vehicle condition recording system, vehicle condition recording device, and vehicle condition recording method
JP5553584B2 (en) * 2009-12-01 2014-07-16 クラリオン株式会社 Navigation device, program, development support device, communication control method
JP5931694B2 (en) * 2012-10-29 2016-06-08 富士通テン株式会社 Control system

Also Published As

Publication number Publication date
JP2015227143A (en) 2015-12-17

Similar Documents

Publication Publication Date Title
US9819562B2 (en) Gateway device with priority arbitration function
US9800319B2 (en) Relay apparatus
JP5702829B2 (en) Relay device
JP2016201740A (en) On-vehicle communication system, repeating device, and node
US20180145977A1 (en) In-vehicle authentication system
CN112567696B (en) Vehicle-mounted communication device and vehicle-mounted system
JP6406365B2 (en) Switch device, communication control method, and communication control program
JP2020022019A (en) Vehicle system
JP2016195329A (en) Setting method, communication apparatus, and master device
JP6183296B2 (en) Vehicle equipment and method for starting vehicle equipment
JP6191546B2 (en) In-vehicle network system and in-vehicle relay device
US12001538B2 (en) On-board computer, computer execution method, and computer program
JP7310570B2 (en) In-vehicle update device, program, and program update method
JP6981114B2 (en) Vehicle network system
WO2021177019A1 (en) On-board relay apparatus and computer program
JP7411467B2 (en) Electronic control device and program rewriting control method
JP4954832B2 (en) In-vehicle communication system
JP7140011B2 (en) Gateway device
WO2023218910A1 (en) In-vehicle communication device and push server
JP7210943B2 (en) electronic controller
KR102110293B1 (en) Relay device
CN110126758B (en) Electronic control unit
JP2007243322A (en) Gateway apparatus, and data transfer method, and program
WO2023223772A1 (en) In-vehicle communication device and push server
KR101633063B1 (en) A link duality system and method for an Ethernet based car network using a wireless link

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170425

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170609

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: 20170627

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170710

R151 Written notification of patent or utility model registration

Ref document number: 6183296

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