JP2005059809A - On-vehicle system - Google Patents

On-vehicle system Download PDF

Info

Publication number
JP2005059809A
JP2005059809A JP2003296023A JP2003296023A JP2005059809A JP 2005059809 A JP2005059809 A JP 2005059809A JP 2003296023 A JP2003296023 A JP 2003296023A JP 2003296023 A JP2003296023 A JP 2003296023A JP 2005059809 A JP2005059809 A JP 2005059809A
Authority
JP
Japan
Prior art keywords
electronic device
signal
ecu
slave
operation start
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003296023A
Other languages
Japanese (ja)
Inventor
Masaya Hirota
雅也 廣田
Shinichi Senoo
伸一 妹尾
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 JP2003296023A priority Critical patent/JP2005059809A/en
Publication of JP2005059809A publication Critical patent/JP2005059809A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an on-vehicle system capable of securely starting communication according to a communication system based on a polling system. <P>SOLUTION: An immobilizer ECU 2 on a master side and a steering lock ECU 3 and a power supply ECU 4 on a sleeve side are connected to a bus 1, and performs the communication according to the communication system based on the polling system. When the steering lock ECU 3 and the power supply ECU 4 transmit wakeup signals to the immobilizer ECU 2, they monitor signals outputted to the bus 1 for a specified time. When the wakeup signals are not outputted to the bus 1, they output the wakeup signals to the bus 1 to transmit to the immobilizer ECU 2. By this, the steering lock ECU 3 and the power supply ECU 4 do not simultaneously transmit the wakeup signals and the communication can be securely started. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、車両に搭載された各種機器を統合的・協調的に動作させる車載システムに関する。   The present invention relates to an in-vehicle system that operates various devices mounted on a vehicle in an integrated and cooperative manner.

従来、車両に搭載された各種機器をLANによって接続し、これらを統合的・協調的に動作させる複数の車載システムが公知である。これらの車載システムでは、前述の各種機器間の通信に、CANやBEANに代表される同期通信を利用することが多かった。しかしながら、同期通信の通信プロトコルは複雑なため、通信制御用のハードウェアやソフトウェアの構造も複雑になり、その設計に多くの時間と労力を要した。   2. Description of the Related Art Conventionally, a plurality of in-vehicle systems that connect various devices mounted on a vehicle via a LAN and operate them in an integrated and cooperative manner are known. In these in-vehicle systems, synchronous communication represented by CAN and BEAN is often used for communication between the various devices described above. However, since the communication protocol for synchronous communication is complicated, the structure of hardware and software for communication control is also complicated, and it takes a lot of time and effort to design it.

このような事情から、近年では、前述の各種機器間の通信に非同期通信が利用されつつある。その中でも、特にポーリング方式に基づいた通信方式は、その通信プロトコルが簡易であることから、通信制御用のハードウェアやソフトウェアを簡素化することができる。そのため、車載LANの通信方式として、急速に普及しつつある。   Under these circumstances, in recent years, asynchronous communication is being used for communication between the various devices described above. Among them, especially the communication method based on the polling method can simplify the communication control hardware and software because the communication protocol is simple. Therefore, it is rapidly spreading as an in-vehicle LAN communication method.

車載LANの通信方式として、ポーリング方式に基づいた通信方式を用いた場合、前述の各種機器は、単一のマスタ側機器と、複数のスレーブ側機器とに分けられる。そして、複数のスレーブ側機器のいずれかから送信されたウェイクアップ信号をマスタ側機器が受信すると、マスタ側機器は各スレーブ側機器にポーリング信号を順次送信し、各スレーブ側機器との通信を開始する。   When a communication method based on the polling method is used as the communication method for the in-vehicle LAN, the various devices described above are divided into a single master device and a plurality of slave devices. When the master device receives the wake-up signal transmitted from one of the slave devices, the master device sequentially transmits polling signals to each slave device and starts communication with each slave device. To do.

しかしながら、例えば車両起動時など、複数のスレーブ側機器からマスタ側機器へウェイクアップ信号が同時に送信される場合がある。このような場合、送信された複数のウェイクアップ信号が衝突してしまい、マスタ側機器はウェイクアップ信号を受信できなくなる。その結果として、マスタ側機器は各スレーブ側機器との通信ができなくなる。   However, a wake-up signal may be simultaneously transmitted from a plurality of slave devices to the master device, for example, when the vehicle is activated. In such a case, a plurality of transmitted wakeup signals collide, and the master side device cannot receive the wakeup signal. As a result, the master device cannot communicate with each slave device.

本発明は、上記の問題に鑑みてなされたものであり、ポーリング方式に基づいた通信方式に従って、確実に通信を開始することが可能な車載システムの提供を目的とする。   The present invention has been made in view of the above-described problems, and an object thereof is to provide an in-vehicle system capable of reliably starting communication according to a communication method based on a polling method.

上記目的を達成するために、請求項1に記載の車載システムでは、単一のマスタ電子装置と、複数のスレーブ電子装置とからなる車載システムであって、マスタ電子装置は、複数のスレーブ電子装置のいずれかから送信された動作開始信号を受信すると動作を開始し、複数のスレーブ装置の各々に対して問い合わせ信号を順次送信するものであり、複数のスレーブ電子装置の各々は、マスタ電子装置に動作開始信号を送信して動作を開始させるとともに、マスタ電子装置から送信された問い合わせ信号を受信すると、マスタ電子装置との間で各種データを送受信する、ポーリング方式に基づいた通信方式によって通信を行うよう構成されており、複数のスレーブ電子装置の各々に、他のスレーブ電子装置からマスタ電子装置への動作開始信号の送信を検知する検知手段を設け、複数のスレーブ電子装置の各々は、マスタ電子装置へ動作開始信号を送信する際、当該スレーブ電子装置に設けられた検知手段が、他のスレーブ電子装置からマスタ電子装置への動作開始信号の送信を検知したか否かを判定し、これを検知したと判定された場合には、動作開始信号の送信を中断することを特徴とする。   In order to achieve the above object, the in-vehicle system according to claim 1 is an in-vehicle system comprising a single master electronic device and a plurality of slave electronic devices, wherein the master electronic device is a plurality of slave electronic devices. When the operation start signal transmitted from any of the above is received, the operation is started and an inquiry signal is sequentially transmitted to each of the plurality of slave devices. Each of the plurality of slave electronic devices is sent to the master electronic device. An operation start signal is transmitted to start the operation, and when an inquiry signal transmitted from the master electronic device is received, communication is performed with a communication method based on a polling method in which various data are transmitted to and received from the master electronic device. An operation start signal from each other slave electronic device to the master electronic device is transmitted to each of the plurality of slave electronic devices. Detection means for detecting transmission is provided, and when each of the plurality of slave electronic devices transmits an operation start signal to the master electronic device, the detection means provided in the slave electronic device transmits the master electronic signal from another slave electronic device. It is determined whether or not transmission of an operation start signal to the apparatus has been detected, and when it is determined that this has been detected, transmission of the operation start signal is interrupted.

このように、本発明の車載システムは、単一のマスタ電子装置と、複数のスレーブ電子装置とからなり、マスタ電子装置と各スレーブ電子装置との通信は、ポーリング方式に基づいた通信方式によって行われるよう構成される。さらに、各スレーブ電子装置には、他のスレーブ電子装置からマスタ電子装置への動作開始信号の送信を検知する検知手段が設けられる。各スレーブ電子装置がマスタ電子装置へ動作開始信号を送信する場合は、当該スレーブ電子装置に設けられた検知手段が、他のスレーブ電子装置からマスタ電子装置への動作開始信号の送信を検知したか否かを判定する。そして、これを検知したと判定された場合は、動作開始信号の送信を中断する。これにより、複数のスレーブ電子装置のいずれかが動作開始信号を送信すると、他のスレーブ電子装置は動作開始信号の送信を中断することとなる。そのため、複数のスレーブ電子装置から動作開始信号が同時に送信されることはなくなり、複数の動作開始信号が衝突するのを回避することができる。従って、本車載システムは、マスタ電子装置と各スレーブ電子装置との通信を確実に開始することができる。   As described above, the in-vehicle system of the present invention includes a single master electronic device and a plurality of slave electronic devices, and communication between the master electronic device and each slave electronic device is performed by a communication method based on a polling method. To be configured. Furthermore, each slave electronic device is provided with detection means for detecting transmission of an operation start signal from another slave electronic device to the master electronic device. When each slave electronic device transmits an operation start signal to the master electronic device, has the detection means provided in the slave electronic device detected transmission of an operation start signal from another slave electronic device to the master electronic device? Determine whether or not. And when it determines with having detected this, transmission of an operation start signal is interrupted. Accordingly, when any one of the plurality of slave electronic devices transmits the operation start signal, the other slave electronic devices interrupt transmission of the operation start signal. Therefore, the operation start signals are not transmitted simultaneously from the plurality of slave electronic devices, and the collision of the plurality of operation start signals can be avoided. Accordingly, the in-vehicle system can reliably start communication between the master electronic device and each slave electronic device.

請求項2に記載のように、マスタ電子装置と複数のスレーブ電子装置の各々とは、単一のバスに接続され、当該バスを介して通信を行うよう構成されており、複数のスレーブ電子装置の各々に設けられた検知手段は、バスに出力された動作開始信号を検出することにより、他のスレーブ電子装置からの動作開始信号の送信を検知することが望ましい。マスタ電子装置と複数のスレーブ電子装置の各々とを単一のバスに接続し、当該バスに出力された動作開始信号を検出することにより、各スレーブ電子装置に設けられた検知手段は、他のスレーブ電子装置からの動作開始信号の送信を確実に検知することができる。   The master electronic device and each of the plurality of slave electronic devices are connected to a single bus and configured to communicate via the bus, and the plurality of slave electronic devices It is preferable that the detection means provided in each of the first and second detection units detect the operation start signal transmitted from the other slave electronic device by detecting the operation start signal output to the bus. By detecting the operation start signal output to the bus by connecting the master electronic device and each of the plurality of slave electronic devices to a single bus, the detection means provided in each slave electronic device Transmission of the operation start signal from the slave electronic device can be reliably detected.

請求項3に記載のように、複数のスレーブ電子装置の各々は、マスタ電子装置への動作開始信号の送信を中断した後、所定時間が経過しても、マスタ電子装置からの問い合わせ信号が受信不可である場合、マスタ電子装置への動作開始信号の送信を再度試みることが望ましい。これにより、通信エラー等が発生した場合でも、本車載システムは、マスタ電子装置と各スレーブ電子装置との通信を開始することができる。   According to a third aspect of the present invention, each of the plurality of slave electronic devices receives an inquiry signal from the master electronic device even after a predetermined time elapses after transmission of the operation start signal to the master electronic device is interrupted. If this is not possible, it is desirable to try again to send an operation start signal to the master electronic device. Thereby, even when a communication error or the like occurs, the in-vehicle system can start communication between the master electronic device and each slave electronic device.

請求項4に記載のように、複数のスレーブ電子装置の各々は、マスタ電子装置への動作開始信号の送信を所定回数試みても、マスタ電子装置からの問い合わせ信号が受信不可である場合は、マスタ電子装置への動作開始信号の送信を中止することが望ましい。動作開始信号の送信を所定回数試みても、マスタ電子装置からの問い合わせ信号が受信できない場合、断線等の故障が発生している可能性がある。このような場合は、マスタ電子装置への動作開始信号の送信を中止し、余分な電力消費を抑えることが好ましいためである。   As described in claim 4, each of the plurality of slave electronic devices can not receive the inquiry signal from the master electronic device even if it tries to transmit the operation start signal to the master electronic device a predetermined number of times. It is desirable to stop sending the operation start signal to the master electronic device. If the inquiry signal from the master electronic device cannot be received even after a predetermined number of attempts to transmit the operation start signal, a failure such as disconnection may have occurred. In such a case, it is preferable to stop the transmission of the operation start signal to the master electronic device to suppress excessive power consumption.

請求項5に記載のように、複数のスレーブ電子装置の各々に設けられた検知手段は、設定された時間だけ検知動作を行うものであり、その設定時間は、各スレーブ電子装置毎に異なることが望ましい。これにより、各スレーブ電子装置の検知動作が終了した時点で、他のスレーブ電子装置の検知動作も同時に終了することがなくなり、複数のスレーブ電子装置からウェイクアップ信号が同時に出力されるのを防ぐことができる。   As described in claim 5, the detection means provided in each of the plurality of slave electronic devices performs a detection operation for a set time, and the set time is different for each slave electronic device. Is desirable. As a result, when the detection operation of each slave electronic device is completed, the detection operation of other slave electronic devices is not simultaneously ended, and the wake-up signal is not simultaneously output from a plurality of slave electronic devices. Can do.

図1は、本発明の一実施形態における車載システムの全体構成を示すブロック図である。本実施形態の車載システムは、マスタ電子装置であるイモビライザECU2と、スレーブ電子装置であるステアリングロックECU3および電源ECU4とが、バス1に接続される。イモビライザECU2と、ステアリングロックECU3および電源ECU4との通信は、ポーリング方式に基づいた非同期通信方式に従って行われる。   FIG. 1 is a block diagram showing the overall configuration of an in-vehicle system according to an embodiment of the present invention. In the in-vehicle system of this embodiment, an immobilizer ECU 2 that is a master electronic device, and a steering lock ECU 3 and a power supply ECU 4 that are slave electronic devices are connected to a bus 1. Communication between the immobilizer ECU 2, the steering lock ECU 3, and the power supply ECU 4 is performed according to an asynchronous communication method based on a polling method.

図1に示すように、イモビライザECU2は、図示しない車両のキーシリンダと接続されており、車両のキーに組み込まれた電子チップから送信されるIDコードの認証を行う。IDコードの認証結果がOKである場合には、エンジンECU21へ起動許可信号を送信し、図示しないエンジンの起動を許可する。   As shown in FIG. 1, the immobilizer ECU 2 is connected to a vehicle key cylinder (not shown), and authenticates an ID code transmitted from an electronic chip incorporated in the vehicle key. When the authentication result of the ID code is OK, a start permission signal is transmitted to the engine ECU 21 to permit start of an engine (not shown).

また、イモビライザECU2は、ステアリングロックECU3および電源ECU4から送信されたウェイクアップ信号(動作開始信号)を受信すると、ステアリングロックECU3および電源ECU4に、ポーリング信号(問い合わせ信号)を順次送信する。その際、ポーリング信号に対する応答として、ステアリングロックECU3および電源ECU4から、IDコードの認証結果を要求する要求信号が送信されてきた場合は、IDコードの認証結果を送信する。   When the immobilizer ECU 2 receives the wake-up signal (operation start signal) transmitted from the steering lock ECU 3 and the power supply ECU 4, the immobilizer ECU 2 sequentially transmits a polling signal (inquiry signal) to the steering lock ECU 3 and the power supply ECU 4. At this time, when a request signal for requesting an ID code authentication result is transmitted from the steering lock ECU 3 and the power supply ECU 4 as a response to the polling signal, the ID code authentication result is transmitted.

ステアリングロック装置31は、例えばメカニカルなストッパーから構成され、ステアリングロックECU3からロック信号を取得すると、車両のステアリング32をロックする。また、ステアリングロックECU3からロック解除信号を取得すると、ステアリング32のロックを解除する。なお、ステアリングのロックに関しては、電磁式のストッパー等を用いることとしても良い。   The steering lock device 31 is composed of, for example, a mechanical stopper, and locks the vehicle steering 32 when a lock signal is acquired from the steering lock ECU 3. Further, when an unlock signal is acquired from the steering lock ECU 3, the steering 32 is unlocked. For steering locking, an electromagnetic stopper or the like may be used.

ステアリングロックECU3は、ステアリング32がロックされた状態で、イモビライザECU2からポーリング信号を受信すると、その応答として、IDコードの認証結果を要求する要求信号をイモビライザECU2へと送信する。その後、イモビライザECU2から送信されたIDコードの認証結果がOKであった場合は、ステアリングロック装置31にロック解除信号を送信する。また、ステアリングロックECU3は、図示しない車両のキーがオフにセットされると、ステアリングロック装置31にロック信号を送信する。   When the steering lock ECU 3 receives a polling signal from the immobilizer ECU 2 in a state where the steering wheel 32 is locked, the steering lock ECU 3 transmits a request signal for requesting an ID code authentication result to the immobilizer ECU 2 as a response. Thereafter, when the authentication result of the ID code transmitted from the immobilizer ECU 2 is OK, a lock release signal is transmitted to the steering lock device 31. The steering lock ECU 3 transmits a lock signal to the steering lock device 31 when a vehicle key (not shown) is set to OFF.

特に本実施形態では、ステアリングロックECU3は、図示しない車両のキーシリンダと接続されており、車両のキーがイグニッションにセットされると、内部カウンタを起動するとともに、バス1に出力される信号の監視を開始する。その後、所定時間の間、バス1にウェイクアップ信号が出力されなかった場合は、バス1にウェイクアップ信号を出力し、イモビライザECU2へと送信する。   In particular, in the present embodiment, the steering lock ECU 3 is connected to a key cylinder of a vehicle (not shown). When the key of the vehicle is set to an ignition, an internal counter is activated and a signal output to the bus 1 is monitored. To start. Thereafter, when a wakeup signal is not output to the bus 1 for a predetermined time, the wakeup signal is output to the bus 1 and transmitted to the immobilizer ECU 2.

バッテリー41は、例えば車両用バッテリーであり、イモビライザECU2、ステアリングロックECU3、電源ECU4、および、車両に搭載された各種機器42に供給する電力を蓄える。なお、前述の各ECU2、3、4、21に関しては、バッテリー41と直結されており、後述するリレー43の開閉状態に関わらず、常時通電されている。   The battery 41 is, for example, a vehicle battery, and stores electric power to be supplied to the immobilizer ECU 2, the steering lock ECU 3, the power supply ECU 4, and various devices 42 mounted on the vehicle. Note that the ECUs 2, 3, 4, and 21 described above are directly connected to the battery 41, and are always energized regardless of the open / closed state of a relay 43 described later.

リレー43は、例えば電磁式のリレーであり、バッテリー41から出力される電力を、各種機器42に伝送するか否かのスイッチング動作を行う。もちろん、半導体を用いた無接点リレー等を用いることとしても良い。   The relay 43 is, for example, an electromagnetic relay, and performs a switching operation as to whether or not the power output from the battery 41 is transmitted to various devices 42. Of course, a contactless relay using a semiconductor may be used.

電源ECU4は、リレー43が開放された状態で、イモビライザECU2からポーリング信号を受信すると、その応答として、IDコードの認証結果を要求する要求信号をイモビライザECU2へと送信する。その後、イモビライザECU2から送信されたIDコードの認証結果がOKであった場合は、リレー43を閉鎖し、各種機器42への電力供給を開始する。また、電源ECU4は、図示しない車両のキーがオフにセットされると、リレー43を開放し、各種機器42への電力の供給を終了する。   When the power supply ECU 4 receives a polling signal from the immobilizer ECU 2 in a state where the relay 43 is opened, the power supply ECU 4 transmits a request signal for requesting an ID code authentication result to the immobilizer ECU 2 as a response. Thereafter, when the authentication result of the ID code transmitted from the immobilizer ECU 2 is OK, the relay 43 is closed and power supply to the various devices 42 is started. Further, when a vehicle key (not shown) is set to OFF, the power supply ECU 4 opens the relay 43 and ends the supply of power to the various devices 42.

特に本実施形態では、電源ECU4は、図示しない車両のキーシリンダと接続されており、車両のキーがイグニッションにセットされると、内部カウンタを起動するとともに、バス1に出力される信号の監視を開始する。その後、所定時間の間、バス1にウェイクアップ信号が出力されなかった場合は、バス1にウェイクアップ信号を出力し、イモビライザECU2へと送信する。なお、電源ECU4がバス1に出力される信号を監視する時間は、ステアリングECU3がウェイクアップ信号を送信する際に、バス1に出力される信号を監視する時間とは異なるようセットされる。   In particular, in the present embodiment, the power supply ECU 4 is connected to a key cylinder of a vehicle (not shown). When the vehicle key is set to ignition, the internal ECU is activated and the signal output to the bus 1 is monitored. Start. Thereafter, when a wakeup signal is not output to the bus 1 for a predetermined time, the wakeup signal is output to the bus 1 and transmitted to the immobilizer ECU 2. The time for monitoring the signal output to the bus 1 by the power supply ECU 4 is set to be different from the time for monitoring the signal output to the bus 1 when the steering ECU 3 transmits the wake-up signal.

終端抵抗51および52は、例えばシリース抵抗を備え、バス1の終端に取り付けられるとともに、バス1の終端で発生する信号の反射を抑制する。終端抵抗に関しては、レギュレータとシリース抵抗とを組み合わせて構成することとしても良い。   The termination resistors 51 and 52 include, for example, series resistors, are attached to the termination of the bus 1 and suppress reflection of signals generated at the termination of the bus 1. The termination resistor may be configured by combining a regulator and a series resistor.

次に、ステアリングロックECU3が、ウェイクアップ信号を送信する処理について説明する。   Next, a process in which the steering lock ECU 3 transmits a wake-up signal will be described.

図2は、本実施形態の車載システムにおいて、ステアリングロックECU3が、ウェイクアップ信号を送信する処理に関するフローチャートである。本フローチャートの処理は、車両のキーがイグニッションにセットされると実行が開始される。   FIG. 2 is a flowchart relating to a process in which the steering lock ECU 3 transmits a wake-up signal in the in-vehicle system of the present embodiment. The processing of this flowchart starts when the vehicle key is set to the ignition.

ステップ201では、ステアリングロックECU3は、内部カウンタを起動する。ステップ202では、バス1に出力されている信号を検出する。バス1に出力されている信号を検出することにより、電源ECU4からのウェイクアップ信号の送信を確実に検知することができるのである。   In step 201, the steering lock ECU 3 starts an internal counter. In step 202, the signal output to the bus 1 is detected. By detecting the signal output to the bus 1, the transmission of the wake-up signal from the power supply ECU 4 can be reliably detected.

ステップ203では、ステップ202において、バス1にウェイクアップ信号が検出されたか否かを判定する。ウェイクアップ信号が検出された場合は、ステップ207へ進む。そうでない場合は、ステップ204へ進む。   In step 203, it is determined in step 202 whether or not a wake-up signal is detected on the bus 1. If a wake-up signal is detected, the process proceeds to step 207. Otherwise, go to step 204.

ステップ204では、内部カウンタの値を1だけ加算する。ステップ205では、内部カウンタの値が所定値Kと等しいか否かを判定する。内部カウンタの値が所定値Kと等しいと判定された場合は、ステップ206へ進む。そうでない場合は、ステップ202へ戻り、上述の処理を繰り返す。   In step 204, the internal counter value is incremented by one. In step 205, it is determined whether or not the value of the internal counter is equal to a predetermined value K. If it is determined that the value of the internal counter is equal to the predetermined value K, the process proceeds to step 206. If not, the process returns to step 202 and the above process is repeated.

ステップ206では、バス1にウェイクアップ信号を出力し、イモビライザECU2へと送信する。一方、ステップ207では、ウェイクアップ信号の送信を中断する。   In step 206, a wake-up signal is output to the bus 1 and transmitted to the immobilizer ECU 2. On the other hand, in step 207, transmission of the wakeup signal is interrupted.

なお、電源ECU4がウェイクアップ信号を送信する処理は、本フローチャートのステップ205における、内部カウンタの値をK以外の値に設定すればよく、ステップ205以外の処理は、本フローチャートの処理と全く同じになる。内部カウンタの値をK以外の値に設定することで、ステアリングロックECU3と電源ECU4とが行うバス1の監視時間が異なることとなり、ステアリングロックECU3が監視動作を終了した時点で、これと同時に電源ECU4が監視動作を終了することがなくなり、バス1にウェイクアップ信号が同時に出力されるのを防ぐことができるのである。   The process in which the power supply ECU 4 transmits the wake-up signal may be set to a value other than K in step 205 of this flowchart, and the processes other than step 205 are exactly the same as those in this flowchart. become. By setting the value of the internal counter to a value other than K, the monitoring time of the bus 1 performed by the steering lock ECU 3 and the power supply ECU 4 is different, and at the same time the steering lock ECU 3 ends the monitoring operation, This prevents the ECU 4 from ending the monitoring operation and prevents the wake-up signal from being simultaneously output to the bus 1.

次に、ステアリングロックECU3がウェイクアップ信号を再度送信する処理について説明する。   Next, a process in which the steering lock ECU 3 transmits the wakeup signal again will be described.

図3は、本実施形態の車載システムにおいて、ステアリングロックECU3が、ウェイクアップ信号を再度送信する処理に関するフローチャートである。本フローチャートの処理は、ステアリングロックECU3がウェイクアップ信号を送信した直後に、実行が開始される。   FIG. 3 is a flowchart regarding the process in which the steering lock ECU 3 transmits the wake-up signal again in the in-vehicle system of the present embodiment. The processing of this flowchart is started immediately after the steering lock ECU 3 transmits a wake-up signal.

ステップ301では、ステアリングロックECU3は、内部カウンタを起動する。ステップ302では、イモビライザECU2からのポーリング信号を受信できたか否かを判定する。ポーリング信号を受信できた場合は、処理を終了する。受信できなかった場合は、ステップ303へ進む。   In step 301, the steering lock ECU 3 starts an internal counter. In step 302, it is determined whether or not a polling signal from the immobilizer ECU 2 has been received. If the polling signal can be received, the process ends. If not received, the process proceeds to step 303.

ステップ303では、内部カウンタの値を1だけ加算する。ステップ304では、内部カウンタの値が所定値Nと等しいか否かを判定する。内部カウンタの値が所定値Nと等しいと判定された場合は、ステップ305へ進み、ウェイクアップ信号の送信処理を再度行う。ウェイクアップ信号の送信処理に関しては、前述の図2のフローチャートの処理を実行することによって行う。内部カウンタの値が所定値Nと等しくない場合は、ステップ302へ戻り、上述の処理を繰り返す。これにより、通信エラー等が発生した場合でも、ウェイクアップ信号の送信処理を再度行うことで、確実に通信を開始することができるのである。   In step 303, the internal counter value is incremented by one. In step 304, it is determined whether or not the value of the internal counter is equal to a predetermined value N. When it is determined that the value of the internal counter is equal to the predetermined value N, the process proceeds to step 305 and the wakeup signal transmission process is performed again. The wakeup signal transmission process is performed by executing the process of the flowchart of FIG. If the value of the internal counter is not equal to the predetermined value N, the process returns to step 302 and the above processing is repeated. Thus, even when a communication error or the like occurs, the communication can be reliably started by performing the wakeup signal transmission process again.

なお、電源ECU4がウェイクアップ信号を再度送信する処理に関しては、本フローチャートの処理と同様であるため、説明を省略する。   Note that the process in which the power supply ECU 4 transmits the wake-up signal again is the same as the process in this flowchart, and thus the description thereof is omitted.

このように、本実施形態の車載システムでは、イモビライザECU2と、ステアリングロックECU3および電源ECU4とがバス1に接続され、ポーリング方式に基づいた通信方式によって通信を行うよう構成される。ステアリングロックECU3および電源ECU4が、イモビライザECU2へウェイクアップ信号を送信する際には、バス1に出力される信号を、所定時間の間、監視する。そして、バス1にウェイクアップ信号が出力されなかった場合は、バス1にウェイクアップ信号を出力し、イモビライザECU2へと送信する。一方、バス1にウェイクアップ信号が出力された場合は、ウェイクアップ信号の送信を中断する。これにより、ステアリングロックECU3と電源ECU4とが、バス1にウェイクアップ信号を同時に出力することがなくなる。そのため、本車載システムは、イモビライザECU2と、ステアリングロックECU3および電源ECU4との通信を、確実に開始することができる。   Thus, in the in-vehicle system of the present embodiment, the immobilizer ECU 2, the steering lock ECU 3 and the power supply ECU 4 are connected to the bus 1 and configured to perform communication by a communication method based on the polling method. When the steering lock ECU 3 and the power supply ECU 4 transmit a wakeup signal to the immobilizer ECU 2, the signals output to the bus 1 are monitored for a predetermined time. If no wakeup signal is output to the bus 1, the wakeup signal is output to the bus 1 and transmitted to the immobilizer ECU 2. On the other hand, when a wakeup signal is output to the bus 1, transmission of the wakeup signal is interrupted. This prevents the steering lock ECU 3 and the power supply ECU 4 from simultaneously outputting a wakeup signal to the bus 1. Therefore, this in-vehicle system can reliably start communication with the immobilizer ECU 2, the steering lock ECU 3, and the power supply ECU 4.

本実施形態の車載システムでは、ステアリングロックECU3および電源ECU4がウェイクアップ信号を送信した後、所定時間が経過してもポーリング信号を受信できない場合は、ウェイクアップ信号の再送信を試みた。しかしながら、ウェイクアップ信号の再送信を試みる回数を制限することとしてもよい。ウェイクアップ信号の送信を所定回数試みても、ポーリング信号を受信できない場合は、断線等の故障が発生している可能性がある。このような場合には、ウェイクアップ信号の再送信を中止し、余分な電力消費を抑えることが好ましいためである。   In the in-vehicle system of this embodiment, after the steering lock ECU 3 and the power supply ECU 4 transmit the wakeup signal, when the polling signal cannot be received even after a predetermined time has elapsed, an attempt is made to retransmit the wakeup signal. However, the number of attempts to retransmit the wakeup signal may be limited. If the polling signal cannot be received even after a predetermined number of attempts to transmit the wakeup signal, there is a possibility that a failure such as disconnection has occurred. In such a case, it is preferable to stop the re-transmission of the wake-up signal and suppress excessive power consumption.

また、本実施形態の車載システムでは、イモビライザECU2をマスタ電子装置としたが、ステアリングロックECU3や電源ECU4をマスタ電子装置としてもよい。もちろん、マスタ電子装置として専用のECUを用意することとしても良い。   In the in-vehicle system of the present embodiment, the immobilizer ECU 2 is the master electronic device, but the steering lock ECU 3 and the power supply ECU 4 may be the master electronic device. Of course, a dedicated ECU may be prepared as the master electronic device.

さらに、本実施形態の車載システムでは、各ECUは通常のバスに接続されていた。しかしながら、各ECUを無線LANで接続することとしてもよい。この場合、ステアリングロックECU3および電源ECU4は、受信アンテナから受信した電波を検波し、これがウェイクアップ信号を含むか否かを判定することにより、ウェイクアップ信号の送信を検出することとなる。   Furthermore, in the in-vehicle system of the present embodiment, each ECU is connected to a normal bus. However, each ECU may be connected by a wireless LAN. In this case, the steering lock ECU 3 and the power supply ECU 4 detect the transmission of the wakeup signal by detecting the radio wave received from the receiving antenna and determining whether or not this includes the wakeup signal.

最後に、本実施形態の車載システムでは、ポーリング方式に基づいた通信方式であれば、同期・非同期の区別なく、好適に用いることができる。   Finally, in the in-vehicle system of the present embodiment, any communication method based on the polling method can be suitably used without any distinction between synchronous and asynchronous.

本発明の一実施形態における車載システムの全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of an in-vehicle system according to an embodiment of the present invention. 本実施形態の車載システムにおいて、ステアリングロックECUが、ウェイクアップ信号を送信する処理に関するフローチャートである。In the vehicle-mounted system of this embodiment, it is a flowchart regarding the process in which a steering lock ECU transmits a wake-up signal. 本実施形態の車載システムにおいて、ステアリングロックECUが、ウェイクアップ信号を再度送信する処理に関するフローチャートである。In the vehicle-mounted system of this embodiment, it is a flowchart regarding the process in which a steering lock ECU transmits a wake-up signal again.

符号の説明Explanation of symbols

1…バス
2…イモビライザECU
21…エンジンECU
3…ステアリングロックECU
31…ステアリングロック装置
32…ステアリング
4…電源ECU
41…バッテリー
42…各種機器
43…リレー
51、52…終端抵抗
1 ... Bus 2 ... Immobilizer ECU
21 ... Engine ECU
3. Steering lock ECU
31 ... Steering lock device 32 ... Steering 4 ... Power supply ECU
41 ... Battery 42 ... Various equipment 43 ... Relay 51, 52 ... Termination resistance

Claims (5)

単一のマスタ電子装置と、複数のスレーブ電子装置とからなる車載システムであって、
前記マスタ電子装置は、前記複数のスレーブ電子装置のいずれかから送信された動作開始信号を受信すると動作を開始し、前記複数のスレーブ装置の各々に対して問い合わせ信号を順次送信するものであり、前記複数のスレーブ電子装置の各々は、前記マスタ電子装置に動作開始信号を送信して動作を開始させるとともに、前記マスタ電子装置から送信された問い合わせ信号を受信すると、前記マスタ電子装置との間で各種データを送受信する、ポーリング方式に基づいた通信方式によって通信を行うよう構成されており、
前記複数のスレーブ電子装置の各々に、他のスレーブ電子装置から前記マスタ電子装置への動作開始信号の送信を検知する検知手段を設け、
前記複数のスレーブ電子装置の各々は、前記マスタ電子装置へ動作開始信号を送信する際、当該スレーブ電子装置に設けられた前記検知手段が、他のスレーブ電子装置から前記マスタ電子装置への動作開始信号の送信を検知したか否かを判定し、これを検知したと判定された場合には、動作開始信号の送信を中断することを特徴とする車載システム。
An in-vehicle system comprising a single master electronic device and a plurality of slave electronic devices,
The master electronic device starts operation upon receiving an operation start signal transmitted from any of the plurality of slave electronic devices, and sequentially transmits an inquiry signal to each of the plurality of slave devices, Each of the plurality of slave electronic devices transmits an operation start signal to the master electronic device to start operation, and receives an inquiry signal transmitted from the master electronic device. It is configured to communicate using a communication method based on a polling method that sends and receives various data.
Each of the plurality of slave electronic devices is provided with detection means for detecting transmission of an operation start signal from another slave electronic device to the master electronic device,
When each of the plurality of slave electronic devices transmits an operation start signal to the master electronic device, the detection means provided in the slave electronic device starts operation from another slave electronic device to the master electronic device. An in-vehicle system characterized by determining whether or not signal transmission has been detected, and interrupting transmission of an operation start signal when it is determined that this has been detected.
前記マスタ電子装置と前記複数のスレーブ電子装置の各々とは、単一のバスに接続され、当該バスを介して通信を行うよう構成されており、
前記複数のスレーブ電子装置の各々に設けられた前記検知手段は、前記バスに出力された動作開始信号を検出することにより、他のスレーブ電子装置からの動作開始信号の送信を検知することを特徴とする請求項1記載の車載システム。
The master electronic device and each of the plurality of slave electronic devices are connected to a single bus and configured to communicate via the bus,
The detection means provided in each of the plurality of slave electronic devices detects transmission of an operation start signal from another slave electronic device by detecting an operation start signal output to the bus. The in-vehicle system according to claim 1.
前記複数のスレーブ電子装置の各々は、前記マスタ電子装置への動作開始信号の送信を中断した後、所定時間が経過しても、前記マスタ電子装置からの問い合わせ信号が受信不可である場合、前記マスタ電子装置への動作開始信号の送信を再度試みることを特徴とする請求項1または請求項2記載の車載システム。 When each of the plurality of slave electronic devices is unable to receive an inquiry signal from the master electronic device even after a predetermined time has elapsed after interrupting transmission of the operation start signal to the master electronic device, 3. The in-vehicle system according to claim 1, wherein transmission of an operation start signal to the master electronic device is attempted again. 前記複数のスレーブ電子装置の各々は、前記マスタ電子装置への動作開始信号の送信を所定回数試みても、前記マスタ電子装置からの問い合わせ信号が受信不可である場合は、前記マスタ電子装置への動作開始信号の送信を中止することを特徴とする請求項1または請求項3記載の車載システム。 If each of the plurality of slave electronic devices fails to receive an inquiry signal from the master electronic device even after trying to transmit an operation start signal to the master electronic device a predetermined number of times, The in-vehicle system according to claim 1 or 3, wherein the transmission of the operation start signal is stopped. 前記複数のスレーブ電子装置の各々に設けられた前記検知手段は、設定された時間だけ検知動作を行うものであり、その設定時間は、各スレーブ電子装置毎に異なることを特徴とする請求項1または請求項2記載の車載システム。 2. The detection means provided in each of the plurality of slave electronic devices performs a detection operation for a set time, and the set time differs for each slave electronic device. Or the vehicle-mounted system of Claim 2.
JP2003296023A 2003-08-20 2003-08-20 On-vehicle system Pending JP2005059809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003296023A JP2005059809A (en) 2003-08-20 2003-08-20 On-vehicle system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003296023A JP2005059809A (en) 2003-08-20 2003-08-20 On-vehicle system

Publications (1)

Publication Number Publication Date
JP2005059809A true JP2005059809A (en) 2005-03-10

Family

ID=34372065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003296023A Pending JP2005059809A (en) 2003-08-20 2003-08-20 On-vehicle system

Country Status (1)

Country Link
JP (1) JP2005059809A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008042888A (en) * 2006-07-10 2008-02-21 Nissan Motor Co Ltd Telecommunication network system and method of waking up non-wake-up node
JP2008279947A (en) * 2007-05-11 2008-11-20 Toyota Motor Corp Communication system
CN101503087B (en) * 2008-02-04 2011-04-20 联创汽车电子有限公司 Electronic steering column lock controller and control method thereof
JP2015024670A (en) * 2013-07-24 2015-02-05 株式会社デンソー Vehicle control system and master ecu
CN113246877A (en) * 2021-05-28 2021-08-13 联合汽车电子有限公司 Strategy for reducing static power consumption of fuel vehicle polling function

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008042888A (en) * 2006-07-10 2008-02-21 Nissan Motor Co Ltd Telecommunication network system and method of waking up non-wake-up node
JP2008279947A (en) * 2007-05-11 2008-11-20 Toyota Motor Corp Communication system
CN101503087B (en) * 2008-02-04 2011-04-20 联创汽车电子有限公司 Electronic steering column lock controller and control method thereof
JP2015024670A (en) * 2013-07-24 2015-02-05 株式会社デンソー Vehicle control system and master ecu
CN113246877A (en) * 2021-05-28 2021-08-13 联合汽车电子有限公司 Strategy for reducing static power consumption of fuel vehicle polling function
CN113246877B (en) * 2021-05-28 2023-04-28 联合汽车电子有限公司 Strategy for reducing static power consumption of fuel vehicle poling function

Similar Documents

Publication Publication Date Title
JP6670801B2 (en) Car sharing system and car sharing program
US7602915B2 (en) Communication system having plurality of nodes sharing a common cipher key, cipher key dispatching apparatus for use in the system, and anti-theft apparatus utilizing information derived from cipher key utilization
JP6201962B2 (en) In-vehicle communication system
US6847864B2 (en) Vehicular communications system initializing abnormal control unit
US9855918B1 (en) Proximity confirming passive access system for vehicle
US20170076524A1 (en) Smart key system
JP2018157463A (en) On-vehicle communication system, communication management device, and vehicle controller
CN109649331B (en) Vehicle sharing system
US10214182B2 (en) In-vehicle communication system, vehicle control device, and communication management device
EP3461699B1 (en) Terminal, vehicle control system, and vehicle control method
JP5772609B2 (en) Vehicle communication system
US9352723B2 (en) Theft prevention device and theft prevention method
CN111094082B (en) Vehicle sharing system
JP2006164706A (en) Connector and in-vehicle connector system
JP5296515B2 (en) Vehicle communication system
US20230016818A1 (en) Distance estimation device
JP2005203882A (en) Communication system and key transmitting method
KR20110140023A (en) System and method for controlling smart key using obd ii
JP2010137780A (en) Power transmission type wireless communication system
JP3974612B2 (en) Mobile device registration system
JP2005059809A (en) On-vehicle system
JP5720618B2 (en) Security equipment
EP3121753B1 (en) System for controlling the communication between a main device and an auxiliary device and associated main device and auxiliary device used in the system
US5668416A (en) Anti-theft vehicle security system having an engine control device and an anti-theft security device which confirm successful communication
JP4175217B2 (en) In-vehicle system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080401

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080331

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080805