KR20030057500A - Local area multiple wireless communication module based on master slave concept - Google Patents

Local area multiple wireless communication module based on master slave concept Download PDF

Info

Publication number
KR20030057500A
KR20030057500A KR1020030037453A KR20030037453A KR20030057500A KR 20030057500 A KR20030057500 A KR 20030057500A KR 1020030037453 A KR1020030037453 A KR 1020030037453A KR 20030037453 A KR20030037453 A KR 20030037453A KR 20030057500 A KR20030057500 A KR 20030057500A
Authority
KR
South Korea
Prior art keywords
slave
control
communication
module
communication device
Prior art date
Application number
KR1020030037453A
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 KR1020030037453A priority Critical patent/KR20030057500A/en
Publication of KR20030057500A publication Critical patent/KR20030057500A/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B03SEPARATION OF SOLID MATERIALS USING LIQUIDS OR USING PNEUMATIC TABLES OR JIGS; MAGNETIC OR ELECTROSTATIC SEPARATION OF SOLID MATERIALS FROM SOLID MATERIALS OR FLUIDS; SEPARATION BY HIGH-VOLTAGE ELECTRIC FIELDS
    • B03CMAGNETIC OR ELECTROSTATIC SEPARATION OF SOLID MATERIALS FROM SOLID MATERIALS OR FLUIDS; SEPARATION BY HIGH-VOLTAGE ELECTRIC FIELDS
    • B03C3/00Separating dispersed particles from gases or vapour, e.g. air, by electrostatic effect
    • B03C3/34Constructional details or accessories or operation thereof
    • B03C3/74Cleaning the electrodes
    • B03C3/78Cleaning the electrodes by washing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B03SEPARATION OF SOLID MATERIALS USING LIQUIDS OR USING PNEUMATIC TABLES OR JIGS; MAGNETIC OR ELECTROSTATIC SEPARATION OF SOLID MATERIALS FROM SOLID MATERIALS OR FLUIDS; SEPARATION BY HIGH-VOLTAGE ELECTRIC FIELDS
    • B03CMAGNETIC OR ELECTROSTATIC SEPARATION OF SOLID MATERIALS FROM SOLID MATERIALS OR FLUIDS; SEPARATION BY HIGH-VOLTAGE ELECTRIC FIELDS
    • B03C3/00Separating dispersed particles from gases or vapour, e.g. air, by electrostatic effect
    • B03C3/02Plant or installations having external electricity supply
    • B03C3/16Plant or installations having external electricity supply wet type

Landscapes

  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A short distance multi-to-multi wireless communication module by using master-slave concept is provided to control simultaneously a plurality of control-measuring module by wireless by using a remote control module. CONSTITUTION: An MPU1(Main Processor Unit)(10) is a main control unit and communicates with a PC(Personal Computer) and a control measuring module. The MPU1(10) also compresses or restores commands of PLC and the like. An MPU2(20) controls an RF communication module and charges a wireless communication part. The RF module(30) enables a channel to change through the PLL control until 425.26 Mhz to 447.98Mhz as a use frequency band and use a weak electric wave. The MPU2(20) changes a frequency by controlling the PLL of the RF module and transmits/receives TX and RX signal with an RS232 type to/from the RF module. Also, the MPU2(20) determines one's own ID by reading an ID-switch value upon power-on. The ID-switch(60) is a 8bit dip switch type and determines whether a device is a master communication control device or a slave communication control device or which group slave device.

Description

마스타-슬래이브 개념을 이용한 근거리 다대다 무선통신 모듈{Local area multiple wireless communication module based on master slave concept}Local area multiple wireless communication module based on master slave concept

정기적 잡음이 심하지 않은 옥외에서 시설물을 다수의 모듈을 제어할 경우 무선원격으로 근거리에서 통신 제어하는 장치에 관한 기술A technology for controlling communication at a short distance by wireless remote control when controlling a large number of modules in a facility outdoors where noise is not severe

종래의 기술로는 원격제어 하는 방식으로는 다음 2가지 방식을 사용한다.In the prior art, the following two methods are used as remote control methods.

(1) 적외선 통신 방식(1) infrared communication method

종래의 무선 통신은 도 5에서 보는 바와 같이 적외선 통신 모듈(360)을 모듈의 제어 베이스판(370)에 연결하여 사용한다. 이와 같이 적외선 방식의 통신 모듈을 사용하여 제어모듈을 옥외에서 제어할 때 햇빛 등이 통신의 잡음으로 작용하며, 장애물이 있는 경우에도 통신이 않된다는 단점이 있고 통신 거리가 짧아 주로 실내에서 사용된다.Conventional wireless communication uses an infrared communication module 360 connected to the control base plate 370 of the module as shown in FIG. As such, when the control module is controlled outdoors using an infrared communication module, sunlight acts as a noise of communication, and even when there is an obstacle, there is a disadvantage that communication is not possible and the communication distance is short and is mainly used indoors.

(2) 무선 통신 기기를 직렬포트에 연결하여 사용하는 방식(2) Method of connecting wireless communication device to serial port

이 경우 특허나 실용신안이 나와있지 않으나 사용할 수 있는 방법이다. 그 방법은 RS232 방식의 시리얼 통신 기능을 갖춘 RF통신 모듈(330, 340)을 직렬포트에 연결하여 사용하는 것이다. 하지만 1:1 통신 만이 가능하며 다수의 모듈을 제어할 수 없고 PLC등의 명령어 코드를 압축하는 기능이 없어서 통신중 잡음을 가능성이 크고 명령어의 전송 전달 속도가 늦게 된다.In this case, there is no patent or utility model, but it can be used. The method is to use the RF communication module (330, 340) having a serial communication function of the RS232 method connected to the serial port. However, only 1: 1 communication is possible, and many modules cannot be controlled and there is no function to compress command codes such as PLC, which makes noise more likely during communication and slows down the transmission and transmission speed of commands.

옥외 토목 관정 제어, 비닐하우스 원격제어등 옥외 설비의 제어 및 계측을 위하여 원격제어 모듈을 사용할 때 제 4도에서 보는 바와 같이 무선으로 여러대의제어-계측 모듈을 동시에 제어한다.When using the remote control module for the control and measurement of outdoor facilities such as outdoor civil engineering control, plastic house remote control, as shown in Figure 4, wirelessly control multiple control-measurement modules simultaneously.

. 원격제어는 FSK 방식의 RF를 사용하며, 사용주파수 대역은 425MHz~447MHz를 사용하고 미약전파를 사용한다.. Remote control uses RF of FSK method, and uses frequency band of 425MHz ~ 447MHz and weak radio wave.

. PLC RF 통신제어를 위하여 계측장치의 시리얼 포트인 RS232C 통신 포트를 사용한다.. RS232C communication port which is a serial port of measuring device is used for PLC RF communication control.

. 통신 제어거리는 근거리인 150m 이내 이고 따라서 전파는 미약 전판를 사용하므로 전파사용료나 통화 비용이 전혀 들이 않는다.. The communication control distance is within 150m, which is short distance, and therefore the radio waves use the weak electric board, so there is no radio charge or call cost.

. PLC 제어 코드의 단축을 위하여 PLC 등의 명령어코드를 단축한다.. In order to shorten PLC control code, shorten command codes such as PLC.

. 발명품은 직렬통신 기능 외에 A/D, D/A 기능이 내장된 16bit MPU가 탑재되어 아날로그 센서의 계측 및 출력이 가능하다.. The invention is equipped with a 16-bit MPU with built-in A / D and D / A functions in addition to the serial communication function, enabling measurement and output of analog sensors.

. 동시에 32대의 제어-계측를 동시 통신 제어가 가능하며 통신 프로토콜로써 마스터-슬레이브-부분폴링 방식을 발명하여 사용한다.. Simultaneous communication control of 32 control-measurements is possible and master-slave-partial polling method is invented and used as communication protocol.

도 1은 근거리 다중 무선 통신 제어용 장치1 is a device for controlling short-range wireless communication

도 2는 다중 무선 원격 통신제어 장치의 프로토콜 설명도2 is a protocol explanatory diagram of a multi-radio telecommunication control device

도 3은 다중 무선 원격 제어장치의 마이크로프로세서부 제어층 구성도3 is a block diagram of the control layer of the microprocessor unit of the multiple wireless remote control unit

도 4는 다중 무선 원격 제어장치 설치를 나타내는 도면4 is a diagram showing the installation of a multi-radio remote control device

도 5는 종래 RF 모듈을 이용한 무선 제어 방법5 is a wireless control method using a conventional RF module

