KR20000044016A - Data communication system for detecting and correcting transmit error - Google Patents

Data communication system for detecting and correcting transmit error Download PDF

Info

Publication number
KR20000044016A
KR20000044016A KR1019980060459A KR19980060459A KR20000044016A KR 20000044016 A KR20000044016 A KR 20000044016A KR 1019980060459 A KR1019980060459 A KR 1019980060459A KR 19980060459 A KR19980060459 A KR 19980060459A KR 20000044016 A KR20000044016 A KR 20000044016A
Authority
KR
South Korea
Prior art keywords
data
transmission
bit
check
check data
Prior art date
Application number
KR1019980060459A
Other languages
Korean (ko)
Other versions
KR100579088B1 (en
Inventor
이강륜
Original Assignee
추호석
대우중공업 주식회사
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 추호석, 대우중공업 주식회사 filed Critical 추호석
Priority to KR1019980060459A priority Critical patent/KR100579088B1/en
Publication of KR20000044016A publication Critical patent/KR20000044016A/en
Application granted granted Critical
Publication of KR100579088B1 publication Critical patent/KR100579088B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • H04L1/0046Code rate detection or code type detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • H04L1/0063Single parity check

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE: A data communication system for detecting and correcting a transmit error, is provided to correct a communication error through a self correction, not to retransmit communication data generated the communication error. CONSTITUTION: A data communication system for detecting and correcting a transmit error, comprises a data transmitting circuit(100) and a data receiving circuit(200). The data transmitting circuit(100) generates a n bit of check data group satisfied with second order - 1referring to a N bit of transmit data inputted from a user processor. The data transmitting circuit(100) responds a proper subset of the check data group to each bit of the transmit data. The data transmitting circuit(100) selects a transmit data bit responded to a same check data bit, operates the selected bit logically, to generate a first check data, transmitting the generated data with the transmit data. The data receiving circuit(200) executes a same operation logic as the first check data referring to a N bit of transmit data of the transmit data transmitted from the data transmitting circuit(100), to generate a second check data. The data receiving circuit(200) selects a check data bit which is not consisted between the first and second check data, and detects a transmit data bit responded properly to the selected check data bit, as a transmit error bit. The data receiving circuit(200) obtains a complement to a binary value of the detected transmit error bit, to correct an error.

Description

전송에러의 검출과 정정이 가능한 데이터 통신시스템 및 에러정정방법.Data communication system and error correction method that can detect and correct transmission error.

본 발명은 데이터를 송, 수신하는 정보통신시스템에 관한 것이다. 특히, 본 발명은 데이터 송, 수신시에 발생하는 전송에러를 검출하고, 이를 올바르게 정정할 수 있는 데이터 통신시스템에 관한 것이다.The present invention relates to an information communication system for transmitting and receiving data. In particular, the present invention relates to a data communication system capable of detecting and correctly correcting transmission errors occurring during data transmission and reception.

일반적으로, 데이터 전송시스템에서 송신데이터 자체 혹은 전송과정에서 에러(error)가 발생하여 전송데이터의 신뢰성을 떨어뜨리는 경우가 흔히 있었다. 이러한 경우, 종래에는 데이터의 전달도중 발생할수 있는 에러를 조사하기 위하여 송신측에서 보내온 전송데이터에 포함된 "1"의 개수를 조사해서 전송도중의 에러 발생여부를 알아내는 패리티(parity) 비트 검사방법을 사용하였다.In general, in the data transmission system, an error occurs in the transmission data itself or in the transmission process, and thus, the reliability of the transmission data is often decreased. In this case, conventionally, a parity bit checking method for determining whether an error has occurred during transmission by examining the number of "1" s included in the transmission data sent from the transmitter in order to investigate an error that may occur during transmission of data. Was used.

이러한, 종래의 패리티 비트 검사방법에 대한 일 예를 첨부도면 도 1 및 도 2를 참조하여 살펴보면 다음과 같다. 여기서, 도 1은 전송데이터의 오류를 검출하기 위한 종래의 패리티(parity)비트 검사회로를 도시한 것이고, 도 2는 상기 도 1의 패리티비트 검사회로에 홀수 패리티를 설정한 경우의 패리티 비트를 나타낸다.An example of the conventional parity bit check method will be described with reference to FIGS. 1 and 2 as follows. 1 shows a conventional parity bit check circuit for detecting an error in transmission data, and FIG. 2 shows parity bits when odd parity is set in the parity bit check circuit of FIG. .

패리티 비트에는 짝수 패리티와 홀수 패리티가 있으며 짝수 패리티는 하나의 데이터 코드에 포함된 "1"의 개수가 짝수가 되도록 패리티 비트를 결정하는 방식이고 홀수 패리티에서는 "1"의 개수가 홀수가 되도록 패리티 비트를 결정하는 방식이다.Parity bits have even parity and odd parity, and even parity is a method of determining parity bits such that the number of "1s" included in one data code is even. In parity bits, parity bits have an odd number of "1" s. How to determine.

도 2를 참조하여 홀수 패리티 방식을 살펴보면 데이터 비트(D1 - D8)에 "1"이 홀수개 존재하는 경우에는 패리티 비트(P)가 "0"이고 데이터 비트(D1 - D8)에 "1"이 짝수개 존재하는 경우에는 패리티 비트(P)가 "1"이 됨을 알 수 있다. 이러한 홀수 패리티 비트 방식을 적용하여 데이터의 전송에러를 검출하는 방법을 도 1을 참조하여 살펴보면, 데이터 비트(D1 - D8)와 패리티 비트(P)가 복수개의 익스크루시브오어(EX.OR) 게이트를 거침으로써 출력되는 최종값인 Q는 정상적인 경우 항상 "1"이 되어야 한다. 따라서, 만약 Q가 "0"이 된다면 데이터의 전송과정중 오류가 발생하였음을 나타내는 것이다.Referring to FIG. 2, when the odd parity method is used, when there are an odd number of "1" s in the data bits D1-D8, the parity bit P is "0" and "1" is in the data bits D1-D8. If there is an even number, it can be seen that the parity bit P becomes "1". Referring to FIG. 1, a method of detecting a data transmission error by applying the odd parity bit method is described. Referring to FIG. 1, the data bits D1 through D8 and the parity bits P may include a plurality of EXOR gates. Q, the final value outputted by, should always be "1" in normal case. Therefore, if Q is " 0 ", it indicates that an error occurred during data transmission.

이와같은 종래의 패리티 비트 검사방법은 데이터 전송도중에 에러가 발생하였는지 여부만을 알 수 있을 뿐이지 정확하게 오류를 검출하고, 이를 올바르게 정정할 수 없는 문제점을 가진다.Such a conventional parity bit check method only knows whether an error has occurred during data transmission, but has a problem in that the error is correctly detected and cannot be corrected correctly.

즉, 종래의 패리티 비트 검사방법은 패리티비트를 검사하여 오류의 발생을 감지하면, 데이터의 전송을 중단하고, 해당 데이터의 재전송을 의뢰하여야 하기 때문에 고도의 신뢰도 및 정확도가 요구되는 시스템에는 적용이 곤란하다.That is, the conventional parity bit check method is difficult to apply to a system requiring high reliability and accuracy because the parity bit check detects an error and stops the data transmission and requests retransmission of the data. Do.

따라서, 본 발명은 상기와 같은 종래 기술의 문제점을 해결하기 위해 창안된 것으로서, 본 발명의 목적은 데이터의 전송도중에 발생한 전송에러를 정확하게 검출해내는 것이다.Accordingly, the present invention was devised to solve the above problems of the prior art, and an object of the present invention is to accurately detect a transmission error occurring during data transmission.

또한, 본 발명의 다른 목적중의 하나는 간단한 논리연산을 통해 전송에러를 올바르게 정정할 수 있는 통신시스템을 제공함에 있다.Another object of the present invention is to provide a communication system capable of correcting a transmission error correctly through a simple logical operation.

본 발명의 또 다른 목적중의 하나는 고도의 신뢰도 및 정확도가 요구되는 데이터 통신시스템에 적용할 수 있는 전송에러의 보정방법을 제공함에 있다.It is another object of the present invention to provide a method for correcting a transmission error that can be applied to a data communication system requiring high reliability and accuracy.

상기한 목적을 달성하기 위한 본 발명의 통신시스템은 사용자 프로세서로부터 입력되는 N비트의 전송데이터(m0, m1, m2, ㆍㆍㆍㆍmN)에 대하여 2n- 1 ≥ N을 만족하는 n비트의 체크데이터 집합({c0, c1,ㆍㆍㆍㆍcn})을 생성하고, 이 n비트의 체크데이터 집합의 진부분집합{{c0}, {c1}ㆍㆍㆍㆍ{cn}, {c0, c1}, ㆍㆍㆍㆍ{cn-1, cn}ㆍㆍㆍㆍ}을 전송데이터의 각 비트에 대하여 각기 대응시키고, 동일한 체크데이터 비트에 대응하는 전송데이터 비트만을 선별하여 논리연산함으로써 제 1 체크데이터를 생성하여 이를 전송데이터와 함께 송신하는 데이터 송신회로와; 상기 데이터 송신회로로부터 전송된 송신데이터중 N비트의 전송데이터(m0, m1, m2, ㆍㆍㆍㆍmN)에 대하여 상기 제 1 체크데이터와 동일한 논리연산을 수행함으로써 제 2 체크데이터(c'0, c'1,ㆍㆍㆍㆍc'n)을 생성하고, 이를 상기 제 1 체크데이터와 비교함으로써 서로 일치하지 않는 체크데이터 비트만을 선별하고, 이 선별된 체크데이터 비트에만 고유하게 대응하는 전송데이터 비트를 전송에러비트로 검출하며, 이 전송에러비트의 2진값에 대한 보수를 취함으로써 에러를 정정하는 데이터 수신회로를 포함한다.The communication system of the present invention for achieving the above object satisfies 2 n -1 ≥ N for N-bit transmission data (m 0 , m 1 , m 2 ,... M N ) input from a user processor. Generate n-bit check data set ({c 0 , c 1 , ... c n }) and generate a true subset of this n-bit check data set {{c 0 }, {c 1 } ... {C n }, {c 0 , c 1 },..., And {c n-1 , c n }... A data transmission circuit for generating first check data by selecting and performing logical operation on only a corresponding transmission data bit and transmitting the first check data together with the transmission data; The second check data by with respect to the data transmission circuit of the transmission data of the N-bit transmission data transmitted from the (m 0, m 1, m 2, and and and and m N) perform the same logical operation with the first check data, By generating (c ' 0 , c' 1 ,... c ' n ) and comparing them with the first check data, only check data bits that do not coincide with each other are selected, and only the selected check data bits are unique. And a data receiving circuit for detecting a corresponding transmission data bit as a transmission error bit and correcting an error by taking a complement of the binary value of the transmission error bit.

상기 데이터 송신회로는 상기 제 1 체크데이터를 생성하기 위한 체크데이터 생성부와, 상기 N비트의 전송데이터에 n비트의 제 1 체크데이터를 부가함으로써 송신데이터를 합성하는 데이터 합성부와, 상기 송신데이터를 전송매체를 통해 데이터 수신회로에 전송하는 송신기를 포함한다.The data transmission circuit includes a check data generation unit for generating the first check data, a data synthesizing unit for synthesizing transmission data by adding n bits of first check data to the N bits of transmission data, and the transmission data. It includes a transmitter for transmitting to the data receiving circuit through the transmission medium.

또한, 상기 데이터 수신회로는 상기 데이터 송신회로로부터 전송되는 송신데이터를 수신하기 위한 수신기와, 상기 수신기로 부터의 수신데이터를 N비트의 전송데이터와 n비트의 제 1 체크데이터로 분리하기 위한 데이터 분리부와, 상기 N비트의 전송데이터로부터 제 2 체크데이터를 생성하는 수신측 체크데이터 생성부와, 상기 제 1 체크데이터와 제 2 체크데이터를 비교하기 위한 비교부와, 상기 비교부의 결과로부터 전송에러비트를 검출하기 위한 에러검출부와, 상기 전송에러비트의 2진값을 그 보수로 대체함으로써 전송에러를 정정하기 위한 에러보정부를 포함한다.The data receiving circuit further includes a receiver for receiving transmission data transmitted from the data transmission circuit, and data separation for separating the received data from the receiver into N bits of transmission data and n bits of first check data. And a reception side check data generation unit for generating second check data from the N-bit transmission data, a comparison unit for comparing the first check data and the second check data, and a transmission error from the result of the comparison unit. And an error detector for detecting a bit, and an error correction unit for correcting a transmission error by replacing the binary value of the transmission error bit with its complement.

또한, 본 발명의 목적을 달성하기 위한 전송에러 정정방법은 N비트의 전송데이터로부터 2n- 1 ≥ N을 만족하는 n비트의 체크데이터 집합({c0, c1,ㆍㆍㆍㆍcn})을 생성하고, 이 n비트의 체크데이터 집합의 공집합을 제외한 진부분집합{{c0}, {c1}ㆍㆍㆍㆍ{cn}, {c0, c1}, ㆍㆍㆍㆍ{cn-1, cn}ㆍㆍㆍㆍ}을 전송데이터의 각 비트에 대하여 각기 대응시키고, 동일한 체크데이터 비트에 대응하는 전송데이터 비트만을 선별하여 익스크루시브 오어(Exclusive-OR)연산을 수행함으로써 제 1 체크데이터를 생성하는 단계와; 상기 n비트의 제 1 체크데이터를 전송데이터에 부가하여 전송매체를 통해 송신하는 단계와; 수신된 N비트의 전송데이터로부터 상기 단계 (a)와 동일한 과정을 거쳐 n비트의 제 2 체크데이터를 생성하는 단계와; 수신된 n비트의 제 1 체크데이터와 상기 제 2 체크데이터를 비교하여 서로 일치하지 않는 체크데이터 비트(cn≠ c'n)를 선별하고, 이 체크데이터 비트에만 고유하게 대응하는 전송데이터 비트를 전송에러비트로 검출하는 전송에러검출단계와; 상기 전송에러검출단계에서 검출된 전송에러비트의 2진값을 그 보수로 대치함으로써 전송에러를 보정하는 전송에러보정단계를 포함한다.Further, transmission error correction method for achieving the object of the present invention is N bits from the transmission data 2 n - 1 ≥ N check data set of n bits that satisfy the ({c 0, c 1, and and and and c n }), And the true subset except for the empty set of the n-bit check data set {{c 0 }, {c 1 }, ... {c n }, {c 0 , c 1 }, ... • Exclusive-OR operation by matching {c n-1 , c n } ···· to each bit of transmission data and selecting only transmission data bits corresponding to the same check data bit. Generating first check data by performing; Transmitting the n-bit first check data to the transmission data and transmitting the same through the transmission medium; Generating n-bit second check data from the received N-bit transmission data in the same manner as in step (a); The check data bits (c n ≠ c ' n ) which are not identical to each other are compared by comparing the first check data of the received n bits with the second check data, and the transmission data bits uniquely corresponding to the check data bits are selected. A transmission error detection step of detecting a transmission error bit; And a transmission error correction step of correcting the transmission error by replacing the binary value of the transmission error bit detected in the transmission error detection step with its complement.

상기 제 2 체크데이터 생성단계는 전송매체를 통해 N+n비트의 송신데이터(전송데이터 + 제 1 체크데이터)를 수신하는 데이터 수신단계와; 수신된 N+n비트의 송신데이터를 N비트의 전송데이터와 n비트의 제 1 체크데이터로 분리하는 데이터 분리단계와; 분리된 N비트의 전송데이터로부터 제 2 체크데이터를 생성하는 체크데이터 생성단계를 포함한다.The second check data generating step includes: a data receiving step of receiving N + n bit transmission data (transmission data + first check data) through a transmission medium; A data separation step of separating the received N + n-bit transmission data into N-bit transmission data and n-bit first check data; And a check data generation step of generating second check data from the separated N bits of transmission data.

본 발명의 다른 목적 및 장점들은 하기에 설명될 것이며, 본 발명의 실시에 의해 알게될 것이다. 또한, 본 발명의 목적 및 장점들은 특히, 첨부된 특허청구범위에 나타낸 수단 및 조합에 의해서 실현될수 있다.Other objects and advantages of the invention will be described below and will be appreciated by the practice of the invention. Furthermore, the objects and advantages of the invention can be realized in particular by the means and combinations indicated in the appended claims.

명세서내에 통합되어 있고 명세서의 일부를 구성하는 첨부도면은 발명의 현재의 바람직한 실시예를 예시하며, 상기한 일반적 설명 및 다음의 바람직한 실시예의 상세설명과 함께 본 발명의 원리를 설명하는 역할을 할 것이다.The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention and, together with the foregoing general description and the detailed description of the following preferred embodiments, serve to explain the principles of the invention. .

도 1은 전송데이터의 에러를 검출하기 위한 종래의 패리티(parity) 비트 검사회로를 도시한 것이다.1 illustrates a conventional parity bit check circuit for detecting an error of transmission data.

도2는 상기 도1의 패리티 비트 검사회로에 홀수 패리티를 설정한 경우의 패리티 비트를 나타낸다.FIG. 2 shows parity bits when odd parity is set in the parity bit check circuit of FIG.

도 3은 본 발명의 데이터 통신시스템에 대한 블록구성도를 도시한 것이다.Figure 3 shows a block diagram of a data communication system of the present invention.

도 4는 상기 도 3에 적용되는 송신데이터 생성회로의 상세 블록구성도를 도시한 것이다.FIG. 4 shows a detailed block diagram of the transmission data generation circuit applied to FIG.

도 5는 전송데이터와 제 1 체크데이터로 구성되는 송신데이터를 생성하는 과정에 대한 플로챠트를 도시한 것이다.5 is a flowchart illustrating a process of generating transmission data consisting of transmission data and first check data.

도 6은 상기 도 3에 적용되는 전송에러 보정회로의 상세 블록구성도를 도시한 것이다.FIG. 6 is a detailed block diagram of a transmission error correction circuit applied to FIG. 3.

도 7은 전송에러 보정회로에서 수행되는 전송에러의 검출 및 정정과정에 대한 플로챠트를 도시한 것이다.7 is a flowchart illustrating a process of detecting and correcting a transmission error performed in the transmission error correction circuit.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100: 데이터 송신회로 200: 데이터 수신회로100: data transmission circuit 200: data receiving circuit

300: 전송매체 110: 송신측 사용자 프로세서300: transmission medium 110: transmitting user processor

250: 수신측 사용자 프로세서 130: 송신데이터 생성회로250: receiving user processor 130: transmitting data generating circuit

230: 전송에러 보정회로 150: 송신기230: transmission error correction circuit 150: transmitter

210: 수신기210: receiver

이하에서 본 발명의 바람직한 실시 예를 첨부된 도면에 의거 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

또한, 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흐트리지 않도록 생략될 것이라는 것을 유의하여야 한다.In addition, it should be noted that in the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts will be omitted so as not to obscure the subject matter of the present invention.

도 3은 본 발명의 데이터 통신시스템에 대한 블록구성도를 도시한 것이다.Figure 3 shows a block diagram of a data communication system of the present invention.

도 3에 도시된 바와같이, 본 발명의 데이터 통신시스템은 전송데이터를 송신하는 데이터 송신회로(100)와, 송신된 전송데이터를 수신하는 데이터 수신회로(200) 및 상기 데이터 송신회로와, 데이터 수신회로 사이를 연결하는 물리적인 통로인 전송매체(300)로 구성된다.As shown in FIG. 3, the data communication system of the present invention includes a data transmission circuit 100 for transmitting transmission data, a data receiving circuit 200 for receiving the transmitted transmission data, the data transmission circuit, and data reception. It consists of a transmission medium 300 which is a physical passage connecting the circuits.

상기 전송매체(300)는 전자파신호가 인공적으로 폐쇄된 물리적 경로를 따라 의도된 곳으로 인도되는 이중나선이나 동축케이블과 같은 유선매체나, 전자파신호가 의도적으로 유도되지 않는 무선매체를 포함한다.The transmission medium 300 includes a wired medium such as a double helix or a coaxial cable that is guided to an intended place along a physical path in which the electromagnetic signal is artificially closed, or a wireless medium in which the electromagnetic signal is not intentionally induced.

상기 데이터 송신회로(100)는 전송데이터를 생성하는 송신측 사용자 프로세서(110)와, 이 전송데이터에 후술하는 체크데이터를 부가하여 수신측에 송신할 송신데이터를 형성하는 송신데이터 생성회로(130)와, 이 송신데이터를 전송매체를 통해 송신하는 송신기(150)로 구성된다.The data transmission circuit 100 includes a transmission user processor 110 for generating transmission data and transmission data generation circuit 130 for adding transmission data to be transmitted to the reception side by adding check data, which will be described later, to the transmission data. And a transmitter 150 for transmitting the transmission data through the transmission medium.

이하에서 도 4 및 도 5를 참조하여 데이터 송신회로(100)에 적용되는 송신데이터 생성회로(130)에 대하여 상세하게 설명한다.Hereinafter, the transmission data generation circuit 130 applied to the data transmission circuit 100 will be described in detail with reference to FIGS. 4 and 5.

본 발명의 송신데이터 생성회로(130)는 도 4에 도시된 바와같이 체크데이터 생성부(131)와, 데이터 합성부(132)를 포함한다.As shown in FIG. 4, the transmission data generating circuit 130 of the present invention includes a check data generating unit 131 and a data synthesizing unit 132.

체크데이터 생성부(131)의 입력단에는 사용자 프로세서(110)에서 입력되는 전송데이터가 입력된다. 이 전송데이터는 송신측 사용자가 수신측 사용자에게 전달하고자 하는 정보가 담겨있는 데이터를 의미한다.Transmission data input from the user processor 110 is input to an input terminal of the check data generator 131. The transmission data refers to data containing information that a transmitting user wants to convey to a receiving user.

이 체크데이터 생성부(131)는 전송데이터로부터 후술하는 체크데이터를 생성한다. 이 체크데이터는 수신측에서 전송에러를 검출하고 보정할 때 활용하기 위한 정보를 포함한다.The check data generation unit 131 generates check data to be described later from the transmission data. This check data includes information for use when the receiving side detects and corrects a transmission error.

체크데이터는 전송데이터에 근거하여 그 비트수와 비트값이 결정된다.The number of bits and the bit value of the check data are determined based on the transmission data.

만약, 사용자 프로세서로부터 입력되는 전송데이터가 N비트로 구성되면 체크데이터의 비트수는 아래의 식(1)에 의해 결정된다.If the transmission data input from the user processor is composed of N bits, the number of bits of the check data is determined by Equation (1) below.

2n- 1 ≥ N ㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍㆍ(1)2 n -1 ≥ N (1)

즉, 체크데이터의 비트수는 상기 (1)식을 만족하는 정수 n으로 결정된다.That is, the number of bits of the check data is determined as an integer n that satisfies the above expression (1).

체크데이터의 비트수가 결정되면, 체크데이터 생성부는 이 체크데이터 비트로 이루어지는 집합의 부분집합을 구한다. 이때, 공집합은 부분집합에서 제외한다. 예를들어, 전송데이터가 8비트(Mo, M1, M2, M3, M4, M5, M6, M7)로 이루어지고, 체크데이터의 비트수가 4비트이면, 체크데이터 비트의 집합은 C = { Co, C1, C2, C3}이고, 이 C집합의 부분집합은 {Co}. {C1}, {C2}, {C3}, {Co, C1}, {Co, C2}, {Co, C3}, {C1, C2}, {C1, C3}, {C2, C3}, {Co, C1, C2}, {Co, C1, C3}, {Co, C2, C3}, {C1, C2, C3}, {Co, C1, C2, C3}이 된다.When the number of bits of the check data is determined, the check data generation section obtains a subset of the set consisting of these check data bits. In this case, the empty set is excluded from the subset. For example, if the transmission data consists of 8 bits (Mo, M1, M2, M3, M4, M5, M6, M7) and the number of bits of the check data is 4 bits, the set of check data bits is C = {Co, C1, C2, C3}, and a subset of this C subset is {Co}. {C1}, {C2}, {C3}, {Co, C1}, {Co, C2}, {Co, C3}, {C1, C2}, {C1, C3}, {C2, C3}, {Co , C1, C2}, {Co, C1, C3}, {Co, C2, C3}, {C1, C2, C3}, {Co, C1, C2, C3}.

체크데이터 비트로 이루어지는 부분집합이 결정되면, 이 15개의 부분집합중 전송데이터 비트수에 해당하는 부분집합을 중복되지 않도록 임의로 선별하여, 선별된 각 부분집합을 전송데이터 비트에 임의로 대응시킨다.When the subset consisting of the check data bits is determined, the subsets corresponding to the number of bits of the transmitted data in the 15 subsets are arbitrarily selected so as not to overlap, and each selected subset is arbitrarily associated with the transmitted data bits.

예를들어, Mo ⇔ {C3}, M1 ⇔ {Co, C1}, M2 ⇔ {Co}, M3 ⇔ {C2}, M4 ⇔ {C1}, M5 ⇔ {C2, C3}, M6 ⇔ {Co, C2}, M7 ⇔ {C1, C3}와 같이 대응시킨다.For example, Mo ⇔ {C3}, M1 ⇔ {Co, C1}, M2 ⇔ {Co}, M3 ⇔ {C2}, M4 ⇔ {C1}, M5 ⇔ {C2, C3}, M6 ⇔ {Co, C2 }, M7 대응 matches {C1, C3}.

체크데이터 비트의 부분집합에 대응된 전송데이터 비트중 동일한 체크데이터 비트에 대응되어 있는 전송데이터 비트만을 선별한다. 예를들어, 체크데이터 비트 C1에 대응하는 전송데이터 비트는 M1, M4, M7이다.Only the transmission data bits corresponding to the same check data bit among the transmission data bits corresponding to the subset of the check data bits are selected. For example, the transmission data bits corresponding to the check data bits C1 are M1, M4 and M7.

이 선별된 전송데이터 비트들(M1, M4, M7)을 논리연산하여 대응되는 체크데이터 비트에 대응시킨다. 즉, C1 = M1 M4 M7을 수행한다. 여기서, 는 익스크루시브 오어(Exclusive-OR) 연산을 나타내는 기호이다. 체크데이터 생성부에서 수행되는 논리연산이 반드시 익스크루시브 오어 연산에 한정되는 것은 아니며, 다른 논리연산의 채택도 가능함은 물론이다.The selected transmission data bits M1, M4, and M7 are logically operated to correspond to the corresponding check data bits. That is, C1 = M1 M4 Perform M7. here, Is a symbol representing an exclusive-OR operation. The logical operation performed by the check data generation unit is not necessarily limited to the exclusive or operation, and of course, other logical operations may be adopted.

상술한 과정을 통해 체크데이터 비트를 구하면 다음과 같다.Obtaining the check data bit through the above process is as follows.

CO = M1 M2 M6CO = M1 M2 M6

C1 = M1 M4 M7C1 = M1 M4 M7

C2 = M3 M5 M6C2 = M3 M5 M6

C3 = MO M5 M7C3 = MO M5 M7

이와같이, 체크데이터의 생성이 완료되면, 체크데이터 생성부(131)는 생성된 체크데이터를 데이터 합성부(132)에 인가한다. 데이터 합성부(132)의 다른 입력단에는 사용자 프로세서(110)로부터 입력되는 전송데이터가 인가된다.As such, when generation of check data is completed, the check data generation unit 131 applies the generated check data to the data synthesizing unit 132. Transmission data input from the user processor 110 is applied to the other input terminal of the data synthesizing unit 132.

데이터 합성부(132)는 N비트의 전송데이터와 n비트의 체크데이터로부터 N+n비트의 송신데이터를 합성하여 이를 송신기에 인가한다.The data synthesizing unit 132 synthesizes N + n bits of transmission data from N bits of transmission data and n bits of check data and applies the same to the transmitter.

송신데이터가 인가되면 송신기(150)는 이를 전송매체(300)를 통해 데이터 수신회로(200)로 전송한다.When the transmission data is applied, the transmitter 150 transmits it to the data receiving circuit 200 through the transmission medium 300.

본 발명의 데이터 수신회로(200)는 도 3에 도시된 바와같이 수신기(210)와, 전송에러 보정회로(230)와, 수신측 사용자 프로세서(250)로 이루어진다.As shown in FIG. 3, the data receiving circuit 200 of the present invention includes a receiver 210, a transmission error correction circuit 230, and a receiving user processor 250.

상기 수신기(210)는 전송매체(300)를 통해 전송되는 송신데이터를 수신하여 이를 전송에러 보정회로(230)에 전달하는 역할을 수행한다.The receiver 210 receives and transmits the transmission data transmitted through the transmission medium 300 to the transmission error correction circuit 230.

상기 전송에러 보정회로(230)는 수신기(210)로부터 송신데이터를 넘겨받아 전송과정에서 발생한 전송에러를 검출하고, 전송에러가 검출된 경우에는 이를 올바르게 정정하는 역할을 수행한다.The transmission error correction circuit 230 receives transmission data from the receiver 210 and detects a transmission error occurring in the transmission process, and corrects the transmission error when a transmission error is detected.

이하에서, 도 6 및 도 7을 참조하여 본 발명의 전송에러 보정회로(230)를 상세하게 설명한다.Hereinafter, the transmission error correction circuit 230 of the present invention will be described in detail with reference to FIGS. 6 and 7.

도 5에 도시된 바와같이, 본 발명의 전송에러 보정회로(230)는 데이터 분리부(231)와, 체크데이터 생성부(232)와, 비교부(233)와, 에러검출부(234) 및 에러보정부(235)를 포함한다.As shown in FIG. 5, the transmission error correction circuit 230 of the present invention includes a data separator 231, a check data generator 232, a comparator 233, an error detector 234, and an error. The correction unit 235 is included.

상기 데이터 분리부(231)는 N+n비트의 수신데이터를 N비트의 전송데이터와, n비트의 송신측 체크데이터로 분리한다. 분리된 N비트의 전송데이터는 체크데이터 생성부(232)로 인가되고, 나머지 n비트의 송신측 체크데이터는 비교부(233)로 인가된다.The data separator 231 separates the received data of N + n bits into N bits of transmission data and n bits of transmission side check data. The separated N bits of transmission data are applied to the check data generation unit 232, and the remaining n bits of transmission data of the n bits are applied to the comparison unit 233.

체크데이터 생성부(232)에 인가된 N비트의 전송데이터는 상술한 송신회로(100)의 체크데이터 생성부(130)에서의 과정과 동일한 과정을 거쳐 수신측 체크데이터를 생성한다.The transmission data of N bits applied to the check data generation unit 232 generates the check side check data through the same process as that of the check data generation unit 130 of the transmission circuit 100 described above.

예를들어, 수신기(210)를 통해 수신된 수신데이터중 전송데이터(M'o, M'1, M'2, M'3, M'4, M'5, M'6, M'7)가 8비트이고, 송신측 체크데이터가 4비트이면, 체크데이터 생성부(230)는 4비트의 수신측 체크데이터 (C'o, C'1, C'2, C'3)를 생성한다.For example, transmission data M'o, M'1, M'2, M'3, M'4, M'5, M'6, and M'7 among the received data received through the receiver 210. Is 8 bits and the transmitter check data is 4 bits, the check data generator 230 generates 4 bits of receiver check data C'o, C'1, C'2, and C'3.

이 수신측 체크데이터는 아래와 같이 전송데이터 비트의 논리연산으로 결정된다.The receiving check data is determined by the logical operation of the transmission data bits as follows.

C'O = M'1 M'2 M'6C'O = M'1 M'2 M'6

C'1 = M'1 M'4 M'7C'1 = M'1 M'4 M'7

C'2 = M'3 M'5 M'6C'2 = M'3 M'5 M'6

C'3 = M'O M'5 M'7C'3 = M'O M'5 M'7

이렇게 결정된 수신측 체크데이터는 비교부(233)에 입력되어 송신측 체크데이터와 비교된다. 비교부(233)는 그 입력단으로부터 입력되는 송신측 체크데이터와 수신측 체크데이터를 비교하여 일치하지 않는 수신측 체크데이터를 에러검출부(234)로 출력한다.The reception check data thus determined is input to the comparison unit 233 and compared with the transmission check data. The comparison unit 233 compares the transmission check data and the reception check data inputted from the input terminal, and outputs mismatched reception check data to the error detection unit 234.

예를들어, C'O = CO, C'1 = C1, C'2 ≠ C2, C'3 = C'3 인 경우 에러검출부(234)에는 C'2 가 출력된다.For example, when C'O = CO, C'1 = C1, C'2? C2, and C'3 = C'3, C'2 is output to the error detector 234.

에러검출부(234)는 입력된 수신측 체크데이터 비트에만 고유하게 대응하는 전송데이터 비트를 선별하여 이를 전송에러비트로 검출한다. 예를들어, 상기의 경우 C'2 에만 고유하게 대응하는 전송데이터 비트는 M'3 이다.The error detector 234 selects the transmission data bits uniquely corresponding to the input check side check data bits and detects them as transmission error bits. For example, in this case, the transmission data bit uniquely corresponding to C'2 is M'3.

따라서, 에러검출부(234)는 M'3 를 전송에러비트로 검출하고, 이를 에러보정부(235)에 인가한다.Accordingly, the error detector 234 detects M'3 as a transmission error bit and applies it to the error correction unit 235.

에러보정부(235)는 에러검출부(234)로부터 전송에러비트가 입력되면, 데이터 분리부(231)로부터 인가되는 전송데이터중 전송에러비트에 해당하는 전송데이터 비트의 2진값을 그 보수값으로 대치하여 사용자 프로세서(250)로 전달한다. 예를들어, 상기예의 경우 에러보정부(235)는 사용자 프로세서(250)에 에러가 정정된 전송데이터(M'o, M'1, M'2, M'3, M'4, M'5, M'6, M'7)를 전달한다. 여기서, M'3는 M'3 의 보수(complement)를 나타낸다.When the transmission error bit is input from the error detection unit 234, the error correction unit 235 replaces the binary value of the transmission data bit corresponding to the transmission error bit among the transmission data applied from the data separation unit 231 to its complementary value. To the user processor 250. For example, in the above example, the error correction unit 235 transmits the data of the error corrected to the user processor 250 (M'o, M'1, M'2, M'3, M'4, M'5). , M'6, M'7). Here, M'3 represents a complement of M'3.

상기 비교부(233)에서 송신측 체크데이터와 수신측 체크데이터를 비교한 결과 서로 일치하지 않는 체크데이터가 전혀 없을 경우에는 전송에러가 발생하지 않은 것이므로 에러검출부(234)는 전송에러비트를 출력하지 않게 되고, 에러보정부(235)는 데이터 분리부(231)에서 인가되는 전송데이터를 그대로 사용자 프로세서(250)에 전달한다.If there is no check data that does not match each other as a result of comparing the check side check data and the check side check data from the comparison unit 233, the error detection unit 234 does not output a transmission error bit because no transmission error occurred. The error correction unit 235 transfers the transmission data applied from the data separation unit 231 to the user processor 250 as it is.

상기한 구성을 갖는 본 발명의 통신시스템을 이용하여 전송에러를 보정하는 방법을 도 5 및 도 7을 참조하여 설명하면 다음과 같다.A method of correcting a transmission error using the communication system of the present invention having the above-described configuration will now be described with reference to FIGS. 5 and 7.

송신측 사용자 프로세서(110)가 다음의 표 1과 같은 8비트의 전송데이터를 송신데이터 생성회로(130)의 체크데이터 생성부(131)에 인가한다.The transmitting user processor 110 applies 8-bit transmission data as shown in Table 1 to the check data generating unit 131 of the transmission data generating circuit 130.

비트beat MoMo M1M1 M2M2 M3M3 M4M4 M5M5 M6M6 M7M7 2진값Binary value 1One 00 00 1One 00 1One 00 00

8비트의 전송데이터가 인가되면, 체크데이터 생성부는 24- 1 ≥ 8을 만족하는 4비트의 체크데이터 집합[ C = {Co, C1, C2, C3}]을 구한다.(단계 S11)If 8-bit transmission data is applied, the check data generation unit obtains a 4-bit check data set [C = {Co, C1, C2, C3}] that satisfies 2 4-1 ? 8 (step S11).

상기 집합 C에 대한 15개의 부분집합중 전송데이터의 비트수에 해당하는 8개의 부분집합을 임의로 선택하여 이를 전송데이터의 각 비트에 대응시킨다.Eight subsets corresponding to the number of bits of the transmission data of the 15 subsets of the set C are arbitrarily selected and correspond to each bit of the transmission data.

예를들어, Mo ⇔ {CO}, M1 ⇔ {C1}, M2 ⇔ {C2}, M3 ⇔ {C3}, M4 ⇔ {CO,C1}, M5 ⇔ {CO, C2}, M6 ⇔ {Co, C3}, M7 ⇔ {C1, C2}와 같이 대응시킨다. (단계 S12)For example, Mo ⇔ {CO}, M1 ⇔ {C1}, M2 ⇔ {C2}, M3 ⇔ {C3}, M4 ⇔ {CO, C1}, M5 ⇔ {CO, C2}, M6 ⇔ {Co, C3 }, M7 대응 matches {C1, C2}. (Step S12)

상기 단계 S12의 대응관계로부터 동일한 체크데이터 비트에 대응하는 전송데이터 비트만을 선별하고, 이들을 익스크루시브 오어(Exclusive-OR) 연산함으로써 4비트의 제 1 체크데이터(송신측 체크데이터)를 생성한다. (단계 S13)Only the transmission data bits corresponding to the same check data bits are selected from the correspondence in step S12, and the first check data (transmission side check data) of 4 bits is generated by performing an exclusive-OR operation. (Step S13)

CO = Mo M4 M5 M6 = 0CO = Mo M4 M5 M6 = 0

C1 = M1 M4 M7 = 1C1 = M1 M4 M7 = 1

C2 = M2 M5 M7 = 1C2 = M2 M5 M7 = 1

C3 = M3 M6 = 1C3 = M3 M6 = 1

상기 단계 S13에서 구한 제 1 체크데이터 비트를 전송데이터 비트에 합성하여 얻은 12비트의 송신데이터(Mo ~ M7, Co ~ C3)를 전송매체를 통해 전송한다. (단계 S14)12 bits of transmission data (Mo to M7, Co to C3) obtained by combining the first check data bit obtained in step S13 with the transmission data bit are transmitted through the transmission medium. (Step S14)

전송매체를 통해 수신된 12비트의 수신데이터를 표 2와 같은 8비트의 전송데이터와 4비트의 제 1 체크데이터로 분할한다.(단계 S21)12 bits of received data received through the transmission medium are divided into 8 bits of transmission data and 4 bits of first check data as shown in Table 2 (Step S21).

비트beat M'oM'o M'1M'1 M'2M'2 M'3M'3 M'4M'4 M'5M'5 M'6M'6 M'7M'7 2진값Binary value 1One 00 1One 1One 00 1One 00 00

단계 S21에서 분리된 8비트의 전송데이터에 대하여 상기 단계 S11 ~ S13과 동일한 논리연산을 수행하므로써 아래와 같은 4비트의 제 2 체크데이터를 생성한다. (단계 S22)By performing the same logical operation as the above steps S11 to S13 on the 8-bit transmitted data separated in step S21, the second check data of the following four bits is generated. (Step S22)

C'O = M'o M'4 M'5 M'6 = 0C'O = M'o M'4 M'5 M'6 = 0

C'1 = M'1 M'4 M'7 = 1C'1 = M'1 M'4 M'7 = 1

C'2 = M'2 M'5 M'7 = 0C'2 = M'2 M'5 M'7 = 0

C'3 = M'3 M'6 = 1C'3 = M'3 M'6 = 1

상기 단계 S21에서 분리된 제 1 체크데이터와 단계 S22에서 생성된 제 2 체크데이터를 비교하여 서로 일치하지 않는 체크데이터 비트만을 선별한다. (단계 S23)The first check data separated in step S21 and the second check data generated in step S22 are compared to select only check data bits that do not coincide with each other. (Step S23)

C'O = CO, C'1 = C1, C'2 ≠ C2, C'3 = C'3 이므로 서로 일치하지 않는 체크데이터 비트는 C'2 ≠ C2이다.Since C'O = CO, C'1 = C1, C'2 ≠ C2, and C'3 = C'3, the check data bits that do not coincide with each other are C'2 ≠ C2.

선별된 체크데이터 비트인 C'2 에만 고유하게 대응하는 전송데이터 비트를 전송에러비트로 검출한다. (단계 S24)The transmission data bit uniquely corresponding to the selected check data bit C'2 is detected as the transmission error bit. (Step S24)

상기에서 C'2 에만 고유하게 대응하는 전송데이터 비트는 M'2고, 따라서 전송에러비트는 M'2 = 1이다.In the above, the transmission data bit uniquely corresponding to C'2 is M'2, and thus the transmission error bit is M'2 = 1.

상기 단계 S24에서 검출한 전송에러비트의 2진값에 대한 보수를 취함으로써 에러를 정정한다. 즉, M'2 = 1의 보수인 M'2 = 0을 취함으로써 전송에러를 보정한다. (단계 S25)The error is corrected by taking the complement of the binary value of the transmission error bit detected in step S24. That is, the transmission error is corrected by taking M'2 = 0, which is a complement of M'2 = 1. (Step S25)

첨부도면에 도시한 회로구성 등은 예시이고, 동일기능을 실현할 수 있으면 다른 구성을 채용해도 된다. 또한 동작흐름도 임의로 변경가능하다.The circuit configuration shown in the accompanying drawings is an example, and other configurations may be adopted as long as the same function can be realized. The operation flow can also be arbitrarily changed.

또한, 상술한 실시예에 본 발명이 한정되는 것은 아니며 본 발명이 속하는 기술분야에서 통상의 지식을 갖는자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위내에서 다양한 수정 및 변형이 가능함은 물론이다.In addition, the present invention is not limited to the above-described embodiment, and various modifications within the equivalent scope of the technical spirit of the present invention and the claims to be described below by those skilled in the art to which the present invention pertains. Of course, variations are possible.

이상에서 설명한 바와 같이 본 발명의 통신시스템은 통신에러가 발생한 경우 에러가 발생한 통신데이터를 재전송하지 않고, 자기보정을 통해 에러를 보정함으로써 데이터 통신의 정확성과 신뢰성을 확보할 수 있다.As described above, the communication system of the present invention can secure the accuracy and reliability of the data communication by correcting the error through self-calibration without retransmitting the communication data when an error occurs.

Claims (6)

(1) 사용자 프로세서로부터 입력되는 N비트의 전송데이터(m0, m1, m2, ㆍㆍㆍㆍmN)에 대하여 2n- 1 ≥ N을 만족하는 n비트의 체크데이터 집합({c0, c1,ㆍㆍㆍㆍcn})을 생성하고, 이 n비트의 체크데이터 집합의 진부분집합{{c0}, {c1}ㆍㆍㆍㆍ{cn}, {c0, c1}, ㆍㆍㆍㆍ{cn-1, cn}ㆍㆍㆍㆍ}을 전송데이터의 각 비트에 대하여 각기 대응시키고, 동일한 체크데이터 비트에 대응하는 전송데이터 비트만을 선별하여 논리연산함으로써 제 1 체크데이터를 생성하여 이를 전송데이터와 함께 송신하는 데이터 송신회로와;(1) n -bit check data set satisfying 2 n -1 ≥ N with respect to N bits of transmission data (m 0 , m 1 , m 2 ,... M N ) input from the user processor ({c 0, c 1, and and and and c n}) to generate, and the n set of binary portion of the check data set of bits {{c 0}, {c 1} and and and and {c n}, {c 0 , c 1 },..., c n-1 , c n } ···} for each bit of the transmission data, and logically select only the transmission data bits corresponding to the same check data bit. A data transmission circuit for generating first check data and transmitting the first check data together with the transmission data; (2) 상기 데이터 송신회로로부터 전송된 송신데이터중 N비트의 전송데이터(m0, m1, m2, ㆍㆍㆍㆍmN)에 대하여 상기 제 1 체크데이터와 동일한 논리연산을 수행함으로써 제 2 체크데이터(c'0, c'1,ㆍㆍㆍㆍc'n)을 생성하고, 이를 상기 제 1 체크데이터와 비교함으로써 서로 일치하지 않는 체크데이터 비트만을 선별하고, 이 선별된 체크데이터 비트에만 고유하게 대응하는 전송데이터 비트를 전송에러비트로 검출하며, 이 전송에러비트의 2진값에 대한 보수를 취함으로써 에러를 정정하는 데이터 수신회로를 포함하는 것을 특징으로 하는 전송에러의 검출 및 정정이 가능한 데이터 통신시스템.(2) performing the same logical operation as the first check data on N bits of transmission data (m 0 , m 1 , m 2 ,... M N ) of the transmission data transmitted from the data transmission circuit. 2 generate check data c ' 0 , c' 1 ,... C ' n , and compare them with the first check data to select only check data bits that do not coincide with each other, And a data receiving circuit which detects a transmission data bit uniquely corresponding to the transmission error bit, and corrects an error by taking a complement of the binary value of the transmission error bit. Data communication system. 제 1 항에 있어서,The method of claim 1, 상기 데이터 송신회로가The data transmission circuit (a) 상기 제 1 체크데이터를 생성하기 위한 체크데이터 생성부와;(a) a check data generation unit for generating the first check data; (b) 상기 N비트의 전송데이터에 n비트의 제 1 체크데이터를 부가함으로써 송신데이터를 합성하는 데이터 합성부와;(b) a data synthesizing unit for synthesizing transmission data by adding n bits of first check data to the N bits of transmission data; (c) 상기 송신데이터를 전송매체를 통해 데이터 수신회로에 전송하는 송신기를 포함하는 것을 특징으로 하는 전송에러의 검출 및 정정이 가능한 데이터 통신시스템.(c) a data communication system capable of detecting and correcting a transmission error, comprising a transmitter for transmitting the transmission data to a data receiving circuit through a transmission medium. 제 1 항에 있어서,The method of claim 1, 상기 데이터 수신회로가The data receiving circuit (a) 상기 데이터 송신회로로부터 전송되는 송신데이터를 수신하기 위한 수신기와;(a) a receiver for receiving transmission data transmitted from said data transmission circuit; (b) 상기 수신기로 부터의 수신데이터를 N비트의 전송데이터와 n비트의 제 1 체크데이터로 분리하기 위한 데이터 분리부와;(b) a data separator for separating the received data from the receiver into N-bit transmission data and n-bit first check data; (c) 상기 N비트의 전송데이터로부터 제 2 체크데이터를 생성하는 수신측 체크데이터 생성부와;(c) a reception side check data generation unit for generating second check data from the N-bit transmission data; (d) 상기 제 1 체크데이터와 제 2 체크데이터를 비교하기 위한 비교부와;a comparison unit for comparing the first check data with the second check data; (e) 상기 비교부의 결과로부터 전송에러비트를 검출하기 위한 에러검출부와;(e) an error detection unit for detecting a transmission error bit from the result of the comparison unit; (f) 상기 전송에러비트의 2진값을 그 보수로 대체함으로써 전송에러를 정정하기 위한 에러보정부를 포함하는 것을 특징하는 전송에러의 검출 및 정정이 가능한 데이터 통신시스템.and (f) error correction for correcting the transmission error by replacing the binary value of the transmission error bit with its complement. 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 제 1 체크데이터와 제 2 체크데이터를 생성하기 위한 논리연산이 익스크루시브 오어(Exclusive-OR)연산인 것을 특징으로 하는 전송에러의 검출과 정정이 가능한 데이터 통신시스템.And a logical operation for generating the first check data and the second check data is an exclusive-OR operation. (a) N비트의 전송데이터로부터 2n- 1 ≥ N을 만족하는 n비트의 체크데이터 집합({c0, c1,ㆍㆍㆍㆍcn})을 생성하고, 이 n비트의 체크데이터 집합의 공집합을 제외한 진부분집합{{c0}, {c1}ㆍㆍㆍㆍ{cn}, {c0, c1}, ㆍㆍㆍㆍ{cn-1, cn}ㆍㆍㆍㆍ}을 전송데이터의 각 비트에 대하여 각기 대응시키고, 동일한 체크데이터 비트에 대응하는 전송데이터 비트만을 선별하여 익스크루시브 오어(Exclusive-OR)연산을 수행함으로써 제 1 체크데이터를 생성하는 단계와;(a) n-bit check data sets ({c 0 , c 1 , ... c n }) satisfying 2 n -1 ≥ N are generated from the N-bit transmission data, and the n-bit check data is generated. set of binary excluding empty part of the set {{c 0}, {c 1} and and and and {c n}, {c 0 , c 1}, and and and and and {c n-1, c n } and Generating first check data by corresponding to each bit of transmission data, selecting only transmission data bits corresponding to the same check data bits, and performing an exclusive-OR operation; ; (b) 상기 n비트의 제 1 체크데이터를 전송데이터에 부가하여 전송매체를 통해 송신하는 단계와;(b) adding the n-bit first check data to the transmission data and transmitting the same through the transmission medium; (c) 수신된 N비트의 전송데이터로부터 상기 단계 (a)와 동일한 과정을 거쳐 n비트의 제 2 체크데이터를 생성하는 단계와;(c) generating n-bit second check data from the received N-bit transmission data through the same process as in step (a) above; (d) 수신된 n비트의 제 1 체크데이터와 상기 제 2 체크데이터를 비교하여 서로 일치하지 않는 체크데이터 비트(cn≠ c'n)를 선별하고, 이 체크데이터 비트에만 고유하게 대응하는 전송데이터 비트를 전송에러비트로 검출하는 전송에러검출단계와;(d) comparing the first check data of the received n bits with the second check data, and selecting the check data bits (c n ≠ c ' n ) that do not coincide with each other and transmitting uniquely corresponding only to the check data bits. A transmission error detection step of detecting data bits as transmission error bits; (e) 상기 전송에러검출단계에서 검출된 전송에러비트의 2진값을 그 보수로 대치함으로써 전송에러를 보정하는 전송에러보정단계를 포함하는 것을 특징으로 하는 전송에러의 검출 및 정정방법.and (e) a transmission error correction step of correcting the transmission error by replacing the binary value of the transmission error bit detected in the transmission error detection step with its complement. 제 5 항에 있어서, 상기 제 2 체크데이터 생성단계가The method of claim 5, wherein the second check data generating step (f) 전송매체를 통해 N+n비트의 송신데이터(전송데이터 + 제 1 체크데이터)를 수신하는 데이터 수신단계와;(f) a data receiving step of receiving N + n bits of transmission data (transmission data + first check data) through a transmission medium; (g) 수신된 N+n비트의 송신데이터를 N비트의 전송데이터와 n비트의 제 1 체크데이터로 분리하는 데이터 분리단계와;(g) a data separation step of separating the received N + n-bit transmission data into N-bit transmission data and n-bit first check data; (h) 분리된 N비트의 전송데이터로부터 제 2 체크데이터를 생성하는 체크데이터 생성단계를 포함하는 것을 특징으로 하는 전송에러의 검출 및 정정방법.(h) a check data generation step of generating second check data from the separated N-bit transmission data.
KR1019980060459A 1998-12-29 1998-12-29 Data communication system and error correction method that can detect and correct transmission error KR100579088B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980060459A KR100579088B1 (en) 1998-12-29 1998-12-29 Data communication system and error correction method that can detect and correct transmission error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980060459A KR100579088B1 (en) 1998-12-29 1998-12-29 Data communication system and error correction method that can detect and correct transmission error

Publications (2)

Publication Number Publication Date
KR20000044016A true KR20000044016A (en) 2000-07-15
KR100579088B1 KR100579088B1 (en) 2006-11-30

Family

ID=19567272

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980060459A KR100579088B1 (en) 1998-12-29 1998-12-29 Data communication system and error correction method that can detect and correct transmission error

Country Status (1)

Country Link
KR (1) KR100579088B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210075721A (en) 2019-12-13 2021-06-23 주식회사 원포인트 Wireless communication system and the error correction method using Radio Frenquncy module

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS574629A (en) * 1980-05-21 1982-01-11 Sony Corp Data transmitting method capable of correction of error
JPH04252532A (en) * 1991-01-28 1992-09-08 Nec Corp Error check bit transfer system
JP3269577B2 (en) * 1991-10-02 2002-03-25 モトローラ・インコーポレイテッド Bit error rate detection method
DE69217931T2 (en) * 1992-07-14 1997-09-25 Alcatel Bell Nv Error detection and correction device
KR19980079478A (en) * 1997-03-20 1998-11-25 포맨 제프리 엘 Method and apparatus for detecting data transmission error

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210075721A (en) 2019-12-13 2021-06-23 주식회사 원포인트 Wireless communication system and the error correction method using Radio Frenquncy module

Also Published As

Publication number Publication date
KR100579088B1 (en) 2006-11-30

Similar Documents

Publication Publication Date Title
US9094181B2 (en) Communication system, data transmitter, and data receiver capable of detecting incorrect receipt of data
US6263087B1 (en) Method of encoding bits in a signal
US4809273A (en) Device for verifying operation of a checking code generator
US10372527B2 (en) Method of encoding data
JP6318713B2 (en) Error detection apparatus, error detection method, and error detection program
US20070168835A1 (en) Serial communications system and method
US20030165201A1 (en) Deserializer
US20070127458A1 (en) Data communication method for detecting slipped bit errors in received data packets
US5938773A (en) Sideband signaling with parity bit schemes
US5878061A (en) Providing serial data clock signal transitions with parity bits
US7734977B2 (en) Method and system for error correction over serial link
US6915471B2 (en) Encoder and method for encoding data
JPH10164031A (en) Radio packet communication equipment
KR20000044016A (en) Data communication system for detecting and correcting transmit error
US4521886A (en) Quasi-soft decision decoder for convolutional self-orthogonal codes
US5544179A (en) Mis-synchronization detection system using a combined error correcting and cycle identifier code
US20120144257A1 (en) Receiving apparatus, data transfer apparatus, data receiving method and non-transitory computer readable recording medium
CN1319355C (en) Inner noise immunizing data communication scheme
US6687318B1 (en) Method and communication system for synchronizing two devices with a predeterminable data transmission method
US20090150727A1 (en) Data transmission method
JPH03297236A (en) Data transmission system
CN113055259B (en) Function safety protection method based on AXI bus protocol
JPH0689195A (en) Data sink
KR20020033227A (en) Circuit for parallel cyclic redundancy check in data communication
JPH066335A (en) Pseudo synchronization prevention method for high efficiency voice transmission

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130408

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140407

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20170330

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20180409

Year of fee payment: 13

EXPY Expiration of term