KR100562644B1 - method for transmitting and receiving of data - Google Patents

method for transmitting and receiving of data Download PDF

Info

Publication number
KR100562644B1
KR100562644B1 KR1020030074146A KR20030074146A KR100562644B1 KR 100562644 B1 KR100562644 B1 KR 100562644B1 KR 1020030074146 A KR1020030074146 A KR 1020030074146A KR 20030074146 A KR20030074146 A KR 20030074146A KR 100562644 B1 KR100562644 B1 KR 100562644B1
Authority
KR
South Korea
Prior art keywords
slave
data
master
module
cpu
Prior art date
Application number
KR1020030074146A
Other languages
Korean (ko)
Other versions
KR20050038854A (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 KR1020030074146A priority Critical patent/KR100562644B1/en
Publication of KR20050038854A publication Critical patent/KR20050038854A/en
Application granted granted Critical
Publication of KR100562644B1 publication Critical patent/KR100562644B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4208Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a system bus, e.g. VME bus, Futurebus, Multibus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

본 발명은 다수개의 모듈에 데이터를 송수신할 수 있고, 장거리에서도 데이터를 송수신할 수 있는 데이터 송수신장치 및 그 제어방법을 제공하는 데 그 목적이 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a data transmitting and receiving device capable of transmitting and receiving data to and from a long distance and a control method thereof.

따라서 본 발명은 마스터모듈과 슬레이브모듈로 이루어진 데이터 송수신장치에 있어서, 마스터모듈은 마스터CPU와 마스터스위칭부를 구비하고, 슬레이브모듈은 슬레이브CPU와 복수개의 송수신 모듈과 슬레이브스위칭부를 구비하는 데이터 송수신방법을 제공한다.Accordingly, the present invention provides a data transmission / reception apparatus including a master module and a slave module, wherein the master module includes a master CPU and a master switching unit, and the slave module provides a data transmission / reception method including a slave CPU, a plurality of transmission / reception modules, and a slave switching unit. do.

마스터모듈, 슬레이브모듈, CPU, 스위칭부Master module, slave module, CPU, switching unit

Description

데이터 송수신방법{method for transmitting and receiving of data}Method for transmitting and receiving of data

도 1은 종래기술에 따른 데이터 송수신장치를 나타내는 도면이다.1 is a view showing a data transmitting and receiving device according to the prior art.

도 2는 본 발명에 따른 데이터 송수신장치를 나타내는 도면이다.2 is a view showing a data transmission and reception apparatus according to the present invention.

도 3은 본 발명에 따른 마스터모듈의 통신제어 블록도이다.3 is a communication control block diagram of a master module according to the present invention.

도 4는 본 발명에 따른 슬레이브모듈의 통신제어 블록도이다.4 is a communication control block diagram of a slave module according to the present invention.

도 5는 본 발명에 따른 마스터모듈과 슬레이브모듈의 타이밍블록도이다.5 is a timing block diagram of a master module and a slave module according to the present invention.

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

10 : 마스터모듈 12 : 마스터CPU10: Master Module 12: Master CPU

14 : 마스터스위칭부 20, 22, 24 : 슬레이브모듈14: master switching unit 20, 22, 24: slave module

30 : 슬레이브CPU 32 : 슬레이브스위칭부30: slave CPU 32: slave switching unit

본 발명은 마스터모듈과 슬레이브모듈 사이에서 데이터를 전달하는 데이터 송수신방법에 관한 것으로, 더욱 상세하게는 슬레이브모듈에 복수개의 송수신모듈이 형성되어 원거리에서도 데이터를 전달할 수 있도록 된 데이터 송수신방법에 관 한 것이다.The present invention relates to a data transmission / reception method for transferring data between a master module and a slave module, and more particularly, to a data transmission / reception method in which a plurality of transmission / reception modules are formed in a slave module so that data can be transmitted at a long distance. .

일반적으로 여러개의 모듈이 연결되어 데이터를 송수신하는 방법은 전류루프(current loop)방식과 멀티드롭(multi drop)방식이 주로 사용되어 왔다. 전류루프방식은 신호전송용선로와 신호수신용선로가 분리되어 데이터를 별도로 송수신하나, 멀티드롭방식은 하나는 선로를 통해 데이터를 송수신한다.In general, a current loop method and a multi drop method have been mainly used to transmit and receive data by connecting several modules. In the current loop method, the signal transmission line and the signal reception line are separated to transmit and receive data separately, whereas the multidrop method transmits and receives data through the line.

도 1에 도시된 바와 같이 일반적인 멀티드롭방식의 신호체계는 수신대기상태에서 마스터모듈(100)에서 슬레이브모듈(112)에 데이터를 보내고, 이 슬레이브모듈(112)에서 다른 슬레이브모듈(114, 116)로 순차적으로 데이터를 송출하는 형식이다.As shown in FIG. 1, a general multidrop signaling system sends data from a master module 100 to a slave module 112 in a reception standby state, and other slave modules 114 and 116 in the slave module 112. This format is to send data sequentially.

그러나 이와 같은 종래기술에 따른 멀티드롭방식은 선로의 송수신이 가능한 최대길이가 1.2㎞로 제한되는 문제점이 있다.However, the multi-drop method according to the related art has a problem that the maximum length of the line transmission and reception is limited to 1.2 km.

아울러, 선로의 송수신이 가능한 연결가능한 최대의 모듈의 갯수 31개로 제한되는 문제점이 있다.In addition, there is a problem in that the maximum number of connectable modules capable of transmitting and receiving lines is limited to 31.

따라서 본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 다수개의 모듈에 데이터를 송수신할 수 있고, 장거리에서도 데이터를 송수신할 수 있는 데이터 송수신방법을 제공하는 데 그 목적이 있다.
Accordingly, an object of the present invention is to provide a data transmitting / receiving method capable of transmitting and receiving data to and from a plurality of modules, and capable of transmitting and receiving data over long distances.

본 발명은 마스터모듈과 슬레이브모듈 사이에 데이터를 전달하는 데이터 송수신방법에 있어서, 상기 슬레이브모듈의 마스터측수신부를 작동시키고 슬레이브측송신부의 작동을 중단하여 슬레이브CPU에 데이터를 수신하는 데이터수신모드; 상기 슬레이브모듈의 마스터측수신부의 작동을 중단하고, 스위치를 제 1방향으로 절환하여 마스터측송신부와 슬레이브CPU를 접속함으로써 데이터를 송신하는 데이터송신모드; 상기 슬레이브모듈의 마스터측수신부의 작동을 중단하고 마스터측송신부를 작동시키며, 슬레이브측송신부의 작동을 중단하고 스위치를 제 2방향으로 절환하여 슬레이브측수신부와 마스터측송신부를 접속함으로써 슬레이브CPU로부터 출력되는 데이터를 다른 슬레이브모듈에 중계하는 데이터중계모드;를 포함하는 데이터 송수신방법을 제공한다. The present invention provides a data transmission / reception method for transferring data between a master module and a slave module, comprising: a data receiving mode for receiving data to a slave CPU by operating a master side receiver of the slave module and stopping operation of the slave side transmitter; A data transmission mode for stopping the operation of the master side receiver of the slave module, transferring the switch by connecting the master side transmitter and the slave CPU by switching the switch in the first direction; Output from the slave CPU by stopping the operation of the master side receiver of the slave module, operating the master side transmitter, stopping the operation of the slave side transmitter, switching the switch in the second direction, and connecting the slave side receiver and the master side transmitter; It provides a data transmission and reception method comprising a; data relay mode for relaying data to another slave module.

이하, 본 발명에 따른 데이터 송수신장치 및 그 제어방법을 첨부도면을 참조하여 설명하면 다음과 같다.Hereinafter, a data transmission and reception apparatus and a control method thereof according to the present invention will be described with reference to the accompanying drawings.

도 2는 본 발명에 따른 데이터 송수신장치를 나타내는 도면이고, 도 3은 본 발명에 따른 마스터모듈의 통신제어 블록도이며, 도 4는 본 발명에 따른 슬레이브모듈의 통신제어 블록도이고, 도 5는 마스터모듈과 슬레이브모듈의 타이밍블록도이다.2 is a view showing a data transmission and reception apparatus according to the present invention, FIG. 3 is a communication control block diagram of a master module according to the present invention, FIG. 4 is a communication control block diagram of a slave module according to the present invention, and FIG. Timing block diagram of master module and slave module.

먼저 데이터 송수신장치는 마스터(Master)CPU(12)와 마스터스위칭부(14)를 구비한 마스터모듈(10)과, 슬레이브(Slave)CPU(30)와 복수개의 송수신모듈 및 슬레이브스위칭부(32)를 구비한 슬레이브모듈로 이루어진다.First, the data transceiver includes a master module 10 having a master CPU 12 and a master switching unit 14, a slave CPU 30, a plurality of transmission / reception modules, and a slave switching unit 32. It consists of a slave module having a.

여기서 마스터CPU(12)는 CTRL신호에 의해 제어신호를 생성하고, 마스터스위칭부(14)는 하나의 선로에 데이터송신부와 데이터수신부가 동시에 연결되어 각각의 제어신호 CTRL-Tx와 CTRL-Rx가 도 5의 타이밍블록도와 같이 작동하여 신호의 송수신이 수행된다.In this case, the master CPU 12 generates a control signal based on the CTRL signal, and the master switching unit 14 has a data transmitter and a data receiver connected to one line at the same time so that the respective control signals CTRL-Tx and CTRL-Rx are shown in FIG. Operation is performed as shown in the timing block diagram of 5 to perform transmission and reception of signals.

한편 슬레이브CPU(30)는 CTRL신호에 의해 제어신호를 생성하고, 송수신모듈은 각각 두쌍이 설치되며, 슬레이브스위칭부(32)는 절환가능하도록 설치된다.On the other hand, the slave CPU 30 generates a control signal by the CTRL signal, two pairs of transmission and reception modules are installed, and the slave switching unit 32 is installed to be switchable.

본 발명에 따른 데이터 송수신방법은 슬레이브CPU(30)에 데이터를 수신하는 데이터수신모드와, 슬레이브CPU(30)로부터 데이터를 송신하는 데이터송신모드와, 슬레이브CPU(30)로부터 출력되는 데이터를 다른 슬레이브모듈(20, 22, 24)에 중계하는 슬레이브중계모드로 이루어진다.In the data transmission / reception method according to the present invention, a data reception mode for receiving data to the slave CPU 30, a data transmission mode for transmitting data from the slave CPU 30, and data outputted from the slave CPU 30 to another slave. It consists of a slave relay mode relaying to the modules 20, 22, and 24.

데이터수신모드는 슬레이브모듈(20, 22, 24)의 마스터측수신부(34b)를 작동시키고 슬레이브측송신부(36a)의 작동을 중단하여 슬레이브CPU(30)에 데이터를 수신한다.In the data receiving mode, the master side receiver 34b of the slave modules 20, 22, and 24 is operated and the slave side transmitter 36a is stopped to receive data from the slave CPU 30.

즉, 마스터모듈(10)에서 데이터를 송신하는 경우로, 각 슬레이브모듈(20, 22, 24)의 마스터측수신부(34b)가 작동하고, 마스터모듈(10)의 슬레이브측송신부(14a)가 작동하여 슬레이브CPU(30)는 마스터측수신부(34b)에서 데이터를 수신한다. 한편, 데이터의 수신이 완료되면 데이터의 오류를 점검하고, 오류가 발생되면 데이터의 재송신을 요청하고, 오류가 발생되지 않으면 수신된 데이터를 분석하여 소정의 기능을 수행한다.That is, when the master module 10 transmits data, the master side receiver 34b of each slave module 20, 22, 24 operates, and the slave side transmitter 14a of the master module 10 operates. The slave CPU 30 receives the data from the master side receiver 34b. On the other hand, when the reception of the data is completed, the error of the data is checked, if an error occurs, retransmission of the data is requested, and if the error does not occur, the received data is analyzed to perform a predetermined function.

데이터송신모드는 슬레이브모듈(20, 22, 24)의 마스터측수신부(34b)의 작동을 중단하고 마스터측송신부(34a)를 작동시켜 슬레이브CPU(30)로부터 데이터를 송신한다.In the data transmission mode, the master side receiver 34b of the slave modules 20, 22, and 24 is stopped and the master side transmitter 34a is operated to transmit data from the slave CPU 30.

이 때, 슬레이브스위칭부(32)의 스위치를 1방향으로 절환하여 슬레이브CPU(30)가 CTRL-Tx의 단자를 통하여 데이터를 송출하도록 한다.At this time, the switch of the slave switching unit 32 is switched in one direction so that the slave CPU 30 transmits data through the terminal of the CTRL-Tx.

데이터중계모드는 슬레이브모듈(20, 22, 24)의 마스터측수신부(34b)의 작동을 중단하고 마스터측송신부(34a)를 작동시키며, 슬레이브측송신부(36a)의 작동을 중단하고 슬레이브측수신부(36b)를 작동시켜 슬레이브CPU(30)로부터 출력되는 데이터를 다른 슬레이브모듈(20, 22, 24)에 중계한다.The data relay mode stops the operation of the master side receiver 34b of the slave modules 20, 22, and 24, operates the master side transmitter 34a, stops the operation of the slave side transmitter 36a, and the slave side receiver ( 36b) is operated to relay data output from the slave CPU 30 to other slave modules 20, 22, and 24.

이 때, 슬레이브스위칭부(32)의 스위치를 2방향으로 절환하여 슬레이브모듈(20, 22, 24)에 놓인 두 쌍의 송신부(34a, 36a) 및 수신부(34b, 36b)의 제어신호들이 슬레이브CPU(30)에서 출력되는 제어신호에 의해 도 5와 같이 생성되도록 한다.At this time, the control signals of the two pairs of transmitters 34a, 36a and receivers 34b, 36b placed on the slave modules 20, 22, and 24 are switched by switching the switch of the slave switch 32 in two directions. By the control signal output from the 30 to generate as shown in FIG.

한편 슬레이브모듈(20, 22, 24)의 데이터중계모드 유지시간은 데이터의 양에 따라 적절하게 제어된다.On the other hand, the data relay mode holding time of the slave modules 20, 22, and 24 is appropriately controlled according to the amount of data.

본 발명에 따른 데이터 송수신방법은 선로의 최대길이가 길어져 장거리 데이터의 장거리 송수신이 가능해진다.In the data transmission / reception method according to the present invention, the maximum length of a line is long, so that long-distance data transmission and reception are possible.

또한 연결가능한 모듈의 갯수가 증대되어 더 많은 모듈 간에 데이터의 송수신이 가능해진다.
In addition, the number of connectable modules is increased to allow data to be transmitted and received between more modules.

Claims (1)

마스터모듈과 슬레이브모듈 사이에 데이터를 전달하는 데이터 송수신방법에 있어서,In the data transmission and reception method for transferring data between the master module and the slave module, 상기 슬레이브모듈의 마스터측수신부를 작동시키고 슬레이브측송신부의 작동을 중단하여 슬레이브CPU에 데이터를 수신하는 데이터수신모드;A data receiving mode for receiving data to the slave CPU by operating the master side receiver of the slave module and stopping the operation of the slave side transmitter; 상기 슬레이브모듈의 마스터측수신부의 작동을 중단하고, 스위치를 제 1방향으로 절환하여 마스터측송신부와 슬레이브CPU를 접속함으로써 데이터를 송신하는 데이터송신모드;A data transmission mode for stopping the operation of the master side receiver of the slave module, transferring the switch by connecting the master side transmitter and the slave CPU by switching the switch in the first direction; 상기 슬레이브모듈의 마스터측수신부의 작동을 중단하고 마스터측송신부를 작동시키며, 슬레이브측송신부의 작동을 중단하고 스위치를 제 2방향으로 절환하여 슬레이브측수신부와 마스터측송신부를 접속함으로써 슬레이브CPU로부터 출력되는 데이터를 다른 슬레이브모듈에 중계하는 데이터중계모드;를 포함하는 데이터 송수신방법.Output from the slave CPU by stopping the operation of the master side receiver of the slave module, operating the master side transmitter, stopping the operation of the slave side transmitter, switching the switch in the second direction, and connecting the slave side receiver and the master side transmitter; And a data relay mode for relaying data to another slave module.
KR1020030074146A 2003-10-23 2003-10-23 method for transmitting and receiving of data KR100562644B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030074146A KR100562644B1 (en) 2003-10-23 2003-10-23 method for transmitting and receiving of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030074146A KR100562644B1 (en) 2003-10-23 2003-10-23 method for transmitting and receiving of data

Publications (2)

Publication Number Publication Date
KR20050038854A KR20050038854A (en) 2005-04-29
KR100562644B1 true KR100562644B1 (en) 2006-03-20

Family

ID=37241171

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030074146A KR100562644B1 (en) 2003-10-23 2003-10-23 method for transmitting and receiving of data

Country Status (1)

Country Link
KR (1) KR100562644B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101944072B1 (en) * 2017-02-27 2019-01-30 (주)지씨아이 Measure apparatus for inspecting condition of optical line

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04273738A (en) * 1991-02-28 1992-09-29 Nec Corp Supervisory and controlling equipment
JPH09233108A (en) * 1996-02-22 1997-09-05 Mitsubishi Denki Bill Techno Service Kk Transmission system
KR20030090374A (en) * 2002-05-23 2003-11-28 삼성전자주식회사 Method and apparatus of networking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04273738A (en) * 1991-02-28 1992-09-29 Nec Corp Supervisory and controlling equipment
JPH09233108A (en) * 1996-02-22 1997-09-05 Mitsubishi Denki Bill Techno Service Kk Transmission system
KR20030090374A (en) * 2002-05-23 2003-11-28 삼성전자주식회사 Method and apparatus of networking

Also Published As

Publication number Publication date
KR20050038854A (en) 2005-04-29

Similar Documents

Publication Publication Date Title
CN105306126B (en) Method for the TDD repeater of wireless network and for running the repeater
CA2455586A1 (en) Mobile communication system, transmission station, reception station, relay station, communication path deciding method, and communication path deciding program
ATE317190T1 (en) METHOD AND COMMUNICATION STATION FOR TRANSMITTING DATA
US20060015223A1 (en) Communication architecture for a locomotive remote control system
US20080037987A1 (en) Communication/power network having out-of-band time and control signaling
KR100562644B1 (en) method for transmitting and receiving of data
KR100233261B1 (en) Method of switching 1+1 line protection using remote defect indication
US20060209679A1 (en) Transceiver, optical transmitter, port-based switching method, program, and storage medium
US10673603B2 (en) Integrated circuit with radio frequency interconnect
CN102148678A (en) Dual-path automatic full-redundancy transparent light transmission system
CN213461768U (en) Anti-interference system between equipment
KR100942108B1 (en) Apparatus for Processing RS-422 Communication using RS-485 Communication Interface
JP2005522938A5 (en)
KR0182643B1 (en) Uni global bus compatible apparatus
KR20010098279A (en) Device for Network Interface
KR101328505B1 (en) apparatus for controlling long-distance multi-path using RS-232C
JPH10324246A (en) Master/slave type transmission system
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
JP2002209014A (en) Information transmitter
CN116321452A (en) Multi-sensor wireless combining and branching method
CN117807009A (en) Three-in-one interface circuit, serial device and terminal equipment of serial port
KR100986428B1 (en) Infrared ray communication system
KR0184194B1 (en) Internal process transmission apparatus using btl logic
KR900004030B1 (en) Multi access network device
JPH04150432A (en) Data communication system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee