JP4574256B2 - Communication apparatus and communication method - Google Patents

Communication apparatus and communication method Download PDF

Info

Publication number
JP4574256B2
JP4574256B2 JP2004208948A JP2004208948A JP4574256B2 JP 4574256 B2 JP4574256 B2 JP 4574256B2 JP 2004208948 A JP2004208948 A JP 2004208948A JP 2004208948 A JP2004208948 A JP 2004208948A JP 4574256 B2 JP4574256 B2 JP 4574256B2
Authority
JP
Japan
Prior art keywords
data
voltage
communication
bus
communication line
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.)
Expired - Fee Related
Application number
JP2004208948A
Other languages
Japanese (ja)
Other versions
JP2006033391A (en
Inventor
敦志 三木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2004208948A priority Critical patent/JP4574256B2/en
Publication of JP2006033391A publication Critical patent/JP2006033391A/en
Application granted granted Critical
Publication of JP4574256B2 publication Critical patent/JP4574256B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、所定の通信線上で複数の電子ユニットの間で通信を行う通信装置及び通信方法に関するものである。   The present invention relates to a communication apparatus and a communication method for performing communication between a plurality of electronic units on a predetermined communication line.

近年の自動車では、車内通信の方式としてCAN(Controller Area Network)通信が採用されることが多くなってきている。このCAN通信はシリアルバス通信であるため、本来的にはリアルタイム性を保証することができないが、安全運転を行う必要があるなどの理由により、自動車の通信には高速性が要求されるものがあるため、CAN通信においては、データ毎に優先度を持たせることで、支障のない通信を行うようになっている。   In recent automobiles, CAN (Controller Area Network) communication has been increasingly adopted as an in-vehicle communication system. Since this CAN communication is a serial bus communication, real-time performance cannot be assured. However, there is a case where high-speed communication is required for automobile communication because it is necessary to perform safe driving. For this reason, in CAN communication, priority is given to each data to perform communication without any trouble.

即ち、CAN通信では、バスアイドル中に最初に送信を開始したユニットが送信権を獲得し、また同時に2つ以上のユニットが送信を開始したときには、各メッセージのアービトレーションフィールドを1ビット単位で調停し、ドミナントレベルを長く出し続けたユニットが送信権を獲得する。この場合において、送信権を獲得しなかったユニットは、次のビットから送信動作を止め、受信動作に移る。   That is, in CAN communication, when the unit that first started transmission during bus idle acquires the transmission right, and when two or more units start transmission at the same time, the arbitration field of each message is arbitrated in 1-bit units. A unit that has been given a dominant level for a long time acquires the right to transmit. In this case, the unit that has not acquired the transmission right stops the transmission operation from the next bit and moves to the reception operation.

ここで、CAN通信におけるバス(以下「CANバス」と称す)のレベルには、相対的に優先的なドミナントレベルと、相対的に受容的なレセシブレベルとがあり、ドミナントレベルの論理値は「0」となり、レセシブレベルは「1」となる。1つのユニットがドミナントを出力すると、CANバスはドミナントレベルになることから、すべてのユニットがレセシブを出力しない限り、CANバスのレベルはレセシブにならないようになっている。   Here, the level of a bus in CAN communication (hereinafter referred to as “CAN bus”) includes a relatively preferential dominant level and a relatively receptive recessive level, and the logical value of the dominant level is “0”. And the recessive level is “1”. When one unit outputs a dominant, the CAN bus becomes a dominant level, so that the level of the CAN bus does not become recessive unless all units output a recessive.

CAN通信に関する先行技術としては、例えば特許文献1がある。   As a prior art regarding CAN communication, there is, for example, Patent Document 1.

特開2001−119416号公報JP 2001-119416 A

CAN通信におけるCANバスのレベルの一例を図4に示す。この図4において、CANバスには、あるユニットから低優先度のデータ1が流れている様子が示されている。この場合のレセシブレベルは0Vであり、ドミナントレベルは4Vである。   An example of the level of the CAN bus in the CAN communication is shown in FIG. FIG. 4 shows a state in which low priority data 1 flows from a certain unit on the CAN bus. In this case, the recessive level is 0V, and the dominant level is 4V.

ここで、他のユニットから高優先度のデータ3がCANバスに出力された場合を考える。この場合の高優先度のデータ3の論理値「0」は0Vであり、論理値「1」は4Vである。   Here, consider a case where high priority data 3 is output from another unit to the CAN bus. In this case, the logical value “0” of the high priority data 3 is 0V, and the logical value “1” is 4V.

この場合、上述のように、既に低優先度のデータ1がCANバスに流れていることから、高優先度のデータ3の調停を行うことができずに、高優先度のデータ3が後回しになってしまうことがある。その原因は次の通りである。即ち、CANバスが低優先度のデータ1によりドミナントレベルになっている状態では、高優先度のデータ3が論理値「1」の信号を出力しても、CANバスにおけるレベル(ドミナントレベル)の変化がなく、このため調停を行うことができない。   In this case, as described above, since the low-priority data 1 has already flowed to the CAN bus, arbitration of the high-priority data 3 cannot be performed, and the high-priority data 3 is postponed. It may become. The cause is as follows. In other words, in a state where the CAN bus is at the dominant level due to the low priority data 1, even if the high priority data 3 outputs a signal of a logical value “1”, the level (dominant level) in the CAN bus is high. There is no change, so arbitration cannot be performed.

通常のCAN通信において、高優先度のデータ3がCANバスにデータ出力を行って調停が支障無く行われるためには、CANバスでのデータ通信が行われていない状態になっている必要がある。しかしながら、図4において、CANバスに低優先度のデータ1が流れている途中では、高優先度のデータ3をCANバスに出力しようとしても、調停に必要なデータ3の長さをCANバスに反映させることができず、よって即座には調停ができない結果になってしまう。その結果、高優先度のデータ3は、CANバス上で低優先度のデータ1が終了するまで、送信が待機されることになる。   In normal CAN communication, in order for the high-priority data 3 to be output to the CAN bus and arbitrated without any trouble, it is necessary that the data communication on the CAN bus is not performed. . However, in FIG. 4, while the low priority data 1 is flowing through the CAN bus, even if an attempt is made to output the high priority data 3 to the CAN bus, the length of the data 3 necessary for arbitration is set to the CAN bus. The result cannot be reflected, and therefore the result cannot be instantly adjusted. As a result, transmission of high-priority data 3 waits until low-priority data 1 ends on the CAN bus.

そこで、本発明の課題は、先発の低優先度メッセージの存在によって、後発の高優先度メッセージの送信が遅延することのない通信装置及び通信方法を提供することにある。   Accordingly, an object of the present invention is to provide a communication apparatus and a communication method in which transmission of a subsequent high priority message is not delayed due to the presence of a first low priority message.

上記課題を解決すべく、請求項1に記載の発明は、所定の通信線上で複数の電子ユニットの間で通信を行うために当該各電子ユニット毎に設けられる通信装置であって、前記通信線に送出するデータのパルスの電圧レベルとして少なくとも2つの異なる電圧レベルを切り替える電圧切替部と、送出する前記データの優先度に応じて高優先度のデータがそれよりも低優先度のデータに対して高い前記電圧レベルを選択するよう前記電圧切替部を制御する送信制御部と前記通信線の電圧状態が、前記高い電圧レベルであるか否かを判定する電圧判定手段とを備え、前記送信制御部は、前記電圧判定手段が前記通信線の電圧状態として前記高い電圧レベルである旨を判定し、且つ前記通信線に流れるデータが当該通信装置から送出されたものでない場合に、その旨を判断して、前記通信線に対する前記データの送出を中止するものであるIn order to solve the above-mentioned problem, the invention according to claim 1 is a communication device provided for each electronic unit to perform communication between a plurality of electronic units on a predetermined communication line, and the communication line A voltage switching unit that switches at least two different voltage levels as the voltage level of a pulse of data to be transmitted to the high-priority data according to the priority of the data to be transmitted A transmission control unit that controls the voltage switching unit to select the high voltage level; and a voltage determination unit that determines whether or not the voltage state of the communication line is the high voltage level. Means that the voltage determination means determines that the voltage level of the communication line is the high voltage level, and the data flowing in the communication line is not transmitted from the communication device The case, to determine its effect, is to cancel the sending of the data to the communication line.

請求項に記載の発明は、所定の通信線上で複数の電子ユニットの間で通信を行う通信方法であって、(a)前記通信線に送出するデータが高優先度以外のデータである場合に、第1の電圧レベルのデータを生成して前記通信線に送出する工程と、(b)前記通信線に送出するデータが高優先度のデータである場合に、前記第1の電圧レベルよりも高い第2の電圧レベルのデータを生成して前記通信線に送出する工程とを備え前記(a)の工程及び(b)の工程のいずれかまたは両方において、前記通信線の電圧状態が前記第2の高い電圧レベルであるか否かを判定し、前記通信線の電圧状態として前記第2の電圧レベルである旨が判定され且つ前記通信線に流れるデータが他の電子ユニットからのデータである場合に、前記通信線に対する前記データの送出を中止するものであるThe invention according to claim 2 is a communication method for performing communication between a plurality of electronic units on a predetermined communication line, and (a) the data sent to the communication line is data other than high priority A step of generating data of a first voltage level and sending it to the communication line; and (b) if the data sent to the communication line is high priority data, Generating a data having a higher second voltage level and sending the data to the communication line, and in either or both of the steps (a) and (b), the voltage state of the communication line is It is determined whether the voltage level is a second high voltage level, it is determined that the voltage state of the communication line is the second voltage level, and the data flowing through the communication line is data from another electronic unit. In some cases, the communication line It is intended to stop the transmission of serial data.

請求項1及び請求項に記載の発明の通信装置(通信方法)は、通信線に送出するデータが高優先度以外のデータである場合に、低い電圧レベルのデータを生成して通信線に送出する一方、通信線に送出するデータが高優先度のデータである場合に、高い電圧レベルのデータを生成して通信線に送出するので、通信線上で高優先度でないデータが流されている途中で、高優先度のデータを即座に割り込ませて調停を行うことができる。したがって、高優先度のデータに関してリアルタイム性を確保することができる。 The communication device (communication method) according to the first and second aspects of the present invention generates low voltage level data to the communication line when the data sent to the communication line is data other than high priority. On the other hand, if the data to be sent to the communication line is high priority data, high voltage level data is generated and sent to the communication line, so that non-high priority data is flowing on the communication line. On the way, arbitration can be performed by immediately interrupting high priority data. Therefore, real-time performance can be ensured for high priority data.

さらに、請求項及び請求項に記載の発明の通信装置(通信方法)は、高優先度で高い電圧レベルのデータが既に送信されている場合に、当該通信線に新たにデータを送出することを防止できる。したがって、既に通信線に流れている高優先度のデータをそのまま容易に継続させることが可能となり、先発の高優先度のデータのリアルタイム性を維持することができる。 Furthermore, the communication device (communication method) according to the first and second aspects of the invention transmits new data to the communication line when high priority and high voltage level data has already been transmitted. Can be prevented. Therefore, it is possible to easily continue the high priority data already flowing in the communication line as it is, and the real-time property of the first high priority data can be maintained.

<通信装置の構成>
図1は本発明の一の実施形態に係る通信装置を示す機能ブロック図である。この通信装置(CANコントローラ)10a〜10cは、図1の如く、通信線としてのCANバス11に出力するデータの生成のための電圧源として、従来の4V(第1の電圧レベル)系の第一電圧源13の他に、これよりも高圧の12V(第2の電圧レベル)系の第二電圧源15をも使用することとし、高優先度のデータを送信する場合には、高圧の12V系の第二電圧源15で生成したデータをCANバス11に出力し、それ以外の通常(低優先度)のデータを送信する場合には、4V系の第一電圧源13で生成したデータをCANバス11に出力するようになっている。
<Configuration of communication device>
FIG. 1 is a functional block diagram showing a communication apparatus according to an embodiment of the present invention. As shown in FIG. 1, the communication devices (CAN controllers) 10a to 10c have a conventional 4V (first voltage level) system as a voltage source for generating data to be output to a CAN bus 11 as a communication line. In addition to the one voltage source 13, a higher voltage 12V (second voltage level) type second voltage source 15 is also used, and when high priority data is transmitted, the higher voltage 12V is used. When the data generated by the second voltage source 15 of the system is output to the CAN bus 11 and other normal (low priority) data is transmitted, the data generated by the first voltage source 13 of the 4V system is transmitted. The data is output to the CAN bus 11.

具体的に、この通信装置10a〜10cは、図1の如く、自動車に搭載される電子ユニット21a〜21c同士の間でCANバス11を通じて通信を行う際にCAN通信のプロトコル処理等の通信機能を司るものであって、各電子ユニット21a〜21cとCANバス11との間にそれぞれ介装される。そして、各通信装置10a〜10cは、送信部23と受信部25とをそれぞれ備える。   Specifically, as shown in FIG. 1, the communication devices 10 a to 10 c have communication functions such as CAN communication protocol processing when communicating between the electronic units 21 a to 21 c mounted on the automobile through the CAN bus 11. It is in charge and is interposed between each of the electronic units 21 a to 21 c and the CAN bus 11. And each communication apparatus 10a-10c is provided with the transmission part 23 and the receiving part 25, respectively.

尚、図1においては、複数の通信装置10a〜10cのうち、第1の通信装置10aの内部構成のみを示しており、第2の通信装置10b及び第3の通信装置10cの内部構成を省略して図示しているが、各通信装置10a〜10cの内部構成は同一に構成される。   FIG. 1 shows only the internal configuration of the first communication device 10a among the plurality of communication devices 10a to 10c, and omits the internal configuration of the second communication device 10b and the third communication device 10c. However, the internal configuration of each of the communication devices 10a to 10c is the same.

そして、各通信装置10a〜10cの送信部23は、図1の如く、4V系の第一電圧源13と、当該第一電圧源13よりも高圧の12V系の第二電圧源15と、この両電圧源13,15を切り替える電圧切替部31と、この電圧切替部31で切り替えられた電圧(4Vまたは12V)を用いてCANバス11に出力する信号のパルスを生成するためのパルス生成部33と、電子ユニット21a〜21cから出力された信号に基づいて電圧切替部31及びパルス生成部33を制御する送信制御部35とを備える。   As shown in FIG. 1, the transmission unit 23 of each of the communication devices 10 a to 10 c includes a 4 V first voltage source 13, a 12 V second voltage source 15 having a higher voltage than the first voltage source 13, A voltage switching unit 31 that switches both voltage sources 13 and 15, and a pulse generation unit 33 that generates a pulse of a signal output to the CAN bus 11 using the voltage (4V or 12V) switched by the voltage switching unit 31. And a transmission control unit 35 that controls the voltage switching unit 31 and the pulse generation unit 33 based on signals output from the electronic units 21a to 21c.

第一電圧源13及び第二電圧源15は、いずれも従来より自動車に搭載されている直流の電源回路であって、CAN通信だけでなく他の制御系等の種々の電装品に対して2系統の電源供給を行うために設けられたものがそのまま使用される。   The first voltage source 13 and the second voltage source 15 are both DC power supply circuits that are conventionally mounted in automobiles, and are not limited to CAN communication, but are used for various electrical components such as other control systems. What is provided to supply power to the system is used as it is.

電圧切替部31は、例えばトランジスタ等が使用されて、4V系の第一電圧源13と12V系の第二電圧源15とを切り替えるよう構成された2接点切替型のスイッチ回路であって、送信制御部35から与えられる切替信号に基づいて動作する。   The voltage switching unit 31 is a two-contact switching type switch circuit configured to switch between a 4V first voltage source 13 and a 12V second voltage source 15 using, for example, a transistor or the like. It operates based on a switching signal given from the control unit 35.

パルス生成部33は、送信制御部35での制御に基づいて、CANバス11に出力するデータのパルスを生成するものであり、高速動作可能な例えばMOSFET等が適用される。   The pulse generation unit 33 generates a pulse of data to be output to the CAN bus 11 based on the control by the transmission control unit 35. For example, a MOSFET or the like capable of high speed operation is applied.

送信制御部35は、内蔵されたROM内に予め格納された所定のソフトウェアプログラムによって動作する機能要素であって、電子ユニット21a〜21cから与えられたデータの信号を、CANバス11でのCAN通信に適したプロトコルの信号に変換するようにパルス生成部33を制御する機能と、電子ユニット21a〜21cから与えられたデータが高優先度のものである場合に電圧切替部31に対して12V系の第二電圧源15を選択するよう切替信号を出力する機能と、電子ユニット21a〜21cから与えられたデータが低優先度のものである場合に電圧切替部31に対して4V系の第一電圧源13を選択するよう切替信号を出力する機能と、受信部25からCANバス11上に既に12Vのデータが流れている旨の信号が与えられ且つそのデータが当該通信装置10a〜10cから自発的に送出されたデータでないと判断した場合にCANバス11へのデータの出力を停止する機能とを有する。この送信制御部35の動作については後述する。   The transmission control unit 35 is a functional element that operates according to a predetermined software program stored in advance in a built-in ROM. The transmission control unit 35 transmits a data signal given from the electronic units 21a to 21c to the CAN bus 11 via CAN communication. A function for controlling the pulse generator 33 so as to convert it into a signal of a protocol suitable for the above and a 12V system for the voltage switching unit 31 when the data given from the electronic units 21a to 21c is of high priority A function of outputting a switching signal so as to select the second voltage source 15 and a first 4V system for the voltage switching unit 31 when the data given from the electronic units 21a to 21c is of low priority. A function for outputting a switching signal so as to select the voltage source 13 and a signal indicating that 12 V data is already flowing from the receiving unit 25 to the CAN bus 11 are given. Re and it has a function of the data to stop the output of data to the CAN bus 11 when it is judged not to be the data that has been voluntarily transmitted from the communication device 10a to 10c. The operation of the transmission control unit 35 will be described later.

各通信装置10a〜10cの受信部25は、図1の如く、CANバス11の電圧を所定の基準電圧41と比較する比較部(電圧判定手段)43と、CANバス11に流れるデータを受信するとともに比較部43がCANバス11のドミナントレベルが12Vであると判断した場合にその旨を送信部23の送信制御部35に出力する受信回路45とを備える。   As shown in FIG. 1, the receiving unit 25 of each of the communication devices 10 a to 10 c receives a comparison unit (voltage determination unit) 43 that compares the voltage of the CAN bus 11 with a predetermined reference voltage 41 and data flowing through the CAN bus 11. In addition, when the comparison unit 43 determines that the dominant level of the CAN bus 11 is 12 V, the reception unit 45 outputs the fact to the transmission control unit 35 of the transmission unit 23.

基準電圧41としては、4Vと12Vとを峻別できる閾値レベルとして例えば7〜8Vの電圧が予め設定された定電圧源が適用される。   As the reference voltage 41, a constant voltage source in which a voltage of, for example, 7 to 8V is preset as a threshold level that can distinguish 4V from 12V is applied.

比較部43は、CANバス11の電圧を基準電圧41と比較し、基準電圧41よりも高い電圧(即ち、12V)であるか、あるいは基準電圧41よりも低い電圧(即ち、0Vまたは4V)であるかを判定し、その判定結果を論理値として受信回路45に出力する。例えば、比較部43は、CANバス11の電圧が基準電圧41よりも高い電圧(即ち、12V)である場合には、論理値として「1」を受信回路45に出力し、CANバス11の電圧が基準電圧41よりも低い電圧(即ち、0Vまたは4V)である場合は、論理値として「0」を受信回路45に出力する。   The comparison unit 43 compares the voltage of the CAN bus 11 with the reference voltage 41, and is a voltage higher than the reference voltage 41 (that is, 12V) or a voltage lower than the reference voltage 41 (that is, 0V or 4V). It is determined whether it exists, and the determination result is output to the receiving circuit 45 as a logical value. For example, when the voltage of the CAN bus 11 is higher than the reference voltage 41 (that is, 12 V), the comparison unit 43 outputs “1” as a logical value to the reception circuit 45, and the voltage of the CAN bus 11 Is a voltage lower than the reference voltage 41 (that is, 0 V or 4 V), “0” is output to the receiving circuit 45 as a logical value.

受信回路45は、CANバス11の電圧状態が入力され、この電圧状態に対して、所定のクロック信号によって規定されたクロックタイミングとして1ビット毎にドミナントレベルであるかレセシブレベルであるかを、所定の閾値レベルと比較するなどして判定し、CANバス11に流れるデータを認識して受信処理を行った後、電子ユニット21a〜21cに出力する。   The receiving circuit 45 receives the voltage state of the CAN bus 11, and determines whether a dominant level or a recessive level is set for each bit as a clock timing defined by a predetermined clock signal. The determination is made by comparing with the threshold level, and the data flowing in the CAN bus 11 is recognized and subjected to reception processing, and then output to the electronic units 21a to 21c.

また、受信回路45は、CANバス11から受信したデータのうち、ドミナントのタイミングで、比較部43から与えられた論理値に基づいて、そのドミナントレベルが12Vであるか4Vであるかを判断し、そのドミナントレベルが12Vである場合に、その旨の信号を送信部23の送信制御部35に出力する。   The receiving circuit 45 determines whether the dominant level is 12V or 4V based on the logical value given from the comparison unit 43 at the dominant timing among the data received from the CAN bus 11. When the dominant level is 12V, a signal to that effect is output to the transmission control unit 35 of the transmission unit 23.

かかる構成の通信装置10a〜10cは、内在する各構成要素が単一の半導体集積回路としてまとめて構成されてもよく、あるいは、各構成要素が個々にあるいは一部のみが集積された電子回路部品を複数個組み合わせて所定の実装基板に搭載するようにして構成してもよい。   The communication devices 10a to 10c having such a configuration may be configured such that the respective constituent elements are integrated as a single semiconductor integrated circuit, or an electronic circuit component in which the respective constituent elements are individually or only partially integrated. A plurality may be combined and mounted on a predetermined mounting board.

CANバス11は、例えばISO11898またはISO11519で規格化されているツイストペアケーブルが使用されてもよく、あるいは例えばSAE−J2411で規定されているシングルワイヤが使用されてもよい。尚、このCANバス11には、上述のように4Vのパルスと12Vのパルスの各方が適宜流されることになるが、例えばSAE−J2411で規定されているシングルワイヤにおいては、ウェイクアップ用のデータ送信時に0V〜12Vの電圧のパルスで通信を行うことが許容されていることから、上述のように、CANバス11上で0V、4V及び12Vの3種類の電圧変遷があったとしても、通信プロトコルの物理層の規格において支障無くCAN通信を実行できるものである。   As the CAN bus 11, for example, a twisted pair cable standardized by ISO11898 or ISO11519 may be used, or a single wire defined by, for example, SAE-J2411 may be used. As described above, each of the 4V pulse and the 12V pulse is appropriately supplied to the CAN bus 11, but, for example, in the single wire defined by SAE-J2411, Since it is allowed to communicate with a pulse of a voltage of 0V to 12V at the time of data transmission, even if there are three kinds of voltage transitions of 0V, 4V and 12V on the CAN bus 11, as described above, The CAN communication can be executed without any trouble in the physical layer standard of the communication protocol.

<動作例1:低優先度のデータ通信>
上記構成の動作例として、CANバス11を通じて、第1の電子ユニット21aから第2の電子ユニット21bに低優先度のデータの送信を行う場合の動作を、図2のフローチャートに沿って説明する。
<Operation example 1: Low priority data communication>
As an operation example of the above configuration, an operation in the case where low priority data is transmitted from the first electronic unit 21a to the second electronic unit 21b through the CAN bus 11 will be described with reference to the flowchart of FIG.

まず第1の電子ユニット21aは、図2中のステップS01において、送信したい低優先度のデータを第1の通信装置10aに出力する。この時点で、第1の通信装置10aの送信制御部35は当該低優先度のデータのヘッダー等を参照しながら、ステップS02において、当該データが低優先度のデータである旨を判断する。そして、送信制御部35は4V系の第一電圧源13を選択する旨の切替信号を電圧切替部31に出力する。そうすると、ステップS03において、電圧切替部31が4V系の第一電圧源13を選択し、この4Vの電圧がパルス生成部33に与えられる。   First, in step S01 in FIG. 2, the first electronic unit 21a outputs low priority data to be transmitted to the first communication device 10a. At this point, the transmission control unit 35 of the first communication device 10a determines that the data is low priority data in step S02 while referring to the header or the like of the low priority data. The transmission control unit 35 then outputs a switching signal to the voltage switching unit 31 to select the 4V first voltage source 13. Then, in step S <b> 03, the voltage switching unit 31 selects the 4V first voltage source 13, and this 4V voltage is applied to the pulse generation unit 33.

そして、ステップS04において、送信制御部35は、第1の電子ユニット21aから与えられたデータを、CAN通信に適したプロトコルのデータに変換するようにパルス生成部33に信号を与え、パルス生成部33で送信データを生成した後、CANバス11に対してデータが送出される。このとき、CANバス11においては、レセシブレベルが0Vであり、ドミナントレベルが4Vである。   In step S04, the transmission control unit 35 gives a signal to the pulse generation unit 33 so as to convert the data supplied from the first electronic unit 21a into data of a protocol suitable for CAN communication. After generating the transmission data at 33, the data is sent to the CAN bus 11. At this time, in the CAN bus 11, the recessive level is 0V and the dominant level is 4V.

ここで、データの送信元である第1の通信装置10aでは、受信部25によりCANバス11の状態が入力される。そして、ステップS05において、比較部43により、CANバス11の電圧を所定の基準電圧41(例えば7〜8V)と比較して、CANバス11に12Vの電圧のパルスが流れているか否かを判断する。その結果、比較部43はCANバス11のドミナントレベルが基準電圧41未満(即ち、4V)であると判断した場合は、ステップS06に進む。   Here, in the first communication device 10 a that is the data transmission source, the state of the CAN bus 11 is input by the reception unit 25. In step S05, the comparison unit 43 compares the voltage of the CAN bus 11 with a predetermined reference voltage 41 (for example, 7 to 8 V), and determines whether or not a pulse of a voltage of 12 V is flowing through the CAN bus 11. To do. As a result, when the comparison unit 43 determines that the dominant level of the CAN bus 11 is less than the reference voltage 41 (that is, 4 V), the process proceeds to step S06.

ステップS06では、比較部43から、CANバス11のドミナントレベルが基準電圧41未満(即ち、4V)である旨の信号(論理値)が受信回路45に出力される。そして、受信回路45では、比較部43での判断結果として、CANバス11のドミナントレベルが基準電圧41未満である旨の信号を得るため、送信部23に対しては特別の信号を出力しない。このため、送信部23は、そのまま低優先度のデータの送出が継続される。   In step S06, the comparison unit 43 outputs a signal (logical value) indicating that the dominant level of the CAN bus 11 is less than the reference voltage 41 (ie, 4V) to the reception circuit 45. In the receiving circuit 45, a signal indicating that the dominant level of the CAN bus 11 is less than the reference voltage 41 is obtained as a determination result in the comparison unit 43, and therefore no special signal is output to the transmission unit 23. For this reason, the transmission unit 23 continues to transmit the low priority data as it is.

続くステップS07においては、第1の通信装置10a及び第2の通信装置10bとの通信において、送信データにエラーが生じたか否かが判断される。   In the subsequent step S07, it is determined whether or not an error has occurred in the transmission data in the communication with the first communication device 10a and the second communication device 10b.

具体的には、第1の通信装置10aから低優先度のデータが送出される時点で、CANバス11上でデータ通信が行われていない場合には、第2の通信装置10bにおいては、受信部25の受信回路45(図1では図示省略)によりCANバス11に流れるデータを支障無く受信される。このため、ステップS07においては送信エラーが発生せず、続くステップS08に移行し、第1の通信装置10aからのデータ送出が継続される。このようにして、第1の電子ユニット21aから第2の電子ユニット21bに対する低優先度のデータの送信が行われる。   Specifically, if data communication is not performed on the CAN bus 11 when low priority data is transmitted from the first communication device 10a, the second communication device 10b receives the data. The data flowing in the CAN bus 11 is received without any trouble by the receiving circuit 45 (not shown in FIG. 1) of the unit 25. For this reason, a transmission error does not occur in step S07, the process proceeds to subsequent step S08, and data transmission from the first communication device 10a is continued. In this way, low priority data is transmitted from the first electronic unit 21a to the second electronic unit 21b.

一方、ステップS07において、例えば第1の通信装置10aからのデータ送出時にCANバス11上に既にドミナントレベル=4Vの低優先度のデータが流れている場合には、既に流れているデータと、新たに第1の通信装置10aから送出されたデータとが重畳されて、送信データにエラーが発生する。このため、ステップS09に進み、第1の通信装置10aからのデータの送出が中止される。   On the other hand, in step S07, for example, when low priority data of dominant level = 4V is already flowing on the CAN bus 11 at the time of data transmission from the first communication device 10a, for example, The data transmitted from the first communication device 10a is superimposed on the transmission data, and an error occurs in the transmission data. For this reason, it progresses to step S09 and transmission of the data from the 1st communication apparatus 10a is stopped.

<動作例2:高優先度のデータ通信>
次に、例えば第3の電子ユニット21cが、さらに図示しない他の電子ユニットとの間で低優先度のデータの通信を行っている場合に、第1の電子ユニット21aから第2の電子ユニット21bに対して高優先度のデータの送信を行う場合について、図2のフローチャートに沿って説明する。ここで、図3中の符号51はCANバス11に流れている低優先度のデータのパルス、同じく符号53は第1の通信装置10aからCANバス11に送出される高優先度のデータのパルスをそれぞれ示している。
<Operation Example 2: High Priority Data Communication>
Next, for example, when the third electronic unit 21c further performs low-priority data communication with another electronic unit (not shown), the first electronic unit 21a to the second electronic unit 21b. A case of transmitting data with high priority to will be described with reference to the flowchart of FIG. Here, reference numeral 51 in FIG. 3 denotes a low-priority data pulse flowing in the CAN bus 11, and reference numeral 53 denotes a high-priority data pulse sent from the first communication device 10a to the CAN bus 11. Respectively.

CANバス11を通じて、第3の電子ユニット21cからさらに他の電子ユニットに低優先度のデータの送信が行われている場合、図3中の符号51のように、CANバス11上ではドミナントレベルとレセシブレベルとがデータの内容に応じて様々な順序で出現する。この場合のレセシブレベルは0Vであり、ドミナントレベルは4Vである。そして、ドミナントレベルである4Vは、第3の通信装置10cにおける4V系の第一電圧源(図1中の通信装置10aの第一電圧源13を参照のこと)を使用して生成されたデータのレベルである。   When low-priority data is being transmitted from the third electronic unit 21c to another electronic unit through the CAN bus 11, the dominant level is set on the CAN bus 11 as indicated by reference numeral 51 in FIG. Recessive levels appear in various orders depending on the data content. In this case, the recessive level is 0V, and the dominant level is 4V. And 4V which is a dominant level is the data produced | generated using the 1st voltage source of 4V type | system | group in the 3rd communication apparatus 10c (refer the 1st voltage source 13 of the communication apparatus 10a in FIG. 1). Level.

かかる状況において、第1の電子ユニット21aから第1の通信装置10aを介して高優先度のデータをCANバス11に送出する際、図2中のステップS01において、まず第1の電子ユニット21aが高優先度のデータを第1の通信装置10aに出力する。そして、ステップS02で、第1の通信装置10aの送信制御部35は当該高優先度のデータのヘッダー等を参照しながら、当該データが高優先度のデータである旨を判断し、ステップS10に進む。   In such a situation, when high-priority data is sent from the first electronic unit 21a to the CAN bus 11 via the first communication device 10a, in step S01 in FIG. The high priority data is output to the first communication device 10a. In step S02, the transmission control unit 35 of the first communication device 10a determines that the data is high priority data while referring to the header of the high priority data, and the process proceeds to step S10. move on.

ステップS10では、送信制御部35が12V系の第二電圧源15を選択する旨の切替信号を電圧切替部31に出力する。そうすると、電圧切替部31が12V系の第二電圧源15を選択し、この12Vの電圧がパルス生成部33に与えられる。   In step S <b> 10, the transmission control unit 35 outputs a switching signal to the voltage switching unit 31 to select the 12V system second voltage source 15. Then, the voltage switching unit 31 selects the 12V system second voltage source 15, and the 12V voltage is supplied to the pulse generation unit 33.

そして、次のステップS04で、送信制御部35は、第1の電子ユニット21aから与えられたデータを、CAN通信に適したプロトコルのデータに変換するようにパルス生成部33に信号を与え、パルス生成部33からCANバス11に対して、図3中の符号53のような高優先度のデータが出力される。このときの高優先度のデータは、その論理値として「1」を出力する場合は12Vの電圧レベルで出力し、その論理値として「0」を出力する場合は0Vの電圧レベルで出力を行う。   Then, in the next step S04, the transmission controller 35 gives a signal to the pulse generator 33 so as to convert the data given from the first electronic unit 21a into data of a protocol suitable for CAN communication. High priority data such as reference numeral 53 in FIG. 3 is output from the generation unit 33 to the CAN bus 11. The high priority data at this time is output at a voltage level of 12 V when outputting “1” as its logical value, and is output at a voltage level of 0 V when outputting “0” as its logical value. .

そうすると、それまでCANバス11上に流れているドミナントレベルが4Vのデータに重畳して、ドミナントレベルが12Vのデータが流れることになる。   Then, the dominant level flowing on the CAN bus 11 so far is superimposed on the 4V data, and the data having the dominant level of 12V flows.

この際、データの送信元である第1の通信装置10aは、受信部25にCANバス11に流れるデータが入力され、ステップS05で、比較部43により、CANバス11の電圧が所定の基準電圧41(例えば7〜8V)と比較される。その結果、比較部43はCANバス11のドミナントレベルが基準電圧41より高い(即ち、12V)であると判断し、その旨の信号(論理値)を受信回路45に出力する。受信回路45では、比較部43での判断結果として、CANバス11のドミナントレベルが基準電圧41より高い旨の信号を得る。この場合は、送信部23に対してその旨の信号を出力して、次のステップS11に進む。   At this time, in the first communication device 10a that is the data transmission source, the data flowing through the CAN bus 11 is input to the reception unit 25, and the voltage of the CAN bus 11 is set to a predetermined reference voltage by the comparison unit 43 in step S05. 41 (e.g. 7-8V). As a result, the comparison unit 43 determines that the dominant level of the CAN bus 11 is higher than the reference voltage 41 (that is, 12 V), and outputs a signal (logical value) to that effect to the reception circuit 45. In the reception circuit 45, a signal indicating that the dominant level of the CAN bus 11 is higher than the reference voltage 41 is obtained as a determination result in the comparison unit 43. In this case, a signal to that effect is output to the transmitter 23, and the process proceeds to the next step S11.

ステップS11においては、送信部23において、このときのCANバス11上のデータが、当該第1の通信装置10a自身が送信したデータである旨を判断し、ステップS06に進んで、送信部23によりそのまま高優先度のデータが送信し続けられる。この場合は、送信エラーが発生しないため、ステップS07からステップS08に進み、データの送出が継続される。   In step S11, the transmission unit 23 determines that the data on the CAN bus 11 at this time is data transmitted by the first communication device 10a itself, and proceeds to step S06. High priority data continues to be transmitted as it is. In this case, since a transmission error does not occur, the process proceeds from step S07 to step S08, and data transmission is continued.

この場合、第2の通信装置10bにおいては、受信部25の受信回路45(図1では図示省略)によりCANバス11に流れるデータを受信し、第2の電子ユニット21bに対してデータの入力処理を行う。このようにして、第1の電子ユニット21aから第2の電子ユニット21bに対する高優先度のデータの送信が行われる。   In this case, in the second communication device 10b, data flowing through the CAN bus 11 is received by the receiving circuit 45 (not shown in FIG. 1) of the receiving unit 25, and data input processing to the second electronic unit 21b. I do. In this way, high priority data is transmitted from the first electronic unit 21a to the second electronic unit 21b.

また、それまでCANバス11にデータを送出していた第3の通信装置10cは、受信部の受信回路45(図1では図示省略)で12Vの電圧レベルを検出するため、送信部23は、それまで送信していた低優先度のデータの送信を直ちに中止する。   Further, since the third communication device 10c that has sent data to the CAN bus 11 until then detects a voltage level of 12V by the reception circuit 45 (not shown in FIG. 1) of the reception unit, the transmission unit 23 Immediately stop sending low-priority data that was previously sent.

さらに、他の通信装置においても、新たなデータ(ドミナントレベル=4Vまたは12V)の送信を行おうとするタイミングであっても、CANバス11上にドミナントレベル=12Vのデータが流れている旨を検出することで、その新たなデータの送信を中止する。   Further, in other communication apparatuses, even when it is time to transmit new data (dominant level = 4V or 12V), it is detected that data of dominant level = 12V is flowing on the CAN bus 11. By doing so, transmission of the new data is stopped.

このようにして、第1の通信装置10aの12V系の第二電圧源15で生成したデータをCANバス11に出力することで、CANバス11における通常のドミナントレベルの4Vを超えて12Vとなったデータが送信されることになり、この12Vのデータを用いて効率よく調停を行うことができる。   In this way, by outputting the data generated by the 12V system second voltage source 15 of the first communication device 10a to the CAN bus 11, it becomes 12V exceeding the normal dominant level of 4V in the CAN bus 11. Therefore, the arbitration can be performed efficiently using the 12V data.

尚、それまでにドミナントレベル=4Vのデータが流れていたCANバス11に、ドミナントレベル=12Vのデータが流れ始めると、それまでの4Vのデータに12Vのデータが重畳して消された状態になってしまうことから、それまで第3の通信装置10cから送出されていたドミナントレベル=4Vのデータがエラーとなる。この場合、第3の通信装置10cとそのデータ送信先である他の通信装置との間では、CAN通信で実行される一般的なエラー処理が行われ、送信完了割り込み信号が流されずにエラー割り込みが流される。したがって、この4Vのデータを送信していた第3の通信装置10cは、エラー処理割り込み信号が与えられた時点で、CANバス11上に12Vの高優先度のデータが流されていることを判断し、この高優先度のデータが完了するのを待った後に、4Vのデータを再送信する。   When the dominant level = 12V data starts flowing to the CAN bus 11 where the dominant level = 4V data has flown until then, the 12V data is superimposed on the previous 4V data and erased. Therefore, the dominant level = 4V data that has been transmitted from the third communication device 10c until then becomes an error. In this case, general error processing executed in CAN communication is performed between the third communication device 10c and another communication device that is the data transmission destination, and an error occurs without sending a transmission completion interrupt signal. An interrupt is thrown. Therefore, the third communication device 10c that has transmitted the 4V data determines that the 12V high priority data is flowing on the CAN bus 11 when the error processing interrupt signal is given. Then, after waiting for the completion of the high priority data, 4V data is retransmitted.

尚、上記の動作例2では、CANバス11上にドミナントレベル=4Vのデータが流れている場合に第1の通信装置10aからドミナントレベル=12Vの高優先度のデータを送出する例について説明したが、CANバス11上に既にドミナントレベル=12Vの高優先度のデータが流れている場合は、CANバス11上に流れるデータが、自分自身から送出されたデータと異なるため、送信部23においてその旨を判断し、データの送出を中止する。   In the operation example 2 described above, an example in which high priority data of dominant level = 12V is transmitted from the first communication device 10a when dominant level = 4V data flows on the CAN bus 11 has been described. However, when high-priority data having a dominant level of 12 V is already flowing on the CAN bus 11, the data flowing on the CAN bus 11 is different from the data transmitted from itself. The transmission of data is stopped.

この場合は、図2中の上記ステップS05において、第1の通信装置10aの受信部25の比較部43により、CANバス11の電圧を所定の基準電圧41(例えば7〜8V)と比較して、CANバス11のドミナントレベルが基準電圧41より高い(即ち、12V)と判断し、その旨の信号(論理値)を受信回路45に出力してステップS11に進む。   In this case, in step S05 in FIG. 2, the comparison unit 43 of the reception unit 25 of the first communication device 10a compares the voltage of the CAN bus 11 with a predetermined reference voltage 41 (for example, 7 to 8 V). Then, it is determined that the dominant level of the CAN bus 11 is higher than the reference voltage 41 (that is, 12 V), a signal (logical value) to that effect is output to the receiving circuit 45, and the process proceeds to step S11.

そして、図2中のステップS11において、第1の通信装置10aの受信回路45では、比較部43での判断結果として、CANバス11のドミナントレベルが基準電圧41より高い旨の信号を得て、送信部23に対してその旨の信号を出力する。   In step S11 in FIG. 2, the reception circuit 45 of the first communication device 10a obtains a signal indicating that the dominant level of the CAN bus 11 is higher than the reference voltage 41 as a determination result in the comparison unit 43. A signal to that effect is output to the transmitter 23.

このときのドミナントレベルが12Vのデータが、自分自身(例えば第1の通信装置10a自身)が送信したデータでないことから、ステップS09に進み、送信部23は新たなデータの送信を中止する。   Since the data whose dominant level is 12V at this time is not the data transmitted by itself (for example, the first communication device 10a itself), the process proceeds to step S09, and the transmission unit 23 stops transmitting new data.

また、CANバス11上に既にドミナントレベル=12Vの高優先度のデータが流れている場合に、第1の通信装置10aからドミナントレベル=4Vの低優先度のデータを送出しようとする場合にも、上述したドミナントレベル=12Vの高優先度のデータを送信しようとした場合と同様に、データの送出が停止される。   In addition, when high priority data of dominant level = 12V is already flowing on the CAN bus 11, the first communication device 10a also attempts to transmit low priority data of dominant level = 4V. The transmission of data is stopped in the same manner as in the case where the high priority data with the dominant level = 12 V is transmitted.

以上のように、CANバス11に出力するデータの生成のための電圧源として、従来の4V系の第一電圧源13の他に、これよりも高圧の12V系の第二電圧源15をも使用することとし、高優先度のデータを送信する場合に、高圧の12V系の第二電圧源15で生成したデータをCANバス11に出力し、それ以外の通常(低優先度)のデータを送信する場合には、4V系の第一電圧源13で生成したデータをCANバス11に出力するので、図3中の符号51のようにCANバス11上で低優先度のデータが流されている途中であっても、高優先度のデータを即座に割り込ませて調停を行うことができる。したがって、先発の低優先度のデータがCANバス11上に流れていても、後発の高優先度のデータを即座に送信することが可能となり、高優先度のデータに関してリアルタイム性を確保することができる。   As described above, as a voltage source for generating data to be output to the CAN bus 11, in addition to the conventional 4V first voltage source 13, the 12V second voltage source 15 having a higher voltage than this is also provided. When transmitting high priority data, the data generated by the high voltage 12V system second voltage source 15 is output to the CAN bus 11 and other normal (low priority) data is output. In the case of transmission, since the data generated by the 4V system first voltage source 13 is output to the CAN bus 11, low priority data is flowed on the CAN bus 11 as indicated by reference numeral 51 in FIG. Even in the middle of being, arbitration can be performed by immediately interrupting high priority data. Therefore, even if the first low priority data flows on the CAN bus 11, the second high priority data can be immediately transmitted, and the real-time property can be secured for the high priority data. it can.

また、高優先度の電圧レベルのデータが既にCANバス11上で流されている場合に、他の通信装置10a〜10cから当該CANバス11に新たにデータを送出することを容易に防止できるので、既にCANバス11に流れている高優先度のデータをそのまま容易に継続させることが可能となり、先発の高優先度のデータのリアルタイム性を維持することができる。   In addition, when data having a high priority voltage level is already flowing on the CAN bus 11, it is possible to easily prevent new data from being sent to the CAN bus 11 from the other communication devices 10a to 10c. The high priority data already flowing in the CAN bus 11 can be easily continued as it is, and the real-time property of the first high priority data can be maintained.

尚、上記実施形態では、4V系の第一電圧源13と12V系の第二電圧源15の2個の電圧源を備える構成としていたが、高優先度のデータ同士の調停が頻繁に行われるような場合では、上記実施形態では調停を行うことができない。このため、データの電圧レベルを細分化し、第一電圧源13及び第二電圧源15とは電圧レベルの異なる例えば8Vの他の電圧源を利用して、データの優先度の高低を示す電圧レベルを3段階にしてもよい。この場合、ドミナントレベル=4Vのデータが低優先度のデータ、ドミナントレベル=8Vのデータが中優先度のデータ、ドミナントレベル=12Vのデータが高優先度のデータとして処理される。この場合は、各通信装置10a〜10cの送信部23に3個の電圧源を設け、また受信部25に複数の基準電圧と複数の比較部を用いてドミナントレベルの比較判定を行えばよい。あるいは、4個以上の電圧源を使用して4段階以上の電圧レベルでデータの優先度の高低を示すようにしてもよい。   In the above-described embodiment, the configuration includes the two voltage sources, the 4V system first voltage source 13 and the 12V system second voltage source 15. However, arbitration between high priority data is frequently performed. In such a case, arbitration cannot be performed in the above embodiment. For this reason, the voltage level of the data is subdivided, and the voltage level indicating the priority of the data is obtained by using another voltage source having a voltage level different from that of the first voltage source 13 and the second voltage source 15, for example, 8V. May be divided into three stages. In this case, dominant level = 4V data is processed as low priority data, dominant level = 8V data as medium priority data, and dominant level = 12V data as high priority data. In this case, three voltage sources may be provided in the transmission unit 23 of each of the communication devices 10a to 10c, and a dominant level comparison determination may be performed using a plurality of reference voltages and a plurality of comparison units in the reception unit 25. Alternatively, four or more voltage sources may be used to indicate the level of data priority at four or more voltage levels.

また、上記実施形態では、CANバス11を通じて行われるCAN通信を例に挙げて説明したが、その他、CSMA/CD方式またはCSMA/CA方式の通信に適用しても差し支えない。   In the above-described embodiment, the CAN communication performed through the CAN bus 11 has been described as an example. However, the present invention may be applied to CSMA / CD communication or CSMA / CA communication.

本発明の一の実施形態に係る通信装置を示すブロック図である。It is a block diagram which shows the communication apparatus which concerns on one Embodiment of this invention. 本発明の一の実施形態に係る通信装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the communication apparatus which concerns on one Embodiment of this invention. 本発明の一の実施形態に係る通信装置の動作例を示すタイミングチャートである。It is a timing chart which shows the operation example of the communication apparatus which concerns on one Embodiment of this invention. 従来の通信装置の動作例を示すタイミングチャートである。It is a timing chart which shows the operation example of the conventional communication apparatus.

符号の説明Explanation of symbols

10a〜10c 通信装置
11 バス
13 第一電圧源
15 第二電圧源
21a〜21c 電子ユニット
23 送信部
25 受信部
31 電圧切替部
33 パルス生成部
35 送信制御部
41 基準電圧
43 比較部
45 受信回路
10a to 10c communication device 11 bus 13 first voltage source 15 second voltage source 21a to 21c electronic unit 23 transmission unit 25 reception unit 31 voltage switching unit 33 pulse generation unit 35 transmission control unit 41 reference voltage 43 comparison unit 45 reception circuit

Claims (2)

所定の通信線上で複数の電子ユニットの間で通信を行うために当該各電子ユニット毎に設けられる通信装置であって、
前記通信線に送出するデータのパルスの電圧レベルとして少なくとも2つの異なる電圧レベルを切り替える電圧切替部と、
送出する前記データの優先度に応じて高優先度のデータがそれよりも低優先度のデータに対して高い前記電圧レベルを選択するよう前記電圧切替部を制御する送信制御部と
前記通信線の電圧状態が、前記高い電圧レベルであるか否かを判定する電圧判定手段とを備え、
前記送信制御部は、前記電圧判定手段が前記通信線の電圧状態として前記高い電圧レベルである旨を判定し、且つ前記通信線に流れるデータが当該通信装置から送出されたものでない場合に、その旨を判断して、前記通信線に対する前記データの送出を中止することを特徴とする通信装置。
A communication device provided for each electronic unit in order to perform communication between a plurality of electronic units on a predetermined communication line,
A voltage switching unit that switches at least two different voltage levels as voltage levels of pulses of data sent to the communication line;
A transmission control unit that controls the voltage switching unit so that high priority data selects a higher voltage level than lower priority data according to the priority of the data to be transmitted ;
Voltage determination means for determining whether the voltage state of the communication line is the high voltage level,
The transmission control unit determines that the voltage determination unit is at the high voltage level as the voltage state of the communication line, and when the data flowing through the communication line is not transmitted from the communication device, The communication apparatus is configured to stop the transmission of the data to the communication line .
所定の通信線上で複数の電子ユニットの間で通信を行う通信方法であって、
(a)前記通信線に送出するデータが高優先度以外のデータである場合に、第1の電圧レベルのデータを生成して前記通信線に送出する工程と、
(b)前記通信線に送出するデータが高優先度のデータである場合に、前記第1の電圧レベルよりも高い第2の電圧レベルのデータを生成して前記通信線に送出する工程とを備え、
前記(a)の工程及び(b)の工程のいずれかまたは両方において、
前記通信線の電圧状態が前記第2の高い電圧レベルであるか否かを判定し、前記通信線の電圧状態として前記第2の電圧レベルである旨が判定され且つ前記通信線に流れるデータが他の電子ユニットからのデータである場合に、前記通信線に対する前記データの送出を中止することを特徴とする通信方法
A communication method for performing communication between a plurality of electronic units on a predetermined communication line,
(A) generating data of a first voltage level and sending it to the communication line when the data sent to the communication line is data other than a high priority;
(B) when the data to be sent to the communication line is high-priority data, generating data having a second voltage level higher than the first voltage level and sending the data to the communication line; Prepared,
In either or both of the steps (a) and (b),
It is determined whether the voltage state of the communication line is the second high voltage level, it is determined that the voltage state of the communication line is the second voltage level, and the data flowing through the communication line is A communication method, comprising: stopping transmission of the data to the communication line when the data is from another electronic unit .
JP2004208948A 2004-07-15 2004-07-15 Communication apparatus and communication method Expired - Fee Related JP4574256B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004208948A JP4574256B2 (en) 2004-07-15 2004-07-15 Communication apparatus and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004208948A JP4574256B2 (en) 2004-07-15 2004-07-15 Communication apparatus and communication method

Publications (2)

Publication Number Publication Date
JP2006033391A JP2006033391A (en) 2006-02-02
JP4574256B2 true JP4574256B2 (en) 2010-11-04

Family

ID=35899211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004208948A Expired - Fee Related JP4574256B2 (en) 2004-07-15 2004-07-15 Communication apparatus and communication method

Country Status (1)

Country Link
JP (1) JP4574256B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5440418B2 (en) * 2010-06-29 2014-03-12 富士通セミコンダクター株式会社 Bus system having a plurality of protocol buses and bus switching device used therefor
CN111413909A (en) * 2020-04-15 2020-07-14 联合华芯电子有限公司 Neuron based on robot perception system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59127450A (en) * 1983-01-12 1984-07-23 Canon Inc Transmission control system
JPH0918504A (en) * 1995-07-03 1997-01-17 Fujitsu Ten Ltd Data communication device
JP2004048398A (en) * 2002-07-12 2004-02-12 Nec Engineering Ltd Lan interface device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59127450A (en) * 1983-01-12 1984-07-23 Canon Inc Transmission control system
JPH0918504A (en) * 1995-07-03 1997-01-17 Fujitsu Ten Ltd Data communication device
JP2004048398A (en) * 2002-07-12 2004-02-12 Nec Engineering Ltd Lan interface device

Also Published As

Publication number Publication date
JP2006033391A (en) 2006-02-02

Similar Documents

Publication Publication Date Title
EP3541031B1 (en) Apparatuses and methods for switching communication modes of a transceiver circuit
KR101881182B1 (en) Device and method for serial data transmission at a high data rate
US8868807B2 (en) Communication system, master node, and slave node
JP3952830B2 (en) Communications system
JP4952212B2 (en) Communication interference prevention device, communication system node, communication system, vehicle fault diagnosis device, and in-vehicle device
CN111149326B (en) Transmitting/receiving device for a bus system and method for reducing the tendency of oscillations during transitions between different bit states
EP3544239B1 (en) Controller area network (can) device and method for operating a can device
US20120084378A1 (en) Communication system, master node, and slave node
CN107113216B (en) Subscriber station and method for adjusting the timing of a transmission signal of a bus system
JP5223421B2 (en) Communication device
CN108353016B (en) Relay device, electronic control device, and in-vehicle network system
KR20190000514A (en) Method for preventing diagnostic errors in vehicle network and apparatus for the same
CN113726623A (en) Controller area network controller and transceiver
JP2006191337A (en) Gateway device for transferring message between buses and network system using the device
CN111149327B (en) Transmitting/receiving device for a bus system and method for reducing the tendency of oscillations during transitions between different bit states
CN111149328B (en) Transmitting/receiving device for a bus system and method for reducing the tendency of oscillations during transitions between different bit states
JP4574256B2 (en) Communication apparatus and communication method
JP2015213308A (en) Controller area network (can) device and can traffic control method
US8605744B2 (en) Semiconductor integrated circuit device
JP4954832B2 (en) In-vehicle communication system
KR102262081B1 (en) Compliance test apparatus and method of communication node
JP2005277896A (en) On-vehicle network extending apparatus and on-vehicle electronic control unit
US20210328931A1 (en) Communication device, transmission method, and computer program
JP2021078023A (en) Gateway device, node device, and computer program
US10567193B2 (en) In-vehicle control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070622

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100415

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100817

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100818

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees