JP6950516B2 - Relay device - Google Patents

Relay device Download PDF

Info

Publication number
JP6950516B2
JP6950516B2 JP2017245298A JP2017245298A JP6950516B2 JP 6950516 B2 JP6950516 B2 JP 6950516B2 JP 2017245298 A JP2017245298 A JP 2017245298A JP 2017245298 A JP2017245298 A JP 2017245298A JP 6950516 B2 JP6950516 B2 JP 6950516B2
Authority
JP
Japan
Prior art keywords
voltage
vehicle
activation line
connector
signal level
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
JP2017245298A
Other languages
Japanese (ja)
Other versions
JP2019111877A (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 JP2017245298A priority Critical patent/JP6950516B2/en
Publication of JP2019111877A publication Critical patent/JP2019111877A/en
Application granted granted Critical
Publication of JP6950516B2 publication Critical patent/JP6950516B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Description

この明細書における開示は、車外装置と車内装置との間で行われる通信を中継する中継装置に関する。 The disclosure in this specification relates to a relay device that relays communication performed between an external device and an in-vehicle device.

車両のコネクタに接続された車両診断ツールなどの車外装置と、車両内の電子制御装置などの車内装置と、の間で行われる通信を中継する中継装置が知られている。近年、車外装置と車内装置との間で行われる通信として、通信速度の速いイーサネットプロトコルに従った通信(以下、イーサネット通信)を導入することが検討されてきている。なお、イーサネットは登録商標である。 A relay device that relays communication performed between an external device such as a vehicle diagnostic tool connected to a vehicle connector and an in-vehicle device such as an electronic control device in the vehicle is known. In recent years, as communication performed between an external device and an in-vehicle device, it has been studied to introduce communication according to an Ethernet protocol having a high communication speed (hereinafter referred to as Ethernet communication). Ethernet is a registered trademark.

イーサネット通信を中継する中継装置は、コネクタに車外装置が接続されていない場合、消費電力低減及びノイズ抑制等のために、車外装置との間の通信のための機能を制限する(特許文献1参照)。例えば、中継装置とコネクタとの間の通信線を用いた通信を禁止する。 When an external device is not connected to the connector, the relay device that relays Ethernet communication limits the function for communication with the external device in order to reduce power consumption and suppress noise (see Patent Document 1). ). For example, communication using a communication line between the relay device and the connector is prohibited.

このため、コネクタに対する車外装置の着脱を検出する構成を中継装置に設ける必要がある。特許文献1の中継装置は、コネクタに対する車外装置の着脱を検出するために、活性化ライン(Activation Line)を用いる。 Therefore, it is necessary to provide the relay device with a configuration for detecting the attachment / detachment of the external device to the connector. The relay device of Patent Document 1 uses an activation line to detect the attachment / detachment of the external device to the connector.

活性化ラインは、コネクタと中継装置との間に設けられて、コネクタに車外装置が接続されていないときに活性化ラインは開放状態となって活性化ラインの電圧が基準電圧となるように構成される。また、コネクタに車外装置が接続されると、活性化ラインにはコネクタを通じて車外装置から、基準電圧よりも高電圧の車外電圧が印加されて、活性化ラインの電圧が基準電圧よりも高くなるように構成される。 The activation line is provided between the connector and the relay device so that the activation line is open and the voltage of the activation line becomes the reference voltage when the external device is not connected to the connector. Will be done. When an external device is connected to the connector, an external voltage higher than the reference voltage is applied to the activation line from the external device through the connector so that the voltage of the activation line becomes higher than the reference voltage. It is composed of.

特許文献1の中継装置は、コネクタに対する車外装置の着脱に応じた活性化ラインの上述の電圧変化に基づいて、コネクタに対する車外装置の着脱を検出している。 The relay device of Patent Document 1 detects the attachment / detachment of the outer device to / from the connector based on the above-mentioned voltage change of the activation line according to the attachment / detachment of the outer device to / from the connector.

特開2017−123570号公報JP-A-2017-123570

活性化ラインの短絡故障には、基準電圧に活性化ラインが短絡する基準電圧側短絡と、基準電圧よりも高電圧の車内電圧に活性化ラインが短絡する高電圧側短絡と、がある。 The activation line short-circuit failure includes a reference voltage side short circuit in which the activation line is short-circuited to the reference voltage and a high voltage side short circuit in which the activation line is short-circuited to an in-vehicle voltage higher than the reference voltage.

基準電圧側短絡が発生すると、活性化ラインの電圧が基準電圧に固定される。高電圧側短絡が発生すると、活性化ラインの電圧が、基準電圧よりも高い電圧に固定される。 When a short circuit on the reference voltage side occurs, the voltage of the activation line is fixed to the reference voltage. When a high voltage side short circuit occurs, the voltage of the activation line is fixed at a voltage higher than the reference voltage.

このような活性化ラインの短絡故障は、車外装置が一時的にコネクタに接続されるものと想定すれば、車外装置がコネクタに接続中であるときと比べて車外装置がコネクタに非接続であるときに発生する場合が多いと考えられる。車外装置がコネクタに非接続であるときに活性化ラインの短絡故障が発生すると、例えば次のような不具合が生じ得る。 Such a short-circuit failure of the activation line means that the external device is not connected to the connector as compared with the case where the external device is connected to the connector, assuming that the external device is temporarily connected to the connector. It is thought that it often occurs at times. If a short-circuit failure of the activation line occurs when the external device is not connected to the connector, the following problems may occur, for example.

車外装置がコネクタに非接続である状況で活性化ラインの基準電圧側短絡が発生した場合を考える。この場合、基準電圧側短絡の発生後に車外装置がコネクタに接続されても、活性化ラインの電圧が基準電圧に維持される。そうすると、中継装置は、コネクタに車外装置が接続されたことを検出できなくなり、中継装置を介した車外装置と車内装置との間の通信が不可能となる。 Consider the case where a short circuit on the reference voltage side of the activation line occurs when the external device is not connected to the connector. In this case, even if the external device is connected to the connector after the occurrence of the reference voltage side short circuit, the voltage of the activation line is maintained at the reference voltage. Then, the relay device cannot detect that the vehicle exterior device is connected to the connector, and communication between the vehicle exterior device and the vehicle interior device via the relay device becomes impossible.

次に、車外装置がコネクタに非接続である状況で活性化ラインの高電圧側短絡が発生した場合を考える。この場合、活性化ラインの電圧は、基準電圧から車内電圧に変化する。そうすると、コネクタに車外装置が接続されていないにも係らず、中継装置は、活性化ラインの電圧変化に基づいてコネクタに車外装置が接続されたと誤検出する可能性がある。そして、コネクタに車外装置が接続されていないにも係らず、中継装置は、車外装置との通信のための機能の制限を解除してしまう可能性がある。これは、不要な電力消費やノイズの原因になる。 Next, consider the case where a short circuit on the high voltage side of the activation line occurs in a situation where the external device is not connected to the connector. In this case, the voltage of the activation line changes from the reference voltage to the in-vehicle voltage. Then, even though the external device is not connected to the connector, the relay device may erroneously detect that the external device is connected to the connector based on the voltage change of the activation line. Then, even though the external device is not connected to the connector, the relay device may release the restriction of the function for communication with the external device. This causes unnecessary power consumption and noise.

そこで、本明細書における開示は、活性化ラインについて短絡故障が生じていない正常状態であって、且つ、車外装置がコネクタに非接続である状況を少なくとも検出可能な中継装置を提供することを目的の一つとする。 Therefore, it is an object of the present specification to provide a relay device capable of at least detecting a situation in which the activation line is in a normal state without a short-circuit failure and the external device is not connected to the connector. It is one of.

この目的を達成するための中継装置の一例は、
車外装置(2)が着脱可能なコネクタ(90)を備えた車両に設けられ、
コネクタに車外装置が接続されたことの検出に基づいて、車外装置と、車外装置の通信相手である車両内の車内装置(81、82、83)と、の間で行われる通信を中継する中継装置であって、
コネクタに車外装置が接続されているときに車外装置からコネクタを通じて基準電圧よりも高電圧の車外電圧(VB0)が印加されるように構成された活性化ライン(41)と、
活性化ラインの電圧が閾値電圧未満のときに第1信号レベルの判定信号を出力し、活性化ラインの電圧が閾値電圧以上のときに第2信号レベルの判定信号を出力する判定信号出力回路(45)であって、閾値電圧が基準電圧よりも高く且つ車外電圧以下である判定信号出力回路(45)と、
閾値電圧以上の車内電圧(VB1)を活性化ラインに印加可能な車内電圧印加回路(43)と、
活性化ラインと基準電圧との間に接続されており、車外電圧及び車内電圧の何れもが活性化ラインに印加されていないときに活性化ラインの電圧を基準電圧にさせる抵抗(R1)と、
車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせると共に、判定信号出力回路から出力された判定信号を取得する制御部(30)と、
を備え、
制御部は、
車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせている間に判定信号出力回路から出力された判定信号の信号レベルが第1信号レベル及び第2信号レベルに推移していると判定した場合、
閾値電圧未満の電圧を有する部位に活性化ラインが短絡する基準電圧側短絡及び閾値電圧以上の電圧を有する部位に活性化ラインが短絡する高電圧側短絡の何れもが非発生であり、且つ車外装置がコネクタに非接続であると判定する、中継装置である。
An example of a relay device to achieve this purpose is
An external device (2) is provided on a vehicle equipped with a detachable connector (90).
A relay that relays communication performed between the external device and the in-vehicle device (81, 82, 83) that is the communication partner of the external device based on the detection that the external device is connected to the connector. It ’s a device,
An activation line (41) configured to apply an external voltage (VB0) higher than the reference voltage from the external device through the connector when the external device is connected to the connector.
Judgment signal output circuit that outputs the judgment signal of the first signal level when the voltage of the activation line is less than the threshold voltage and outputs the judgment signal of the second signal level when the voltage of the activation line is equal to or higher than the threshold voltage ( 45), the determination signal output circuit (45) in which the threshold voltage is higher than the reference voltage and equal to or lower than the outside voltage.
An in-vehicle voltage application circuit (43) capable of applying an in-vehicle voltage (VB1) equal to or higher than the threshold voltage to the activation line, and an in-vehicle voltage application circuit (43).
A resistor (R1) that is connected between the activation line and the reference voltage and makes the voltage of the activation line the reference voltage when neither the outside voltage nor the inside voltage is applied to the activation line.
A control unit (30) that turns on and off the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line and acquires the determination signal output from the determination signal output circuit.
With
The control unit
While the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off, the signal level of the judgment signal output from the judgment signal output circuit changes to the first signal level and the second signal level. If it is determined that there is
Both the reference voltage side short circuit in which the activation line is short-circuited in the part having a voltage lower than the threshold voltage and the high voltage side short circuit in which the activation line is short-circuited in the part having a voltage higher than the threshold voltage are non-occurrence and outside the vehicle. It is a relay device that determines that the device is not connected to the connector.

以上の中継装置の構成によれば、活性化ラインについて短絡故障が生じていない正常状態であって、且つ、車外装置がコネクタに非接続である状況を少なくとも検出可能になる。その原理は以下の通りである。 According to the above configuration of the relay device, it is possible to at least detect a situation in which the activation line is in a normal state without a short-circuit failure and the external device is not connected to the connector. The principle is as follows.

車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせているときに、車外装置がコネクタに非接続であり且つ基準電圧側短絡及び高電圧側短絡の何れもが非発生である場合を考える。この場合、活性化ラインの電圧は、基準電圧と車内電圧とに遷移する。その結果、判定信号の信号レベルは、第1信号レベルと第2信号レベルとに推移する。 When the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off, the external device is not connected to the connector and neither the reference voltage side short circuit nor the high voltage side short circuit occurs. Consider a case. In this case, the voltage of the activation line transitions between the reference voltage and the in-vehicle voltage. As a result, the signal level of the determination signal changes between the first signal level and the second signal level.

次に、車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせているときに、車外装置がコネクタに非接続であり且つ基準電圧側短絡及び高電圧側短絡の何れかが発生している場合を考える。この場合、活性化ラインの電圧は、短絡が原因で、閾値電圧以上の電圧又は閾値電圧未満の電圧に固定されたままとなる。その結果、判定信号の信号レベルは、第1信号レベル又は第2信号レベルに維持される。 Next, when the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off, the external device is not connected to the connector and either the reference voltage side short circuit or the high voltage side short circuit is performed. Consider the case where it occurs. In this case, the voltage of the activation line remains fixed at a voltage above or below the threshold voltage due to the short circuit. As a result, the signal level of the determination signal is maintained at the first signal level or the second signal level.

また、車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせているときに、車外装置がコネクタに接続されており且つ基準電圧側短絡及び高電圧側短絡の何れもが非発生である場合を考える。この場合、活性化ラインの電圧は、車内電圧又は車外電圧となる。その結果、判定信号の信号レベルが第2信号レベルに維持される。 In addition, when the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off, the vehicle-outside device is connected to the connector, and neither the reference voltage side short circuit nor the high voltage side short circuit is performed. Consider the case of occurrence. In this case, the voltage of the activation line becomes the voltage inside the vehicle or the voltage outside the vehicle. As a result, the signal level of the determination signal is maintained at the second signal level.

また、車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせているときに、車外装置がコネクタに接続されており且つ基準電圧側短絡及び高電圧側短絡の何れかが発生している場合を考える。この場合、活性化ラインの電圧は、閾値電圧以上の電圧又は閾値電圧未満の電圧に固定されたままとなる。その結果、判定信号は、第1信号レベル又は第2信号レベルに維持される。 Further, when the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off, the external device is connected to the connector and either the reference voltage side short circuit or the high voltage side short circuit occurs. Consider the case where you are doing. In this case, the voltage of the activation line remains fixed at a voltage above or below the threshold voltage. As a result, the determination signal is maintained at the first signal level or the second signal level.

よって、制御部は、車内電圧印加回路から活性化ラインへの車内電圧の印加をオン及びオフさせているときに判定信号の信号レベルが第1信号レベル及び第2信号レベルに推移していることに基づいて、車外装置がコネクタに非接続であって、且つ、活性化ラインの短絡故障が非発生であると判定できる。 Therefore, in the control unit, the signal level of the determination signal changes to the first signal level and the second signal level when the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off. Based on the above, it can be determined that the external device is not connected to the connector and that the short circuit failure of the activation line has not occurred.

このようにして、比較的な簡素な回路構成と制御とにより、活性化ラインについて短絡故障が生じていない正常状態であって、且つ、車外装置がコネクタに非接続であることを検出可能になる。 In this way, with a comparatively simple circuit configuration and control, it becomes possible to detect that the activation line is in a normal state without a short-circuit failure and that the external device is not connected to the connector. ..

一実施形態の車両用通信システム1の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the vehicle communication system 1 of one Embodiment. 接続検出回路40の回路構成を説明する説明図である。It is explanatory drawing explaining the circuit structure of the connection detection circuit 40. 判定信号出力回路45から出力される判定信号の信号レベルを説明する説明図である。It is explanatory drawing explaining the signal level of the determination signal output from the determination signal output circuit 45. 短絡故障検出処理を説明するフローチャートである。It is a flowchart explaining the short circuit failure detection process. 変形例の短絡故障検出処理を説明するフローチャートである。It is a flowchart explaining the short circuit failure detection process of the modification.

以下、図面を参照しつつ、実施形態を説明する。 Hereinafter, embodiments will be described with reference to the drawings.

<車両用通信システム1の概略>
車両用通信システム1は、図1に示すように、複数のECU81、82、83と、コネクタ90に着脱可能な車外装置2と、中継装置10と、を備える。
<Outline of communication system 1 for vehicles>
As shown in FIG. 1, the vehicle communication system 1 includes a plurality of ECUs 81, 82, 83, an external device 2 that can be attached to and detached from the connector 90, and a relay device 10.

ECU81、82、83は、車両の各種制御を行う車載の電子制御装置である。例えば、ECU81は、カーオーディオ装置を制御するECUであり、ECU82は、ステアリング装置を制御するECUであり、ECU83は、ブレーキ装置を制御するECUである。ECU81、82、83は、車内装置に対応する。 The ECUs 81, 82, and 83 are in-vehicle electronic control devices that control various types of vehicles. For example, the ECU 81 is an ECU that controls a car audio device, the ECU 82 is an ECU that controls a steering device, and the ECU 83 is an ECU that controls a braking device. ECUs 81, 82, and 83 correspond to in-vehicle devices.

車外装置2は、例えば、車載のコネクタ90に着脱可能な車両診断ツールである。コネクタ90に接続された車外装置2は、中継装置10を経由してECU81、82、83と通信を行うことにより、ECU81、82、83からの情報の読出処理及びECU81、82、83のプログラム等の書換処理等を行う。 The vehicle exterior device 2 is, for example, a vehicle diagnostic tool that can be attached to and detached from the vehicle-mounted connector 90. The external device 2 connected to the connector 90 communicates with the ECUs 81, 82, 83 via the relay device 10 to read information from the ECUs 81, 82, 83, program the ECUs 81, 82, 83, and the like. Rewrite processing, etc.

コネクタ90は、車外装置2が着脱可能な接続部であり、通信用端子P1と、着脱検出用端子P2と、を備える。通信用端子P1は、車外装置2と中継装置10との間の通信に用いられる。着脱検出用端子P2は、車外装置2のコネクタ90に対する着脱を検出するために用いられる。 The connector 90 is a connection portion to which the external device 2 can be attached and detached, and includes a communication terminal P1 and an attachment / detachment detection terminal P2. The communication terminal P1 is used for communication between the external device 2 and the relay device 10. The attachment / detachment detection terminal P2 is used to detect attachment / detachment of the external device 2 to the connector 90.

中継装置10は、車両に設けられ、車外装置2がコネクタ90に接続されているか否かを検出する機能と、コネクタ90に接続された車外装置2と、ECU81、82、83と、の間で行われる通信を中継する中継機能と、を有する。 The relay device 10 is provided in the vehicle and has a function of detecting whether or not the vehicle exterior device 2 is connected to the connector 90, and between the vehicle exterior device 2 connected to the connector 90 and the ECUs 81, 82, and 83. It has a relay function for relaying the communication to be performed.

本実施形態では、車外装置2、中継装置10、及びECU81、82、83の間の通信は、イーサネットプロトコルに従って行われる。以下では、イーサネットプロトコルに従った通信をイーサネット通信という。 In this embodiment, communication between the vehicle exterior device 2, the relay device 10, and the ECUs 81, 82, and 83 is performed according to the Ethernet protocol. Hereinafter, communication according to the Ethernet protocol is referred to as Ethernet communication.

以下、中継装置10の機能及び構成の詳細を説明する。 The details of the function and configuration of the relay device 10 will be described below.

<中継装置10の全体構成>
中継装置10は、スイッチングハブ20と、制御部30と、接続検出回路40と、を備える。
<Overall configuration of relay device 10>
The relay device 10 includes a switching hub 20, a control unit 30, and a connection detection circuit 40.

スイッチングハブ20は、複数のポート21、22、23、24を備える。これらのポート21、23、23、24には、それぞれ、通信線61、71、72、73が接続されている。 The switching hub 20 includes a plurality of ports 21, 22, 23, 24. Communication lines 61, 71, 72, and 73 are connected to these ports 21, 23, 23, and 24, respectively.

具体的には、ポート21は、外部用通信線61を通じて、コネクタ90の通信用端子P1と接続されている。ポート22は、内部用通信線71を通じて、ECU81と接続されている。ポート23は、内部用通信線72を通じて、ECU82と接続されている。ポート24は、内部用通信線73を通じて、ECU83と接続されている。 Specifically, the port 21 is connected to the communication terminal P1 of the connector 90 through the external communication line 61. The port 22 is connected to the ECU 81 through the internal communication line 71. The port 23 is connected to the ECU 82 through the internal communication line 72. The port 24 is connected to the ECU 83 through the internal communication line 73.

スイッチングハブ20は、何れかのポート21、22、23、24から受信したイーサネット通信フレーム(以下、フレーム)に含まれる宛先MACアドレスに基づいて、このフレームを送出する送信先を特定する。スイッチングハブ20は、特定した送信先に対応するポート21、22、23、24へフレームを出力する。このようにして、スイッチングハブ20は、フレームの中継、即ち、通信の中継を行う。 The switching hub 20 specifies a transmission destination for transmitting this frame based on the destination MAC address included in the Ethernet communication frame (hereinafter, frame) received from any of the ports 21, 22, 23, 24. The switching hub 20 outputs a frame to ports 21, 22, 23, and 24 corresponding to the specified destination. In this way, the switching hub 20 relays frames, that is, relays communications.

また、スイッチングハブ20は、制御部30の制御の下で、何れかのポート21、22、23、24からのフレームの送受信を遮断することにより、特定の通信線61、71、72、73を用いた通信を禁止する機能を有する。 Further, the switching hub 20 connects the specific communication lines 61, 71, 72, 73 by blocking the transmission and reception of frames from any of the ports 21, 22, 23, 24 under the control of the control unit 30. It has a function to prohibit the communication used.

例えば、スイッチングハブ20は、コネクタ90に車外装置2が非接続であると判定されている場合には、ポート21からのフレームの送受信を遮断することにより、外部用通信線61を用いた通信を禁止する。 For example, when it is determined that the external device 2 is not connected to the connector 90, the switching hub 20 cuts off the transmission / reception of the frame from the port 21 to perform communication using the external communication line 61. proclaim.

一方、スイッチングハブ20は、コネクタ90に車外装置2が接続されていると判定されている場合には、ポート21からのフレームの送受信を許容することにより、外部用通信線61を用いた通信を許可する。 On the other hand, when it is determined that the external device 2 is connected to the connector 90, the switching hub 20 allows the transmission and reception of the frame from the port 21 to perform communication using the external communication line 61. to approve.

制御部30は、CPU、ROM、RAM等を備えたマイクロコンピュータを主体として構成される。制御部30は、ROM等の記憶装置に記憶されたプログラムをCPU等のプロセッサが実行することにより、上述したスイッチングハブ20のポート遮断及び後述する短絡故障検出処理等を行う。なお、制御部30の機能の少なくとも一部は、専用回路等によって提供されてもよい。 The control unit 30 is mainly composed of a microcomputer provided with a CPU, ROM, RAM, and the like. The control unit 30 executes a program stored in a storage device such as a ROM by a processor such as a CPU to shut off the port of the switching hub 20 described above and perform a short-circuit failure detection process described later. At least a part of the function of the control unit 30 may be provided by a dedicated circuit or the like.

接続検出回路40は、コネクタ90の着脱検出用端子P2に接続されており、コネクタ90に対する車外装置2の着脱を電気的に検出するための電気回路である。また、本実施形態の接続検出回路40は、後述する活性化ライン41の短絡故障検出のための回路構成を備える。 The connection detection circuit 40 is connected to the attachment / detachment detection terminal P2 of the connector 90, and is an electric circuit for electrically detecting the attachment / detachment of the external device 2 to / from the connector 90. Further, the connection detection circuit 40 of the present embodiment includes a circuit configuration for detecting a short circuit failure of the activation line 41, which will be described later.

<接続検出回路40の回路構成>
ここで、接続検出回路40の回路構成を、図2を参照しつつ説明する。
<Circuit configuration of connection detection circuit 40>
Here, the circuit configuration of the connection detection circuit 40 will be described with reference to FIG.

検出回路は、活性化ライン41と、車内電圧印加回路43と、判定信号出力回路45と、を備える。 The detection circuit includes an activation line 41, an in-vehicle voltage application circuit 43, and a determination signal output circuit 45.

活性化ライン41は、コネクタ90の着脱検出用端子P2と、判定信号出力回路45の電圧検出用スイッチ素子SW2のベースと、の間に設けられた接続線である。 The activation line 41 is a connection line provided between the attachment / detachment detection terminal P2 of the connector 90 and the base of the voltage detection switch element SW2 of the determination signal output circuit 45.

活性化ライン41は、抵抗R1を介して、基準電圧が与えられるGNDに接続されている。さらに、活性化ライン41とGNDとの間には、高周波ノイズ等を抑制するために、コンデンサC1、抵抗R2、及びコンデンサC2が並列接続されている。また、活性化ライン41には、電圧検出用スイッチ素子SW2のベースへの過大な電圧印加を抑制するために、抵抗R3が設けられている。 The activation line 41 is connected to GND to which a reference voltage is applied via a resistor R1. Further, a capacitor C1, a resistor R2, and a capacitor C2 are connected in parallel between the activation line 41 and GND in order to suppress high frequency noise and the like. Further, the activation line 41 is provided with a resistor R3 in order to suppress an excessive voltage application to the base of the voltage detection switch element SW2.

車内電圧印加回路43は、基準電圧よりも高電圧の車内電圧VB1を活性化ライン41に印加するための回路である。車内電圧印加回路43は、活性化ライン41と車内電圧VB1との間に直列接続された電圧印加用スイッチ素子SW1を備える。 The in-vehicle voltage application circuit 43 is a circuit for applying an in-vehicle voltage VB1 having a voltage higher than the reference voltage to the activation line 41. The in-vehicle voltage application circuit 43 includes a voltage application switch element SW1 connected in series between the activation line 41 and the in-vehicle voltage VB1.

電圧印加用スイッチ素子SW1は、例えばバイポーラトランジスタで構成される。電圧印加用スイッチ素子SW1のコレクタは、抵抗R5を介して、車内電圧VB1に直列接続されている。電圧印加用スイッチ素子SW1のエミッタは、活性化ライン41に接続されている。電圧印加用スイッチSW1のベースは、検出用信号線64に接続されている。 The voltage application switch element SW1 is composed of, for example, a bipolar transistor. The collector of the voltage application switch element SW1 is connected in series to the in-vehicle voltage VB1 via the resistor R5. The emitter of the voltage application switch element SW1 is connected to the activation line 41. The base of the voltage application switch SW1 is connected to the detection signal line 64.

電圧印加用スイッチ素子SW1のオンオフは、制御部30が検出用信号線64を通じて検出用信号を電圧印加用スイッチ素子SW1のベースへ出力することにより制御される。詳しくは、制御部30がパルス状の検出用信号を電圧印加用スイッチ素子SW1のベースへ繰り返し出力することにより、電圧印加用スイッチ素子SW1は繰り返しオンオフされる。 The on / off of the voltage application switch element SW1 is controlled by the control unit 30 outputting the detection signal to the base of the voltage application switch element SW1 through the detection signal line 64. Specifically, the control unit 30 repeatedly outputs the pulsed detection signal to the base of the voltage application switch element SW1, so that the voltage application switch element SW1 is repeatedly turned on and off.

電圧印加用スイッチ素子SW1は、オフ状態のとき、車内電圧VB1から活性化ライン41への電圧印加を遮断する。電圧印加用スイッチ素子SW1は、オン状態のとき、車内電圧VB1から活性化ライン41へ電圧を印加させる。なお、電圧印加用スイッチ素子SW1がオン状態のときに活性化ラインに印加される電圧は、抵抗R5による電圧降下及び電圧印加用スイッチ素子SW1のコレクタエミッタ間の電圧降下に応じて車内電圧VB1よりも小さくなる。しかし、車内電圧印加回路43は、活性化ライン41に基準電圧よりも高電圧の電圧を印加する回路であり、車内電圧VB1と、電圧降下後の電圧はともに基準電圧よりも高電圧である。したがって、車内電圧VB1と、電圧降下後の電圧を区別する必要はない。そこで、本明細書では、簡単のため、電圧印加用スイッチ素子SW1がオン状態のときに電圧印加用スイッチ素子SW1のエミッタから活性化ライン41に印加される電圧も、車内電圧VB1という。 When the voltage application switch element SW1 is in the off state, the voltage application from the vehicle interior voltage VB1 to the activation line 41 is cut off. When the voltage application switch element SW1 is in the ON state, a voltage is applied from the vehicle interior voltage VB1 to the activation line 41. The voltage applied to the activation line when the voltage application switch element SW1 is on is from the in-vehicle voltage VB1 according to the voltage drop due to the resistor R5 and the voltage drop between the collector and emitter of the voltage application switch element SW1. Also becomes smaller. However, the in-vehicle voltage application circuit 43 is a circuit that applies a voltage higher than the reference voltage to the activation line 41, and both the in-vehicle voltage VB1 and the voltage after the voltage drop are higher than the reference voltage. Therefore, it is not necessary to distinguish between the in-vehicle voltage VB1 and the voltage after the voltage drop. Therefore, in the present specification, for the sake of simplicity, the voltage applied to the activation line 41 from the emitter of the voltage application switch element SW1 when the voltage application switch element SW1 is in the ON state is also referred to as an in-vehicle voltage VB1.

判定信号出力回路45は、活性化ライン41の電圧に応じた信号レベルを有する判定信号を出力する回路である。判定信号出力回路45は、電圧検出用スイッチ素子SW2を備える。電圧検出用スイッチ素子SW2は、例えばバイポーラトランジスタで構成される。 The determination signal output circuit 45 is a circuit that outputs a determination signal having a signal level corresponding to the voltage of the activation line 41. The determination signal output circuit 45 includes a voltage detection switch element SW2. The voltage detection switch element SW2 is composed of, for example, a bipolar transistor.

電圧検出用スイッチ素子SW2のベースは、活性化ライン41に接続されている。電圧検出用スイッチ素子SW2のエミッタは、GNDに接続されている。電圧検出用スイッチ素子SW2のコレクタは、抵抗R4を介して、判定用電圧VB2に直列接続されている。 The base of the voltage detection switch element SW2 is connected to the activation line 41. The emitter of the voltage detection switch element SW2 is connected to GND. The collector of the voltage detection switch element SW2 is connected in series to the determination voltage VB2 via the resistor R4.

電圧検出用スイッチ素子SW2は、活性化ライン41の電圧が閾値電圧未満の場合に、オフ状態となり、活性化ライン41の電圧が閾値電圧以上の場合に、オン状態となる。なお、閾値電圧は、GNDの電圧である基準電圧よりも高い。また、閾値電圧は、上述した車内電圧VB1以下であり且つ後述する車外電圧VB0以下である。 The voltage detection switch element SW2 is turned off when the voltage of the activation line 41 is less than the threshold voltage, and is turned on when the voltage of the activation line 41 is equal to or higher than the threshold voltage. The threshold voltage is higher than the reference voltage, which is the voltage of GND. Further, the threshold voltage is the above-mentioned in-vehicle voltage VB1 or less and the outside-vehicle voltage VB0 or less described later.

抵抗R4と電圧検出用スイッチ素子SW2のコレクタとを繋ぐコレクタ側線44の電圧は、電圧検出用スイッチ素子SW2のオンオフに応じて変化する。 The voltage of the collector side line 44 connecting the resistor R4 and the collector of the voltage detection switch element SW2 changes according to the on / off of the voltage detection switch element SW2.

詳しくは、電圧検出用スイッチ素子SW2がオフ状態のとき、即ち判定用電圧VB2から電圧検出用スイッチ素子SW2のコレクタに向かって電流が流れていないとき、コレクタ側線44の電圧は、判定用電圧VB2となる。 Specifically, when the voltage detection switch element SW2 is in the off state, that is, when no current is flowing from the determination voltage VB2 toward the collector of the voltage detection switch element SW2, the voltage of the collector side line 44 is the determination voltage VB2. It becomes.

一方、電圧検出用スイッチ素子SW2がオン状態のとき、即ち判定用電圧VB2から電圧検出用スイッチ素子SW2のコレクタに向かって電流Icが流れているとき、コレクタ側線44の電圧は、VB2―IcR4となる。 On the other hand, when the voltage detection switch element SW2 is in the ON state, that is, when the current Ic is flowing from the determination voltage VB2 toward the collector of the voltage detection switch element SW2, the voltage of the collector side line 44 becomes VB2-IcR4. Become.

電圧検出用スイッチ素子SW2のオンオフに応じて変化するコレクタ側線44の電圧が、判定信号入力線65を通じて、判定信号の信号レベルとして、制御部30に入力されるように構成されている。 The voltage of the collector side line 44, which changes according to the on / off of the voltage detection switch element SW2, is input to the control unit 30 as the signal level of the determination signal through the determination signal input line 65.

即ち、電圧検出用スイッチ素子SW2がオフ状態のとき、信号レベルとして電圧VB2を有する判定信号が制御部30に入力される。このときの信号レベルを、本明細書では第1信号レベルと呼ぶ。 That is, when the voltage detection switch element SW2 is in the off state, a determination signal having a voltage VB2 as a signal level is input to the control unit 30. The signal level at this time is referred to as a first signal level in this specification.

電圧検出用スイッチ素子SW2がオン状態とき、信号レベルとして電圧VB2―IcR4を有する判定信号が、制御部30に入力される。このときの信号レベルを、本明細書では第2信号レベルと呼ぶ。 When the voltage detection switch element SW2 is on, a determination signal having the voltage VB2-IcR4 as a signal level is input to the control unit 30. The signal level at this time is referred to as a second signal level in this specification.

また、活性化ライン41は、車外装置2がコネクタ90に接続されている場合に、コネクタ90の着脱検出用端子P2を介して、車外装置2から車外電圧VB0が印加されるように構成されている。着脱検出用端子P2を介して活性化ライン41に印加される車外電圧VB0は、電圧検出用スイッチ素子SW2をオンさせる閾値電圧以上となる大きさである。即ち、車外装置2がコネクタ90に接続されている場合、活性化ライン41の電圧が閾値電圧以上となり、電圧検出用スイッチ素子SW2がオン状態となるように構成されている。 Further, the activation line 41 is configured so that when the external device 2 is connected to the connector 90, the external voltage VB0 is applied from the external device 2 via the attachment / detachment detection terminal P2 of the connector 90. There is. The external voltage VB0 applied to the activation line 41 via the attachment / detachment detection terminal P2 has a magnitude equal to or greater than the threshold voltage for turning on the voltage detection switch element SW2. That is, when the vehicle exterior device 2 is connected to the connector 90, the voltage of the activation line 41 becomes equal to or higher than the threshold voltage, and the voltage detection switch element SW2 is turned on.

活性化ライン41は、電圧印加用スイッチ素子SW1がオフ状態であり且つ車外装置2がコネクタ90に非接続である場合、抵抗R1を介してGNDに接続されているが車外電圧VB0及び車内電圧VB1の何れも印加されない。この場合、活性化ライン41の電圧は、基準電圧となり、電圧検出用スイッチ素子SW2をオフ状態にさせる。 The activation line 41 is connected to GND via the resistor R1 when the voltage application switch element SW1 is off and the vehicle exterior device 2 is not connected to the connector 90, but the vehicle exterior voltage VB0 and the vehicle interior voltage VB1 None of these are applied. In this case, the voltage of the activation line 41 becomes a reference voltage, and the voltage detection switch element SW2 is turned off.

ここで、活性化ライン41の短絡故障の2つの類型である地絡と天絡について説明する。 Here, two types of short-circuit failures of the activation line 41, a ground fault and a heaven fault, will be described.

<活性化ライン41の地絡の説明>
活性化ライン41の地絡とは、電圧検出用スイッチ素子SW2の閾値電圧未満の電圧を持つ部位に活性化ライン41が短絡することである。閾値電圧未満の電圧を持つ部位とは、例えばGNDである。
<Explanation of ground fault of activation line 41>
The ground fault of the activation line 41 is that the activation line 41 is short-circuited to a portion of the voltage detection switch element SW2 having a voltage lower than the threshold voltage. The portion having a voltage lower than the threshold voltage is, for example, GND.

活性化ライン41の地絡が生じると、コネクタ90に対する車外装置2の接続有無及び電圧印加用スイッチ素子SW1のオンオフ状態に係らず、活性化ライン41の電圧は、閾値電圧よりも低い電圧に固定されたままとなる。その結果、電圧検出用スイッチ素子SW2がオフ状態に維持されて、判定信号出力回路45から出力される判定信号の信号レベルが第1信号レベルに維持されることになる。なお、地絡は、基準電圧側短絡に相当する。 When a ground fault occurs in the activation line 41, the voltage of the activation line 41 is fixed to a voltage lower than the threshold voltage regardless of whether or not the external device 2 is connected to the connector 90 and the on / off state of the voltage application switch element SW1. It remains as it was. As a result, the voltage detection switch element SW2 is maintained in the off state, and the signal level of the determination signal output from the determination signal output circuit 45 is maintained at the first signal level. The ground fault corresponds to a short circuit on the reference voltage side.

<活性化ライン41の天絡の説明>
活性化ライン41の天絡とは、電圧検出用スイッチ素子SW2の閾値電圧以上の電圧を持つ部位に活性化ライン41が短絡することである。閾値電圧以上の電圧を持つ部位とは、例えば電圧印加用スイッチ素子SW1と車内電圧VB1との間を接続する接続線である。
<Explanation of Tenkan of activation line 41>
The wake of the activation line 41 is that the activation line 41 is short-circuited to a portion having a voltage equal to or higher than the threshold voltage of the voltage detection switch element SW2. The portion having a voltage equal to or higher than the threshold voltage is, for example, a connection line connecting the voltage application switch element SW1 and the vehicle interior voltage VB1.

活性化ライン41の天絡が生じると、コネクタ90に対する車外装置2の接続有無及び電圧印加用スイッチ素子SW1のオンオフ状態に係らず、活性化ライン41の電圧は、閾値電圧以上の電圧に固定されたままとなる。その結果、電圧検出用スイッチ素子SW2がオン状態に維持されて、判定信号出力回路45から出力される判定信号の信号レベルが第2信号レベルに維持されることになる。なお、天絡は、高電圧側短絡に相当する。 When the activation line 41 is entangled, the voltage of the activation line 41 is fixed to a voltage equal to or higher than the threshold voltage regardless of whether the external device 2 is connected to the connector 90 and the voltage application switch element SW1 is on / off. It will remain. As a result, the voltage detection switch element SW2 is maintained in the ON state, and the signal level of the determination signal output from the determination signal output circuit 45 is maintained at the second signal level. The tentacle corresponds to a short circuit on the high voltage side.

<判定信号の信号レベルの説明>
以上の回路構成によれば、車外装置2のコネクタ90に対する接続有無及び活性化ライン41の地短及び天短有無の組み合わせである6つの状況の各々で、電圧印加用スイッチ素子SW1がオンオフされたときの判定信号の信号レベルは、図3に示す通りとなる。
<Explanation of signal level of judgment signal>
According to the above circuit configuration, the voltage application switch element SW1 was turned on and off in each of the six situations in which the presence / absence of the connection to the connector 90 of the external device 2 and the presence / absence of the ground short and the vertical short of the activation line 41 were combined. The signal level of the determination signal at the time is as shown in FIG.

図3に示される第1状況は、車外装置2がコネクタ90に非接続であり且つ地絡及び天絡の何れもが非発生である状況である。この第1状況で、電圧印加用スイッチ素子SW1をオフさせたときは、活性化ライン41の電圧は基準電圧となるため、判定信号の信号レベルは第1信号レベルである。一方、電圧印加用スイッチ素子SW1をオンさせたときは、活性化ライン41の電圧は基準電圧となるため、判定信号の信号レベルは第2信号レベルである。 The first situation shown in FIG. 3 is a situation in which the external device 2 is not connected to the connector 90 and neither the ground fault nor the ceiling fault occurs. In this first situation, when the voltage application switch element SW1 is turned off, the voltage of the activation line 41 becomes the reference voltage, so that the signal level of the determination signal is the first signal level. On the other hand, when the voltage application switch element SW1 is turned on, the voltage of the activation line 41 becomes the reference voltage, so that the signal level of the determination signal is the second signal level.

よって、第1状況で電圧印加用スイッチ素子SW1を繰り返しオンオフさせると、判定信号の信号レベルは、繰り返し第1信号レベルと第2信号レベルに推移する。 Therefore, when the voltage application switch element SW1 is repeatedly turned on and off in the first situation, the signal level of the determination signal repeatedly changes between the first signal level and the second signal level.

図3に示される第2状況は、車外装置2がコネクタ90に非接続であり且つ地絡が発生している状況である。この第2状況では、電圧印加用スイッチ素子SW1のオンオフに係らず、活性化ライン41の電圧は電圧検出用スイッチ素子SW2の閾値電圧未満の固定されたままとなり、判定信号の信号レベルは第1信号レベルに維持される。 The second situation shown in FIG. 3 is a situation in which the external device 2 is not connected to the connector 90 and a ground fault has occurred. In this second situation, the voltage of the activation line 41 remains fixed below the threshold voltage of the voltage detection switch element SW2 regardless of whether the voltage application switch element SW1 is turned on or off, and the signal level of the determination signal is the first. Maintained at signal level.

第3状況は、車外装置2がコネクタ90に非接続であり且つ天絡が発生している状況である。この第3状況では、電圧印加用スイッチ素子SW1のオンオフに係らず、活性化ライン41の電圧は電圧検出用スイッチ素子SW2の閾値電圧以上の電圧に固定されたままとなり、判定信号の信号レベルは第2信号レベルに維持される。 The third situation is a situation in which the external device 2 is not connected to the connector 90 and a ceiling entanglement occurs. In this third situation, regardless of whether the voltage application switch element SW1 is turned on or off, the voltage of the activation line 41 remains fixed at a voltage equal to or higher than the threshold voltage of the voltage detection switch element SW2, and the signal level of the determination signal becomes It is maintained at the second signal level.

第4状況は、車外装置2がコネクタ90に接続されており且つ地絡及び天絡の何れもが非発生である状況である。この第4状況では、電圧印加用スイッチ素子SW1のオンオフに応じて、活性化ライン41の電圧は車外電圧VB0又は車内電圧VB1となる。車外電圧VB0又は車内電圧VB1は、何れも電圧検出用スイッチ素子SW2の閾値電圧以上の電圧であるので、その結果、判定信号の信号レベルは第2信号レベルに維持される。 The fourth situation is a situation in which the vehicle exterior device 2 is connected to the connector 90 and neither a ground fault nor a ceiling fault has occurred. In this fourth situation, the voltage of the activation line 41 becomes the outside voltage VB0 or the inside voltage VB1 according to the on / off of the voltage application switch element SW1. Since the outside voltage VB0 or the inside voltage VB1 is a voltage equal to or higher than the threshold voltage of the voltage detection switch element SW2, the signal level of the determination signal is maintained at the second signal level as a result.

第5状況は、車外装置2がコネクタ90に接続されており且つ地絡が発生している状況である。この第5状況では、電圧印加用スイッチ素子SW1のオンオフに係らず、活性化ライン41の電圧は電圧検出用スイッチ素子SW2の閾値電圧未満の電圧に固定されたままとなり、判定信号の信号レベルは第1信号レベルに維持される。 The fifth situation is a situation in which the external device 2 is connected to the connector 90 and a ground fault has occurred. In this fifth situation, the voltage of the activation line 41 remains fixed at a voltage lower than the threshold voltage of the voltage detection switch element SW2 regardless of whether the voltage application switch element SW1 is turned on or off, and the signal level of the determination signal becomes It is maintained at the first signal level.

第6状況は、車外装置2がコネクタ90に接続されており且つ天絡が発生している状況である。この第6状況では、電圧印加用スイッチ素子SW1のオンオフに係らず、活性化ライン41の電圧は電圧検出用スイッチ素子SW2の閾値電圧以上の電圧に固定されたままとなり、判定信号の信号レベルは第2信号レベルに維持される。 The sixth situation is a situation in which the vehicle exterior device 2 is connected to the connector 90 and a ceiling entanglement occurs. In this sixth situation, the voltage of the activation line 41 remains fixed at a voltage equal to or higher than the threshold voltage of the voltage detection switch element SW2 regardless of whether the voltage application switch element SW1 is turned on or off, and the signal level of the determination signal becomes It is maintained at the second signal level.

以上から、図3に示す第1状況ないし第6状況のうち、電圧印加用スイッチ素子SW1を繰り返しオンオフさせたときに判定信号が繰り返し第1信号レベルと第2信号レベルに推移するのは、第1状況のみである。よって、判定信号が繰り返し第1信号レベルと第2信号レベルに推移することに基づいて、車外装置2がコネクタ90に非接続であり且つ地絡及び天絡の何れもが非発生であることを検出できる。 From the above, among the first to sixth situations shown in FIG. 3, it is the first that the determination signal repeatedly shifts to the first signal level and the second signal level when the voltage application switch element SW1 is repeatedly turned on and off. There is only one situation. Therefore, based on the fact that the determination signal repeatedly shifts to the first signal level and the second signal level, the external device 2 is not connected to the connector 90, and neither the ground fault nor the ceiling fault is generated. Can be detected.

また、電圧印加用スイッチ素子SW1を繰り返しオンオフさせたときに判定信号が第1信号レベルに維持されるのは、地絡が発生している第2状況及び第5状況のみである。地絡が非発生である状況では、判定信号が第1信号レベルに維持されない。よって、判定信号が第1信号レベルに維持されていることに基づいて、地絡の発生を検出できる。 Further, when the voltage application switch element SW1 is repeatedly turned on and off, the determination signal is maintained at the first signal level only in the second and fifth situations in which a ground fault has occurred. In the situation where the ground fault does not occur, the determination signal is not maintained at the first signal level. Therefore, the occurrence of a ground fault can be detected based on the fact that the determination signal is maintained at the first signal level.

一方、電圧印加用スイッチ素子SW1を繰り返しオンオフさせたときに判定信号が第2信号レベルに維持されるのは、第3状況と第4状況と第6状況である。これら3つの状況のうち、車外装置2が接続されていないのは第3状況のみである。よって、判定信号が第2信号レベルに維持されていることに加えて、後述の車外装置2に対する応答要求の返答無しにより車外装置2のコネクタ90に対する非接続を判定することにより、天絡の発生を検出できる。 On the other hand, when the voltage application switch element SW1 is repeatedly turned on and off, the determination signal is maintained at the second signal level in the third situation, the fourth situation, and the sixth situation. Of these three situations, only the third situation is where the vehicle exterior device 2 is not connected. Therefore, in addition to the determination signal being maintained at the second signal level, the occurrence of a heavenly entanglement is caused by determining the non-connection of the external device 2 to the connector 90 without responding to the response request to the external device 2 described later. Can be detected.

以上の図3に示す判定信号の信号レベルに基づいて、本実施形態の制御部30は、図4に示す短絡故障判定処理を実行して、地絡又は天絡が発生しているか否かを、車外装置2がコネクタ90に接続されているか否かと共に検出する。 Based on the signal level of the determination signal shown in FIG. 3 above, the control unit 30 of the present embodiment executes the short-circuit failure determination process shown in FIG. 4 to determine whether or not a ground fault or a ceiling fault has occurred. , Detects whether or not the vehicle exterior device 2 is connected to the connector 90.

短絡故障判定処理は、車両イグニション電源のオンオフに係らず所定周期で定期的に実行される。以下、短絡故障判定処理の詳細を、図4のフローチャートを参照しつつ説明する。 The short-circuit failure determination process is periodically executed at a predetermined cycle regardless of whether the vehicle ignition power is turned on or off. Hereinafter, the details of the short-circuit failure determination process will be described with reference to the flowchart of FIG.

<短絡故障検出処理>
S100で制御部30は、車内電圧印加回路43から活性化ライン41への車内電圧VB1の印加を繰り替えしオンオフさせる。具体的には制御部30は、パルス状の検出用信号を電圧印加用スイッチ素子SW1のベースへ繰り返し出力することにより、電圧印加用スイッチ素子SW1を繰り返しオンオフさせる。
<Short circuit failure detection process>
In S100, the control unit 30 repeatedly applies the in-vehicle voltage VB1 from the in-vehicle voltage application circuit 43 to the activation line 41 to turn it on and off. Specifically, the control unit 30 repeatedly outputs the pulsed detection signal to the base of the voltage application switch element SW1 to repeatedly turn the voltage application switch element SW1 on and off.

S110で制御部30は、判定信号出力回路45から出力された判定信号の信号レベルを取得する。具体的には制御部30は、電圧印加用スイッチ素子SW1を繰り返しオンオフさせている間に判定信号出力回路45から出力された判定信号の信号レベルを取得する。 In S110, the control unit 30 acquires the signal level of the determination signal output from the determination signal output circuit 45. Specifically, the control unit 30 acquires the signal level of the determination signal output from the determination signal output circuit 45 while the voltage application switch element SW1 is repeatedly turned on and off.

S120で制御部30は、S120で取得した判定信号の信号レベルが、第1信号レベルと第2信号レベルとに繰り返し推移しているか否かを判定する。S120で肯定判定がなされると、処理はS130に進み、S120で否定判定がなされると、処理はS140に進む。 In S120, the control unit 30 determines whether or not the signal level of the determination signal acquired in S120 repeatedly changes between the first signal level and the second signal level. If an affirmative determination is made in S120, the process proceeds to S130, and if a negative determination is made in S120, the process proceeds to S140.

S130で制御部30は、活性化ライン41について地絡及び天絡の何れもが非発生である正常状態であり且つ車外装置2がコネクタ90に非接続であると判定する。この場合、制御部30は、インストルメントパネル等の表示部を用いて、活性化ライン41の短絡故障が非発生であることを示す。例えば制御部30は、活性化ライン41の短絡故障の発生を示す故障情報を表示部に非表示とすることで正常状態を示す。そして、制御部30は、外部用通信線61を用いた通信の禁止を維持しつつ、本処理を終了する。 In S130, the control unit 30 determines that the activation line 41 is in a normal state in which neither a ground fault nor a ceiling fault has occurred, and that the external device 2 is not connected to the connector 90. In this case, the control unit 30 uses a display unit such as an instrument panel to indicate that a short-circuit failure of the activation line 41 has not occurred. For example, the control unit 30 indicates a normal state by hiding the failure information indicating the occurrence of a short-circuit failure of the activation line 41 on the display unit. Then, the control unit 30 ends this process while maintaining the prohibition of communication using the external communication line 61.

S140で制御部30は、コネクタ90に向けて、車外装置2に応答を要求する応答要求を送信する。具体的には制御部30は、スイッチングハブ20のポート21からのフレーム送受信の遮断を解除して外部用通信線61を用いた通信を許可する。そして制御部30は、スイッチングハブ20のポート21からコネクタ90に向けて、車外装置2に応答を要求する応答要求を含むフレームを送信する。 In S140, the control unit 30 transmits a response request requesting a response to the external device 2 toward the connector 90. Specifically, the control unit 30 cancels the blocking of frame transmission / reception from the port 21 of the switching hub 20 and permits communication using the external communication line 61. Then, the control unit 30 transmits a frame including a response request requesting a response from the vehicle exterior device 2 from the port 21 of the switching hub 20 toward the connector 90.

S150で制御部30は、応答要求に対する車外装置2の応答をコネクタ90を通じて受信したか否かを判定する。具体的には、S150で制御部30は、応答要求を含むフレームを送信してから所定時間以内に、応答要求に対する応答を含む車外装置2からのフレームを、外部用通信線61を通じて、ポート21から受信したか否かを判定する。 In S150, the control unit 30 determines whether or not the response of the vehicle exterior device 2 to the response request has been received through the connector 90. Specifically, in S150, the control unit 30 transmits the frame from the vehicle exterior device 2 including the response to the response request to the port 21 through the external communication line 61 within a predetermined time after transmitting the frame including the response request. Determine if it was received from.

S150で否定判定がなされると、処理はS160に進み、S150で肯定判定がなされると、処理はS190に進む。 If a negative determination is made in S150, the process proceeds to S160, and if an affirmative determination is made in S150, the process proceeds to S190.

S160で制御部30は、S120で取得した判定信号の信号レベルが、第1信号レベルに維持されているか否かを判定する。S160で肯定判定がなされると、処理はS170に進む。S160で否定判定がなされると、処理はS180に進む。 In S160, the control unit 30 determines whether or not the signal level of the determination signal acquired in S120 is maintained at the first signal level. If an affirmative determination is made in S160, the process proceeds to S170. If a negative determination is made in S160, the process proceeds to S180.

S170で制御部30は、活性化ライン41の地絡が発生しており、且つ、車外装置2がコネクタ90に非接続であると判定する。この場合、制御部30は、インストルメントパネル等の表示部に活性化ライン41の地絡発生を示す短絡故障情報を表示させて、本処理を終了する。なお、制御部30は、表示部に短絡故障情報を表示させることに代えて又は加えて、短絡故障情報を車内の記憶装置に記憶してもよいし、車載無線機から車外の所定サーバ等に送信させてよい。 In S170, the control unit 30 determines that a ground fault of the activation line 41 has occurred and that the external device 2 is not connected to the connector 90. In this case, the control unit 30 displays short-circuit failure information indicating the occurrence of a ground fault on the activation line 41 on a display unit such as an instrument panel, and ends this process. In addition, instead of or in addition to displaying the short-circuit failure information on the display unit, the control unit 30 may store the short-circuit failure information in the storage device in the vehicle, or from the in-vehicle radio to a predetermined server or the like outside the vehicle. You may send it.

S180で制御部30は、活性化ライン41の天絡が発生しており、且つ、車外装置2がコネクタ90に非接続であると判定する。この場合、制御部30は、インストルメントパネル等の表示部に活性化ライン41の天絡発生を示す短絡故障情報を表示させ、本処理を終了する。なお、制御部30は、表示部に短絡故障情報を表示させることに代えて或いは加えて、短絡故障情報を車内の記憶装置に記憶してもよいし、車載無線機から車外の所定サーバ等に送信させてよい。 In S180, the control unit 30 determines that the activation line 41 has a ceiling entanglement and that the vehicle exterior device 2 is not connected to the connector 90. In this case, the control unit 30 displays short-circuit failure information indicating the occurrence of a heavenly fault of the activation line 41 on a display unit such as an instrument panel, and ends this process. In addition to or in addition to displaying the short-circuit failure information on the display unit, the control unit 30 may store the short-circuit failure information in the storage device in the vehicle, or from the in-vehicle radio to a predetermined server or the like outside the vehicle. You may send it.

S150で肯定判定がなされた場合に実行されるS190で制御部30は、S120で取得した判定信号の信号レベルが、第1信号レベルに維持されているか否かを判定する。S190で否定判定がなされると、処理はS200に進む。S190で肯定判定がなされると、処理はS210に進む。 In S190, which is executed when an affirmative determination is made in S150, the control unit 30 determines whether or not the signal level of the determination signal acquired in S120 is maintained at the first signal level. If a negative determination is made in S190, the process proceeds to S200. If an affirmative determination is made in S190, the process proceeds to S210.

S200で制御部30は、活性化ライン41の地絡が非発生であり、且つ車外装置2がコネクタ90に接続中であると判定し、本処理を終了する。この場合、中継装置10は、コネクタ90に接続された車外装置2と、車外装置2の通信相手であるECU81、82、83と、の間の通信を、ECU81、82、83からの情報読み出し処理やプログラム書換処理等が完了するまで中継する。その後、制御部30は、判定信号が第2信号レベルから第1信号レベルに変化したことに基づいて、車外装置2がコネクタ90から取り外されたことを検出する。この検出に基づいて、制御部30は、スイッチングハブ20のポート21からのフレーム送受信を遮断して外部用通信線61を用いた通信を禁止する。なお、天絡の発生有無は、例えば、車外装置2がコネクタ90から取り外された後に実行される次回以降の短絡故障検出処理において、S150において否定判定がなされることにより判定できる。 In S200, the control unit 30 determines that the ground fault of the activation line 41 has not occurred and that the external device 2 is connected to the connector 90, and ends this process. In this case, the relay device 10 performs information reading processing from the ECUs 81, 82, 83 for communication between the vehicle exterior device 2 connected to the connector 90 and the communication partners ECUs 81, 82, 83 of the vehicle exterior device 2. And relay until the program rewriting process is completed. After that, the control unit 30 detects that the vehicle exterior device 2 has been removed from the connector 90 based on the determination signal changing from the second signal level to the first signal level. Based on this detection, the control unit 30 blocks frame transmission / reception from the port 21 of the switching hub 20 and prohibits communication using the external communication line 61. It should be noted that the presence or absence of the occurrence of the tentacle can be determined, for example, by making a negative determination in S150 in the next and subsequent short-circuit failure detection processes executed after the vehicle exterior device 2 is removed from the connector 90.

S210で制御部30は、活性化ライン41の地絡が発生しており、且つ車外装置2がコネクタ90に接続中であると判定し、本処理を終了する。この場合も中継装置10は、車外装置2と、車外装置2の通信相手であるECU81、82、83と、の間の通信を中継する。加えて中継装置10は、地絡発生を示す故障情報を含むフレームを、車外装置2に送信してもよい。また、中継装置10は、インストルメントパネル等の表示部に活性化ライン41の地絡発生を示す短絡故障情報を表示させてよいし、短絡故障情報を車内の記憶装置に記憶してもよいし、車載無線機から車外の所定サーバ等に送信させてよい。 In S210, the control unit 30 determines that a ground fault of the activation line 41 has occurred and that the external device 2 is connected to the connector 90, and ends this process. In this case as well, the relay device 10 relays the communication between the outside device 2 and the ECUs 81, 82, and 83 which are the communication partners of the outside device 2. In addition, the relay device 10 may transmit a frame including failure information indicating the occurrence of a ground fault to the vehicle exterior device 2. Further, the relay device 10 may display short-circuit failure information indicating the occurrence of a ground fault of the activation line 41 on a display unit such as an instrument panel, or may store the short-circuit failure information in a storage device in the vehicle. , The in-vehicle radio may be transmitted to a predetermined server or the like outside the vehicle.

<第1実施形態のまとめ>
以上の構成の中継装置10には、活性化ライン41と判定信号出力回路45とに加えて、判定信号出力回路45の閾値電圧以上の車内電圧VB1を活性化ライン41に印加可能な車内電圧印加回路43を備えた接続検出回路40が設けられている。
<Summary of the first embodiment>
In the relay device 10 having the above configuration, in addition to the activation line 41 and the determination signal output circuit 45, an in-vehicle voltage VB1 that is equal to or higher than the threshold voltage of the determination signal output circuit 45 can be applied to the activation line 41. A connection detection circuit 40 including the circuit 43 is provided.

さらに中継装置10の制御部30は、車内電圧印加回路43から活性化ライン41への車内電圧VB1の印加をオン及びオフさせる。制御部30は、活性化ライン41への車内電圧VB1の印加をオンオフさせている間に判定信号出力回路45から出力された判定信号の信号レベルが第1信号レベル及び第2信号レベルに推移しているか否かを判定する。制御部30は、肯定判定をした場合、活性化ライン41の地絡及び天絡の何れもが非発生であり且つコネクタ90に車外装置2が非接続であると判定する。 Further, the control unit 30 of the relay device 10 turns on and off the application of the in-vehicle voltage VB1 from the in-vehicle voltage application circuit 43 to the activation line 41. The control unit 30 changes the signal level of the determination signal output from the determination signal output circuit 45 to the first signal level and the second signal level while the application of the vehicle interior voltage VB1 to the activation line 41 is turned on and off. Judge whether or not it is. When the control unit 30 makes an affirmative determination, it is determined that neither the ground fault nor the ceiling fault of the activation line 41 has occurred and the external device 2 is not connected to the connector 90.

これによれば、比較的な簡素な回路構成と制御とにより、活性化ライン41について地絡も天絡も生じていない正常状態であり且つ車外装置2がコネクタ90に非接続であることを検出可能になる。 According to this, it is detected that the activation line 41 is in a normal state where neither a ground fault nor a ceiling fault has occurred and the external device 2 is not connected to the connector 90 by a comparatively simple circuit configuration and control. It will be possible.

また、制御部30は、活性化ライン41への車内電圧VB1の印加をオンオフさせている間に出力された判定信号の信号レベルが第1信号レベルに維持されていると判定した場合、活性化ライン41に地絡が発生していると判定する。 Further, when the control unit 30 determines that the signal level of the determination signal output while turning on / off the application of the vehicle interior voltage VB1 to the activation line 41 is maintained at the first signal level, the control unit 30 activates the vehicle. It is determined that a ground fault has occurred on the line 41.

これによれば、比較的な簡素な回路構成と制御とにより、活性化ライン41の地絡発生を検出可能となる。 According to this, the occurrence of a ground fault in the activation line 41 can be detected by a relatively simple circuit configuration and control.

また、制御部30は、活性化ライン41への車内電圧VB1の印加をオンオフさせている間に出力された判定信号の信号レベルが第2信号レベルに維持されていると判定した場合、車外装置2に応答を要求する応答要求をコネクタ90に向けて送信する。制御部30は、応答要求に対する車外装置2から応答をコネクタ90を通じて受信しなかった場合、活性化ライン41に天絡が発生しており且つ車外装置2がコネクタ90に非接続であると判定する。 Further, when the control unit 30 determines that the signal level of the determination signal output while turning on / off the application of the vehicle interior voltage VB1 to the activation line 41 is maintained at the second signal level, the vehicle exterior device 30 A response request requesting a response from 2 is transmitted to the connector 90. When the control unit 30 does not receive a response from the vehicle exterior device 2 to the response request through the connector 90, the control unit 30 determines that a ceiling fault has occurred in the activation line 41 and the vehicle exterior device 2 is not connected to the connector 90. ..

これによれば、比較的な簡素な回路構成と制御とにより、活性化ライン41の天絡発生を検出可能となる。 According to this, it is possible to detect the occurrence of a tentacle of the activation line 41 by a comparatively simple circuit configuration and control.

以上、一実施形態を例示したが、開示した技術は上述の実施形態に限定されるものではなく、次の変形例も開示した範囲に含まれ、さらに、下記以外にも要旨を逸脱しない範囲内で種々変更して実施できる。なお、以下の説明において、それまでに使用した符号と同一番号の符号を有する要素は、特に言及する場合を除き、それ以前の実施形態における同一符号の要素と同一である。また、構成の一部のみを説明している場合、構成の他の部分については先に説明した実施形態を適用できる。 Although one embodiment has been illustrated above, the disclosed technology is not limited to the above-described embodiment, and the following modified examples are also included in the disclosed range, and further, in a range other than the following, which does not deviate from the gist. It can be implemented by making various changes. In the following description, the elements having the same number as the codes used so far are the same as the elements having the same code in the previous embodiments, unless otherwise specified. Further, when only a part of the configuration is described, the embodiment described above can be applied to the other parts of the configuration.

<変形例1>
実施形態の短絡故障判定処理は、コネクタ90に対する車外装置2の接続が未検出である場合において車両イグニション電源のオンオフに係らず所定周期で制御部30により実行された。
<Modification example 1>
The short-circuit failure determination process of the embodiment was executed by the control unit 30 at a predetermined cycle regardless of whether the vehicle ignition power was turned on or off when the connection of the external device 2 to the connector 90 was not detected.

これに対して、図5に示す変形例の短絡故障判定処理は、コネクタ90に対する車外装置2の接続が未検出である場合において車両イグニション電源のオンのときに所定周期で制御部30により実行される。 On the other hand, the short-circuit failure determination process of the modified example shown in FIG. 5 is executed by the control unit 30 at a predetermined cycle when the vehicle ignition power is turned on when the connection of the external device 2 to the connector 90 is not detected. NS.

変形例の短絡故障判定処理は、車両が移動中であることに基づいて車外装置2がコネクタ90に接続されていないと推測される状況であることを確認して、これにより図3に示す第1状況ないし第6状況のうち現在の状況を第1状況ないし第3状況と絞り込む。この絞り込みの後で、判定信号の信号レベルに基づいて活性化ライン41の地絡及び天絡の発生有無が判定される。 In the short-circuit failure determination process of the modified example, it is confirmed that the vehicle exterior device 2 is not connected to the connector 90 based on the fact that the vehicle is moving, and thereby the third is shown in FIG. Of the 1st to 6th situations, the current situation is narrowed down to the 1st to 3rd situations. After this narrowing down, the presence or absence of ground faults and celestial faults of the activation line 41 is determined based on the signal level of the determination signal.

詳しくは図5に示すように、制御部30は短絡故障判定処理を開始すると、S300で車両が移動中であるか否かを判定する。S300で肯定判定がなさせると、処理はS100に進む。S300で否定判定がなさせると、本処理は終了する。なお、車両が移動中であるか否かを判定は、車外装置2がコネクタ90に接続されていないと推測される状況であるかを確認するために実行される。 More specifically, as shown in FIG. 5, when the control unit 30 starts the short-circuit failure determination process, S300 determines whether or not the vehicle is moving. If an affirmative determination is made in S300, the process proceeds to S100. When a negative determination is made in S300, this process ends. The determination as to whether or not the vehicle is moving is executed to confirm whether or not the external device 2 is not connected to the connector 90.

S100で制御部30は、電圧印加用スイッチ素子SW1を繰り返しオンオフさせる。S110で制御部30は、電圧印加用スイッチ素子SW1を繰り返しオンオフされている間に判定信号出力回路45から出力された判定信号の信号レベルを取得する。 In S100, the control unit 30 repeatedly turns on / off the voltage application switch element SW1. In S110, the control unit 30 acquires the signal level of the determination signal output from the determination signal output circuit 45 while the voltage application switch element SW1 is repeatedly turned on and off.

S120で制御部30は、S120で取得した判定信号の信号レベルが、繰り返し第1信号レベルと第2信号レベルとに推移しているか否かを判定する。S120で肯定判定がなされると、処理はS130に進む。S120で否定判定がなされると、処理はS160に進む。 In S120, the control unit 30 repeatedly determines whether or not the signal level of the determination signal acquired in S120 changes between the first signal level and the second signal level. If an affirmative determination is made in S120, the process proceeds to S130. If a negative determination is made in S120, the process proceeds to S160.

S130で制御部30は、活性化ライン41について地絡及び天絡の何れもが非発生である正常状態であると判定して、本処理を終了する。 In S130, the control unit 30 determines that the activation line 41 is in a normal state in which neither the ground fault nor the natural fault has occurred, and ends this process.

S160で制御部30は、S120で取得した判定信号の信号レベルが第1信号レベルに維持されているか否かを判定する。S160で肯定判定がなされると、処理はS170に進み、活性化ライン41の地絡が発生していると判定して本処理を終了する。一方、S170で否定判定がなされると、処理は直接S180に進み、活性化ライン41の天絡が発生していると判定して本処理を終了する。 In S160, the control unit 30 determines whether or not the signal level of the determination signal acquired in S120 is maintained at the first signal level. If an affirmative determination is made in S160, the process proceeds to S170, and it is determined that a ground fault of the activation line 41 has occurred, and this process ends. On the other hand, if a negative determination is made in S170, the process directly proceeds to S180, and it is determined that a tentacle of the activation line 41 has occurred, and this process is terminated.

このように変形例の短絡故障判定処理では、コネクタ90に車外装置2が接続されていないと推測される状況であることをS300で確認する。これにより図3に示す第1状況ないし第6状況のうち現在の状況を第1状況ないし第3状況と絞り込むことできる。その上で、判定信号の信号レベルに基づいて活性化ライン41の地絡及び天絡の発生有無が判定される。 In this way, in the short-circuit failure determination process of the modified example, it is confirmed by S300 that the vehicle exterior device 2 is not connected to the connector 90. As a result, the current situation among the first to sixth situations shown in FIG. 3 can be narrowed down to the first to third situations. Then, based on the signal level of the determination signal, the presence or absence of a ground fault and a ceiling fault of the activation line 41 is determined.

よって、変形例1の構成によれば、比較的な簡素な回路構成と制御とにより、活性化ライン41に地絡及び天絡の発生有無を検出することができる。 Therefore, according to the configuration of the first modification, it is possible to detect the presence or absence of a ground fault and a ceiling fault on the activation line 41 by a comparatively simple circuit configuration and control.

<変形例2>
実施形態では、車内電圧印加回路43として、電圧印加用スイッチ素子SW1のオンオフにより活性化ライン41への車内電圧VB1の印加をオンオフさせる回路を示した。しかし、車内電圧印加回路43は、活性化ライン41への車内電圧VB1の印加をオンオフ可能ならば、電圧印加用スイッチ素子SW1を備えるものに限定されない。例えば、車内電圧印加回路43は、制御部30の制御の下で、活性化ライン41にパルス電圧を出力するパルス発生回路を備えたものでもよい。
<Modification 2>
In the embodiment, as the in-vehicle voltage application circuit 43, a circuit for turning on / off the application of the in-vehicle voltage VB1 to the activation line 41 by turning on / off the voltage application switch element SW1 is shown. However, the in-vehicle voltage application circuit 43 is not limited to the one including the voltage application switch element SW1 as long as the application of the in-vehicle voltage VB1 to the activation line 41 can be turned on and off. For example, the in-vehicle voltage application circuit 43 may include a pulse generation circuit that outputs a pulse voltage to the activation line 41 under the control of the control unit 30.

<変形例3>
実施形態では、判定信号出力回路45として、活性化ライン41の電圧に応じて電圧検出用スイッチ素子SW2がオンオフして、このオンオフに伴って変化するコレクタ側線44の電圧が判定信号の信号レベルとして出力する回路を示した。しかし、判定信号出力回路45は、活性化ライン41の電圧に応じた信号レベルを有する判定信号を出力可能ならば、他の回路構成を備えてもよい。
<Modification example 3>
In the embodiment, as the determination signal output circuit 45, the voltage detection switch element SW2 is turned on and off according to the voltage of the activation line 41, and the voltage of the collector side line 44 that changes with the on / off is used as the signal level of the determination signal. The circuit to output is shown. However, the determination signal output circuit 45 may have another circuit configuration as long as it can output a determination signal having a signal level corresponding to the voltage of the activation line 41.

<変形例4>
実施形態では、中継装置10は、車外装置2とECU81、82、83との間で行わるイーサネット通信を中継した。しかし中継装置10は、他の通信プロトコルに従った通信を中継する機能を備えてもよいし、異なる通信プロトコルのネットワーク間を接続して通信を中継するゲートウェイ機能をさらに備えてもよい。
<Modification example 4>
In the embodiment, the relay device 10 relays the Ethernet communication performed between the vehicle exterior device 2 and the ECUs 81, 82, and 83. However, the relay device 10 may have a function of relaying communication according to another communication protocol, or may further include a gateway function of connecting networks of different communication protocols and relaying communication.

1:車両用通信システム 2:車外装置 10:中継装置 20:スイッチンハブ 30:制御部 40:接続検出回路 41:活性化ライン 43:車内電圧印加回路 45:判定信号出力回路 81:ECU(車内装置) 82:ECU(車内装置) 83:ECU(車内装置) 90:コネクタ VB0:車外電圧 VB1:車内電圧 R1:抵抗 1: Vehicle communication system 2: External device 10: Relay device 20: Switchon hub 30: Control unit 40: Connection detection circuit 41: Activation line 43: In-vehicle voltage application circuit 45: Judgment signal output circuit 81: ECU (in-vehicle) Device) 82: ECU (in-vehicle device) 83: ECU (in-vehicle device) 90: Connector VB0: External voltage VB1: In-vehicle voltage R1: Resistance

Claims (3)

車外装置(2)が着脱可能なコネクタ(90)を備えた車両に設けられ、
前記コネクタに前記車外装置が接続されたことの検出に基づいて、前記車外装置と、前記車外装置の通信相手である前記車両内の車内装置(81、82、83)と、の間で行われる通信を中継する中継装置であって、
前記コネクタに前記車外装置が接続されているときに前記車外装置から前記コネクタを通じて基準電圧よりも高電圧の車外電圧(VB0)が印加されるように構成された活性化ライン(41)と、
前記活性化ラインの電圧が閾値電圧未満のときに第1信号レベルの判定信号を出力し、前記活性化ラインの電圧が前記閾値電圧以上のときに第2信号レベルの判定信号を出力する判定信号出力回路(45)であって、前記閾値電圧が前記基準電圧よりも高く且つ前記車外電圧以下である判定信号出力回路(45)と、
前記閾値電圧以上の車内電圧(VB1)を前記活性化ラインに印加可能な車内電圧印加回路(43)と、
前記活性化ラインと前記基準電圧との間に接続されており、前記車外電圧及び前記車内電圧の何れもが前記活性化ラインに印加されていないときに前記活性化ラインの電圧を前記基準電圧にさせる抵抗(R1)と、
前記車内電圧印加回路から前記活性化ラインへの前記車内電圧の印加をオン及びオフさせると共に、前記判定信号出力回路から出力された前記判定信号を取得する制御部(30)と、
を備え、
前記制御部は、
前記車内電圧印加回路から前記活性化ラインへの前記車内電圧の印加をオン及びオフさせている間に前記判定信号出力回路から出力された前記判定信号の信号レベルが前記第1信号レベル及び前記第2信号レベルに推移していると判定した場合、
前記閾値電圧未満の電圧を有する部位に前記活性化ラインが短絡する基準電圧側短絡及び前記閾値電圧以上の電圧を有する部位に前記活性化ラインが短絡する高電圧側短絡の何れもが非発生であり且つ前記車外装置が前記コネクタに非接続であると判定する、中継装置。
An external device (2) is provided on a vehicle equipped with a detachable connector (90).
Based on the detection that the external device is connected to the connector, the operation is performed between the external device and the in-vehicle device (81, 82, 83) which is a communication partner of the external device. It is a relay device that relays communication.
An activation line (41) configured to apply an external voltage (VB0) higher than the reference voltage from the external device through the connector when the external device is connected to the connector.
Judgment signal that outputs the judgment signal of the first signal level when the voltage of the activation line is less than the threshold voltage, and outputs the judgment signal of the second signal level when the voltage of the activation line is equal to or higher than the threshold voltage. The output circuit (45) includes a determination signal output circuit (45) in which the threshold voltage is higher than the reference voltage and equal to or lower than the outside voltage.
An in-vehicle voltage application circuit (43) capable of applying an in-vehicle voltage (VB1) equal to or higher than the threshold voltage to the activation line, and an in-vehicle voltage application circuit (43).
It is connected between the activation line and the reference voltage, and when neither the outside voltage nor the inside voltage is applied to the activation line, the voltage of the activation line is set to the reference voltage. Resistance (R1) to make
A control unit (30) that turns on and off the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line and acquires the determination signal output from the determination signal output circuit.
With
The control unit
The signal level of the determination signal output from the determination signal output circuit while the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off is the first signal level and the first signal level. If it is determined that the signal level has changed to 2
Neither the reference voltage side short circuit in which the activation line is short-circuited in the portion having a voltage lower than the threshold voltage nor the high voltage side short circuit in which the activation line is short-circuited in the portion having a voltage equal to or higher than the threshold voltage occurs. A relay device that determines that the external device is not connected to the connector.
前記制御部は、
前記車内電圧印加回路から前記活性化ラインへの前記車内電圧の印加をオン及びオフさせている間に前記判定信号出力回路から出力された前記判定信号の信号レベルが前記第1信号レベルに維持されていると判定した場合、
前記活性化ラインに前記基準電圧側短絡が発生していると判定する、請求項1に記載の中継装置。
The control unit
The signal level of the determination signal output from the determination signal output circuit is maintained at the first signal level while the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off. If it is determined that
The relay device according to claim 1, wherein it is determined that the reference voltage side short circuit has occurred in the activation line.
前記制御部は、
前記車内電圧印加回路から前記活性化ラインへの前記車内電圧の印加をオン及びオフさせている間に前記判定信号出力回路から出力された前記判定信号の信号レベルが前記第2信号レベルに維持されていると判定した場合、
前記車外装置に応答を要求する応答要求を前記コネクタに向けて送信し、
前記応答要求に対する前記車外装置から応答を前記コネクタを通じて受信しなかった場合、
前記活性化ラインに前記高電圧側短絡が発生しており且つ前記車外装置が前記コネクタに非接続であると判定する、請求項1又は2記載の中継装置。
The control unit
The signal level of the determination signal output from the determination signal output circuit is maintained at the second signal level while the application of the in-vehicle voltage from the in-vehicle voltage application circuit to the activation line is turned on and off. If it is determined that
A response request requesting a response from the external device is transmitted to the connector, and the response request is transmitted.
When the response to the response request is not received from the vehicle exterior device through the connector,
The relay device according to claim 1 or 2, wherein it is determined that the high voltage side short circuit has occurred in the activation line and the external device is not connected to the connector.
JP2017245298A 2017-12-21 2017-12-21 Relay device Active JP6950516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017245298A JP6950516B2 (en) 2017-12-21 2017-12-21 Relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017245298A JP6950516B2 (en) 2017-12-21 2017-12-21 Relay device

Publications (2)

Publication Number Publication Date
JP2019111877A JP2019111877A (en) 2019-07-11
JP6950516B2 true JP6950516B2 (en) 2021-10-13

Family

ID=67222036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017245298A Active JP6950516B2 (en) 2017-12-21 2017-12-21 Relay device

Country Status (1)

Country Link
JP (1) JP6950516B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021138263A (en) * 2020-03-04 2021-09-16 住友電装株式会社 On-vehicle relay device, and computer program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10221395A (en) * 1997-02-07 1998-08-21 Denso Corp System for detecting ground fault of electric vehicle
JP4039156B2 (en) * 2002-07-18 2008-01-30 日産自動車株式会社 Fault diagnosis device for ground fault detection circuit
JP2006170714A (en) * 2004-12-14 2006-06-29 Nissan Motor Co Ltd Ground fault detector, method of setting threshold for ground fault detector
EP3166256B1 (en) * 2011-09-12 2020-07-29 Toyota Jidosha Kabushiki Kaisha On-vehicle gateway apparatus and communication system for vehicle
JP6172090B2 (en) * 2014-08-27 2017-08-02 株式会社デンソー Relay device

Also Published As

Publication number Publication date
JP2019111877A (en) 2019-07-11

Similar Documents

Publication Publication Date Title
JP4952212B2 (en) Communication interference prevention device, communication system node, communication system, vehicle fault diagnosis device, and in-vehicle device
JP5935543B2 (en) Communications system
CN101631058A (en) Method for detecting fault on data line
US20160320441A1 (en) Detection of ecu ground fault with can bus voltage measurements
US20190222599A1 (en) Communication system, communication device, relay device, communication integrated circuit (ic), control ic, and communication method
US11016925B2 (en) Protocol-tolerant communications in controller area networks
JP5387170B2 (en) Disconnection abnormality detection device
CN111108725A (en) Method for monitoring communication on a communication bus and electronic device for connection to a communication bus
US20200412756A1 (en) Communication control device, anomaly detection electronic control unit, mobility network system, communication control method, anomaly detection method, and recording medium
JP6950516B2 (en) Relay device
JP6176199B2 (en) Transmission line abnormality detection device
JP2019156331A (en) Program update management device
JP2009302783A (en) Failure detecting method and failure detection system of communication network
JP7001026B2 (en) Vehicle communication device
JP4968169B2 (en) Communication system and communication method
WO2018225513A1 (en) Relay device, relay method and relay program
US20240013648A1 (en) Ground short failure detection device and node device
CN104486186A (en) CAN bus network architecture system
JP5098429B2 (en) Communications system
JP4830645B2 (en) Method for detecting disconnection of connection line in communication system
JP4453616B2 (en) Electronic control device, communication system, and surge absorbing element inspection method
JP6032174B2 (en) Communication control device
JP6969528B2 (en) Relay system
JP2013107602A (en) Vehicle control device
JP2012074761A (en) Communication device and communication unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201113

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210826

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210906

R151 Written notification of patent or utility model registration

Ref document number: 6950516

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151