JP2016082297A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2016082297A
JP2016082297A JP2014208938A JP2014208938A JP2016082297A JP 2016082297 A JP2016082297 A JP 2016082297A JP 2014208938 A JP2014208938 A JP 2014208938A JP 2014208938 A JP2014208938 A JP 2014208938A JP 2016082297 A JP2016082297 A JP 2016082297A
Authority
JP
Japan
Prior art keywords
level
communication
output signal
recessive
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014208938A
Other languages
Japanese (ja)
Other versions
JP6451196B2 (en
Inventor
省悟 赤▲崎▼
Shogo Akasaki
省悟 赤▲崎▼
岸上 友久
Tomohisa Kishigami
友久 岸上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2014208938A priority Critical patent/JP6451196B2/en
Publication of JP2016082297A publication Critical patent/JP2016082297A/en
Application granted granted Critical
Publication of JP6451196B2 publication Critical patent/JP6451196B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)
  • Noise Elimination (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable correct reception of a communication signal from an opposite communication party without affected by a noise, in a communication device in which a multi-drop communication bus is adopted.SOLUTION: An ECU 5 as the communication device includes: a resistor 11 which pulls up a communication bus 3 to a power voltage VB; a driver 13 which, when switched on, outputs a dominant to the communication bus 3 by making the communication bus 3 conducting to a ground potential, and when switched off, outputs a recessive to the communication bus 3; a comparator 15 which compares the magnitude of the voltage of the communication bus 3 with a threshold Vth to binarize to a high or low signal; a noise filter 17 to which an output signal Scp of the comparator 15 is input; and a microcomputer 19 which processes the output signal Sout of the noise filter 17 as a reception signal. The noise filter 17 is configured to have a filter time for the low input which represents the dominant, whereas to immediately react with an output to the high input which represents the recessive.SELECTED DRAWING: Figure 1

Description

本発明は、マルチドロップ型通信バスを採用した通信装置に関する。   The present invention relates to a communication device that employs a multi-drop communication bus.

通信バスを介して他の装置と通信する通信装置では、入力される通信信号からノイズを除去するためのノイズフィルタが設けられる。そして、ノイズフィルタとしては、入力信号のレベル(ハイまたはロー)が一定時間以上同じであれば、出力信号のレベル(ハイまたはロー)を、その入力信号のレベルと同じレベルに変化させるものがある(例えば、特許文献1参照)。   A communication device that communicates with other devices via a communication bus is provided with a noise filter for removing noise from an input communication signal. As a noise filter, there is one that changes the level (high or low) of an output signal to the same level as the level of the input signal if the level (high or low) of the input signal is the same for a certain period of time. (For example, refer to Patent Document 1).

また、通信バスとしては、例えばLIN(Local Interconnect Network)などに採用されるマルチドロップ型通信バスがある。マルチドロップ型通信バスでは、当該通信バスの電圧が抵抗によりレセッシブを表す電圧に安定化される。そして、当該通信バスの電圧をドミナントを表す電圧にするドライバがオンすることで、通信バスに信号としてドミナントが出力される。また、ドライバがオフすることで、通信バスに信号としてレセッシブが出力される。レセッシブは劣性の信号であり、ドミナントは優性の信号である。   In addition, as a communication bus, for example, there is a multi-drop type communication bus employed in LIN (Local Interconnect Network) or the like. In the multi-drop communication bus, the voltage of the communication bus is stabilized to a voltage that represents recessive by a resistor. Then, when the driver that turns the voltage of the communication bus to a voltage representing a dominant is turned on, the dominant is output as a signal to the communication bus. Further, when the driver is turned off, recessive is output as a signal to the communication bus. Recessive is a recessive signal and dominant is a dominant signal.

特開平11−55235号公報JP-A-11-55235

マルチドロップ型通信バスにおいては、ドライバがオフの場合とオンの場合とで、当該通信バスのインピーダンスが相違する。つまり、インピーダンスはドライバがオフの場合よりもオンの場合の方が小さくなる。このため、通信バスのレベルのうち、ドライバがオフの場合のレベルであるレセッシブレベル(以下単に、レセッシブともいう)と、ドライバがオンの場合のレベルであるドミナントレベル(以下単に、ドミナントともいう)とでは、ノイズの乗り方が異なる。具体的には、レセッシブよりもドミナントの方が、ノイズが乗り難い。つまり、通信バスにノイズが乗った場合に、レセッシブはドミナントに化け易く、ドミナントはレセッシブに化け難い。   In a multi-drop communication bus, the impedance of the communication bus differs depending on whether the driver is off or on. That is, the impedance is smaller when the driver is on than when the driver is off. Therefore, among the communication bus levels, a recessive level (hereinafter also simply referred to as recessive) when the driver is off, and a dominant level (hereinafter also simply referred to as dominant) when the driver is on. Then, how to ride noise is different. Specifically, the dominant is harder to get the noise than the recessive. That is, when noise is on the communication bus, recessive is likely to become dominant, and dominant is difficult to become recessive.

よって、マルチドロップ型通信バスを採用する通信装置に上記文献1のノイズフィルタを用いたとすると、下記の問題が生じる。
通信相手が通信バスへの通信信号をドミナントからレセッシブに変化させた場合に、通信バスにノイズが乗っていて、レセッシブが断続的にドミナントに化けたとする。その場合、ノイズフィルタの入力信号が一定時間以上同じレベル(レセッシブを表すレベル)にならないため、ノイズフィルタの出力信号は通信信号に応じて変化しなくなる。その結果、通信相手からの通信信号を正しく受信することができなくなってしまう。
Therefore, if the noise filter of the above-mentioned document 1 is used for a communication device that employs a multidrop communication bus, the following problems occur.
It is assumed that when the communication partner changes the communication signal to the communication bus from dominant to recessive, noise is riding on the communication bus and the recessive intermittently becomes dominant. In this case, since the input signal of the noise filter does not become the same level (a level representing recessive) for a certain period of time, the output signal of the noise filter does not change according to the communication signal. As a result, the communication signal from the communication partner cannot be received correctly.

そこで、本発明は、マルチドロップ型通信バスを採用する通信装置において、通信相手からの通信信号をノイズの影響を受けずに正しく受信できるようにすること、を目的としている。   Accordingly, an object of the present invention is to enable a communication apparatus employing a multi-drop communication bus to correctly receive a communication signal from a communication partner without being affected by noise.

第1発明の通信装置は、マルチドロップ型通信バスを用いた通信システムにおいて、他の装置と通信する通信装置である。マルチドロップ型通信バスでは、当該通信バスの電圧が、抵抗により、劣性の信号であるレセッシブを表す電圧に安定化される。そして、当該通信バスの電圧を優性の信号であるドミナントを表す電圧にするドライバがオンすることで、当該通信バスにドミナントが出力され、ドライバがオフすることで、当該通信バスにレセッシブが出力される。   The communication device of the first invention is a communication device that communicates with other devices in a communication system using a multi-drop communication bus. In the multi-drop communication bus, the voltage of the communication bus is stabilized to a voltage representing a recessive signal which is a recessive signal by a resistor. Then, when a driver that turns the voltage of the communication bus to a voltage representing a dominant signal representing dominant is turned on, the dominant is output to the communication bus, and when the driver is turned off, recessive is output to the communication bus. The

第1発明の通信装置は、前記抵抗及び前記ドライバと、通信バスの電圧をハイレベル又はローレベルの信号に二値化する二値化回路と、二値化回路の出力信号を、入力とするノイズフィルタと、ノイズフィルタの出力信号を、受信信号として処理する処理部と、を備える。   A communication device according to a first aspect of the present invention receives the resistor and the driver, a binarization circuit that binarizes the voltage of the communication bus into a high level or low level signal, and an output signal of the binarization circuit as inputs. A noise filter; and a processing unit that processes an output signal of the noise filter as a reception signal.

ノイズフィルタは、二値化回路の出力信号が、ハイレベルとローレベルとのうち、レセッシブを表す方のレベルになれば、処理部への出力信号を、ハイレベルとローレベルとのうち、処理部がレセッシブと判断する方の第1レベルにする。また、ノイズフィルタは、二値化回路の出力信号が、ハイレベルとローレベルとのうち、ドミナントを表す方のレベルであることが、所定時間継続すると、処理部への出力信号を、ハイレベルとローレベルとのうち、処理部がドミナントと判断する方の第2レベルにする。そして、前記所定時間は、通信バスを介して実施される通信における1ビット分の時間よりも短い。   The noise filter processes the output signal to the processing unit between the high level and the low level when the output signal of the binarization circuit becomes a level representing the recessive of the high level and the low level. Set to the first level that the part judges to be recessive. In addition, the noise filter outputs the output signal to the processing unit to the high level when the output signal of the binarization circuit is the level representing the dominant of the high level and the low level for a predetermined time. And the low level, the second level which is determined by the processing unit as a dominant is set. The predetermined time is shorter than a time corresponding to one bit in communication performed via the communication bus.

つまり、ノイズフィルタは、入力信号(二値化回路の出力信号)がドミナントを表す方のレベルになっても、そのレベルが所定時間継続しないと、処理部への出力信号をドミナントに対応する方の第2レベルに変化させないが、入力信号がレセッシブを表す方のレベルになった場合には、即座に出力信号をレセッシブに対応する方の第1レベルに変化させる。換言すれば、ノイズフィルタは、ドミナントの入力に対しては所定時間のフィルタ時間を有しているが、レセッシブの入力に対しては即座に出力を反応させる。   In other words, even if the input signal (the output signal of the binarization circuit) reaches a level that represents a dominant level, the noise filter does not continue for a predetermined time. However, when the input signal becomes the level representing the recessive level, the output signal is immediately changed to the first level corresponding to the recessive level. In other words, the noise filter has a predetermined filter time for the dominant input, but immediately reacts the output to the recessive input.

このため、通信相手である他の装置が通信バスにレセッシブを出力すると、ノイズフィルタの出力信号はレセッシブに対応する方の第1レベルになる。そして、通信バスにノイズが乗って、そのノイズによりレセッシブがドミナントに化けたとしても、ノイズよるドミナントの継続時間が上記所定時間(フィルタ時間)以上とならない限り、ノイズフィルタの出力信号は第1レベルのままになる。よって、処理部にレセッシブを正しく伝えることができる。尚、ノイズによってレセッシブがドミナントに化けるとは、詳しくは、ノイズによって通信バスの電圧が変化して、二値化回路の出力信号がレセッシブを表す方のレベルからドミナントを表す方のレベルに変化してしまう、ということである。   For this reason, when another device which is a communication partner outputs recessive to the communication bus, the output signal of the noise filter becomes the first level corresponding to recessive. And even if the noise gets on the communication bus and the recessive becomes dominant due to the noise, the output signal of the noise filter is the first level as long as the duration of the dominant due to the noise does not exceed the predetermined time (filter time). Will remain. Therefore, recessiveness can be correctly transmitted to the processing unit. Incidentally, the fact that recessive becomes dominant due to noise means that the voltage of the communication bus changes due to noise, and the output signal of the binarization circuit changes from the level representing recessive to the level representing dominant. It means that.

また、他の装置が通信バスにドミナントを出力した場合には、通信バスのインピーダンスが小さくなるため、そのドミナントはノイズでレセッシブに化け難い。つまり、ノイズによって通信バスの電圧が変化して、二値化回路の出力信号がドミナントを表す方のレベルからレセッシブを表す方のレベルに変化してしまう、ということが起き難い。このため、通信バスにドミナントが出力された場合には、通信バスにノイズが乗ったとしても、二値化回路の出力信号は所定時間以上、ドミナントを表す方のレベルになり、その結果、ノイズフィルタの出力信号がドミナントに対応する方の第2レベルになる。よって、処理部にドミナントを正しく伝えることができる。   Further, when another device outputs a dominant to the communication bus, the impedance of the communication bus becomes small, so that the dominant is difficult to become recessive due to noise. That is, it is unlikely that the voltage of the communication bus changes due to noise, and the output signal of the binarization circuit changes from the level representing dominant to the level representing recessive. For this reason, if a dominant signal is output to the communication bus, the output signal of the binarization circuit will be at the level representing the dominant for a predetermined time or longer even if noise is applied to the communication bus. The output signal of the filter becomes the second level corresponding to the dominant. Therefore, the dominant can be correctly transmitted to the processing unit.

そして、他の装置が通信バスへの出力信号(通信信号)をドミナントからレセッシブに変化させた場合に、通信バスにノイズが乗っていて、レセッシブが断続的にドミナントに化けたとする。その場合、二値化回路の出力信号が一回でもレセッシブを表す方のレベルになれば、ノイズフィルタの出力信号は第2レベルから第1レベルに変化する。レセッシブに関してはフィルタ時間が無いからである。よって、処理部に対して、ドミナントからレセッシブへの変化を正しく伝えることができる。   Then, when another device changes the output signal (communication signal) to the communication bus from dominant to recessive, it is assumed that noise is riding on the communication bus and the recessive becomes intermittently dominant. In that case, if the output signal of the binarization circuit reaches a level that represents recessive even once, the output signal of the noise filter changes from the second level to the first level. This is because there is no filter time for recessive. Therefore, the change from dominant to recessive can be correctly transmitted to the processing unit.

以上のことから、第1発明の通信装置によれば、通信相手からの通信信号を、ノイズの影響を受けずに処理部へ正しく伝えることができ、その結果、正しい受信が可能となる。
なお、特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。
From the above, according to the communication device of the first invention, the communication signal from the communication partner can be correctly transmitted to the processing unit without being affected by noise, and as a result, correct reception is possible.
In addition, the code | symbol in the parenthesis described in the claim shows the correspondence with the specific means as described in embodiment mentioned later as one aspect, Comprising: The technical scope of this invention is limited is not.

実施形態の通信装置の構成を表す構成図である。It is a block diagram showing the structure of the communication apparatus of embodiment. ノイズフィルタの作用を説明する説明図である。It is explanatory drawing explaining the effect | action of a noise filter. 比較例のノイズフィルタを表す構成図である。It is a block diagram showing the noise filter of a comparative example. 比較例のノイズフィルタの作用を説明する説明図である。It is explanatory drawing explaining the effect | action of the noise filter of a comparative example. 他の実施形態(変形例3)の通信装置の構成を表す構成図である。It is a block diagram showing the structure of the communication apparatus of other embodiment (modification 3).

以下に、本発明が適用された実施形態の通信システムについて説明する。
図1に示す実施形態の通信システム1は、例えば車両(自動車)に搭載される通信システムである。
A communication system according to an embodiment to which the present invention is applied will be described below.
A communication system 1 according to the embodiment shown in FIG. 1 is a communication system mounted on, for example, a vehicle (automobile).

通信システム1では、通信バス3に複数の電子制御装置(図1では2つを図示しており、以下、ECUという)5,6が接続されている。通信バス3は、マルチドロップ型通信バスである。また、通信バス3は、本実施形態では、1本の通信線からなる。このため、以下では、通信バス3のことを、通信線3という。ECU5,6は、通信線3を介して通信する通信装置に相当する。ECU5,6の各々は、他のECUへ情報を送信したり、他のECUから情報を受信したりする。そして、ECU5,6の各々は、他のECUから通信によって取得した情報を、例えば自身の制御対象の制御に用いる。尚、各ECU5,6の通信に関する構成は同じであるため、以下では、主にECU5について説明する。   In the communication system 1, a plurality of electronic control devices (two shown in FIG. 1, hereinafter referred to as ECUs) 5 and 6 are connected to the communication bus 3. The communication bus 3 is a multi-drop communication bus. Moreover, the communication bus 3 consists of one communication line in this embodiment. For this reason, hereinafter, the communication bus 3 is referred to as a communication line 3. The ECUs 5 and 6 correspond to communication devices that communicate via the communication line 3. Each of the ECUs 5 and 6 transmits information to other ECUs or receives information from other ECUs. Each of the ECUs 5 and 6 uses information acquired from other ECUs by communication, for example, for controlling its own control target. In addition, since the structure regarding communication of each ECU5 and 6 is the same, below, ECU5 is mainly demonstrated below.

図1に示すように、ECU5は、通信線3を電源電圧VBにプルアップする抵抗(終端抵抗)11を備える。このため、通信線3の電圧は抵抗11により電源電圧VBに安定化される。更に、ECU5は、通信線3を電源電圧VBよりも低い所定電位に導通させる(接続させる)ドライバ13を備える。この例において、電源電圧VBは、車両のバッテリ電圧(例えば通常12V)であり、レセッシブを表す電圧に相当する。所定電位は、グランド電位(0V)であり、ドミナントを表す電圧に相当する。   As shown in FIG. 1, the ECU 5 includes a resistor (termination resistor) 11 that pulls up the communication line 3 to the power supply voltage VB. For this reason, the voltage of the communication line 3 is stabilized to the power supply voltage VB by the resistor 11. Further, the ECU 5 includes a driver 13 that causes the communication line 3 to conduct (connect) to a predetermined potential lower than the power supply voltage VB. In this example, the power supply voltage VB is a vehicle battery voltage (for example, typically 12 V), and corresponds to a voltage representing recessive. The predetermined potential is a ground potential (0 V) and corresponds to a voltage representing a dominant.

ドライバ13は、オンすることで、通信線3を上記所定電位(以下、グランド電位という)に導通させるスイッチであり、例えば、エミッタ接地のNPNトランジスタによって構成されている。ドライバ13がオンすれば、通信線3の電圧は、抵抗11により安定化された電源電圧VBから、グランド電位になる。よって、通信線3へは、ドライバ13がオンすることで、優性の信号であるドミナントが出力され、ドライバ13がオフすることで、劣性の信号であるレセッシブが出力される。通信線3のレベルとして、ドミナントのレベルはグランド電位であり、レセッシブのレベルは電源電圧VBである。   The driver 13 is a switch that, when turned on, causes the communication line 3 to conduct to the predetermined potential (hereinafter referred to as a ground potential), and is configured by, for example, an NPN transistor with a common emitter. When the driver 13 is turned on, the voltage of the communication line 3 becomes the ground potential from the power supply voltage VB stabilized by the resistor 11. Therefore, a dominant signal that is a dominant signal is output to the communication line 3 when the driver 13 is turned on, and a recessive signal that is a recessive signal is output when the driver 13 is turned off. As the level of the communication line 3, the dominant level is the ground potential, and the recessive level is the power supply voltage VB.

更に、ECU5は、通信線3の電圧をハイレベル又はローレベルの信号に二値化する二値化回路15と、二値化回路15の出力信号Scpを、入力とするノイズフィルタ17と、ノイズフィルタ17の出力信号Soutを、受信信号として処理する処理部としてのマイコン(マイクロコンピュータ)19と、を備える。   The ECU 5 further includes a binarization circuit 15 that binarizes the voltage of the communication line 3 into a high-level or low-level signal, a noise filter 17 that receives the output signal Scp of the binarization circuit 15, and noise. And a microcomputer 19 as a processing unit that processes the output signal Sout of the filter 17 as a received signal.

本実施形態において、二値化回路15はコンパレータである。このため、以下では、二値化回路15のことを、コンパレータ15という。また、ドライバ13、コンパレータ15及びノイズフィルタ17は、IC化されており、1つのトランシーバIC21内に構成されている。   In the present embodiment, the binarization circuit 15 is a comparator. Therefore, hereinafter, the binarization circuit 15 is referred to as a comparator 15. The driver 13, the comparator 15, and the noise filter 17 are integrated into an IC, and are configured in one transceiver IC 21.

コンパレータ15には、電源電圧VBとグランド電位との間の閾値電圧Vthが入力される。そして、コンパレータ15は、通信線3の電圧と閾値電圧Vthとを大小比較することにより、通信線3の電圧をハイレベル又はローレベルの信号に二値化する。例えば、ハイレベルは、マイコン19の動作用電圧(例えば5V)と同じ電位であり、ローレベルは、グランド電位である。   The comparator 15 receives a threshold voltage Vth between the power supply voltage VB and the ground potential. Then, the comparator 15 compares the voltage of the communication line 3 with the threshold voltage Vth, thereby binarizing the voltage of the communication line 3 into a high level or low level signal. For example, the high level is the same potential as the operating voltage (for example, 5 V) of the microcomputer 19, and the low level is the ground potential.

具体的には、コンパレータ15は、通信線3の電圧が閾値電圧Vthよりも大きければ、ハイレベルを出力し、通信線3の電圧が閾値電圧Vthよりも小さければ、ローレベルを出力する。このため、本実施形態において、コンパレータ15の出力信号Scpとしては、ハイレベルが、レセッシブを表す方のレベルであり、ローレベルが、ドミナントを表す方のレベルである。   Specifically, the comparator 15 outputs a high level if the voltage of the communication line 3 is larger than the threshold voltage Vth, and outputs a low level if the voltage of the communication line 3 is smaller than the threshold voltage Vth. For this reason, in the present embodiment, as the output signal Scp of the comparator 15, the high level is the level representing the recessive level, and the low level is the level representing the dominant level.

マイコン19は、例えばUART(Universal Asynchronous Receiver/Transmitter)の通信方式に基づく通信回路23を備える。そして、通信回路23の送信信号端子(TX)からドライバ13へ送信信号が出力され、ドライバ13は、その送信信号に応じてオン/オフする。また、通信回路23の受信信号端子(RX)には、ノイズフィルタ17の出力信号Soutが、受信信号として入力される。通信回路23は、受信信号を論理値「1」又は論理値「0」のデータに変換して、そのデータを例えばマイコン19内の受信データレジスタに格納する。   The microcomputer 19 includes a communication circuit 23 based on, for example, a UART (Universal Asynchronous Receiver / Transmitter) communication method. Then, a transmission signal is output from the transmission signal terminal (TX) of the communication circuit 23 to the driver 13, and the driver 13 is turned on / off according to the transmission signal. Further, the output signal Sout of the noise filter 17 is input to the reception signal terminal (RX) of the communication circuit 23 as a reception signal. The communication circuit 23 converts the received signal into data having a logical value “1” or a logical value “0”, and stores the data in, for example, a received data register in the microcomputer 19.

尚、本実施形態において、ノイズフィルタ17の出力信号Soutは、ハイレベルが第1レベルで、ローレベルが第2レベルである。つまり、マイコン19は、ノイズフィルタ17の出力信号Soutについては、コンパレータ15の出力信号Scpの意味と同様に、ハイレベルをレセッシブと判断し、ローレベルをドミナントと判断する。例えば、論理値「1」のデータがレセッシブのデータとして処理され、論理値「0」のデータがドミナントのデータとして処理されるとすると、通信回路23は、ノイズフィルタ17の出力信号Soutのレベルのうち、ハイレベルを論理値「1」のデータとし、ローレベルを論理値「0」のデータとする。   In the present embodiment, the output signal Sout of the noise filter 17 has a high level at the first level and a low level at the second level. That is, for the output signal Sout of the noise filter 17, the microcomputer 19 determines that the high level is recessive and the low level is dominant as in the meaning of the output signal Scp of the comparator 15. For example, assuming that data with a logical value “1” is processed as recessive data and data with a logical value “0” is processed as dominant data, the communication circuit 23 has the level of the output signal Sout of the noise filter 17. Of these, the high level is data having a logical value “1”, and the low level is data having a logical value “0”.

ノイズフィルタ17は、クロック源29と、セット機能付きの複数(この例では2つ)のD型フリップフロップ31,32と、出力回路としてのオア(OR)回路33と、を備える。   The noise filter 17 includes a clock source 29, a plurality of (two in this example) D-type flip-flops 31 and 32 having a set function, and an OR circuit 33 as an output circuit.

クロック源29が出力するクロックの周期は、通信線3を介して実施される通信における1ビット分の時間よりも十分に短い。
そして、ノイズフィルタ17では、D型フリップフロップ31,32のクロック端子(CK端子)にクロック源29からのクロックが入力されると共に、D型フリップフロップ31,32はシフトレジスタの形態に接続されている。つまり、前段のD型フリップフロップ(この例では31)のQ出力端子(Q端子)が、後段のD型フリップフロップ(この例では32)のデータ入力端子(D端子)に接続されている。
The period of the clock output from the clock source 29 is sufficiently shorter than the time for one bit in communication performed via the communication line 3.
In the noise filter 17, the clock from the clock source 29 is input to the clock terminals (CK terminals) of the D flip-flops 31 and 32, and the D flip-flops 31 and 32 are connected in the form of a shift register. Yes. That is, the Q output terminal (Q terminal) of the preceding D flip-flop (31 in this example) is connected to the data input terminal (D terminal) of the succeeding D flip-flop (32 in this example).

更に、D型フリップフロップ31,32のうち、シフトレジスタの形態において初段に配置されたD型フリップフロップ31のデータ入力端子と、全てのD型フリップフロップ31,32のセット端子(SET端子)とに、コンパレータ15の出力信号Scpが入力されるようになっている。尚、D型フリップフロップ31,32のセット端子は、ハイアクティブの入力端子である。   Furthermore, of the D-type flip-flops 31 and 32, the data input terminal of the D-type flip-flop 31 arranged in the first stage in the form of the shift register, and the set terminals (SET terminals) of all the D-type flip-flops 31 and 32 In addition, the output signal Scp of the comparator 15 is inputted. The set terminals of the D-type flip-flops 31 and 32 are high-active input terminals.

オア回路33には、D型フリップフロップ31のQ出力端子からの出力であるQ出力(以下、Q1と記載する)と、D型フリップフロップ32のQ出力(以下、Q2と記載する)とが、入力される。そして、オア回路33は、Q1とQ2との論理和信号を、当該ノイズフィルタ17の出力信号Soutとして、マイコン19に出力する。   The OR circuit 33 includes a Q output (hereinafter referred to as Q1) which is an output from the Q output terminal of the D-type flip-flop 31, and a Q output (hereinafter referred to as Q2) of the D-type flip-flop 32. Is entered. Then, the OR circuit 33 outputs a logical sum signal of Q1 and Q2 to the microcomputer 19 as the output signal Sout of the noise filter 17.

このようなノイズフィルタ17では、コンパレータ15の出力信号Scpが一瞬でもハイレベルになれば、全てのD型フリップフロップ31,32がセット状態になって、それらのQ出力(Q1,Q2)が全てハイレベルになり、オア回路33からの出力信号Soutもハイレベルになる。また、ノイズフィルタ17では、コンパレータ15の出力信号Scpが継続してローレベルになり、且つ、その出力信号Scpがローレベルになっている間にクロックの立ち上がりエッジが2回発生すると、全てのD型フリップフロップ31,32のQ出力(Q1,Q2)がローレベルになる。すると、その時点でオア回路33からの出力信号Soutがローレベルになる。   In such a noise filter 17, when the output signal Scp of the comparator 15 becomes high level even for a moment, all the D-type flip-flops 31, 32 are set, and all their Q outputs (Q1, Q2) are set. The output signal Sout from the OR circuit 33 becomes high level. In the noise filter 17, if the output signal Scp of the comparator 15 continues to be low level and the rising edge of the clock occurs twice while the output signal Scp is low level, all D The Q outputs (Q1, Q2) of the type flip-flops 31, 32 become low level. At that time, the output signal Sout from the OR circuit 33 becomes low level.

つまり、ノイズフィルタ17は、コンパレータ15の出力信号Scpがレセッシブを表す方のハイレベルになれば、即座に出力信号Soutをハイレベルにする。一方、ノイズフィルタ17は、コンパレータ15の出力信号Scpがドミナントを表す方のローレベルであることが、所定時間継続すると、出力信号Soutをローレベルにする。その所定時間は、ローレベルの入力に対するフィルタ時間であり、この例においては、最大でクロックの2周期分の時間であり、最小でクロックの1周期分の時間である。更に、その所定時間(以下、フィルタ時間ともいう)は、通信における1ビット分の時間よりも短い。   That is, the noise filter 17 immediately sets the output signal Sout to the high level when the output signal Scp of the comparator 15 becomes the high level representing the recessive. On the other hand, the noise filter 17 sets the output signal Sout to the low level when the output signal Scp of the comparator 15 is at the low level indicating the dominant and continues for a predetermined time. The predetermined time is a filter time for a low-level input. In this example, the predetermined time is a maximum of two clock cycles and a minimum of one clock cycle. Further, the predetermined time (hereinafter also referred to as filter time) is shorter than the time for one bit in communication.

よって、ノイズフィルタ17は、入力信号(コンパレータ15の出力信号Scp)がローレベルになっても、そのローレベルが所定時間継続しないと、出力信号Soutをローレベルに変化させないが、入力信号がハイレベルになった場合には、即座に出力信号Soutをハイレベルに変化させることとなる。   Therefore, even if the input signal (the output signal Scp of the comparator 15) becomes low level, the noise filter 17 does not change the output signal Sout to low level unless the low level continues for a predetermined time, but the input signal is high. When the level is reached, the output signal Sout is immediately changed to a high level.

次に、ECU5におけるノイズフィルタ17の作用について、図2を用い説明する。尚、図2において、「ノイズ無しのバス波形」の段(1段目)は、ノイズが乗っていない場合の通信線3の電圧波形(通信線3上の通信信号)を表しており、「ノイズ有りのバス波形」の段(2段目)は、高周波のノイズが乗っている場合の通信線3の電圧波形を表している。また、図示を省略しているが、図2における横軸は時間である。そして、これらのことは、後述する図4についても同様である。   Next, the operation of the noise filter 17 in the ECU 5 will be described with reference to FIG. In FIG. 2, the stage (first stage) of the “no-noise bus waveform” represents the voltage waveform (communication signal on the communication line 3) of the communication line 3 when no noise is present. The stage (second stage) of the “bus waveform with noise” represents the voltage waveform of the communication line 3 when high-frequency noise is present. Although not shown, the horizontal axis in FIG. 2 is time. The same applies to FIG. 4 described later.

図2における時刻t1よりも前に示すように、通信相手である他のECU(例えばECU6)が通信線3にレセッシブを出力した場合に、通信線3に乗ったノイズによりレセッシブがドミナントに化けたとする。尚、この例において、ノイズによってレセッシブがドミナントに化けるとは、図2の2段目及び3段目に示すように、「ノイズによって通信線3の電圧が閾値電圧Vthを下回り、コンパレータ15の出力信号Scpがレセッシブを表すハイレベルからドミナントを表すローレベルに変化してしまう」ということである。   As shown before time t1 in FIG. 2, when another ECU (for example, ECU 6) as a communication partner outputs a recessive to the communication line 3, the recessive has become dominant due to noise on the communication line 3. To do. In this example, the recessive may become dominant due to noise, as shown in the second and third stages of FIG. 2, “The voltage of the communication line 3 falls below the threshold voltage Vth due to noise and the output of the comparator 15. The signal Scp changes from a high level representing recessive to a low level representing dominant.

その場合、コンパレータ15の出力信号Scpが一瞬でもハイレベルになれば、ノイズフィルタ17の出力信号Soutはハイレベルになる。そして、ノイズよるドミナントの継続時間が上記所定時間(フィルタ時間)以上とならない限り、ノイズフィルタ17の出力信号Soutはハイレベルのままになる。よって、マイコン19にレセッシブを正しく伝えることができる。   In that case, if the output signal Scp of the comparator 15 becomes high level even for a moment, the output signal Sout of the noise filter 17 becomes high level. The output signal Sout of the noise filter 17 remains at a high level unless the duration of dominant due to noise exceeds the predetermined time (filter time). Therefore, recessive can be correctly transmitted to the microcomputer 19.

また、図2における時刻t1〜時刻t2の期間に示すように、他のECUが通信線3にドミナントを出力した場合には、通信線3のインピーダンスが小さくなる。このため、通信線3にノイズが乗っても、ドミナントはレセッシブに化け難い。つまり、この例では、「ノイズによって通信線3の電圧が閾値電圧Vthを上回ってしまい、コンパレータ15の出力信号Scpがローレベルからハイレベルに変化してしまう」ということが起き難い。   Further, as shown in the period from time t1 to time t2 in FIG. 2, when another ECU outputs a dominant to the communication line 3, the impedance of the communication line 3 becomes small. For this reason, even if noise gets on the communication line 3, the dominant is difficult to become recessive. That is, in this example, it is unlikely that “the voltage of the communication line 3 exceeds the threshold voltage Vth due to noise and the output signal Scp of the comparator 15 changes from low level to high level”.

このため、図2における時刻t1〜時刻t2の期間に示すように、通信線3にドミナントが出力された場合には、通信線3にノイズが乗ったとしても、コンパレータ15の出力信号Scpは前述の所定時間以上、ドミナントを表す方のローレベルになる。その結果、ノイズフィルタ17の出力信号Soutがローレベルになる。よって、マイコン19にドミナントを正しく伝えることができる。尚、図2における「Tf」は、通信線3にドミナントが出力されてから、クロックの立ち上がりが2回発生するまでの時間であり、図2の例では、そのTfがフィルタ時間である。   For this reason, as shown in the period from time t1 to time t2 in FIG. 2, when a dominant is output to the communication line 3, the output signal Scp of the comparator 15 is the above-mentioned even if noise is applied to the communication line 3. It will be the low level that represents the dominant for a predetermined period of time. As a result, the output signal Sout of the noise filter 17 becomes low level. Therefore, the dominant can be correctly transmitted to the microcomputer 19. Note that “Tf” in FIG. 2 is the time from when a dominant is output to the communication line 3 until the rising of the clock occurs twice. In the example of FIG. 2, Tf is the filter time.

また、図2における時刻t2よりも後に示すように、他のECUが通信線3への出力信号(通信信号)をドミナントからレセッシブに変化させた場合に、通信線3に乗ったノイズにより、レセッシブがドミナントに化けたとする。   Further, as shown after time t2 in FIG. 2, when another ECU changes the output signal (communication signal) to the communication line 3 from dominant to recessive, the recession is caused by noise on the communication line 3. Suppose you become a dominant.

その場合、レセッシブは断続的にドミナントに化けることとなるが、コンパレータ15の出力信号Scpが一回でもハイレベルになれば、ノイズフィルタ17の出力信号Soutはローレベルからハイレベルに変化する。レセッシブに関してはフィルタ時間が無いからである。よって、マイコン19に対して、ドミナントからレセッシブへの変化を正しく伝えることができる。   In this case, the recessive pattern may become intermittently dominant, but if the output signal Scp of the comparator 15 becomes high level even once, the output signal Sout of the noise filter 17 changes from low level to high level. This is because there is no filter time for recessive. Therefore, the change from dominant to recessive can be correctly transmitted to the microcomputer 19.

本実施形態のECU5によれば、上記のノイズフィルタ17を備えるため、通信相手からの通信信号を、ノイズの影響を受けずにマイコン19へ正しく伝えることができる。よって、正しい受信が可能となる。   According to the ECU 5 of the present embodiment, since the noise filter 17 is provided, a communication signal from a communication partner can be correctly transmitted to the microcomputer 19 without being affected by noise. Therefore, correct reception is possible.

ここで、図3に、比較例のノイズフィルタ37を示す。
図3のノイズフィルタ37は、入力信号(この例では、コンパレータ15の出力信号Scp)が同じレベルで所定時間継続した場合にだけ、出力信号Soutが変化するものである。
Here, FIG. 3 shows a noise filter 37 of a comparative example.
The noise filter 37 of FIG. 3 changes the output signal Sout only when the input signal (in this example, the output signal Scp of the comparator 15) continues at the same level for a predetermined time.

具体的には、ノイズフィルタ37は、前述したクロック源29と同様のクロック源39と、シフトレジスタの形態に接続されている2つのD型フリップフロップ41,42と、アンド(AND)回路43と、ノア(NOR)回路44と、セット/リセット型のフリップフロップ(SRラッチ)45と、を備える。   Specifically, the noise filter 37 includes a clock source 39 similar to the clock source 29 described above, two D-type flip-flops 41 and 42 connected in the form of a shift register, and an AND circuit 43. , A NOR circuit 44 and a set / reset type flip-flop (SR latch) 45.

D型フリップフロップ41,42のクロック端子(CK端子)にはクロック源39からのクロックが入力される。そして、初段に配置されたD型フリップフロップ41のデータ入力端子(D端子)に、コンパレータ15の出力信号Scpが入力される。   The clock from the clock source 39 is input to the clock terminals (CK terminals) of the D flip-flops 41 and 42. The output signal Scp of the comparator 15 is input to the data input terminal (D terminal) of the D-type flip-flop 41 arranged in the first stage.

アンド回路43は、D型フリップフロップ41のQ出力であるQaと、D型フリップフロップ42のQ出力であるQbとの、論理積信号を出力する。ノア回路44は、QaとQbとの、否定論理和信号を出力する。   The AND circuit 43 outputs a logical product signal of Qa that is the Q output of the D-type flip-flop 41 and Qb that is the Q output of the D-type flip-flop 42. The NOR circuit 44 outputs a negative logical sum signal of Qa and Qb.

フリップフロップ45のセット端子(SET端子)にアンド回路43の出力信号Ssがセット信号として入力され、フリップフロップ45のリセット端子(RES端子)にノア回路44の出力信号Srがリセット信号として入力される。そして、フリップフロップ45のQ出力が、ノイズフィルタ37の出力信号Soutとなっている。   The output signal Ss of the AND circuit 43 is input as a set signal to the set terminal (SET terminal) of the flip-flop 45, and the output signal Sr of the NOR circuit 44 is input as a reset signal to the reset terminal (RES terminal) of the flip-flop 45. . The Q output of the flip-flop 45 is the output signal Sout of the noise filter 37.

このノイズフィルタ37では、ローレベルの入力とハイレベルの入力との両方に関して、フィルタ時間を有しており、最小でもクロックの1周期分の時間以上継続して入力信号が同じレベルにならないと、出力信号Soutは変化しない。   The noise filter 37 has a filter time for both a low level input and a high level input, and if the input signal does not become the same level continuously for at least one clock cycle, The output signal Sout does not change.

よって、このノイズフィルタ37をECU5に搭載したとすると、図4に示すように、通信相手のECUが通信線3への通信信号をドミナントからレセッシブに変化させた場合に、ノイズによってレセッシブが断続的にドミナントに化けると、ノイズフィルタ37の出力信号Soutがローレベルからハイレベルに変化しなくなる。ノイズによってレセッシブがドミナントに化けると、QaとQbの両方がハイレベルになる機会が失われてしまうからである。   Therefore, assuming that the noise filter 37 is mounted on the ECU 5, as shown in FIG. 4, when the communication partner ECU changes the communication signal to the communication line 3 from dominant to recessive, the recession is intermittent due to noise. If it becomes dominant, the output signal Sout of the noise filter 37 does not change from low level to high level. This is because if the recessive becomes dominant due to noise, the opportunity to make both Qa and Qb high level is lost.

これに対して、図1のノイズフィルタ17を用いれば、図4のような問題を回避することができる。
また、ノイズフィルタ17は、デジタルの回路で構成しているため、IC化が容易である。そして、ECU5では、ノイズフィルタ17を、ドライバ13及びコンパレータ15と共に、1つのトランシーバIC21内に構成することで、ECU5の小型化を実現している。尚、抵抗11もトランシーバIC21内に設けても良い。
On the other hand, if the noise filter 17 of FIG. 1 is used, the problem as shown in FIG. 4 can be avoided.
Further, since the noise filter 17 is composed of a digital circuit, it can be easily integrated into an IC. In the ECU 5, the noise filter 17 is configured in one transceiver IC 21 together with the driver 13 and the comparator 15, so that the ECU 5 is reduced in size. The resistor 11 may also be provided in the transceiver IC 21.

また、ノイズフィルタ17は、クロック源29と、D型フリップフロップ31,32と、オア回路33とで構成されており、これは最少要素での構成と言える。このため、小型化及び低コスト化に有利である。   The noise filter 17 is composed of a clock source 29, D-type flip-flops 31 and 32, and an OR circuit 33. This can be said to be a configuration with a minimum number of elements. For this reason, it is advantageous for size reduction and cost reduction.

尚、ノイズフィルタ17を構成するD型フリップフロップの数は、3個以上でも良い。D型フリップフロップの数をN(但しNは2以上の整数)とすると、ローレベルの入力に対するフィルタ時間は、最大でクロックのN周期分の時間となり、最小でクロックの「N−1」周期分の時間となる。D型フリップフロップの数とクロックの周波数は、フィルタ時間が、通信における1ビット分の時間よりも短く、且つ、除去したいノイズのパルス幅よりも長くなるように、適宜決定すれば良い。   The number of D-type flip-flops constituting the noise filter 17 may be three or more. If the number of D-type flip-flops is N (where N is an integer equal to or greater than 2), the filter time for a low-level input is a maximum of N clock cycles, and the minimum is “N−1” cycles of the clock. It will be minutes. The number of D-type flip-flops and the frequency of the clock may be determined as appropriate so that the filter time is shorter than the time of 1 bit in communication and longer than the pulse width of the noise to be removed.

[他の実施形態(変形例)]
〈変形例1〉
ノイズフィルタ17において、コンパレータ15は、上記実施形態とは逆に、通信線3の電圧が閾値電圧Vthよりも大きければ、ローレベルを出力し、通信線3の電圧が閾値電圧Vthよりも小さければ、ハイレベルを出力するようになっていても良い。その場合、コンパレータ15の出力信号Scpとしては、ローレベルが、レセッシブを表す方のレベルとなり、ハイレベルが、ドミナントを表す方のレベルとなる。
[Other Embodiments (Modifications)]
<Modification 1>
In the noise filter 17, contrary to the above embodiment, the comparator 15 outputs a low level if the voltage of the communication line 3 is larger than the threshold voltage Vth, and if the voltage of the communication line 3 is smaller than the threshold voltage Vth. The high level may be output. In this case, as the output signal Scp of the comparator 15, the low level is the level representing the recessive level, and the high level is the level representing the dominant level.

そして、その場合には、ノイズフィルタ17を、ローレベルの入力とハイレベルの入力とのうち、ハイレベルの入力に対してだけ、フィルタ時間を有するように構成すれば良い。例えば、図1のノイズフィルタ17を、下記〈1〉,〈2〉のように変形すれば良い。   In that case, the noise filter 17 may be configured to have a filter time only for a high level input of a low level input and a high level input. For example, the noise filter 17 in FIG. 1 may be modified as shown in <1> and <2> below.

〈1〉D型フリップフロップ31,32のリセット端子(RES端子)に、コンパレータ15の出力信号Scpが入力されるようにする。この場合、D型フリップフロップ31,32のリセット端子はローアクティブの入力端子であり、コンパレータ15の出力信号Scpがローになると、D型フリップフロップ31,32がリセットされて、Q1及びQ2がローレベルになるようにする。また、この場合、D型フリップフロップ31,32は、セット機能を有していないもの(セット端子がないもの)で良い。   <1> The output signal Scp of the comparator 15 is input to the reset terminals (RES terminals) of the D-type flip-flops 31 and 32. In this case, the reset terminals of the D-type flip-flops 31 and 32 are low-active input terminals. When the output signal Scp of the comparator 15 becomes low, the D-type flip-flops 31 and 32 are reset and Q1 and Q2 become low. Try to be level. In this case, the D-type flip-flops 31 and 32 may not have a set function (no set terminal).

〈2〉出力回路として、オア回路33の代わりに、ナンド(NAND)回路を用いる。
〈変形例2〉
ノイズフィルタ17の出力信号Soutは、ローレベルが第1レベルで、ハイレベルが第2レベルであっても良い。つまり、マイコン19は、ノイズフィルタ17の出力信号Soutについて、前述した内容とは逆に、ローレベルをレセッシブと判断し、ハイレベルをドミナントと判断するようになっていても良い。
<2> Instead of the OR circuit 33, a NAND circuit is used as the output circuit.
<Modification 2>
The output signal Sout of the noise filter 17 may be a low level at the first level and a high level at the second level. That is, for the output signal Sout of the noise filter 17, the microcomputer 19 may determine that the low level is recessive and the high level is dominant, contrary to the above-described content.

その場合、図1の実施形態であれば、例えば、オア回路33の出力を反転回路(インバータ)で反転させた信号を、ノイズフィルタ17の出力信号Soutとするか、あるいは、オア回路33をノア(NOR)回路に置き換えれば良い。同様に、上記変形例1であれば、上記〈2〉のナンド回路の出力を反転回路で反転させた信号を、ノイズフィルタ17の出力信号Soutとするか、あるいは、上記ナンド回路をアンド(AND)回路に置き換えれば良い。   In this case, in the embodiment of FIG. 1, for example, a signal obtained by inverting the output of the OR circuit 33 by an inverting circuit (inverter) is used as the output signal Sout of the noise filter 17, or A (NOR) circuit may be replaced. Similarly, in the first modification, the signal obtained by inverting the output of the NAND circuit of <2> by the inverting circuit is used as the output signal Sout of the noise filter 17, or the NAND circuit is ANDed (AND ) Replace with a circuit.

〈変形例3〉
本発明は、通信バスが、2線式の差動電圧を採用する通信バス(2線式差動信号の通信バス)である通信装置に対しても、同様に適用することができる。
<Modification 3>
The present invention can be similarly applied to a communication apparatus in which the communication bus is a communication bus that employs a two-wire differential voltage (communication bus for a two-wire differential signal).

一例を図5に示す。尚、図5において、図1と同様の構成要素については、図1と同じ符号を付している。
図5に示す通信システム51では、通信バス53に、通信装置として、複数のECU(図5では2つを図示している)55,56が接続されている。通信バス53は、マルチドロップ型通信バスであるが、この例では2本の通信線53a、53bからなる。尚、各ECU55,56の通信に関する構成は同じであるため、以下では、ECU55について説明する。また、図1のECU5との違いについて説明する。
An example is shown in FIG. In FIG. 5, the same components as those in FIG. 1 are denoted by the same reference numerals as those in FIG.
In the communication system 51 shown in FIG. 5, a plurality of ECUs (two are shown in FIG. 5) 55 and 56 are connected to the communication bus 53 as communication devices. The communication bus 53 is a multi-drop type communication bus. In this example, the communication bus 53 includes two communication lines 53a and 53b. In addition, since the structure regarding communication of each ECU55 and 56 is the same, below, ECU55 is demonstrated. Differences from the ECU 5 in FIG. 1 will be described.

ECU55は、所定の電源電圧VDを例えば半分の電圧に分圧する2つの抵抗R1,R2と、その抵抗R1,R2と同様の2つの抵抗R3,R4とを備える。電源電圧VDは例えば5Vである。   The ECU 55 includes two resistors R1 and R2 that divide a predetermined power supply voltage VD into, for example, a half voltage, and two resistors R3 and R4 similar to the resistors R1 and R2. The power supply voltage VD is, for example, 5V.

抵抗R1,R2同士の接続点は、通信バス53を成す一方の通信線53aに接続されている。また、抵抗R3,R4同士の接続点は、通信バス53を成す他方の通信線53bに接続されている。このため、通信線53a,53bの各々の電圧は、抵抗R1〜R4により、電源電圧VDの半分の電圧(この例では2.5V)に安定化される。   A connection point between the resistors R1 and R2 is connected to one communication line 53a forming the communication bus 53. The connection point between the resistors R3 and R4 is connected to the other communication line 53b that forms the communication bus 53. For this reason, the voltage of each of the communication lines 53a and 53b is stabilized to a voltage half of the power supply voltage VD (in this example, 2.5 V) by the resistors R1 to R4.

ECU55は、通信バス53に信号を出力するためのドライバとして、2つのドライバ61a,61bを備える。ドライバ61aは、いわゆるハイ側ドライバであり、ドライバ61bは、いわゆるロー側ドライバである。   The ECU 55 includes two drivers 61 a and 61 b as drivers for outputting signals to the communication bus 53. The driver 61a is a so-called high-side driver, and the driver 61b is a so-called low-side driver.

ドライバ61aは、オンすることで、通信線53aを電源電圧VDに抵抗R5を介して導通させるスイッチであり、トランジスタによって構成されている。ドライバ61bは、オンすることで、通信線53bをグランド電位(0V)に導通させるスイッチであり、トランジスタによって構成されている。尚、ドライバ61aがオンしているときに通信線53aがグランド電位にショートしても、抵抗R5があるため、ドライバ61aの過電流による故障が防止されるが、抵抗R5の抵抗値は、抵抗R1,R2の抵抗値よりも十分に小さい。また、抵抗R5が無い構成でも良い。   The driver 61a is a switch that, when turned on, causes the communication line 53a to conduct to the power supply voltage VD via the resistor R5, and is configured by a transistor. The driver 61b is a switch that, when turned on, causes the communication line 53b to conduct to the ground potential (0 V), and includes a transistor. Even if the communication line 53a is short-circuited to the ground potential when the driver 61a is on, the resistor R5 prevents the driver 61a from being damaged due to overcurrent. However, the resistance value of the resistor R5 is It is sufficiently smaller than the resistance values of R1 and R2. Moreover, the structure without resistance R5 may be sufficient.

ドライバ61aとドライバ61bは、マイコン19からの送信信号に応じて同時にオン/オフする。ドライバ61aがオンすることで、通信線53aの電圧は、抵抗R1,R2による2.5Vから5V(=VD)になり、ドライバ61bがオンすることで、通信線53bの電圧は、抵抗R3,R4による2.5Vから0Vになる。   The driver 61a and the driver 61b are turned on / off at the same time in accordance with a transmission signal from the microcomputer 19. When the driver 61a is turned on, the voltage of the communication line 53a is changed from 2.5V to 5V (= VD) by the resistors R1 and R2, and when the driver 61b is turned on, the voltage of the communication line 53b is changed to the resistors R3 and R3. It becomes 0V from 2.5V by R4.

この例では、通信線53aの電圧と通信線53bの電圧とが両方とも2.5Vである場合であって、通信線53aと通信線53bとの電圧差が0Vである場合が、通信バス53の電圧がレセッシブを表す電圧であることに相当している。また、通信線53aの電圧が5Vで通信線53bの電圧が0Vである場合であって、通信線53aと通信線53bとの電圧差が5Vである場合が、通信バス53の電圧がドミナントを表す電圧であることに相当している。換言すれば、通信線53a,53bの各々に関してレセッシブ側の電圧は2.5Vであるが、通信線53aに関しては5Vがドミナント側の電圧であり、通信線53bに関しては0Vがドミナント側の電圧である。   In this example, the voltage of the communication line 53a and the voltage of the communication line 53b are both 2.5V, and the voltage difference between the communication line 53a and the communication line 53b is 0V. Corresponds to a voltage representing recessive. Further, when the voltage of the communication line 53a is 5V and the voltage of the communication line 53b is 0V, and the voltage difference between the communication line 53a and the communication line 53b is 5V, the voltage of the communication bus 53 is dominant. This corresponds to the voltage to be expressed. In other words, the recessive side voltage for each of the communication lines 53a and 53b is 2.5V, but for the communication line 53a, 5V is the dominant side voltage, and for the communication line 53b, 0V is the dominant side voltage. is there.

そして、ECU55に設けられた二値化回路63は、差動増幅回路65とコンパレータ67とを備える。
差動増幅回路65は、通信線53aと通信線53bとの電圧差(この例では「通信線53aの電圧」−「通信線53bの電圧」)に比例した電圧を出力する。差動増幅回路65の出力電圧は、通信線53aと通信線53bとの電圧差が大きいほど、大きくなる。
The binarization circuit 63 provided in the ECU 55 includes a differential amplifier circuit 65 and a comparator 67.
The differential amplifier circuit 65 outputs a voltage proportional to the voltage difference between the communication line 53a and the communication line 53b (in this example, “voltage of the communication line 53a” − “voltage of the communication line 53b”). The output voltage of the differential amplifier circuit 65 increases as the voltage difference between the communication line 53a and the communication line 53b increases.

コンパレータ67は、差動増幅回路65の出力電圧と所定の閾値電圧Vtとを大小比較することにより、通信バス53の電圧をハイレベル又はローレベルの信号に二値化する。
具体的には、コンパレータ67は、差動増幅回路65の出力電圧が閾値電圧Vtよりも大きければ、ハイレベルを出力し、差動増幅回路65の出力電圧が閾値電圧Vtよりも小さければ、ローレベルを出力する。そして、このコンパレータ67の出力信号が、二値化回路63の出力信号となる。
The comparator 67 binarizes the voltage of the communication bus 53 into a high level or low level signal by comparing the output voltage of the differential amplifier circuit 65 with a predetermined threshold voltage Vt.
Specifically, the comparator 67 outputs a high level if the output voltage of the differential amplifier circuit 65 is larger than the threshold voltage Vt, and outputs a low level if the output voltage of the differential amplifier circuit 65 is smaller than the threshold voltage Vt. Output level. The output signal of the comparator 67 becomes the output signal of the binarization circuit 63.

よって、この例では、二値化回路63の出力信号としては、ローレベルが、レセッシブを表す方のレベルであり、ハイレベルが、ドミナントを表す方のレベルである。このため、二値化回路63の出力信号を入力とするノイズフィルタ17は、変形例1で説明した構成のものとなっている。尚、二値化回路63の出力信号を反転してノイズフィルタ17に入力するのであれば、ノイズフィルタ17は、図1に示した構成のもので良い。   Therefore, in this example, as the output signal of the binarization circuit 63, the low level is the level representing the recessive level, and the high level is the level representing the dominant level. For this reason, the noise filter 17 that receives the output signal of the binarization circuit 63 has the configuration described in the first modification. If the output signal of the binarization circuit 63 is inverted and input to the noise filter 17, the noise filter 17 may have the configuration shown in FIG.

そして、このような変形例3によっても、図1の実施形態と同様の効果が得られる。
以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されることなく、種々の形態を採り得る。また、前述の数値も一例であり他の値でも良い。
And also by such a modification 3, the effect similar to embodiment of FIG. 1 is acquired.
As mentioned above, although embodiment of this invention was described, this invention can take a various form, without being limited to the said embodiment. The above-mentioned numerical values are also examples, and other values may be used.

例えば、通信システム1,51は、車両にされるもの以外でも良い。また、ノイズフィルタ17は、コンデンサや抵抗等のアナログ素子を用いて構成しても良い。
また、上記実施形態における1つの構成要素が有する機能を複数の構成要素として分散させたり、複数の構成要素が有する機能を1つの構成要素に統合させたりしてもよい。また、上記実施形態の構成の少なくとも一部を、同様の機能を有する公知の構成に置き換えてもよい。また、上記実施形態の構成の一部を省略してもよい。なお、特許請求の範囲に記載した文言によって特定される技術思想に含まれるあらゆる態様が本発明の実施形態である。また、上述したECUの他、当該ECUを構成要素とする通信システムや、通信装置用のノイズフィルタなど、種々の形態で本発明を実現することもできる。
For example, the communication systems 1 and 51 may be other than those used for vehicles. The noise filter 17 may be configured using an analog element such as a capacitor or a resistor.
In addition, the functions of one component in the above embodiment may be distributed as a plurality of components, or the functions of a plurality of components may be integrated into one component. In addition, at least a part of the configuration of the above embodiment may be replaced with a known configuration having a similar function. Moreover, you may abbreviate | omit a part of structure of the said embodiment. In addition, all the aspects included in the technical idea specified by the wording described in the claims are embodiments of the present invention. In addition to the ECU described above, the present invention can be implemented in various forms such as a communication system including the ECU as a constituent element and a noise filter for a communication device.

1,51…通信システム、3,53…通信バス、5,6,55,56…電子制御装置(ECU)、11,R1〜R4…抵抗、13,61a,61b…ドライバ、15,63…二値化回路、17…ノイズフィルタ、19…マイコン   DESCRIPTION OF SYMBOLS 1,51 ... Communication system 3,53 ... Communication bus 5, 6, 55, 56 ... Electronic control unit (ECU) 11, R1-R4 ... Resistance, 13, 61a, 61b ... Driver, 15, 63 ... Two Value circuit, 17 ... noise filter, 19 ... microcomputer

Claims (4)

通信バスとして、当該通信バス(3,53)の電圧が抵抗(11,R1〜R4)により劣性の信号であるレセッシブを表す電圧に安定化され、当該通信バスの電圧を優性の信号であるドミナントを表す電圧にするドライバ(13,61a,61b)がオンすることで、当該通信バスに前記ドミナントが出力され、前記ドライバがオフすることで、当該通信バスに前記レセッシブが出力されるマルチドロップ型通信バス、を用いた通信システム(1,51)において、
前記通信バスを介して他の装置(6,56)と通信する通信装置(5,55)であって、
前記抵抗及び前記ドライバと、
前記通信バスの電圧を、ハイレベル又はローレベルの信号に二値化する二値化回路(15,63)と、
前記二値化回路の出力信号を、入力とするノイズフィルタ(17)と、
前記ノイズフィルタの出力信号を、受信信号として処理する処理部(19)と、を備え、
前記ノイズフィルタは、
前記二値化回路の出力信号が、ハイレベルとローレベルとのうち、前記レセッシブを表す方のレベルになれば、前記処理部への出力信号を、ハイレベルとローレベルとのうち、前記処理部が前記レセッシブと判断する方の第1レベルにし、前記二値化回路の出力信号が、ハイレベルとローレベルとのうち、前記ドミナントを表す方のレベルであることが、所定時間継続すると、前記処理部への出力信号を、ハイレベルとローレベルとのうち、前記処理部が前記ドミナントと判断する方の第2レベルにするように構成されており、
前記所定時間は、前記通信バスを介して実施される通信における1ビット分の時間よりも短いこと、
を特徴とする通信装置。
As a communication bus, the voltage of the communication bus (3, 53) is stabilized by a resistor (11, R1-R4) to a voltage representing a recessive signal, which is a recessive signal, and the voltage of the communication bus is a dominant signal. When the driver (13, 61a, 61b) that represents the voltage is turned on, the dominant is output to the communication bus, and when the driver is turned off, the recessive is output to the communication bus. In a communication system (1, 51) using a communication bus,
A communication device (5, 55) communicating with another device (6, 56) via the communication bus,
The resistor and the driver;
A binarization circuit (15, 63) for binarizing the voltage of the communication bus into a high level or low level signal;
A noise filter (17) having the output signal of the binarization circuit as an input;
A processing unit (19) for processing the output signal of the noise filter as a received signal,
The noise filter is
When the output signal of the binarization circuit is at a level representing the recessive of high level and low level, the output signal to the processing unit is processed at the processing level between high level and low level. If the output signal of the binarization circuit is the level representing the dominant of the high level and the low level, and the level is determined to be the recessive level, the predetermined level continues for a predetermined time, The output signal to the processing unit is configured to be a second level of the high level and the low level, which is determined by the processing unit as the dominant,
The predetermined time is shorter than a time corresponding to one bit in communication performed via the communication bus;
A communication device characterized by the above.
請求項1に記載の通信装置において、
前記二値化回路の出力信号は、ハイレベルが、前記レセッシブを表す方のレベルであり、ローレベルが、前記ドミナントを表す方のレベルであり、
前記ノイズフィルタは、
前記1ビット分の時間よりも周期が短いクロックを出力するクロック源(29)と、
セット機能付きの複数のD型フリップフロップ(31,32)と、を備え、
前記複数のD型フリップフロップのクロック端子に前記クロックが入力されると共に、前記複数のD型フリップフロップはシフトレジスタの形態に接続されており、
前記複数のD型フリップフロップのうち、前記シフトレジスタの形態において初段に配置されたD型フリップフロップのデータ入力端子と、全てのD型フリップフロップのセット端子とに、前記二値化回路の出力信号が入力されるようになっており、
更に、前記ノイズフィルタは、
前記複数のD型フリップフロップのQ出力のうち、少なくとも1つがハイレベルである場合に、前記処理部への出力信号を前記第1レベルにし、前記複数のD型フリップフロップのQ出力が全てローレベルである場合に、前記処理部への出力信号を前記第2レベルにする出力回路(33)を備えること、
を特徴とする通信装置。
The communication device according to claim 1,
In the output signal of the binarization circuit, a high level is a level representing the recessive, and a low level is a level representing the dominant,
The noise filter is
A clock source (29) for outputting a clock having a shorter cycle than the time of 1 bit;
A plurality of D-type flip-flops (31, 32) with a set function,
The clock is input to clock terminals of the plurality of D-type flip-flops, and the plurality of D-type flip-flops are connected in the form of a shift register,
Among the plurality of D-type flip-flops, the output of the binarization circuit is connected to the data input terminal of the D-type flip-flop arranged in the first stage in the form of the shift register and the set terminals of all the D-type flip-flops. The signal is input,
Furthermore, the noise filter is
When at least one of the Q outputs of the plurality of D-type flip-flops is at a high level, the output signal to the processing unit is set to the first level, and the Q outputs of the plurality of D-type flip-flops are all low. An output circuit (33) for setting the output signal to the processing unit to the second level when the level is
A communication device characterized by the above.
請求項2に記載の通信装置において、
前記第1レベルはハイレベルであり、前記第2レベルはローレベルであり、
前記出力回路は、前記複数のD型フリップフロップのQ出力を、入力とするオア回路(33)であること、
を特徴とする通信装置。
The communication device according to claim 2,
The first level is a high level and the second level is a low level;
The output circuit is an OR circuit (33) having Q outputs of the plurality of D-type flip-flops as inputs;
A communication device characterized by the above.
請求項1ないし請求項3の何れか1項に記載の通信装置において、
前記ノイズフィルタは、前記ドライバ及び前記二値化回路と共に、1つのIC(21)内に構成されていること、
を特徴とする通信装置。
The communication device according to any one of claims 1 to 3,
The noise filter is configured in one IC (21) together with the driver and the binarization circuit,
A communication device characterized by the above.
JP2014208938A 2014-10-10 2014-10-10 Communication device Active JP6451196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014208938A JP6451196B2 (en) 2014-10-10 2014-10-10 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014208938A JP6451196B2 (en) 2014-10-10 2014-10-10 Communication device

Publications (2)

Publication Number Publication Date
JP2016082297A true JP2016082297A (en) 2016-05-16
JP6451196B2 JP6451196B2 (en) 2019-01-16

Family

ID=55956646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014208938A Active JP6451196B2 (en) 2014-10-10 2014-10-10 Communication device

Country Status (1)

Country Link
JP (1) JP6451196B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7529628B2 (en) 2021-07-26 2024-08-06 株式会社日立製作所 Printed wiring board and information processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63165941U (en) * 1987-04-17 1988-10-28
JPH0832420A (en) * 1994-07-15 1996-02-02 Toshiba Microelectron Corp Noise filter device
JPH1041987A (en) * 1996-07-24 1998-02-13 Matsushita Electric Works Ltd Noise elimination circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63165941U (en) * 1987-04-17 1988-10-28
JPH0832420A (en) * 1994-07-15 1996-02-02 Toshiba Microelectron Corp Noise filter device
JPH1041987A (en) * 1996-07-24 1998-02-13 Matsushita Electric Works Ltd Noise elimination circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7529628B2 (en) 2021-07-26 2024-08-06 株式会社日立製作所 Printed wiring board and information processing device

Also Published As

Publication number Publication date
JP6451196B2 (en) 2019-01-16

Similar Documents

Publication Publication Date Title
CN101452370B (en) OOB (out of band) detection circuit and serial ata system
US9223736B2 (en) Devices and methods for an enhanced driver mode for a shared bus
US9270505B2 (en) Communication system
US11546188B2 (en) Transceiver device for a bus system and operating method therefor
US8861621B2 (en) Receiver circuit
US10666320B2 (en) Ringing suppression circuit
JP2020039128A (en) Communication circuit and communication control method
JP6133709B2 (en) DIFFERENTIAL RECEIVER, ELECTRONIC DEVICE, INDUSTRIAL DEVICE USING THE DIFFERENTIAL RECEIVER, AND METHOD FOR RECEIVING DIFFERENTIAL SIGNAL
WO2018020783A1 (en) Ringing suppression circuit
JP5387170B2 (en) Disconnection abnormality detection device
WO2017208612A1 (en) Ringing suppression circuit
US20180367127A1 (en) Ringing suppression circuit
JPH06216778A (en) Demodulation circuit for communication control equipment
JP5407815B2 (en) Reception processing device and communication device
JP6451196B2 (en) Communication device
US20150055696A1 (en) Communication system
CN109644167B (en) Ringing suppression circuit and ringing suppression method
CN108352993B (en) Ethernet bus, control device and method for waking up control device of Ethernet bus
CN108353011B (en) Bus system and method for diagnosing short circuits
US20140002162A1 (en) Apparatus for improved signal communication in electronic circuitry and associated methods
JP6413979B2 (en) Master node
JP2019054345A (en) Signal detection circuit
CN112292673A (en) I3C slave interface, integrated circuit with I3C slave interface and method for operating I3C slave interface
WO2018037883A1 (en) Ringing suppression circuit and ringing suppression method
JP2012205041A (en) Interface circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180410

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180821

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180926

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20181003

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181126

R151 Written notification of patent or utility model registration

Ref document number: 6451196

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250