KR19980021943A - Data communication format and its control method for wireless remote control - Google Patents

Data communication format and its control method for wireless remote control Download PDF

Info

Publication number
KR19980021943A
KR19980021943A KR1019960040963A KR19960040963A KR19980021943A KR 19980021943 A KR19980021943 A KR 19980021943A KR 1019960040963 A KR1019960040963 A KR 1019960040963A KR 19960040963 A KR19960040963 A KR 19960040963A KR 19980021943 A KR19980021943 A KR 19980021943A
Authority
KR
South Korea
Prior art keywords
data
format
unit
bit
error
Prior art date
Application number
KR1019960040963A
Other languages
Korean (ko)
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 KR1019960040963A priority Critical patent/KR19980021943A/en
Publication of KR19980021943A publication Critical patent/KR19980021943A/en

Links

Abstract

본 발명은 무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법에 관한 것으로, 동기를 맞추기 위한 동기비트부와, 자신의 데이터를 판별하기 위한 식별코드부와, 에러 유무를 검출하기 위해 패리티(PARITY)와 체크 섬(CHECK SUM) 비트로 구성된 에러 검출부를 포함하는 데이터 통신 포맷을 제공하고, 수신된 신호를 상기 데이터 포맷과 비교하여 동기를 맞추는 과정, 수신된 데이터가 자신의 데이터인가를 구별하기 위한 과정, 데이터의 에러 유무를 판단하는 과정으로 이루어진 데이터 포맷을 제어하는 방법을 제공함으로써, 통신의 신뢰성을 향상시켜 시스템의 안전성을 확보할 수 있고, 장비의 오동작으로 인한 사고를 미연에 방지할 수 있다.The present invention relates to a data communication format for wireless remote control and a method of controlling the same. The present invention relates to a synchronization bit unit for synchronizing, an identification code unit for discriminating its own data, and a parity for detecting an error. Providing a data communication format including an error detection unit including a checksum bit and a CHECK SUM bit, comparing the received signal with the data format, synchronizing the received signal, distinguishing whether the received data is own data, By providing a method of controlling the data format consisting of the process of determining the presence or absence of data errors, it is possible to improve the reliability of the communication to ensure the safety of the system, and to prevent accidents due to equipment malfunctions.

Description

무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법Data communication format and its control method for wireless remote control

본 발명은 무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법에 관한 것으로, 보다 상세하게는 무선원격 제어를 위한 비동기 직렬 통신에서 자신의 데이터를 정확하게 판별하고 효과적으로 동기를 맞추고 에러 유무를 검출하기 위한 데이터 포맷과 그 제어방법을 제시함으로써 통신의 신뢰성을 향상시키고 시스템의 안전성을 확보할 수 있도록 하는 무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법에 관한 것이다.The present invention relates to a data communication format for wireless remote control and a control method thereof. More particularly, the present invention relates to data for accurately identifying, effectively synchronizing, and detecting the presence of an error in asynchronous serial communication for wireless remote control. The present invention relates to a data communication format and a method of controlling the same for a wireless remote control that can improve communication reliability and secure a system by providing a format and a control method thereof.

일반적으로, 데이터 통신은 데이터를 전파의 형태로 공간에 발사하는 송신부와 수신된 전파를 분석해서 그 중 자신의 데이터를 찾아내어 장비를 움직이거나 제어하는 일을 행하도록 하는 수신부로 나뉘어진다.In general, data communication is divided into a transmitter for launching data into a space in the form of radio waves and a receiver for analyzing received radio waves to find their own data to move or control the equipment.

송수신부가 원활한 데이터 통신을 행하기 위해서는, 송신부에서 임의의 순간에 전송한 데이터에 대해 수신부에서는 데이터를 받아 동기를 맞추어야 하고, 공간에 떠 다니는 수많은 전파 중에서 필요한 데이터를 찾아내기 위해 동기된 데이터의 내용이 자신의 데이터인가를 구분할 수 있어야 한다.In order for the transceiver to perform smooth data communication, the receiver must receive and synchronize the data transmitted at any moment by the transmitter, and the contents of the data synchronized to find the necessary data among the numerous radio waves floating in the space are provided. You should be able to identify your data.

