JP2010187251A - Serial communication device - Google Patents

Serial communication device Download PDF

Info

Publication number
JP2010187251A
JP2010187251A JP2009030694A JP2009030694A JP2010187251A JP 2010187251 A JP2010187251 A JP 2010187251A JP 2009030694 A JP2009030694 A JP 2009030694A JP 2009030694 A JP2009030694 A JP 2009030694A JP 2010187251 A JP2010187251 A JP 2010187251A
Authority
JP
Japan
Prior art keywords
transmission
signal
start bit
output
unit
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
JP2009030694A
Other languages
Japanese (ja)
Other versions
JP5354455B2 (en
Inventor
Takafumi Uehara
孝文 上原
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2009030694A priority Critical patent/JP5354455B2/en
Publication of JP2010187251A publication Critical patent/JP2010187251A/en
Application granted granted Critical
Publication of JP5354455B2 publication Critical patent/JP5354455B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that, when noise is superposed on output signals of transmitting parts which do not perform transmission, the noise is superposed on transmission signals to receive incorrect data in the case of a serial communication device configured so that a plurality of transmitting parts are operated by time division and transmission signals to be output by the plurality of transmitting parts are transmitted by one communication path. <P>SOLUTION: The serial communication device is provided with a start bit detection part which corresponds one-to-one to the transmitting parts, and in which the transmission signals of the corresponding transmitting parts are input, and when the start bit detection part detects a start bit, the output signals of the transmitting parts which do not perform transmission for a fixed period are masked. Even when the noise is superposed on output of the transmitting parts which do not perform transmission, since the noise is masked, correct signals without being affected by the noise are transmitted. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、スタートビットを具備した送信信号を時分割多重送信するシリアル通信装置に関するものである。   The present invention relates to a serial communication apparatus that performs time division multiplexing transmission of a transmission signal having a start bit.

図4に、調歩同期方式でデジタルデータを時分割多重送信するシリアル通信装置の構成を示す。図4において、10、11は調歩同期方式でデジタルデータを送信する送信部である。送信部10、11は、互いに通信時間が重ならないように、送信データをシリアルで送信する。   FIG. 4 shows the configuration of a serial communication apparatus that performs time division multiplex transmission of digital data in an asynchronous manner. In FIG. 4, reference numerals 10 and 11 denote transmission units that transmit digital data in an asynchronous manner. The transmission units 10 and 11 transmit transmission data serially so that communication times do not overlap each other.

12は負論理のオアゲートであり、カプラとして動作する。オアゲート12には送信部10、11が出力する送信信号が入力される。オアゲート12は入力された送信信号の論理和を演算し、通信路13に出力する。   A negative logic OR gate 12 operates as a coupler. A transmission signal output from the transmission units 10 and 11 is input to the OR gate 12. The OR gate 12 calculates the logical sum of the input transmission signals and outputs it to the communication path 13.

通信路13には受信部14が接続される。受信部14はオアゲート12が出力する送信信号を解析し、デジタルデータに変換する。このようにすることにより、1本の通信路13で2つの送信部からの送信信号を伝送することができる。   A receiver 14 is connected to the communication path 13. The receiving unit 14 analyzes the transmission signal output from the OR gate 12 and converts it into digital data. By doing so, it is possible to transmit transmission signals from the two transmission units through one communication path 13.

図5に、調歩同期方式による送信信号のフォーマットを示す。送信信号はスタートビットSta、送信データD、パリティビットP、ストップビットStoの4つの部分で構成される。   FIG. 5 shows a format of a transmission signal by the asynchronous method. The transmission signal is composed of four parts: a start bit Sta, transmission data D, a parity bit P, and a stop bit Sto.

送信しないときは、送信部10、11の出力信号は高レベルに維持される。送信の開始時に、1クロックの間送信信号を低レベルにする。これをスタートビットという。スタートビットの後に、7〜8ビットの送信データDが送信される。   When not transmitting, the output signals of the transmitters 10 and 11 are maintained at a high level. At the start of transmission, the transmission signal is set to a low level for one clock. This is called a start bit. After the start bit, transmission data D of 7 to 8 bits is transmitted.

送信データDが終了すると、パリティビットPが送信される。パリティビットPは送信されたデータが正確に受信されているかをチェックするためのビットである。パリティビットPが終了すると1〜2ビットのストップビットSto(高レベル)が送信され、送信が終了する。   When the transmission data D ends, the parity bit P is transmitted. The parity bit P is a bit for checking whether the transmitted data is correctly received. When the parity bit P ends, 1 to 2 stop bits Sto (high level) are transmitted, and transmission ends.

図6に、送信信号の例を示す。図6(A)、(B)はそれぞれ送信部10、11が出力する送信信号の波形図、(C)は受信部14が受信する受信信号の波形図である。T1、T2はそれぞれ送信部10、11の送信期間を表し、R1、R2は受信部14の受信期間を表している。   FIG. 6 shows an example of a transmission signal. 6A and 6B are waveform diagrams of transmission signals output from the transmission units 10 and 11, respectively, and FIG. 6C is a waveform diagram of reception signals received by the reception unit 14. T1 and T2 represent transmission periods of the transmission units 10 and 11, respectively, and R1 and R2 represent reception periods of the reception unit 14.

送信しないときの送信部10、11の出力はいずれも高レベルなので、オアゲート12の出力も高レベルになる。送信部10、11のどちらかが送信を開始し、その出力が低レベルになると、オアゲート12の出力も低レベルになる。前述したように、送信部10と11は時分割で送信するので、受信部14は正しいデータを受信することができる。
特開平11−088442号公報
Since the outputs of the transmitters 10 and 11 when not transmitting are both high, the output of the OR gate 12 is also high. When one of the transmission units 10 and 11 starts transmission and its output becomes low level, the output of the OR gate 12 also becomes low level. As described above, since the transmission units 10 and 11 transmit in time division, the reception unit 14 can receive correct data.
Japanese Patent Laid-Open No. 11-088442

しかしながら、このようなシリアル通信装置には次のような課題があった。オアゲート12は送信部10と11の出力信号の論理和を出力しているだけなので、20に示すように、送信していない側の送信部の出力信号がノイズなどによって低レベルになると、オアゲート12の出力は、送信している側の送信部の出力が高レベルであっても低レベルに変化する。そのため、21に示すように受信部14は誤った信号を受信し、文字化けが発生して正確なデジタルデータを再現することができないという課題があった。   However, such a serial communication device has the following problems. Since the OR gate 12 only outputs the logical sum of the output signals of the transmission units 10 and 11, as shown at 20, when the output signal of the transmission unit on the non-transmission side becomes low level due to noise or the like, the OR gate 12 The output of is changed to a low level even if the output of the transmitting unit on the transmitting side is at a high level. Therefore, as shown in 21, there is a problem that the receiving unit 14 receives an incorrect signal and garbled characters cannot be reproduced to reproduce accurate digital data.

従って本発明の目的は、データを送信していない側の送信部の出力信号をマスクすることにより、正確なデジタルデータを送受信することができるシリアル通信装置を提供することにある。   Accordingly, an object of the present invention is to provide a serial communication device capable of transmitting and receiving accurate digital data by masking the output signal of the transmitting unit on the side not transmitting data.

このような課題を解決するために、本発明のうち請求項1記載の発明は、
送信の開始を表すスタートビットを具備した送信信号を時分割で送信する、少なくとも2つの送信部と、
前記送信部が出力する送信信号が入力され、前記スタートビットを検出してから所定の期間その出力信号をアクティブにするスタートビット検出部と、
前記送信部が出力する送信信号、および前記スタートビット検出部の出力信号が入力され、前記スタートビット検出部の出力信号に基づいて、送信していない送信部の出力信号をマスクする信号マスク部と、
を具備したものである。送信していない送信部の出力信号にノイズが重畳しても、正しいデータを受信することができる。
In order to solve such a problem, the invention according to claim 1 of the present invention,
At least two transmitters for transmitting in a time division manner a transmission signal having a start bit indicating the start of transmission;
A transmission signal output by the transmission unit is input, and a start bit detection unit that activates the output signal for a predetermined period after detecting the start bit;
A transmission signal output from the transmission unit, and an output signal of the start bit detection unit, and a signal mask unit that masks an output signal of the transmission unit that is not transmitting based on the output signal of the start bit detection unit; ,
Is provided. Even if noise is superimposed on the output signal of the transmitter that is not transmitting, correct data can be received.

請求項2記載の発明は、請求項1記載の発明において、
前記スタートビット検出部がその出力信号をアクティブにする期間を、対応する送信部が送信信号を送信している期間としたものである。送信効率を高くすることができる。
The invention according to claim 2 is the invention according to claim 1,
The period during which the start bit detection unit activates the output signal is the period during which the corresponding transmission unit transmits the transmission signal. Transmission efficiency can be increased.

請求項3記載の発明は、請求項1若しくは請求項2記載の発明において、
前記送信部は、調歩同期方式でデータを送信するようにしたものである。よく用いられる通信方式に対応できる。
The invention according to claim 3 is the invention according to claim 1 or claim 2,
The transmission unit transmits data in an asynchronous manner. It can cope with communication methods often used.

請求項4記載の発明は、請求項1乃至請求項3いずれかに記載の発明において、
前記信号マスク部を、
前記送信部が送信する送信信号、およびこの送信部を除く送信部の出力信号が入力されるスタートビット検出部の出力信号が入力され、このスタートビット検出部の出力信号がアクティブのときに、入力された送信信号をマスクする第1のゲートと、
前記第1のゲートの出力信号が入力され、入力された信号の論理和を出力する第2のゲートと、
で構成したものである。信号マスク部の構成を簡単にすることができる。
The invention according to claim 4 is the invention according to any one of claims 1 to 3,
The signal mask portion;
The transmission signal transmitted by the transmission unit and the output signal of the start bit detection unit to which the output signal of the transmission unit other than the transmission unit is input are input, and the input signal is input when the output signal of the start bit detection unit is active A first gate for masking the transmitted signal,
A second gate that receives an output signal of the first gate and outputs a logical sum of the input signals;
It is composed of The configuration of the signal mask portion can be simplified.

請求項5記載の発明は、請求項1乃至請求項4いずれかに記載の発明において、
前記送信部の数を2としたものである。よく用いられる構成に適用できる。
The invention according to claim 5 is the invention according to any one of claims 1 to 4,
The number of transmission units is two. It can be applied to a frequently used configuration.

以上説明したことから明らかなように、本発明によれば次のような効果がある。
請求項1,2、3、4および5の発明によれば、複数の送信部から時分割でデジタルデータを送信するシリアル通信装置であって、各送信部に1対1に対応し、対応する送信部が出力する送信信号のスタートビットを検出すると所定の期間その出力をアクティブにするスタートビット検出部と、このスタートビット検出部および送信部の出力が入力され、いずれかのスタートビット検出部の出力がアクティブの間、送信信号を送信していない送信部の出力信号をマスクする信号マスク部を具備した。
As is apparent from the above description, the present invention has the following effects.
According to the first, second, third, fourth, and fifth aspects of the present invention, there is provided a serial communication device that transmits digital data from a plurality of transmission units in a time-sharing manner. When a start bit of a transmission signal output from the transmission unit is detected, a start bit detection unit that activates the output for a predetermined period of time, and outputs of the start bit detection unit and the transmission unit are input, and one of the start bit detection units A signal masking unit for masking the output signal of the transmitting unit that is not transmitting the transmission signal while the output is active is provided.

送信信号を送信していない送信部の出力信号にノイズが重畳しても、このノイズは信号マスク部でマスクされるので、受信部は正確な信号を受信することができるという効果がある。   Even if noise is superimposed on the output signal of the transmission unit that is not transmitting the transmission signal, the noise is masked by the signal masking unit, so that the reception unit can receive an accurate signal.

以下本発明を図面を用いて詳細に説明する。図1は本発明に係るシリアル通信装置の実施例1を示す構成図である。なお、図4と同じ要素には同一符号を付し、説明を省略する。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing Embodiment 1 of a serial communication apparatus according to the present invention. The same elements as those in FIG. 4 are denoted by the same reference numerals, and description thereof is omitted.

図1において、30、31はスタートビット検出部であり、それぞれ送信部10、11が出力する送信信号が入力される。スタートビット検出部30、31は、スタートビットを検出すると、一定期間その出力をアクティブにする。すなわち、送信部とスタートビット検出部は1対1に対応しており、スタートビット検出部は対応する送信部が出力する送信信号のスタートビットを検出すると、一定期間その出力をアクティブにする。   In FIG. 1, reference numerals 30 and 31 denote start bit detection units, which receive transmission signals output from the transmission units 10 and 11, respectively. When the start bit detectors 30 and 31 detect the start bit, they activate their outputs for a certain period. That is, the transmission unit and the start bit detection unit have a one-to-one correspondence. When the start bit detection unit detects the start bit of the transmission signal output by the corresponding transmission unit, the output is activated for a certain period.

32は信号マスク部であり、負論理のアンドゲート33、34、および負論理のオアゲート35で構成される。アンドゲート33、34は第1のゲートに相当し、オアゲート35は第2のゲートに相当する。   Reference numeral 32 denotes a signal mask unit, which includes negative logic AND gates 33 and 34 and a negative logic OR gate 35. The AND gates 33 and 34 correspond to the first gate, and the OR gate 35 corresponds to the second gate.

アンドゲート33には送信部10が出力する送信信号とスタートビット検出部31の出力信号が入力され、アンドゲート34には送信部11が出力する送信信号とスタートビット検出部30の出力信号が入力される。また、オアゲート35にはアンドゲート33と34の出力が入力される。オアゲート35の出力は通信路13を経由して受信部14に入力される。   A transmission signal output from the transmission unit 10 and an output signal from the start bit detection unit 31 are input to the AND gate 33, and a transmission signal output from the transmission unit 11 and an output signal from the start bit detection unit 30 are input to the AND gate 34. Is done. Further, the outputs of the AND gates 33 and 34 are input to the OR gate 35. The output of the OR gate 35 is input to the receiving unit 14 via the communication path 13.

図1では、スタートビット検出部30、31及び信号マスク部32が送信部10、11側にある例を示しているが、この構成に限定されることはなく、これらスタートビット検出部30、31、信号マスク部32の全部又は一部が受信部側にあってもよい。   Although FIG. 1 shows an example in which the start bit detection units 30 and 31 and the signal mask unit 32 are on the transmission units 10 and 11 side, the present invention is not limited to this configuration, and the start bit detection units 30 and 31 are not limited to this configuration. All or part of the signal mask unit 32 may be on the receiving unit side.

次に、図2に基づいて実施例1の動作を説明する。図2(A)〜(E)はそれぞれ送信部10が出力する送信信号、スタートビット検出部30の出力信号、送信部11が出力する送信信号、スタートビット検出部31の出力信号、受信部14が受信する受信信号である。なお、スタートビット検出部30、31の出力信号は高レベルがアクティブであるとする。   Next, the operation of the first embodiment will be described with reference to FIG. 2A to 2E respectively show a transmission signal output from the transmission unit 10, an output signal from the start bit detection unit 30, a transmission signal output from the transmission unit 11, an output signal from the start bit detection unit 31, and a reception unit 14. Is a received signal. It is assumed that the output signals of the start bit detection units 30 and 31 are active at a high level.

図5で説明したように、送信部10、11が出力する送信信号は、送信していないときは高レベルである。また、送信の開始時にスタートビットが送信され、1クロックの間送信信号は低レベルになる。このため、送信信号の立ち下がりを検出することにより、スタートビットを検出することができる。スタートビット検出部としては、例えばワンショットマルチバイブレータを用いることができる。   As described with reference to FIG. 5, the transmission signals output from the transmission units 10 and 11 are at a high level when not being transmitted. Further, a start bit is transmitted at the start of transmission, and the transmission signal is at a low level for one clock. Therefore, the start bit can be detected by detecting the falling edge of the transmission signal. As the start bit detector, for example, a one-shot multivibrator can be used.

送信部10の送信信号が立ち下がると、スタートビット検出部30はその出力を一定期間高レベルにする。図2では時刻t1で送信部10の送信信号が立ち下がっているので、(B)のスタートビット検出部30の出力信号は、t1からt3の間高レベルになる。   When the transmission signal of the transmission unit 10 falls, the start bit detection unit 30 makes its output high for a certain period. In FIG. 2, since the transmission signal of the transmission unit 10 falls at time t1, the output signal of the start bit detection unit 30 in (B) becomes a high level from t1 to t3.

スタートビット検出部30と送信部11の送信信号はアンドゲート34に入力されるので、時刻t1からt3の間は、送信部11の出力信号のレベルに拘わらず、アンドゲート34の出力信号は高レベルになる。   Since the transmission signals of the start bit detection unit 30 and the transmission unit 11 are input to the AND gate 34, the output signal of the AND gate 34 is high regardless of the level of the output signal of the transmission unit 11 from time t1 to time t3. Become a level.

(D)に示すように、時刻t4で送信部11の出力信号が立ち下がると、スタートビット検出部31は、時刻t4からt5の間その出力を高レベルにする。スタートビット検出部31と送信部10の出力信号はアンドゲート33に入力されているので、時刻t4からt5の間は、送信部10の出力信号のレベルに拘わらず、アンドゲート33の出力は高レベルになる。   As shown in (D), when the output signal of the transmission unit 11 falls at time t4, the start bit detection unit 31 sets its output to high level from time t4 to time t5. Since the output signals of the start bit detection unit 31 and the transmission unit 10 are input to the AND gate 33, the output of the AND gate 33 is high between time t4 and t5 regardless of the level of the output signal of the transmission unit 10. Become a level.

(C)に示すように、時刻t2でノイズの影響により送信部11の出力信号が低レベルになったとする。このときスタートビット検出部30の出力は高レベルなので、この低レベル信号はアンドゲート34で阻止され、受信部14に伝達されない。従って、受信部14は正しい信号を受信することができる。   As shown in (C), it is assumed that the output signal of the transmission unit 11 becomes low level due to the influence of noise at time t2. At this time, since the output of the start bit detector 30 is at a high level, this low level signal is blocked by the AND gate 34 and is not transmitted to the receiver 14. Therefore, the receiving unit 14 can receive a correct signal.

このように、スタートビット検出部30、31はスタートビットを検出すると一定期間その出力をアクティブにし、信号マスク部32はこのスタートビット検出部の出力で送信していない側の送信部の出力をマスクするようにした。このため、送信していない側の送信部の出力信号にノイズが重畳してもこのノイズは信号マスク部32で阻止されるので、受信部14に正しい信号を伝達することができる。   As described above, when the start bit detection units 30 and 31 detect the start bit, the output is activated for a certain period, and the signal mask unit 32 masks the output of the transmission unit on the side not transmitting by the output of the start bit detection unit. I tried to do it. For this reason, even if noise is superimposed on the output signal of the transmission unit on the non-transmitting side, this noise is blocked by the signal mask unit 32, so that a correct signal can be transmitted to the reception unit 14.

スタートビット検出部30、31がその出力信号をアクティブにする期間は、対応する送信部が信号を送信する期間、すなわちスタートビットStaからストップビットStoまでの期間とする。図5で説明したように、調歩同期方式では送信信号はスタートビットSta、送信データD、パリティビットP、ストップビットStoで構成されており、そのビット数は固定されているので、送信期間は一定値となる。従って、スタートビット検出部30、31がその出力をアクティブにする期間も一定値になる。   The period during which the start bit detection units 30 and 31 activate the output signal is a period during which the corresponding transmission unit transmits a signal, that is, a period from the start bit Sta to the stop bit Sto. As described with reference to FIG. 5, in the asynchronous method, the transmission signal is composed of the start bit Sta, the transmission data D, the parity bit P, and the stop bit Sto, and the number of bits is fixed, so that the transmission period is constant. Value. Therefore, the period during which the start bit detectors 30 and 31 activate their outputs is also a constant value.

図3に本発明の実施例2の構成を示す。この実施例2は送信部を3つ以上用いたものである。この構成により、通信路13をより効率的に使用することができる。なお、図1と同じ要素には同一符号を付し、説明を省略する。   FIG. 3 shows the configuration of the second embodiment of the present invention. The second embodiment uses three or more transmission units. With this configuration, the communication path 13 can be used more efficiently. In addition, the same code | symbol is attached | subjected to the same element as FIG. 1, and description is abbreviate | omitted.

図3において、40a、40b〜40nはN個の送信部であり、調歩同期方式により送信データを送信する。送信部40a、40b〜40nは、互いに重複しないように時分割で送信信号を送信する。   In FIG. 3, reference numerals 40a, 40b to 40n denote N transmission units, which transmit transmission data in an asynchronous manner. The transmission units 40a and 40b to 40n transmit transmission signals in a time division manner so as not to overlap each other.

41a、41b〜41nはスタートビット検出部であり、それぞれ送信部40a、40b〜40nが出力する送信信号が入力される。すなわち、送信部40a、40b〜40nとスタートビット検出部41a、41b〜41nは1対1に対応している。スタートビット検出部41a、41b〜41nは入力された送信信号のスタートビットを検出すると、一定期間出力信号を高レベル(アクティブ)にする。   Reference numerals 41a and 41b to 41n denote start bit detection units, to which transmission signals output from the transmission units 40a and 40b to 40n are input, respectively. That is, the transmission units 40a and 40b to 40n and the start bit detection units 41a and 41b to 41n have a one-to-one correspondence. When the start bit detectors 41a and 41b to 41n detect the start bit of the input transmission signal, they set the output signal to a high level (active) for a certain period.

42は信号マスク部であり、負論理のN入力アンドゲート43a、43b〜43n、およびN入力の負論理オアゲート44で構成される。アンドゲート43a、43b〜43nは第1のゲートに相当し、オアゲート44は第2のゲートに相当する。   Reference numeral 42 denotes a signal mask unit which includes negative logic N-input AND gates 43a and 43b to 43n and an N-input negative logic OR gate 44. The AND gates 43a and 43b to 43n correspond to the first gate, and the OR gate 44 corresponds to the second gate.

アンドゲート43aには、送信部40aの出力信号およびスタートビット検出部41b〜41nの出力信号が入力される。アンドゲート43bには、送信部40bの出力信号およびスタートビット検出部41a、41c(図示せず)〜41nの出力信号が入力される。同様に、アンドゲート43nには、送信部40nの出力信号と、スタートビット検出部41nを除くスタートビット検出部の出力信号が入力される。送信部40a、40b〜40nとアンドゲート43a、43b〜43nは1対1に対応している。   The output signal of the transmission unit 40a and the output signals of the start bit detection units 41b to 41n are input to the AND gate 43a. The AND gate 43b receives an output signal from the transmission unit 40b and output signals from the start bit detection units 41a and 41c (not shown) to 41n. Similarly, the output signal of the transmission unit 40n and the output signal of the start bit detection unit excluding the start bit detection unit 41n are input to the AND gate 43n. The transmission units 40a and 40b to 40n and the AND gates 43a and 43b to 43n have a one-to-one correspondence.

アンドゲート43a、43b〜43nの出力信号はオアゲート44に入力される。このオアゲート44の出力信号は、通信路13を経由して受信部14に入力される。   The output signals of the AND gates 43a and 43b to 43n are input to the OR gate 44. The output signal of the OR gate 44 is input to the receiver 14 via the communication path 13.

送信部40aがデータを送信している間は、スタートビット検出部41aの出力信号が高レベル(アクティブ)になる。そのため、送信部40b〜40nの出力信号はアンドゲート43b〜43nでマスクされる。   While the transmission unit 40a is transmitting data, the output signal of the start bit detection unit 41a is at a high level (active). Therefore, the output signals of the transmission units 40b to 40n are masked by the AND gates 43b to 43n.

同様に、送信部40nがデータを送信しているときはスタートビット検出部41nの出力信号が高レベル(アクティブ)になり、他の送信部の出力信号はマスクされる。すなわち、データを送信している送信部を除く送信部の出力信号は、信号マスク部42でマスクされる。従って、データを送信している送信部以外の送信部の出力信号にノイズが重畳しても、このノイズは信号マスク部42でマスクされるので、受信部14は正確な信号を受信することができる。   Similarly, when the transmission unit 40n is transmitting data, the output signal of the start bit detection unit 41n becomes high level (active), and the output signals of the other transmission units are masked. That is, the output signal of the transmission unit excluding the transmission unit transmitting data is masked by the signal mask unit 42. Therefore, even if noise is superimposed on the output signal of a transmission unit other than the transmission unit that is transmitting data, the noise is masked by the signal mask unit 42, so that the reception unit 14 can receive an accurate signal. it can.

図3では、スタートビット検出部41a〜41n及び信号マスク部42が送信部40a〜40n側にある例を示しているが、この構成に限定されることはなく、これらスタートビット検出部41a〜41n、信号マスク部42の全部又は一部が受信部側にあってもよい。   FIG. 3 shows an example in which the start bit detection units 41a to 41n and the signal mask unit 42 are on the transmission units 40a to 40n side, but the present invention is not limited to this configuration, and the start bit detection units 41a to 41n are not limited to this configuration. All or a part of the signal mask unit 42 may be on the receiving unit side.

なお、実施例1、2では、信号マスク部をアンドゲートとオアゲートで構成したが、この構成に限定されることはない。要は、スタートビット検出部の出力信号を用いて、送信していない送信部の出力信号をマスクする構成であればよい。   In the first and second embodiments, the signal mask portion is configured by an AND gate and an OR gate, but is not limited to this configuration. In short, any configuration may be used as long as the output signal of the transmission unit not transmitting is masked using the output signal of the start bit detection unit.

また、これらの実施例では信号を送信しないときに高レベルであり、信号開始時に1クロック間低レベルのスタートビットを有する送信信号について説明したが、信号を送信しないときに低レベルであり、スタートビットが高レベルである送信信号に適用することもできる。この場合、スタートビット検出部30、31、41a〜41nはスタートビットを検出すると一定期間出力信号を低レベルにし、信号マスク部32、42のゲートとして正論理のゲートを用いればよい。   In these embodiments, a transmission signal having a high level when no signal is transmitted and having a low-level start bit for one clock at the start of the signal has been described. The present invention can also be applied to a transmission signal whose bit is high. In this case, when the start bit detection units 30, 31, 41a to 41n detect the start bit, the output signal is set to a low level for a certain period, and a positive logic gate may be used as the gate of the signal mask units 32, 42.

また、これらの実施例では調歩同期方式の送信信号について説明したが、この方式の信号に限定されることはない。要は、送信開始時に一定期間そのレベルが変化するスタートビットを有する送信信号であればよい。   In these embodiments, the asynchronous transmission signal is described, but the transmission signal is not limited to this signal. In short, any transmission signal having a start bit whose level changes for a certain period at the start of transmission may be used.

また、スタートビット検出部30、31、41a〜41nの出力信号をアクティブにする期間は、送信信号が送信される期間より長くてもよい。但し、アクティブになっている期間は送信できないので、送信信号の長さとアクティブ期間を同じにすると、通信効率を高くすることができる。   In addition, the period during which the output signals of the start bit detection units 30, 31, 41a to 41n are activated may be longer than the period during which the transmission signal is transmitted. However, since it is not possible to transmit during the active period, the communication efficiency can be increased if the length of the transmission signal is the same as the active period.

また、これらの実施例では送信信号の立ち下がりでスタートビットを検出するようにしたが、送信信号の立ち上がりで検出するようにしてもよい。スタートビットに続く送信データが“0”であるとこの送信データに対応する送信信号は低レベルになるので、スタートビットを検出する時点がずれるが、スタートビットを検出していることに変わりはない。但し、検出時点がずれるとそれに応じてスタートビット検出部出力のアクティブ期間を短くしないと、送信できない期間が発生して通信効率が低下する。   In these embodiments, the start bit is detected at the falling edge of the transmission signal, but may be detected at the rising edge of the transmission signal. If the transmission data following the start bit is “0”, the transmission signal corresponding to this transmission data is at a low level, so the time point for detecting the start bit is shifted, but the start bit is still detected. . However, if the detection time is shifted, unless the active period of the start bit detection unit output is shortened accordingly, a period during which transmission cannot be performed occurs and communication efficiency decreases.

さらに、送信信号の立ち上がり、立ち下がりに付加して、あるいは立ち上がり、立ち下がりを用いないでスタートビットを検出するようにしてもよい。例えば、スタートビットのレベルが一定期間(1クロック間)継続していることを確認してスタートビット検出とすると、より確実にスタートビットを検出できる。   Furthermore, the start bit may be detected in addition to the rising and falling edges of the transmission signal or without using the rising and falling edges. For example, if the start bit is detected after confirming that the level of the start bit continues for a certain period (one clock), the start bit can be detected more reliably.

実施例1の構成図である。1 is a configuration diagram of Example 1. FIG. 実施例1の動作を説明するための特性図である。FIG. 6 is a characteristic diagram for explaining the operation of the first embodiment. 実施例2の構成図である。FIG. 6 is a configuration diagram of Example 2. 従来のシリアル通信装置の構成図である。It is a block diagram of the conventional serial communication apparatus. 調歩同期方式のフォーマットを説明するための図である。It is a figure for demonstrating the format of an asynchronous method. 従来のシリアル通信装置の動作を説明するための特性図である。It is a characteristic view for demonstrating operation | movement of the conventional serial communication apparatus.

10、11、40a、40b〜40n 送信部
13 通信路
14 受信部
30、31、41a、41b〜41n スタートビット検出部
32、42 信号マスク部
33、34、43a、43b〜43n アンドゲート
35、44 オアゲート
10, 11, 40a, 40b to 40n Transmitter 13 Communication path 14 Receivers 30, 31, 41a, 41b to 41n Start bit detector 32, 42 Signal mask units 33, 34, 43a, 43b to 43n AND gates 35, 44 Orgate

Claims (5)

送信の開始を表すスタートビットを具備した送信信号を時分割で送信する、少なくとも2つの送信部と、
前記送信部が出力する送信信号が入力され、前記スタートビットを検出してから所定の期間その出力信号をアクティブにするスタートビット検出部と、
前記送信部が出力する送信信号、および前記スタートビット検出部の出力信号が入力され、前記スタートビット検出部の出力信号に基づいて、送信していない送信部の出力信号をマスクする信号マスク部と、
を具備したことを特徴とするシリアル通信装置。
At least two transmitters for transmitting in a time division manner a transmission signal having a start bit indicating the start of transmission;
A transmission signal output by the transmission unit is input, and a start bit detection unit that activates the output signal for a predetermined period after detecting the start bit;
A transmission signal output from the transmission unit, and an output signal of the start bit detection unit, and a signal mask unit that masks an output signal of the transmission unit that is not transmitting based on the output signal of the start bit detection unit; ,
A serial communication device comprising:
前記スタートビット検出部がその出力信号をアクティブにする期間は、対応する送信部が送信信号を送信している期間としたことを特徴とする請求項1記載のシリアル通信装置。   2. The serial communication apparatus according to claim 1, wherein a period during which the start bit detection unit activates the output signal is a period during which a corresponding transmission unit transmits a transmission signal. 前記送信部は、調歩同期方式でデータを送信するようにしたことを特徴とする請求項1若しくは請求項2記載のシリアル通信装置。   The serial communication device according to claim 1, wherein the transmission unit transmits data in an asynchronous manner. 前記信号マスク部は、
前記送信部が送信する送信信号、およびこの送信部を除く送信部の出力信号が入力されるスタートビット検出部の出力信号が入力され、このスタートビット検出部の出力信号がアクティブのときに、入力された送信信号をマスクする第1のゲートと、
前記第1のゲートの出力信号が入力され、入力された信号の論理和を出力する第2のゲートと、
で構成されることを特徴とする請求項1乃至請求項3いずれかに記載のシリアル通信装置。
The signal mask portion is
The transmission signal transmitted by the transmission unit and the output signal of the start bit detection unit to which the output signal of the transmission unit other than the transmission unit is input are input, and the input signal is input when the output signal of the start bit detection unit is active A first gate for masking the transmitted signal,
A second gate that receives an output signal of the first gate and outputs a logical sum of the input signals;
The serial communication device according to claim 1, wherein the serial communication device is configured as follows.
前記送信部の数を2としたことを特徴とする請求項1乃至請求項4いずれかに記載のシリアル通信装置。   The serial communication apparatus according to claim 1, wherein the number of the transmission units is two.
JP2009030694A 2009-02-13 2009-02-13 Serial communication device Active JP5354455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009030694A JP5354455B2 (en) 2009-02-13 2009-02-13 Serial communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009030694A JP5354455B2 (en) 2009-02-13 2009-02-13 Serial communication device

Publications (2)

Publication Number Publication Date
JP2010187251A true JP2010187251A (en) 2010-08-26
JP5354455B2 JP5354455B2 (en) 2013-11-27

Family

ID=42767620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009030694A Active JP5354455B2 (en) 2009-02-13 2009-02-13 Serial communication device

Country Status (1)

Country Link
JP (1) JP5354455B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01108822A (en) * 1987-10-21 1989-04-26 Toshiba Corp Transmission circuit for auxiliary transmission line
JP2005286521A (en) * 2004-03-29 2005-10-13 Yokogawa Denshikiki Co Ltd Communication control apparatus and method
JP2009278394A (en) * 2008-05-15 2009-11-26 Seiko Epson Corp Message transmitting circuit and semiconductor integrated circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01108822A (en) * 1987-10-21 1989-04-26 Toshiba Corp Transmission circuit for auxiliary transmission line
JP2005286521A (en) * 2004-03-29 2005-10-13 Yokogawa Denshikiki Co Ltd Communication control apparatus and method
JP2009278394A (en) * 2008-05-15 2009-11-26 Seiko Epson Corp Message transmitting circuit and semiconductor integrated circuit

Also Published As

Publication number Publication date
JP5354455B2 (en) 2013-11-27

Similar Documents

Publication Publication Date Title
JPS62160830A (en) Selective call signal receiver
JP5238369B2 (en) Data receiving apparatus, data receiving method, and data receiving program
KR102313034B1 (en) Underwater communication apparatus and id transmitting and receiving method thereof
US10462268B2 (en) Data transmitting/receiving apparatus and data transmitting/receiving method
JP5354455B2 (en) Serial communication device
US8885188B2 (en) Communication system for transmitting multiple pulse signals, transmission circuit, reception circuit, and image forming apparatus
DE50306182D1 (en) Method for signal-secure data transmission
JP5161196B2 (en) Clock error detection system
JPS607238A (en) Dsi/dni test equipment
JP2005303385A (en) Dsrc communication circuit and communication method
KR100856400B1 (en) Synchronization code recovery circuit and method thereof
US9019899B2 (en) Method and apparatus for synchronous communication of frames of digital information
JP2007129435A (en) Error detecting device and reception error judging method
US20090323725A1 (en) Data transmission method and device for carrying out the method
JP5383856B2 (en) Transmitter circuit
JP2007221346A (en) Data signal monitoring apparatus and signal monitoring method
JP2005142615A (en) Manchester code data receiver
JP6626049B2 (en) Control device, control method, and program
JP4511872B2 (en) Communication device and predetermined level signal detection circuit used therefor
JP2755061B2 (en) Frame synchronization method
JP6243210B2 (en) Serial data transmission device, serial data reception device, serial data transmission method, and serial data transmission program
JP2006079222A (en) Error detection device, error correction device using the same and its method
KR20160020776A (en) Post-processing method and system in telemetry system with receive diversity
JP2765369B2 (en) Parity error detection method
JP2002319884A (en) Multiplex radio communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130328

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

R150 Certificate of patent or registration of utility model

Ref document number: 5354455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130818