JP5097513B2 - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP5097513B2
JP5097513B2 JP2007302239A JP2007302239A JP5097513B2 JP 5097513 B2 JP5097513 B2 JP 5097513B2 JP 2007302239 A JP2007302239 A JP 2007302239A JP 2007302239 A JP2007302239 A JP 2007302239A JP 5097513 B2 JP5097513 B2 JP 5097513B2
Authority
JP
Japan
Prior art keywords
information
digital information
delimiter
digital
codes
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.)
Active
Application number
JP2007302239A
Other languages
Japanese (ja)
Other versions
JP2009130547A (en
Inventor
仁隆 江川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hochiki Corp
Original Assignee
Hochiki 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 Hochiki Corp filed Critical Hochiki Corp
Priority to JP2007302239A priority Critical patent/JP5097513B2/en
Publication of JP2009130547A publication Critical patent/JP2009130547A/en
Application granted granted Critical
Publication of JP5097513B2 publication Critical patent/JP5097513B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、信号の送受信により通信を行なう通信システムに関する。   The present invention relates to a communication system that performs communication by transmitting and receiving signals.

従来から、デジタル信号の送受信により通信を行なう通信システムが用いられている。特に、シリアル伝送方式による通信を行なう通信システムにおいては、送信装置によって送信されたデジタル信号を、受信装置によって正確に受信させ、当該受信したデジタル信号を処理可能とするために、送信装置と受信装置との間における送受信の同期を確立させている。例えば、1つのキャラクタのデータの前後に、当該キャラクタデータの始まりを示すスタートビットと、当該キャラクタデータの終わりを示すストップビットとを付加する調歩同期方式が用いられている。この調歩同期方式では、受信装置は受信した信号からスタートビットを検出した場合に、後続する1キャラクタ分の受信データについての受信処理を行っている。   Conventionally, communication systems that perform communication by transmitting and receiving digital signals have been used. In particular, in a communication system that performs communication using a serial transmission method, a transmission device and a reception device are provided so that the digital signal transmitted by the transmission device can be accurately received by the reception device and the received digital signal can be processed. Synchronization of transmission and reception is established. For example, a start-stop synchronization method is used in which a start bit indicating the start of the character data and a stop bit indicating the end of the character data are added before and after the data of one character. In this start-stop synchronization method, when the receiving apparatus detects a start bit from the received signal, it performs a receiving process on the received data for one character that follows.

上述の調歩同期方式では、1キャラクタ分のデータの送受信中にノイズの混入等によりストップビットを検出できなかった場合、連続するキャラクタデータを受信するための同期を確立することができず、受信装置がデータを正常に受信できなくなるという問題があった。この問題に対応するため、受信装置におけるストップビットの受信に対応して、1キャラクタ長分のタイマー値がセットされたタイマーをスタートさせ、次のストップビットが検出できない場合に、タイマーで計測された時間の経過後にタイマー割り込みを起動させ、受信動作をアイドル状態に戻すデータ伝送装置が提案されている。(例えば、特許文献1参照)。   In the start-stop synchronization method described above, if a stop bit cannot be detected due to noise or the like during transmission / reception of data for one character, synchronization for receiving continuous character data cannot be established, and the receiving device However, there was a problem that data could not be received normally. To cope with this problem, a timer with a timer value set for one character length was started in response to reception of a stop bit in the receiving apparatus, and the timer was measured when the next stop bit could not be detected. There has been proposed a data transmission device that activates a timer interrupt after a lapse of time and returns the reception operation to an idle state. (For example, refer to Patent Document 1).

特開平8−181721号公報JP-A-8-181721

しかし、上述のような従来の通信システムにおいても、送信装置又は受信装置のいずれか一方、又は双方におけるクロックの精度が、伝送方式や伝送レートに対して十分でない場合、連続するビットデータを受信する際に同期外れが生じる問題があった。例えば、伝送方式がNRZ(Non Return to Zero)方式の場合、元データに同じ値のビットが並んでいる場合には、エンコード後のデータの信号レベルが変化しない状態が長時間続く。この様な場合、受信装置の回路構成上、送信タイミングと受信タイミングとの誤差が蓄積してしまうため、同期外れが発生する可能性があった。   However, even in the conventional communication system as described above, continuous bit data is received when the accuracy of the clock in one or both of the transmission device and the reception device is not sufficient for the transmission method and the transmission rate. There was a problem that out-of-synchronization occurred. For example, when the transmission method is an NRZ (Non Return to Zero) method, when bits of the same value are arranged in the original data, a state in which the signal level of the encoded data does not change continues for a long time. In such a case, an error between the transmission timing and the reception timing accumulates due to the circuit configuration of the receiving apparatus, and thus there is a possibility that loss of synchronization occurs.

このように同じ値のビットが並んでいる場合でも同期外れを発生させにくくするためには、送信装置及び受信装置におけるクロックの精度を向上させることが考えられる。しかし、クロック精度を向上させるためには、周波数偏差の小さい発振素子、例えば水晶発振子を用いる必要があり、コストの上昇を招いていた。   In order to make it difficult to cause loss of synchronization even when bits having the same value are arranged in this way, it is conceivable to improve the accuracy of the clock in the transmission device and the reception device. However, in order to improve the clock accuracy, it is necessary to use an oscillation element with a small frequency deviation, for example, a crystal oscillator, which causes an increase in cost.

本発明は、上記に鑑みてなされたものであって、容易に同期外れの発生を防止することができ、周波数偏差の大きい発振素子を用いた低コストな装置構成とすることができる通信システムを提供することを目的とする。   The present invention has been made in view of the above, and can provide a communication system that can easily prevent out-of-synchronization and can provide a low-cost device configuration using an oscillation element having a large frequency deviation. The purpose is to provide.

上述した課題を解決し、目的を達成するために、請求項1に記載の通信システムは、二値以上の値をとりうる複数の符号からなるデジタル情報において、相互に値が異なる前記複数の符号を、それぞれ異なるレベルの信号に変換し、当該異なるレベルの信号を含むデジタル信号を用いて通信を行なう通信システムであって、前記デジタル情報に対して、所定個数の符号毎に、当該所定個数の符号の最後尾に、交互に値が異なる複数の符号からなる同一の区切り情報を挿入する区切り情報挿入手段と、前記区切り情報が挿入された前記デジタル情報を、前記デジタル信号に変換して送信する送信手段と、前記送信手段によって送信された前記デジタル信号を受信して前記デジタル情報に変換する受信手段と、前記受信手段によって変換された前記デジタル情報に含まれている前記区切り情報を認識し、当該認識結果に基づいて所定処理を行う処理手段とを備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the communication system according to claim 1 is a digital information including a plurality of codes that can take two or more values. , it was converted to the different levels of the signals, a corresponding different level communication system that performs communication using a digital signal including a signal of, to the digital information, to each code of a predetermined number of the predetermined number Delimiter information inserting means for inserting the same delimiter information consisting of a plurality of codes having different values alternately at the end of the code, and the digital information into which the delimiter information is inserted is converted into the digital signal and transmitted. A transmission unit; a reception unit that receives the digital signal transmitted by the transmission unit and converts the digital signal to the digital information; and Recognizes the delimiter information included in the digital information, characterized in that it comprises a processing means for performing predetermined processing on the basis of the recognition result.

また、請求項2に記載の通信システムは、二値以上の値をとりうる複数の符号からなるデジタル情報において、相互に値が異なる前記複数の符号を、それぞれ異なるレベルの信号に変換し、当該異なるレベルの信号を含むデジタル信号を用いて通信を行なう通信システムであって、前記デジタル情報に対して、所定個数の符号毎に、当該所定個数の符号の最後尾に、交互に値が異なる複数の符号からなる区切り情報を挿入する区切り情報挿入手段と、前記区切り情報が挿入された前記デジタル情報を、前記デジタル信号に変換して送信する送信手段と、前記送信手段によって送信された前記デジタル信号を受信して前記デジタル情報に変換する受信手段と、前記受信手段によって変換された前記デジタル情報に含まれている前記区切り情報を認識し、当該認識結果に基づいて所定処理を行う処理手段とを備え、前記区切り情報挿入手段は、前記所定個数の符号からなる前記デジタル情報の内、所定の値である符号の個数が偶数又は奇数のいずれであるかを示す偶奇情報を含めるように、前記区切り情報の値を決定することを備えることを特徴とする。 Further, in the communication system according to claim 2, in the digital information including a plurality of codes that can take two or more values, the plurality of codes having different values are converted into signals of different levels, respectively. A communication system for performing communication using digital signals including signals of different levels, wherein a plurality of values having different values alternately for each predetermined number of codes at the end of the predetermined number of codes with respect to the digital information Delimiter information inserting means for inserting delimiter information consisting of the codes of the above, a transmitting means for converting the digital information into which the delimiter information has been inserted into the digital signal and transmitting it, and the digital signal transmitted by the transmitting means Receiving means for receiving and converting the digital information, and the delimiter information included in the digital information converted by the receiving means Identifies, and processing means for performing predetermined processing on the basis of the recognition result, the delimiter information insertion means, among the digital information consisting of the code of the predetermined number, the number of symbols is a predetermined value is even or It is characterized by providing the value of the said division | segmentation information so that the even / odd information which shows which is an odd number may be included .

また、請求項3に記載の通信システムは、請求項1又は2に記載の通信システムにおいて、前記区切り情報は、2ビットのデジタル情報であること、を特徴とする。   A communication system according to a third aspect is the communication system according to the first or second aspect, wherein the delimiter information is 2-bit digital information.

請求項1に記載の本発明によれば、元データであるデジタル情報の所定個数の符号毎に、交互に値が異なる複数の符号からなる区切り情報を挿入しているので、元データのデジタル情報に同じ値の符号が並んでいたとしても、区切り情報が挿入されている部分で必ず値が相違することになる。従って、区切り情報が挿入されているデジタル情報から変換された後のデジタル信号の信号レベルは一定の間隔毎に必ず変化されるので、送信タイミングとの受信タイミングとの誤差の蓄積をリセットすることができ、同期外れの発生を防止することができる。これにより、周波数偏差の大きい発振素子を用いることができ、コスト低減を図ることができる。   According to the first aspect of the present invention, since the delimiter information composed of a plurality of codes having different values is inserted for every predetermined number of codes of the digital information which is the original data, the digital information of the original data Even if the same value codes are arranged, the values are always different in the portion where the delimiter information is inserted. Therefore, since the signal level of the digital signal after conversion from the digital information in which the delimiter information is inserted always changes at regular intervals, it is possible to reset the accumulation of errors between the transmission timing and the reception timing. And the occurrence of loss of synchronization can be prevented. Thereby, an oscillation element with a large frequency deviation can be used, and cost reduction can be achieved.

また、請求項2に記載の本発明によれば、元データであるデジタル情報の所定個数の符号毎に、交互に値が異なる複数の符号からなる区切り情報を挿入しているので、元データのデジタル情報に同じ値の符号が並んでいたとしても、区切り情報が挿入されている部分で必ず値が相違することになる。従って、区切り情報が挿入されているデジタル情報から変換された後のデジタル信号の信号レベルは一定の間隔毎に必ず変化されるので、送信タイミングと受信タイミングとの誤差の蓄積をリセットすることができ、同期外れの発生を防止することができる。これにより、周波数偏差の大きい発振素子を用いることができ、コスト低減を図ることができる。
また、区切り情報挿入手段は、偶奇情報を含めるように区切り情報の値を決定しているので、区切り情報に基づき、デジタル信号の送受信中に当該デジタル信号に発生した誤りを検出することができる。
According to the second aspect of the present invention, since the delimiter information composed of a plurality of codes having different values is inserted every predetermined number of codes of the digital information that is the original data, Even if the same value code is arranged in the digital information, the value is always different in the portion where the delimiter information is inserted. Therefore, since the signal level of the digital signal after conversion from the digital information in which the delimiter information is inserted is always changed at regular intervals, the accumulation of errors between the transmission timing and the reception timing can be reset. The occurrence of loss of synchronization can be prevented. Thereby, an oscillation element with a large frequency deviation can be used, and cost reduction can be achieved.
Further, since the delimiter information insertion means determines the delimiter information value so as to include even / odd information, it is possible to detect an error occurring in the digital signal during transmission / reception of the digital signal based on the delimiter information.

また、請求項3に記載の本発明によれば、区切り情報として2ビットのデジタル情報を用いているので、元データのデジタル情報に対する区切り情報の挿入に伴う情報量の増大を最小限に抑制することができる。   According to the third aspect of the present invention, since 2-bit digital information is used as the delimiter information, an increase in the amount of information accompanying insertion of the delimiter information into the digital information of the original data is minimized. be able to.

以下に添付図面を参照して、この発明に係る通信システムの各実施の形態を詳細に説明する。まず、〔I〕各実施の形態に共通の基本的概念を説明した後、〔II〕各実施の形態の具体的内容について順次説明し、最後に、〔III〕各実施の形態に対する変形例について説明する。ただし、各実施の形態によって本発明が限定されるものではない。   Hereinafter, embodiments of a communication system according to the present invention will be described in detail with reference to the accompanying drawings. [I] First, the basic concept common to each embodiment was explained, then [II] specific contents of each embodiment were sequentially explained, and finally [III] a modification to each embodiment. explain. However, the present invention is not limited to each embodiment.

〔I〕各実施の形態に共通の基本的概念
まず、各実施の形態に共通の基本的概念について説明する。各実施の形態に係る通信システムは、デジタル情報をデジタル信号に変換し、当該デジタル信号を用いて通信を行なうことを目的とするものである。ここで、デジタル情報とは、二値以上の値をとりうる複数の符号からなる情報をいい、デジタル信号とは、相互に値が異なる複数の符号の各々に対応付けられた異なるレベルの信号を含む信号をいうものとする。以下の各実施の形態においては、一例として、デジタル情報は「0」又は「1」の値を有する複数のビットから構成されていることを前提として説明する。また、デジタル信号は、デジタル情報のビットの値が「1」の場合に信号レベルがHighレベル、ビットの値が「0」の場合に信号レベルがLowレベルとなるように変換を行うNRZ方式に基づいてデジタル情報から変換されていることを前提とする。
[I] Basic concept common to the embodiments First, the basic concept common to the embodiments will be described. The communication system according to each embodiment aims to convert digital information into a digital signal and perform communication using the digital signal. Here, digital information refers to information composed of a plurality of codes that can take two or more values, and a digital signal refers to signals of different levels associated with each of a plurality of codes having different values. It shall mean the signal that contains. In each of the following embodiments, as an example, description will be made on the assumption that digital information is composed of a plurality of bits having a value of “0” or “1”. Further, the digital signal is converted to the NRZ method in which the signal level is high level when the bit value of the digital information is “1” and the signal level is low level when the bit value is “0”. It is assumed that the digital information is converted based on this.

各実施の形態に係る通信システムの適用対象は任意であり、例えば、住宅における火災発生やガス漏れ等を検出し警報するための住宅用警報器に適用し、複数の当該住宅用警報器間で相互に通信を行なわせたり、地下街やビル等の大規模建築物の防災システムに適用し、当該建築物に複数設置された火災警報器、監視センサ等と、防災受信機との間で、相互に通信を行なわせたりすることができる。また、通信の態様も任意であり、無線、有線、光通信等の通信手段を用いることができる。   The application target of the communication system according to each embodiment is arbitrary. For example, the communication system is applied to a home alarm device for detecting and alarming a fire occurrence or a gas leak in a home, and between a plurality of the home alarm devices. Communication between each other and applied to disaster prevention systems for large-scale buildings such as underground shopping malls and buildings, and between fire alarms, monitoring sensors, etc. Can be made to communicate. Moreover, the mode of communication is also arbitrary, and communication means such as wireless, wired, and optical communication can be used.

各実施の形態に係る通信システムの特徴の一つは、概略的に、元データであるデジタル情報の所定ビット数毎に、交互に値が異なる複数ビットからなる区切り情報を挿入する点にある。これにより、元データに同じ値のビットが並んでいたとしても、区切り情報が挿入されている部分で必ず値が相違することになる。従って、エンコード後のデータの信号レベルが一定の間隔毎に必ず変化されるので、送信タイミングとの受信タイミングとの誤差の蓄積をリセットすることができ、同期外れの発生を防止することができる。これに伴って、周波数偏差の大きい発振素子を用いることができ、コスト低減を図ることができる。   One of the characteristics of the communication system according to each embodiment is that, roughly, delimiter information composed of a plurality of bits having different values is inserted for each predetermined number of bits of digital information that is original data. As a result, even if bits having the same value are arranged in the original data, the values are always different in the portion where the delimiter information is inserted. Therefore, since the signal level of the encoded data is always changed at regular intervals, accumulation of errors between the transmission timing and the reception timing can be reset, and the occurrence of loss of synchronization can be prevented. Accordingly, an oscillation element having a large frequency deviation can be used, and cost reduction can be achieved.

〔II〕各実施の形態の具体的内容
次に、本発明に係る各実施の形態の具体的内容について説明する。
[II] Specific Contents of Each Embodiment Next, specific contents of each embodiment according to the present invention will be described.

〔実施の形態1〕
まず実施の形態1について説明する。この形態は、区切り情報を挿入する基本的な形態である。
[Embodiment 1]
First, the first embodiment will be described. This form is a basic form for inserting delimiter information.

(通信システムの構成)
まず、通信システムの構成を説明する。図1は通信システムの電気的構成を機能概念的に示したブロック図である。図1に示すように、通信システム1は、送信装置10、及び、受信装置11を備えている。
(Configuration of communication system)
First, the configuration of the communication system will be described. FIG. 1 is a functional block diagram showing the electrical configuration of the communication system. As illustrated in FIG. 1, the communication system 1 includes a transmission device 10 and a reception device 11.

(通信システムの構成−送信装置10)
送信装置10は、デジタル信号を受信装置11に対して送信するためのものであり、ビット挿入部100、送信部101、及び、送信制御部102を備えている。
(Configuration of Communication System—Transmitting Device 10)
The transmission device 10 is for transmitting a digital signal to the reception device 11, and includes a bit insertion unit 100, a transmission unit 101, and a transmission control unit 102.

ビット挿入部100は、送信装置10から送信させるデジタル信号の元データであるデジタル情報に、所定ビット数毎に、交互に値が異なる複数ビットからなる区切りデータを挿入するためのものであり、特許請求の範囲における区切り情報挿入手段に対応している。区切りデータの具体的な内容は任意であるが、例えば、交互に値が異なる2ビットのデジタル情報として、「10」又は「01」を区切りデータとすることができる。   The bit insertion unit 100 is for inserting delimiter data composed of a plurality of bits alternately having different values for each predetermined number of bits into digital information that is original data of a digital signal transmitted from the transmission device 10. This corresponds to the delimiter information insertion means in the claims. Although the specific content of the delimiter data is arbitrary, for example, “10” or “01” can be used as delimiter data as 2-bit digital information having different values alternately.

送信部101は、ビット挿入部100によって区切りデータが挿入されたデジタル情報を、送信制御部102による制御に基づき、所定の伝送方式に従ってデジタル信号に変換して送信するものであり、特許請求の範囲における送信手段に対応している。   The transmission unit 101 converts the digital information in which the delimiter data is inserted by the bit insertion unit 100 into a digital signal according to a predetermined transmission scheme based on control by the transmission control unit 102, and transmits the digital information. Corresponds to the transmission means in FIG.

送信制御部102は、送信すべきデジタル情報をビット挿入部100に入力し、区切りデータを挿入させ、当該区切りデータが挿入されたデジタル情報を送信部101に入力し、当該送信部101を制御することによって、所定の送信タイミングにてデジタル信号を送信させるものである。   The transmission control unit 102 inputs the digital information to be transmitted to the bit insertion unit 100, inserts the delimiter data, inputs the digital information with the delimiter data inserted into the transmission unit 101, and controls the transmission unit 101 Thus, a digital signal is transmitted at a predetermined transmission timing.

なお、送信装置10の具体的な構成は任意であり、公知の送信機を用いることができる。送信装置10によって行われるデジタル信号の送信制御の詳細は後述する。   The specific configuration of the transmission device 10 is arbitrary, and a known transmitter can be used. Details of digital signal transmission control performed by the transmission apparatus 10 will be described later.

(通信システムの構成−受信装置11)
受信装置11は、送信装置10から送信されたデジタル信号を受信するためのものであり、受信部110、ビット削除部111、及び、受信制御部112を備えている。
(Configuration of communication system-receiving device 11)
The reception device 11 is for receiving a digital signal transmitted from the transmission device 10 and includes a reception unit 110, a bit deletion unit 111, and a reception control unit 112.

受信部110は、送信部101から送信されたデジタル信号を受信し、所定の伝送方式に従って、受信したデジタル信号をデジタル情報に変換するためのものであり、特許請求の範囲における受信手段に対応している。   The receiving unit 110 receives the digital signal transmitted from the transmitting unit 101 and converts the received digital signal into digital information according to a predetermined transmission method, and corresponds to the receiving unit in the claims. ing.

ビット削除部111は、受信部110によって復号化されたデジタル情報に含まれている区切りデータを所定方法にて認識し、当該デジタル情報から区切りデータを削除するものであり、特許請求の範囲における処理手段に対応している。   The bit deletion unit 111 recognizes the delimiter data included in the digital information decoded by the receiving unit 110 by a predetermined method, and deletes the delimiter data from the digital information. Corresponds to the means.

受信制御部112は、受信部110を制御することによって、所定の受信タイミングにてデジタル信号を受信させ、当該受信部110にて変換されたデジタル情報をビット削除部111に入力し、当該ビット削除部111にて区切りデータが削除されたデジタル情報に基づき、所定の処理を行うものである。   The reception control unit 112 controls the reception unit 110 to receive a digital signal at a predetermined reception timing, inputs the digital information converted by the reception unit 110 to the bit deletion unit 111, and deletes the bit. The unit 111 performs predetermined processing based on the digital information from which the delimiter data has been deleted.

なお、受信装置11の具体的な構成は任意であり、公知の受信機を用いることができる。受信装置11によって行われるデジタル信号の受信制御の詳細は後述する。   The specific configuration of the receiving device 11 is arbitrary, and a known receiver can be used. Details of the digital signal reception control performed by the reception device 11 will be described later.

(通信システムの動作)
次に、本実施の形態1に係る通信システム1の動作について説明する。図2は通信システム1の動作の流れを概略的に示したフローチャート、図3は、区切りデータ挿入前後のデジタル情報、及び、送信部101から送信されたデジタル信号を示した概要図である。
(Operation of communication system)
Next, the operation of the communication system 1 according to the first embodiment will be described. FIG. 2 is a flowchart schematically showing an operation flow of the communication system 1, and FIG. 3 is a schematic diagram showing digital information before and after insertion of delimiter data and a digital signal transmitted from the transmission unit 101.

図2に示すように、所定の入力手段によって送信制御部102にデジタル情報が入力されると、送信制御部102は、入力されたデジタル情報をビット挿入部100に入力する(ステップSA−1)。ここでは、デジタル情報として「1111111111111111」が送信制御部102に対して入力されたものと仮定する。   As shown in FIG. 2, when digital information is input to the transmission control unit 102 by a predetermined input means, the transmission control unit 102 inputs the input digital information to the bit insertion unit 100 (step SA-1). . Here, it is assumed that “1111111111111111” is input to the transmission control unit 102 as digital information.

ビット挿入部100は、入力されたデジタル情報に対して、所定ビット数毎に区切りデータを挿入する(ステップSA−2)。ここでは、ビット挿入部100は、8ビット毎に区切りデータとして「10」を挿入するものと仮定する。この場合、例えば図3に示したように、区切りデータ挿入後のデジタル情報は「11111111101111111110」となる(下線部が区切りデータを示す)。 The bit insertion unit 100 inserts delimiter data into the input digital information every predetermined number of bits (step SA-2). Here, it is assumed that the bit insertion unit 100 inserts “10” as delimiter data every 8 bits. In this case, for example, as shown in FIG. 3, the digital information after inserting the delimiter data is “11111111 10 11111111 10 ” (the underlined portion indicates delimiter data).

ビット挿入部100は、区切りデータ挿入後のデジタル情報を送信制御部102に入力する。送信制御部102は、当該入力された区切りデータ挿入後のデジタル情報を送信部101に入力し(ステップSA−3)、当該送信部101によってデジタル信号に変換させ、当該変換後のデジタル信号を所定の送信タイミングにて受信装置11に対して送信させる(ステップSA−4)。   The bit insertion unit 100 inputs the digital information after inserting the delimiter data to the transmission control unit 102. The transmission control unit 102 inputs the input digital information after insertion of the delimiter data to the transmission unit 101 (step SA-3), causes the transmission unit 101 to convert the digital information, and converts the converted digital signal to a predetermined value. Is transmitted to the receiving device 11 at the transmission timing (step SA-4).

受信制御部112は、送信部101から送信されたデジタル信号が受信部110にて受信されたことを所定手段により検出すると(ステップSA−5、Yes)、受信部110によって所定タイミングにて当該デジタル信号を受信させ、当該受信させたデジタル信号を、受信部110によってデジタル情報に変換させる(ステップSA−6)。ここで、図3に示したように、送信部101によって送信されたデジタル信号においては、区切り信号に対応する位置にて信号レベルが変化している。従って、当該信号レベルの変化に伴って受信部110における受信タイミングがリセットされ、当該受信タイミングと送信部101における送信タイミングとの誤差の蓄積が解消される。   When the reception control unit 112 detects by a predetermined means that the digital signal transmitted from the transmission unit 101 has been received by the reception unit 110 (step SA-5, Yes), the reception control unit 112 causes the digital signal to be transmitted at a predetermined timing. The signal is received, and the received digital signal is converted into digital information by the receiving unit 110 (step SA-6). Here, as shown in FIG. 3, in the digital signal transmitted by the transmission unit 101, the signal level changes at a position corresponding to the delimiter signal. Accordingly, the reception timing at the receiving unit 110 is reset with the change in the signal level, and accumulation of errors between the reception timing and the transmission timing at the transmission unit 101 is eliminated.

続いて、受信制御部112は、変換されたデジタル情報をビット削除部111に入力する(ステップSA−7)。ビット削除部111は、入力されたデジタル情報を参照し、区切りデータを認識し、当該認識した区切りデータを削除する(ステップSA−8)。これにより、デジタル情報は、当初に送信制御部102に入力されたデジタル情報と同じ「1111111111111111」となる。受信制御部112は、ビット削除部111によって区切りデータが削除されたデジタル情報に基づき、所定の処理を実行する(ステップSA−9)。   Subsequently, the reception control unit 112 inputs the converted digital information to the bit deletion unit 111 (step SA-7). The bit deleting unit 111 refers to the input digital information, recognizes the delimiter data, and deletes the recognized delimiter data (step SA-8). As a result, the digital information becomes “1111111111111111” which is the same as the digital information initially input to the transmission control unit 102. The reception control unit 112 executes a predetermined process based on the digital information from which the delimiter data has been deleted by the bit deletion unit 111 (step SA-9).

(実施の形態1の効果)
このように実施の形態1によれば、元データであるデジタル情報の所定ビット数毎に、交互に値が異なる複数ビットからなる区切りデータを挿入しているので、元データのデジタル情報に同じ値のビットが並んでいたとしても、区切りデータが挿入されている部分で必ず値が相違することになる。従って、区切りデータが挿入されたデジタル情報から変換された後のデジタル信号の信号レベルは一定の間隔毎に必ず変化されるので、送信タイミングと受信タイミングとの誤差の蓄積をリセットすることができ、同期外れの発生を防止することができる。これに伴って、周波数偏差の大きい発振素子を用いることができ、コスト低減を図ることができる。
(Effect of Embodiment 1)
As described above, according to the first embodiment, since the delimiter data composed of a plurality of bits having different values alternately is inserted for each predetermined number of bits of the digital information that is the original data, the same value is added to the digital information of the original data. Even if these bits are lined up, the value is always different in the portion where the delimiter data is inserted. Therefore, since the signal level of the digital signal after being converted from the digital information into which the delimiter data is inserted is always changed at regular intervals, the accumulation of errors between the transmission timing and the reception timing can be reset, Occurrence of loss of synchronization can be prevented. Accordingly, an oscillation element having a large frequency deviation can be used, and cost reduction can be achieved.

また、区切りデータとして2ビットのデジタル情報を用いているので、元データのデジタル情報に対する区切りデータの挿入に伴う情報量の増大を最小限に抑制することができる。   In addition, since 2-bit digital information is used as delimiter data, an increase in the amount of information associated with insertion of delimiter data into the digital information of the original data can be suppressed to a minimum.

〔実施の形態2〕
次に、実施の形態2について説明する。この形態は、偶奇情報を含めるように、区切り情報の値を決定する形態である。
[Embodiment 2]
Next, a second embodiment will be described. In this form, the value of the delimiter information is determined so as to include even / odd information.

なお、実施の形態2の構成は、特記する場合を除いて実施の形態1の構成と略同一であり、実施の形態1の構成と略同一の構成についてはこの実施の形態1で用いたのと同一の符号及び/又は名称を必要に応じて付して、その説明を省略する。   The configuration of the second embodiment is substantially the same as the configuration of the first embodiment except where otherwise specified, and the same configuration as that of the first embodiment is used in the first embodiment. The same reference numerals and / or names are attached as necessary, and the description thereof is omitted.

(ビット挿入部100)
本実施の形態2に係るビット挿入部100は、パリティビットが含まれるように区切りデータを決定する。ここで、パリティビットとは、所定ビット数のデジタル情報において、値が「1」(又は「0」)であるビットの個数が偶数又は奇数の何れであるかを示すものをいい、特許請求の範囲における偶奇情報に対応している。パリティビットの具体的な内容は任意であるが、例えば、8ビットのデジタル情報において、値が「1」であるビットの個数が偶数である場合に「0」、奇数である場合に「1」とすることができる。あるいは、値が「1」であるビットの個数が偶数である場合に「1」、奇数である場合に「0」としてもよい。なお、前者の場合のパリティビットを偶数パリティ、後者の場合のパリティビットを奇数パリティという。
(Bit insertion unit 100)
The bit insertion unit 100 according to the second embodiment determines the delimiter data so that the parity bit is included. Here, the parity bit refers to whether the number of bits whose value is “1” (or “0”) is an even number or an odd number in digital information having a predetermined number of bits. Corresponds to even / odd information in the range. The specific content of the parity bit is arbitrary. For example, in 8-bit digital information, “0” is set when the number of bits whose value is “1” is an even number, and “1” when the number is odd. It can be. Alternatively, “1” may be set when the number of bits having a value “1” is an even number, and “0” may be set when the number is an odd number. The parity bit in the former case is called even parity, and the parity bit in the latter case is called odd parity.

上述の実施の形態1の場合と同様に、区切り情報を2ビットのデジタル情報とする場合には、例えば、上位のビットを偶数パリティとし、下位のビットを偶数パリティの値と相互に異なる値(例えば、奇数パリティ)とすることで、交互に値が異なる2ビットの区切りデータを決定することができる。例えば、区切りデータの挿入対象となる8ビットのデジタル情報が「10010011」の場合、値が「1」であるビットの個数は4個であり偶数なので、偶数パリティは「0」、区切りデータは「01」となる。   As in the case of the first embodiment described above, when the delimiter information is 2-bit digital information, for example, the upper bits are even parity, and the lower bits are mutually different values from the even parity values ( For example, by using odd parity, it is possible to determine 2-bit delimited data having different values alternately. For example, when the 8-bit digital information to be inserted into the delimiter data is “10010011”, the number of bits having the value “1” is four and an even number, so the even parity is “0” and the delimiter data is “ 01 ".

(通信システムの動作)
次に、本実施の形態2に係る通信システム1の動作について説明する。図4は、通信システム1の動作の流れを概略的に示したフローチャートである。
(Operation of communication system)
Next, the operation of the communication system 1 according to the second embodiment will be described. FIG. 4 is a flowchart schematically showing the operation flow of the communication system 1.

図4に示すように、所定の入力手段によって送信制御部102にデジタル情報が入力されると、送信制御部102は、入力されたデジタル情報をビット挿入部100に入力する(ステップSB−1)。ここでは、デジタル情報として「0101010000000000」が送信制御部102に対して入力されたものと仮定する。   As shown in FIG. 4, when digital information is input to the transmission control unit 102 by a predetermined input means, the transmission control unit 102 inputs the input digital information to the bit insertion unit 100 (step SB-1). . Here, it is assumed that “0101010000000” is input to the transmission control unit 102 as digital information.

ビット挿入部100は、入力されたデジタル情報に対して、所定ビット数毎に区切りデータを挿入する(ステップSB−2)。上記デジタル情報のうち、前半の8ビット「01010100」では、値が「1」であるビットが3個含まれているので、偶数パリティは「1」となる。従って、ビット挿入部100は、前半の8ビットに対する区切りデータとして「10」を挿入する。一方、後半の8ビット「00000000」では、値が「1」であるビットは0個なので、偶数パリティは「0」となる。従って、ビット挿入部100は、後半の8ビットに対する区切りデータとしては「01」を挿入する。この場合、区切りデータ挿入後のデジタル情報は「01010100100000000001」となる(下線部が区切りデータを示す)。 The bit insertion unit 100 inserts delimiter data into the input digital information every predetermined number of bits (step SB-2). Of the digital information, the first half of 8 bits “01010100” includes 3 bits having a value of “1”, so that the even parity is “1”. Therefore, the bit insertion unit 100 inserts “10” as delimiter data for the first 8 bits. On the other hand, in the latter 8 bits “00000000”, since the number of bits having a value “1” is 0, the even parity is “0”. Therefore, the bit insertion unit 100 inserts “01” as the delimiter data for the latter 8 bits. In this case, the digital information after inserting the delimiter data is “01010100 10 00000000 01 ” (the underlined portion indicates the delimiter data).

以降、図4におけるステップSB−3からステップSB−7までは、上述の実施の形態1において図2で示したステップSA−3からステップSA−7までと同様であるので、説明を省略する。   Hereinafter, Step SB-3 to Step SB-7 in FIG. 4 are the same as Step SA-3 to Step SA-7 shown in FIG.

ステップSB−7において、受信制御部112によって変換されたデジタル情報を入力されたビット削除部111は、入力されたデジタル情報を参照し、区切りデータを認識する。この際、2ビットの区切りデータにおける上位の値となっている偶数パリティを参照する(ステップSB−8)。さらに、ビット削除部111は、区切りデータが挿入されていた8ビットのデジタル情報に基づいて、偶数パリティを算出する(ステップSB−9)。そして、ステップSB−8にて参照した偶数パリティと、ステップSB−9にて算出した偶数パリティとを対比する(ステップSB−10)。対比の結果が一致していた場合には(ステップSB−10、Yes)、ビット削除部111は区切りデータを削除し、受信制御部112は、ビット削除部111によって区切りデータが削除されたデジタル情報に基づき、所定の処理を実行する(ステップSB−11)。一方、対比の結果が相違していた場合(ステップSB−10、No)、ビット削除部111は、デジタル信号の通信中に信号の内容が変化したものと判断し、受信制御部112に対してエラーを示す情報を出力する(ステップSB−12)。受信制御部112は、当該エラー情報に基づき、所定の処理を実行する(ステップSB−13)。   In step SB-7, the bit deletion unit 111 to which the digital information converted by the reception control unit 112 is input refers to the input digital information and recognizes the delimiter data. At this time, the even parity which is the upper value in the 2-bit delimiter data is referred to (step SB-8). Further, the bit deletion unit 111 calculates even parity based on the 8-bit digital information in which the delimiter data has been inserted (step SB-9). Then, the even parity referenced in step SB-8 is compared with the even parity calculated in step SB-9 (step SB-10). If the comparison results match (step SB-10, Yes), the bit deletion unit 111 deletes the delimiter data, and the reception control unit 112 deletes the delimiter data by the bit deletion unit 111. Based on the above, predetermined processing is executed (step SB-11). On the other hand, when the comparison results are different (step SB-10, No), the bit deletion unit 111 determines that the signal content has changed during communication of the digital signal, and the reception control unit 112 Information indicating an error is output (step SB-12). The reception control unit 112 executes a predetermined process based on the error information (step SB-13).

(実施の形態2の効果)
このように実施の形態2によれば、ビット挿入部100は、パリティビットを含めるように区切りデータを決定しているので、上述の実施の形態1における基本的な効果に加えて、区切りデータに基づき、デジタル信号の送受信中に発生した誤りを検出することができる。
(Effect of Embodiment 2)
As described above, according to the second embodiment, since the bit insertion unit 100 determines the delimiter data so as to include the parity bits, in addition to the basic effect in the first embodiment described above, Based on this, it is possible to detect errors that occur during transmission and reception of digital signals.

〔III〕各実施の形態に対する変形例
以上、本発明に係る各実施の形態について説明したが、本発明の具体的な構成及び手段は、特許請求の範囲に記載した各発明の技術的思想の範囲内において、任意に改変及び改良することができる。以下、このような変形例について説明する。
[III] Modifications to Each Embodiment While each embodiment according to the present invention has been described above, the specific configuration and means of the present invention are the same as the technical idea of each invention described in the claims. Modifications and improvements can be arbitrarily made within the range. Hereinafter, such a modification will be described.

(解決しようとする課題や発明の効果について)
まず、発明が解決しようとする課題や発明の効果は、前記した内容に限定されるものではなく、本発明によって、前記に記載されていない課題を解決したり、前記に記載されていない効果を奏することもでき、また、記載されている課題の一部のみを解決したり、記載されている効果の一部のみを奏することがある。
(About problems to be solved and effects of the invention)
First, the problems to be solved by the invention and the effects of the invention are not limited to the above-described contents, and the present invention solves the problems not described above or has the effects not described above. There are also cases where only some of the described problems are solved or only some of the described effects are achieved.

この発明に係る通信システムは、信号の送受信により通信を行なう通信システムに適用でき、容易に同期外れの発生を防止することができ、周波数偏差の大きい発振素子を用いた低コストな装置構成とすることができる通信システムに有用である。   The communication system according to the present invention can be applied to a communication system that performs communication by transmitting and receiving signals, can easily prevent the occurrence of loss of synchronization, and has a low-cost apparatus configuration using an oscillation element having a large frequency deviation. It is useful for communication systems that can.

通信システムの電気的構成を機能概念的に示したブロック図である。1 is a block diagram conceptually showing the electrical configuration of a communication system. 通信システム1の動作の流れを概略的に示したフローチャートである。3 is a flowchart schematically showing an operation flow of the communication system 1. 区切りデータ挿入前後のデジタル情報、及び、送信部101から送信されたデジタル信号を示した概要図である。It is the schematic which showed the digital information before and after the delimiter data insertion, and the digital signal transmitted from the transmission part. 通信システム1の動作の流れを概略的に示したフローチャートである。3 is a flowchart schematically showing an operation flow of the communication system 1.

符号の説明Explanation of symbols

1 通信システム
10 送信装置
11 受信装置
100 ビット挿入部
101 送信部
102 送信制御部
110 受信部
111 ビット削除部
112 受信制御部
DESCRIPTION OF SYMBOLS 1 Communication system 10 Transmission apparatus 11 Reception apparatus 100 Bit insertion part 101 Transmission part 102 Transmission control part 110 Reception part 111 Bit deletion part 112 Reception control part

Claims (3)

二値以上の値をとりうる複数の符号からなるデジタル情報において、相互に値が異なる前記複数の符号を、それぞれ異なるレベルの信号に変換し、当該異なるレベルの信号を含むデジタル信号を用いて通信を行なう通信システムであって、
前記デジタル情報に対して、所定個数の符号毎に、当該所定個数の符号の最後尾に、交互に値が異なる複数の符号からなる同一の区切り情報を挿入する区切り情報挿入手段と、
前記区切り情報が挿入された前記デジタル情報を、前記デジタル信号に変換して送信する送信手段と、
前記送信手段によって送信された前記デジタル信号を受信して前記デジタル情報に変換する受信手段と、
前記受信手段によって変換された前記デジタル情報に含まれている前記区切り情報を認識し、当該認識結果に基づいて所定処理を行う処理手段と、
を備えることを特徴とする通信システム。
In digital information consisting of a plurality of codes that can take two or more values, the plurality of codes having different values are converted into signals of different levels, and communication is performed using digital signals including the signals of the different levels. A communication system for performing
Delimiter information inserting means for inserting the same delimiter information consisting of a plurality of codes having different values alternately at the end of the predetermined number of codes for the predetermined number of codes ,
Transmitting means for converting the digital information into which the delimiter information has been inserted into the digital signal and transmitting the digital information;
Receiving means for receiving the digital signal transmitted by the transmitting means and converting it into the digital information;
Processing means for recognizing the delimiter information included in the digital information converted by the receiving means and performing a predetermined process based on the recognition result;
A communication system comprising:
二値以上の値をとりうる複数の符号からなるデジタル情報において、相互に値が異なる前記複数の符号を、それぞれ異なるレベルの信号に変換し、当該異なるレベルの信号を含むデジタル信号を用いて通信を行なう通信システムであって、
前記デジタル情報に対して、所定個数の符号毎に、当該所定個数の符号の最後尾に、交互に値が異なる複数の符号からなる区切り情報を挿入する区切り情報挿入手段と、
前記区切り情報が挿入された前記デジタル情報を、前記デジタル信号に変換して送信する送信手段と、
前記送信手段によって送信された前記デジタル信号を受信して前記デジタル情報に変換する受信手段と、
前記受信手段によって変換された前記デジタル情報に含まれている前記区切り情報を認識し、当該認識結果に基づいて所定処理を行う処理手段とを備え、
前記区切り情報挿入手段は、前記所定個数の符号からなる前記デジタル情報の内、所定の値である符号の個数が偶数又は奇数のいずれであるかを示す偶奇情報を含めるように、前記区切り情報の値を決定すること、
を備えることを特徴とする通信システム。
In digital information consisting of a plurality of codes that can take two or more values, the plurality of codes having different values are converted into signals of different levels, and communication is performed using digital signals including the signals of the different levels. A communication system for performing
Delimiter information insertion means for inserting delimiter information consisting of a plurality of codes having different values alternately at the end of the predetermined number of codes for the predetermined number of codes,
Transmitting means for converting the digital information into which the delimiter information has been inserted into the digital signal and transmitting the digital information;
Receiving means for receiving the digital signal transmitted by the transmitting means and converting it into the digital information;
Processing means for recognizing the delimiter information included in the digital information converted by the receiving means and performing a predetermined process based on the recognition result;
The delimiter information insertion means includes the even-odd information indicating whether the number of codes having a predetermined value is an even number or an odd number among the digital information including the predetermined number of codes. Determining the value,
A communication system comprising:
前記区切り情報は、2ビットのデジタル情報であること、
を特徴とする請求項1又は2に記載の通信システム。
The delimiter information is 2-bit digital information;
The communication system according to claim 1 or 2.
JP2007302239A 2007-11-21 2007-11-21 Communications system Active JP5097513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007302239A JP5097513B2 (en) 2007-11-21 2007-11-21 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007302239A JP5097513B2 (en) 2007-11-21 2007-11-21 Communications system

Publications (2)

Publication Number Publication Date
JP2009130547A JP2009130547A (en) 2009-06-11
JP5097513B2 true JP5097513B2 (en) 2012-12-12

Family

ID=40821048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007302239A Active JP5097513B2 (en) 2007-11-21 2007-11-21 Communications system

Country Status (1)

Country Link
JP (1) JP5097513B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6340574B2 (en) * 2013-06-04 2018-06-13 パナソニックIpマネジメント株式会社 Serial communication device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH065831B2 (en) * 1984-05-08 1994-01-19 日本電気株式会社 Signal frame transmission method
JPH0294724A (en) * 1988-09-29 1990-04-05 Mitsubishi Electric Corp Data transmission method
JPH04354223A (en) * 1991-05-31 1992-12-08 Nissan Motor Co Ltd Multiplex communication controller
JPH08181721A (en) * 1994-12-21 1996-07-12 Nippondenso Co Ltd Data transmitter by start-stop synchronized communication
JP2853672B2 (en) * 1996-09-11 1999-02-03 日本電気株式会社 Arithmetic processing unit
WO2004064351A1 (en) * 2003-01-15 2004-07-29 Fujitsu Limited Asynchronous transmission method and circuit thereof

Also Published As

Publication number Publication date
JP2009130547A (en) 2009-06-11

Similar Documents

Publication Publication Date Title
EP0507884B1 (en) Transmitting encoded data on unreliable networks
JP4327764B2 (en) Data receiving apparatus, sync signal detecting method and program
JP2009303178A (en) Data receiver, method of receiving data, and data receiving program
JP5097513B2 (en) Communications system
JP2001024516A (en) Method and device for transmitting variable length coded data in low s/n ratio environment
JP2005184335A (en) Missynchronization preventing device in wireless communication device
JP3277948B2 (en) Digital signal receiver
JP4157064B2 (en) Synchronization start signal detection device, detection method thereof, and program thereof
JP2005176165A (en) Radio transmission system
JP3365046B2 (en) Wireless data transmission receiver
KR100386558B1 (en) fast detection method for data rate
JP2007288570A (en) Instruction signal processor, instruction signal processing method
JP2705442B2 (en) Synchronous method
JP2017118184A (en) Electronic control device
JP3463688B2 (en) Communication system and communication method
JP4586492B2 (en) One-wire data communication method and one-wire data transmitter / receiver using this communication method
JP3290331B2 (en) Block synchronization processing circuit
JP2600581B2 (en) Code synchronization circuit
JPH11298467A (en) Frame synchronization system
KR100261074B1 (en) Method and apparatus for compensating baud rate in communication relay
JPH06284121A (en) Synchronizing word detection system
JPH06132892A (en) Data transfer system
JPH04103296A (en) Error control system for remote supervisory equipment
WO2017050233A1 (en) Method and device for receiving signals
JPH0234055A (en) Cell mis-synchronization detection system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120820

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120924

R150 Certificate of patent or registration of utility model

Ref document number: 5097513

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3