JP2010232867A - Relay system, relay apparatus, and control device - Google Patents

Relay system, relay apparatus, and control device Download PDF

Info

Publication number
JP2010232867A
JP2010232867A JP2009077072A JP2009077072A JP2010232867A JP 2010232867 A JP2010232867 A JP 2010232867A JP 2009077072 A JP2009077072 A JP 2009077072A JP 2009077072 A JP2009077072 A JP 2009077072A JP 2010232867 A JP2010232867 A JP 2010232867A
Authority
JP
Japan
Prior art keywords
relay
signal
connector
terminal
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009077072A
Other languages
Japanese (ja)
Other versions
JP5359449B2 (en
Inventor
Takeo Uchino
剛雄 内野
Hideki Yamamoto
秀樹 山本
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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
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 Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2009077072A priority Critical patent/JP5359449B2/en
Publication of JP2010232867A publication Critical patent/JP2010232867A/en
Application granted granted Critical
Publication of JP5359449B2 publication Critical patent/JP5359449B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a relay system, with which wiring saving and reduction in weight can be achieved in an overall in-vehicle communication system, and to provide a relay apparatus and a control device, which constitute the relay system. <P>SOLUTION: An ECU (Electronic Control Unit) 10 including a microcomputer 11, a power supply circuit 12 and CAN (Controller Area Network) transceivers 13a and 13b (communication sections), and a GW 20 including a relay processing circuit 21, are connected to achieve a function as a relay apparatus. The relay processing circuit 21 just performs determination of the necessity or non-necessity of relay and the identification of a relay destination on the basis of information stored in an EEPROM (Electrically Erasable and Programmable Read Only Memory) 24, and has neither the power supply circuit nor the CAN transceivers. When the relay processing circuit 21 is connected to the ECU 10, power is fed from the power supply circuit 12 to the relay processing circuit 21, and the relay processing circuit 21 transmits/receives signals relayed by the plurality of CAN transceivers 13a and 13b which are included in the ECU 10. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、車載通信システムにおける制御装置間のデータの送受信を中継する中継装置に関する。特に、制御装置と該制御装置に拡張デバイスとして追加することが可能な中継装置とにより中継処理を行なう中継システムとして実現し、車載通信システム全体の省線化及び軽量化を図ることができる中継システム、該中継システムを構成する中継装置及び制御装置に関する。   The present invention relates to a relay device that relays data transmission / reception between control devices in an in-vehicle communication system. In particular, a relay system that can be realized as a relay system that performs a relay process using a control device and a relay device that can be added to the control device as an expansion device, and can reduce the line and weight of the entire in-vehicle communication system. The present invention relates to a relay device and a control device that constitute the relay system.

近年では、複数の制御装置に機能を割り振り、各制御装置に通信手段を設けて相互にデータを交換し、連携して多様な処理を行なわせるシステムが各分野で利用されている。特に車両の分野では、制御が機械的制御から電気的制御へ移行し、車両内に多数の制御装置としてECU(Electronic Control Unit)が配され、各ECUがCAN(Controller Area Network)、LIN(Local Interconnect Network)、FlexRayなどのプロトコルに従ってネットワークを介して情報を相互に交換し、協調・連携して多様な処理を行なう構成が一般的となっている。   In recent years, systems in which functions are assigned to a plurality of control devices, communication means are provided in each control device to exchange data with each other, and various processes are performed in cooperation have been used in various fields. Particularly in the field of vehicles, control shifts from mechanical control to electrical control, ECUs (Electronic Control Units) are arranged in the vehicle as a number of control devices, and each ECU is a CAN (Controller Area Network), LIN (Local In general, a configuration is used in which information is mutually exchanged via a network according to a protocol such as Interconnect Network) or FlexRay, and various processes are performed in cooperation and cooperation.

車両に搭載されるECUは、電気的な制御で実現される車両の機能自体が増加しているので数が増加する。車両に搭載されるECUを含むシステムのみならず、複数の制御装置で連携して処理を行なう通信システムでは、各制御装置に細分化された処理単位を分散させて実現することにより、故障、バグなどの問題が発生した場合の切り分け、対処を容易にして開発効率、保守性を向上させる工夫がされる場合がある。このように、通信システムに通信機器として含まれる制御装置の数は増加し、各制御装置間で協調・連携するために送受信されるデータの量は増加する傾向にある。   The number of ECUs mounted on the vehicle increases because the functions of the vehicle realized by electrical control are increasing. In a communication system in which processing is performed in cooperation with a plurality of control devices as well as a system including an ECU mounted on a vehicle, failure and bugs can be realized by distributing the processing units divided into each control device. When a problem such as the above occurs, there is a case where the device is devised to improve the development efficiency and maintainability by facilitating isolation and handling. As described above, the number of control devices included as communication devices in the communication system increases, and the amount of data transmitted and received for cooperation / cooperation between the control devices tends to increase.

通信機器が通信線に接続されるとき1本の通信線に接続される通信機器の数は、遅延時間、反射回避、リンギング防止などのために制限される。例えば、車載ネットワークとして広く利用されるCANの場合、High speed対応のCANバスには規格上最大30台を接続することができるが、実際には十数台に制限するなどの運用がされている。   When communication devices are connected to a communication line, the number of communication devices connected to one communication line is limited for delay time, reflection avoidance, ringing prevention, and the like. For example, in the case of a CAN widely used as an in-vehicle network, a maximum of 30 units can be connected to a high speed CAN bus according to the standard, but in practice, operation is limited to a dozen or more units. .

通信システムに含まれる通信機器の数は増加傾向にあるが、1本の通信線に接続される通信機器の数が制限されるから、通信機器を複数の群に分け、群ごとに通信線に接続し、異なる通信線間は中継装置(ゲートウェイ装置)で中継する構成とすることがある。この場合、通信機器の数の増加に伴って通信線の数も増える。しかしながら、車両の分野では特に、燃費の改善及び環境への影響を考慮して車両全体の軽量化が重要な課題となっている。軽量化には通信線、電源線などの各種電線を含むハーネス自体の軽量化が最も影響するので、各種電線自体の軽量化及び車載通信システムにおける省線化が望まれている。更に車両内空間をでき得る限り広く確保して快適性を向上させるため、ECU及び中継装置の設置場所に充てられるスペースは限られる。   Although the number of communication devices included in a communication system is increasing, the number of communication devices connected to one communication line is limited. Therefore, the communication devices are divided into a plurality of groups, and the communication lines are divided into groups. In some cases, different communication lines are connected and relayed by a relay device (gateway device). In this case, the number of communication lines increases as the number of communication devices increases. However, particularly in the field of vehicles, weight reduction of the entire vehicle is an important issue in consideration of improvement in fuel consumption and environmental impact. The weight reduction is most affected by the weight reduction of the harness itself including various electric wires such as a communication line and a power supply line. Therefore, the weight reduction of the various electric wires themselves and the line saving in the in-vehicle communication system are desired. Further, in order to secure the vehicle interior space as much as possible and improve the comfort, the space for the installation location of the ECU and the relay device is limited.

特許文献1には、ハーネスのコネクタ自体に電子部品を内蔵し、一般のコネクタと同様に取り扱うことができ、電子部品のハウジング及びコネクタの小型化を図ることができる電子部品内蔵コネクタが提案されている。   Patent Document 1 proposes an electronic component built-in connector in which an electronic component is built in the harness connector itself and can be handled in the same manner as a general connector, and the electronic component housing and connector can be miniaturized. Yes.

特開2008−226809号公報JP 2008-226809 A

図4は、従来の通信システムにおける中継装置及び通信手段を有する制御装置の構成を模式的に示す構成図である。図4に示すように、制御装置であるECU1,1,…は夫々異なる通信線3a,3bに接続され、通信線3a,3b間は中継装置であるGW9にて送受信が中継される。   FIG. 4 is a configuration diagram schematically showing the configuration of a control device having a relay device and communication means in a conventional communication system. As shown in FIG. 4, ECUs 1, 1,... That are control devices are connected to different communication lines 3a, 3b, and transmission / reception is relayed between the communication lines 3a, 3b by a GW 9 that is a relay device.

このように、通信システムでは制御装置を異なる通信線に接続する必要がある場合、中継装置にて通信線間を中継する。制御装置及び中継装置が夫々別個に、図4に示したような物理的に離隔して配置される装置として構成される場合、限られたスペースに配置するには無駄が多い。   Thus, in a communication system, when it is necessary to connect a control apparatus to a different communication line, a relay apparatus relays between communication lines. When the control device and the relay device are separately configured as devices that are physically separated as shown in FIG. 4, it is wasteful to arrange them in a limited space.

そこで、特許文献1に提案されているようにコネクタに中継装置の機能を実現する電子部品を内蔵させることもできるが、中継装置は異なる通信線間の送受信を行なうために複数のトランシーバ(送受信器)を用いる。コネクタに内蔵される構成では、依然としてこれらの通信用の資源は制御機器及び中継装置にて夫々備えられる必要がある。制御装置及び中継装置が通信に用いるネットワークコントローラは、複数のトランシーバを用いて通信をすることが可能なものがある。複数の通信線における送受信が可能な構成であるにも拘わらず、通信機器が各自トランシーバを備え、更に中継装置も複数のトランシーバを備える構成では、1つの通信線に接続される制御装置を含む通信機器の数を減らすことも難しく、通信資源の節約ができない。   Therefore, as proposed in Patent Document 1, an electronic component that realizes the function of the relay device can be incorporated in the connector. However, the relay device has a plurality of transceivers (transmitter / receivers) to perform transmission / reception between different communication lines. ) Is used. In the configuration built in the connector, these communication resources still need to be provided in the control device and the relay device, respectively. Some network controllers used by the control device and the relay device for communication can communicate using a plurality of transceivers. Communication including a control device connected to one communication line in a configuration in which each communication device has its own transceiver and a relay device also has a plurality of transceivers, despite the configuration in which transmission / reception is possible on a plurality of communication lines. It is difficult to reduce the number of devices, and communication resources cannot be saved.

また、図4に示すように制御装置及び中継装置が夫々異なる装置として構成される場合は勿論、いずれも電源回路を備えてオルタネータ又はバッテリからの給電を受けるようにしてある。電源回路を構成する素子は他の素子に比べて重量があり、サイズが大きいため、各装置に電源回路を備え、且つハウジングされる構成では、小型化及び軽量化の効果が不十分である。   Further, as shown in FIG. 4, when the control device and the relay device are respectively configured as different devices, both are provided with a power supply circuit so as to receive power from the alternator or the battery. Since the elements constituting the power supply circuit are heavier and larger in size than the other elements, the configuration in which each apparatus is provided with the power supply circuit and is housed does not have the effect of reducing the size and weight.

本発明は斯かる事情に鑑みてなされたものであり、中継機能のみを実現する中継装置を制御装置に接続して一体として動作することができる構成とし、車載通信システム全体の省線化及び軽量化を図ることができる中継システム、該中継システムを構成する中継装置及び制御装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and has a configuration in which a relay device that realizes only a relay function can be connected to a control device to operate as a single unit. It is an object of the present invention to provide a relay system that can be realized, and a relay device and a control device that constitute the relay system.

第1発明に係る中継システムは、異なる通信線に接続される複数の通信部、信号を入出力して信号処理を実行するプロセッサ、及び、外部から給電され、前記通信部及びプロセッサを含む各構成部へ電圧を出力する電源回路を有し、該プロセッサの処理により、前記通信部にて送受信される信号に基づき制御対象を制御するようにしてある制御装置と、該制御装置に接続され、送受信される信号の中継要否の判断処理及び中継先の特定処理を行なう中継処理回路を有する中継装置とを備え、該中継装置は、前記制御装置の電源回路から出力される電力により動作するようにしてあり、前記中継処理回路は、前記コネクタを介して前記制御装置が有する前記複数の通信部及び前記プロセッサと接続されるようにしてあることを特徴とする。   A relay system according to a first invention includes a plurality of communication units connected to different communication lines, a processor that inputs and outputs signals and executes signal processing, and each component that includes power supply from the outside and includes the communication unit and the processor A control device having a power supply circuit for outputting a voltage to the control unit and controlling a control target based on a signal transmitted / received by the communication unit by processing of the processor, and connected to the control device for transmission / reception A relay device having a relay processing circuit that performs a process for determining whether a signal to be relayed is necessary and a process for specifying a relay destination, and the relay device is operated by power output from the power supply circuit of the control device. The relay processing circuit is connected to the plurality of communication units and the processor included in the control device via the connector.

第2発明に係る中継システムは、第1発明において前記制御装置は、前記中継装置の接続の有無を検知する手段と、該手段が検知する接続の有無に応じて、前記プロセッサ及び前記複数の通信部と前記中継装置の中継処理回路との接続、又は前記プロセッサと前記複数の通信部のうちの何れか1つとの接続を切り替える手段とを備えることを特徴とする。   The relay system according to a second aspect of the present invention is the relay system according to the first aspect, wherein the control device detects the presence / absence of connection of the relay device, and the processor and the plurality of communications according to the presence / absence of connection detected by the means. And a means for switching the connection between the processor and the relay processing circuit of the relay device, or the connection between the processor and any one of the plurality of communication units.

第3発明に係る中継システムは、各々異なる通信線が接続される複数の送受信器、信号を入出力して信号処理を実行するマイクロコンピュータ、及び、外部から給電され、前記送受信器及びマイクロコンピュータを含む各構成部へ電力を出力する電源回路を基板上に有し、
前記マイクロコンピュータの処理により、前記送受信器にて送受信される信号に基づき制御対象を制御するようにしてある制御装置と、該制御装置とのコネクタ、信号の識別情報が予め記憶されるメモリ、及び該メモリに記憶される信号の識別情報に基づき、入力された信号の中継要否の判断処理及び中継先の特定処理を行ない、中継要と判断した場合に中継先へ信号を出力する中継処理回路を前記基板と異なる基板上に有する中継装置とを備え、前記制御装置では、前記電源回路からの給電線が前記コネクタと接続されるようにしてあり、前記コネクタへ前記マイクロコンピュータからの出力信号を与え、前記コネクタからの入力信号の内のいずれかを前記マイクロコンピュータへ入力するようにしてあり、前記複数の通信部からの出力信号を前記コネクタへ与え、前記コネクタを介した前記中継処理回路からの複数の出力信号を前記複数の通信部へ夫々与えるようにしてあり、前記中継装置は、前記コネクタからの信号を中継処理回路へ入力し、中継処理回路からの出力を前記コネクタへ与えるようにしてあることを特徴とする。
A relay system according to a third aspect of the present invention includes a plurality of transceivers to which different communication lines are connected, a microcomputer for performing signal processing by inputting and outputting signals, and an external power supply, the transceiver and the microcomputer A power supply circuit that outputs power to each component including
A control device configured to control an object to be controlled based on a signal transmitted and received by the transceiver by the processing of the microcomputer, a connector for the control device, a memory for storing signal identification information in advance, and Based on the signal identification information stored in the memory, a relay processing circuit that performs processing for determining whether or not to relay an input signal and processing for specifying a relay destination, and outputs a signal to the relay destination when it is determined that relay is necessary A relay device having a circuit board different from the circuit board, wherein the control device is configured such that a power supply line from the power supply circuit is connected to the connector, and an output signal from the microcomputer is transmitted to the connector. Any one of the input signals from the connector is input to the microcomputer, and the output signals from the plurality of communication units are input. Is provided to the connector, and a plurality of output signals from the relay processing circuit via the connector are respectively provided to the plurality of communication units, and the relay device supplies the signal from the connector to the relay processing circuit. It is characterized in that it is inputted and the output from the relay processing circuit is given to the connector.