도 6은 다중 원격 통신 장치의 마스터 통신제어 정치의 동작 흐름도6 is an operation flowchart of a master communication control station of a multi-telecommunication device;

도 7은 슬레이브 구룹중 리시버 슬레이브(SR)부 통신제어 장치의 동작 흐름도7 is a flowchart illustrating an operation of a communication control device of a receiver slave (SR) unit in a slave group.

도 8은 슬레이브 구룹중 중간 슬레이브(S) 통신제어 장치의 동작흐름도8 is an operation flowchart of an intermediate slave (S) communication control device of the slave group

도 9는 슬레이브 구룹중 트랜시브 슬레이브(ST) 통신제어 장치의 동작 흐름도9 is a flowchart illustrating operations of a passive slave (ST) communication control device among slave groups.

도 10은 PLC의 통신 명령어 프레임10 is a communication command frame of PLC

도 11은 압축된 PLC 통신 명령어11 is a compressed PLC communication command

발명된 근거리 무선 원격 다중 제어계측모듈 통신 제어장치는 제1도에 나타낸 바와 같이 크게 MPU1( 10, 마이크로프로세서1) 과 MPU2 ( 20 ), RF 통신 모듈( 30 ), ID 스위치(60) 그리고 ROM( 80 ) , RAM( 90 ) 등으로 구성 되어있다.Invented short range wireless remote multiple control measurement module communication control device as shown in Figure 1 is largely MPU1 (10, microprocessor 1) and MPU2 (20), RF communication module (30), ID switch 60 and ROM ( 80), RAM (90) and so on.

MPU1(10)은 주제어부로써 PC 나 제어계측모듈과 통신하며 PLC등의 명령어 압축 또는 복원등을 하고, MPU2는 RF 통신 모듈을 제어하고 무선통신 부분을 담당한다.The MPU1 10 communicates with a PC or a control measurement module as a main control unit, compresses or restores commands such as a PLC, and the MPU2 controls an RF communication module and is in charge of a wireless communication part.

RF 모듈(30)은 사용주파수 대역이 425.26Mhz에서 447.98Mhz 대의 최대 32채널 까지 PLL제어를 통하여 채널 변경이 가능하며 미약 전파를 사용한다.The RF module 30 can change the channel through the PLL control up to 32 channels in the frequency band of 425.26Mhz to 447.98Mhz, and uses weak radio waves.

MPU2 ( 20 )는 RF 모듈의 PLL을 제어하여 주파수를 변경하며, RF 모듈에 RS232 형식의 TX와 RX신호를송/수신한다. 그리고 파우워 온시에 ID-스위치 값을 읽어 자신의 ID를 결정한다.The MPU2 (20) changes the frequency by controlling the PLL of the RF module, and transmits / receives TX and RX signals in RS232 format to the RF module. At power-on, the ID-switch is read to determine its own ID.

ID-스위치(60)의 역할은 8bit dip 스위치 형태로써 자신이 마스터 통신제어 장치인가 슬레이브 통신제어장치인가 또는 몇 번째 구룹의 슬레이브 장치인가를 결정하는 ID 스위치이다.The role of the ID-switch 60 is an 8-bit dip switch, which is an ID switch that determines whether it is a master communication control device, a slave communication control device, or a group of slave devices.

MPU1(10)은 PC나 제어계측모듈(80)과 시리얼 통신을 하며 내장된 AD 컨버터를 사용하여 주변의 센서신호를 읽을 수가 있고 PC나 제어계측모듈의 시리얼 데이터를 전송받아 RF 모듈 제어부인 MPU2(20)으로 전송 한다.MPU1 (10) communicates serially with PC or control measurement module (80) and can read sensor signals around by using built-in AD converter, and receives serial data of PC or control measurement module (MPU2) 20) to send.

MPU1(10)과 MPU2(20) 내부의 제어 프로그램은 제3도에 나타난 바와같은 제어층 구조를 갖고 있다.The control programs inside the MPU1 10 and MPU2 20 have a control layer structure as shown in FIG.

제어층은 3개의 층으로 이루어 지는 바, H/W 제어층(230)와 무선 매체 제어층(240) 그리고 통신 프로토콜 제어층(250)등 3부분이다.The control layer is composed of three layers: the H / W control layer 230, the wireless medium control layer 240, and the communication protocol control layer 250.