종래에는 데이터 통신을 행할 때, 비동기 직렬 통신의 동기를 맞추기 위해 첫 번째 데이터를 송신할 때 일정한 패턴의 동기신호를 송신한 후 식별코드와 실제 데이터를 송신했다. 그러나 상기와 같은 방법은 실제 데이터에 에러가 발생하면 시스템 오동작을 일으키는 원인이 되었다.Conventionally, when performing data communication, in order to synchronize the asynchronous serial communication, when transmitting the first data, an identification code and actual data are transmitted after transmitting a synchronization signal of a certain pattern. However, the above method causes a system malfunction when an error occurs in the actual data.

에러가 발생한 데이터는 통상 버리고 다음 프레임의 데이터를 다시 받아서 동작하지만, 앞에서와 같은 방식으로 통신을 할 경우, 실제로는 에러가 발생하더라도 에러를 구분해내지 못하는 경우가 발생한다.Normally, the data that caused an error is discarded and the data of the next frame is received again. However, when the communication is performed in the same manner as above, the error cannot be distinguished even if an error occurs.

예를 들면 통신 중의 노이즈로 인해 1바이트의 신호 내에서 동시에 2비트, 4비트, 6비트 등의 짝수개의 신호가 바뀌게 되면 마치 에러가 발생하지 않은 것처럼 된다.For example, if an even number of signals, such as 2 bits, 4 bits, and 6 bits, are simultaneously changed within a single byte signal due to noise during communication, it is as if no error has occurred.

상기와 같은 문제점을 해결하기 위해 여러 가지 방법이 제시되었고, 비교적 안전하게 작업되고 있지만, 여전히 외부의 노이즈나 다른 기종의 장비에 의해 자신의 시스템이 방해를 받게 되면 시스템의 다운이나 오동작을 일으키는 경우가 종종 발생한다. 이렇게 건설 장비에 오동작이 발생하게 되면 막대한 재산피해 뿐만 아니라 인명피해와 직결되는 문제점이 있었다.In order to solve the above problems, various methods have been proposed and work relatively safely. However, if the system is interrupted by external noise or other equipments, it often causes system down or malfunction. Occurs. When malfunctions occur in the construction equipment, there is a problem that is directly connected to the damage to life as well as enormous property damage.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은, 원하지 않는 외부의 노이즈를 사전에 검색해서 불필요한 신호는 받지않는 통신시스템의 구성에 필수적인 데이터 포맷과 그 제어방법을 제공하여 높은 신뢰도를 가지고 통신을 행함으로써 장비의 오동작으로 인한 사고를 미연에 방지하고 고객에게 신뢰감을 줄 수 있는 무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법을 제공함에 있다.Accordingly, an object of the present invention is to solve the above problems, and an object of the present invention is to provide a data format and a control method which are essential for the construction of a communication system which does not receive unnecessary signals by searching for unwanted external noise in advance. The present invention provides a data communication format and a control method for wireless remote control that can prevent accidents due to malfunction of equipment by giving a high reliability to communicate with each other and give a confidence to customers.

도 1 은 본 발명이 적용되는 데이터 통신의 블럭도1 is a block diagram of data communication to which the present invention is applied;

도 2 는 본 발명이 적용되는 데이터 통신의 송신부 동작을 나타내는 플로우챠트2 is a flowchart showing operation of a transmitter of data communication to which the present invention is applied.

도 3 은 본 발명이 적용되는 데이터 통신의 수신부 동작을 나타내는 플로우챠트3 is a flowchart showing operation of a receiver of data communication to which the present invention is applied.

도 4 는 본 발명에 의한 데이터 포맷 구성도이다.4 is a configuration diagram of a data format according to the present invention.

* 도면의 주요부분에 사용된 부호의 설명* Explanation of symbols used in the main part of the drawing

10, 15 : 마이크로컴퓨터10, 15: microcomputer

11, 14 : 모뎀11, 14: modem

12, 13 : 무선 주파수 장치12, 13: radio frequency device

100 : 송신부100: transmitter

200 : 수신부200: receiver

40 : 동기비트부40: Sync bit section

45 : 현재채널45: current channel

50 : 식별코드부50: identification code

55 : 모드55: mode

60 : 상태정보부60: status information

61 : E/S (Emergency Stop ; 비상 멈춤)61: E / S (Emergency Stop)

62 : P/F (Power Failure ; 전원 장애)62: P / F (Power Failure)

63 : SLP (Sleep ; 슬립)63: SLP (Sleep; Sleep)

70 : 입력 데이터부70: input data section

80 : 에러 검출부80: error detection unit

81 : 수평 패리티(PARITY) 비트81: horizontal parity bit

82:체크섬(CHECKSUM)비트82: CHECKSUM bit

전술한 바와 같은 목적을 달성하기 위한 본 발명의 특징은, 무선원격 제어를 위한 데이터 통신 포맷에 있어서, 송신부와 수신부 간에 동기를 맞추고, 수신부에서 자신의 데이터를 구분해내고, 에러 유무를 정확하게 검출할 수 있는 데이터 포맷과 그 제어방법을 제공함에 있다.A feature of the present invention for achieving the object as described above, in the data communication format for wireless remote control, is to synchronize between the transmitter and the receiver, to separate their data at the receiver, and to accurately detect the presence or absence of errors. The present invention provides a data format and a method of controlling the same.

이하, 본 발명에 따른 무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법에 대해 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a data communication format and a control method for a wireless remote control according to the present invention will be described in detail with reference to the accompanying drawings.

도 1에 도시된 본 발명이 적용되는 데이터 통신의 블럭도를 참조하면, 송신부(100)는 마이크로컴퓨터(10)로부터 출력된 디지탈 데이터를 모뎀(11)을 통해 데이터 통신을 하기 위한 아날로그 데이터로 변조하고, 상기 모뎀(11)에서 변조된 데이터를 무선 주파수 장치(12)를 거쳐 전파의 형태로 계속 자유공간으로 발사한다. 수신부(200)는 상기 송신부(100)로부터 연속적으로 발사된 전파를 무선 주파수 장치(13)를 통해 받아들이고, 이를 원래의 디지탈 데이터의 형태로 모뎀(14)을 이용하여 복조한다. 상기 모뎀(14)을 통하여 복조된 데이터는 마이크로컴퓨터(15)에서 분석하게 된다.Referring to a block diagram of data communication to which the present invention shown in FIG. 1 is applied, the transmitter 100 modulates digital data output from the microcomputer 10 into analog data for data communication through the modem 11. Then, the data modulated by the modem 11 is continuously launched into the free space in the form of radio waves through the radio frequency device 12. The receiver 200 receives radio waves continuously emitted from the transmitter 100 through the radio frequency device 13 and demodulates them using the modem 14 in the form of original digital data. The demodulated data through the modem 14 is analyzed by the microcomputer 15.

도 2와 도 3은 각각 송신부와 수신부의 동작에 대한 플로우챠트로서, 본 발명이 적용되는 데이터 통신의 송수신기 시스템의 동작 순서를 나타내고 있다.2 and 3 are flowcharts of operations of a transmitter and a receiver, respectively, and show an operation procedure of a transceiver system of data communication to which the present invention is applied.

도 2를 참조하여 송신부(100)의 동작을 먼저 살펴보면, 마이크로컴퓨터(10)는 시스템을 초기화시키고(S1), 마이크로컴퓨터(10) 내의 램과 롬의 상태 등 시스템을 체크한다(S2). 그리고, 시스템의 정상 전원 여부를 판단하여(S3) 정상 전원이 아니라고 판단되면, 소정 시간이 경과하였는가를 체크하고(S4) 소정 시간이 경과하지 않았으면 계속해서 전술한 단계(S3)로 귀환하여 정상 전원 여부를 판단한다. 만일, 정상 전원이라면 소정 시간을 체크하기 위해 설치된 타이머를 정지시키고(S5), 사용하고자 하는 주파수 대에 빈 채널이 있는가를 검색하기 위해 송신기의 상태를 수신모드로 전환하고, 채널을 검색한다(S6). 이때, 해당 채널의 전파의 세기를 체크하여 채널이 사용중인지를 판단하고(S7), 이 단계(S7)에서 채널이 사용중이라고 판단되면 다른 채널로 전환하고(S8) 전술한 단계(S7)로 다시 귀환하여 그 채널이 사용중인지 반복해서 판단하게 된다. 그리고, 채널이 사용중이 아니면, 데이터를 송신하기 위해 송신기의 상태를 송신모드로 전환한다(S9).Referring to FIG. 2, the operation of the transmitter 100 will be described first, and the microcomputer 10 initializes the system (S1), and checks the system such as the states of RAM and ROM in the microcomputer 10 (S2). If it is determined that the system is in a normal power supply (S3), and it is determined that the system is not in normal power supply, it is checked whether a predetermined time has elapsed (S4). If the predetermined time has not elapsed, the control unit returns to the above-described step (S3) and returns to normal. Determine whether the power is on. If the normal power supply, stop the timer installed to check the predetermined time (S5), switch the state of the transmitter to the reception mode to search whether there is an empty channel in the frequency band to be used, and search the channel (S6) . At this time, it is determined whether the channel is in use by checking the intensity of propagation of the corresponding channel (S7). If it is determined that the channel is in use in this step (S7), it switches to another channel (S8) and returns to the above-described step (S7). The feedback is then repeated to determine if the channel is in use. If the channel is not in use, the state of the transmitter is switched to the transmission mode in order to transmit data (S9).

이후, 조작 패널로부터 입력 신호를 받아 데이터 포맷에 맞게 포맷화 되었는지 조작신호를 검사하여(S10) 정상 여부를 판단하고(S11), 정상이 아니면 정상일 때까지 이전 단계(S10) 이후의 과정을 반복 수행한다. 이때, 조작신호를 검사하여 정상이면 데이터를 송신하고(S12), 단계(S10) 이후의 과정을 반복하여 수행한다.Subsequently, the controller receives an input signal from the operation panel and examines the operation signal to determine whether it is formatted according to the data format (S10), and determines whether it is normal (S11), and if not normal, repeats the process after the previous step (S10). do. At this time, if the normal operation signal is checked and the data is transmitted (S12), the process after step S10 is repeatedly performed.

도 3을 참조하여 수신부(200)의 동작을 살펴보면, 상기 송신부(100)의 동작에서와 마찬가지로 마이크로컴퓨터(15)는 시스템을 초기화(S20)시키고, 마이크로컴퓨터(15) 내의 램과 롬의 상태 등 시스템을 체크한다(S21). 그리고, 시스템의 정상 전원 여부를 판단하여(S22) 정상 전원이 아니라고 판단되면 단계(S20)로 귀환하여 시스템을 다시 초기화시키고, 정상 전원이면 정상 상태를 표시하고(S23), 채널을 고정시킨다(S24). 이후, 고정된 채널이 사용중인가를 판단하여(S25), 사용중이 아니라면 채널을 전환한 후(S26) 전술한 단계(S24)로 귀환하여 다시 채널을 고정시키고 채널의 사용 여부를 판단하는(S25) 과정을 반복하여 수행한다. 만약, 전술한 단계(S25)에서 채널이 사용중이라고 판단되면, 그 채널의 데이터를 분석한다(S27). 이후, 분석된 데이터의 에러 유무를 판단하여(S28) 에러가 있으면 에러가 있는 데이터를 버리고 다시 전술한 단계(S27)로 귀환하여 데이터를 분석하는 과정을 수행하게 되고, 에러가 없으면 데이터를 출력하기 위해 출력을 제어한다(S29). 그리고 해당 채널의 모든 데이터를 수신할 때까지 전술한 단계(S27)로 귀환하여 단계(S29)까지의 데이터 분석 과정을 반복하여 수행한다.Referring to FIG. 3, the operation of the reception unit 200 will be described. As in the operation of the transmission unit 100, the microcomputer 15 initializes the system (S20), and states of RAM and ROM in the microcomputer 15. Check the system (S21). If it is determined that the system is in a normal power supply (S22), and it is determined that the system is not in the normal power supply, the system returns to step S20 to reinitialize the system, and displays a normal state in the normal power supply (S23) and fixes the channel (S24). ). Subsequently, it is determined whether the fixed channel is in use (S25), and if it is not in use, the channel is switched (S26), and then the flow returns to the aforementioned step (S24) to fix the channel again and determine whether the channel is used (S25). Repeat the process. If it is determined in step S25 that the channel is in use, data of the channel is analyzed (S27). Subsequently, if there is an error in the analyzed data, it is determined whether there is an error (S28), and if there is an error, the data is discarded and returned to the above-mentioned step (S27) to perform a process of analyzing the data. Control the output (S29). Then, the method returns to step S27 described above until all data of the corresponding channel is received, and repeats the data analysis process up to step S29.

도 4에는 상기 송신부(100)와 상기 수신부(200)가 보다 높은 정확도를 갖고 단계(S27)과 단계(S28)의 데이터 분석 과정을 수행하도록 하기 위한 본 발명에 의한 데이터 포맷이 도시되어 있다.4 shows a data format according to the present invention for allowing the transmitter 100 and the receiver 200 to perform a data analysis process of steps S27 and S28 with higher accuracy.

상기 데이터 포맷은 송수신부 간에 동기를 맞추기 위한 동기비트부(40)와, 데이터를 주고받기 위한 채널에 대한 정보를 갖고있는 현재채널(45)과, 자신의 데이터를 식별하기 위한 식별코드부(50)와, 송수신부 간의 특수 목적을 위해 사용되는 모드(55)와, 송신기의 상태에 대한 정보를 갖고있는 상태정보부(60)와, 실제 데이터로 구성된 입력 데이터부(70)와, 에러 유무를 검출하기 위한 에러 검출부(80)로 크게 나눌 수 있다.The data format includes a synchronization bit unit 40 for synchronizing between a transmission and reception unit, a current channel 45 having information on a channel for exchanging data, and an identification code unit 50 for identifying its own data. ), A mode 55 used for a special purpose between the transmitter and receiver, a state information unit 60 having information about the state of the transmitter, an input data unit 70 composed of actual data, and the presence or absence of an error. It can be divided into the error detection unit 80 to be large.

상기 식별코드부(50)는 자신의 데이터를 정확하게 구분할 수 있도록 송수신기 간에 미리 약속된 값을 갖고 있고, 상기 모드(55)는 송수신부 간의 약속에 의해 특수한 목적을 위해 사용되는 데, 송신부(100)에서 송신하는 상기 데이터 포맷의 상기 모드(55)에 따라 수신부(200)의 마이크로컴퓨터(15)는 각각 다른 프로그램 루틴을 수행한다.The identification code unit 50 has a value promised in advance between the transceiver so as to correctly distinguish its own data, the mode 55 is used for a special purpose by the appointment between the transceiver, the transmitter 100 The microcomputer 15 of the receiver 200 performs different program routines according to the mode 55 of the data format to be transmitted by.

예를 들면, 상기 모드(55)를 송수신기 상의 에러를 체크하기 위한 테스트 모드로 셋팅하였다면, 수신부(200)에서는 에러가 검출되었을 때 에러 종류에 따라 에러 내용을 디스플레이 함으로써 에러의 원인을 찾을 수 있도록 하고, 상기 모드(55)가 정상동작 모드라면 에러가 검출된 데이터를 버리고 다시 데이터를 받아들이는 것과 같은 동작을 수행하게 된다.For example, if the mode 55 is set to a test mode for checking an error on a transceiver, the receiver 200 displays an error content according to the type of error when an error is detected so that the cause of the error can be found. If the mode 55 is a normal operation mode, an operation such as discarding data in which an error is detected and accepting data again is performed.

또한, 상기 상태정보부(60)는 송신부의 상태를 수신부에서 알 수 있도록 하는 E/S(61), P/F(62), SLP(63)로 구성되어 있는 데, 상기 E/S(61)와 P/F(62), SLP(63)는 각각 2비트로 구성되어 있고, 정상 상태에서는 모두 '0'으로 셋팅되어 있다. 그러나 비상 멈춤이 발생했을 때에는 E/S(61)가 '1', '1'로 셋팅되고, 전원장애가 있을 때는 P/F(62)가 '1', '1'로 셋팅되며, 송신기에서 소정 시간 동안 아무런 동작도 이루어지지 않으면 SLP(63)가 '1', '1'로 셋팅된다. 상기와 같은 각각의 상태정보를 이용해 수신부(200)는 송신부(100)의 상태를 알 수 있게 된다.In addition, the state information unit 60 is composed of the E / S 61, P / F 62, SLP (63) for the receiver to know the status of the transmitter, the E / S (61) And P / F 62 and SLP 63 are each composed of 2 bits, and are set to '0' in the normal state. However, when an emergency stop occurs, the E / S 61 is set to '1' and '1', and when there is a power failure, the P / F 62 is set to '1' and '1'. If no operation is performed during the time, the SLP 63 is set to '1' and '1'. The receiver 200 can know the state of the transmitter 100 using the above state information.

또한, 상기 입력 데이터부(70)는 실제 장비의 조작에 따른 입력 데이터의 내용으로 구성되어 있고, 상기 에러 검출부(80)는 비트열의 홀짝을 체크하기 위한 패리티 비트(81)와 특정 패턴에 따라 비트열의 합을 체크하는 체크 섬 비트(82)로 구성되어 있다.In addition, the input data unit 70 is composed of the contents of the input data according to the operation of the actual equipment, the error detection unit 80 is a parity bit 81 for checking the odds of the bit string and bits according to a specific pattern The check sum bit 82 checks the sum of the columns.

데이터 통신을 행할 때 수신기는 수신된 데이터의 내용을 버퍼에 저장함과 동시에 이 데이터가 자신의 데이터인가를 구별하는 데이터 분석 과정을 행한다.When performing data communication, the receiver stores the contents of the received data in a buffer and performs a data analysis process for distinguishing whether the data is its own data.

이는 도 4의 두 번째, 세 번째 데이터 포맷(STX[1], STX[2])에 있는 식별코드부(50)를 이용한다.This uses the identification code section 50 in the second and third data formats STX [1], STX [2] of FIG.

첫 번째 데이터 포맷(STX[0])은 '0','0','1','0'이라는 최초 동기비트와 현재 채널(45)로 구성되어 있는 데, 데이터를 수신하면 수신기는 수신된 신호와 자신의 데이터 포맷의 최초 동기비트(STX[0]의 동기비트)를 비교하고 일치하면 바로 다음에 수신되는 신호를 두 번째 데이터로 가정하고 두 번째 데이터 포맷(STX[1])의 동기비트와 비교한다. 역시 일치하면 세 번째 데이터 포맷(STX[2])과 다음 수신된 신호를 비교하는 방법으로 동기를 맞추게 된다.The first data format (STX [0]) consists of the first sync bit of '0', '0', '1', '0' and the current channel 45. Compare and match the signal with the first sync bit (STX [0] of the data format) of your own data format, and assume the next received signal as the second data, and the sync bit of the second data format (STX [1]). Compare with If they also match, synchronization is achieved by comparing the third data format (STX [2]) with the next received signal.

이렇게 해서 세 번째 데이터 포맷까지 모두 일치하면 자신의 데이터로 판단하고 이어지는 데이터를 계속해서 받아들인다.In this way, if all three data formats match, the data is judged as one's own data, and subsequent data are continuously accepted.

물론 송수신기 간에는 미리 정해진 데이터 포맷과 데이터의 양을 서로 알고 있으므로 주기적인 동기를 얻을 수 있다.Of course, since the transceiver knows each other the predetermined data format and the amount of data, periodic synchronization can be obtained.

이렇게 한 프레임의 데이터를 모두 받으면 다음 프레임의 첫 번째 데이터가 이어지게 되므로 다시 처음 동기를 잡는 방식과 동일하게 신호를 분석하게 된다.When all data of one frame is received, the first data of the next frame is continued, so the signal is analyzed in the same way as the first synchronization.

그리고, 상기 데이터 포맷은 에러를 검출하기 위해 수평 패리티 비트(81)와 함께 체크 섬 비트(82)를 가지고 있어 1비트의 오류 뿐만 아니라, 여러 비트의 오류가 동시에 발생해도 에러를 찾아낼 수 있다.In addition, the data format includes a checksum bit 82 together with a horizontal parity bit 81 to detect an error, so that an error can be detected even when an error of not only one bit but also multiple bits occur at the same time.

이와 같이 전체 데이터의 초기의 3바이트(STX[0]~STX[2])와 마지막 3바이트(STX[9]~STX[11])를 이용해서 자신의 데이터인가를 판별하고, 동기를 맞추고 에러 발생 유무를 판단해, 에러가 발생하면 데이터를 무시하고 동시에 에러메세지를 표시하게 되며 에러가 발생하지 않았다고 판단되면 이 데이터를 근거로 해서 장비를 움직이는 구동신호를 출력포트로 내보낸다.In this way, the first 3 bytes (STX [0] to STX [2]) and the last 3 bytes (STX [9] to STX [11]) of all the data are used to determine whether the data is owned, synchronized and errored. If an error occurs, it ignores the data and displays an error message at the same time. If it is determined that no error has occurred, a drive signal for moving the equipment is sent to the output port based on this data.

상기한 바와 같이, 본 발명에 따른 무선원격 제어를 위한 데이터 통신 포맷 및 그 제어방법에 의하면, 동기비트부와 식별코드부, 에러 검출부를 포함한 데이터 포맷과 데이터 포맷을 이용하여 자신의 데이터를 구분해내고, 송수신기 간에 동기를 맞추고, 에러의 유무를 검출하는 데이터 제어방법을 제공함으로써, 무선원격 제어에 있어서 송수신기 간의 신뢰성있는 통신으로 시스템의 안전성을 확보할 수 있어 안전사고를 미연에 방지할 수 있는 효과가 있다.As described above, according to the data communication format and the control method for the wireless remote control according to the present invention, by using the data format and data format including the sync bit unit, the identification code unit, the error detection unit, By providing a data control method that synchronizes between transceivers and detects the presence of an error, it is possible to secure the safety of the system through reliable communication between the transceivers in wireless remote control, thereby preventing safety accidents. There is.

또한 비동기 직렬 통신의 신뢰성 향상으로 전자 콘트롤러와 콘트롤러 사이에 네트웍을 구성해서 다수의 콘트롤러 간의 원격제어 시스템을 구성하는 것이 가능해진다.In addition, improved reliability of asynchronous serial communication enables a network between the electronic controller and the controller to configure a remote control system between multiple controllers.

Claims (8)

무선원격 제어를 위한 데이터 통신 포맷에 있어서 : 송신부와 수신부 간의 동기를 맞추기 위한 동기비트부와, 자신의 데이터를 판별하기 위한 식별코드부와, 송신부와 수신부 간의 특수 목적을 위해 사용되는 모드와, 송신기의 상태를 수신기에 알리기 위해 사용되는 상태정보부와, 장비의 조작에 따른 실제 데이터의 내용을 갖고 있는 입력 데이터부와, 에러 유무를 검출하기 위한 에러 검출부로 구성됨을 특징으로 하는 무선원격 제어를 위한 데이터 통신 포맷.A data communication format for radio remote control, comprising: a synchronization bit unit for synchronizing a transmitter and a receiver, an identification code unit for discriminating its own data, a mode used for a special purpose between the transmitter and the receiver, and a transmitter Data for wireless remote control, characterized in that it comprises a status information unit used to inform the receiver of the state, an input data unit having the contents of the actual data according to the operation of the equipment, and an error detection unit for detecting the presence or absence of an error Communication format. 청구항 1에 있어서, 상기 동기비트부는, 상기 데이터 포맷의 상위 비트에 위치한 동기비트로 이루어짐을 특징으로 하는 무선원격 제어를 위한 데이터 통신 포맷.The data communication format of claim 1, wherein the sync bit unit comprises sync bits located at higher bits of the data format. 청구항 1에 있어서, 상기 식별코드부는, 자신의 데이터를 정확하게 구분할 수 있도록 송수신기 간에 미리 약속된 값을 갖고있는 식별코드로 이루어짐을 특징으로 하는 무선원격 제어를 위한 데이터 통신 포맷.The data communication format of claim 1, wherein the identification code unit comprises an identification code having a predetermined value between transceivers so as to accurately distinguish its own data. 청구항 1에 있어서, 상기 에러 검출부는, 비트열의 합의 홀짝을 체크하기 위한 패리티 비트와 특정 패턴에 따라 비트열의 합을 체크하기 위한 체크 섬 비트로 이루어짐을 특징으로 하는 무원격 제어를 위한 데이터 통신 포맷.The data communication format of claim 1, wherein the error detection unit comprises a parity bit for checking the sum of the sum of the bit strings and a check sum bit for checking the sum of the bit strings according to a specific pattern. 무선원격 제어를 위한 데이터 포맷의 제어방법에 있어서 : 수신된 신호를 상기 데이터 포맷과 비교하여 동기를 맞추는 제1 과정과, 수신된 데이터가 자신의 데이터인가를 구별하기 위한 제2 과정과, 데이터의 에러 유무를 판단하는 제3 과정으로 이루어짐을 특징으로 하는 무선원격 제어를 위한 데이터 포맷의 제어방법.A method of controlling a data format for wireless remote control, comprising: a first process of synchronizing a received signal with the data format, a second process of distinguishing whether the received data is its own data, and And a third step of determining whether there is an error. 청구항 5에 있어서, 상기 제1 과정은, 상기 데이터 포맷의 동기비트부와 수신된 데이터를 세 번째 데이터까지 비교함을 특징으로 하는 무선원격 제어를 위한 데이터 포맷의 제어방법.The method of claim 5, wherein the first process compares the synchronization bit unit of the data format and the received data to third data. 청구항 5에 있어서, 상기 제2 과정은, 상기 데이터 포맷의 식별코드부를 이용함을 특징으로 하는 무선원격 제어를 위한 데이터 포맷의 제어방법.The method of claim 5, wherein the second process comprises using an identification code unit of the data format. 청구항 5에 있어서, 상기 제3 과정은, 데이터의 마지막 3바이트에 있는 에러 검출부를 이용함을 특징으로 하는 무선원격 제어를 위한 데이터 포맷의 제어방법.6. The method of claim 5, wherein the third process uses an error detector in the last 3 bytes of data.
KR1019960040963A 1996-09-19 1996-09-19 Data communication format and its control method for wireless remote control KR19980021943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960040963A KR19980021943A (en) 1996-09-19 1996-09-19 Data communication format and its control method for wireless remote control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960040963A KR19980021943A (en) 1996-09-19 1996-09-19 Data communication format and its control method for wireless remote control

Publications (1)

Publication Number Publication Date
KR19980021943A true KR19980021943A (en) 1998-06-25

Family

ID=66521315

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960040963A KR19980021943A (en) 1996-09-19 1996-09-19 Data communication format and its control method for wireless remote control

Country Status (1)

Country Link
KR (1) KR19980021943A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020095803A (en) * 2001-06-15 2002-12-28 (주)우미마이크로웨이브 system and method for processing audio and video signals
KR100884142B1 (en) * 2003-12-31 2009-02-17 오픈픽 인크. Device control system, method, and apparatus for server-based or peer-to-peer network environments

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020095803A (en) * 2001-06-15 2002-12-28 (주)우미마이크로웨이브 system and method for processing audio and video signals
KR100884142B1 (en) * 2003-12-31 2009-02-17 오픈픽 인크. Device control system, method, and apparatus for server-based or peer-to-peer network environments

Similar Documents

Publication Publication Date Title
EP0675459B1 (en) card reader/writer
US5828300A (en) Alarm system with supervision controlled receiver parameter modification
US6087933A (en) Antenna switching for amplitude degradation during supervision and installation of wireless security systems
US4550312A (en) Remote sensing systems
US8755285B2 (en) Method, system and apparatus for diagnosing physical downlink failure
RU2001105535A (en) Device and method for controlling forward link power in discontinuous transmission mode in a mobile communication system
WO2005036361A3 (en) Fec-based reliability control protocols
CA2333763A1 (en) System and method for antenna failure detection
US4761648A (en) Remote sensing systems
AU653589B2 (en) Transmission error detection system for use in a disaster prevention monitoring system
US5568135A (en) Remote control method and unit for a radio unit
KR19980021943A (en) Data communication format and its control method for wireless remote control
CA1232020A (en) Channel monitoring circuit for use in a repeater station over radio digital transmission
US5757277A (en) Wireless selective call receiver and method and system for writing desired data in the same
US6603387B1 (en) Programming of RF transmitter identification data by monitoring power
KR100553808B1 (en) Apparatus and method for checking the operating status of a base station
JP2859135B2 (en) Wireless security system
JPH06284121A (en) Synchronizing word detection system
JP2000092030A (en) Optical transmitter
EP0814445B1 (en) Automatic self-testing alarm system with supervision signal analysis
KR100241915B1 (en) Apparatus and method for protecting self of order wire sinal in optical transmission network
US5903301A (en) Apparatus for removing unnecessary data in communication network
JPH10194620A (en) Remote monitor system
JPH0690241A (en) Optical modem
JPH07203562A (en) Receiver

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination