JP2009001135A - Lamp lighting control device for automobile and lamp lighting control method for automobile - Google Patents

Lamp lighting control device for automobile and lamp lighting control method for automobile Download PDF

Info

Publication number
JP2009001135A
JP2009001135A JP2007163458A JP2007163458A JP2009001135A JP 2009001135 A JP2009001135 A JP 2009001135A JP 2007163458 A JP2007163458 A JP 2007163458A JP 2007163458 A JP2007163458 A JP 2007163458A JP 2009001135 A JP2009001135 A JP 2009001135A
Authority
JP
Japan
Prior art keywords
lighting
data
instruction data
lighting control
reset
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.)
Granted
Application number
JP2007163458A
Other languages
Japanese (ja)
Other versions
JP5247072B2 (en
Inventor
Takeshi Yamashita
剛 山下
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP2007163458A priority Critical patent/JP5247072B2/en
Publication of JP2009001135A publication Critical patent/JP2009001135A/en
Application granted granted Critical
Publication of JP5247072B2 publication Critical patent/JP5247072B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To quickly relight a lamp for an automobile after resetting without causing a malfunction. <P>SOLUTION: When an ECU is reset, after finishing initializing processing by a CPU, before receiving lighting indication data via a network, a determination is made on whether the lighting indication data stored in a RAM just before resetting is broken, and relighting of a tail lamp lighting unit after resetting is quickly performed without causing the malfunction by controlling lighting of the tail lamp lighting unit. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、自動車用ランプの点灯制御に適した自動車用ランプ点灯制御装置及び自動車用ランプ点灯制御方法に関する。   The present invention relates to an automobile lamp lighting control device and an automobile lamp lighting control method suitable for lighting control of an automobile lamp.

自動車等の車両においては、CAN(Controller Area Network)等のシリアル通信プロトコルを用いたネットワークバスを介してのデータ通信により、マイコンであるECU(Electronic Control Unit)によって、たとえばエンジンの点火タイミング制御やテールランプ等の自動車用ランプの点消灯制御等が行われている。   In vehicles such as automobiles, ECU (Electronic Control Unit), which is a microcomputer, performs, for example, engine ignition timing control and tail lamp by data communication via a network bus using a serial communication protocol such as CAN (Controller Area Network). Control of turning on / off the lamps for automobiles and the like is performed.

ところで、テールランプ等の自動車用ランプを点灯しての走行中に、ECUが何らかの原因によってリセットされると、そのECUの初期化処理が完了するまでの一定期間、点灯を指示する新規データを受信することができず、たとえばECUがリセットされる以前に点灯していたテールランプ等の自動車用ランプがその新規データが得られるまで消灯してしまうような状態が発生する。   By the way, if the ECU is reset for some reason while the vehicle lamp such as a tail lamp is turned on, new data instructing lighting is received for a certain period until the initialization process of the ECU is completed. For example, a vehicle lamp such as a tail lamp that was turned on before the ECU was reset is turned off until the new data is obtained.

このようなECUでのリセット発生時においては、ECUでの初期化処理の完了が早く、新規データが早めに受信されれば何ら問題はないが、ECUの初期化処理が完了してから新規データが受信されるまでに時間がかかってしまうと、テールランプ等の自動車用ランプの再点灯に時間がかかってしまうことがある。この場合、夜間において、特にテールランプの再点灯に時間がかかってしまうと、ブレーキランプが点灯しない限り、自車の存在を後続車へ知らせることができず、追突されるおそれを生じてしまうことも考えられる。   When such an ECU reset occurs, there is no problem as long as the initialization process in the ECU is completed early and new data is received early. If it takes a long time to be received, it may take a long time to relight a car lamp such as a tail lamp. In this case, if it takes time to relight the tail lamp at night, the existence of the vehicle cannot be notified to the following vehicle unless the brake lamp is lit, which may cause a rear-end collision. Conceivable.

自動車用ライトを制御するものとして、特許文献1では、マイクロコンピュータがリセットされてライト点灯条件の充足性判断のための情報を失って初期化されたとき、メモリにリセット直前のライトの点消灯状態情報を記憶保持させ、マイクロコンピュータがリセットから復帰したときに、メモリからライトの点消灯状態情報を読み込み、その情報に基づいてライトの点消灯状態をリセット前の状態に回復させるようにした自動車のオートライトシステムを提案している。
特開2005−041336号公報
In Japanese Patent Application Laid-Open No. 2004-228688, when a microcomputer is reset and is initialized by losing information for determining whether a light is lit, the memory is turned on and off immediately before the reset. Information stored in the memory, when the microcomputer returns from reset, the light on / off state information is read from the memory, and based on that information, the light on / off state is restored to the state before the reset. An auto light system is proposed.
Japanese Patent Laying-Open No. 2005-041336

上述した特許文献1では、ライトを点灯しての走行中にマイクロコンピュータがリセットされた場合でも、マイクロコンピュータがリセットから復帰したときに、メモリからライトの点消灯状態情報を読み込んでリセット前の状態に復帰することができるようになっている。   In the above-mentioned Patent Document 1, even when the microcomputer is reset during running with the light turned on, when the microcomputer returns from the reset, the light on / off state information is read from the memory and the state before the reset is read. To be able to return to.

ところが、特許文献1では、マイクロコンピュータがリセットから復帰したとき、単にメモリに記憶保持されているリセット直前のライトの点消灯状態情報を読み込むようにしており、メモリに記憶されている点消灯状態情報を示すデータが破壊されていないかどうかの確認を行っていない。   However, in Patent Document 1, when the microcomputer returns from reset, the light on / off state information immediately before the reset stored in the memory is simply read, and the light on / off state information stored in the memory is read. It is not checked whether the data indicating is not destroyed.

すなわち、特に、メモリへのアクセス中にリセットがかかってしまうと、メモリに対する書き込み処理あるいは読み出し処理が中断されたりすることで、メモリ内のデータが破壊されてしまいメモリ異常を発生する可能性が大である。   In particular, if a reset is applied during access to the memory, the writing process or reading process to the memory is interrupted, so that the data in the memory is destroyed and a memory error is likely to occur. It is.

そのため、特許文献1のように、マイクロコンピュータがリセットから復帰したとき、単にメモリに記憶保持されているリセット直前のライトの点消灯状態情報を読み込むようにすると、ライトが誤動作してしまうおそれがあるという問題があった。   Therefore, when the microcomputer returns from reset as in Patent Document 1, if the light on / off state information of the light immediately before the reset stored in the memory is simply read, the light may malfunction. There was a problem.

本発明は、このような状況に鑑みてなされたものであり、上記問題点を解決することができる自動車用ランプ点灯制御装置及び自動車用ランプ点灯制御方法を提供することを目的とする。   The present invention has been made in view of such a situation, and an object thereof is to provide an automotive lamp lighting control device and an automotive lamp lighting control method capable of solving the above problems.

本発明の自動車用ランプ点灯制御装置は、ネットワークバスに接続され、該ネットワークバスを介して得られる点灯指示データに基づき、自動車用ランプの点灯制御を行う自動車用ランプ点灯制御装置であって、少なくとも前記点灯指示データを記憶する記憶手段と、前記点灯指示データに基づき前記自動車用ランプの点灯制御を行う制御手段とを備え、前記制御手段は、リセットがかけられて初期化処理を終えた後、前記ネットワークバスを介しての前記点灯指示データを受信する前に、前記記憶手段に記憶されているリセット直前の前記点灯指示データが破壊されていないかどうかを判断して前記自動車用ランプの点灯制御を行うことを特徴とする。
また、前記制御手段は、前記点灯指示データと同じ内容のデータを前記記憶手段の記憶領域に分散させて複数記憶させ、前記初期化処理を終えた後、それらのデータが同じかどうかを確認することで、前記点灯指示データが破壊されていないかどうかを判断するようにすることができる。
また、前記複数記憶させたデータのうち、少なくとも任意のデータが前記点灯指示データを反転させたものとなっているようにすることができる。
本発明の自動車用ランプ点灯制御方法は、ネットワークバスに接続され、該ネットワークバスを介して得られる点灯指示データに基づき、自動車用ランプの点灯制御を行う自動車用ランプ点灯制御方法であって、記憶手段に記憶されている少なくとも前記点灯指示データに基づき前記自動車用ランプの点灯制御を行う工程と、リセットがかけられて初期化処理を終えた後、前記ネットワークバスを介しての前記点灯指示データを受信する前に、前記記憶手段に記憶されているリセット直前の前記点灯指示データが破壊されていないかどうかを判断して前記自動車用ランプの点灯制御を行う工程とを有することを特徴とする。
また、前記点灯指示データと同じ内容のデータを前記記憶手段の記憶領域に分散させて複数記憶させる工程と、前記初期化処理を終えた後、それらのデータが同じかどうかを確認することで、前記点灯指示データが破壊されていないかどうかを判断する工程とを有するようにすることができる。
また、前記複数記憶させたデータのうち、少なくとも任意のデータが前記点灯指示データを反転させたものとなっているようにすることができる。
本発明の自動車用ランプ点灯制御装置及び自動車用ランプ点灯制御方法では、リセットがかけられて初期化処理を終えた後、ネットワークバスを介しての点灯指示データを受信する前に、記憶手段に記憶されているリセット直前の点灯指示データが破壊されていないかどうかを判断して自動車用ランプの点灯制御を行うことができる。
The automotive lamp lighting control device of the present invention is an automotive lamp lighting control device that is connected to a network bus and performs lighting control of the automotive lamp based on lighting instruction data obtained through the network bus, A storage unit that stores the lighting instruction data; and a control unit that performs lighting control of the automotive lamp based on the lighting instruction data, and the control unit is reset and finished the initialization process, Before receiving the lighting instruction data via the network bus, it is determined whether or not the lighting instruction data immediately before the reset stored in the storage means has been destroyed, so that the lighting control of the automobile lamp is performed. It is characterized by performing.
Further, the control means distributes data having the same contents as the lighting instruction data in a storage area of the storage means and stores a plurality of data, and after the initialization process is finished, checks whether the data is the same. Thus, it can be determined whether or not the lighting instruction data is destroyed.
Further, at least arbitrary data among the plurality of stored data can be obtained by inverting the lighting instruction data.
An automotive lamp lighting control method of the present invention is an automotive lamp lighting control method that is connected to a network bus and performs lighting control of the automotive lamp on the basis of lighting instruction data obtained through the network bus. A step of performing lighting control of the automotive lamp based on at least the lighting instruction data stored in the means, and after completing the initialization process after being reset, the lighting instruction data via the network bus Before receiving, it is determined whether or not the lighting instruction data immediately before reset stored in the storage means is destroyed, and lighting control of the automotive lamp is performed.
In addition, by distributing a plurality of data having the same content as the lighting instruction data in the storage area of the storage means and storing the plurality of data, after finishing the initialization process, by checking whether the data is the same, And determining whether the lighting instruction data is not destroyed.
Further, at least arbitrary data among the plurality of stored data can be obtained by inverting the lighting instruction data.
In the automotive lamp lighting control device and the automotive lamp lighting control method according to the present invention, after the reset is completed and the initialization process is completed, the lighting instruction data via the network bus is received and stored in the storage means. The lighting control of the automobile lamp can be performed by determining whether the lighting instruction data immediately before the reset is not destroyed.

本発明の自動車用ランプ点灯制御装置及び自動車用ランプ点灯制御方法によれば、リセットがかけられて初期化処理を終えた後、ネットワークバスを介しての点灯指示データを受信する前に、記憶手段に記憶されているリセット直前の点灯指示データが破壊されていないかどうかを判断して自動車用ランプの点灯制御を行うようにしたので、リセット後における自動車用ランプの再点灯を誤動作を伴うことなく素早く行わせることができる。   According to the automobile lamp lighting control device and the automobile lamp lighting control method of the present invention, after the reset is finished and the initialization process is finished, before the lighting instruction data is received via the network bus, the storage means is stored. The lighting instruction data immediately before the reset stored in the memory is judged whether it has been destroyed or not, so that the lighting control of the automobile lamp is performed. It can be done quickly.

本実施形態では、制御手段がリセットをかけられて初期化処理を終えた後、ネットワークバスを介しての点灯指示データを受信する前に、記憶手段に記憶されているリセット直前の点灯指示データが破壊されていないかどうかを判断して自動車用ランプの点灯制御を行うようにし、リセット後における自動車用ランプの再点灯を誤動作を伴うことなく素早く行わせるようにした。   In this embodiment, after the control means is reset and the initialization process is finished, before the lighting instruction data is received via the network bus, the lighting instruction data immediately before the reset stored in the storage means is stored. Judgment is made on whether or not the vehicle lamp has been destroyed, and the lighting control of the automobile lamp is performed, and the lighting of the automobile lamp after resetting can be performed quickly without malfunction.

ここで、点灯指示データが破壊されていないかどうかを判断は、たとえば点灯指示データと同じ内容のデータを記憶手段の記憶領域に分散させて複数記憶させておき、初期化処理を終えた後、それらのデータが同じかどうかを確認することで確実に行うことができる。   Here, for determining whether or not the lighting instruction data is destroyed, for example, the same content data as the lighting instruction data is distributed and stored in the storage area of the storage means, and after the initialization process, This can be done reliably by checking whether the data is the same.

また、複数記憶させたデータのうち、少なくとも任意のデータが点灯指示データを反転させたものとなっているようにすることで、それらのデータが同じかどうかを確認する際のデータの信頼性を高めることができる。   In addition, by making sure that at least any arbitrary data among the stored data is obtained by inverting the lighting instruction data, the reliability of the data when confirming whether the data is the same can be improved. Can be increased.

以下、本発明の実施例の詳細について説明する。図1は、本発明の自動車用ランプ点灯制御装置の一実施例を説明するための図である。   Details of the embodiments of the present invention will be described below. FIG. 1 is a diagram for explaining an embodiment of an automotive lamp lighting control device according to the present invention.

同図に示すように、自動車用ランプ点灯制御装置であるECU(Electronic Control Unit)1は、たとえばボデー系の制御を司るものであり、ネットワークバス10に接続されるとともに、入出力部(I/Oポート)2、CPU3、RAM4及びROM5を備えている。   As shown in the figure, an ECU (Electronic Control Unit) 1 that is an automotive lamp lighting control device controls, for example, a body system, and is connected to a network bus 10 and has an input / output unit (I / I). O port) 2, CPU 3, RAM 4 and ROM 5.

入出力部(I/Oポート)2には、イグニッションスイッチSW1やライトコントロールスイッチSW2からのスイッチ入力等が取り込まれるようになっている。   The input / output unit (I / O port) 2 receives switch inputs from the ignition switch SW1 and the light control switch SW2.

CPU3は、ROM5に格納されている所定の制御プログラムに基づいて、ヘッドライト点灯ユニット20やテールランプ点灯ユニット21等の点灯動作又は消灯動作等を制御する。   The CPU 3 controls the lighting operation or extinguishing operation of the headlight lighting unit 20 and the tail lamp lighting unit 21 based on a predetermined control program stored in the ROM 5.

RAM4には、後述の図2に示すように、複数のワークエリア40〜43と、データ保持エリア40A〜40Cとが設けられている。ROM5には、たとえばヘッドライト点灯ユニット20やテールランプ点灯ユニット21等の点灯動作又は消灯動作等を制御するための制御プログラムが格納されている。また、ROM5には、ECU1のリセット発生時における制御プログラム等が格納されている。   As shown in FIG. 2 described later, the RAM 4 is provided with a plurality of work areas 40 to 43 and data holding areas 40A to 40C. The ROM 5 stores a control program for controlling the lighting operation or the extinguishing operation of the headlight lighting unit 20 and the tail lamp lighting unit 21, for example. The ROM 5 stores a control program and the like when the ECU 1 is reset.

図2は、RAM4の記憶領域を説明するための図である。同図に示すように、RAM4には、複数のワークエリア40〜43と、複数のデータ保持エリア40A〜40Cとが設けられている。ここで、ワークエリア40〜43は、CPU3によるROM5の所定の制御プログラムを読み込んでの演算結果を記憶する領域である。複数のデータ保持エリア40A〜40Cは、RAM4の記憶領域に分散配置されるものであって、たとえばテールランプ点灯ユニット21における点灯動作又は消灯動作を制御するための同じ内容のデータを記憶する領域である。   FIG. 2 is a diagram for explaining a storage area of the RAM 4. As shown in the figure, the RAM 4 is provided with a plurality of work areas 40 to 43 and a plurality of data holding areas 40A to 40C. Here, the work areas 40 to 43 are areas for storing calculation results obtained by reading a predetermined control program of the ROM 5 by the CPU 3. The plurality of data holding areas 40 </ b> A to 40 </ b> C are distributed in the storage area of the RAM 4, and are areas for storing data having the same contents for controlling the lighting operation or the extinguishing operation in the tail lamp lighting unit 21, for example. .

ここで、各データ保持エリア40A〜40Cは、データ化け等を考慮すると、ある程度離しておくことが好ましい。たとえば、あるマイコンでは、SB(スタティックベース)レジスタを使用したアドレッシンングがたとえば最大256Byteであり、使用頻度の高い間接アドレッシンングモードが1Byte命令であるとき、1回のブランチが最大256Byteとなっている。このようなことから、各データ保持エリア40A〜40Cを分散させ、256Byte離しておくことが好ましい。ただし、ここでの各データ保持エリア40A〜40Cの間隔である256Byteは、あくまでも一例であり、使用するマイコンの性能に応じて適宜設定可能である。   Here, it is preferable that the data holding areas 40A to 40C be separated to some extent in consideration of data corruption. For example, in a certain microcomputer, addressing using an SB (static base) register is, for example, a maximum of 256 bytes, and when a frequently used indirect addressing mode is a 1-byte instruction, one branch has a maximum of 256 bytes. ing. For this reason, it is preferable to disperse the data holding areas 40A to 40C and separate them by 256 bytes. However, the 256 bytes, which are the intervals between the data holding areas 40A to 40C here, are merely examples, and can be set as appropriate according to the performance of the microcomputer to be used.

このように、複数のデータ保持エリア40A〜40Cに、たとえばテールランプ点灯ユニット21における点灯動作又は消灯動作を制御するための同じ内容のデータを記憶させておくことで、ECU1にリセットがかけられた場合であっても、RAM4内のデータが破壊されていないかどうかの確認を確実に行うことができる。このようなRAM4内のデータが破壊されていないかどうかの確認は、特に、RAM4へのアクセス中にリセットがかかってしまうと、RAM4に対する書き込み処理あるいは読み出し処理が中断されたりし、RAM4内のデータが破壊されてしまいメモリ異常を発生する可能性が大となることを回避するために重要な手順である。   As described above, when the ECU 1 is reset by storing the same data for controlling the lighting operation or the extinguishing operation in the tail lamp lighting unit 21 in the plurality of data holding areas 40A to 40C, for example. Even so, it is possible to confirm whether or not the data in the RAM 4 has been destroyed. In order to confirm whether or not the data in the RAM 4 is destroyed, especially when the reset is applied during the access to the RAM 4, the writing process or the reading process for the RAM 4 is interrupted, and the data in the RAM 4 is interrupted. This is an important procedure for avoiding the possibility that the memory will be destroyed and the possibility of the occurrence of memory abnormality becomes large.

そこで、ECU1のリセット直前のたとえばテールランプ点灯ユニット21におけるたとえば点灯動作を制御するためのデータをαとすると、データ保持エリア40Aにはそのαが記憶され、データ保持エリア40Bにはデータ保持エリア40Aに記憶されたαがコピーされて記憶され、さらにデータ保持エリア40Cにはαを反転させたβが記憶されるようになっている。   Therefore, if, for example, data for controlling the lighting operation in the tail lamp lighting unit 21 immediately before the reset of the ECU 1 is α, α is stored in the data holding area 40A, and the data holding area 40B is stored in the data holding area 40A. The stored α is copied and stored, and β obtained by inverting α is stored in the data holding area 40C.

ここで、一般的に、ECU1が何らかの原因によりリセットされた場合、たとえば図3に示すように、CPU3による初期化処理の完了待ちとなり、CPU3による初期化処理が完了してたとえばテールランプ点灯ユニット21の点灯指示データをネットワークバス10を介して受信してからテールランプ点灯ユニット21の点灯制御が行われる。すなわち、CPU3による初期化処理が完了してからテールランプ点灯ユニット21のテールランプがリセット前の状態に復帰するまでに時間Tを要することになる。   Here, in general, when the ECU 1 is reset for some reason, for example, as shown in FIG. 3, the CPU 3 waits for the initialization process to be completed, and the initialization process by the CPU 3 is completed. After the lighting instruction data is received via the network bus 10, the lighting control of the tail lamp lighting unit 21 is performed. That is, after the initialization process by the CPU 3 is completed, it takes time T until the tail lamp of the tail lamp lighting unit 21 returns to the state before the reset.

これに対し、本実施例では、たとえば図4に示すように、CPU3による初期化処理が完了すると、ネットワークバス10を介しての点灯指示データの受信が行われる前に、ROM5に格納されているECU1のリセット発生時における制御プログラムに基づき、まずCPU3によってデータ保持エリア40A〜40Cに記憶されているデータが全て同じであるかどうかを判断して、たとえばテールランプ点灯ユニット21の点灯制御が行われる。ここで、CPU3による初期化処理が完了してからテールランプ点灯ユニット21のテールランプを時間tでリセット前の状態に復帰させることができる。すなわち、T−tの時間が短縮されることになる。   On the other hand, in this embodiment, for example, as shown in FIG. 4, when the initialization process by the CPU 3 is completed, it is stored in the ROM 5 before the lighting instruction data is received via the network bus 10. Based on the control program when the ECU 1 is reset, first, the CPU 3 determines whether all the data stored in the data holding areas 40A to 40C are the same, and for example, lighting control of the tail lamp lighting unit 21 is performed. Here, the tail lamp of the tail lamp lighting unit 21 can be returned to the state before the reset at time t after the initialization process by the CPU 3 is completed. That is, the time T−t is shortened.

またここで、リセット前の状態に復帰させるとき、RAM4のデータが破壊されていないかどうかが判断されるが、この場合、データ保持エリア40A,40Bに記憶されているデータであるαと、データ保持エリア40Cに記憶されているデータであるαを反転させたβを復号した結果が全て同じであれば、RAM4のデータが破壊されていないということが確実に確認される。しかも、データ保持エリア40Cに記憶されているデータであるβは、αを反転させたデータであることから、データの信頼性が高められることになり、テールランプ点灯ユニット21のテールランプを誤動作を伴うことなくリセット前の状態へ素早く復帰させることができる。   Here, when returning to the state before the reset, it is determined whether or not the data in the RAM 4 is destroyed. In this case, the data stored in the data holding areas 40A and 40B, α, If the results of decoding β obtained by inverting α, which is data stored in the holding area 40C, are all the same, it is reliably confirmed that the data in the RAM 4 has not been destroyed. Moreover, since the data β stored in the data holding area 40C is data obtained by inverting α, the reliability of the data is improved, and the tail lamp of the tail lamp lighting unit 21 is erroneously operated. It is possible to quickly return to the state before reset.

次に、ECU1による自動車用ランプ点灯制御方法について説明する。まず、図5に示すように、リセットが発生したかどうかが判断され(ステップS1)、リセットが発生していなければ(ステップS1:no)、通常の通信による点灯処理が実施される(ステップS2)。   Next, an automotive lamp lighting control method by the ECU 1 will be described. First, as shown in FIG. 5, it is determined whether or not a reset has occurred (step S1). If no reset has occurred (step S1: no), a lighting process by normal communication is performed (step S2). ).

これに対し、リセットが発生すると(ステップS1:yes)、急点灯処理条件が成立しているかどうかが判断される(ステップS3)。ここで、急点灯処理条件とは、ECU1が車両の走行を認識している状態(たとえば、イグニッションスイッチSW1がオンされていること)であって、しかもRAM4のデータ保持エリア40A〜40Cのいずれかに記憶されているデータが点灯又は消灯のいずれかを指示している場合である。   On the other hand, when a reset occurs (step S1: yes), it is determined whether or not a quick lighting process condition is satisfied (step S3). Here, the sudden lighting process condition is a state in which the ECU 1 recognizes the traveling of the vehicle (for example, the ignition switch SW1 is turned on), and any one of the data holding areas 40A to 40C of the RAM 4 This is a case in which the data stored in is instructed to turn on or off.

急点灯処理条件が成立していなければ(ステップS3:no)、通常の通信による点灯処理が実施される(ステップS4)。これに対し、急点灯処理条件が成立していれば(ステップS3:yes)、内部データに破壊がないかどうかが判断される(ステップS5)。すなわち、上述したように、RAM4のデータ保持エリア40A〜40Cに記憶されているデータ(同じ内容)が全て同じであるかどうかがチェックされ、いずれかのデータが他のデータと異なっていれば、内部データが破壊されていると判断し(ステップS5:no)、通常の通信による点灯処理が実施される(ステップS6)。   If the sudden lighting process condition is not satisfied (step S3: no), the lighting process by normal communication is performed (step S4). On the other hand, if the sudden lighting process condition is satisfied (step S3: yes), it is determined whether the internal data is not destroyed (step S5). That is, as described above, it is checked whether the data (the same contents) stored in the data holding areas 40A to 40C of the RAM 4 are all the same, and if any data is different from the other data, It is determined that the internal data has been destroyed (step S5: no), and lighting processing by normal communication is performed (step S6).

これに対し、全てのデータが同じであれば、RAM4のデータが破壊されていないと判断し(ステップS5:yes)、データ保持エリア40A〜40Cのいずれかのデータの内容を確認し(ステップS7)、そのデータが点灯を指示していなければ(ステップS7:no)、通常の通信による点灯処理が実施される(ステップS8)。これに対し、そのデータが点灯を指示していればステップS7:yes)、リセット後、通信を受信しているかどうかが判断される(ステップS9)。   On the other hand, if all the data are the same, it is determined that the data in the RAM 4 is not destroyed (step S5: yes), and the content of any one of the data holding areas 40A to 40C is confirmed (step S7). ), If the data does not instruct lighting (step S7: no), lighting processing by normal communication is performed (step S8). On the other hand, if the data indicates lighting, step S7: yes), after reset, it is determined whether communication is received (step S9).

ここで、リセット後、通信を受信していれば(ステップS9:no)、通常の通信による点灯処理が実施される(ステップS10)。これに対し、リセット後、通信を受信していなければ(ステップS9:yes)、図4に示したように、リセット後の急点灯処理による点灯処理が実施される(ステップS11)。   Here, if communication is received after reset (step S9: no), the lighting process by normal communication will be implemented (step S10). On the other hand, if communication is not received after reset (step S9: yes), as shown in FIG. 4, the lighting process by the rapid lighting process after reset is implemented (step S11).

なお、ステップS11における急点灯処理においては、たとえば上述したイグニッションスイッチSW1がオフのとき点灯処理が行われると、バッテリ上がりに繋がるため、その点灯処理は不要である。   In the quick lighting process in step S11, for example, if the lighting process is performed when the above-described ignition switch SW1 is off, the battery will run out, so that the lighting process is unnecessary.

このように、本実施例では、ECU1にリセットがかかると、CPU3による初期化処理を終えた後、ネットワークバス10を介しての点灯指示データを受信する前に、RAM4に記憶されているリセット直前の点灯指示データが破壊されていないかどうかを判断してテールランプ点灯ユニット21の点灯制御を行うようにしたので、リセット後におけるテールランプ点灯ユニット21の再点灯を誤動作を伴うことなく素早く行わせることができる。   Thus, in this embodiment, when the ECU 1 is reset, after the initialization process by the CPU 3 is finished, before the lighting instruction data via the network bus 10 is received, immediately before the reset stored in the RAM 4 Since the lighting control of the tail lamp lighting unit 21 is performed by determining whether or not the lighting instruction data is destroyed, it is possible to cause the tail lamp lighting unit 21 to be re-lighted quickly after a reset without causing a malfunction. it can.

また、リセット後におけるテールランプ点灯ユニット21の再点灯を誤動作を伴うことなく素早く行わせるようにすることで、夜間において、特にテールランプの再点灯が素早く行われることから、自車の存在を後続車へ確実に知らせることができ、後続車による追突のおそれが確実に回避されることになる。   In addition, since the tail lamp lighting unit 21 can be re-lighted quickly without any malfunction, after the reset, the tail lamp can be quickly re-lighted particularly at night. This can be surely notified, and the risk of a rear-end collision by the following vehicle is surely avoided.

また、RAM4の記憶領域の複数のデータ保持エリア40A〜40Cのそれぞれに、ECU1のリセット直前のたとえばテールランプ点灯ユニット21におけるたとえば点灯動作を制御するためのデータ(点灯指示データ)と同じ内容のデータを記憶させておき、初期化処理を終えた後、それらのデータが同じかどうかを確認するようにしているので、RAM4に記憶されているデータが破壊されていないかどうかの判断を確実に行うことができる。   Further, in each of the plurality of data holding areas 40A to 40C in the storage area of the RAM 4, data having the same contents as data (lighting instruction data) for controlling, for example, the lighting operation in the tail lamp lighting unit 21 immediately before the ECU 1 is reset, for example. Since it is memorized and the initialization process is completed, it is confirmed whether or not the data is the same. Therefore, it is surely determined whether or not the data stored in the RAM 4 is destroyed. Can do.

また、たとえばECU1のリセット直前のたとえばテールランプ点灯ユニット21におけるたとえば点灯動作を制御するためのデータをαとすると、データ保持エリア40Aにはそのαを記憶させ、データ保持エリア40Bにはデータ保持エリア40Aに記憶されたαをコピーして記憶させ、さらにデータ保持エリア40Cにはαを反転させたβを記憶させるようにすることで、それらのデータが同じかどうかを確認する際のデータの信頼性を高めることができる。   For example, if the data for controlling, for example, the lighting operation in the tail lamp lighting unit 21 immediately before the reset of the ECU 1 is α, α is stored in the data holding area 40A, and the data holding area 40A is stored in the data holding area 40B. Is stored in the data storage area 40C, and the data holding area 40C stores β in which α is inverted, so that the reliability of data when checking whether the data is the same or not is stored. Can be increased.

なお、本実施例では、データ保持エリア40A〜40Cに同じ内容の点灯指示データを記憶させることで、合計3個の点灯指示データが記憶される場合について説明したが、この例に限らず、点灯指示データを2個又は4個以上記憶させておいてもよいことは勿論である。この場合、特に、点灯指示データを4個以上記憶させておくと、リセット後にそれぞれの点灯指示データを確認した際、たとえば同じ内容のデータの数が異なるデータの数を上回っているとき、その同じ内容のデータが破壊されていないということを確認できる。   In the present embodiment, a case has been described in which lighting instruction data having the same contents is stored in the data holding areas 40A to 40C, so that a total of three lighting instruction data is stored. Of course, two or four or more instruction data may be stored. In this case, in particular, when four or more lighting instruction data are stored, when each lighting instruction data is confirmed after resetting, for example, when the number of data with the same content exceeds the number of different data, the same It can be confirmed that the content data is not destroyed.

また、本実施例では、テールランプ点灯ユニット21のたとえば点灯制御について説明したが、この例に限らず、ヘッドライト点灯ユニット20のたとえば点灯制御も同様にして行うことが可能である。   Further, in the present embodiment, for example, lighting control of the tail lamp lighting unit 21 has been described, but not limited to this example, for example, lighting control of the headlight lighting unit 20 can be performed in the same manner.

自動車のボデー系以外の制御を司るものにも適用可能である。   It can also be applied to those that control other than the body system of automobiles.

本発明の自動車用ランプ点灯制御装置の一実施例を説明するための図である。It is a figure for demonstrating one Example of the lamp lighting control apparatus for motor vehicles of this invention. 図1のRAMの記憶領域を説明するための図である。It is a figure for demonstrating the memory area of RAM of FIG. 図1のECUが何らかの原因によりリセットされた場合の一般的な点灯制御を説明するための図である。It is a figure for demonstrating the general lighting control when ECU of FIG. 1 is reset by a certain cause. 図1のECUが何らかの原因によりリセットされた場合の本実施例における点灯制御を説明するための図である。It is a figure for demonstrating the lighting control in a present Example when ECU of FIG. 1 is reset for a certain cause. 図1のECUによる自動車用ランプ点灯制御方法について説明するためのフローチャートである。3 is a flowchart for explaining a method for controlling lighting of a vehicle lamp by the ECU of FIG. 1.

符号の説明Explanation of symbols

1 ECU
2 入出力部(I/Oポート)
3 CPU(制御手段)
4 RAM(記憶手段)
5 ROM
10 ネットワークバス
20 ヘッドライト点灯ユニット
21 テールランプ点灯ユニット
40A〜40C データ保持エリア
SW1 イグニッションスイッチ
SW2 ライトコントロールスイッチ
1 ECU
2 I / O section (I / O port)
3 CPU (control means)
4 RAM (storage means)
5 ROM
DESCRIPTION OF SYMBOLS 10 Network bus 20 Headlight lighting unit 21 Tail lamp lighting unit 40A-40C Data holding area SW1 Ignition switch SW2 Light control switch

Claims (6)

ネットワークバスに接続され、該ネットワークバスを介して得られる点灯指示データに基づき、自動車用ランプの点灯制御を行う自動車用ランプ点灯制御装置であって、
少なくとも前記点灯指示データを記憶する記憶手段と、
前記点灯指示データに基づき前記自動車用ランプの点灯制御を行う制御手段とを備え、
前記制御手段は、リセットがかけられて初期化処理を終えた後、前記ネットワークバスを介しての前記点灯指示データを受信する前に、前記記憶手段に記憶されているリセット直前の前記点灯指示データが破壊されていないかどうかを判断して前記自動車用ランプの点灯制御を行う
ことを特徴とする自動車用ランプ点灯制御装置。
An automotive lamp lighting control device that is connected to a network bus and performs lighting control of an automotive lamp based on lighting instruction data obtained through the network bus,
Storage means for storing at least the lighting instruction data;
Control means for performing lighting control of the automotive lamp based on the lighting instruction data,
The control means, after resetting and finishing the initialization process, before receiving the lighting instruction data via the network bus, stores the lighting instruction data immediately before the reset stored in the storage means. An automotive lamp lighting control device characterized by determining whether or not the lamp has been destroyed and controlling the lighting of the automotive lamp.
前記制御手段は、前記点灯指示データと同じ内容のデータを前記記憶手段の記憶領域に分散させて複数記憶させ、前記初期化処理を終えた後、それらのデータが同じかどうかを確認することで、前記点灯指示データが破壊されていないかどうかを判断することを特徴とする請求項1に記載の自動車用ランプ点灯制御装置。   The control means distributes data having the same contents as the lighting instruction data in a storage area of the storage means, stores a plurality of data, and after the initialization process is completed, confirms whether the data is the same. 2. The automotive lamp lighting control device according to claim 1, wherein it is determined whether or not the lighting instruction data is destroyed. 前記複数記憶させたデータのうち、少なくとも任意のデータが前記点灯指示データを反転させたものとなっていることを特徴とする請求項2に記載の自動車用ランプ点灯制御装置。   The automotive lamp lighting control device according to claim 2, wherein at least arbitrary data among the plurality of stored data is obtained by inverting the lighting instruction data. ネットワークバスに接続され、該ネットワークバスを介して得られる点灯指示データに基づき、自動車用ランプの点灯制御を行う自動車用ランプ点灯制御方法であって、
記憶手段に記憶されている少なくとも前記点灯指示データに基づき前記自動車用ランプの点灯制御を行う工程と、
リセットがかけられて初期化処理を終えた後、前記ネットワークバスを介しての前記点灯指示データを受信する前に、前記記憶手段に記憶されているリセット直前の前記点灯指示データが破壊されていないかどうかを判断して前記自動車用ランプの点灯制御を行う工程とを有する
ことを特徴とする自動車用ランプ点灯制御方法。
An automotive lamp lighting control method that is connected to a network bus and performs lighting control of the automotive lamp based on lighting instruction data obtained through the network bus,
A step of performing lighting control of the automobile lamp based on at least the lighting instruction data stored in the storage means;
After the reset is applied and the initialization process is completed, before the lighting instruction data is received through the network bus, the lighting instruction data immediately before the reset stored in the storage means is not destroyed. And a step of performing lighting control of the vehicle lamp by determining whether or not the vehicle lamp is turned on.
前記点灯指示データと同じ内容のデータを前記記憶手段の記憶領域に分散させて複数記憶させる工程と、
前記初期化処理を終えた後、それらのデータが同じかどうかを確認することで、前記点灯指示データが破壊されていないかどうかを判断する工程とを有する
ことを特徴とする請求項4に記載の自動車用ランプ点灯制御方法。
A step of storing a plurality of data having the same content as the lighting instruction data in a storage area of the storage means;
The method includes: determining whether the lighting instruction data is not destroyed by checking whether the data is the same after the initialization process is completed. Car lamp lighting control method.
前記複数記憶させたデータのうち、少なくとも任意のデータが前記点灯指示データを反転させたものとなっていることを特徴とする請求項5に記載の自動車用ランプ点灯制御方法。   The automotive lamp lighting control method according to claim 5, wherein at least arbitrary data among the plurality of stored data is obtained by inverting the lighting instruction data.
JP2007163458A 2007-06-21 2007-06-21 Car lamp lighting control device and car lamp lighting control method Active JP5247072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007163458A JP5247072B2 (en) 2007-06-21 2007-06-21 Car lamp lighting control device and car lamp lighting control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007163458A JP5247072B2 (en) 2007-06-21 2007-06-21 Car lamp lighting control device and car lamp lighting control method

Publications (2)

Publication Number Publication Date
JP2009001135A true JP2009001135A (en) 2009-01-08
JP5247072B2 JP5247072B2 (en) 2013-07-24

Family

ID=40318018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007163458A Active JP5247072B2 (en) 2007-06-21 2007-06-21 Car lamp lighting control device and car lamp lighting control method

Country Status (1)

Country Link
JP (1) JP5247072B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0674087A (en) * 1992-08-27 1994-03-15 Nippondenso Co Ltd Electric control device with backup memory
JP2005041336A (en) * 2003-07-22 2005-02-17 Mitsubishi Cable Ind Ltd Auto-light system of automobile
JP2006150999A (en) * 2004-11-25 2006-06-15 Denso Corp Control device for automobile

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0674087A (en) * 1992-08-27 1994-03-15 Nippondenso Co Ltd Electric control device with backup memory
JP2005041336A (en) * 2003-07-22 2005-02-17 Mitsubishi Cable Ind Ltd Auto-light system of automobile
JP2006150999A (en) * 2004-11-25 2006-06-15 Denso Corp Control device for automobile

Also Published As

Publication number Publication date
JP5247072B2 (en) 2013-07-24

Similar Documents

Publication Publication Date Title
JP4789420B2 (en) Data processing apparatus for vehicle control system
JP2008155736A (en) Electronic control device
JP2008271040A (en) Communication apparatus and communication system
JP2007206827A (en) Electronic control unit, and method for generating program for controlling on-vehicle device
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
JP5247072B2 (en) Car lamp lighting control device and car lamp lighting control method
JP4446168B2 (en) Automotive control device
JP2010023556A (en) Electronic control device
JP2009126413A (en) Control device of vehicular electric instrument
JP2004164601A (en) Electronic controller
JP2006286111A (en) Management apparatus of semiconductor memory
JP2007062632A (en) Electronic control unit and storing method of data for abnormality generated time storage
JP6183251B2 (en) Electronic control unit
JP2004151944A (en) Method for writing data in non-volatile storage device, its program and device, and onboard electronic controller
US20210065478A1 (en) Electronic control unit and non-transitory computer readable medium storing session establishment program
JP2006171803A (en) Program rewrite system for on-vehicle electronic controller, boot loader for computer for on-vehicle electronic controller, recording medium and on-vehicle electronic controller
JP2011024010A (en) Vehicle communication device
US20080077924A1 (en) System and method for distributing and executing program code in a control unit network
JP5452357B2 (en) Vehicle data storage device
US20230315520A1 (en) Electric device and controlling method for electric device
JP2004021520A (en) Electronic controller for vehicle
JP5287657B2 (en) VEHICLE CONTROL DEVICE AND ITS CONTROL METHOD
JP7081205B2 (en) Communication system, master device
US20240001871A1 (en) Electronic control unit, vehicle control system, and vehicle control method
JP5417931B2 (en) Vehicle control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100426

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130409

R150 Certificate of patent or registration of utility model

Ref document number: 5247072

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160419

Year of fee payment: 3

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

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250