JP2010028793A - Communication system and communication device - Google Patents

Communication system and communication device Download PDF

Info

Publication number
JP2010028793A
JP2010028793A JP2009087159A JP2009087159A JP2010028793A JP 2010028793 A JP2010028793 A JP 2010028793A JP 2009087159 A JP2009087159 A JP 2009087159A JP 2009087159 A JP2009087159 A JP 2009087159A JP 2010028793 A JP2010028793 A JP 2010028793A
Authority
JP
Japan
Prior art keywords
communication
control device
instruction
power supply
pull
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009087159A
Other languages
Japanese (ja)
Inventor
Katsuya Ikuta
勝也 生田
Takahito Jo
崇人 城
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 JP2009087159A priority Critical patent/JP2010028793A/en
Publication of JP2010028793A publication Critical patent/JP2010028793A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication system that facilitates dynamic addition of a communication device in a network arrangement in which a master device transmits a communication indication and a slave device transmits a response according to the communication indication without damaging the arrangement, and to provide a communication device therefor. <P>SOLUTION: A power control device 30 monitors communication of an engine control device 20 and a sensor unit 40. The power control device 30 communicates with the sensor unit 40 acting as a slave node when communication is performed, and as a master node when communication is not performed and the control device 30 acts as a master node when communication is not performed. When a trigger signal changes from off to on, transmission of a communication indication from the engine control device 20 to the sensor unit 40 may be queued for a predetermined period of time. Otherwise after it is determined that communication is not performed between the engine control device 20 and the sensor unit 40, the power control device 30 may perform communication with the sensor unit 40 only until the predetermined time passes. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、主装置と一又は複数の従装置とが共通の通信線を介して接続される通信システム、及びこの通信システムに接続される通信装置に関する。   The present invention relates to a communication system in which a main apparatus and one or a plurality of slave apparatuses are connected via a common communication line, and a communication apparatus connected to the communication system.

近年、車輌には多数の電子的な装置が搭載されており、多数の装置が相互に情報の送受信を行うことによって、高度な車輌の制御処理を行っている。例えば、特許文献1においては、自宅駐車場に駐車している車輌に搭載されたセンサ、GPS(Global Positioning System)受信機及びカメラ等からの信号を宅側通信制御装置にて受信し、受信した情報に基づいて車輌及びその周囲の状況を判定することにより、車輌を有効活用して低コストに防犯性を高めることができる車輌利用型セキュリティシステムが提案されている。   In recent years, a lot of electronic devices are mounted on a vehicle, and a lot of devices exchange information with each other to perform advanced vehicle control processing. For example, in Patent Document 1, a signal from a sensor mounted on a vehicle parked in a home parking lot, a GPS (Global Positioning System) receiver, a camera, or the like is received and received by the home side communication control device. There has been proposed a vehicle-use security system that can effectively use a vehicle and improve crime prevention performance at low cost by determining the situation of the vehicle and its surroundings based on information.

車輌に搭載された多数の装置は、通信線(バス)により相互に接続されて、CAN(Controller Area Network)又はLIN(Local Interconnect Network)等のプロトコルを用いたネットワークを構成し、通信を行っている。また車輌においては、基幹のネットワークをCANにより構成し、支線のネットワークをLINにより構成するなど、複数のプロトコルを用いてネットワークを構成する場合も多く、これにより各装置の規模及び必要な通信速度等に適したネットワークを構成することができる。   A large number of devices mounted on a vehicle are connected to each other via a communication line (bus) to form a network using a protocol such as CAN (Controller Area Network) or LIN (Local Interconnect Network) and perform communication. Yes. Also, in vehicles, the network is often configured using a plurality of protocols, such as the backbone network is configured by CAN and the branch line network is configured by LIN, so that the scale of each device, the required communication speed, etc. A network suitable for the above can be configured.

CANのプロトコルは、所謂マルチマスタ方式の通信を行うものであり、バスが空いていれば各装置がデータ送信を行うことができる。ただし、データ送信の衝突を回避するためにアービトレーションを行う必要がある。データの送受信及びアービトレーション等の処理はネットワークに接続された各装置がそれぞれ行う構成であるため、CANのプロトコルではネットワークに対する新たな装置の追加及び削除等を動的に行うことができるという利点がある。   The CAN protocol performs so-called multi-master communication, and each device can perform data transmission if the bus is free. However, arbitration is required to avoid data transmission collisions. Since processing such as data transmission / reception and arbitration is performed by each device connected to the network, the CAN protocol has an advantage that new devices can be dynamically added to and deleted from the network. .

特開2007−72686号公報JP 2007-72686 A

これに対してLINのプロトコルは、所謂シングルマスタ方式の通信を行うものであり、ネットワーク中の1つの装置が主装置(マスターノード)となってその他の従装置(スレーブノード)の通信スケジュールを管理する。LINによるネットワークは、CANによるものと比較して低コストで実現可能であり、通信線の数が少ないという利点があるが、ネットワークに対する新たな装置の追加及び削除等を動的に行うことができないという問題がある。また、マスターノードから通信指示が与えられた場合のみスレーブノードがデータ送信を行うプロトコルであるため、スレーブノードから通信を開始することはできないという問題もある。   On the other hand, the LIN protocol performs so-called single master communication, and one device in the network becomes the master device (master node) and manages the communication schedule of the other slave devices (slave nodes). To do. A network based on LIN can be realized at a lower cost than a network based on CAN, and has an advantage that the number of communication lines is small. However, it is not possible to dynamically add or delete new devices from the network. There is a problem. In addition, since the slave node is a protocol that transmits data only when a communication instruction is given from the master node, there is also a problem that communication cannot be started from the slave node.

本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、LINのプロトコルのようにマスターノードが通信指示を送信し、その他のスレーブノードが通信指示に対して応答を送信するネットワーク構成に対して、この構成を破綻させることなく、スレーブノードへの通信指示を送信する通信装置を動的に追加して接続することができる通信システム、及びこの通信装置を提供することにある。   The present invention has been made in view of such circumstances. The purpose of the present invention is to transmit a communication instruction from a master node as in the LIN protocol, and to respond to communication instructions from other slave nodes. A communication system capable of dynamically adding and connecting a communication device that transmits a communication instruction to a slave node without breaking this configuration, and the communication device are provided. There is.

本発明に係る通信システムは、通信指示を送信する主装置と、該主装置に共通の通信線を介して接続され、通信指示を受信して応答を送信する一又は複数の従装置とを備え、前記主装置の通信指示及び前記従装置の応答により前記主装置及び従装置の間の通信を行う通信システムにおいて、前記通信線に接続され、前記主装置及び従装置の間の通信が行われているか否かを判定する判定手段と、該判定手段が前記主装置及び従装置の間の通信が行われていないと判定した場合に、前記従装置へ通信指示を送信する通信指示手段と、該通信指示手段が送信した通信指示に応じて前記従装置から送信される応答を受信する受信手段とを有する通信装置を備えることを特徴とする。   A communication system according to the present invention includes a master device that transmits a communication instruction, and one or more slave devices that are connected to the master device via a common communication line and that receive the communication instruction and transmit a response. In a communication system that performs communication between the master device and the slave device according to a communication instruction of the master device and a response of the slave device, the communication is performed between the master device and the slave device connected to the communication line. Determining means for determining whether or not the communication apparatus is configured to transmit a communication instruction to the slave apparatus when the determination means determines that communication between the master apparatus and the slave apparatus is not performed; The communication apparatus includes a receiving unit that receives a response transmitted from the slave device in response to the communication instruction transmitted by the communication instruction unit.

また、本発明に係る通信システムは、前記通信装置が、前記主装置からの通信指示に応じて応答を送信する応答手段を更に有することを特徴とする。   In the communication system according to the present invention, the communication device further includes response means for transmitting a response in response to a communication instruction from the main device.

また、本発明に係る通信システムは、前記主装置が、前記従装置との通信に係る動作の開始を指示するトリガ信号が他の装置から与えられており、該他の装置から動作開始のトリガ信号が与えられた場合、前記従装置への通信指示の送信を所定時間待機するようにしてあることを特徴とする。   In the communication system according to the present invention, a trigger signal instructing the start of an operation related to communication between the master device and the slave device is given from another device, and the trigger for starting the operation is sent from the other device. When a signal is given, transmission of a communication instruction to the slave device is waited for a predetermined time.

また、本発明に係る通信システムは、前記通信装置の前記通信指示手段が、前記判定手段が前記主装置及び従装置の間の通信が行われていないと判定した後から、所定時間が経過するまでの間に、前記従装置へ通信指示を送信するようにしてあることを特徴とする。   In the communication system according to the present invention, a predetermined time elapses after the communication instruction unit of the communication device determines that the determination unit does not perform communication between the master device and the slave device. In the meantime, a communication instruction is transmitted to the slave device.

また、本発明に係る通信システムは、前記主装置が、他の装置から動作開始のトリガ信号が与えられた場合、前記通信装置及び従装置の間の通信が行われているか否かを判定する判定手段を有し、該判定手段が前記通信装置及び従装置の間の通信が行われていないと判定した場合に、前記従装置へ通信指示を送信するようにしてあることを特徴とする。   In the communication system according to the present invention, the main device determines whether or not communication is performed between the communication device and the slave device when an operation start trigger signal is given from another device. And determining means for transmitting a communication instruction to the slave device when it is determined that communication between the communication device and the slave device is not being performed.

また、本発明に係る通信システムは、前記主装置が、前記通信装置及び従装置の間の通信が行われているか否かを判定する判定手段を有し、他の装置から動作開始のトリガ信号が与えられ、且つ、前記判定手段が前記通信装置及び従装置の間の通信が行われていると判定してから所定時間が経過した後に、前記従装置へ通信指示を送信するようにしてあることを特徴とする。   In addition, the communication system according to the present invention includes a determination unit that determines whether or not the main device is performing communication between the communication device and the slave device, and an operation start trigger signal from another device. And a communication instruction is transmitted to the slave device after a predetermined time has elapsed after the determination means determines that communication is being performed between the communication device and the slave device. It is characterized by that.

また、本発明に係る通信システムは、前記通信装置が、前記通信線をプルアップするためのプルアップ抵抗と、前記通信指示手段による通信指示の送信及び前記受信手段による応答の受信を行う場合に、前記プルアップ抵抗によるプルアップを行わせるプルアップ制御手段とを有することを特徴とする。   In the communication system according to the present invention, when the communication device performs pull-up resistance for pulling up the communication line, transmission of a communication instruction by the communication instruction unit, and reception of a response by the reception unit. And pull-up control means for performing pull-up by the pull-up resistor.

また、本発明に係る通信システムは、前記通信装置が、前記通信指示手段による通信指示の送信及び前記受信手段による応答の受信を行う場合に、前記通信線の容量を増加させる制御を行う容量制御手段を有することを特徴とする。   The communication system according to the present invention is a capacity control that performs control to increase the capacity of the communication line when the communication apparatus transmits a communication instruction by the communication instruction means and receives a response by the reception means. It has the means.

また、本発明に係る通信システムは、前記主装置が、状態遷移を規定する制御信号が他の装置から与えられており、該制御信号に応じて、前記従装置との通信を行うことができる稼働状態又は通信を行うことができない待機状態に遷移するようにしてあり、前記通信装置は、前記判定手段が、前記制御信号に応じて前記主装置が待機状態であるか否かを判定し、前記通信指示手段及び前記受信手段が、前記主装置が待機状態であると前記判定手段が判定した場合に、通信指示の送信及び応答の受信を行うようにしてあることを特徴とする。   Further, in the communication system according to the present invention, the master device is provided with a control signal defining state transition from another device, and can communicate with the slave device according to the control signal. The communication device transitions to an operating state or a standby state where communication is not possible, and the determination unit determines whether or not the main device is in a standby state according to the control signal, The communication instruction means and the reception means transmit a communication instruction and receive a response when the determination means determines that the main device is in a standby state.

また、本発明に係る通信システムは、前記通信装置が、前記通信線をプルアップするためのプルアップ抵抗と、前記主装置が待機状態であると前記判定手段が判定した場合に、前記プルアップ抵抗によるプルアップを行わせるプルアップ制御手段とを有することを特徴とする。   Further, the communication system according to the present invention is configured such that the communication device has a pull-up resistor for pulling up the communication line and the pull-up when the determination unit determines that the main device is in a standby state. And pull-up control means for performing pull-up by a resistor.

また、本発明に係る通信システムは、前記通信装置のプルアップ制御手段が、前記プルアップ抵抗に直列接続されたスイッチング素子を有し、前記制御信号に応じて前記スイッチング素子のオン/オフを切り替えるようにしてあることを特徴とする。   In the communication system according to the present invention, the pull-up control means of the communication device includes a switching element connected in series to the pull-up resistor, and switches on / off the switching element according to the control signal. It is characterized by the above.

また、本発明に係る通信システムは、前記通信装置のプルアップ制御手段は、前記制御信号の電圧を分圧する分圧回路と、該分圧回路の出力電圧に応じて、前記スイッチング素子のオン/オフを切り替える切替制御回路とを有することを特徴とする。   Further, in the communication system according to the present invention, the pull-up control means of the communication device includes a voltage dividing circuit that divides the voltage of the control signal, and on / off of the switching element according to the output voltage of the voltage dividing circuit. And a switching control circuit for switching off.

また、本発明に係る通信システムは、前記通信装置のプルアップ制御手段が、前記主装置が稼働状態から待機状態へ遷移した後に、前記プルアップ抵抗によるプルアップを行い、前記主装置が待機状態から稼働状態へ遷移する前に、前記プルアップ抵抗によるプルアップを停止するようにしてあることを特徴とする。   Further, in the communication system according to the present invention, the pull-up control means of the communication device performs pull-up by the pull-up resistor after the main device transitions from the operating state to the standby state, and the main device is in the standby state. Before the transition to the operating state, the pull-up by the pull-up resistor is stopped.

また、本発明に係る通信システムは、前記通信装置が、前記主装置が待機状態であると前記判定手段が判定した場合に、前記通信線の容量を増加させる制御を行う容量制御手段を有することを特徴とする。   In addition, the communication system according to the present invention includes a capacity control unit that performs control to increase the capacity of the communication line when the determination unit determines that the main device is in a standby state. It is characterized by.

また、本発明に係る通信システムは、前記通信装置の容量制御手段が、前記通信線及び固定電位間に接続されたコンデンサと、該コンデンサに直列接続されたスイッチング素子とを有し、前記制御信号に応じて前記スイッチング素子のオン/オフを切り替えるようにしてあることを特徴とする。   Further, in the communication system according to the present invention, the capacity control means of the communication device includes a capacitor connected between the communication line and a fixed potential, and a switching element connected in series to the capacitor, and the control signal The switching element is switched on / off according to the above.

また、本発明に係る通信装置は、通信指示を送信する一の装置、及び通信指示を受信して応答を送信する他の装置に共通の通信線を介して接続され、前記通信指示及び応答の送受信が行われているか否かを判定する判定手段と、前記通信指示及び応答の送受信が行われていないと前記判定手段が判定した場合に、通信指示を送信する通信指示手段と、該通信指示手段が送信した通信指示に応じて送信される応答を受信する受信手段とを備えることを特徴とする。   The communication apparatus according to the present invention is connected to one apparatus that transmits a communication instruction and another apparatus that receives the communication instruction and transmits a response via a common communication line. A determination means for determining whether transmission / reception is performed, a communication instruction means for transmitting a communication instruction when the determination means determines that transmission / reception of the communication instruction and response is not performed, and the communication instruction Receiving means for receiving a response sent in response to the communication instruction sent by the means.

本発明においては、主装置(一の装置)と一又は複数の従装置(他の装置)とを、共通の通信線を介して接続し、主装置から送信された通信指示を従装置が受信して応答を送信することで通信を行うシングルマスタ方式の通信システムを基本構成とする。ただし、上記の主装置及び従装置とは別に、通信装置を通信線に接続する。この通信装置は、主装置及び従装置の間の通信を監視し、通信が行われていない場合に、主装置と同様の通信指示を従装置へ送信する。従装置は通信装置からの通信指示を受信して応答を送信するため、通信装置はこれを受信することができる。
主装置が従装置と通信を行っていない間に、通信装置が従装置と通信を行うため、基本となる主装置及び従装置のシングルマスタ方式の通信を阻害することなく、通信装置及び従装置の通信を行うことができる。よって、主装置及び従装置で構成された通信システムに、この通信装置を動的に追加及び削除等を行うことができる。
In the present invention, a master device (one device) and one or more slave devices (other devices) are connected via a common communication line, and the slave device receives a communication instruction transmitted from the master device. Thus, the basic configuration is a single master communication system that performs communication by transmitting a response. However, a communication device is connected to a communication line separately from the main device and the slave device. The communication device monitors communication between the master device and the slave device, and transmits a communication instruction similar to that of the master device to the slave device when communication is not being performed. Since the slave device receives a communication instruction from the communication device and transmits a response, the communication device can receive the response.
Since the communication device communicates with the slave device while the master device is not communicating with the slave device, the communication device and the slave device are not obstructed without interfering with the single master system communication between the master device and the slave device. Can communicate. Therefore, this communication device can be dynamically added to and deleted from the communication system configured by the main device and the slave device.

また本発明においては、主装置から通信装置へ通信指示が与えられた場合には、通信装置は主装置へ応答を送信する。即ち、通信装置は、主装置及び従装置の両機能を兼ね備え、通常は従装置として動作させることができ、主装置が通信を行わない場合には主装置として動作させることができる。   In the present invention, when a communication instruction is given from the main apparatus to the communication apparatus, the communication apparatus transmits a response to the main apparatus. That is, the communication device has both functions of the master device and the slave device, and can normally be operated as a slave device, and can be operated as the master device when the master device does not perform communication.

主装置が従装置との通信を開始する際、通信装置及び従装置の通信が行われている可能性があり、主装置による通信と通信装置による通信とが衝突する虞がある。
そこで本発明においては、例えば主装置がCANなどのネットワークを介して他の装置に接続されるなどの構成であり、他の装置から動作開始のトリガ信号が与えられる場合、トリガ信号による動作開始の指示が与えられた後、主装置は通信指示の送信を待機し、所定時間を経過した後に通信指示の送信を行う。待機する所定時間としては、通信装置が通信指示を送信してから従装置の応答を受信するまでに要する最長時間より長い時間を設定することが好ましい。
これにより、通信装置及び従装置が通信を行っているときに主装置にトリガ信号が与えられた場合であっても、通信装置及び従装置の通信が終了した後に主装置及び従装置の通信が行われるため、通信システムにおいて主装置及び従装置の通信と、通信装置及び従装置の通信とが衝突する可能性を低減することができる。
When the main device starts communication with the slave device, there is a possibility that communication between the communication device and the slave device is being performed, and there is a possibility that communication by the master device and communication by the communication device may collide.
Therefore, in the present invention, for example, the main apparatus is configured to be connected to another apparatus via a network such as CAN, and when an operation start trigger signal is given from another apparatus, the operation start by the trigger signal is performed. After the instruction is given, the main apparatus waits for transmission of the communication instruction, and transmits the communication instruction after a predetermined time has elapsed. As the predetermined time for waiting, it is preferable to set a time longer than the longest time required for the communication device to transmit a communication instruction and receive a response from the slave device.
As a result, even if a trigger signal is given to the master device when the communication device and slave device are communicating, communication between the master device and slave device is completed after the communication of the communication device and slave device is completed. Therefore, the possibility that the communication between the main device and the slave device and the communication between the communication device and the slave device collide in the communication system can be reduced.

また衝突を回避する別の方法として、本発明においては、主装置及び従装置の間の通信が行われていないと判定した後、所定時間が経過するまでの間のみ、通信装置が従装置へ通信指示を送信し、通信装置及び従装置の通信を行う。通信を行う所定時間としては、主装置及び従装置の通信が終了してから再開するまでの最短時間より短い時間を設定することが好ましい。これにより、主装置が従装置との通信を再開する場合には、通信装置及び従装置の通信が既に終了しているため、両通信が衝突することを回避できる。   As another method of avoiding the collision, in the present invention, the communication device is transferred to the slave device only after a predetermined time elapses after it is determined that communication between the master device and the slave device is not performed. A communication instruction is transmitted, and communication between the communication device and the slave device is performed. As the predetermined time for performing communication, it is preferable to set a time shorter than the shortest time from the end of communication between the master device and the slave device to restart. As a result, when the main device resumes communication with the slave device, the communication between the communication device and the slave device has already been completed, so that it is possible to avoid collision between the two devices.

また衝突を回避する別の方法として、本発明においては、トリガ信号により主装置が従装置との通信を開始する際、通信装置及び従装置の通信が行われているか否かを主装置が判定し、通信が行われていない場合に主装置は従装置へ通信指示を送信して通信を開始する。通信装置及び従装置の通信が行われている場合には、この通信が終了するまで主装置の通信を待機させる。
これにより、通信システムにおいて主装置及び従装置の通信と、通信装置及び従装置の通信とが衝突することを回避できる。
As another method for avoiding the collision, in the present invention, when the master device starts communication with the slave device by the trigger signal, the master device determines whether the communication device and the slave device are communicating. When the communication is not being performed, the main device transmits a communication instruction to the slave device and starts communication. When communication is performed between the communication device and the slave device, the communication of the main device is put on standby until the communication is completed.
Thereby, it is possible to avoid a collision between the communication of the main device and the slave device and the communication of the communication device and the slave device in the communication system.

また、主装置及び従装置の間の通信と、通信装置及び従装置の間の通信とが交互に行われるなど、主装置による通信が停止された後に通信装置による通信が少なくとも1回は行われる通信システムにおいては、他の装置からの動作開始のトリガ信号が与えられ、且つ、通信装置及び従装置の間の通信が行われていると判定してから所定時間の経過後に、主装置が従装置へ通信指示を送信し、主装置及び従装置の間の通信を開始する。判定から通信開始までの所定時間としては、例えば、通信装置及び従装置の間で行われる通信の最大時間より大きい時間とすることができる。
これにより、通信装置及び従装置の間の通信を確実に行うことができる。また、主装置による通信が停止された後に通信装置による通信が1回のみ行われる通信システムであれば、通信システムにおいて主装置及び従装置の通信と、通信装置及び従装置の通信とが衝突することを回避できる。
In addition, communication between the main device and the slave device and communication between the communication device and the slave device are alternately performed. For example, communication by the communication device is performed at least once after the communication by the main device is stopped. In a communication system, a trigger signal for starting operation is given from another device, and after a predetermined time elapses after it is determined that communication between the communication device and the slave device is being performed, the master device is slaved. A communication instruction is transmitted to the device, and communication between the master device and the slave device is started. The predetermined time from the determination to the start of communication can be, for example, a time longer than the maximum time of communication performed between the communication device and the slave device.
Thereby, communication between a communication apparatus and a slave apparatus can be performed reliably. In addition, in the communication system in which communication by the communication device is performed only once after communication by the main device is stopped, communication between the main device and the slave device and communication between the communication device and the slave device collide in the communication system. You can avoid that.

LINの通信線は単一ワイヤーのバスであり、終端抵抗を経由して車輌のバッテリのプラス側端子に接続される。LINの規格では、データの送受信はシリアル通信で行い、伝送路の長さが最長40mであり、信号波形の立ち上がりの傾きは標準で2V/μsであると定められている。また、マスターノード(主装置)として通信を行う装置は、通信線の終端に標準1kΩのプルアップ抵抗を接続する必要があり、スレーブノード(従装置)として通信を行う装置は、通信線の終端に標準30kΩのプルアップ抵抗を接続する必要がある。
上述のように、本発明に係る通信システムの通信装置は、通常は従装置として動作し、主装置による通信が行われていない場合に主装置として動作する構成であるが、LINの規格に従うためには主装置として動作する場合と、従装置として動作する場合とでプルアップ抵抗の抵抗値を変更する必要がある。
そこで本発明においては、通信装置に主装置として必要なプルアップ抵抗を備えておき、主装置として通信を行う場合にこのプルアップ抵抗によるプルアップを行うよう制御する。これにより、主装置による通信が行われておらず、通信装置が主装置として従装置との通信を行う際に、適切なプルアップ抵抗によるプルアップを行うことができるため、LINの規格に従って通信装置が主装置又は従装置として動作することができる。
The LIN communication line is a single-wire bus and is connected to the positive terminal of the vehicle battery via a terminating resistor. According to the LIN standard, data transmission / reception is performed by serial communication, the maximum length of the transmission path is 40 m, and the slope of the rising edge of the signal waveform is defined as 2 V / μs as a standard. In addition, a device that performs communication as a master node (master device) needs to connect a standard 1 kΩ pull-up resistor to the end of the communication line, and a device that performs communication as a slave node (slave device) has a communication line termination. It is necessary to connect a standard 30 kΩ pull-up resistor to the terminal.
As described above, the communication device of the communication system according to the present invention normally operates as a slave device and operates as a master device when communication by the master device is not performed. However, in order to comply with the LIN standard, Therefore, it is necessary to change the resistance value of the pull-up resistor between the case of operating as a main device and the case of operating as a slave device.
Therefore, in the present invention, the communication device is provided with a pull-up resistor necessary as the main device, and when performing communication as the main device, control is performed so as to perform pull-up by this pull-up resistor. As a result, communication by the main device is not performed, and when the communication device performs communication with the slave device as the main device, it is possible to perform pull-up by an appropriate pull-up resistor. The device can operate as a master device or a slave device.

更に、LINの規格では、従装置として通信を行う装置における通信線の終端の容量は標準220pFであり、主装置として通信を行う装置における容量は従装置の約10倍であることが推奨されている。
そこで本発明においては、通信装置が主装置として通信を行う場合に通信線の容量を増加させる制御を行う。これにより、主装置による通信が行われておらず、通信装置が主装置として従装置との通信を行う際に、適切な容量を通信線に対して設けることができるため、LINの規格に従って通信装置が主装置又は従装置として動作することができる。また、通信線の容量を増すことによって、伝送される信号の波形を鈍らせることができ、ノイズを低減することができる。
Furthermore, in the LIN standard, it is recommended that the capacity of the end of the communication line in a device that performs communication as a slave device is 220 pF as standard, and the capacity in a device that performs communication as a master device is approximately 10 times that of the slave device. Yes.
Therefore, in the present invention, when the communication apparatus performs communication as the main apparatus, control is performed to increase the capacity of the communication line. As a result, communication by the main apparatus is not performed, and when the communication apparatus communicates with the slave apparatus as the main apparatus, an appropriate capacity can be provided for the communication line. The device can operate as a master device or a slave device. Further, by increasing the capacity of the communication line, the waveform of the transmitted signal can be blunted, and noise can be reduced.

主装置に対して他の装置からの制御信号が与えられ、この制御信号に応じて主装置が、従装置との通信を行うことができる稼働状態、又は通信を行うことができない待機状態のいずれかに遷移する構成の場合に、通信装置は主装置へ与えられる制御信号の状態に応じて主装置の状態を判定することができる。例えば、制御信号として車輌のイグニッションスイッチの状態に係る信号(イグニッション信号)を主装置へ与え、イグニッションオン(イグニッション信号=ハイレベル)の場合に主装置が動作し、イグニッションオフ(イグニッション信号=ローレベル)の場合に主装置がスリープモードなどへ移行して動作を停止する構成の場合に適用できる。
よって通信装置は、制御信号により主装置が待機状態であると判定した場合に、従装置との通信を行う。これにより、主装置及び従装置の通信と、通信装置及び従装置の通信とが衝突することを回避できる。
A control signal from another device is given to the master device, and in accordance with this control signal, either the operating state in which the master device can communicate with the slave device or the standby state in which communication cannot be performed. In the case of the configuration where the transition is made, the communication device can determine the state of the main device according to the state of the control signal given to the main device. For example, a signal related to the state of the ignition switch of the vehicle (ignition signal) is given to the main device as a control signal, and the main device operates when the ignition is on (ignition signal = high level), and the ignition off (ignition signal = low level). In the case of a configuration in which the main device shifts to a sleep mode or the like and stops its operation.
Therefore, the communication device communicates with the slave device when it is determined by the control signal that the master device is in the standby state. Thereby, it is possible to avoid collision between communication between the main device and the slave device and communication between the communication device and the slave device.

LINの規格に従って通信装置が動作するためには、主装置として動作する場合と、従装置として動作する場合とでプルアップ抵抗の抵抗値を変更する必要がある。
そこで本発明においては、通信装置に主装置として必要なプルアップ抵抗を備えておき、主装置が待機状態であり、通信装置が主装置として通信を行う場合にこのプルアップ抵抗によるプルアップを行うよう制御する。これにより、適切なプルアップ抵抗によるプルアップを行うことができるため、LINの規格に従って通信装置が主装置又は従装置として動作することができる。
In order for the communication device to operate in accordance with the LIN standard, it is necessary to change the resistance value of the pull-up resistor between when operating as a main device and when operating as a slave device.
Therefore, in the present invention, a pull-up resistor necessary as a main device is provided in the communication device, and when the main device is in a standby state and the communication device performs communication as the main device, the pull-up by this pull-up resistor is performed. Control as follows. As a result, pull-up by an appropriate pull-up resistor can be performed, so that the communication device can operate as a master device or a slave device in accordance with the LIN standard.

また本発明においては、主装置として通信を行う際に通信線をプルアップするために通信装置に備えられたプルアップ抵抗に、スイッチング素子を直列接続し、主装置へ与えられる制御信号の状態に応じてスイッチング素子のオン/オフを切り替える。これにより、プルアップ抵抗による通信線のプルアップを行うか否かを、制御信号の状態に応じて行うことができる。   In the present invention, a switching element is connected in series to a pull-up resistor provided in the communication device to pull up the communication line when performing communication as the main device, and the control signal is supplied to the main device. Accordingly, the switching element is switched on / off. Thereby, whether or not to pull up the communication line by the pull-up resistor can be performed according to the state of the control signal.

また本発明においては、制御信号の電圧を分圧する分圧回路を通信装置が備え、この分圧回路の出力電圧に応じて切替制御回路がスイッチング素子のオン/オフを切り替える構成とする。分圧回路は、例えば2つの抵抗を直列接続することで構成できるが、この抵抗の抵抗値を調整することによって、分圧回路の分圧比を調整することができる。分圧比を調整することによって、切替制御回路によるスイッチング素子のオン/オフの切替タイミングを調整することができる。
よって、主装置が稼働状態から待機状態へ状態遷移する前にプルアップを行うことがないよう切替タイミングを適切に調整することが、抵抗値の調整により容易にできる。
In the present invention, the communication device includes a voltage dividing circuit that divides the voltage of the control signal, and the switching control circuit switches on / off of the switching element in accordance with the output voltage of the voltage dividing circuit. The voltage dividing circuit can be configured by, for example, connecting two resistors in series, and the voltage dividing ratio of the voltage dividing circuit can be adjusted by adjusting the resistance value of the resistors. By adjusting the voltage dividing ratio, it is possible to adjust the on / off switching timing of the switching element by the switching control circuit.
Therefore, it is possible to easily adjust the switching timing so that the pull-up is not performed before the main apparatus changes from the operating state to the standby state by adjusting the resistance value.

また本発明においては、制御信号に応じて通信装置が主装置の状態を判定し、主装置が稼働状態から待機状態へ遷移した後に、プルアップ抵抗によるプルアップを行う。また主装置が待機状態へ遷移する前に、プルアップ抵抗によるプルアップを停止する。これにより、主装置及び通信装置が同じ抵抗値でのプルアップを共に行うことを確実に回避できる。
例えば、上記の分圧回路の分圧比を調整することによって、通信装置によるプルアップのタイミングを調整することができ、主装置の状態遷移のタイミングに適したタイミングで通信装置がプルアップを行うように調整することができる。
In the present invention, the communication device determines the state of the main device according to the control signal, and after the main device transitions from the operating state to the standby state, pull-up is performed using the pull-up resistor. Also, the pull-up by the pull-up resistor is stopped before the main device shifts to the standby state. Thereby, it can be avoided reliably that the main device and the communication device perform both pull-ups with the same resistance value.
For example, the pull-up timing by the communication device can be adjusted by adjusting the voltage dividing ratio of the voltage dividing circuit, so that the communication device performs the pull-up at a timing suitable for the state transition timing of the main device. Can be adjusted.

LINの規格に従って通信装置が動作するためには、主装置として動作する場合と、従装置として動作する場合とで通信装置の容量を変更することが望ましい。
そこで本発明においては、通信装置が主装置として通信を行う場合に通信線の容量を増加させる制御を行う。これにより、適切な容量を通信線に対して設けることができるため、LINの規格に従って通信装置が主装置又は従装置として動作することができる。
In order for the communication device to operate in accordance with the LIN standard, it is desirable to change the capacity of the communication device depending on whether it operates as a main device or a slave device.
Therefore, in the present invention, when the communication apparatus performs communication as the main apparatus, control is performed to increase the capacity of the communication line. Accordingly, since an appropriate capacity can be provided for the communication line, the communication device can operate as a main device or a slave device in accordance with the LIN standard.

また本発明においては、主装置として通信を行う際に通信線の容量を増加させるために、通信線及び固定電位の間にコンデンサを配し、このコンデンサと直列にスイッチング素子を配し、主装置へ与えられる制御信号の状態に応じてスイッチング素子のオン/オフを切り替える。これにより通信装置は、通信線に対する容量の増減を、制御信号の状態に応じて行うことができる。   Further, in the present invention, in order to increase the capacity of the communication line when performing communication as the main device, a capacitor is disposed between the communication line and the fixed potential, and a switching element is disposed in series with the capacitor. The switching element is switched on / off in accordance with the state of the control signal applied to. Thereby, the communication apparatus can increase / decrease the capacity | capacitance with respect to a communication line according to the state of a control signal.

本発明による場合は、主装置及び従装置の通信が行われていない場合に従装置へ通信指示を送信して従装置からの応答を受信する通信装置を備える構成とすることにより、主装置及び従装置で構成されたシステムに対して、この構成を破綻させることなく、通信装置を動的に追加して接続することができる。また、主装置のみでなく通信装置から通信を開始することができる。よって、本発明に係る通信システム及び通信装置を用いることで、車輌などにおける通信線の配策の自由度及び通信システムの設計の自由度等を高めることができる。   In the case of the present invention, the main device and the slave device are configured to include a communication device that transmits a communication instruction to the slave device and receives a response from the slave device when communication between the master device and the slave device is not performed. A communication device can be dynamically added and connected to a system configured with slave devices without breaking this configuration. Further, communication can be started not only from the main apparatus but also from the communication apparatus. Therefore, by using the communication system and the communication device according to the present invention, it is possible to increase the degree of freedom of communication line routing and the degree of freedom of communication system design in a vehicle or the like.

本発明の実施の形態1に係る通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る通信システムの通信処理を説明するための模式図である。It is a schematic diagram for demonstrating the communication processing of the communication system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る通信システムのエンジン制御装置及び電源制御装置の動作を説明するための模式図である。It is a schematic diagram for demonstrating operation | movement of the engine control apparatus and power supply control apparatus of the communication system which concerns on Embodiment 1 of this invention. 実施の形態1に係る通信システムのエンジン制御装置が行う通信処理の手順を示すフローチャートである。4 is a flowchart illustrating a communication process performed by the engine control apparatus of the communication system according to the first embodiment. センサユニットが行う通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process which a sensor unit performs. 電源制御装置が行う通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process which a power supply control apparatus performs. 本発明の実施の形態2に係る通信システムのエンジン制御装置及び電源制御装置の動作を説明するための模式図である。It is a schematic diagram for demonstrating operation | movement of the engine control apparatus and power supply control apparatus of the communication system which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る電源制御装置が行う通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process which the power supply control apparatus which concerns on Embodiment 2 of this invention performs. 本発明の実施の形態3に係る通信システムの通信処理を説明するための模式図である。It is a schematic diagram for demonstrating the communication processing of the communication system which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る通信システムのエンジン制御装置及び電源制御装置の動作を説明するための模式図である。It is a schematic diagram for demonstrating operation | movement of the engine control apparatus and power supply control apparatus of the communication system which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る通信システムのエンジン制御装置が行う通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process which the engine control apparatus of the communication system which concerns on Embodiment 3 of this invention performs. 本発明の実施の形態4に係る通信システムのエンジン制御装置及び電源制御装置の動作を説明するための模式図である。It is a schematic diagram for demonstrating operation | movement of the engine control apparatus and power supply control apparatus of the communication system which concerns on Embodiment 4 of this invention. 実施の形態4に係る通信システムのエンジン制御装置が行う通信処理の手順を示すフローチャートである。10 is a flowchart illustrating a communication process performed by an engine control device of a communication system according to a fourth embodiment. 実施の形態4に係る通信システムのエンジン制御装置が行う通信処理の手順を示すフローチャートである。10 is a flowchart illustrating a communication process performed by an engine control device of a communication system according to a fourth embodiment. 本発明の実施の形態5に係る通信システムの通信処理を説明するための模式図である。It is a schematic diagram for demonstrating the communication processing of the communication system which concerns on Embodiment 5 of this invention. 本発明の実施の形態5に係る通信システムエンジン制御装置及び電源制御装置の動作を説明するための模式図である。It is a schematic diagram for demonstrating operation | movement of the communication system engine control apparatus and power supply control apparatus which concern on Embodiment 5 of this invention. 本発明の実施の形態5に係る通信システムのエンジン制御装置が行う通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process which the engine control apparatus of the communication system which concerns on Embodiment 5 of this invention performs. 本発明の実施の形態5に係る通信システムの電源制御装置が行う通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process which the power supply control apparatus of the communication system which concerns on Embodiment 5 of this invention performs. 本発明の実施の形態5に係る通信システムの電源制御装置の構成を示す回路図である。It is a circuit diagram which shows the structure of the power supply control apparatus of the communication system which concerns on Embodiment 5 of this invention. 本発明の実施の形態5の変形例1に係る通信システムの電源制御装置の構成を示す回路図である。It is a circuit diagram which shows the structure of the power supply control apparatus of the communication system which concerns on the modification 1 of Embodiment 5 of this invention. 本発明の実施の形態5の変形例2に係る通信システムの電源制御装置の構成を示す回路図である。It is a circuit diagram which shows the structure of the power supply control apparatus of the communication system which concerns on the modification 2 of Embodiment 5 of this invention. 本発明の実施の形態5の変形例3に係る通信システムの電源制御装置の構成を示す回路図である。It is a circuit diagram which shows the structure of the power supply control apparatus of the communication system which concerns on the modification 3 of Embodiment 5 of this invention.

(実施の形態1)
以下、本発明をその実施の形態を示す図面に基づき具体的に説明する。図1は、本発明の実施の形態1に係る通信システムの構成を示すブロック図である。図において1は、LINのプロトコルにより通信を行う車載の通信システムである。通信システム1は、エンジン制御装置20、電源制御装置30及び複数のセンサユニット40が通信線5に接続されて構成されている。また、通信システム1のエンジン制御装置20及び電源制御装置30は、通信線15を介して車輌に搭載されたその他複数の制御装置(ECU(Electronic Control Unit))10に接続されており、CANのプロトコルにより通信を行うシステムを構成している。
(Embodiment 1)
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. FIG. 1 is a block diagram showing a configuration of a communication system according to Embodiment 1 of the present invention. In the figure, reference numeral 1 denotes an in-vehicle communication system that performs communication using the LIN protocol. The communication system 1 is configured by connecting an engine control device 20, a power supply control device 30, and a plurality of sensor units 40 to a communication line 5. In addition, the engine control device 20 and the power supply control device 30 of the communication system 1 are connected to a plurality of other control devices (ECU (Electronic Control Unit)) 10 mounted on the vehicle via the communication line 15. A system that communicates by protocol is configured.

エンジン制御装置20は、センサユニット40にて検知される種々の車輌状態に応じてエンジンの制御を行う装置である。エンジン制御装置20は、LINのプロトコルによる通信システム1においては主装置(マスターノード)として動作する。これに対して、複数のセンサユニット40は通信システム1において従装置(スレーブノード)として動作する。また、本発明に係る通信システム1の電源制御装置30は、通常はスレーブノードとして動作するが、エンジン制御装置20が通信を行わない場合にマスターノードとして動作することができる。   The engine control device 20 is a device that controls the engine according to various vehicle states detected by the sensor unit 40. The engine control device 20 operates as a main device (master node) in the communication system 1 based on the LIN protocol. On the other hand, the plurality of sensor units 40 operate as slave devices (slave nodes) in the communication system 1. Further, the power supply control device 30 of the communication system 1 according to the present invention normally operates as a slave node, but can operate as a master node when the engine control device 20 does not perform communication.

LINのプロトコルは、シングルマスタ方式の通信を行うプロトコルであり、予め定められた1つのマスターノードと複数のスレーブノードとで通信システムが構成される。マスターノードは、通信システムにおける通信のスケジューリングなどを行っており、いずれか1つのスレーブノード宛に通信指示を送信する。これを受信した1つのスレーブノードがマスターノードへ応答を送信し、マスターノードが応答を受信することによって通信が行われる。複数のスレーブノードには異なる識別子がそれぞれ付されており、マスターノードが識別子を1つ指定して通信指示を送信するため、スレーブノードによる応答の送信が衝突することはない。通信はマスターノードによる通信指示の送信によって開始されるため、スレーブノードから通信を開始することはできない。   The LIN protocol is a single-master communication protocol, and a predetermined master node and a plurality of slave nodes constitute a communication system. The master node performs scheduling of communication in the communication system, and transmits a communication instruction addressed to any one of the slave nodes. One slave node that has received this transmits a response to the master node, and communication is performed by the master node receiving the response. Different identifiers are assigned to the plurality of slave nodes, and the master node designates one identifier and transmits a communication instruction, so that transmission of responses by the slave nodes does not collide. Since communication is started by transmission of a communication instruction by the master node, communication cannot be started from the slave node.

本実施の形態の通信装置1では、マスターノードであるエンジン制御装置20が、スレーブノードである複数のセンサユニット40又は電源制御装置30へ識別子を指定して通信指示を送信する。指定された識別子が付されたいずれか1つのセンサユニット40又は電源制御装置30は、センサの検知結果などのデータが含まれた応答を送信する。エンジン制御装置20は、応答を受信してこれに含まれるデータを基にエンジンの制御処理を行うことができる。   In the communication device 1 according to the present embodiment, the engine control device 20 that is a master node transmits a communication instruction by specifying an identifier to the plurality of sensor units 40 or the power supply control devices 30 that are slave nodes. Any one of the sensor units 40 or the power supply control device 30 to which the specified identifier is attached transmits a response including data such as a sensor detection result. The engine control device 20 can receive the response and perform engine control processing based on the data included in the response.

また、CANのプロトコルは、マルチマスタ方式の通信を行うプロトコルであり、各ノードが必要に応じて通信を開始することができる。よって、通信の衝突が発生する虞があるため、衝突を回避するためのアービトレーションを各ノードがそれぞれ行っている。本実施の形態において、エンジン制御装置20は、CANによる通信を行うことができ、通信システム1内のセンサユニット40から取得することができず、その他のECU10が保持する情報を、通信により取得してエンジンの制御処理を行うことができる。通信システム1の電源制御装置30についても同様である。また、その他のECU10は、エンジン制御装置20が保持する情報を通信により取得してそれぞれの処理を行うことができる。   The CAN protocol is a protocol for performing multi-master communication, and each node can start communication as necessary. Therefore, since there is a possibility that a communication collision occurs, each node performs arbitration for avoiding the collision. In the present embodiment, the engine control device 20 can perform communication by CAN, cannot be acquired from the sensor unit 40 in the communication system 1, and acquires information held by other ECUs 10 by communication. The engine control process can be performed. The same applies to the power supply control device 30 of the communication system 1. Further, the other ECUs 10 can acquire information held by the engine control device 20 through communication and perform respective processes.

図2は、本発明の実施の形態1に係る通信システム1の通信処理を説明するための模式図であり、通信システム1においてエンジン制御装置20、電源制御装置30及び1つのセンサユニット40のみを抜き出し、装置間の通信を矢印で模式的に図示したものである。上述のように、マスターノードであるエンジン制御装置20は、通信指示をセンサユニット40へ送信し、これを受信したスレーブノードであるセンサユニット40が応答を送信する。   FIG. 2 is a schematic diagram for explaining communication processing of the communication system 1 according to the first embodiment of the present invention. In the communication system 1, only the engine control device 20, the power supply control device 30, and one sensor unit 40 are included. The communication between the apparatuses is schematically illustrated by arrows. As described above, the engine control apparatus 20 that is a master node transmits a communication instruction to the sensor unit 40, and the sensor unit 40 that is a slave node that has received the communication instruction transmits a response.

このとき、電源制御装置30は、エンジン制御装置20及びセンサユニット40の間で行われる通信(通信指示及び応答)を監視している。エンジン制御装置20及びセンサユニット40と電源制御装置30とは、共通の通信線5で接続されているため、通信線5における信号変化を調べることによって、電源制御装置30はエンジン制御装置20及びセンサユニット40の間の通信を監視することが可能である。これにより、電源制御装置30は、エンジン制御装置20及びセンサユニット40の間の通信が行われているか否かを判定する。通信が行われているか否かの判定は、例えば通信線5における信号変化(電位変化)が一定時間以上に亘って生じていない場合に通信が行われていないと判定するなどの方法で行うことができる。   At this time, the power supply control device 30 monitors communication (communication instruction and response) performed between the engine control device 20 and the sensor unit 40. Since the engine control device 20 and the sensor unit 40 and the power supply control device 30 are connected by a common communication line 5, the power supply control device 30 checks the signal change in the communication line 5, so that the power supply control device 30 Communication between units 40 can be monitored. Thereby, the power supply control device 30 determines whether communication between the engine control device 20 and the sensor unit 40 is performed. Whether or not communication is being performed is determined by a method such as determining that communication is not being performed when a signal change (potential change) in the communication line 5 has not occurred for a certain time or more. Can do.

エンジン制御装置20及びセンサユニット40の間の通信が行われている場合、電源制御装置30はスレーブノードとして動作する。よって、エンジン制御装置20から電源制御装置30に通信指示を送信し、電源制御装置30が応答をエンジン制御装置20へ送信することも可能である。   When communication between the engine control device 20 and the sensor unit 40 is performed, the power supply control device 30 operates as a slave node. Therefore, it is also possible to transmit a communication instruction from the engine control device 20 to the power control device 30, and the power control device 30 can transmit a response to the engine control device 20.

エンジン制御装置20及びセンサユニット40の間の通信が行われていない場合、電源制御装置30は必要に応じてマスターノードとして動作することができる。この場合、エンジン制御装置20に代えて、電源制御装置30がセンサユニット40へ通信指示を送信する。センサユニット40は、通信指示の送信元に関わらず、通信指示を受信した場合に応答を送信するため、電源制御装置30はセンサユニット40の応答を受信することができる。   When communication between the engine control device 20 and the sensor unit 40 is not performed, the power supply control device 30 can operate as a master node as necessary. In this case, the power supply control device 30 transmits a communication instruction to the sensor unit 40 instead of the engine control device 20. Since the sensor unit 40 transmits a response when receiving the communication instruction regardless of the transmission source of the communication instruction, the power supply control device 30 can receive the response of the sensor unit 40.

電源制御装置30は、センサユニット40が保持する情報(センサの検知結果)を必要とするとき、通信線15を介したCANによる通信を行うことによってエンジン制御装置20から必要な情報を取得することができるが、例えば車輌のエンジンが停止されているなどの理由でエンジン制御装置20が動作しておらず、電源制御装置30がエンジン制御装置20を介してセンサユニット40の情報を取得できない場合がある。このような場合(エンジン制御装置20及びセンサユニット40の間の通信は行われていないため)、電源制御装置30はマスターノードとして動作することにより、センサユニット40と直接的に通信を行い、センサユニット40の情報を直接的に取得することができる。   When the power supply control device 30 needs information held by the sensor unit 40 (sensor detection result), the power supply control device 30 acquires necessary information from the engine control device 20 by performing communication using CAN via the communication line 15. However, there is a case where the engine control device 20 is not operating due to, for example, the vehicle engine being stopped, and the power supply control device 30 cannot acquire the information of the sensor unit 40 via the engine control device 20. is there. In such a case (because communication between the engine control device 20 and the sensor unit 40 is not performed), the power supply control device 30 operates directly as a master node, thereby communicating directly with the sensor unit 40 and detecting the sensor. Information about the unit 40 can be obtained directly.

また、エンジン制御装置20には、その動作の開始/停止を規定するトリガ信号が他の装置から与えられている。トリガ信号は、通信線15を介したCANの通信により動作指示(コマンド)として与えられるものであってもよく、他の装置から直接的に入力される信号であってもよい。トリガ信号を与える他の装置としては、例えば車輌に搭載されたイグニッションスイッチの操作状態を検出する装置であってもよい。この装置がイグニッションスイッチの操作状態に応じてトリガ信号をエンジン制御装置20へ与えることにより、エンジン停止の操作がなされた場合にエンジン制御装置20の動作を停止し、エンジン始動の操作がなされた場合にエンジン制御装置20の動作を開始させることができる。   Further, the engine control device 20 is provided with a trigger signal for defining start / stop of its operation from another device. The trigger signal may be given as an operation instruction (command) by CAN communication via the communication line 15, or may be a signal directly input from another device. As another device that gives a trigger signal, for example, a device that detects an operation state of an ignition switch mounted on a vehicle may be used. When this device gives a trigger signal to the engine control device 20 according to the operation state of the ignition switch, the operation of the engine control device 20 is stopped when the engine stop operation is performed, and the engine start operation is performed. The operation of the engine control device 20 can be started.

図3は、本発明の実施の形態1に係る通信システム1のエンジン制御装置20及び電源制御装置30の動作を説明するための模式図であり、エンジン制御装置20に与えられるトリガ信号と、エンジン制御装置20による通信の状態と、電源制御装置30による通信の状態とをタイミングチャートとして図示してある。なお、本図においてはトリガ信号を一の入力信号とし、トリガ信号のオン(H)/オフ(L)に応じてエンジン制御装置20が動作/停止するものとする。トリガ信号がオンの場合、エンジン制御装置20はセンサユニット40との通信を行い、この場合には電源制御装置30はスレーブノードとして動作する。   FIG. 3 is a schematic diagram for explaining operations of the engine control device 20 and the power supply control device 30 of the communication system 1 according to the first embodiment of the present invention. The trigger signal given to the engine control device 20 and the engine The state of communication by the control device 20 and the state of communication by the power supply control device 30 are shown as timing charts. In this figure, it is assumed that the trigger signal is one input signal, and the engine control device 20 operates / stops according to the on (H) / off (L) of the trigger signal. When the trigger signal is on, the engine control device 20 communicates with the sensor unit 40. In this case, the power supply control device 30 operates as a slave node.

トリガ信号がオンからオフに変化した場合、エンジン制御装置20は動作を停止し、エンジン制御装置20及びセンサユニット40の間の通信は停止される。電源制御装置30は、エンジン制御装置20及びセンサユニット40の間の通信の停止を判定した後、マスターノードとしてセンサユニット40との通信を行うことができる。図示のように、トリガ信号がオフする時間Ta(エンジン制御装置が停止している時間)は、電源制御装置30がマスターノードとして通信を行う時間Tbより十分に長い場合が多く、このような場合には電源制御装置30は通信を複数回行うことができる。   When the trigger signal changes from on to off, the engine control device 20 stops its operation, and communication between the engine control device 20 and the sensor unit 40 is stopped. The power supply control device 30 can communicate with the sensor unit 40 as a master node after determining to stop communication between the engine control device 20 and the sensor unit 40. As shown in the figure, the time Ta when the trigger signal is turned off (the time when the engine control device is stopped) is often sufficiently longer than the time Tb during which the power supply control device 30 communicates as a master node. The power supply control device 30 can perform communication a plurality of times.

トリガ信号がオフからオンに変化した場合、エンジン制御装置20は動作を開始するが、この際にトリガ信号のオンから所定時間Tcを待機した後に動作を開始する。なお、エンジン制御装置20が待機する所定時間Tcは、電源制御装置30がマスターノードとして通信を行う時間Tbより長い(Tc>Tb)ことが望ましい。これにより、エンジン制御装置20による通信と、電源制御装置30による通信とが衝突する可能性を低減することができる。ただし、エンジン制御装置20が通信を開始する際、通信の衝突が発生する虞はあるため、衝突が発生した場合には、例えばエンジン制御装置20は動作指示の再送信を行い、電源制御装置30は動作指示の再送信を行わないようにすることで、通信の衝突が再度発生することを防止できる。   When the trigger signal changes from OFF to ON, the engine control device 20 starts operating. At this time, the engine control device 20 starts operating after waiting for a predetermined time Tc from the ON of the trigger signal. It is desirable that the predetermined time Tc that the engine control device 20 waits is longer than the time Tb during which the power supply control device 30 communicates as a master node (Tc> Tb). Thereby, the possibility that the communication by the engine control device 20 and the communication by the power supply control device 30 collide can be reduced. However, when the engine control device 20 starts communication, there is a possibility that a communication collision may occur. If a collision occurs, for example, the engine control device 20 retransmits the operation instruction and the power control device 30. By preventing the operation instruction from being retransmitted, communication collision can be prevented from occurring again.

図4は、実施の形態1に係る通信システム1のエンジン制御装置20が行う通信処理の手順を示すフローチャートであり、トリガ信号がオフでエンジン制御装置20が動作していない状態からの手順を示してある。まずエンジン制御装置20は、他の装置から与えられるトリガ信号がオンであるか否かを調べ(ステップS1)、トリガ信号がオフの場合(S1:NO)、トリガ信号がオンになるまで待機する。トリガ信号がオンの場合(S1:YES)、エンジン制御装置20は内部のタイマなどを用いて計時を開始し(ステップS2)、所定時間が経過したか否かを調べる(ステップS3)。所定時間が経過していない場合(S3:NO)、エンジン制御装置20は所定時間が経過するまで待機する。   FIG. 4 is a flowchart showing a procedure of communication processing performed by the engine control device 20 of the communication system 1 according to the first embodiment, and shows a procedure from a state where the trigger signal is off and the engine control device 20 is not operating. It is. First, the engine control device 20 checks whether or not a trigger signal supplied from another device is on (step S1). If the trigger signal is off (S1: NO), the engine control device 20 waits until the trigger signal is turned on. . When the trigger signal is on (S1: YES), the engine control device 20 starts measuring time using an internal timer (step S2), and checks whether or not a predetermined time has passed (step S3). If the predetermined time has not elapsed (S3: NO), the engine control device 20 waits until the predetermined time elapses.

所定時間が経過した場合(S3:YES)、エンジン制御装置20は、センサユニット40への通信指示を送信し(ステップS4)、センサユニット40からの応答を受信したか否かを調べる(ステップS5)。センサユニット40からの応答を受信していない場合(S5:NO)、エンジン制御装置20は、応答を受信するまで待機する。センサユニット40からの応答を受信した場合(S5:YES)、エンジン制御装置20は受信した応答に係るエンジンの制御処理を行うと共に、他の装置から与えられるトリガ信号がオフであるか否かを調べる(ステップS6)。トリガ信号がオフでない場合(S6:NO)、エンジン制御装置20は、ステップS4へ戻り、センサユニット40との間の通信を繰り返し行う。トリガ信号がオフの場合(S6:YES)、エンジン制御装置20は、通信処理を終了して動作を停止する。   If the predetermined time has elapsed (S3: YES), the engine control device 20 transmits a communication instruction to the sensor unit 40 (step S4) and checks whether a response from the sensor unit 40 has been received (step S5). ). When the response from the sensor unit 40 has not been received (S5: NO), the engine control device 20 stands by until a response is received. When the response from the sensor unit 40 is received (S5: YES), the engine control device 20 performs control processing of the engine related to the received response and determines whether or not a trigger signal given from another device is off. Check (step S6). If the trigger signal is not off (S6: NO), the engine control device 20 returns to step S4 and repeats communication with the sensor unit 40. When the trigger signal is off (S6: YES), the engine control device 20 ends the communication process and stops its operation.

図5は、センサユニット40が行う通信処理の手順を示すフローチャートである。センサユニット40は、エンジン制御装置20又は電源制御装置30からの通信指示を受信したか否かを調べ(ステップS11)、通信指示を受信していない場合には(S11:NO)、通信指示を受信するまで待機する。通信指示を受信した場合(S11:YES)、センサユニット40は、センサの検知結果などの情報を含む応答を送信し(ステップS12)、処理を終了する。   FIG. 5 is a flowchart illustrating a communication process performed by the sensor unit 40. The sensor unit 40 checks whether or not a communication instruction from the engine control apparatus 20 or the power supply control apparatus 30 has been received (step S11). If no communication instruction has been received (S11: NO), the communication instruction is issued. Wait for reception. When the communication instruction is received (S11: YES), the sensor unit 40 transmits a response including information such as the detection result of the sensor (step S12), and ends the process.

図6は、電源制御装置30が行う通信処理の手順を示すフローチャートである。まず電源制御装置30は、エンジン制御装置20及びセンサユニット40の間の通信が行われているか否かを調べる(ステップS21)。通信が行われている場合には(S21:YES)、電源制御装置30はスレーブノードとして動作し、エンジン制御装置20からの通信指示を受信したか否かを調べる(ステップS22)。電源制御装置30は、通信指示を受信した場合には(S22:YES)、応答を送信して(ステップS23)、また、通信指示を受信していない場合には(S22:NO)、応答を送信せずに、ステップS21へ戻り、エンジン制御装置20及びセンサユニット40の通信が終了するまでスレーブノードとして動作する。   FIG. 6 is a flowchart illustrating a communication process performed by the power supply control device 30. First, the power supply control device 30 checks whether communication is performed between the engine control device 20 and the sensor unit 40 (step S21). If communication is being performed (S21: YES), the power supply control device 30 operates as a slave node, and checks whether or not a communication instruction from the engine control device 20 has been received (step S22). When receiving the communication instruction (S22: YES), the power supply control device 30 transmits a response (step S23). When the communication instruction is not received (S22: NO), the power supply control apparatus 30 returns the response. Return to step S21 without transmitting, and operate as a slave node until communication between the engine control device 20 and the sensor unit 40 is completed.

エンジン制御装置20及びセンサユニット40の通信が行われていない場合(S21:NO)、電源制御装置30は、センサユニット40との通信が必要であるか否かを調べる(ステップS24)。センサユニット40との通信が必要な場合(S24:YES)、電源制御装置30はマスターノードとして動作し、センサユニット40へ通信指示を送信する(ステップS25)。次いで、電源制御装置30は、センサユニット40からの応答を受信したか否かを調べ(ステップS26)、応答を受信していない場合には(S26:NO)、応答を受信するまで待機する。   When communication between the engine control device 20 and the sensor unit 40 is not performed (S21: NO), the power supply control device 30 checks whether communication with the sensor unit 40 is necessary (step S24). When communication with the sensor unit 40 is required (S24: YES), the power supply control device 30 operates as a master node and transmits a communication instruction to the sensor unit 40 (step S25). Next, the power supply control device 30 checks whether or not a response from the sensor unit 40 has been received (step S26). If no response has been received (S26: NO), the power supply control device 30 stands by until a response is received.

センサユニット40からの応答を受信した場合(S26:YES)、又は、センサユニット40との通信が必要でない場合(S24:NO)、電源制御装置30は、エンジン制御装置20及びセンサユニット40の通信が行われているか否かを調べる(ステップS27)。エンジン制御装置20及びセンサユニット40の通信が行われていない場合には(S27:NO)、電源制御装置30は、ステップS24へ戻り、必要に応じてセンサユニット40との通信を行う。また、エンジン制御装置20及びセンサユニット40の通信が行われている場合には(S27:YES)、電源制御装置30は処理を終了する。なお実際には、電源制御装置30は、ステップS27の処理終了後、ステップS21へ戻って上述の処理を繰り返し行っている。   When the response from the sensor unit 40 is received (S26: YES), or when communication with the sensor unit 40 is not necessary (S24: NO), the power supply control device 30 communicates between the engine control device 20 and the sensor unit 40. It is checked whether or not is performed (step S27). When communication between the engine control device 20 and the sensor unit 40 is not performed (S27: NO), the power supply control device 30 returns to step S24 and performs communication with the sensor unit 40 as necessary. Further, when communication between the engine control device 20 and the sensor unit 40 is performed (S27: YES), the power supply control device 30 ends the process. Actually, the power supply control device 30 returns to step S21 after the processing of step S27 is completed, and repeats the above-described processing.

以上の構成の実施の形態1に係る通信システムにおいては、エンジン制御装置20及びセンサユニット40の通信を電源制御装置30が監視し、通信が行われている場合には電源制御装置30がスレーブノードとして動作すると共に、通信が行われていない場合には電源制御装置30がマスターノードとして動作し、センサユニット40との通信を行う構成とすることにより、エンジン制御装置20及びセンサユニット40によるシングルマスタ方式の通信を阻害することなく、電源制御装置30を通信システムに追加してセンサユニット40との通信を行わせることができる。   In the communication system according to the first embodiment having the above configuration, the power supply control device 30 monitors communication between the engine control device 20 and the sensor unit 40, and when communication is being performed, the power supply control device 30 is a slave node. When the communication is not performed, the power supply control device 30 operates as a master node and communicates with the sensor unit 40, so that the single master by the engine control device 20 and the sensor unit 40 is used. The communication with the sensor unit 40 can be performed by adding the power supply control device 30 to the communication system without obstructing the communication of the system.

また、トリガ信号がオフからオンに変化した場合に、エンジン制御装置20からセンサユニット40への通信指示の送信を所定時間Tc待機させる構成とすることにより、トリガ信号がオンに変化したときに電源制御装置30及びセンサユニット40が通信を行っている場合であっても、電源制御装置30及びセンサユニット40の通信が終了した後に、エンジン制御装置20及びセンサユニット40の通信を開始することができる。よって、エンジン制御装置20及びセンサユニット40の通信と、電源制御装置30及びセンサユニット40の通信とが衝突する可能性を低減することができる。   Further, when the trigger signal changes from off to on, the transmission of the communication instruction from the engine control device 20 to the sensor unit 40 is made to wait for a predetermined time Tc, so that the power supply is turned on when the trigger signal changes to on. Even when the control device 30 and the sensor unit 40 are communicating, the communication between the engine control device 20 and the sensor unit 40 can be started after the communication between the power control device 30 and the sensor unit 40 is completed. . Therefore, the possibility that the communication between the engine control device 20 and the sensor unit 40 and the communication between the power supply control device 30 and the sensor unit 40 collide can be reduced.

なお、本実施の形態においては、主装置をエンジン制御装置20とし、従装置をセンサユニット40とし、通信装置を電源制御装置30としたが、一例であってこれに限るものではなく、主装置、従装置及び通信装置はその他種々の装置であってよい。また、通信システム1は車輌に搭載される通信システムとしたが、これに限るものではなく、その他の種々の通信システムであってよい。また、電源制御装置30がエンジン制御装置20から通信指示に対して応答を送信する機能を有する構成としたが、これに限るものではなく、応答を送信する機能を有さずに、エンジン制御装置20及びセンサユニット40が通信中でない場合に通信指示を送信する機能を有するのみであってもよい。また、エンジン制御装置20は、トリガ信号がオンとなった場合に、所定時間Tcを待機した後に通信を開始する構成としたが、これに限るものではなく、所定時間Tcの待機を行わない構成であってもよい。   In the present embodiment, the main device is the engine control device 20, the slave device is the sensor unit 40, and the communication device is the power supply control device 30, but this is an example, and the main device is not limited thereto. The slave device and the communication device may be various other devices. The communication system 1 is a communication system mounted on a vehicle, but is not limited to this, and may be other various communication systems. Further, the power supply control device 30 has a function of transmitting a response to the communication instruction from the engine control device 20, but the present invention is not limited to this, and the engine control device does not have a function of transmitting a response. 20 and the sensor unit 40 may only have a function of transmitting a communication instruction when not in communication. Further, the engine control device 20 is configured to start communication after waiting for a predetermined time Tc when the trigger signal is turned on, but is not limited thereto, and is configured not to wait for the predetermined time Tc. It may be.

(実施の形態2)
図7は、本発明の実施の形態2に係る通信システム1のエンジン制御装置20及び電源制御装置30の動作を説明するための模式図であり、エンジン制御装置20に与えられるトリガ信号と、エンジン制御装置20による通信の状態と、電源制御装置30による通信の状態とをタイミングチャートとして図示してある。実施の形態2に係る通信システム1においては、エンジン制御装置20は、他の装置から与えられるトリガ信号のオンした後、所定時間Tcの待機を行うことなく、センサユニット40へ通信指示を送信して通信を開始することができる。即ち、実施の形態2に係る通信システムのエンジン制御装置20は、図4に示すフローチャートにおいてステップS2及びS3を行わない。
(Embodiment 2)
FIG. 7 is a schematic diagram for explaining the operation of the engine control device 20 and the power supply control device 30 of the communication system 1 according to the second embodiment of the present invention. The trigger signal given to the engine control device 20 and the engine The state of communication by the control device 20 and the state of communication by the power supply control device 30 are shown as timing charts. In the communication system 1 according to the second embodiment, the engine control device 20 transmits a communication instruction to the sensor unit 40 without waiting for a predetermined time Tc after a trigger signal given from another device is turned on. Communication can be started. That is, the engine control device 20 of the communication system according to the second embodiment does not perform steps S2 and S3 in the flowchart shown in FIG.

これに対して、実施の形態2に係る電源制御装置30は、エンジン制御装置20及びセンサユニット40の通信を監視して、通信を行っていないと判定した後から、所定時間Teが経過するまでの間のみ、マスターノードとしてセンサユニット40との通信を行うことができる。所定時間Teの経過後は、エンジン制御装置20及びセンサユニット40の通信が行われていなくても、電源制御装置30はスレーブノードとして動作する。   On the other hand, the power supply control device 30 according to the second embodiment monitors communication between the engine control device 20 and the sensor unit 40 and determines that the communication is not performed until a predetermined time Te elapses. It is possible to communicate with the sensor unit 40 as a master node only during the period. After the elapse of the predetermined time Te, the power supply control device 30 operates as a slave node even if the communication between the engine control device 20 and the sensor unit 40 is not performed.

電源制御装置30がマスターノードとしてセンサユニット40と通信を行うことができる所定時間Teは、トリガ信号がオフとなってエンジン制御装置20が動作せず、エンジン制御装置20及びセンサユニット40が通信を行わない最小時間Tdより短い時間とする(Te<Td)。なお、エンジン制御装置20及びセンサユニット40が通信を行わない最小時間Tdは、例えばトリガ信号を出力する他の装置にて規定される時間であってもよく、エンジン制御装置20にて規定される時間であってもよい。   For a predetermined time Te in which the power supply control device 30 can communicate with the sensor unit 40 as a master node, the engine control device 20 and the sensor unit 40 communicate with each other without the trigger signal being turned off and the engine control device 20 not operating. The time is shorter than the minimum time Td that is not performed (Te <Td). The minimum time Td during which the engine control device 20 and the sensor unit 40 do not communicate may be, for example, a time defined by another device that outputs a trigger signal, and is defined by the engine control device 20. It may be time.

図8は、本発明の実施の形態2に係る電源制御装置30が行う通信処理の手順を示すフローチャートである。まず電源制御装置30は、エンジン制御装置20及びセンサユニット40の通信が行われているか否かを調べる(ステップS41)。通信が行われている場合には(S41:YES)、電源制御装置30はスレーブノードとして動作し、エンジン制御装置20からの通信指示を受信したか否かを調べる(ステップS42)。電源制御装置30は、通信指示を受信した場合には(S42:YES)、応答を送信して(ステップS43)、また、通信指示を受信していない場合には(S42:NO)、応答を送信せずに、ステップS41へ戻り、エンジン制御装置20及びセンサユニット40の通信が終了するまでスレーブノードとして動作する。   FIG. 8 is a flowchart showing a communication process performed by the power supply control device 30 according to the second embodiment of the present invention. First, the power supply control device 30 checks whether communication between the engine control device 20 and the sensor unit 40 is being performed (step S41). When communication is being performed (S41: YES), the power supply control device 30 operates as a slave node, and checks whether a communication instruction from the engine control device 20 has been received (step S42). When receiving the communication instruction (S42: YES), the power supply control device 30 transmits a response (step S43). When the communication instruction is not received (S42: NO), the power supply control apparatus 30 returns a response. Return to step S41 without transmitting, and operate as a slave node until communication between the engine control device 20 and the sensor unit 40 is completed.

エンジン制御装置20及びセンサユニット40の通信が行われていない場合(S41:NO)、電源制御装置30は、内部のタイマなどを用いて計時を開始し(ステップS44)、センサユニット40との通信が必要であるか否かを調べる(ステップS45)。センサユニット40との通信が必要な場合(S45:YES)、電源制御装置30はマスターノードとして動作し、センサユニット40へ通信指示を送信する(ステップS46)。次いで、電源制御装置30は、センサユニット40からの応答を受信したか否かを調べ(ステップS47)、応答を受信していない場合には(S47:NO)、応答を受信するまで待機する。   When the communication between the engine control device 20 and the sensor unit 40 is not performed (S41: NO), the power supply control device 30 starts measuring time using an internal timer (step S44) and communicates with the sensor unit 40. Is checked (step S45). When communication with the sensor unit 40 is necessary (S45: YES), the power supply control device 30 operates as a master node and transmits a communication instruction to the sensor unit 40 (step S46). Next, the power supply control device 30 checks whether or not a response from the sensor unit 40 has been received (step S47). If no response has been received (S47: NO), the power supply control device 30 stands by until a response is received.

センサユニット40からの応答を受信した場合(S47:YES)、又は、センサユニット40との通信が必要でない場合(S45:NO)、電源制御装置30は、ステップS44にて開始した計時により、所定時間Teが経過したか否かを調べる。(ステップS48)。所定時間Teが経過していない場合(S48:NO)、電源制御装置30は、ステップS45へ戻り、必要に応じてセンサユニット40との通信を行う。また、所定時間Teが経過した場合には、電源制御装置30は処理を終了する。   When the response from the sensor unit 40 is received (S47: YES), or when communication with the sensor unit 40 is not required (S45: NO), the power supply control device 30 determines the predetermined time by the time measurement started in step S44. It is checked whether or not the time Te has elapsed. (Step S48). When the predetermined time Te has not elapsed (S48: NO), the power supply control device 30 returns to step S45 and communicates with the sensor unit 40 as necessary. When the predetermined time Te has elapsed, the power supply control device 30 ends the process.

以上の構成の実施の形態2に係る通信システム1においては、エンジン制御装置20及びセンサユニット40の間の通信が行われていないと判定した後、所定時間Teが経過するまでの間のみ、電源制御装置30がマスターノードとしてセンサユニット40との通信を行う構成とすることにより、エンジン制御装置20がセンサユニット40との通信を再開する際には、電源制御装置30及びセンサユニット40の通信が既に終了しているため、通信の衝突が発生することを回避できる。実施の形態2の通信システム1の構成は、エンジン制御装置20及びセンサユニット40の間の通信が行われない最小時間Tdが予め規定されるシステムに適用することができる。   In the communication system 1 according to the second embodiment having the above-described configuration, the power source is only supplied until the predetermined time Te elapses after it is determined that the communication between the engine control device 20 and the sensor unit 40 is not performed. With the configuration in which the control device 30 communicates with the sensor unit 40 as a master node, when the engine control device 20 resumes communication with the sensor unit 40, communication between the power supply control device 30 and the sensor unit 40 is performed. Since it has already ended, it is possible to avoid a communication collision. The configuration of the communication system 1 according to the second embodiment can be applied to a system in which a minimum time Td during which communication between the engine control device 20 and the sensor unit 40 is not performed is defined in advance.

なお、実施の形態2に係る通信システム1のその他の構成は、実施の形態1に係る通信システムの構成と同様であるため、同様の箇所には同じ符号を付して詳細な説明を省略する。   In addition, since the other structure of the communication system 1 which concerns on Embodiment 2 is the same as that of the structure of the communication system which concerns on Embodiment 1, the same code | symbol is attached | subjected to the same location and detailed description is abbreviate | omitted. .

(実施の形態3)
図9は、本発明の実施の形態3に係る通信システム1の通信処理を説明するための模式図である。また、図10は、本発明の実施の形態3に係る通信システム1のエンジン制御装置20及び電源制御装置30の動作を説明するための模式図であり、エンジン制御装置20に与えられるトリガ信号と、エンジン制御装置20による通信の状態と、電源制御装置30による通信の状態とをタイミングチャートとして図示してある。実施の形態3に係る通信システム1は、エンジン制御装置20及びセンサユニット40が通信を行っているか否かを電源制御装置30が監視すると共に、電源制御装置30及びセンサユニット40が通信を行っているか否かをエンジン制御装置20が監視することができる。
(Embodiment 3)
FIG. 9 is a schematic diagram for explaining communication processing of the communication system 1 according to Embodiment 3 of the present invention. FIG. 10 is a schematic diagram for explaining operations of the engine control device 20 and the power supply control device 30 of the communication system 1 according to the third embodiment of the present invention. The communication state by the engine control device 20 and the communication state by the power supply control device 30 are shown as timing charts. In the communication system 1 according to the third embodiment, the power supply control device 30 monitors whether the engine control device 20 and the sensor unit 40 are communicating, and the power supply control device 30 and the sensor unit 40 communicate with each other. It can be monitored by the engine control device 20.

実施の形態3に係る通信システム1は、エンジン制御装置20に与えられるトリガ信号がオンの場合には、エンジン制御装置20及びセンサユニット40の間で通信が行われ、電源制御装置30はスレーブユニットとして動作する。トリガ信号がオフとなった場合、エンジン制御装置20が通信を停止するため、電源制御装置30が必要に応じてマスターユニットとしてセンサユニット40と通信を行うことができる。これらの通信処理については、上述の実施の形態1に係る通信システム1と同様である。ただし、実施の形態3に係る通信システム1は、エンジン制御装置20に与えられるトリガ信号がオフからオンに変化した場合、エンジン制御装置20が行う処理が実施の形態1の場合と異なる。   In the communication system 1 according to the third embodiment, when the trigger signal supplied to the engine control device 20 is on, communication is performed between the engine control device 20 and the sensor unit 40, and the power supply control device 30 is a slave unit. Works as. When the trigger signal is turned off, the engine control device 20 stops communication, so that the power supply control device 30 can communicate with the sensor unit 40 as a master unit as necessary. These communication processes are the same as those of the communication system 1 according to the first embodiment. However, in the communication system 1 according to the third embodiment, when the trigger signal supplied to the engine control device 20 changes from off to on, the processing performed by the engine control device 20 is different from that in the first embodiment.

実施の形態3に係る通信システム1のエンジン制御装置20は、トリガ信号がオフからオンに変化した場合、電源制御装置30及びセンサユニット40の通信が行われているか否かを判定し、通信が行われていなければセンサユニット40との通信を開始する(図10(a)参照)。しかし、電源制御装置30及びセンサユニット40の通信が行われている場合には、この通信が終了するまで待機した後に、センサユニット40との通信を開始する(図10(b)参照)。   When the trigger signal changes from off to on, the engine control device 20 of the communication system 1 according to the third embodiment determines whether or not the communication between the power supply control device 30 and the sensor unit 40 is being performed. If not, communication with the sensor unit 40 is started (see FIG. 10A). However, when communication between the power supply control device 30 and the sensor unit 40 is performed, communication with the sensor unit 40 is started after waiting until the communication is completed (see FIG. 10B).

図11は、本発明の実施の形態3に係る通信システム1のエンジン制御装置20が行う通信処理の手順を示すフローチャートであり、トリガ信号がオフでエンジン制御装置20が動作していない状態からの手順を示してある。まずエンジン制御装置20は、他の装置から与えられるトリガ信号がオンであるか否かを調べ(ステップS61)、トリガ信号がオフの場合(S61:NO)、トリガ信号がオンになるまで待機する。トリガ信号がオンの場合(S61:YES)、エンジン制御装置20は、電源制御装置30及びセンサユニット40の間の通信が行われているか否かを調べる(ステップS62)。電源制御装置30及びセンサユニット40の通信が行われている場合(S62:YES)、エンジン制御装置20は、電源制御装置30及びセンサユニット40の通信が終了するまで待機する。   FIG. 11 is a flowchart showing a communication processing procedure performed by the engine control device 20 of the communication system 1 according to the third embodiment of the present invention. The flowchart shows a state in which the trigger signal is off and the engine control device 20 is not operating. The procedure is shown. First, the engine control device 20 checks whether or not a trigger signal supplied from another device is on (step S61). If the trigger signal is off (S61: NO), the engine control device 20 waits until the trigger signal is turned on. . If the trigger signal is on (S61: YES), the engine control device 20 checks whether communication is performed between the power supply control device 30 and the sensor unit 40 (step S62). When communication between the power supply control device 30 and the sensor unit 40 is performed (S62: YES), the engine control device 20 stands by until communication between the power supply control device 30 and the sensor unit 40 is completed.

電源制御装置30及びセンサユニット40の間の通信が行われていない場合(S62:NO)、エンジン制御装置20は、センサユニット40への通信指示を送信し(ステップS63)、センサユニット40からの応答を受信したか否かを調べる(ステップS64)。センサユニット40からの応答を受信していない場合(S64:NO)、エンジン制御装置20は、応答を受信するまで待機する。センサユニット40からの応答を受信した場合(S64:YES)、エンジン制御装置20は受信した応答に係るエンジンの制御処理を行うと共に、他の装置から与えられるトリガ信号がオフであるか否かを調べる(ステップS65)。トリガ信号がオフでない場合(S65:NO)、エンジン制御装置20は、ステップS63へ戻り、センサユニット40との間の通信を繰り返し行う。トリガ信号がオフの場合(S65:YES)、エンジン制御装置20は、通信処理を終了して動作を停止する。   When communication between the power supply control device 30 and the sensor unit 40 is not performed (S62: NO), the engine control device 20 transmits a communication instruction to the sensor unit 40 (step S63), and the sensor unit 40 It is checked whether a response has been received (step S64). When the response from the sensor unit 40 is not received (S64: NO), the engine control device 20 stands by until a response is received. When the response from the sensor unit 40 is received (S64: YES), the engine control device 20 performs control processing of the engine related to the received response and determines whether or not the trigger signal given from another device is OFF. Check (step S65). If the trigger signal is not off (S65: NO), the engine control device 20 returns to step S63 and repeats communication with the sensor unit 40. When the trigger signal is off (S65: YES), the engine control device 20 ends the communication process and stops its operation.

以上の構成の実施の形態3に係る通信システム1においては、トリガ信号がオンとなってエンジン制御装置20がセンサユニット40との通信を開始する際、電源制御装置30及びセンサユニット40が通信を行っているか否かをエンジン制御装置20が判定し、通信が行われていない場合にエンジン制御装置20が通信指示を送信してセンサユニット40との通信を開始する構成とすることにより、エンジン制御装置20及びセンサユニット40の通信と、電源制御装置30及びセンサユニット40の通信とが衝突することを回避できる。   In the communication system 1 according to the third embodiment configured as described above, when the trigger signal is turned on and the engine control device 20 starts communication with the sensor unit 40, the power supply control device 30 and the sensor unit 40 communicate with each other. The engine control device 20 determines whether or not the communication is being performed, and the engine control device 20 transmits a communication instruction to start communication with the sensor unit 40 when communication is not performed. It is possible to avoid collision between communication between the device 20 and the sensor unit 40 and communication between the power supply control device 30 and the sensor unit 40.

なお、実施の形態3に係る通信システム1のその他の構成は、実施の形態1に係る通信システムの構成と同様であるため、同様の箇所には同じ符号を付して詳細な説明を省略する。   In addition, since the other structure of the communication system 1 which concerns on Embodiment 3 is the same as that of the structure of the communication system which concerns on Embodiment 1, the same code | symbol is attached | subjected to the same location and detailed description is abbreviate | omitted. .

(実施の形態4)
図12は、本発明の実施の形態4に係る通信システム1のエンジン制御装置20及び電源制御装置30の動作を説明するための模式図であり、エンジン制御装置20に与えられるトリガ信号と、エンジン制御装置20による通信の状態と、電源制御装置30による通信の状態とをタイミングチャートとして図示してある。実施の形態4に係る通信システム1は、トリガ信号がオフとなってエンジン制御装置20の通信が停止されている間に、電源制御装置30及びセンサユニット40の間の通信が少なくとも1回は行われる構成である。また、実施の形態3と同様に、エンジン制御装置20は、電源制御装置30及びセンサユニット40の間で通信が行われているか否かを監視することができる。
(Embodiment 4)
FIG. 12 is a schematic diagram for explaining operations of the engine control device 20 and the power supply control device 30 of the communication system 1 according to the fourth embodiment of the present invention. The trigger signal given to the engine control device 20 and the engine The state of communication by the control device 20 and the state of communication by the power supply control device 30 are shown as timing charts. In the communication system 1 according to the fourth embodiment, the communication between the power supply control device 30 and the sensor unit 40 is performed at least once while the trigger signal is turned off and the communication of the engine control device 20 is stopped. It is a structure to be called. Similarly to the third embodiment, the engine control device 20 can monitor whether communication is performed between the power supply control device 30 and the sensor unit 40.

実施の形態4に係る通信システム1は、エンジン制御装置20に与えられるトリガ信号がオンの場合には、エンジン制御装置20及びセンサユニット40の間で通信が行われ、電源制御装置30はスレーブユニットとして動作する。トリガ信号がオフとなった場合、エンジン制御装置20が通信を停止するため、電源制御装置30が必要に応じてマスターユニットとしてセンサユニット40と通信を行うことができる。これらの通信処理については、上述の実施の形態1に係る通信システム1と同様である。ただし、実施の形態4に係る通信システム1は、トリガ信号がオフからオンに変化し、エンジン制御装置20がセンサユニット40との通信を再開する場合の処理が実施の形態3の場合と異なる。   In the communication system 1 according to the fourth embodiment, when the trigger signal supplied to the engine control device 20 is on, communication is performed between the engine control device 20 and the sensor unit 40, and the power supply control device 30 is a slave unit. Works as. When the trigger signal is turned off, the engine control device 20 stops communication, so that the power supply control device 30 can communicate with the sensor unit 40 as a master unit as necessary. These communication processes are the same as those of the communication system 1 according to the first embodiment. However, in the communication system 1 according to the fourth embodiment, the process when the trigger signal changes from OFF to ON and the engine control device 20 resumes communication with the sensor unit 40 is different from that in the third embodiment.

実施の形態4に係る通信システム1のエンジン制御装置20は、トリガ信号がオフとなった場合、センサユニット40との通信を停止すると共に、電源制御装置30及びセンサユニット40で行われる通信の監視を開始する。電源制御装置30及びセンサユニット40の間で通信が行われる前にトリガ信号がオンとなった場合、エンジン制御装置20はセンサユニット40との通信を再開せずに、電源制御装置30及びセンサユニット40の間で通信が行われるまで待機し、通信の監視を継続して行う。その後、電源制御装置30及びセンサユニット40の間の通信が行われたと判定した場合、エンジン制御装置20は予め定められた所定時間Tfを待機して、センサユニット40へ通信指示を送信し、通信を再開する(図12(a)参照)。   The engine control device 20 of the communication system 1 according to the fourth embodiment stops communication with the sensor unit 40 when the trigger signal is turned off, and monitors communication performed by the power supply control device 30 and the sensor unit 40. To start. When the trigger signal is turned on before communication is performed between the power supply control device 30 and the sensor unit 40, the engine control device 20 does not resume communication with the sensor unit 40, and the power supply control device 30 and the sensor unit. It waits until communication between 40 is performed, and continues monitoring of communication. Thereafter, when it is determined that communication between the power supply control device 30 and the sensor unit 40 has been performed, the engine control device 20 waits for a predetermined time Tf, and transmits a communication instruction to the sensor unit 40 for communication. Is resumed (see FIG. 12A).

また、トリガ信号がオンとなる前に電源制御装置30及びセンサユニット40の間に通信が行われたと判定し、所定時間Tfを経過したとき、エンジン制御装置20は、トリガ信号がオンとなった場合にセンサユニット40へ通信指示を送信し、通信を再開する(図12(b)参照)。なお、図示は省略するが、トリガ信号がオンとなる前に電源制御装置30及びセンサユニット40の間に通信が行われたと判定した後、所定時間Tfを経過する前にトリガ信号がオンとなった場合には、エンジン制御装置20は所定時間Tfが経過した後に通信を再開すればよい。   Further, it is determined that communication has been performed between the power supply control device 30 and the sensor unit 40 before the trigger signal is turned on, and when the predetermined time Tf has elapsed, the engine control device 20 has turned on the trigger signal. In this case, a communication instruction is transmitted to the sensor unit 40, and communication is resumed (see FIG. 12B). Although illustration is omitted, the trigger signal is turned on before a predetermined time Tf elapses after it is determined that communication is performed between the power supply control device 30 and the sensor unit 40 before the trigger signal is turned on. In such a case, the engine control device 20 may resume communication after the predetermined time Tf has elapsed.

なお、所定時間Tfは、電源制御装置30及びセンサユニット40の間で行われる通信に要する最大の時間より大きい時間とすることが望ましい。これにより、エンジン制御装置20が通信を再開した場合に、電源制御装置30及びセンサユニット40の間で行われる通信との衝突が発生する可能性を低減できる。また、トリガ信号がオフとなってエンジン制御装置20の通信が停止されている間に、電源制御装置30及びセンサユニット40の間の通信が1回のみ行われる構成であれば、エンジン制御装置20が通信を再開した場合に、電源制御装置30及びセンサユニット40の間で行われる通信との衝突が発生することはない。   It is desirable that the predetermined time Tf be longer than the maximum time required for communication performed between the power supply control device 30 and the sensor unit 40. Thereby, when the engine control apparatus 20 restarts communication, it is possible to reduce the possibility that a collision with communication performed between the power supply control apparatus 30 and the sensor unit 40 occurs. Further, if the communication between the power control device 30 and the sensor unit 40 is performed only once while the trigger signal is turned off and the communication of the engine control device 20 is stopped, the engine control device 20 When the communication is resumed, a collision with the communication performed between the power supply control device 30 and the sensor unit 40 does not occur.

図13及び図14は、実施の形態4に係る通信システム1のエンジン制御装置20が行う通信処理の手順を示すフローチャートであり、トリガ信号がオフでエンジン制御装置20が動作していない状態からの手順を示してある。また、図示の手順においては、トリガフラグ及び通信フラグの2つのフラグを用いて処理を行うが、これらはエンジン制御装置20内のレジスタ又はメモリ等に変数として確保されるものである。トリガフラグは他の装置から与えられるトリガ信号がオンとなった場合に1に設定するフラグであり、通信フラグは電源制御装置30及びセンサユニット40の間の通信が行われたと判定した場合に1に設定するフラグである。   FIGS. 13 and 14 are flowcharts showing a communication processing procedure performed by the engine control device 20 of the communication system 1 according to the fourth embodiment, from a state in which the trigger signal is off and the engine control device 20 is not operating. The procedure is shown. In the illustrated procedure, processing is performed using two flags, a trigger flag and a communication flag, which are secured as variables in a register or a memory in the engine control device 20. The trigger flag is a flag that is set to 1 when a trigger signal supplied from another device is turned on, and the communication flag is 1 when it is determined that communication between the power supply control device 30 and the sensor unit 40 is performed. It is a flag to set.

まずエンジン制御装置20は、トリガフラグの値を0に初期化し(ステップS81)、通信フラグの値を0に初期化する(ステップS82)。次いで、エンジン制御装置20は他の装置から与えられるトリガ信号がオンであるか否かを調べ(ステップS83)、トリガ信号がオンの場合には(S83:YES)、トリガフラグの値を1に設定して(ステップS84)、ステップS85へ進む。トリガ信号がオンでない場合には(S83:NO)、エンジン制御装置20はトリガフラグを設定することなく、ステップS85へ進む。   First, the engine control device 20 initializes the value of the trigger flag to 0 (step S81), and initializes the value of the communication flag to 0 (step S82). Next, the engine control device 20 checks whether or not the trigger signal supplied from another device is on (step S83). If the trigger signal is on (S83: YES), the value of the trigger flag is set to 1. After setting (step S84), the process proceeds to step S85. If the trigger signal is not on (S83: NO), the engine control device 20 proceeds to step S85 without setting the trigger flag.

また、エンジン制御装置20は、電源制御装置30及びセンサユニット40の間の通信が行われたか否かを調べ(ステップS85)、通信が行われたと判定した場合(S85:YES)、タイマなどにより計時を開始する(ステップS86)。エンジン制御装置20は、タイマなどの計時により所定時間が経過したか否かを調べ(ステップS87)、所定時間が経過していない場合には(S87:NO)、所定時間が経過するまで待機する。所定時間が経過した場合(S87:YES)、エンジン制御装置20は、通信フラグの値を1に設定して(ステップS88)、ステップS89へ進む。またステップS85にて、電源制御装置30及びセンサユニット40の間の通信が行われていないと判定した場合(S85:NO)、エンジン制御装置20は、通信フラグを設定することなく、ステップS89へ進む。   Further, the engine control device 20 checks whether or not the communication between the power supply control device 30 and the sensor unit 40 has been performed (step S85). If it is determined that the communication has been performed (S85: YES), a timer or the like is used. Timekeeping is started (step S86). The engine control device 20 checks whether or not a predetermined time has elapsed by counting a timer or the like (step S87), and if the predetermined time has not elapsed (S87: NO), waits until the predetermined time elapses. . If the predetermined time has elapsed (S87: YES), the engine control device 20 sets the value of the communication flag to 1 (step S88), and proceeds to step S89. If it is determined in step S85 that communication between the power supply control device 30 and the sensor unit 40 is not being performed (S85: NO), the engine control device 20 proceeds to step S89 without setting the communication flag. move on.

次いで、エンジン制御装置20は、トリガフラグの値が1に設定され、且つ、通信フラグの値が1に設定されているか否かを調べ(ステップS89)、トリガフラグ又は通信フラグのいずれか一方又は両方の値が0の場合には(S89:NO)、ステップS83へ戻り、トリガ信号がオンとなり、かつ、電源制御装置30及びセンサユニット40の間の通信が行われるまでステップS83〜S89の処理を繰り返し行う。   Next, the engine control device 20 checks whether the value of the trigger flag is set to 1 and whether the value of the communication flag is set to 1 (step S89), and either the trigger flag or the communication flag or If both values are 0 (S89: NO), the process returns to step S83, the processing of steps S83 to S89 is performed until the trigger signal is turned on and communication between the power supply control device 30 and the sensor unit 40 is performed. Repeat.

トリガフラグの値が1に設定され、且つ、通信フラグの値が1に設定されている場合(S89:YES)、エンジン制御装置20は、トリガフラグの値を0に設定し(ステップS90)、通信フラグの値を0に設定して(ステップS91)、センサユニット40へ通信指示を送信し(ステップS92)、センサユニット40からの応答を受信したか否かを調べる(ステップS93)。センサユニット40からの応答を受信していない場合(S93:NO)、エンジン制御装置20は、応答を受信するまで待機する。センサユニット40からの応答を受信した場合(S93:YES)、エンジン制御装置20は受信した応答に係るエンジンの制御処理を行うと共に、他の装置から与えられるトリガ信号がオフであるか否かを調べる(ステップS94)。トリガ信号がオフでない場合(S94:NO)、エンジン制御装置20は、ステップS92へ戻り、センサユニット40との間の通信を繰り返し行う。トリガ信号がオフの場合(S94:YES)、エンジン制御装置20は、通信処理を終了して動作を停止する。   When the value of the trigger flag is set to 1 and the value of the communication flag is set to 1 (S89: YES), the engine control device 20 sets the value of the trigger flag to 0 (step S90), The value of the communication flag is set to 0 (step S91), a communication instruction is transmitted to the sensor unit 40 (step S92), and it is checked whether a response from the sensor unit 40 has been received (step S93). When the response from the sensor unit 40 has not been received (S93: NO), the engine control device 20 stands by until a response is received. When the response from the sensor unit 40 is received (S93: YES), the engine control device 20 performs an engine control process related to the received response and determines whether or not a trigger signal given from another device is OFF. Check (step S94). If the trigger signal is not OFF (S94: NO), the engine control device 20 returns to step S92 and repeats communication with the sensor unit 40. When the trigger signal is off (S94: YES), the engine control device 20 ends the communication process and stops its operation.

以上の構成の実施の形態4に係る通信システム1においては、エンジン制御装置20の通信が停止した後に電源制御装置30及びセンサユニット40の間の通信が少なくとも1回は行われる構成のとき、トリガ信号がオンし、且つ、電源制御装置30及びセンサユニット40の通信が行われていると判定してから所定時間Tfが経過した場合に、エンジン制御装置20がセンサユニット40へ通信指示を送信して通信を再開する構成とすることにより、電源制御装置30及びセンサユニット40の通信を確実に行うことができる。また、所定時間Tfを、電源制御装置30及びセンサユニット40の間で行われる通信に要する最大の時間より大きい時間とすることにより、エンジン制御装置20が通信を再開した場合に、電源制御装置30及びセンサユニット40の間で行われる通信との衝突が発生する可能性を低減できる。また、トリガ信号がオフとなってエンジン制御装置20の通信が停止されている間に、電源制御装置30及びセンサユニット40の間の通信が1回のみ行われる構成であれば、エンジン制御装置20が通信を再開した場合に、電源制御装置30及びセンサユニット40の間で行われる通信とが衝突することを回避できる。   In the communication system 1 according to the fourth embodiment having the above configuration, the trigger is set when the communication between the power supply control device 30 and the sensor unit 40 is performed at least once after the communication of the engine control device 20 is stopped. The engine control device 20 transmits a communication instruction to the sensor unit 40 when a predetermined time Tf elapses after it is determined that the signal is turned on and communication between the power supply control device 30 and the sensor unit 40 is performed. Thus, the communication between the power supply control device 30 and the sensor unit 40 can be reliably performed. Further, when the predetermined time Tf is set to be longer than the maximum time required for communication performed between the power supply control device 30 and the sensor unit 40, the power supply control device 30 can be used when the engine control device 20 resumes communication. And possibility that the collision with the communication performed between the sensor units 40 will occur can be reduced. Further, if the communication between the power control device 30 and the sensor unit 40 is performed only once while the trigger signal is turned off and the communication of the engine control device 20 is stopped, the engine control device 20 When communication resumes, it is possible to avoid a collision with communication performed between the power supply control device 30 and the sensor unit 40.

なお、実施の形態4に係る通信システム1のその他の構成は、実施の形態3に係る通信システムの構成と同様であるため、同様の箇所には同じ符号を付して詳細な説明を省略する。   In addition, since the other structure of the communication system 1 which concerns on Embodiment 4 is the same as that of the structure of the communication system which concerns on Embodiment 3, the same code | symbol is attached | subjected to the same location and detailed description is abbreviate | omitted. .

(実施の形態5)
上述の実施の形態1〜4に係る通信システム1は、電源制御装置30がエンジン制御装置20及びセンサユニット40の間の通信を監視する構成である。これに対して実施の形態5に係る通信システム1は、他の装置からエンジン制御装置20へ直接的に入力されるイグニッション(以下、単にIGという)信号などの制御信号を電源制御装置30が監視する構成である。
(Embodiment 5)
The communication system 1 according to the above-described first to fourth embodiments has a configuration in which the power supply control device 30 monitors communication between the engine control device 20 and the sensor unit 40. In contrast, in the communication system 1 according to the fifth embodiment, the power supply control device 30 monitors a control signal such as an ignition (hereinafter simply referred to as IG) signal that is directly input from another device to the engine control device 20. It is the structure to do.

また、エンジン制御装置20、電源制御装置30及びセンサユニット40は通信線5を介してLINのプロトコルのシリアル通信を行うが、LINのプロトコルではマスターノードとして通信を行う装置は、通信線の終端に標準1kΩのプルアップ抵抗を接続する必要があり、スレーブノードとして通信を行う装置は、通信線の終端に標準30kΩのプルアップ抵抗を接続する必要がある。そこで、実施の形態5に係る通信システム1の電源制御装置30は、マスターノードとして動作する場合と、スレーブノードとして動作する場合とでプルアップの抵抗値を変更する機能を備える。   The engine control device 20, the power supply control device 30, and the sensor unit 40 perform serial communication of the LIN protocol via the communication line 5. In the LIN protocol, a device that performs communication as a master node is connected to the end of the communication line. A standard 1 kΩ pull-up resistor needs to be connected, and a device that performs communication as a slave node needs to connect a standard 30 kΩ pull-up resistor to the end of the communication line. Therefore, the power supply control device 30 of the communication system 1 according to the fifth embodiment has a function of changing the pull-up resistance value when operated as a master node and when operated as a slave node.

図15は、本発明の実施の形態5に係る通信システム1の通信処理を説明するための模式図であり、通信システム1においてエンジン制御装置20、電源制御装置30及び1つのセンサユニット40のみを抜き出し、装置間の通信を矢印で模式的に図示したものである。また図16は、本発明の実施の形態5に係る通信システム1エンジン制御装置20及び電源制御装置30の動作を説明するための模式図であり、エンジン制御装置20に与えられるIG信号と、エンジン制御装置20の動作状態と、電源制御装置30の動作状態とをタイミングチャートとして図示してある。   FIG. 15 is a schematic diagram for explaining communication processing of the communication system 1 according to the fifth embodiment of the present invention. In the communication system 1, only the engine control device 20, the power supply control device 30, and one sensor unit 40 are included. The communication between the apparatuses is schematically illustrated by arrows. FIG. 16 is a schematic diagram for explaining operations of the communication system 1 engine control device 20 and the power supply control device 30 according to the fifth embodiment of the present invention. The IG signal given to the engine control device 20 and the engine The operation state of the control device 20 and the operation state of the power supply control device 30 are shown as timing charts.

エンジン制御装置20へ与えられるIG信号は、車輌のイグニッションスイッチに係る信号であり、運転者によってイグニッションスイッチがオンされ、エンジンが動作している場合、IG信号は”H”である。またイグニッションスイッチがオフされて、エンジンが停止している場合、IG信号は”L”である。   The IG signal given to the engine control device 20 is a signal related to the ignition switch of the vehicle. When the ignition switch is turned on by the driver and the engine is operating, the IG signal is “H”. When the ignition switch is turned off and the engine is stopped, the IG signal is “L”.

エンジン制御装置20は、車輌のエンジン制御を行う装置であるため、エンジンが動作していない場合にはスリープモードなどの待機状態へ遷移して動作を停止し、エンジンが動作している場合にのみ稼働状態へ遷移して動作する。即ち、エンジン制御装置20は、IG信号が”H”の場合に稼働状態として動作し、マスターノードとしてセンサユニット40との通信を行ってエンジンの制御処理を行う。また、IG信号が”L”の場合には、エンジン制御装置20は待機状態となり、動作を停止するため、エンジン制御装置20及びセンサユニット40の通信は行われない。   Since the engine control device 20 is a device that controls the engine of the vehicle, when the engine is not operating, the engine control device 20 shifts to a standby state such as a sleep mode and stops its operation, and only when the engine is operating. It moves to the operating state and operates. That is, the engine control device 20 operates as an operating state when the IG signal is “H”, and performs communication with the sensor unit 40 as a master node to perform engine control processing. When the IG signal is “L”, the engine control device 20 enters a standby state and stops its operation, so that communication between the engine control device 20 and the sensor unit 40 is not performed.

電源制御装置30は、IG信号が与えられており、IG信号に応じてエンジン制御装置20が稼働状態又は待機状態のいずれであるかを判断することができる。そこで電源制御装置30は、IG信号が”H”であり、エンジン制御装置20が稼働状態である場合には、スレーブノードとして動作し、エンジン制御装置20からの通信指示に対して応答を送信する。また電源制御装置30は、IG信号が”L”であり、エンジン制御装置20が待機状態である場合には、マスターノードとして動作し、センサユニット40へ通信指示を与え、これに対する応答を受信することで通信を行う。   The power supply control device 30 is provided with an IG signal, and can determine whether the engine control device 20 is in an operating state or a standby state according to the IG signal. Therefore, when the IG signal is “H” and the engine control device 20 is in an operating state, the power supply control device 30 operates as a slave node and transmits a response to the communication instruction from the engine control device 20. . Further, when the IG signal is “L” and the engine control device 20 is in a standby state, the power supply control device 30 operates as a master node, gives a communication instruction to the sensor unit 40, and receives a response thereto. To communicate.

IG信号の立ち下がりにおいて、エンジン制御装置20は稼働状態から待機状態へ遷移し、電源制御装置30はスレーブノードからマスターノードへ遷移する。このとき、エンジン制御装置20がIG信号の変化を検知する電圧は、電源制御装置30がIG信号の変化を検知する電圧より高く設定されている。これにより、IG信号の立ち下がりに対して先にエンジン制御装置20を待機状態へ遷移させ、その後に電源制御装置30をマスターノードへ遷移させることができる。よって、マスターノードであるエンジン制御装置20が動作し、且つ、電源制御装置30がマスターノードとして動作する期間が発生することを防止できる。   At the fall of the IG signal, the engine control device 20 changes from the operating state to the standby state, and the power supply control device 30 changes from the slave node to the master node. At this time, the voltage at which the engine control device 20 detects the change in the IG signal is set higher than the voltage at which the power supply control device 30 detects the change in the IG signal. Thereby, engine control device 20 can be shifted to the standby state first with respect to the fall of the IG signal, and then power supply control device 30 can be shifted to the master node. Therefore, it is possible to prevent a period in which the engine control device 20 as a master node operates and the power supply control device 30 operates as a master node.

またIG信号の立ち上がりにおいて、エンジン制御装置20は待機状態から稼働状態へ遷移し、電源制御装置30はマスターノードからスレーブノードへ遷移する。このとき、エンジン制御装置20がIG信号の変化を検知する電圧は、電源制御装置30がIG信号の変化を検知する電圧より高く設定されている。これにより、IG信号の立ち上がりに対して先に電源制御装置30をスレーブノードへ遷移させ、その後にエンジン制御装置20を稼働状態へ遷移させることができる。よって、マスターノードであるエンジン制御装置20が動作し、且つ、電源制御装置30がマスターノードとして動作する期間が発生することを防止できる。   Further, at the rise of the IG signal, the engine control device 20 changes from the standby state to the operating state, and the power supply control device 30 changes from the master node to the slave node. At this time, the voltage at which the engine control device 20 detects the change in the IG signal is set higher than the voltage at which the power supply control device 30 detects the change in the IG signal. Thereby, the power supply control device 30 can be shifted to the slave node first with respect to the rising edge of the IG signal, and then the engine control device 20 can be shifted to the operating state. Therefore, it is possible to prevent a period in which the engine control device 20 as a master node operates and the power supply control device 30 operates as a master node.

図17は、本発明の実施の形態5に係る通信システム1のエンジン制御装置20が行う通信処理の手順を示すフローチャートであり、IG信号が”L”である場合からの手順を示してある。まずエンジン制御装置20は、IG信号が”L”であるため待機状態として動作し、他の装置から与えられるIG信号が”H”であるか否かを判定する(ステップS101)。IG信号が”L”の場合(S101:NO)、エンジン制御装置20はステップS101へ戻り、IG信号が”H”に変化するまで待機状態を維持する。   FIG. 17 is a flowchart showing a procedure of communication processing performed by the engine control device 20 of the communication system 1 according to the fifth embodiment of the present invention, and shows a procedure after the IG signal is “L”. First, the engine control device 20 operates in a standby state because the IG signal is “L”, and determines whether or not the IG signal given from another device is “H” (step S101). When the IG signal is “L” (S101: NO), the engine control device 20 returns to step S101 and maintains the standby state until the IG signal changes to “H”.

IG信号が”H”の場合(S101:YES)、エンジン制御装置20は、稼働状態へ遷移し、センサユニット40への通信指示の送信及びこれに対する応答の受信等の通信処理を必要に応じて行う(ステップS102)。次いでエンジン制御装置20は、IG信号が”L”であるか否かを判定し(ステップS103)、IG信号が”H”の場合(S103:NO)、ステップS102へ戻り、IG信号が”L”に変化するまで稼働状態として動作し、通信処理を行う。   When the IG signal is “H” (S101: YES), the engine control device 20 transitions to an operating state, and performs communication processing such as transmission of a communication instruction to the sensor unit 40 and reception of a response thereto as necessary. Perform (step S102). Next, the engine control device 20 determines whether or not the IG signal is “L” (step S103). If the IG signal is “H” (S103: NO), the process returns to step S102, and the IG signal is “L”. It operates as an operating state until it changes to "" and performs communication processing.

IG信号が”L”の場合(S103:YES)、エンジン制御装置20は、待機状態へ遷移して処理を終了する。なお実際には、エンジン制御装置20は、図示のフローチャートの処理を繰り返し行っており、処理の終了後、ステップS101へ戻って上述の処理を繰り返し行っている。   If the IG signal is “L” (S103: YES), the engine control device 20 transitions to a standby state and ends the process. Actually, the engine control device 20 repeatedly performs the processing of the flowchart shown in the drawing, and after the processing is completed, the process returns to step S101 to repeatedly perform the above-described processing.

図18は、本発明の実施の形態5に係る通信システム1の電源制御装置30が行う通信処理の手順を示すフローチャートである。まず電源制御装置30は、スレーブノードとして動作し、エンジン制御装置20へ与えられるIG信号が”L”であるか否かを判定する(ステップS111)。   FIG. 18 is a flowchart showing a communication process performed by the power supply control device 30 of the communication system 1 according to the fifth embodiment of the present invention. First, the power supply control device 30 operates as a slave node, and determines whether or not the IG signal given to the engine control device 20 is “L” (step S111).

IG信号が”H”の場合(S111:NO)、電源制御装置30はエンジン制御装置20からの通信指示を受信したか否かを判定する(ステップS112)。電源制御装置30は、通信指示を受信した場合(S112:YES)、応答を送信して(ステップS113)、また、通信指示を受信していない場合には(S112:NO)、応答を送信せずに、ステップS111へ戻り、IG信号が”H”に変化するまでスレーブノードとして通信を行う。   When the IG signal is “H” (S111: NO), the power supply control device 30 determines whether or not a communication instruction from the engine control device 20 has been received (step S112). When receiving the communication instruction (S112: YES), the power supply control device 30 transmits a response (step S113). When the communication instruction is not received (S112: NO), the power supply control apparatus 30 transmits the response. Without returning to step S111, communication is performed as a slave node until the IG signal changes to “H”.

IG信号が”L”の場合(S111:YES)、電源制御装置30は、マスターノードへ移行し、センサユニット40との通信が必要であるか否かを判定する(ステップS114)。センサユニット40との通信が必要な場合(S114:YES)、電源制御装置30は、センサユニット40へ通信指示を送信し(ステップS115)、センサユニット40からの応答を受信したか否かを判定する(ステップS116)。応答を受信していない場合(S116:NO)、電源制御装置30は応答を受信するまで待機する。   When the IG signal is “L” (S111: YES), the power supply control device 30 shifts to the master node and determines whether communication with the sensor unit 40 is necessary (step S114). When communication with the sensor unit 40 is necessary (S114: YES), the power supply control device 30 transmits a communication instruction to the sensor unit 40 (step S115), and determines whether a response from the sensor unit 40 has been received. (Step S116). If no response has been received (S116: NO), the power supply control device 30 waits until a response is received.

センサユニット40からの応答を受信した場合(S116:YES)、又は、センサユニット40との通信が必要でない場合(S114:NO)、電源制御装置30は、IG信号が”H”であるか否かを判定する(ステップS117)。IG信号が”L”の場合(S117:NO)、電源制御装置30は、ステップS114へ戻り、マスターノードとして動作して、必要に応じてセンサユニット40との通信を行う。   When the response from the sensor unit 40 is received (S116: YES), or when communication with the sensor unit 40 is not required (S114: NO), the power supply control device 30 determines whether the IG signal is “H”. Is determined (step S117). When the IG signal is “L” (S117: NO), the power supply control device 30 returns to step S114, operates as a master node, and communicates with the sensor unit 40 as necessary.

IG信号が”H”の場合(S117:YES)、電源制御装置30は、スレーブノードへ移行して処理を終了する。なお実際には、電源制御装置30は、図示のフローチャートの処理を繰り返し行っており、処理の終了後、ステップS111へ戻って上述の処理を繰り返し行っている。   When the IG signal is “H” (S117: YES), the power supply control device 30 shifts to the slave node and ends the process. Actually, the power supply control device 30 repeatedly performs the processing of the illustrated flowchart, and after the processing is completed, the processing returns to step S111 to repeatedly perform the above-described processing.

図19は、本発明の実施の形態5に係る通信システムの電源制御装置30の構成を示す回路図であり、LINのプロトコルによる通信機能に係る回路のみを抽出して図示してある。電源制御装置30は、上述のフローチャートに係る処理及びその他の処理を行うマイコン31と、LINのプロトコルに従って通信を行う通信IC(Integrated Circuit)32と、IG信号が入力される入力端子33と、LINバスとして用いられる通信線5が接続される接続端子34とを備えている。   FIG. 19 is a circuit diagram showing a configuration of the power supply control device 30 of the communication system according to the fifth embodiment of the present invention, and only the circuit related to the communication function based on the LIN protocol is extracted and shown. The power supply control device 30 includes a microcomputer 31 that performs the processing according to the above-described flowchart and other processing, a communication IC (Integrated Circuit) 32 that performs communication according to the LIN protocol, an input terminal 33 to which an IG signal is input, a LIN And a connection terminal 34 to which a communication line 5 used as a bus is connected.

なお、図示の回路は、通信IC32としてPHILIPS社製のLINトランシーバであるTJA1020を用いて構成されている。ただし、これは一例であって、その他のLINトランシーバを用いてもよい。   The circuit shown in the figure is configured using a TJA1020, which is a LIN transceiver manufactured by PHILIPS, as the communication IC 32. However, this is an example, and other LIN transceivers may be used.

通信IC32は、RXD、NSLP、NWAKE、TXD、GND、LIN、BAT及びINHの8つの端子を有するICである。RXD端子は、LINによる通信で受信したデータを出力する端子であり、マイコン31に接続されている。TXD端子は、LINによる通信で送信するデータを入力する端子であり、マイコン31に接続され、マイコン31から送信データが与えられる。NSLP端子は、マイコン31からの制御信号が入力されており、これにより通信IC32の動作が制御されている。   The communication IC 32 is an IC having eight terminals of RXD, NSLP, NWAKE, TXD, GND, LIN, BAT, and INH. The RXD terminal is a terminal that outputs data received through communication by LIN, and is connected to the microcomputer 31. The TXD terminal is a terminal for inputting data to be transmitted by LIN communication. The TXD terminal is connected to the microcomputer 31 and receives transmission data from the microcomputer 31. The NSLP terminal is supplied with a control signal from the microcomputer 31, thereby controlling the operation of the communication IC 32.

また、BAT端子は、通信IC32に電力を供給するための端子であり、車輌に搭載されたバッテリのプラス側端子(以下、バッテリ電源+Bという)に接続されると共に、コンデンサC3を介して接地電位に接続されている。NWAKE端子は、通信IC32をスリープモードから復帰(ウェイクアップ)させる制御信号を入力するための端子であり、本回路では使用しないため抵抗R3を介してバッテリ電源+Bに接続されている。INH端子は、BAT端子に供給されるバッテリ電源+Bを安定化して出力する端子であり、出力電圧はバッテリ電源+Bの電圧に略等しい。LIN端子は、LINバス(即ち、通信線5)に接続される端子であり、電源制御装置30の接続端子34に接続されている。GND端子は、接地電位に接続されている。   The BAT terminal is a terminal for supplying power to the communication IC 32. The BAT terminal is connected to a positive terminal (hereinafter referred to as a battery power supply + B) of a battery mounted on the vehicle, and is connected to a ground potential via a capacitor C3. It is connected to the. The NWAKE terminal is a terminal for inputting a control signal for returning (wakes up) the communication IC 32 from the sleep mode. Since the NWAKE terminal is not used in this circuit, the NWAKE terminal is connected to the battery power source + B via the resistor R3. The INH terminal is a terminal that stabilizes and outputs the battery power supply + B supplied to the BAT terminal, and the output voltage is substantially equal to the voltage of the battery power supply + B. The LIN terminal is a terminal connected to the LIN bus (that is, the communication line 5), and is connected to the connection terminal 34 of the power supply control device 30. The GND terminal is connected to the ground potential.

電源制御装置30の入力端子33は、ダイオードD1のアノードに接続されると共に、コンデンサC1を介して接地電位に接続されている。ダイオードD1のカソードは、抵抗R4を介して接地電位に接続され、抵抗R5を介してマイコン31の端子に接続されている。またダイオードD1のカソードは、Pチャネル型電界効果トランジスタ(以下、単にFET(Field Effect Transistor)1という)のゲートに接続されている。   The input terminal 33 of the power supply control device 30 is connected to the anode of the diode D1 and is connected to the ground potential via the capacitor C1. The cathode of the diode D1 is connected to the ground potential via the resistor R4, and is connected to the terminal of the microcomputer 31 via the resistor R5. The cathode of the diode D1 is connected to the gate of a P-channel field effect transistor (hereinafter simply referred to as FET (Field Effect Transistor) 1).

FET1のソースは通信IC32のINH端子に接続されており、バッテリ電源+Bが供給されている。またFET1のゲート−ソース間には保護用のツェナーダイオードZD1が接続されており(詳しくは、ツェナーダイオードZD1のアノードがFET1のゲートに接続され、カソードがソースに接続されており)、FET1のドレインはダイオードD2のアノードに接続されている。   The source of the FET 1 is connected to the INH terminal of the communication IC 32, and battery power + B is supplied. A protective Zener diode ZD1 is connected between the gate and source of FET 1 (more specifically, the anode of Zener diode ZD1 is connected to the gate of FET 1 and the cathode is connected to the source), and the drain of FET 1 Is connected to the anode of the diode D2.

ダイオードD2のカソードは、抵抗R1を介して電源制御装置30の接続端子34に接続されている。接続端子34は、電源制御装置30内において通信IC32のLIN端子に接続され、コンデンサC5を介して接地電位に接続され、2つのツェナーダイオードZD2及びZD3を介して接地電位に接続されている(詳しくは、接続端子34はツェナーダイオードZD2のアノードに接続され、ツェナーダイオードZD2のカソードはツェナーダイオードZD3のカソードに接続され、ツェナーダイオードZD3のアノードは接地電位に接続されている)。また接続端子34は、電源制御装置30外において通信線5に接続されている。   The cathode of the diode D2 is connected to the connection terminal 34 of the power supply control device 30 via the resistor R1. The connection terminal 34 is connected to the LIN terminal of the communication IC 32 in the power supply control device 30, is connected to the ground potential via the capacitor C5, and is connected to the ground potential via the two Zener diodes ZD2 and ZD3 (details). The connection terminal 34 is connected to the anode of the Zener diode ZD2, the cathode of the Zener diode ZD2 is connected to the cathode of the Zener diode ZD3, and the anode of the Zener diode ZD3 is connected to the ground potential). The connection terminal 34 is connected to the communication line 5 outside the power supply control device 30.

抵抗R1の抵抗値は約1kΩである。LINの規格ではマスターノードとして動作する装置はLINバス(通信線5)を1kΩのプルアップ抵抗でプルアップする必要があり、抵抗R1はこのプルアップ抵抗として用いられる。抵抗R1はダイオードD2及びFET1を介してバッテリ電源+Bに接続されているため、FET1のオン/オフを制御することによって、LINバスの1kΩでのプルアップを行うか否かを制御することができる。なお、スレーブノードとして動作する装置はLINバスを30kΩのプルアップ抵抗でプルアップする必要があるが、このプルアップ抵抗は通信IC32に内蔵されているため、図19においては図示を省略してある。   The resistance value of the resistor R1 is about 1 kΩ. In the LIN standard, a device operating as a master node needs to pull up the LIN bus (communication line 5) with a pull-up resistor of 1 kΩ, and the resistor R1 is used as this pull-up resistor. Since the resistor R1 is connected to the battery power supply + B via the diode D2 and the FET1, it is possible to control whether or not the LIN bus is pulled up by controlling the on / off of the FET1. . Note that a device operating as a slave node needs to pull up the LIN bus with a 30 kΩ pull-up resistor, but this pull-up resistor is built in the communication IC 32, and is not shown in FIG. 19. .

他の装置から電源制御装置30の入力端子33へ入力されるIG信号は、バッテリ電源+Bの電圧を”H”とし、接地電位を”L”とするデジタル信号である。IG信号が”H”の場合、FET1のゲート−ソース間の電圧は0Vであるため、FET1はオフし、抵抗R1によるLINバスのプルアップは行われない。なお、このときエンジン制御装置20は稼働状態であり、電源制御装置30はスレーブノードとして動作する。   The IG signal input from another device to the input terminal 33 of the power supply control device 30 is a digital signal that sets the voltage of the battery power supply + B to “H” and the ground potential to “L”. When the IG signal is “H”, the voltage between the gate and the source of the FET 1 is 0 V, so the FET 1 is turned off and the LIN bus is not pulled up by the resistor R1. At this time, the engine control device 20 is in an operating state, and the power supply control device 30 operates as a slave node.

また、IG信号が”L”の場合、FET1のゲート−ソース間の電圧はバッテリ電源+Bの電圧となり、FET1がオンし、抵抗R1によるLINバスのプルアップが行われる。なお、このときエンジン制御装置20は待機状態であり、電源制御装置30はマスターノードとして動作する。   When the IG signal is “L”, the voltage between the gate and the source of the FET 1 becomes the voltage of the battery power source + B, the FET 1 is turned on, and the LIN bus is pulled up by the resistor R 1. At this time, the engine control device 20 is in a standby state, and the power supply control device 30 operates as a master node.

以上の構成の実施の形態5に係る通信システム1は、エンジン制御装置20がIG信号に応じて稼働状態又は待機状態の切り替えを行う構成の場合に、エンジン制御装置20へ与えられるIG信号を電源制御装置30が監視し、IG信号の状態に応じて電源制御装置30がマスターノード又はスレーブノードの切り替えを行う構成とすることにより、エンジン制御装置20及びセンサユニット40の通信と、マスターノードとしての電源制御装置30及びセンサユニット40の通信とが衝突することを回避できる。   In the communication system 1 according to the fifth embodiment having the above-described configuration, when the engine control device 20 is configured to switch between the operating state and the standby state according to the IG signal, the IG signal supplied to the engine control device 20 is supplied as a power source. The control device 30 monitors and the power supply control device 30 switches the master node or the slave node according to the state of the IG signal so that the communication between the engine control device 20 and the sensor unit 40 and the master node can be performed. It is possible to avoid a collision between the communication between the power supply control device 30 and the sensor unit 40.

また、LINバス(通信線5)をプルアップするための抵抗R1にFET1を直列接続して、FET1によりバッテリ電源+Bに接続/遮断する構成とし、FET1のオン/オフをIG信号により行うことによって、IG信号が”H”となり、電源制御装置30がマスターノードとして動作する場合には、抵抗R1による1kΩのプルアップを行うことができるため、LINの規格に従った通信を電源制御装置30が行うことができる。   Also, FET1 is connected in series to a resistor R1 for pulling up the LIN bus (communication line 5), and the FET1 is connected / cut off to the battery power supply + B, and the FET1 is turned on / off by an IG signal. When the IG signal becomes “H” and the power supply control device 30 operates as a master node, 1 kΩ pull-up can be performed by the resistor R1, so that the power supply control device 30 performs communication according to the LIN standard. It can be carried out.

なお、実施の形態1〜4に係る通信システム1についても同様に、電源制御装置30がマスターノードとして通信を行う場合に、1kΩのプルアップを行う構成とすることができる。例えば、図19に示す回路図において、FET1のゲートをマイコン31の端子に接続し、マイコン31がFET1のオン/オフの制御を行う構成とすればよい。   Similarly, the communication system 1 according to the first to fourth embodiments can be configured to perform 1 kΩ pull-up when the power supply control device 30 performs communication as a master node. For example, in the circuit diagram shown in FIG. 19, the gate of the FET 1 may be connected to the terminal of the microcomputer 31 so that the microcomputer 31 controls the on / off of the FET 1.

なお、実施の形態5に係る通信システム1のその他の構成は、実施の形態1に係る通信システムの構成と同様であるため、同様の箇所には同じ符号を付して詳細な説明を省略する。   In addition, since the other structure of the communication system 1 which concerns on Embodiment 5 is the same as that of the structure of the communication system which concerns on Embodiment 1, the same code | symbol is attached | subjected to the same location and detailed description is abbreviate | omitted. .

(変形例1)
図20は、本発明の実施の形態5の変形例1に係る通信システムの電源制御装置30の構成を示す回路図である。なお、図20に示す回路は、図19と同様の構成の部分について一部図示を省略してある。変形例1の電源制御装置30は、IG信号の電圧を分圧する分圧回路35を有している。分圧回路35は、ダイオードD1のカソード及び接地電位の間に直列接続された抵抗R11及びR12で構成され、抵抗R11及びR12の間の電位を出力電位としてある。分圧回路35の出力はバイポーラトランジスタT11のベースへ与えられている。
(Modification 1)
FIG. 20 is a circuit diagram showing a configuration of power supply control device 30 of the communication system according to Modification 1 of Embodiment 5 of the present invention. Note that part of the circuit shown in FIG. 20 is omitted for the part having the same configuration as that of FIG. The power supply control device 30 of Modification 1 includes a voltage dividing circuit 35 that divides the voltage of the IG signal. The voltage dividing circuit 35 includes resistors R11 and R12 connected in series between the cathode of the diode D1 and the ground potential, and uses the potential between the resistors R11 and R12 as an output potential. The output of the voltage dividing circuit 35 is given to the base of the bipolar transistor T11.

バイポーラトランジスタT11のエミッタは接地電位に接続され、コレクタは抵抗R13を介してバイポーラトランジスタT12のベースに接続されている。バイポーラトランジスタT12のエミッタは通信IC32のINH端子(即ち、バッテリ電源+B)に接続され、バイポーラトランジスタT12のベース−エミッタ間には抵抗R14が接続されている。またバイポーラトランジスタT12のコレクタは、FET1のゲートに接続されると共に、抵抗R15を介して接地電位に接続されている。   The emitter of the bipolar transistor T11 is connected to the ground potential, and the collector is connected to the base of the bipolar transistor T12 via a resistor R13. The emitter of the bipolar transistor T12 is connected to the INH terminal (ie, battery power supply + B) of the communication IC 32, and the resistor R14 is connected between the base and emitter of the bipolar transistor T12. The collector of the bipolar transistor T12 is connected to the gate of the FET1 and is connected to the ground potential via the resistor R15.

FET1のソースは通信IC32のINH端子に接続され、ゲート−ソース間にはツェナーダイオードZD1が接続されている。またFET1のドレインはダイオードD2のアノードに接続され、ダイオードD2のカソードは並列に接続された抵抗R1を介して電源制御装置30の接続端子34に(即ち、LINバスである通信線5に)接続されている。   The source of the FET1 is connected to the INH terminal of the communication IC 32, and a Zener diode ZD1 is connected between the gate and the source. The drain of the FET 1 is connected to the anode of the diode D2, and the cathode of the diode D2 is connected to the connection terminal 34 of the power supply control device 30 (that is, to the communication line 5 that is a LIN bus) via the resistor R1 connected in parallel. Has been.

IG信号が”L”の場合、バイポーラトランジスタT11のベース−エミッタ間の電圧は0Vであるため、バイポーラトランジスタT11はオフする。またバイポーラトランジスタT12のベース−エミッタ間の電圧も0Vとなり、バイポーラトランジスタT12はオフする。これにより、FET1のゲートの電位が0Vとなるため、FET1がオンし、抵抗R1によるプルアップが行われる。   When the IG signal is “L”, since the voltage between the base and the emitter of the bipolar transistor T11 is 0V, the bipolar transistor T11 is turned off. Further, the voltage between the base and the emitter of the bipolar transistor T12 becomes 0V, and the bipolar transistor T12 is turned off. As a result, the gate potential of the FET 1 becomes 0 V, so that the FET 1 is turned on and a pull-up is performed by the resistor R1.

その後、IG信号が”L”から”H”へ変化する際には、電源制御装置30の入力端子33の電位が上昇し、分圧回路35の出力電圧が上昇する。よってバイポーラトランジスタT11のベース−エミッタ間の電圧が上昇し、この電圧が閾値を超えた段階でバイポーラトランジスタT11がオンする。バイポーラトランジスタT11がオンするとバッテリ電源+Bから抵抗R14及びR13に電流が流れるため、抵抗R14での電圧降下によりバイポーラトランジスタT12のベース−エミッタ間の電圧が上昇し、バイポーラトランジスタT12がオンする。これによりFET1のゲートの電位がバッテリ電源+Bの電位に上昇し、ゲート−ソース間の電圧が0Vとなるため、FET1がオフし、抵抗R1によるプルアップは行われない。   Thereafter, when the IG signal changes from “L” to “H”, the potential of the input terminal 33 of the power supply control device 30 rises, and the output voltage of the voltage dividing circuit 35 rises. Therefore, the voltage between the base and the emitter of the bipolar transistor T11 increases, and the bipolar transistor T11 is turned on when this voltage exceeds the threshold value. When the bipolar transistor T11 is turned on, a current flows from the battery power source + B to the resistors R14 and R13. Therefore, a voltage drop at the resistor R14 increases the voltage between the base and the emitter of the bipolar transistor T12, and the bipolar transistor T12 is turned on. As a result, the gate potential of the FET 1 rises to the potential of the battery power source + B, and the voltage between the gate and the source becomes 0 V. Therefore, the FET 1 is turned off and the pull-up by the resistor R1 is not performed.

更にその後、IG信号が”H”から”L”へ変化する際には、分圧回路35の出力電圧が下降し、ベース−エミッタ間の電圧が閾値を下回った段階でバイポーラトランジスタT11がオフし、上述のようにFET1がオンするため、抵抗R1によるプルアップが行われる。   After that, when the IG signal changes from “H” to “L”, the output voltage of the voltage dividing circuit 35 decreases, and the bipolar transistor T11 is turned off when the voltage between the base and the emitter falls below the threshold value. Since the FET 1 is turned on as described above, pull-up is performed by the resistor R1.

このように、バイポーラトランジスタT11がオフするとFET1がオンし、逆にバイポーラトランジスタT11がオンするとFET1がオフするため、バイポーラトランジスタT11のオン/オフのタイミングを制御することによって、抵抗R1によるプルアップのタイミングを制御することができる。バイポーラトランジスタT11のオン/オフのタイミングは、分圧回路35の出力電圧がバイポーラトランジスタT11の閾値を超える/下回るタイミングに依存しているため、分圧回路35の抵抗R11及びR12の抵抗値(分圧比)を調整することによって、プルアップのタイミングを調整することができる。   As described above, when the bipolar transistor T11 is turned off, the FET 1 is turned on. Conversely, when the bipolar transistor T11 is turned on, the FET 1 is turned off. Therefore, the pull-up of the resistor R1 is controlled by controlling the on / off timing of the bipolar transistor T11. Timing can be controlled. Since the on / off timing of the bipolar transistor T11 depends on the timing at which the output voltage of the voltage dividing circuit 35 exceeds / belows the threshold value of the bipolar transistor T11, the resistance values (divided by the resistors R11 and R12 of the voltage dividing circuit 35) The pull-up timing can be adjusted by adjusting the pressure ratio.

分圧回路35の分圧比を適切に調整することによって、図16に示すように、IG信号の変化に対するエンジン制御装置20の稼働状態/待機状態の切替タイミングと、電源制御装置30のスレーブノード/マスターノードの切替タイミングをずらすことができる。即ち、エンジン制御装置20が切り替えを行うIG信号の電圧より、電源制御装置30が切り替えを行うIG信号の電圧を低い電圧とすることができる。これにより、よって、マスターノードであるエンジン制御装置20が動作し、且つ、電源制御装置30がマスターノードとして動作する期間が発生することを防止できる。   By appropriately adjusting the voltage dividing ratio of the voltage dividing circuit 35, as shown in FIG. 16, the switching timing of the operating state / standby state of the engine control device 20 with respect to the change of the IG signal, and the slave node / Master node switching timing can be shifted. That is, the voltage of the IG signal that is switched by the power supply control device 30 can be made lower than the voltage of the IG signal that is switched by the engine control device 20. Thus, it is possible to prevent the engine control device 20 that is a master node from operating and the power control device 30 from operating as a master node.

(変形例2)
図21は、本発明の実施の形態5の変形例2に係る通信システムの電源制御装置30の構成を示す回路図である。変形例2の電源制御装置3は、図19に示す変形例1の電源制御装置30の回路にコンデンサC21及びNチャネル型電界効果トランジスタ(以下、単にFET2という)を追加した構成である。
(Modification 2)
FIG. 21 is a circuit diagram showing a configuration of power supply control device 30 of the communication system according to Modification 2 of Embodiment 5 of the present invention. The power supply control device 3 of Modification 2 has a configuration in which a capacitor C21 and an N-channel field effect transistor (hereinafter simply referred to as FET2) are added to the circuit of the power supply control device 30 of Modification 1 shown in FIG.

コンデンサC21は、一端が電源制御装置30の接続端子34に(即ち、LINバスである通信線5に)接続され、他端がFET2のドレインに接続されている。FET2のソースは接地電位に接続され、ゲートはマイコン31の端子に接続されている。なお、コンデンサC5の容量は約220pFであり、コンデンサC21の容量は約1nFである。   One end of the capacitor C21 is connected to the connection terminal 34 of the power supply control device 30 (that is, the communication line 5 that is a LIN bus), and the other end is connected to the drain of the FET2. The source of the FET 2 is connected to the ground potential, and the gate is connected to the terminal of the microcomputer 31. The capacity of the capacitor C5 is about 220 pF, and the capacity of the capacitor C21 is about 1 nF.

LINの規格では、スレーブノードとして通信を行う装置におけるLINバスの終端の容量は標準220pFであり、マスターノードとして通信を行う装置における容量はスレーブノードの約10倍であることが推奨されている。そこで変形例2の電源制御装置30では、FET2をオン/オフすることでLINバスに対する容量を増減する。   In the LIN standard, it is recommended that the capacity of the terminal of the LIN bus in a device that performs communication as a slave node is 220 pF as standard, and the capacity in a device that performs communication as a master node is approximately 10 times that of a slave node. Therefore, in the power supply control device 30 of the second modification, the capacitance with respect to the LIN bus is increased or decreased by turning on / off the FET2.

マイコン31は、IG信号が”H”であり、電源制御装置30がスレーブノードとして動作する場合には、FET2をオフする制御を行う。またマイコン31は、IG信号が”L”であり、電源制御装置30がマスターノードとして動作する場合には、FET2をオンする制御を行って、コンデンサC21によりLINバスの容量を増加させる。   The microcomputer 31 performs control to turn off the FET 2 when the IG signal is “H” and the power supply control device 30 operates as a slave node. Further, when the IG signal is “L” and the power supply control device 30 operates as a master node, the microcomputer 31 controls to turn on the FET 2 and increases the capacity of the LIN bus by the capacitor C21.

以上により、変形例2の電源制御装置30は、マスターノードとして動作する場合と、スレーブノードとして動作する場合とでLINバスの容量を変更することができるため、LINの規格に適した通信を行うことができる。なお、実施の形態1〜4に係る通信システム1についても同様に、電源制御装置30がLINバスの容量を変更する構成とすることができる。   As described above, the power supply control device 30 according to the second modification can change the capacity of the LIN bus between the case of operating as a master node and the case of operating as a slave node, and therefore performs communication suitable for the LIN standard. be able to. Similarly, the communication system 1 according to the first to fourth embodiments can be configured such that the power supply control device 30 changes the capacity of the LIN bus.

(変形例3)
図22は、本発明の実施の形態5の変形例3に係る通信システムの電源制御装置30の構成を示す回路図である。図21に示した変形例2の電源制御装置30は、マイコン31がFET2のオン/オフを制御する構成である。これに対して変形例3の電源制御装置30は、FET2のオン/オフをFET1のオン/オフに連動して行う構成である。
(Modification 3)
FIG. 22 is a circuit diagram showing a configuration of power supply control device 30 of the communication system according to Modification 3 of Embodiment 5 of the present invention. The power supply control device 30 of Modification 2 shown in FIG. 21 has a configuration in which the microcomputer 31 controls on / off of the FET 2. On the other hand, the power supply control device 30 of Modification 3 is configured to turn on / off the FET 2 in conjunction with the on / off of the FET 1.

変形例3の電源制御装置30は、変形例2と同様に、コンデンサC21の一端が接続端子34に(即ち、LINバスである通信線5に)接続され、他端がFET2のドレインに接続されていると共に、FET2のソースが接地電位に接続されている。なお、コンデンサC5の容量は約220pFであり、コンデンサC21の容量は約1nFである。   In the power supply control device 30 of Modification 3, as in Modification 2, one end of the capacitor C21 is connected to the connection terminal 34 (that is, the communication line 5 that is a LIN bus), and the other end is connected to the drain of the FET2. In addition, the source of the FET 2 is connected to the ground potential. The capacity of the capacitor C5 is about 220 pF, and the capacity of the capacitor C21 is about 1 nF.

また、FET1のドレイン及び接地電位の間には2つの抵抗R31及びR32が直列接続されており、この抵抗R31及びR32の間の電圧がFET2のゲートに入力されている。即ちFET1がオンした場合、FET2のゲートには、バッテリ電源+Bの電圧を抵抗R31及びR32にて分圧した分圧電圧が入力される。抵抗R31及びR32の抵抗値は、このときにFET2のゲートに入力される分圧電圧が、FET2をオンさせるのに十分なゲート−ソース間電圧となるように、その比が設定されている。   Two resistors R31 and R32 are connected in series between the drain of the FET1 and the ground potential, and the voltage between the resistors R31 and R32 is input to the gate of the FET2. That is, when FET1 is turned on, a divided voltage obtained by dividing the voltage of the battery power supply + B by the resistors R31 and R32 is input to the gate of the FET2. The ratios of the resistance values of the resistors R31 and R32 are set so that the divided voltage input to the gate of the FET 2 at this time becomes a gate-source voltage sufficient to turn on the FET 2.

よって、IG信号が”L”となり、FET1がオンした場合には、FET2がオンし、LINバスにコンデンサC21による1pFの容量が増加される。またIG信号が”H”となり、FET1がオフした場合には、FET2のゲート電圧は0Vとなるため、FET2はオフし、コンデンサC21による容量は増加されない。   Therefore, when the IG signal becomes “L” and the FET 1 is turned on, the FET 2 is turned on, and the capacitance of 1 pF is increased by the capacitor C21 in the LIN bus. Further, when the IG signal becomes “H” and the FET 1 is turned off, the gate voltage of the FET 2 becomes 0 V. Therefore, the FET 2 is turned off and the capacity of the capacitor C21 is not increased.

以上により、変形例3の電源制御装置30は、マイコン31がFET2のオン/オフを制御することなく、マスターノードとして動作する場合と、スレーブノードとして動作する場合とでLINバスの容量を変更することができ、LINの規格に適した通信を行うことができる。   As described above, the power supply control device 30 of the modification 3 changes the capacity of the LIN bus between the case where the microcomputer 31 operates as a master node and the case where it operates as a slave node without controlling on / off of the FET 2. And communication suitable for the LIN standard can be performed.

1 通信システム
5 通信線
10 ECU
20 エンジン制御装置(主装置、一の装置、判定手段)
30 電源制御装置(通信装置、判定手段、通信指示手段、受信手段、応答手段)
31 マイコン
32 通信IC
33 入力端子
34 接続端子
35 分圧回路
40 センサユニット(従装置、他の装置)
FET1 Pチャネル型電界効果トランジスタ
FET2 Nチャネル型電界効果トランジスタ
R1、R2 抵抗
C5、C21 コンデンサ
1 communication system 5 communication line 10 ECU
20 Engine control device (main device, one device, determination means)
30 Power supply control device (communication device, determination means, communication instruction means, reception means, response means)
31 Microcomputer 32 Communication IC
33 Input terminal 34 Connection terminal 35 Voltage dividing circuit 40 Sensor unit (slave device, other devices)
FET1 P-channel field effect transistor FET2 N-channel field effect transistor R1, R2 Resistor C5, C21 Capacitor

Claims (16)

通信指示を送信する主装置と、該主装置に共通の通信線を介して接続され、通信指示を受信して応答を送信する一又は複数の従装置とを備え、前記主装置の通信指示及び前記従装置の応答により前記主装置及び従装置の間の通信を行う通信システムにおいて、
前記通信線に接続され、
前記主装置及び従装置の間の通信が行われているか否かを判定する判定手段と、
該判定手段が前記主装置及び従装置の間の通信が行われていないと判定した場合に、前記従装置へ通信指示を送信する通信指示手段と、
該通信指示手段が送信した通信指示に応じて前記従装置から送信される応答を受信する受信手段と
を有する通信装置を備えること
を特徴とする通信システム。
A main apparatus that transmits a communication instruction, and one or a plurality of slave apparatuses that are connected to the main apparatus via a common communication line and that receive the communication instruction and transmit a response. In a communication system that performs communication between the master device and the slave device in response to the slave device,
Connected to the communication line,
Determination means for determining whether communication is performed between the master device and the slave device;
A communication instruction unit that transmits a communication instruction to the slave device when the determination unit determines that communication between the master device and the slave device is not performed;
A communication system comprising: a reception unit that receives a response transmitted from the slave device in response to a communication instruction transmitted by the communication instruction unit.
前記通信装置は、前記主装置からの通信指示に応じて応答を送信する応答手段を更に有すること
を特徴とする請求項1に記載の通信システム。
The communication system according to claim 1, wherein the communication device further includes response means for transmitting a response in response to a communication instruction from the main device.
前記主装置は、
前記従装置との通信に係る動作の開始を指示するトリガ信号が他の装置から与えられており、
該他の装置から動作開始のトリガ信号が与えられた場合、前記従装置への通信指示の送信を所定時間待機するようにしてあること
を特徴とする請求項1又は請求項2に記載の通信システム。
The main unit is
A trigger signal instructing the start of an operation related to communication with the slave device is given from another device,
The communication according to claim 1 or 2, wherein when a trigger signal for starting operation is given from the other device, the communication device waits for a predetermined time to transmit a communication instruction to the slave device. system.
前記通信装置の前記通信指示手段は、前記判定手段が前記主装置及び従装置の間の通信が行われていないと判定した後から、所定時間が経過するまでの間に、前記従装置へ通信指示を送信するようにしてあること
を特徴とする請求項1又は請求項2に記載の通信システム。
The communication instruction means of the communication device communicates with the slave device after a predetermined time elapses after the determination device determines that communication between the master device and the slave device is not performed. The communication system according to claim 1 or 2, wherein an instruction is transmitted.
前記主装置は、
他の装置から動作開始のトリガ信号が与えられた場合、前記通信装置及び従装置の間の通信が行われているか否かを判定する判定手段を有し、
該判定手段が前記通信装置及び従装置の間の通信が行われていないと判定した場合に、前記従装置へ通信指示を送信するようにしてあること
を特徴とする請求項1又は請求項2に記載の通信システム。
The main unit is
When a trigger signal for starting operation is given from another device, it has a determination means for determining whether or not communication between the communication device and the slave device is being performed,
3. A communication instruction is transmitted to the slave device when the determination means determines that communication between the communication device and the slave device is not being performed. The communication system according to 1.
前記主装置は、
前記通信装置及び従装置の間の通信が行われているか否かを判定する判定手段を有し、
他の装置から動作開始のトリガ信号が与えられ、且つ、前記判定手段が前記通信装置及び従装置の間の通信が行われていると判定してから所定時間が経過した後に、前記従装置へ通信指示を送信するようにしてあること
を特徴とする請求項1又は請求項2に記載の通信システム。
The main unit is
Determination means for determining whether or not communication between the communication device and the slave device is performed;
An operation start trigger signal is given from another device, and after a predetermined time has elapsed since the determination means determines that communication between the communication device and the slave device is being performed, The communication system according to claim 1 or 2, wherein a communication instruction is transmitted.
前記通信装置は、
前記通信線をプルアップするためのプルアップ抵抗と、
前記通信指示手段による通信指示の送信及び前記受信手段による応答の受信を行う場合に、前記プルアップ抵抗によるプルアップを行わせるプルアップ制御手段と
を有すること
を特徴とする請求項1乃至請求項6のいずれか1つに記載の通信システム。
The communication device
A pull-up resistor for pulling up the communication line;
A pull-up control means for performing pull-up by the pull-up resistor when transmitting a communication instruction by the communication instruction means and receiving a response by the receiving means. 6. The communication system according to any one of 6.
前記通信装置は、前記通信指示手段による通信指示の送信及び前記受信手段による応答の受信を行う場合に、前記通信線の容量を増加させる制御を行う容量制御手段を有すること
を特徴とする請求項1乃至請求項7のいずれか1つに記載の通信システム。
The communication device includes capacity control means for performing control to increase the capacity of the communication line when transmitting a communication instruction by the communication instruction means and receiving a response by the receiving means. The communication system according to any one of claims 1 to 7.
前記主装置は、状態遷移を規定する制御信号が他の装置から与えられており、該制御信号に応じて、前記従装置との通信を行うことができる稼働状態又は通信を行うことができない待機状態に遷移するようにしてあり、
前記通信装置は、
前記判定手段が、前記制御信号に応じて前記主装置が待機状態であるか否かを判定し、
前記通信指示手段及び前記受信手段が、前記主装置が待機状態であると前記判定手段が判定した場合に、通信指示の送信及び応答の受信を行うようにしてあること
を特徴とする請求項1又は請求項2に記載の通信システム。
The master device is provided with a control signal defining state transition from another device, and in accordance with the control signal, an operating state in which communication with the slave device can be performed or standby incapable of communication Transition to the state,
The communication device
The determination means determines whether the main device is in a standby state according to the control signal;
The communication instruction means and the receiving means are configured to transmit a communication instruction and receive a response when the determination means determines that the main device is in a standby state. Or the communication system of Claim 2.
前記通信装置は、
前記通信線をプルアップするためのプルアップ抵抗と、
前記主装置が待機状態であると前記判定手段が判定した場合に、前記プルアップ抵抗によるプルアップを行わせるプルアップ制御手段と
を有すること
を特徴とする請求項9に記載の通信システム。
The communication device
A pull-up resistor for pulling up the communication line;
The communication system according to claim 9, further comprising: a pull-up control unit that performs pull-up by the pull-up resistor when the determination unit determines that the main device is in a standby state.
前記通信装置のプルアップ制御手段は、
前記プルアップ抵抗に直列接続されたスイッチング素子を有し、
前記制御信号に応じて前記スイッチング素子のオン/オフを切り替えるようにしてあること
を特徴とする請求項10に記載の通信システム。
The pull-up control means of the communication device is
A switching element connected in series to the pull-up resistor;
The communication system according to claim 10, wherein the switching element is switched on / off according to the control signal.
前記通信装置のプルアップ制御手段は、
前記制御信号の電圧を分圧する分圧回路と、
該分圧回路の出力電圧に応じて、前記スイッチング素子のオン/オフを切り替える切替制御回路と
を有すること
を特徴とする請求項11に記載の通信システム。
The pull-up control means of the communication device is
A voltage dividing circuit for dividing the voltage of the control signal;
The communication system according to claim 11, further comprising: a switching control circuit that switches on / off the switching element in accordance with an output voltage of the voltage dividing circuit.
前記通信装置のプルアップ制御手段は、
前記主装置が稼働状態から待機状態へ遷移した後に、前記プルアップ抵抗によるプルアップを行い、
前記主装置が待機状態から稼働状態へ遷移する前に、前記プルアップ抵抗によるプルアップを停止するようにしてあること
を特徴とする請求項10乃至請求項12のいずれか1つに記載の通信システム。
The pull-up control means of the communication device is
After the main device transitions from the operating state to the standby state, perform pull-up by the pull-up resistor,
The communication according to any one of claims 10 to 12, wherein pull-up by the pull-up resistor is stopped before the main device transitions from a standby state to an operating state. system.
前記通信装置は、前記主装置が待機状態であると前記判定手段が判定した場合に、前記通信線の容量を増加させる制御を行う容量制御手段を有すること
を特徴とする請求項9乃至請求項13のいずれか1つに記載の通信システム。
The communication device includes capacity control means for performing control to increase the capacity of the communication line when the determination means determines that the main device is in a standby state. The communication system according to any one of 13.
前記通信装置の容量制御手段は、
前記通信線及び固定電位間に接続されたコンデンサと、
該コンデンサに直列接続されたスイッチング素子と
を有し、
前記制御信号に応じて前記スイッチング素子のオン/オフを切り替えるようにしてあること
を特徴とする請求項14に記載の通信システム。
The communication device capacity control means comprises:
A capacitor connected between the communication line and a fixed potential;
A switching element connected in series to the capacitor, and
The communication system according to claim 14, wherein the switching element is switched on / off according to the control signal.
通信指示を送信する一の装置、及び通信指示を受信して応答を送信する他の装置に共通の通信線を介して接続され、
前記通信指示及び応答の送受信が行われているか否かを判定する判定手段と、
前記通信指示及び応答の送受信が行われていないと前記判定手段が判定した場合に、通信指示を送信する通信指示手段と、
該通信指示手段が送信した通信指示に応じて送信される応答を受信する受信手段と
を備えることを特徴とする通信装置。
It is connected via a common communication line to one device that transmits a communication instruction and another device that receives the communication instruction and transmits a response.
Determining means for determining whether or not transmission and reception of the communication instruction and response are performed;
A communication instruction means for transmitting a communication instruction when the determination means determines that transmission / reception of the communication instruction and response is not performed;
Receiving means for receiving a response transmitted in response to the communication instruction transmitted by the communication instruction means.
JP2009087159A 2008-06-17 2009-03-31 Communication system and communication device Pending JP2010028793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009087159A JP2010028793A (en) 2008-06-17 2009-03-31 Communication system and communication device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008158243 2008-06-17
JP2009087159A JP2010028793A (en) 2008-06-17 2009-03-31 Communication system and communication device

Publications (1)

Publication Number Publication Date
JP2010028793A true JP2010028793A (en) 2010-02-04

Family

ID=41734127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009087159A Pending JP2010028793A (en) 2008-06-17 2009-03-31 Communication system and communication device

Country Status (1)

Country Link
JP (1) JP2010028793A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013005156A (en) * 2011-06-15 2013-01-07 Denso Corp Gateway device
JP2020100390A (en) * 2018-12-21 2020-07-02 アイトロニクス カンパニー リミテッド Method for controlling lin slave unit of lin communication vehicle

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013005156A (en) * 2011-06-15 2013-01-07 Denso Corp Gateway device
US8665891B2 (en) 2011-06-15 2014-03-04 Denso Corporation Gateway apparatus
JP2020100390A (en) * 2018-12-21 2020-07-02 アイトロニクス カンパニー リミテッド Method for controlling lin slave unit of lin communication vehicle

Similar Documents

Publication Publication Date Title
US7881344B2 (en) Communication network system and wakeup method for un-wakeup node
US8750351B2 (en) Configuration of bus transceiver
JP6417249B2 (en) Vehicle control device and vehicle control system
EP1594253B1 (en) Method and device to wake-up nodes in a serial data bus.
KR101526413B1 (en) Transceiver ic and operationg mwethod thereof
US8909963B2 (en) Vehicle network with a control device entering sleep mode when the vehicle velocity is above predetermined threshold and a coprocessor performing selected functions during the sleep mode
US20120084378A1 (en) Communication system, master node, and slave node
CN103973532A (en) Communication network and method for communicating in a communication network
JP2008312024A (en) Transit connection unit
US9411609B2 (en) Electronic control apparatus
US11386032B2 (en) Network system
JP4847847B2 (en) Relay connection unit and in-vehicle multiple communication system
US8804750B2 (en) Field device
JP2010028793A (en) Communication system and communication device
JP2008213718A (en) Controller for vehicle
RU2764472C1 (en) Vehicle control system, vehicle control method, controller and media designed for long-term information storage
JP5614365B2 (en) Data relay device, in-vehicle network
JP6413979B2 (en) Master node
JP6040952B2 (en) Communication system, electronic control device
JP6071113B2 (en) Network system
KR101568095B1 (en) Low power can transeiver and operating method thereof
JP7347391B2 (en) Communication device
JP4574256B2 (en) Communication apparatus and communication method
JP2016134855A (en) On-vehicle network system
JP2013207345A (en) Communication device