H/W 제어층(230)에서는 MPU2(20)에서 담당하며 PLL 제어를 통한 RF 모듈 주파수 제어, Rx/TX 데이터의 RF 송/수신 그리고 ID-스위치(60)를 압력 받아 고유의 ID를 결정한다.The H / W control layer 230 is in charge of the MPU2 (20) and the RF module frequency control through the PLL control, RF transmission and reception of the Rx / TX data and the ID-switch 60 under pressure to determine the unique ID .

무선 매체 제어층(240)과 통신 프로토콜 제어층(250)의 알고리즘은 MPU1(10)에서 수행된다.The algorithms of the wireless medium control layer 240 and the communication protocol control layer 250 are performed at the MPU1 10.

무선 매체 제어층(240)에서는 통신 데이터 오류를 검출하기 위한 BCC코드 발생 및 분석과 S/W적인 멘체스타코드 변환, 그리고 데이터 프레임에 프리엠블 코드를 발생 시키며, 다중 제어계측모듈 원격 통신을 위한 프로토콜이 내장되어 있다.The wireless medium control layer 240 generates and analyzes BCC codes to detect communication data errors, converts S / W Menchester codes, and generates preamble codes in data frames, and protocols for remote communication of multiple control measurement modules. It is built.

통신 프로토콜 제어층(250)에서는 PLC 명령어 해석을 하며, 계측을 위한 A/D 컨버터제어 및 PLC(80) 나 PC(80)와의 통신 제어를 위한 커넬이 내장되어있다.The communication protocol control layer 250 interprets the PLC commands and has a built-in kernel for A / D converter control for measurement and communication control with the PLC 80 or the PC 80.

무선 통신 모듈(30)은 10mW 이하의 미약 전파를 사용하며 400Mhz대의 주파수를 사용하고 있으며 실외 150m이내 통신이 가능하고 통신 속도는 9600bps 정도로 늦은 편이다. 그리고 주파수는 32 채널을 갖고 있으며 PLL제어로 주파수를 제어한다.The wireless communication module 30 uses a weak radio wave of 10mW or less, uses a frequency of 400Mhz, and can communicate within 150m of the outdoor, and the communication speed is as low as 9600bps. The frequency has 32 channels and the frequency is controlled by PLL control.

다수개의 제어계측모듈이 서로 통신을 할때는 각각의 고유 주파수로 서로 통신을 해야하며 이 경우 통신하고자하는 제어계측모듈이 바뀔때마다 매번 서로 주파수를 바꿔주어야 한다. 하지만 소요시간 면에서 볼 때 무선 RF 통신 모듈의 통신 제어에 있어서 데어터 통신 시간 보다는 PLL을 통한 주파수 변경에 소요되는 시간이 더 많이 소요된다. 따라서 본 발명에서는 다수개의 PLC간의 통신을 위한 방법으로 통신을 위한 주파수 변경은 가급적 적게하면서 주 제어부가 명령을 내리는 마스터-슬레이브 개념 및 종 제어기 끼리 통신이 원활하게 될 수 있도록 통신을 하는 방법을발명하였다.When multiple control measurement modules communicate with each other, they must communicate with each other at their own frequencies. In this case, each time the control measurement module to be communicated changes, each frequency must be changed. However, in terms of the time required, it takes more time to change the frequency through the PLL than the data communication time in the communication control of the wireless RF communication module. Therefore, in the present invention, as a method for communication between a plurality of PLCs, the concept of a master-slave commanded by the main control unit and a method of communicating between slave controllers are facilitated while the frequency change for communication is as small as possible. .

전체적인 통신 프로토콜 설명은 제 2도에 나타낸바와 같다. 그림에서 보는 바와 같이 개념은 주제어부인 마스터부로 설정된 통신제어장치(100)와 32개 이하의 슬레이브로 설정되는 PLC나 제어장치가 다(多) 대 다(多) 통신을 하는 것이며, 마스터 통신제어장치(100)를 중심으로 슬레이브 장치 3개(110, 111, 112)가 각각 하나씩의 구룹(150)을 형성하여 통신하는 방법이다.The overall communication protocol description is as shown in FIG. As shown in the figure, the concept is that the communication control device 100 set as the master unit, which is the main control unit, and the PLC or control device set as 32 or less slaves communicate many to many, and the master communication control device The three slave devices 110, 111, and 112 each form a group 150 around the 100 to communicate with each other.

슬레이브 장치 구룹에는 각각 스레이브 수신담당 장치SR(110)과 슬레이브 송신 담당 장치 ST(112)그리고 슬레이브 장치(111) 와 마스터 장치 등 4개의 장치가하나의 작은 루프(150)를 형성하며 다른 구룹도 제2도에 보는 바와 같은 구룹을 형성하여 하나의 전체 네트워크가 구성된다.In the slave device group, four devices such as the slave reception device SR 110, the slave transmission device ST 112, and the slave device 111 and the master device each form one small loop 150. A group as shown in FIG. 2 is formed to form one entire network.

제 6도에서 보는 바와 같이 마스터 통신 장치 M(100)에는 PC나 제어기가 연결되며 모든 슬레이브 통신장치에 명령을 내리거나 임의의 슬레이브 통신 장치에서 데이터를 수신 혹은 다른 슬레이브 통신 장치에 명령어나 데이터를 전송해주는 역할을 한다. 우선 마스터 통신 장치는 초기에 기본 주파수는 f0 로 설정되며 제2도에서 보는 바와 같이 모든 슬레이브 통신 구룹의 SR역시 통신 주파수는 기본 주파수 f0 로 설정 되어 마스터 통신 장치의 명령을 받는다. 마스터 통신 장치(100)는 명령어를 내릴 때 구룹 ID 와 구룹의 슬레이브 통신장치의 ID 그리고 명령어를 슬레이브 구룹의 각 수신 슬레이브 통신제어장치 SR(110, 120, 130, 140)등에 송신한다. 만일 특정 슬레이브 통신 장치와 통신을 하고자한다면 마스터 통신장치(100)는 해당 슬레이브 구룹의 송신 슬레이브 통신 제어장치 ST(112, 122, 132, 142)의 송신 주파수로 주파수를 호핑한다. 그리고 해당 송신 슬레이브 통신 장치의 데이터 수신을 대기한다. 데이터가 정상적으로 수신되면 수신데이터에서 ID와 구룹을 확인한후 명령어를 수행한다. 만일 특정 슬레이브 통신 장치와 통신하는 것이 아니라 모든 슬레이브 구룹에 데이터를 송신하는 경우라면 마스터 통신 장치는 모든 슬레이브 구룹의 데이터를 수신하는 모드로 전환되며, 따라서 각 슬레이브 통신 장치 구룹의 송신 슬레이브 통신 장치 SR의 주파수로 순차적으로 변경시켜 모든 슬레이브 구룹의 데이터 수신을 기다린다.As shown in FIG. 6, the master communication device M 100 is connected to a PC or a controller and issues commands to all slave communication devices, receives data from any slave communication device, or transmits commands or data to another slave communication device. It plays a role. First, the master communication device initially sets the fundamental frequency to f0, and as shown in FIG. 2, the SR communication frequency of all the slave communication groups is also set to the fundamental frequency f0 and is commanded by the master communication device. When the master communication device 100 issues a command, the master communication device 100 transmits the group ID, the ID of the slave communication device of the group, and the command to each of the received slave communication control devices SR 110, 120, 130, and 140 of the slave group. If it is desired to communicate with a specific slave communication device, the master communication device 100 hops the frequency at the transmission frequency of the transmission slave communication control devices ST 112, 122, 132, and 142 of the corresponding slave group. And waits for data reception of the corresponding transmission slave communication device. If the data is received normally, check the ID and group in the received data and execute the command. If data is transmitted to all slave groups instead of communicating with a specific slave communication device, the master communication device is switched to a mode of receiving data of all slave groups, and thus, the transmission slave communication device SR of each slave communication device group. It sequentially changes to frequency and waits for data reception of all slave groups.

슬레이브 통신 장치 구룹의 수신 슬레이브 통신 장치(110)의 동작 흐름도는 제7도에서 설명된다. 그림에서 보는 바와 같이 초기에는 마스터 통신 장치와의 통신을 위하여 f0 주파수로 설정이 되며, 마스터 통신 장치의 데이터를 수신한다. 그리고 마스터 통신장치(100)의 데이터를 수신하면 자신의 ID인가를 점검하고 만일 자신의 ID라면 해당 명령어를 수행한다. 그리고 명령어를 수행 확인 데이터를 다음 슬레이브 통신 장치(111)에 전달한다. 이때 주파수는 다음 연결될 슬레이브 통신 장치(111)의 주파수(f1)로 호핑한다. 만일 자신의 ID가 아니라면 다음 연결될 슬레이브 통신 장치(111)로 데이터를 전송한다.The operation flowchart of the receiving slave communication device 110 in the slave communication device group is described in FIG. As shown in the figure, initially, the frequency is set to f0 for communication with the master communication device, and receives data of the master communication device. When receiving the data of the master communication device 100, it checks whether it is its ID, and if it is its ID, it performs the corresponding command. The command transmits the command confirmation data to the next slave communication device 111. At this time, the frequency hops to the frequency f1 of the slave communication device 111 to be connected next. If it is not its ID, data is transmitted to the slave communication device 111 to be connected next.

제 8도는 슬레이브 통신 장치 구룹중에서 중간 슬레이브 통신장치(111)의 동작에 대한 흐름도이다. 이 슬레이브 통신 장치(111)에서는 전 단인 수신 슬레이브 통신 장치(110)에서 데이터를 수신한다. 이때 주파수 설정은 전단의 수신 슬레이브 통신장치(110)의 송신 주파수(f1)와 같게 설정한다. 데이터가 수신되면 우선 데이터 프레임 중에서 ID 데이터 부분을 검사하여 자신의 ID인지를 검사하고 만일 자인의 ID라면 해당 명령어를 수행하고 수행확인 데이터를 다음 단인 송신 슬레이브 통신 장치(112)에 송신한다. 만일 자신의 ID가 아니면 수신받은 데이터를 다음 단인 송신 슬레이브 통신 장치(112)에 송신한다. 이때 주파수는 송신 슬레이브 통신 장치와 통신하는 주파수인 f2로 변경한다.8 is a flowchart illustrating the operation of the intermediate slave communication device 111 in the slave communication device group. The slave communication device 111 receives data from the receiving slave communication device 110 which is the front end. At this time, the frequency setting is set equal to the transmission frequency f1 of the receiving slave communication apparatus 110 in the preceding stage. When the data is received, first of all, the ID data portion of the data frame is checked to determine whether it is its own ID. If it is the ID of the self-signed device, the command is executed and the performance confirmation data is transmitted to the next transmission slave communication device 112. If it is not its ID, the received data is transmitted to the next transmission slave communication device 112. At this time, the frequency is changed to f2 which is a frequency for communicating with the transmitting slave communication device.

제 9도는 슬레이브 통신 장치 구룹(150)중에서 송신 슬레이브 통신 장치(112)의 동작 흐름도에 관한 것이다. 송신 슬레이브 통신 장치(112)는 전단인 슬레이브 통신장치(111) 및 마스터 통신장치(100)와 통신한다. 이 장치에서는 초기화때 전단인 슬레이브 통신 장치(111)의 송신 주파수(f2)와 같게 주파수를 설정하며 전단(111)의 통신 데이터를 수신한다. 만일 수신된 데이터중에서 ID가 자신의 ID라면 해당 명령어를 수행하고 그렇지 않으면 수신된 데이터를 그대로 마스터 통신장치로 송신한다. 이 때의 통신 주파수는 송신 슬레이브 통신장치 ST(112)의 송신 주파수(f3)로 변경한다.9 is a flowchart of the operation of the transmitting slave communication device 112 in the slave communication device group 150. The transmitting slave communication device 112 communicates with the slave communication device 111 and the master communication device 100 which are front ends. In this device, the frequency is set to be equal to the transmission frequency f2 of the slave communication device 111, which is the front end at the time of initialization, and the communication data of the front end 111 is received. If the ID is one of the received data, the command is executed. Otherwise, the received data is transmitted to the master communication device as it is. The communication frequency at this time is changed to the transmission frequency f3 of the transmission slave communication apparatus ST112.

제 10도는 시리얼 포트를 통해 PLC를 제어하는 데이터 프레임을 나타낸다. 제 10도에서 보는 바와 같이 데이터에는 스타트 바이트에 해당하는 ENQ와 몇 번째 제어계측모듈인가를 묻는 제어계측모듈의 국번, 제어계측모듈 명령어, 스탑 바이트에 해당하는 EOT와 통신 에러 체크를 위한 BCC가 있다.10 shows a data frame controlling a PLC via a serial port. As shown in FIG. 10, the data includes the ENQ corresponding to the start byte, the station number of the control measuring module asking which control module is the control byte, the control measuring module command, the EOT corresponding to the stop byte, and the BCC for checking the communication error. .

제 11도는 본 발명에서 수행하는 PLC 명령어의 단축에 관한 것이다. 그림에서 보듯이 PLC의 명령어를 무선 통신용 코드로 다음과 같이 변환하였다. 우선 PLC의 국번은 두지 않고 해당 모든 PLC의 국번은 제 1도에 나타난 무선 통신 제어장치의 ID-스위치(60)에서결정한다. 그리고 PLC의 데이터 프레임은 무선 통신 장치의 ID 와 명령어 그리고 BCC만을 두며 무선 통신의 통신안정화를 위하여 프리엠불럼 데이터를 프레임 전후에 3바이트씩을 둔다. PLC에서의 통신 프레임은 PLC 통신 규격에 맞게 통신을 하며 이러한 데이터는 제1도의 무선 통신 제어 장치에서 변환하고 변환된 데이터로 PLC를 제어할 경우 다시 무선 통신 제어 장치에서 PLC 통신 규격에 맞게 다시 변환한다.Figure 11 relates to the shortening of the PLC instruction carried out in the present invention. As shown in the figure, PLC's command is converted into code for wireless communication as follows. First of all, the station number of the PLC is not placed, and the station numbers of all the PLCs are determined by the ID switch 60 of the radio communication control apparatus shown in FIG. The PLC data frame contains only the ID, command, and BCC of the wireless communication device, and preamble data is placed three bytes before and after the frame to stabilize communication of the wireless communication. The communication frame in the PLC communicates according to the PLC communication standard, and this data is converted by the wireless communication control device of FIG. 1 and again converted by the wireless communication control device according to the PLC communication standard when the PLC is controlled by the converted data. .

근거리 옥외에서 다수의 제어계측모듈을 무선원격제어 할 경우 유용하게 사용된다. 옥외 전광판 제어, 야외 토목관정 제어, 비닐하우스 제어 등을 할때 PLC의 외부 시리얼 포트에 다채널 근거리 통신용무선 통신 모듈 장치를 부착하여 간단히 통신제어 하며, 통신 속도의 향상을 위하여 PLC를 제어하기 위한 통신 코드를 압축, 복원 해석하는 기능을 내장 하였다. 또한 최대 32개의 제어계측모듈을 효율적으로 무선제어할 수 있도록 마스터-슬레이브-부분폴링 방식의 프로토콜을 발명하였다. 본 발명은 근거리 통신으로 미약정파를 사용하므로 반경 150m이내의 다수대의 제어계측모듈을 무선으로 원격제어가 가능하며 주파수 사용료 통화비용을 소요되지 않는다.It is useful for wireless remote control of many control measurement modules in short distance. Multi-channel near field communication wireless communication module device is attached to external serial port of PLC for outdoor electronic board control, outdoor civil engineering control, plastic house control, etc. to easily control communication, and to control PLC to improve communication speed. Compression, restoration and analysis of the code was built in. In addition, we have invented a master-slave-partial polling protocol for efficient wireless control of up to 32 control measurement modules. In the present invention, since the weak communication wave is used as short-range communication, it is possible to wirelessly remotely control a plurality of control measurement modules within a radius of 150 m and does not require a frequency fee.

Claims (3)

150m 이내의 근거리에서 여러대의 제어계측모듈을 무선으로 제어할 때 미약 전파 및 다체널 RF 모듈을 사용한 무선 통신 제어 장치에 있어서 다수개의 PC에 연결되는 무선 통신제어 장치를 1개의 마스터와 다수개의 슬레이브로 설정하여 통신하는 장치In wireless communication control device using weak radio wave and multi-channel RF module when wirelessly controlling several control measurement modules at short range within 150m, wireless communication control device connected to multiple PCs is connected to one master and multiple slaves. Device to set up and communicate 다수개의 제어계측모듈을 근거리에서 무선 원격 통신 제어하는 장치에 있어서 무선 통신 제어 장치를 마스터(100) 및 슬레이브(110,111,112)로 설정하고 3개의 슬레이브 무선 통신 제어 장치와 마스터 무선 통신 제어장치를 하나의 루프(150)로 형성하여 슬레이브 구룹을 형성하고 이러한 슬레이브 그룹을묶어서 전체 모든 제어계측모듈을 네트워크로 통신 제어하는 장치.In a device for wireless telecommunication control of a plurality of control measurement modules in a short distance, the wireless communication control device is set to the master 100 and the slaves (110, 111, 112) and the three slave wireless communication control device and the master wireless communication control device in one loop And forming a slave group to form a slave group and tying these slave groups to control all the control measurement modules through a network. 슬레이브 무선 통신 구룹내의 3개의 슬레이브 통신 장치를 수신 슬레이브 통신 장치(110), 슬레이브 통신 장치(111), 그리고 송신 슬레이브 통신 장치(112)로 정의하여 수신 슬레이브 통신 장치(110)는 마스터 통신 장치(100)와 다음 단의 슬레이브 통신 장치(111)와 통신만을 하고, 다음 단의 슬레이브 통신장치(111)는 전 단인 수신 슬레이브 통신 장치(110) 및 송신 슬레이브 통신 장치(112)하고만 통신을 하며 송신 슬레이브 통신 장치(112)는 전단 슬레이브 통신 장치(111)와 마스터 통시 장치(100)와 통신하는 통신 방법.The three slave communication devices in the slave wireless communication group are defined as the receiving slave communication device 110, the slave communication device 111, and the transmitting slave communication device 112 so that the receiving slave communication device 110 is the master communication device 100. ) Only communicates with the slave communication device 111 of the next stage, and the slave communication device 111 of the next stage communicates only with the receiving slave communication device 110 and the transmitting slave communication device 112, which are the previous stages, and the transmitting slave. The communication device 112 communicates with the front end slave communication device 111 and the master communication device 100.
KR1020030037453A 2003-06-11 2003-06-11 Local area multiple wireless communication module based on master slave concept KR20030057500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030037453A KR20030057500A (en) 2003-06-11 2003-06-11 Local area multiple wireless communication module based on master slave concept

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030037453A KR20030057500A (en) 2003-06-11 2003-06-11 Local area multiple wireless communication module based on master slave concept

Publications (1)

Publication Number Publication Date
KR20030057500A true KR20030057500A (en) 2003-07-04

Family

ID=32226711

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030037453A KR20030057500A (en) 2003-06-11 2003-06-11 Local area multiple wireless communication module based on master slave concept

Country Status (1)

Country Link
KR (1) KR20030057500A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542706A (en) * 2012-01-13 2012-07-04 重庆大学 Sickroom wireless calling system and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542706A (en) * 2012-01-13 2012-07-04 重庆大学 Sickroom wireless calling system and control method thereof

Similar Documents

Publication Publication Date Title
US20050210340A1 (en) Wireless sensor system
CN1950770B (en) Power and wireless communication unit for process field devices
CN101142851A (en) Remote control system of hearing aid
EP2086118A3 (en) System and method of controlling transmit power for multi-mode mobile device
WO2003037027A1 (en) Mobile communication system and communication method thereof
CN111698671B (en) Bluetooth remote controller
MXPA05010408A (en) Operation monitoring system.
CN106326164A (en) Multifunctional wireless serial port communication equipment
KR100730727B1 (en) Control system for on/off of lamp
KR20020041849A (en) Development of near fild wireless communication for multiple PLC controller
KR20030057500A (en) Local area multiple wireless communication module based on master slave concept
KR200424678Y1 (en) Electric power control device
CN107864003A (en) A kind of public network repeater that communication is realized with LoRa wireless technologys
KR200415596Y1 (en) control system for on/off of lamp
CN206908780U (en) The central control system of wireless microphone and wireless microphone system
CN208479999U (en) A kind of hand-held positioning interactive formula wireless lighting control system and its lighting system
CN201656969U (en) Data transmission module based on radio frequency chip
KR20050088662A (en) Wireless remote control system using bluetooth and method thereof
CN116193304A (en) Wireless microphone system for multimode communication
CN213582548U (en) Short-distance bidirectional wireless communication control system
CN103680112B (en) Signal coding conversion method and device
CN102550115A (en) Wireless device, wireless apparatus using same, and wireless system
CN214046008U (en) Wireless networking human body induction system
CN101801117A (en) Mobile communication terminal integrating wireless communication function of SRD (Short Range Device) and networking system thereof
CN215376395U (en) Active type WeChat code scanning wireless multi-channel access controller

Legal Events

Date Code Title Description
A201 Request for examination
G15R Request for early opening
E902 Notification of reason for refusal
E601 Decision to refuse application