第4発明に係る中継装置は、送受信される信号にて示されるデータの中継要否の判断及び中継先の特定処理を行なう中継処理回路を含む中継装置であって、外部装置から出力される電力を入力する電力端子、及び外部装置からの入出力信号を入出力する入出力端子の組を複数を有するコネクタを有し、前記中継処理回路は、前記コネクタの電力端子にて入力される電力により動作するようにしてあり、前記複数の入出力端子の組のいずれかから入力される信号に対し、前記中継要否の判断及び中継先の特定処理を行ない、中継要と判断した場合、特定した中継先に対応する接続端子の組へ信号を出力するようにしてあることを特徴とする。   A relay device according to a fourth aspect of the present invention is a relay device including a relay processing circuit that determines whether or not data indicated by a transmitted / received signal is to be relayed and specifies a relay destination, and includes power output from an external device And a connector having a plurality of sets of input / output terminals for inputting / outputting input / output signals from / to an external device, and the relay processing circuit uses power input at the power terminals of the connector. It is configured to perform the determination of the necessity of relay and the specification process of the relay destination for the signal input from any of the plurality of input / output terminal sets, and if it is determined that the relay is necessary, it is specified. A signal is output to a set of connection terminals corresponding to the relay destination.

第5発明に係る制御装置は、異なる通信線に接続される複数の通信部、前記複数の通信部の一方にて送受信される信号を入出力して信号処理を実行するプロセッサ、及び外部から給電され、前記通信部及びプロセッサを含む各構成部へ電力を出力する電源回路を有し、前記プロセッサの処理により制御対象を制御するようにしてある制御装置であって、前記電源回路からの電力を出力する電力端子と、前記プロセッサの入出力信号を入出力する入出力端子と、前記複数の通信部夫々の送受信信号を入出力する接続端子と、外部装置の接続の有無を検知する手段と、該手段が検知する接続の有無に応じて、前記入出力端子及び接続端子と外部装置との接続、又は前記プロセッサと前記複数の通信部のうちの何れか1つとの接続を切り替える手段とを備えることを特徴とする。   A control device according to a fifth aspect of the present invention includes a plurality of communication units connected to different communication lines, a processor for executing signal processing by inputting / outputting signals transmitted / received by one of the plurality of communication units, and power supply from outside And a power supply circuit that outputs power to each component including the communication unit and the processor, and is a control device configured to control a control target by processing of the processor, wherein power from the power supply circuit is obtained. An output power terminal; an input / output terminal for inputting / outputting an input / output signal of the processor; a connection terminal for inputting / outputting a transmission / reception signal of each of the plurality of communication units; Means for switching the connection between the input / output terminal and the connection terminal and an external device or the connection between the processor and any one of the plurality of communication units according to the presence or absence of a connection detected by the means Characterized in that it comprises a.

本発明では、中継システムは、信号処理を行なうマイクロコンピュータなどのプロセッサを含む制御装置に、中継処理を行なう中継処理回路を含む中継装置を接続することによって一体として構成される。制御装置は、電源回路及び複数の通信線と接続される通信部を有し、何れか一方の通信部にて送受信される信号に対する信号処理を単独で行なうことが可能である。これに対し、中継装置は電源回路及び中継処理対象の信号の送受信を行なう通信部を有していない。中継装置及び制御装置が接続された場合に、中継装置が制御装置の電源回路から給電されるように構成される。そして、中継処理回路には、接続される制御装置のプロセッサからの入出力信号、複数の通信部からの送受信信号に対応する入出力信号が入出力されるように構成され、中継処理回路は入出力信号に対して中継処理を行なう。つまり、中継処理回路は、接続される制御装置のプロセッサ、又は複数の通信部の内のいずれかから入力した信号、即ち受信信号に対して中継の要否及び中継先の特定を行ない、中継先に対応するプロセッサ、又は複数の通信部の内のいずれかへ信号を出力する。   In the present invention, the relay system is integrally configured by connecting a relay device including a relay processing circuit for performing relay processing to a control device including a processor such as a microcomputer for performing signal processing. The control device includes a communication unit connected to a power supply circuit and a plurality of communication lines, and can independently perform signal processing on signals transmitted and received by any one of the communication units. On the other hand, the relay device does not have a power supply circuit and a communication unit that transmits and receives signals to be relayed. When the relay device and the control device are connected, the relay device is configured to be supplied with power from the power supply circuit of the control device. The relay processing circuit is configured such that input / output signals from the processor of the connected control device and input / output signals corresponding to transmission / reception signals from a plurality of communication units are input / output. Relay processing is performed on the output signal. In other words, the relay processing circuit determines whether or not to relay a signal input from a processor of a connected control device or a plurality of communication units, that is, a received signal, and specifies a relay destination. A signal is output to either a processor corresponding to the above or a plurality of communication units.

これにより、通信システムにおいて中継処理を行なう中継装置としての機能は、制御装置に中継装置が組み込まれる構成により実現され、従来の別個に存在した中継装置と制御装置との間の通信線を削減し、中継装置を小型化できる。なお、制御装置におけるプロセッサでの信号処理は、中継装置を介して信号が送受信されるのか、直接的に通信部を介して送受信がされるのかによらず、従来と同様の構成でよい。   As a result, the function as a relay device that performs relay processing in the communication system is realized by a configuration in which the relay device is incorporated in the control device, and reduces the communication line between the conventional relay device and the control device that existed separately. The relay device can be downsized. Note that the signal processing by the processor in the control device may have the same configuration as the conventional one regardless of whether the signal is transmitted / received via the relay device or directly transmitted / received via the communication unit.

また本発明では、制御装置にて中継装置の接続の有無が検知される。制御装置は、中継装置が接続されているときは、プロセッサからの入出力及び複数の通信部との入出力がいずれも中継装置と接続されるようにしてあり、中継装置が接続されていないときは、プロセッサからの入出力は直接的に複数の通信部のいずれかに接続される。   In the present invention, the control device detects whether the relay device is connected. When the relay device is connected, the control device is configured so that input / output from the processor and input / output to / from multiple communication units are all connected to the relay device, and the relay device is not connected. The input / output from the processor is directly connected to one of a plurality of communication units.

制御装置に中継装置が接続されているときは、中継処理回路は制御装置の電源回路からの給電により動作する。プロセッサからの出力は中継処理回路に入力され、中継処理回路にて送信先に対応する通信部により送信されるように処理される。そして、複数の通信部のいずれかにて受信され、中継処理回路が制御装置へ中継すべきと判断した信号は、プロセッサへ入力される。同様に、複数の通信部のいずれかにて受信され、中継処理回路が他の装置へ中継すべきと判断した信号は、中継先の装置に対応する通信部へ入力され、通信部から中継先へ送信される。制御装置に中継装置が接続されていないときには、プロセッサと1つの通信部とが直接的に接続される。   When a relay device is connected to the control device, the relay processing circuit operates by supplying power from the power supply circuit of the control device. The output from the processor is input to the relay processing circuit and processed by the relay processing circuit to be transmitted by the communication unit corresponding to the transmission destination. A signal received by one of the plurality of communication units and determined by the relay processing circuit to be relayed to the control device is input to the processor. Similarly, a signal received by one of a plurality of communication units and determined by the relay processing circuit to be relayed to another device is input to the communication unit corresponding to the relay destination device, and is transmitted from the communication unit to the relay destination. Sent to. When the relay device is not connected to the control device, the processor and one communication unit are directly connected.

これにより、制御装置は中継装置が接続されていない場合も、1つの通信部により送受信される信号に基づき制御対象を制御する装置として単独に動作することが可能となる。   Thereby, even when the relay device is not connected, the control device can operate independently as a device that controls a control target based on a signal transmitted and received by one communication unit.

本発明による場合、中継装置と制御装置との間の通信線の数を削減することができるので通信システムの省線化及び軽量化を図ることができると共に、中継装置を小型化することができ、通信システム全体の小型化、軽量化を図ることができる。   According to the present invention, since the number of communication lines between the relay device and the control device can be reduced, the communication system can be reduced in line weight and weight, and the relay device can be reduced in size. Thus, the entire communication system can be reduced in size and weight.

通信システムを車両内に設置されるECU間の通信システムに適用した場合、通信システムの省線化及び軽量化を図ることができるので、車両の燃費を改善することができ、更に環境への配慮がされた車両を実現できる。   When the communication system is applied to a communication system between ECUs installed in a vehicle, the communication system can be reduced in line weight and weight, so that the fuel consumption of the vehicle can be improved and the environment is taken into consideration. It is possible to realize a vehicle that has been damaged.

本実施の形態における通信システムの構成を示す構成図である。It is a block diagram which shows the structure of the communication system in this Embodiment. 本実施の形態におけるECUの外観及び接続されるGWの内部構造を模式的に示す略示斜視図である。2 is a schematic perspective view schematically showing an external appearance of an ECU and an internal structure of a connected GW in the present embodiment. FIG. 本実施の形態におけるECU及び接続されるGWのブロック図である。It is a block diagram of ECU in this Embodiment and GW connected. 従来の通信システムにおける中継装置及び通信手段を有する制御装置の構成を模式的に示す構成図である。It is a block diagram which shows typically the structure of the control apparatus which has a relay apparatus and communication means in the conventional communication system.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。以下に示す実施の形態では、本発明に係る中継システムを車両に搭載される車載LANにおける中継装置として実現する場合を例に説明する。   Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. In the embodiment described below, a case where the relay system according to the present invention is realized as a relay device in an in-vehicle LAN mounted on a vehicle will be described as an example.

図1は、本実施の形態における通信システムの構成を示す構成図である。通信システムは、車両に搭載される車載LANであり、ECU10と、ECU1,1,…と、ECU1,1,…がバス型に接続されるCANバス3a,3bとを含んで構成される。通信線3a,3bには、図1に示しているECU1,1以外のECU、又はアクチュエータ、センサなどが接続されていてもよい。   FIG. 1 is a configuration diagram showing a configuration of a communication system in the present embodiment. The communication system is an in-vehicle LAN mounted on a vehicle, and includes an ECU 10, ECUs 1, 1,... And CAN buses 3a, 3b to which the ECUs 1, 1,. ECUs other than the ECUs 1 and 1 shown in FIG. 1, actuators, sensors, or the like may be connected to the communication lines 3a and 3b.

ECU10、及びECU1,1,…は、測定値、計算値、制御値等の各種物理量の数値情報を含むデータの送信、又は、エンジン、ブレーキ等のマイクロコンピュータ(以下、マイコンという)による制御を行なう制御装置である。たとえばECU1は、ABS(Antilock Brake System)として機能し、車輪の回転速度(車輪速)を検知する図示しないセンサと接続され、車両の制動時にセンサを介して検知した車輪速の測定値に基づいてブレーキを制御すると共に、車輪速の測定値を含むデータを他へ送信する。   The ECU 10 and the ECUs 1, 1,... Transmit data including numerical information of various physical quantities such as measured values, calculated values, control values, or control by a microcomputer (hereinafter referred to as a microcomputer) such as an engine and a brake. It is a control device. For example, the ECU 1 functions as an ABS (Antilock Brake System), is connected to a sensor (not shown) that detects the rotational speed (wheel speed) of the wheel, and is based on a measured value of the wheel speed detected through the sensor during braking of the vehicle. The brake is controlled and data including wheel speed measurement values is transmitted to the other.

ECU10は、制御装置としての機能に加え、異なるCANバス3a,3bに夫々接続されているECU1,1,…間でのデータの送受信を中継する中継機能をも実現する。ECU10は、中継機能を実現するためのGW20が接続されて中継装置として構成される。なお、ECU10,1,1,…は、CANプロトコルによりデータを送受信する。   In addition to the function as a control device, the ECU 10 also realizes a relay function for relaying data transmission / reception between the ECUs 1, 1,... Connected to different CAN buses 3a, 3b. The ECU 10 is configured as a relay device to which the GW 20 for realizing the relay function is connected. In addition, ECU10,1,1, ... transmits / receives data by a CAN protocol.

図2は、本実施の形態におけるECU10の外観及び接続されるGW20の内部構造を模式的に示す略示斜視図であり、図3は、ECU10及び接続されるGW20のブロック図である。ECU10は、コネクタ18を有する略直方体の筐体19に収納されており、マイコン(マイクロコンピュータ)11、電源回路12、2つのCANトランシーバ13a,13b、切替部14,15,16,17を含んで構成される。GW20は、基板25の上に中継処理回路21、水晶振動子22,23、EEPROM(Electrically Erasable and Programmable Read Only Memory)24が搭載され、コネクタ26を備えて構成される。GW20も、2点鎖線に示すようにカバーを有していてもよい。また、ECU10の筐体19は接続されるGW20を考慮して、GW20の容量分の開口部を備えて構成されてもよい。   FIG. 2 is a schematic perspective view schematically showing the appearance of the ECU 10 and the internal structure of the connected GW 20 in the present embodiment, and FIG. 3 is a block diagram of the ECU 10 and the connected GW 20. The ECU 10 is housed in a substantially rectangular parallelepiped housing 19 having a connector 18, and includes a microcomputer 11, a power supply circuit 12, two CAN transceivers 13 a and 13 b, and switching units 14, 15, 16 and 17. Composed. The GW 20 has a relay processing circuit 21, crystal resonators 22 and 23, and an EEPROM (Electrically Erasable and Programmable Read Only Memory) 24 mounted on a substrate 25 and a connector 26. The GW 20 may also have a cover as shown by a two-dot chain line. Further, the casing 19 of the ECU 10 may be configured with an opening corresponding to the capacity of the GW 20 in consideration of the GW 20 to be connected.

ECU10は、コネクタ18にGW20のコネクタ26が接続された場合、中継装置として機能するが、GW20が接続されていない場合、中継機能を有さないECU1,1,…と同様の動作のみ行なう制御装置として機能される。   The ECU 10 functions as a relay device when the connector 26 of the GW 20 is connected to the connector 18, but when the GW 20 is not connected, the control device that performs only the same operation as the ECUs 1, 1,. Function as.

マイコン11は、u_ctx端子、u_crx端子、cstb2端子及びu_sleep_req端子を備える。マイコン11は、u_ctx端子からCAN送信信号を出力し、u_crx端子からCAN受信信号を入力する。マイコン11は、cstb2端子から、自身の送受信に用いるCANトランシーバ13aへスタンバイを指示するスタンバイ信号を出力し、u_sleep_req端子からGW20へスリープ状態への遷移を要求する信号を出力する。   The microcomputer 11 includes a u_ctx terminal, a u_crx terminal, a cstb2 terminal, and a u_sleep_req terminal. The microcomputer 11 outputs a CAN transmission signal from the u_ctx terminal and inputs a CAN reception signal from the u_crx terminal. The microcomputer 11 outputs a standby signal instructing standby to the CAN transceiver 13a used for its own transmission / reception from the cstb2 terminal, and outputs a signal requesting the transition to the sleep state from the u_sleep_req terminal to the GW 20.

電源回路12は、車両内の電力供給装置からの給電により各構成部への出力電圧を生成して出力する。電源回路12は、バッテリ又はイグニッションからの出力電圧を5Vに電圧変換した信号を、ECU10内の各構成部へ電圧を出力するのみならず、VCC端子から出力する。グランド線と同位のGND端子も備える。電源回路12からは、イグニッションスイッチからの信号を5Vに電圧変換した信号がIG端子から出力され、アクセサリへの信号を5V電圧変換した信号をACC端子から出力する。更に、電源回路12からは、リセット信号がreset端子から出力され、リセット信号がオンとなった場合、当該出力信号を受ける回路は再起動する。   The power supply circuit 12 generates and outputs an output voltage to each component by power feeding from a power supply device in the vehicle. The power supply circuit 12 outputs a signal obtained by converting the output voltage from the battery or the ignition to 5V, not only to each component in the ECU 10, but also from the VCC terminal. It also has a GND terminal that is the same as the ground line. From the power supply circuit 12, a signal obtained by converting the signal from the ignition switch to 5V is output from the IG terminal, and a signal obtained by converting the signal to the accessory by 5V is output from the ACC terminal. Further, when the reset signal is output from the reset terminal from the power supply circuit 12 and the reset signal is turned on, the circuit receiving the output signal is restarted.

CANトランシーバ13a,13bは、夫々CANバス3a,3bに接続され、CANバス3a,3bのCAN_Hライン及びCAN_Lラインへの差動信号の送受信を物理層にて実現する。CANトランシーバ13aは、CANの送信信号を入力するためのctx0端子、受信信号が出力されるcrx0端子、及びスタンバイ信号を入力するcstb0端子を備える。CANトランシーバ13bも同様に、ctx1端子、crx1端子、及びcstb1端子を備える。   The CAN transceivers 13a and 13b are connected to the CAN buses 3a and 3b, respectively, and realize transmission and reception of differential signals to and from the CAN_H and CAN_L lines of the CAN buses 3a and 3b. The CAN transceiver 13a includes a ctx0 terminal for inputting a CAN transmission signal, a crx0 terminal for outputting a reception signal, and a cstb0 terminal for inputting a standby signal. Similarly, the CAN transceiver 13b includes a ctx1 terminal, a crx1 terminal, and a cstb1 terminal.

マイコン11のu_ctx端子、u_crx端子及びu_sleep_req端子、電源回路のVCC端子、GND端子、IG端子、ACC端子及びreset端子、CANトランシーバ13aのctx0端子、crx0端子及びcstb0端子の組、及びCANトランシーバ13bのctx1端子、crx1端子及びcstb1端子の組はいずれも、GW20のコネクタ26と接続するコネクタ18が備える各端子(ピン)へ導線されている。したがって、GW20が接続されている状態では、電源回路12からの出力電圧、マイコン11の入出力信号、CANトランシーバ13a,13bからの入出力信号はいずれもGW20へ与えられる。   U_ctx terminal, u_crx terminal and u_sleep_req terminal of the microcomputer 11, VCC terminal, GND terminal, IG terminal, ACC terminal and reset terminal of the power supply circuit, a set of ctx0 terminal, crx0 terminal and cstb0 terminal of the CAN transceiver 13a, and the CAN transceiver 13b All sets of the ctx1 terminal, the crx1 terminal, and the cstb1 terminal are led to respective terminals (pins) included in the connector 18 connected to the connector 26 of the GW 20. Therefore, when the GW 20 is connected, the output voltage from the power supply circuit 12, the input / output signals of the microcomputer 11, and the input / output signals from the CAN transceivers 13a and 13b are all supplied to the GW 20.

ECU10は、切替部14,15,16,17によりGW20が接続されている状態での各構成部間の結線と、GW20が接続されていない状態での結線とを切り替える。切替部14は、マイコン11のCAN送信信号を出力するu_ctx端子と、CANトランシーバ13aの送信信号用のctx0端子との間の結線をオン/オフする。切替部15は、CANトランシーバ13aの受信信号用のcrx1端子と、マイコン11のCAN受信信号を入力するu_crx端子との間の結線をオン/オフする。切替部16は、マイコン11からのスタンバイ信号を出力するcstb2端子と、CANトランシーバ13aのスタンバイ信号を入力するcstb0端子との間の結線をオン/オフする。   ECU10 switches the connection between each component part in the state in which GW20 is connected by switching part 14,15,16,17, and the connection in the state in which GW20 is not connected. The switching unit 14 turns on / off the connection between the u_ctx terminal that outputs the CAN transmission signal of the microcomputer 11 and the ctx0 terminal for the transmission signal of the CAN transceiver 13a. The switching unit 15 turns on / off the connection between the crx1 terminal for the reception signal of the CAN transceiver 13a and the u_crx terminal for inputting the CAN reception signal of the microcomputer 11. The switching unit 16 turns on / off the connection between the cstb2 terminal that outputs the standby signal from the microcomputer 11 and the cstb0 terminal that inputs the standby signal of the CAN transceiver 13a.

切替部14,15,16は、コネクタ18にGW20のコネクタ26が接続されている状態では結線をオフとし、接続されていない状態では結線をオンとするようにしてある。なお、コネクタ18にGW20のコネクタ26が接続されているか否かは、マイコン11又は他の特定の回路にて、コネクタ18が通電しているか否かに応じて接続の有無を検知し、接続している場合は「High」、接続していない場合は「Low」となる検知信号を出力し、当該検知信号は、切替部14,15,16,17に入力されるとする。   The switching units 14, 15, and 16 are configured so that the connection is turned off when the connector 26 of the GW 20 is connected to the connector 18, and the connection is turned on when the connector 18 is not connected. Whether or not the connector 26 of the GW 20 is connected to the connector 18 is determined by detecting whether or not the connector 18 is energized in the microcomputer 11 or other specific circuit. It is assumed that a detection signal “High” is output when it is connected and “Low” is output when it is not connected, and the detection signal is input to the switching units 14, 15, 16, and 17.

ECU10の切替部17は外部から電源回路12へ入力されるVCC信号の分岐を入力するようにしてあり、コネクタ18にGW20のコネクタ26が接続されたことが検知されると、マイコン11の特定のピンへ入力する端子への信号レベルが「High」となるようにしてある。マイコン11は、前記特定のピンへ入力される信号レベルが「High」である間は、cstb2からのスタンバイ信号を出力することが可能で有ると認識するようにしてある。   The switching unit 17 of the ECU 10 inputs a branch of the VCC signal input from the outside to the power supply circuit 12. When it is detected that the connector 26 of the GW 20 is connected to the connector 18, the specific part of the microcomputer 11 is selected. The signal level to the terminal input to the pin is set to “High”. The microcomputer 11 recognizes that the standby signal from the cstb2 can be output while the signal level input to the specific pin is “High”.

GW20の中継処理回路21は、ASIC(Application Specific Integrated Circuit)又はマイクロコンピュータにより構成される。中継処理回路21は、外部からの給電により水晶振動子22,23からのクロック信号に基づいて動作するようにしてある。水晶振動子22,23は振動数が異なる。例えば、水晶振動子22は16MHz、水晶振動子23は32KHzのクロック信号を出力するようにしてある。中継処理回路21は、EEPROM24に予め記憶されている中継が必要なCANの送受信信号に含まれるCANIDと、夫々の中継先に対応する出力先とに基づき、中継の要否及び中継先の特定を行なうように構成されている。   The relay processing circuit 21 of the GW 20 is configured by an ASIC (Application Specific Integrated Circuit) or a microcomputer. The relay processing circuit 21 operates on the basis of clock signals from the crystal resonators 22 and 23 by power supply from the outside. The quartz vibrators 22 and 23 have different frequencies. For example, the crystal oscillator 22 outputs a clock signal of 16 MHz, and the crystal oscillator 23 outputs a clock signal of 32 KHz. The relay processing circuit 21 determines whether relaying is necessary and specifies the relay destination based on the CANID included in the CAN transmission / reception signal that needs to be relayed and stored in advance in the EEPROM 24 and the output destination corresponding to each relay destination. Configured to do.

なお、中継処理回路21は、中継の要否及び中継先の特定などの中継機能のみを実現するように構成され、車載通信システムにおける中継装置として必要な機能、例えば、CANバス3a,3bの通信異常の検知などの管理機能、又は送受信されるデータの記憶、送受信されるデータに基づく異常検知などのダイアグ機能などは、ECU10のマイコン11にて実現されるように構成される。   The relay processing circuit 21 is configured to realize only a relay function such as necessity of relay and identification of a relay destination, and functions necessary as a relay device in an in-vehicle communication system, for example, communication of CAN buses 3a and 3b. A management function such as detection of abnormality, or a diagnostic function such as storage of data to be transmitted / received and abnormality detection based on the data transmitted / received is configured to be realized by the microcomputer 11 of the ECU 10.

GW20は、電源回路もCANトランシーバも備えておらず、単独では中継装置としての機能を実現できない。GW20のコネクタ26には、中継処理回路21へ接続される多数の端子が設けられており、各端子から中継処理回路21へ信号が入出力される。具体的には、コネクタ26には、VCC信号を入力する端子、GND端子、イグニッションスイッチからの信号を入力するIG端子、ACC信号を入力するACC端子、リセット信号を入力するreset端子が設けられており、コネクタ26がECU10のコネクタ18と接続された場合に、電源回路12のVCC端子、GND端子、IG端子、ACC端子及びreset端子と結線されるようにしてある。更に、CANの送受信信号及びスタンバイ信号の組を複数受け付ける端子が設けられており、コネクタ26がECU10のコネクタ18と接続された場合に、マイコン11のu_ctx端子、u_crx端子、及びu_sleep_req端子と、CANトランシーバ13aのctx0端子、crx0端子、及びcstb0端子と、CANトランシーバ13bのctx1端子、crx1端子、及びcstb1端子と結線されるようにしてある。なお、マイコンの各端子との接続、CANトランシーバ13aの各端子との接続、CANトランシーバ13bの各端子との接続は、夫々組として認識するようにしてあり、CANトランシーバ13aの各端子との接続及びCANトランシーバ13bの各端子との接続については、異なるCANバス3a,3bに対応するバスとして識別可能にしてある。中継処理回路21は、CANバス3aと接続されるCANトランシーバ13aの端子の組を「0」、他方を「1」として識別する。   The GW 20 does not include a power supply circuit or a CAN transceiver, and cannot function as a relay device by itself. The connector 26 of the GW 20 is provided with a large number of terminals connected to the relay processing circuit 21, and signals are input / output from the respective terminals to the relay processing circuit 21. Specifically, the connector 26 includes a terminal for inputting a VCC signal, a GND terminal, an IG terminal for inputting a signal from an ignition switch, an ACC terminal for inputting an ACC signal, and a reset terminal for inputting a reset signal. When the connector 26 is connected to the connector 18 of the ECU 10, the power supply circuit 12 is connected to the VCC terminal, the GND terminal, the IG terminal, the ACC terminal, and the reset terminal. Further, a terminal for receiving a plurality of sets of CAN transmission / reception signals and standby signals is provided. When the connector 26 is connected to the connector 18 of the ECU 10, the u_ctx terminal, the u_crx terminal, the u_sleep_req terminal of the microcomputer 11, and the CAN The ctx0 terminal, crx0 terminal, and cstb0 terminal of the transceiver 13a are connected to the ctx1 terminal, crx1 terminal, and cstb1 terminal of the CAN transceiver 13b. The connection with each terminal of the microcomputer, the connection with each terminal of the CAN transceiver 13a, and the connection with each terminal of the CAN transceiver 13b are recognized as a set, and the connection with each terminal of the CAN transceiver 13a. The connection to each terminal of the CAN transceiver 13b is identifiable as a bus corresponding to a different CAN bus 3a, 3b. The relay processing circuit 21 identifies the set of terminals of the CAN transceiver 13a connected to the CAN bus 3a as “0” and the other as “1”.

GW20のコネクタ26がECU10のコネクタ18と接続されている間、低速側の水晶振動子23へ電源回路12のVCC端子及びGND端子と接続し、電源回路12へ給電されている間は常時発振するようにしてある。GW20では、ECU10の電源回路12のIG端子及びACC端子の信号レベルに基づき、イグニッションキーの位置がオン又はアクセサリオンである場合には、高速側の水晶振動子22へ給電されるように制御するようにしてある。また、GW20のコネクタ26がECU10のコネクタ18と接続されている状態でも、GW20ではイグニッションキーの位置がオフ、且つアクセサリもオフである場合には、高速側の水晶振動子22へは給電を停止し、低速側の水晶振動子23からのクロック信号に基づき動作するようにしてある。バッテリ上がりを防止するためである。   While the connector 26 of the GW 20 is connected to the connector 18 of the ECU 10, the crystal oscillator 23 on the low speed side is connected to the VCC terminal and the GND terminal of the power supply circuit 12, and always oscillates while power is supplied to the power supply circuit 12. It is like that. In the GW 20, based on the signal levels of the IG terminal and the ACC terminal of the power supply circuit 12 of the ECU 10, control is performed so that power is supplied to the high-speed side crystal unit 22 when the ignition key is on or accessory is on. It is like that. Even when the connector 26 of the GW 20 is connected to the connector 18 of the ECU 10, if the ignition key position is off and the accessory is also off on the GW 20, power supply to the high-speed side crystal unit 22 is stopped. However, the operation is performed based on the clock signal from the crystal unit 23 on the low speed side. This is to prevent the battery from running out.

GW20のコネクタ26がECU10のコネクタ18と接続されている間、中継処理回路21は、ECU10の電源回路12により給電され中継処理を実行するように構成されている。具体的には、中継処理回路21は、マイコン11のu_ctx端子からのCAN送信信号をコネクタ18,26を介して入力した場合、CANIDによりCANトランシーバ13a,13bのいずれに送信する信号であるかを判断し、判断結果に応じて、CANトランシーバ13aのctx0端子、CANトランシーバ13bのctx1端子のいずれか一方へCAN送信信号を出力する。また、中継処理回路21は、CANトランシーバ13aが信号を受信したことによって「0」として識別される組に含まれるcrx0端子から出力されるCAN受信信号を入力した場合、CAN受信信号のCANIDがEEPROM24に記憶されているか否かを判断し、記憶されている場合は中継要と判断し、記憶されていない場合は中継不要と判断する。中継処理回路21は、中継要と判断した場合、EEPROM24に記憶されていたCANIDに対応付けて記憶されている中継先、即ちCANバス3a,3bの識別番号「0」又は「1」を読み出し、読み出した識別番号で識別されるバス側へCAN受信信号を出力する。なおこの場合、「1」として識別される組のCANトランシーバ13bのctx1端子へ受信した信号を出力する。このとき、ECU10のマイコン11のu_crx端子へもCAN受信信号を出力する。   While the connector 26 of the GW 20 is connected to the connector 18 of the ECU 10, the relay processing circuit 21 is configured to be fed by the power supply circuit 12 of the ECU 10 and execute the relay processing. Specifically, when the CAN transmission signal from the u_ctx terminal of the microcomputer 11 is input via the connectors 18 and 26, the relay processing circuit 21 determines which signal is transmitted to the CAN transceivers 13a and 13b by CANID. The CAN transmission signal is output to either the ctx0 terminal of the CAN transceiver 13a or the ctx1 terminal of the CAN transceiver 13b according to the determination result. When the CAN reception signal output from the crx0 terminal included in the set identified as “0” when the CAN transceiver 13 a receives the signal is input to the relay processing circuit 21, the CANID of the CAN reception signal is the EEPROM 24. If it is stored, it is determined that relay is necessary, and if it is not stored, it is determined that relay is not necessary. When the relay processing circuit 21 determines that the relay is necessary, the relay processing circuit 21 reads the relay destination stored in association with the CANID stored in the EEPROM 24, that is, the identification number “0” or “1” of the CAN buses 3a and 3b. A CAN reception signal is output to the bus side identified by the read identification number. In this case, the received signal is output to the ctx1 terminal of the set of CAN transceivers 13b identified as “1”. At this time, the CAN reception signal is also output to the u_crx terminal of the microcomputer 11 of the ECU 10.

このようにGW20は、電源回路及びCANトランシーバをも備えず、中継機能を実現する中継処理回路21、水晶振動子22,23及びEEPROM24のみを備えたアドオン形の装置として構成される。ECU10のように、GW20へ各信号を出力する端子を備えた任意のECUに追加デバイスとして接続されることで、いずれの装置でも中継機能を発揮させることができる。このとき、中継機能のためのみのために電源回路及び通信資源を持つ中継装置を通信システムに含む構成よりも、システムの小型化及び軽量化を図ることができる。   As described above, the GW 20 is configured as an add-on device that does not include the power supply circuit and the CAN transceiver but includes only the relay processing circuit 21 that realizes the relay function, the crystal resonators 22 and 23, and the EEPROM 24. By connecting as an additional device to an arbitrary ECU provided with a terminal for outputting each signal to the GW 20 like the ECU 10, any device can exhibit a relay function. At this time, the system can be made smaller and lighter than a configuration in which the communication system includes a relay device having a power supply circuit and communication resources only for the relay function.

また、ECU10ではGW20の接続の有無を検知するようにしてあり、GW20が接続されていない場合には、切替部14,15,16,17によりマイコン11とCANトランシーバ13aとが直接的に接続されるように切り替えられることで、ECU10は単独にECU(制御装置)として動作することができる。これにより、ECU10の構成を有するECUを通信システムに複数備える構成とすることにより、GW20を接続させて中継機能をも実現させるECUを選択することができ、通信システムの構成を柔軟に変更することも可能である点、優れた効果を奏する。   Further, the ECU 10 detects whether the GW 20 is connected. When the GW 20 is not connected, the microcomputer 11 and the CAN transceiver 13a are directly connected by the switching units 14, 15, 16, and 17. Thus, the ECU 10 can operate independently as an ECU (control device). Thus, by providing a plurality of ECUs having the configuration of the ECU 10 in the communication system, it is possible to select an ECU that also connects the GW 20 to realize the relay function, and to flexibly change the configuration of the communication system. Is also possible and has an excellent effect.

本実施の形態では図2に示すようなコネクタ18,26により、ECU10にGW20が接続される構成として説明する。しかしながら本発明はこれに限らず、ECU10の基板上にGW20の基板25を積層して構成するとしてもよい。この場合、コネクタ26によらず、ASICとして構成される中継処理回路21の各端子がECU10における各端子へ直接的に接続されるように、ECU10の基板上で導線がプリントされることが必要である。   In the present embodiment, a description will be given assuming that the GW 20 is connected to the ECU 10 by connectors 18 and 26 as shown in FIG. However, the present invention is not limited to this, and the substrate 25 of the GW 20 may be stacked on the substrate of the ECU 10. In this case, the conductors need to be printed on the board of the ECU 10 so that each terminal of the relay processing circuit 21 configured as an ASIC is directly connected to each terminal in the ECU 10 regardless of the connector 26. is there.

なお、開示された実施の形態は、全ての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上述の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。   The disclosed embodiments should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 ECU
10 ECU(制御装置)
11 マイコン(プロセッサ、マイクロコンピュータ)
12 電源回路
13a,13b CANトランシーバ(通信部)
14,15,16,17 切替部(検知手段)
20 GW(中継装置)
21 中継処理回路
24 EEPROM(メモリ)
26 コネクタ
1 ECU
10 ECU (control device)
11 Microcomputer (processor, microcomputer)
12 Power supply circuit 13a, 13b CAN transceiver (communication unit)
14, 15, 16, 17 switching unit (detection means)
20 GW (relay device)
21 Relay processing circuit 24 EEPROM (memory)
26 Connector

Claims (5)

異なる通信線に接続される複数の通信部、
信号を入出力して信号処理を実行するプロセッサ、及び、
外部から給電され、前記通信部及びプロセッサを含む各構成部へ電圧を出力する電源回路
を有し、
該プロセッサの処理により、前記通信部にて送受信される信号に基づき制御対象を制御するようにしてある制御装置と、
該制御装置に接続され、
送受信される信号の中継要否の判断処理及び中継先の特定処理を行なう中継処理回路
を有する中継装置と
を備え、
該中継装置は、
前記制御装置の電源回路から出力される電力により動作するようにしてあり、
前記中継処理回路は、前記コネクタを介して前記制御装置が有する前記複数の通信部及び前記プロセッサと接続されるようにしてあること
を特徴とする中継システム。
Multiple communication units connected to different communication lines,
A processor that performs signal processing by inputting and outputting signals; and
A power supply circuit that is powered from the outside and outputs a voltage to each component including the communication unit and the processor;
A control device configured to control a control target based on a signal transmitted and received by the communication unit by processing of the processor;
Connected to the control device,
A relay device having a relay processing circuit that performs a process for determining whether or not to relay a signal to be transmitted and received and a process for specifying a relay destination,
The relay device
It is designed to operate with power output from the power supply circuit of the control device,
The relay system, wherein the relay processing circuit is connected to the plurality of communication units and the processor included in the control device via the connector.
前記制御装置は、
前記中継装置の接続の有無を検知する手段と、
該手段が検知する接続の有無に応じて、前記プロセッサ及び前記複数の通信部と前記中継装置の中継処理回路との接続、又は前記プロセッサと前記複数の通信部のうちの何れか1つとの接続を切り替える手段と
を備えることを特徴とする請求項1に記載の中継システム。
The control device includes:
Means for detecting the presence or absence of connection of the relay device;
Connection between the processor and the plurality of communication units and the relay processing circuit of the relay device, or connection between the processor and any one of the plurality of communication units, depending on the presence or absence of connection detected by the means The relay system according to claim 1, further comprising: means for switching between.
各々異なる通信線が接続される複数の送受信器、信号を入出力して信号処理を実行するマイクロコンピュータ、及び、外部から給電され、前記送受信器及びマイクロコンピュータを含む各構成部へ電力を出力する電源回路を基板上に有し、
前記マイクロコンピュータの処理により、前記送受信器にて送受信される信号に基づき制御対象を制御するようにしてある制御装置と、
該制御装置とのコネクタ、
信号の識別情報が予め記憶されるメモリ、及び
該メモリに記憶される信号の識別情報に基づき、入力された信号の中継要否の判断処理及び中継先の特定処理を行ない、中継要と判断した場合に中継先へ信号を出力する中継処理回路
を前記基板と異なる基板上に有する中継装置と
を備え、
前記制御装置では、
前記電源回路からの給電線が前記コネクタと接続されるようにしてあり、
前記コネクタへ前記マイクロコンピュータからの出力信号を与え、前記コネクタからの入力信号の内のいずれかを前記マイクロコンピュータへ入力するようにしてあり、
前記複数の通信部からの出力信号を前記コネクタへ与え、前記コネクタを介した前記中継処理回路からの複数の出力信号を前記複数の通信部へ夫々与えるようにしてあり、
前記中継装置は、
前記コネクタからの信号を中継処理回路へ入力し、中継処理回路からの出力を前記コネクタへ与えるようにしてあること
を特徴とする中継システム。
A plurality of transmitters / receivers to which different communication lines are connected, a microcomputer for inputting / outputting signals to perform signal processing, and a power supply from the outside, and outputting power to each component including the transmitter / receiver and the microcomputer Having a power circuit on the board,
A control device configured to control a control target based on a signal transmitted and received by the transceiver by the processing of the microcomputer;
A connector with the control device,
Based on the memory in which the signal identification information is stored in advance and the signal identification information stored in the memory, the input signal relay necessity determination process and the relay destination identification process are performed, and it is determined that the relay is necessary. A relay processing circuit that outputs a signal to a relay destination in a case on a board different from the board, and
In the control device,
A power supply line from the power supply circuit is connected to the connector;
An output signal from the microcomputer is given to the connector, and any one of the input signals from the connector is inputted to the microcomputer,
The output signals from the plurality of communication units are provided to the connector, and the plurality of output signals from the relay processing circuit via the connector are respectively provided to the plurality of communication units,
The relay device is
A relay system, wherein a signal from the connector is input to a relay processing circuit, and an output from the relay processing circuit is provided to the connector.
送受信される信号にて示されるデータの中継要否の判断及び中継先の特定処理を行なう中継処理回路を含む中継装置であって、
外部装置から出力される電力を入力する電力端子、及び
外部装置からの入出力信号を入出力する入出力端子の組を複数
を有するコネクタを有し、
前記中継処理回路は、
前記コネクタの電力端子にて入力される電力により動作するようにしてあり、
前記複数の入出力端子の組のいずれかから入力される信号に対し、前記中継要否の判断及び中継先の特定処理を行ない、中継要と判断した場合、特定した中継先に対応する接続端子の組へ信号を出力するようにしてあること
を特徴とする中継装置。
A relay device including a relay processing circuit that performs determination of whether or not to relay data indicated by a transmitted / received signal and processing for specifying a relay destination,
A connector having a plurality of sets of a power terminal for inputting power output from the external device and an input / output terminal for inputting / outputting an input / output signal from the external device;
The relay processing circuit includes:
It is designed to operate with power input at the power terminal of the connector,
A connection terminal corresponding to the specified relay destination when the relay input necessity determination and the relay destination specifying process are performed on a signal input from any of the plurality of input / output terminal sets, and the relay destination is specified. A relay device characterized in that a signal is output to the set of.
異なる通信線に接続される複数の通信部、前記複数の通信部の一方にて送受信される信号を入出力して信号処理を実行するプロセッサ、及び外部から給電され、前記通信部及びプロセッサを含む各構成部へ電力を出力する電源回路を有し、前記プロセッサの処理により制御対象を制御するようにしてある制御装置であって、
前記電源回路からの電力を出力する電力端子と、
前記プロセッサの入出力信号を入出力する入出力端子と、
前記複数の通信部夫々の送受信信号を入出力する接続端子と、
外部装置の接続の有無を検知する手段と、
該手段が検知する接続の有無に応じて、前記入出力端子及び接続端子と外部装置との接続、又は前記プロセッサと前記複数の通信部のうちの何れか1つとの接続を切り替える手段と
を備えることを特徴とする制御装置。
A plurality of communication units connected to different communication lines, a processor for executing signal processing by inputting / outputting signals transmitted / received by one of the plurality of communication units, and an external power supply, including the communication unit and the processor A control device having a power supply circuit that outputs power to each component, and controlling a control target by processing of the processor,
A power terminal for outputting power from the power supply circuit;
An input / output terminal for inputting / outputting an input / output signal of the processor;
A connection terminal for inputting / outputting a transmission / reception signal of each of the plurality of communication units;
Means for detecting whether or not an external device is connected;
Means for switching the connection between the input / output terminal and the connection terminal and an external device, or the connection between the processor and any one of the plurality of communication units, depending on the presence or absence of a connection detected by the means. A control device characterized by that.
JP2009077072A 2009-03-26 2009-03-26 Relay system and control device Expired - Fee Related JP5359449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009077072A JP5359449B2 (en) 2009-03-26 2009-03-26 Relay system and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009077072A JP5359449B2 (en) 2009-03-26 2009-03-26 Relay system and control device

Publications (2)

Publication Number Publication Date
JP2010232867A true JP2010232867A (en) 2010-10-14
JP5359449B2 JP5359449B2 (en) 2013-12-04

Family

ID=43048278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009077072A Expired - Fee Related JP5359449B2 (en) 2009-03-26 2009-03-26 Relay system and control device

Country Status (1)

Country Link
JP (1) JP5359449B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013038479A1 (en) 2011-09-12 2013-03-21 トヨタ自動車株式会社 Vehicle-mounted gateway apparatus and vehicle communication system
JP2015063164A (en) * 2013-09-24 2015-04-09 株式会社ユピテル Apparatus and program
WO2020121386A1 (en) * 2018-12-11 2020-06-18 株式会社オートネットワーク技術研究所 Relay device, in-vehicle device, and communication relay method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003175781A (en) * 2001-12-13 2003-06-24 Sumitomo Electric Ind Ltd Electric connection box for vehicle and car-mounted gateway
JP2006165884A (en) * 2004-12-06 2006-06-22 Denso Corp Data relay device, multiple communication system, and electronic control unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003175781A (en) * 2001-12-13 2003-06-24 Sumitomo Electric Ind Ltd Electric connection box for vehicle and car-mounted gateway
JP2006165884A (en) * 2004-12-06 2006-06-22 Denso Corp Data relay device, multiple communication system, and electronic control unit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013038479A1 (en) 2011-09-12 2013-03-21 トヨタ自動車株式会社 Vehicle-mounted gateway apparatus and vehicle communication system
US9319397B2 (en) 2011-09-12 2016-04-19 Toyota Jidosha Kabushiki Kaisha On-vehicle gateway apparatus and communication system for vehicle
EP3166256A1 (en) 2011-09-12 2017-05-10 Toyota Jidosha Kabushiki Kaisha On-vehicle gateway apparatus and communication system for vehicle
JP2015063164A (en) * 2013-09-24 2015-04-09 株式会社ユピテル Apparatus and program
WO2020121386A1 (en) * 2018-12-11 2020-06-18 株式会社オートネットワーク技術研究所 Relay device, in-vehicle device, and communication relay method
WO2020122142A1 (en) * 2018-12-11 2020-06-18 株式会社オートネットワーク技術研究所 Relay device, in-vehicle device and communication relay method

Also Published As

Publication number Publication date
JP5359449B2 (en) 2013-12-04

Similar Documents

Publication Publication Date Title
JP5776779B2 (en) In-vehicle gateway device and vehicle communication system
US10780783B2 (en) Onboard vehicle communication system
US8935454B2 (en) Connectors transmitting/receiving an input/output signal as a communication signal, communication harness with the connectors, and the communication system with the connectors
US9256260B2 (en) Processing system, processing device and power supply control method
JP5387693B2 (en) Communications system
JP5022740B2 (en) Relay connector unit, wire harness assembly, and electronic device control system
US20190173240A1 (en) In-vehicle control system and wire harness
JP2013015987A (en) Wire harness structure and electronic control unit
US11752959B2 (en) On-board power supply system and on-board control apparatus
JP5648606B2 (en) In-vehicle electronic control unit
CN112208467B (en) Vehicle-mounted network system
JP5359449B2 (en) Relay system and control device
JP2004142500A (en) Connector device
US7352282B2 (en) Communication system
WO2021100548A1 (en) Onboard relay device and relay method
JP5700776B2 (en) Wire harness
JP2010105632A (en) Communication apparatus consolidated device
JP5192353B2 (en) Communication circuit, communication device, communication system, and communication device aggregation device
JP2023157967A (en) On-vehicle system
JP2009292330A (en) Onboard system and its control method
JP5463836B2 (en) Processing system
WO2013081096A1 (en) On-board control system
JP6905499B2 (en) Communications system
US8880753B2 (en) Vehicle electronic controller for automatically switching between a port being suspended based on a mode of an internal oscillation circuit
JP2005335622A (en) In-vehicle device and communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130409

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130604

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130819

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees