WO2009136731A2 - Clock generation method, an identifier issuing method and a data acquisition method - Google Patents
Clock generation method, an identifier issuing method and a data acquisition method Download PDFInfo
- Publication number
- WO2009136731A2 WO2009136731A2 PCT/KR2009/002377 KR2009002377W WO2009136731A2 WO 2009136731 A2 WO2009136731 A2 WO 2009136731A2 KR 2009002377 W KR2009002377 W KR 2009002377W WO 2009136731 A2 WO2009136731 A2 WO 2009136731A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- controller
- identifier
- communication data
- data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/05—Electric or magnetic storage of signals before transmitting or retransmitting for changing the transmission rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0652—Synchronisation among time division multiple access [TDMA] nodes, e.g. time triggered protocol [TTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
Definitions
- the present invention relates to a method for generating a clock, a method for providing an identifier, and a method for acquiring data, and more particularly, to a method and apparatus for generating a clock for communication between a controller for generating and outputting communication data and a device receiving communication data from the controller.
- FIG. 1 is a conceptual diagram illustrating a connection form between a controller and each device, the controller 110 having a function of generating and outputting communication data and analyzing received state information, and receiving and operating communication data from the controller 110.
- devices 120A, 120B, 120C, and 120D for transmitting status information.
- the devices 120A, 120B, 120C, and 120D herein refer to lighting devices that operate under the control of the controller 110.
- These devices 120A, 120B, 120C, and 120D are referred to as respective input ports ( in series) and the output port (marked as 'out' in the figure). At this time, the output port (out) of the last device (120D) is connected to the input port (in) of the controller 110.
- the controller 110 does not implement a function of reading a state value of a specific device, the last device 120D and the controller 110 do not need to be connected.
- a method of giving a unique identifier must insert a nonvolatile memory into each device to program before the product is applied.
- this method has problems in terms of cost of configuring non-volatile memory or multiple input ports and product management of how to program.
- the present invention is to solve the above problems, in the serially connected devices, each device generates a clock so that it can correctly communicate without installing a precise clock generator that operates constantly regardless of the external environment
- a clock generation method is a method for generating a clock for communication between a controller for generating and outputting communication data and a device receiving communication data from the controller, the communication in the controller Allocating clock generation command information to a communication protocol to output communication data; Counting the number of clocks generated from a built-in clock generator while receiving communication clock generation command information in a device receiving communication data; Dividing the counted clock number by a fixed value in a device; And generating a communication clock using the divided result in the device.
- a method for assigning an identifier comprising: assigning identifier information and identifier information about a identifier to a communication protocol in a controller and outputting communication data; In the device receiving the communication data, the communication state is stopped, the information on the identifier is set as the identifier of the identifier, and the communication data including the identifier confirmation command information and the information on the identifier added or subtracted from the fixed value is confirmed. And outputting to the device.
- a method of obtaining data comprising: assigning status value transfer command information and specific device information to a communication protocol at a controller and outputting communication data; Outputting communication data including a state value at the specific device when the device is identified as the specific device; And obtaining a state value of a specific device in the controller.
- the data acquisition method may determine whether or not a specific device is provided after assigning an identifier to the device by the identifier providing method.
- the present invention it is possible to efficiently generate a communication clock and communicate accurately by allocating information on a communication speed to a part of a communication protocol without having a precise clock generator, and without configuring a nonvolatile memory or multiple input ports.
- the identifier can be automatically assigned by assigning identifier assignment command information to a part of the communication protocol, and the information of a specific device can be obtained and effectively controlled by assigning the status value transfer command information to a part of the communication protocol. .
- FIG. 1 is a conceptual diagram illustrating a connection form between a controller and respective devices.
- FIG. 2 is a block diagram of an apparatus according to the invention.
- FIG. 3 is a communication protocol diagram for a command for transferring information from a controller to a device according to the present invention.
- FIG. 5 is a flowchart of a clock generation method according to the present invention.
- FIG. 6 is a detailed flowchart of FIG.
- FIG. 7 is a structural diagram of all information except a delimiter in a communication protocol used in the present invention.
- FIG. 8 is a communication protocol diagram for an identifier providing command according to the present invention.
- FIG. 9 is a flowchart illustrating a method for assigning an identifier according to the present invention.
- FIG. 10 is a communication protocol diagram for a data acquisition method according to the present invention.
- FIG. 11 is a flowchart of a data acquisition method according to the present invention.
- FIG. 2 is a block diagram of an apparatus according to the present invention
- FIG. 3 is a communication protocol diagram for a command for transferring information from a controller according to the present invention
- FIG. 4 is a communication protocol structure diagram used in the present invention
- FIG. Flow chart of a clock generation method according to the present invention Figure 6 is a detailed flowchart of FIG. 7 is a structural diagram of all information except the delimiter in the communication protocol used in the present invention.
- the apparatus includes a device unit 160 that performs a predetermined original function, a communication protocol controller 170 that analyzes, manipulates, and processes communication data received from the controller 110, and a clock that generates a clock.
- the communication protocol controller 170 analyzes the received communication data according to a predefined communication protocol and outputs a control signal according to the defined command. That is, an operation command is instructed to the device unit 160, and a communication clock generation command is instructed to the communication clock generator 190.
- the device unit 160 receives a state value.
- the clock generator 180 generates a clock that is not precise but is much faster than the communication speed.
- the communication clock generator 190 analyzes the communication data received when the communication clock generation command is received from the communication protocol controller 170 to generate a communication clock.
- FIG. 3 an output port (out) of the controller 110 and communication data exchanged between the input port (in) and the output port (out) of the devices 120A, 120B, 120C, and 120D are shown.
- the horizontal line is the time axis and shows two communication data 130A and 130B (indicated by 'frame' in the drawing) when time passes to the right.
- the communication data frame in FIG. 3 shows a command for transmitting information to a specific device.
- Each communication data frame consists of a header (hereinafter referred to as 'header') and a message (denoted as 'message' in the drawing).
- the communication data frame 130 includes a header and a message, and the header includes a delimiter 150 (indicated as 'break' in the drawing).
- Information 140A on the communication speed (indicated by 'sync' in the figure).
- the message is composed of a data length 140B (denoted as 'length' in the figure), a data type 140C (denoted as 'identifier' in the figure), and actual data 140D, 140E, and 140F. It is composed.
- the delimiter 150 is defined as a continuous zero of a given length as a signal indicating that a new communication protocol is started. This zero length determines the tolerance of the clock generator 180 of each of the devices 120A, 120B, 120C, 120D. For example, if the length of zero is at least 52 as the reference communication clock and each of the devices 120A, 120B, 120C, and 120D detects at least 25 zeros with the previously set communication clock, the tolerance of the clock generator 180 is +/- 30%.
- Information about the communication speed 140A is information on the communication speed to determine the communication speed during this period.
- Data length 140B has information about the length of data that follows, and data type 140C has information about the type of data that follows. This data type 140C is a command for what to do.
- a clock generation method will be described with reference to FIG. 5 as follows.
- the controller 110 allocates communication clock generation command information to a communication protocol to output communication data (S110).
- the device 120A receiving the communication data counts the number of clocks generated from the built-in clock generator 180 while receiving the communication clock generation command information (S120).
- the device 120A divides the counted clock number by a fixed value, and then generates a communication clock using the divided result value (S130) (S140).
- Information about the communication speed (140A) is always 55h (AAh in case of transmission from the upper bit), there are a total of four 1 to 0 (or 0 to 1).
- the communication protocol controller 170 of each of the devices 120A, 120B, 120C, and 120D issues a communication clock generation command during this period, and the communication clock generator 190 switches four times from 1 to 0 (or 0 to 0).
- each of the information 140A, 140B, 140C, 140D, 140E, and 140F includes 11 bits in case of 1 byte of data.
- the first bit is the start signal, which is always zero.
- the status of communication data is normally 1. It consists of eight bits of data, one parity bit, and an end bit that is always one.
- FIG. 8 is a communication protocol diagram for an identifier providing command according to the present invention
- FIG. 9 is a flowchart illustrating an identifier providing method according to the present invention.
- the output port (out) of the controller 110 for the command to automatically assign an identifier Shows communication data to and from. Similar to the communication protocol shown in Fig. 4, it includes delimiters, information on the communication speed, and data length.
- the controller 110 assigns an instruction to give an identifier to 140C, which is information on the type of data, and allocates information about the initial value of the identifier to 140D, which is actual data information, to output communication data (S210).
- the first device 120A stops the communication state by fixing the communication data to 1 as opposed to the general data transmission shown in FIG. 3 immediately after receiving the command (located at 140C) to give an identifier (S220).
- the terminal receives information (located at 140D) regarding the following identifier to be set as its own identifier (S230).
- the communication data including the identifier assignment command information and the information about the identifier determined by adding or subtracting a fixed value from the set identifier thereof is outputted to the second device 120B (S240).
- information about an identifier may be calculated by adding or subtracting a fixed value 1 from its identifier.
- the communication data is fixed to 1 immediately after receiving the command (positioned at 140C) to feed back to step S220 to give an identifier, and stops the communication state. ), It sets it as its own unique identifier, and then outputs the communication data including information about the confirmed identifier calculated by adding or subtracting a fixed value from the established own identifier to the third device 120C.
- the information about the identifier 140D is continuously added or decremented as the device passes through each of the devices 120A, 120B, 120C, and 120D, and each device 120A, 120B, 120C, or 120D is transmitted.
- the last device 120D outputs the controller 110 by adding or subtracting the last fixed value to the controller 110 so that the controller 110 can recognize how many devices are connected in total.
- FIG. 10 is a communication protocol diagram of a data acquisition method according to the present invention
- FIG. 11 is a flowchart illustrating a data acquisition method according to the present invention.
- the output port (out) of the controller 110 for the command to obtain the data of a particular device Shows communication data. Similar to the communication protocol shown in Fig. 4, it includes delimiters, information on the communication speed, and data length.
- the controller 110 assigns a command to deliver a status value to 140C, which is information on the type of data, and outputs a unique identifier of a specific device for which data is to be obtained, to 140D, which is actual data information, and outputs it (S310). .
- the corresponding specific device outputs communication data including the state value, and accordingly, the controller 110 obtains the state value of the specific device (S320) and (S330).
- the data acquisition method may determine whether or not a specific device is provided after assigning an identifier to the device by the identifier providing method.
- the unique identifier of a particular device refers to device 120B as 2.
- Devices 120A, 120C, and 120D that receive this communication data but do not coincide with the unique identifier maintain normal data transmission as shown in FIG. 3.
- the device 120B which matches the unique identifier, maintains normal data transmission as shown in FIG. 3 until the unique identifier 140D is input, but when the unique identifier 140D is input, its state The value is appended to the communication data by the number of data length minus 2. That is, all devices 120A located before the device 120B matching the unique identifier 140D output the communication data up to the unique identifier 140D, and the device matching the unique identifier 140D. All subsequent devices 120B, 120C, and 120D, including this, output communication data including the state value of the specific device 120B. Accordingly, the controller 110 obtains the state value of the specific device 120B.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Communication Control (AREA)
Abstract
The present invention relates to a method for generating a clock for communication between a controller generating and outputting communication data and a device receiving the communication data from the controller, the method comprising: the controller assigning communication-clock generation command information in a communication protocol to output communication data; the communication data-receiving device counting the number of clocks generated from a built-in clock generator, while receiving the communication-clock generation command information; the device dividing the number of clocks counted by a fixed value; and the device producing a communication clock by using a resulting value from the division. The present invention is advantageous in that communication speed related information can be assigned in a part of the communication protocol, without the use of a precision clock generator, so as to generate a communication clock in an effective way to attain accurate communication.
Description
본 발명은 클럭 발생 방법, 확인자 부여 방법 및 데이터 입수 방법에 관한 것으로서, 특히 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 통신 데이터를 입력받는 장치 사이의 통신을 위한 클럭을 발생하는 방법, 장치에 확인자를 부여하는 방법 및 특정 장치의 데이터를 입수하는 방법에 관한 것이다. The present invention relates to a method for generating a clock, a method for providing an identifier, and a method for acquiring data, and more particularly, to a method and apparatus for generating a clock for communication between a controller for generating and outputting communication data and a device receiving communication data from the controller. A method of giving an identifier and a method of obtaining data of a particular device.
도 1은 컨트롤러와 각 장치들간의 연결 형태를 보여주는 개념도로서, 통신 데이터를 발생시켜 출력하며 입력받은 상태 정보를 분석하는 기능을 가진 컨트롤러(110)와, 컨트롤러(110)로부터 통신 데이터를 입력받아 작동하고 상태 정보를 전송하는 장치들(120A, 120B, 120C, 120D)로 구성된다. 여기서의 장치들(120A, 120B, 120C, 120D)은 컨트롤러(110)의 통제 하에 작동하는 조명 장치 등을 의미한다.이들 장치들(120A, 120B, 120C, 120D)은 각 입력 포트(도면에서 'in'으로 표시)와 출력 포트(도면에서 'out'으로 표시)를 통하여 체인 형식으로 직렬 연결된다. 이 때, 마지막 장치(120D)의 출력 포트(out)는 컨트롤러(110)의 입력 포트(in)와 연결된다. 컨트롤러(110)에서 어느 특정 장치의 상태값을 읽어들이는 기능을 구현하지 않을 경우에는 마지막 장치(120D)와 컨트롤러(110)는 연결되지 않아도 된다. 1 is a conceptual diagram illustrating a connection form between a controller and each device, the controller 110 having a function of generating and outputting communication data and analyzing received state information, and receiving and operating communication data from the controller 110. And devices 120A, 120B, 120C, and 120D for transmitting status information. The devices 120A, 120B, 120C, and 120D herein refer to lighting devices that operate under the control of the controller 110. These devices 120A, 120B, 120C, and 120D are referred to as respective input ports ( in series) and the output port (marked as 'out' in the figure). At this time, the output port (out) of the last device (120D) is connected to the input port (in) of the controller 110. When the controller 110 does not implement a function of reading a state value of a specific device, the last device 120D and the controller 110 do not need to be connected.
한편, 직렬 연결된 장치에서 필수적인 정보를 전달하거나, 특정한 옵션 변경 정보를 전달하거나, 혹은 장치의 상태를 읽어내기 위해서는 우선적으로 각 장치에 고유한 확인자가 부여되어야 하며, 어떠한 일을 할 것인지에 대한 명령어와 그에 따른 데이터로 이루어진 통신 규약이 사전에 정의되어야 한다. 또한 올바른 통신을 하기 위해서는 어떤 속도로 통신을 할 것인지에 대한 정보가 사전에 정의되어야 한다.On the other hand, in order to convey essential information, transmit specific option change information, or read the status of a device in a serially connected device, a unique identifier must be given to each device. The communication protocol consisting of the data according to this should be defined in advance. Also, in order to communicate properly, information about the speed at which communication is to be made must be defined in advance.
그리고, 직렬 연결된 장치에서 통신 규약을 이용하여 원하는 정보를 각 장치에 전달하고자 하는 경우, 통신 속도가 사전에 정의되어야 하며 그 속도에 맞추어 원하는 정보를 전달해야 한다. 그런데, 이를 지원하기 위해서는 각 장치에 외부 환경(온도, 동작 전압, 제품 오차 등)과 관계없이 일정하게 동작하는 정밀한 클럭 발생기를 설치해야 함으로써 고비용이 문제점이 있었다. And, if you want to deliver the desired information to each device using the communication protocol in the serially connected devices, the communication speed must be defined in advance and the desired information must be delivered according to the speed. However, in order to support this, there is a problem in that a high cost is required by installing a precise clock generator that operates constantly regardless of the external environment (temperature, operating voltage, product error, etc.).
또한, 일반적으로 고유한 확인자를 부여하는 방법에 있어서, 각 장치에 비휘발성 메모리를 삽입하여 제품이 적용되기 전에 프로그래밍을 해야 한다. 혹은 비휘발성 메모리 대신에 여러 개의 입력 포트를 구성하여 제품이 적용되기 전에 입력 포트에 프로그래밍을 해야 한다. 그런데, 이러한 방법은 비휘발성 메모리나 여러 개의 입력 포트를 구성해야 하는 비용적인 문제와, 어떻게 프로그래밍을 했는지에 대한 제품 관리 측면에서의 문제점이 있었다. In addition, in general, a method of giving a unique identifier must insert a nonvolatile memory into each device to program before the product is applied. Alternatively, instead of configuring nonvolatile memory, you can configure multiple input ports and program the input ports before they can be applied. However, this method has problems in terms of cost of configuring non-volatile memory or multiple input ports and product management of how to program.
이에 본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 직렬 연결된 장치에서, 각 장치에 외부 환경과 관계없이 일정하게 동작하는 정밀한 클럭 발생기를 설치하지 않고서도 올바르게 통신을 수행할 수 있도록 클럭을 발생하는 방법을 제공하고, 또한 비휘발성 메모리나 여러 개의 입력 포트를 구성하지 않고서도 각 장치에 고유한 확인자를 부여하는 방법을 제공하고, 또한 특정한 장치에서 데이터를 효과적으로 입수할 수 있는 방법을 제공하는데 그 목적이 있다. Accordingly, the present invention is to solve the above problems, in the serially connected devices, each device generates a clock so that it can correctly communicate without installing a precise clock generator that operates constantly regardless of the external environment To provide a method, to provide a unique identifier for each device without configuring nonvolatile memory or multiple input ports, and to provide a method for effectively obtaining data from a specific device. There is this.
상기와 같은 목적을 달성하기 위하여 본 발명에 따른 클럭 발생 방법은, 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 통신 데이터를 입력받는 장치 사이의 통신을 위한 클럭을 발생하는 방법으로서, 컨트롤러에서 통신 클럭 발생 명령 정보를 통신 규약에 할당하여 통신 데이터를 출력하는 단계와; 통신 데이터를 입력받는 장치에서 통신 클럭 발생 명령 정보를 입력받는 동안 내장된 클럭 발생기로부터 발생되는 클럭 수를 카운트하는 단계와; 장치에서 상기 카운트된 클럭 수를 고정된 값으로 나누는 단계와; 장치에서 상기 제산된 결과값을 이용하여 통신 클럭을 만들어내는 단계를 포함하여 이루어진 것을 특징으로 한다. In order to achieve the above object, a clock generation method according to the present invention is a method for generating a clock for communication between a controller for generating and outputting communication data and a device receiving communication data from the controller, the communication in the controller Allocating clock generation command information to a communication protocol to output communication data; Counting the number of clocks generated from a built-in clock generator while receiving communication clock generation command information in a device receiving communication data; Dividing the counted clock number by a fixed value in a device; And generating a communication clock using the divided result in the device.
또한, 상기와 같은 목적을 달성하기 위하여 본 발명에 따른 확인자 부여 방법은, 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 입력되는 통신 데이터를 순차적으로 전송할 수 있도록 나란히 연결된 복수의 장치에서의 장치에 확인자를 부여하는 방법으로서, 컨트롤러에서 확인자 부여 명령 정보 및 확인자에 관한 정보를 통신 규약에 할당하여 통신 데이터를 출력하는 단계와; 통신 데이터를 입력받은 장치에서 통신 상태를 정지시키고, 확인자에 관한 정보를 자신의 확인자로 설정한 후, 확인자 부여 명령 정보 및 자신의 확인자에서 고정값을 가감한 확인자에 관한 정보를 포함한 통신 데이터를 다음 장치로 출력하는 단계를 포함하여 이루어진 것을 특징으로 한다. In addition, in order to achieve the above object, the identifier providing method according to the present invention, the controller for generating and outputting the communication data and the device in a plurality of devices connected side by side so as to sequentially transmit the communication data input from the controller CLAIMS 1. A method for assigning an identifier, comprising: assigning identifier information and identifier information about a identifier to a communication protocol in a controller and outputting communication data; In the device receiving the communication data, the communication state is stopped, the information on the identifier is set as the identifier of the identifier, and the communication data including the identifier confirmation command information and the information on the identifier added or subtracted from the fixed value is confirmed. And outputting to the device.
또한, 상기와 같은 목적을 달성하기 위하여 본 발명에 따른 데이터 입수 방법은, 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 입력되는 통신 데이터를 순차적으로 전송할 수 있도록 나란히 연결된 복수의 장치에서의 특정 장치의 데이터를 입수하는 방법으로서, 컨트롤러에서 상태값 전달 명령 정보 및 특정 장치 정보를 통신 규약에 할당하여 통신 데이터를 출력하는 단계와; 특정 장치로 확인되면, 해당되는 특정 장치에서 상태값을 포함한 통신 데이터를 출력하는 단계와; 컨트롤러에서 특정 장치의 상태값을 입수하는 단계를 포함하여 이루어진 것을 특징으로 한다. In addition, in order to achieve the above object, a data acquisition method according to the present invention, a controller for generating and outputting communication data, and a specific device in a plurality of devices connected side by side to sequentially transmit communication data input from the controller CLAIMS 1. A method of obtaining data, comprising: assigning status value transfer command information and specific device information to a communication protocol at a controller and outputting communication data; Outputting communication data including a state value at the specific device when the device is identified as the specific device; And obtaining a state value of a specific device in the controller.
여기에서, 상기 데이터 입수 방법은, 상기 확인자 부여 방법에 의해, 장치에 확인자를 부여한 후 특정 장치 여부를 확인할 수 있다.Herein, the data acquisition method may determine whether or not a specific device is provided after assigning an identifier to the device by the identifier providing method.
본 발명에 따르면, 정밀한 클럭 발생기를 구비하지 않고서도 통신 규약 중 일부에 통신 속도에 대한 정보를 할당함으로써 통신 클럭을 효과적으로 생성하여 정확하게 통신할 수 있고, 비휘발성 메모리나 여러 개의 입력 포트를 구성하지 않고서도 통신 규약 중 일부에 확인자 부여 명령 정보를 할당함으로써 자동으로 확인자를 부여할 수 있고, 통신 규약 중 일부에 상태값 전달 명령 정보를 할당함으로써 특정 장치의 정보를 입수하여 효과적으로 제어할 수 있는 잇점이 있다.According to the present invention, it is possible to efficiently generate a communication clock and communicate accurately by allocating information on a communication speed to a part of a communication protocol without having a precise clock generator, and without configuring a nonvolatile memory or multiple input ports. Also, the identifier can be automatically assigned by assigning identifier assignment command information to a part of the communication protocol, and the information of a specific device can be obtained and effectively controlled by assigning the status value transfer command information to a part of the communication protocol. .
도 1은 컨트롤러와 각 장치들간의 연결 형태를 보여주는 개념도. 1 is a conceptual diagram illustrating a connection form between a controller and respective devices.
도 2는 본 발명에 따른 장치의 블록도. 2 is a block diagram of an apparatus according to the invention.
도 3은 본 발명에 따른 컨트롤러에서 장치로 정보를 전달하는 명령에 대한 통신 규약도. 3 is a communication protocol diagram for a command for transferring information from a controller to a device according to the present invention.
도 4는 본 발명에 사용되는 통신 규약 구조도. 4 is a structure of a communication protocol used in the present invention.
도 5는 본 발명에 따른 클럭 발생 방법에 대한 흐름도. 5 is a flowchart of a clock generation method according to the present invention;
도 6은 도 5의 상세 흐름도. 6 is a detailed flowchart of FIG.
도 7은 본 발명에 사용되는 통신 규약 중 구획 문자를 제외한 모든 정보에 대한 구조도. 7 is a structural diagram of all information except a delimiter in a communication protocol used in the present invention.
도 8은 본 발명에 따른 확인자 부여 명령에 대한 통신 규약도. 8 is a communication protocol diagram for an identifier providing command according to the present invention.
도 9는 본 발명에 따른 확인자 부여 방법에 대한 흐름도. 9 is a flowchart illustrating a method for assigning an identifier according to the present invention.
도 10은 본 발명에 따른 데이터 입수 방법에 대한 통신 규약도. 10 is a communication protocol diagram for a data acquisition method according to the present invention.
도 11은 본 발명에 따른 데이터 입수 방법에 대한 흐름도. 11 is a flowchart of a data acquisition method according to the present invention.
이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명하기로 한다. Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.
도 2는 본 발명에 따른 장치의 블록도, 도 3은 본 발명에 따른 컨트롤러에서 장치로 정보를 전달하는 명령에 대한 통신 규약도, 도 4는 본 발명에 사용되는 통신 규약 구조도, 도 5는 본 발명에 따른 클럭 발생 방법에 대한 흐름도, 도 6은 도 5의 상세 흐름도. 도 7은 본 발명에 사용되는 통신 규약 중 구획 문자를 제외한 모든 정보에 대한 구조도이다. 2 is a block diagram of an apparatus according to the present invention, FIG. 3 is a communication protocol diagram for a command for transferring information from a controller according to the present invention, FIG. 4 is a communication protocol structure diagram used in the present invention, and FIG. Flow chart of a clock generation method according to the present invention, Figure 6 is a detailed flowchart of FIG. 7 is a structural diagram of all information except the delimiter in the communication protocol used in the present invention.
도 2에 도시한 바와 같이, 장치는 정해진 본래 기능을 수행하는 장치부(160), 컨트롤러(110)로부터 입력받은 통신 데이터를 분석 및 조작, 처리하는 통신 규약 제어부(170), 클럭을 발생시키는 클럭 발생기(180) 및 통신 클럭을 발생시키는 통신 클럭 발생기(190)로 구성된다. 통신 규약 제어부(170)에서는 사전에 정의된 통신 규약대로 입력받은 통신 데이터를 분석하고, 정의된 명령어에 따라 제어 신호를 출력한다. 즉, 장치부(160)로 작동 명령을 지시하고, 통신 클럭 발생기(190)로 통신 클럭 발생 명령을 지시한다. 또한, 장치부(160)로부터 상태값을 수신한다. 클럭 발생기(180)는 정밀하지는 않지만 통신 속도보다는 월등히 빠른 클럭을 발생시킨다. 통신 클럭 발생기(190)는 통신 규약 제어부(170)로부터 통신 클럭 발생 명령을 받았을 때에 입력받은 통신 데이터를 분석하여 통신 클럭을 발생시킨다. As shown in FIG. 2, the apparatus includes a device unit 160 that performs a predetermined original function, a communication protocol controller 170 that analyzes, manipulates, and processes communication data received from the controller 110, and a clock that generates a clock. Generator 180 and a communication clock generator 190 for generating a communication clock. The communication protocol controller 170 analyzes the received communication data according to a predefined communication protocol and outputs a control signal according to the defined command. That is, an operation command is instructed to the device unit 160, and a communication clock generation command is instructed to the communication clock generator 190. In addition, the device unit 160 receives a state value. The clock generator 180 generates a clock that is not precise but is much faster than the communication speed. The communication clock generator 190 analyzes the communication data received when the communication clock generation command is received from the communication protocol controller 170 to generate a communication clock.
도 3의 경우, 컨트롤러(110)의 출력 포트(out)와, 각 장치들(120A, 120B, 120C, 120D)의 입력 포트(in)와 출력 포트(out)에서 주고받는 통신 데이터를 보여 준다. 가로선이 시간축이며, 오른쪽으로 시간이 경과할 때 두 개의 통신 데이터(130A, 130B)(도면에서 'frame'으로 표시)를 나타낸다. 도 3에서의 통신 데이터(frame)는 특정한 장치에 정보를 전달하는 명령에 대해 보여준다. 각 통신 데이터(frame)는 헤더(이하 'header'로 표시)와 메시지(도면에서 'message'로 표시)로 구성된다. 컨트롤러(110)의 출력 포트(out)로부터 첫번째 장치(120A)의 입력 포트(in)까지는 네트웍 상태에 따른 지연이 존재하며, 장치(120A)의 입력 포트(in)로부터 출력 포트(out)까지는 통신 규약 제어부(170)에 따른 지연이 존재한다. 장치들(120A, 120B, 120C, 120D)로의 일반적인 데이터 전송의 경우에는 도 3과 같이 거의 지연이 없으며, 상태값을 컨트롤러(110)로 전송받을 때나 확인자를 부여할 때에는 1개의 데이터 길이만큼 지연이 생긴다. 이하 반복적으로 각 포트를 지날 때마다 유사한 지연이 따른다. In FIG. 3, an output port (out) of the controller 110 and communication data exchanged between the input port (in) and the output port (out) of the devices 120A, 120B, 120C, and 120D are shown. The horizontal line is the time axis and shows two communication data 130A and 130B (indicated by 'frame' in the drawing) when time passes to the right. The communication data frame in FIG. 3 shows a command for transmitting information to a specific device. Each communication data frame consists of a header (hereinafter referred to as 'header') and a message (denoted as 'message' in the drawing). There is a delay depending on the network condition from the output port (out) of the controller 110 to the input port (in) of the first device (120A), and communication from the input port (in) to the output port (out) of the device (120A) There is a delay according to the protocol control unit 170. In the case of general data transmission to the devices 120A, 120B, 120C, and 120D, there is almost no delay as shown in FIG. 3, and there is a delay of one data length when a status value is transmitted to the controller 110 or an identifier is given. Occurs. A similar delay follows each time through each port repeatedly.
도 4에 도시한 바와 같이, 통신 데이터(frame)(130)는 헤더(header)와 메시지(message)로 구성되며, 헤더(header)는 구획 문자(150)(도면에서 'break'로 표시)와 통신 속도에 대한 정보(140A)(도면에서 'sync'로 표시)로 구성된다. 그리고, 메시지(message)는 데이터의 길이(140B)(도면에서 'length'로 표시)와 데이터 종류(140C)(도면에서 'identifier'로 표시), 그리고 실제 데이터들(140D, 140E, 140F)로 구성된다.As shown in FIG. 4, the communication data frame 130 includes a header and a message, and the header includes a delimiter 150 (indicated as 'break' in the drawing). Information 140A on the communication speed (indicated by 'sync' in the figure). The message is composed of a data length 140B (denoted as 'length' in the figure), a data type 140C (denoted as 'identifier' in the figure), and actual data 140D, 140E, and 140F. It is composed.
구획 문자(150)는 새로운 통신 규약이 시작됨을 알리는 신호로써 주어진 길이만큼의 연속된 0으로 정의된다. 이 0의 길이에 따라 각 장치들(120A, 120B, 120C, 120D)의 클럭 발생기(180)의 허용 오차가 결정된다. 예를 들어 0의 길이가 기준 통신 클럭으로 최소 52개이고, 각 장치들(120A, 120B, 120C, 120D)이 이전에 설정된 통신 클럭으로 최소 25개의 0을 검출한다면 클럭 발생기(180)의 허용 오차는 +/-30%가 된다.The delimiter 150 is defined as a continuous zero of a given length as a signal indicating that a new communication protocol is started. This zero length determines the tolerance of the clock generator 180 of each of the devices 120A, 120B, 120C, 120D. For example, if the length of zero is at least 52 as the reference communication clock and each of the devices 120A, 120B, 120C, and 120D detects at least 25 zeros with the previously set communication clock, the tolerance of the clock generator 180 is +/- 30%.
통신 속도에 대한 정보(140A)는 통신 속도에 대한 정보로써 이 기간 동안 통신 속도를 결정한다. 데이터 길이(140B)는 뒤따르는 데이터의 길이에 대한 정보를 갖으며, 데이터 종류(140C)는 뒤따르는 데이터의 종류에 대한 정보를 갖는다. 이 데이터 종류(140C)가 어떠한 일을 할 것인지에 대한 명령어이다. Information about the communication speed 140A is information on the communication speed to determine the communication speed during this period. Data length 140B has information about the length of data that follows, and data type 140C has information about the type of data that follows. This data type 140C is a command for what to do.
도 5를 참조하여 본 발명에 따른 클럭 발생 방법을 설명하면 다음과 같다. 먼저, 컨트롤러(110)에서 통신 클럭 발생 명령 정보를 통신 규약에 할당하여 통신 데이터를 출력한다(S110). 그러면, 통신 데이터를 입력받은 장치(120A)에서는 통신 클럭 발생 명령 정보를 입력받는 동안 내장된 클럭 발생기(180)로부터 발생되는 클럭 수를 카운트한다(S120). 마지막으로, 해당 장치(120A)에서는 카운트되는 클럭 수를 고정된 값으로 나눈 후에, 제산된 결과값을 이용하여 통신 클럭을 만들어낸다(S130),(S140). A clock generation method according to the present invention will be described with reference to FIG. 5 as follows. First, the controller 110 allocates communication clock generation command information to a communication protocol to output communication data (S110). Then, the device 120A receiving the communication data counts the number of clocks generated from the built-in clock generator 180 while receiving the communication clock generation command information (S120). Finally, the device 120A divides the counted clock number by a fixed value, and then generates a communication clock using the divided result value (S130) (S140).
도 6에 대하여 설명하면 다음과 같다. 통신 속도에 대한 정보(140A)는 항상 55h (상위 비트부터 전송할 경우에는 AAh)의 값으로써 총 4개의 1에서 0으로의 전환(혹은 0에서 1로의 전환)이 있다. 각 장치들(120A, 120B, 120C, 120D)의 통신 규약 제어부(170)는 이 기간 동안 통신 클럭 발생 명령을 내리고, 통신 클럭 발생기(190)는 총 4번의 1에서 0으로의 전환(혹은 0에서 1로의 전환) 동안 클럭 발생기(180)로부터 입력받은 클럭의 수를 센다. 이후 앞에서 센 클럭의 수를 정해진 값(제수)으로 나누고, 그 몫만큼의 클럭마다 통신 클럭을 반전시켜서 통신 규약 제어부(170)에 전달한다. 만약 통신 데이터 중 한 비트 동안 한 번 샘플링을 할 것이라면 제수는 4로 설정하고, 두 번 샘플링 할 것이라면 제수는 8로, 세 번 샘플링 할 것이라면 제수는 12로 설정한다. 즉 한 비트 동안 샘플링 할 횟수의 4의 배수로 설정한다. Referring to Figure 6 as follows. Information about the communication speed (140A) is always 55h (AAh in case of transmission from the upper bit), there are a total of four 1 to 0 (or 0 to 1). The communication protocol controller 170 of each of the devices 120A, 120B, 120C, and 120D issues a communication clock generation command during this period, and the communication clock generator 190 switches four times from 1 to 0 (or 0 to 0). The number of clocks received from the clock generator 180 during the conversion to 1). Thereafter, the number of clocks counted above is divided by a predetermined value (divisor), and the communication clock is inverted for each clock as much as the quotient and transferred to the communication protocol controller 170. If you are sampling once for one bit of communication data, set the divisor to 4; if you are sampling twice, set the divisor to 8; if you are sampling three times, set the divisor to 12. That is, it is set to a multiple of 4 of the number of times to sample for one bit.
도 7의 경우, 각 정보들(140A, 140B, 140C, 140D, 140E, 140F)은 1바이트 길이의 데이터일 경우 11개의 비트로 구성된다. 첫 비트는 시작을 알리는 신호로 항상 0이다. 참고로 평상시에 통신 데이터의 상태는 1이다. 그리고 데이터 8 비트와 패리티 비트 1개, 항상 1인 종료 비트로 구성된다. In the case of FIG. 7, each of the information 140A, 140B, 140C, 140D, 140E, and 140F includes 11 bits in case of 1 byte of data. The first bit is the start signal, which is always zero. For reference, the status of communication data is normally 1. It consists of eight bits of data, one parity bit, and an end bit that is always one.
도 8은 본 발명에 따른 확인자 부여 명령에 대한 통신 규약도, 도 9는 본 발명에 따른 확인자 부여 방법에 대한 흐름도이다. 8 is a communication protocol diagram for an identifier providing command according to the present invention, and FIG. 9 is a flowchart illustrating an identifier providing method according to the present invention.
도 8의 경우, 자동으로 확인자를 부여하는 명령에 대한 컨트롤러(110)의 출력 포트(out)와, 각 장치들(120A, 120B, 120C, 120D)의 입력 포트(in)와 출력 포트(out)에서 주고받는 통신 데이터를 보여준다. 도 4에 도시한 통신 규약과 마찬가지로 구획 문자와 통신 속도에 대한 정보, 데이터 길이를 포함한다. In the case of Figure 8, the output port (out) of the controller 110 for the command to automatically assign an identifier, the input port (in) and output port (out) of each device (120A, 120B, 120C, 120D) Shows communication data to and from. Similar to the communication protocol shown in Fig. 4, it includes delimiters, information on the communication speed, and data length.
도 9를 참조하여 본 발명에 따른 비휘발성 메모리나 여러 개의 입력 포트 없이 자동으로 고유한 확인자를 부여하는 방법을 설명하면 다음과 같다. 먼저, 컨트롤러(110)에서 확인자를 부여하라는 명령어를 데이터의 종류에 대한 정보인 140C에 할당하고, 확인자의 초기값에 관한 정보를 실제 데이터 정보인 140D에 할당하여 통신 데이터를 출력한다(S210). 그러면, 첫번째 장치(120A)는 확인자를 부여하라는 명령어(140C에 위치)를 전달받은 즉시 도 3에 도시한 일반적인 데이터 전송과 달리 통신 데이터를 1로 고정시켜 통신 상태를 정지시킨다(S220). 계속해서, 이어져 들어오는 확인자에 관한 정보(140D에 위치)를 입력받아 자신의 고유한 확인자로 설정한다(S230). A method of automatically assigning a unique identifier without a nonvolatile memory or multiple input ports according to the present invention will be described with reference to FIG. 9. First, the controller 110 assigns an instruction to give an identifier to 140C, which is information on the type of data, and allocates information about the initial value of the identifier to 140D, which is actual data information, to output communication data (S210). Then, the first device 120A stops the communication state by fixing the communication data to 1 as opposed to the general data transmission shown in FIG. 3 immediately after receiving the command (located at 140C) to give an identifier (S220). Subsequently, the terminal receives information (located at 140D) regarding the following identifier to be set as its own identifier (S230).
그리고, 확인자 부여 명령 정보 및 설정된 자신의 확인자에서 고정값을 가감하여 산출된 확인자에 관한 정보를 포함한 통신 데이터를 두번째 장치(120B)로 출력한다(S240). 예컨대, 자신의 확인자에서 고정값 1을 더하거나 빼서 확인자에 관한 정보를 산출할 수 있다. 두번째 장치(120B)의 경우, 상기 S220단계로 피드백하여 확인자를 부여하라는 명령어(140C에 위치)를 전달받은 즉시 통신 데이터를 1로 고정시켜 통신 상태를 정지시키며, 이후 확인자에 관한 정보(140D에 위치)를 받으면 이를 자신의 고유한 확인자로 설정한 후, 설정된 자신의 확인자에서 고정값을 가감하여 산출된 확인자에 관한 정보를 포함한 통신 데이터를 세번째 장치(120C)로 출력하게 된다. Then, the communication data including the identifier assignment command information and the information about the identifier determined by adding or subtracting a fixed value from the set identifier thereof is outputted to the second device 120B (S240). For example, information about an identifier may be calculated by adding or subtracting a fixed value 1 from its identifier. In the case of the second device 120B, the communication data is fixed to 1 immediately after receiving the command (positioned at 140C) to feed back to step S220 to give an identifier, and stops the communication state. ), It sets it as its own unique identifier, and then outputs the communication data including information about the confirmed identifier calculated by adding or subtracting a fixed value from the established own identifier to the third device 120C.
이러한 작업을 반복함으로써 확인자에 관한 정보(140D)는 각 장치들(120A, 120B, 120C, 120D)을 지날 때마다 계속 고정값만큼 가감되어 전달되며, 각 장치들(120A, 120B, 120C, 120D)은 가감된 확인자에 관한 정보(140D에 위치)를 자신의 고유한 확인자로 설정하게 되는 것이다. 만약 장치가 총 N개 연결되었다면 마지막 장치(120D)의 입력 포트(in)에는 확인자의 초기값에 (N-1)이라는 고정값이 가감되어 140D에 할당되어 입력된다. 또한 마지막 장치(120D)는 여기에 마지막으로 고정값을 가감하여 컨트롤러(110)로 출력함으로써 컨트롤러(110)에서는 총 몇 개의 장치가 연결되었는지를 인식할 수 있게 된다. By repeating this operation, the information about the identifier 140D is continuously added or decremented as the device passes through each of the devices 120A, 120B, 120C, and 120D, and each device 120A, 120B, 120C, or 120D is transmitted. Sets the unique identifier (located at 140D) about the added identifier as its own identifier. If a total of N devices are connected, a fixed value of (N-1) is added to the input port (in) of the last device (120D) and assigned to the 140D. In addition, the last device 120D outputs the controller 110 by adding or subtracting the last fixed value to the controller 110 so that the controller 110 can recognize how many devices are connected in total.
도 10은 본 발명에 따른 데이터 입수 방법에 대한 통신 규약도, 도 11은 본 발명에 따른 데이터 입수 방법에 대한 흐름도이다. 10 is a communication protocol diagram of a data acquisition method according to the present invention, and FIG. 11 is a flowchart illustrating a data acquisition method according to the present invention.
도 10의 경우, 특정 장치의 데이터를 입수하라는 명령에 대한 컨트롤러(110)의 출력 포트(out)와, 각 장치들(120A, 120B, 120C, 120D)의 입력 포트(in)와 출력 포트(out)에서 주고받는 통신 데이터를 보여준다. 도 4에 도시한 통신 규약과 마찬가지로 구획 문자와 통신 속도에 대한 정보, 데이터 길이를 포함한다. In the case of Figure 10, the output port (out) of the controller 110 for the command to obtain the data of a particular device, the input port (in) and output port (out) of each device (120A, 120B, 120C, 120D) ) Shows communication data. Similar to the communication protocol shown in Fig. 4, it includes delimiters, information on the communication speed, and data length.
도 11을 참조하여 본 발명에 따른 특정 장치의 데이터를 입수하는 방법을 설명하면 다음과 같다. 먼저, 컨트롤러(110)에서 상태값을 전달하라는 명령어를 데이터의 종류에 대한 정보인 140C에 할당하고, 데이터 입수를 원하는 특정 장치의 고유한 확인자를 실제 데이터 정보인 140D에 할당하여 출력한다(S310). Referring to Figure 11 describes a method of obtaining data of a specific device according to the present invention. First, the controller 110 assigns a command to deliver a status value to 140C, which is information on the type of data, and outputs a unique identifier of a specific device for which data is to be obtained, to 140D, which is actual data information, and outputs it (S310). .
그리고, 특정 장치로 확인되면, 해당되는 특정 장치에서는 상태값을 포함한 통신 데이터를 출력하고, 이에 따라 컨트롤러(110)에서는 특정 장치의 상태값을 입수하게 된다(S320),(S330). 여기에서, 상기 데이터 입수 방법은, 상기 확인자 부여 방법에 의해, 장치에 확인자를 부여한 후 특정 장치 여부를 확인할 수 있다. In addition, if it is confirmed as the specific device, the corresponding specific device outputs communication data including the state value, and accordingly, the controller 110 obtains the state value of the specific device (S320) and (S330). Herein, the data acquisition method may determine whether or not a specific device is provided after assigning an identifier to the device by the identifier providing method.
도 10을 참조하여 구체적인 예를 들어 설명하면 다음과 같다. 도 10에서 특정 장치의 고유한 확인자는 2로써 장치(120B)를 가리킨다. 이러한 통신 데이터를 입력받되 고유한 확인자와 일치하지 않는 장치들(120A, 120C, 120D)은 도 3에 도시한 바와 같이 일반적인 데이터 전송을 유지한다. 그러나, 고유한 확인자와 일치하는 장치(120B)는 고유한 확인자(140D)가 입력되기전까지는 도 3에 도시한 바와 같이 일반적인 데이터 전송을 유지하지만, 고유한 확인자(140D)가 입력되면 자신의 상태값을 데이터 길이의 정보에서 2를 뺀 수만큼 통신 데이터에 이어 붙인다. 즉 고유한 확인자(140D)와 일치하는 장치(120B)의 이전에 위치하는 모든 장치(120A)는 고유한 확인자(140D)까지의 통신 데이터를 출력하고, 고유한 확인자(140D)와 일치하는 장치를 포함하여 이후에 위치하는 모든 장치들(120B, 120C, 120D)은 특정한 장치(120B)의 상태값을 포함한 통신 데이터를 출력하는 것이다. 이에 따라, 컨트롤러(110)에서는 특정 장치(120B)의 상태값을 입수하게 되는 것이다. A detailed example will be described with reference to FIG. 10 as follows. In FIG. 10, the unique identifier of a particular device refers to device 120B as 2. Devices 120A, 120C, and 120D that receive this communication data but do not coincide with the unique identifier maintain normal data transmission as shown in FIG. 3. However, the device 120B, which matches the unique identifier, maintains normal data transmission as shown in FIG. 3 until the unique identifier 140D is input, but when the unique identifier 140D is input, its state The value is appended to the communication data by the number of data length minus 2. That is, all devices 120A located before the device 120B matching the unique identifier 140D output the communication data up to the unique identifier 140D, and the device matching the unique identifier 140D. All subsequent devices 120B, 120C, and 120D, including this, output communication data including the state value of the specific device 120B. Accordingly, the controller 110 obtains the state value of the specific device 120B.
한편, 본 발명에 따른 클럭 발생 방법, 확인자 부여 방법 및 데이터 입수 방법을 한정된 실시예에 따라 설명하였지만, 본 발명의 범위는 특정 실시예에 한정되는 것은 아니며, 본 발명과 관련하여 통상의 지식을 가진자에게 자명한 범위내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있다. Meanwhile, although the clock generation method, the identifier providing method, and the data obtaining method according to the present invention have been described according to a limited embodiment, the scope of the present invention is not limited to the specific embodiment, and the present invention has ordinary knowledge in connection with the present invention. Many alternatives, modifications and variations can be made without departing from the scope of the disclosure.
Claims (4)
- 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 통신 데이터를 입력받는 장치 사이의 통신을 위한 클럭을 발생하는 방법으로서, A method of generating a clock for communication between a controller for generating and outputting communication data and a device receiving communication data from the controller,컨트롤러에서 통신 클럭 발생 명령 정보를 통신 규약에 할당하여 통신 데이터를 출력하는 단계와; Assigning, by the controller, communication clock generation command information to a communication protocol to output communication data;통신 데이터를 입력받는 장치에서 통신 클럭 발생 명령 정보를 입력받는 동안 내장된 클럭 발생기로부터 발생되는 클럭 수를 카운트하는 단계와; Counting the number of clocks generated from a built-in clock generator while receiving communication clock generation command information in a device receiving communication data;장치에서 상기 카운트된 클럭 수를 고정된 값으로 나누는 단계와; Dividing the counted clock number by a fixed value in a device;장치에서 상기 제산된 결과값을 이용하여 통신 클럭을 만들어내는 단계를 포함하여 이루어진 것을 특징으로 하는 클럭 발생 방법. And generating a communication clock using the divided result value in the apparatus.
- 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 입력되는 통신 데이터를 순차적으로 전송할 수 있도록 나란히 연결된 복수의 장치에서의 장치에 확인자를 부여하는 방법으로서, A method of assigning an identifier to a controller for generating and outputting communication data and a device in a plurality of devices connected side by side to sequentially transmit communication data input from the controller,컨트롤러에서 확인자 부여 명령 정보 및 확인자에 관한 정보를 통신 규약에 할당하여 통신 데이터를 출력하는 단계와; Allocating identifier identification command information and information on the identifier to a communication protocol in a controller and outputting communication data;통신 데이터를 입력받은 장치에서 통신 상태를 정지시키고, 확인자에 관한 정보를 자신의 확인자로 설정한 후, 확인자 부여 명령 정보 및 자신의 확인자에서 고정값을 가감한 확인자에 관한 정보를 포함한 통신 데이터를 다음 장치로 출력하는 단계를 포함하여 이루어진 것을 특징으로 하는 확인자 부여 방법. In the device receiving the communication data, the communication state is stopped, the information on the identifier is set as the identifier of the identifier, and the communication data including the identifier confirmation command information and the information on the identifier added or subtracted from the fixed value is confirmed. And a step of outputting to the device.
- 통신 데이터를 발생시켜 출력하는 컨트롤러와, 컨트롤러로부터 입력되는 통신 데이터를 순차적으로 전송할 수 있도록 나란히 연결된 복수의 장치에서의 특정 장치의 데이터를 입수하는 방법으로서, A method for obtaining data of a specific device from a plurality of devices connected side by side so as to sequentially transmit communication data inputted from the controller and a controller for generating and outputting communication data,컨트롤러에서 상태값 전달 명령 정보 및 특정 장치 정보를 통신 규약에 할당하여 통신 데이터를 출력하는 단계와; Assigning state value transfer command information and specific device information to a communication protocol and outputting communication data in a controller;특정 장치로 확인되면, 해당되는 특정 장치에서 상태값을 포함한 통신 데이터를 출력하는 단계와; Outputting communication data including a state value at the specific device when the device is identified as the specific device;컨트롤러에서 특정 장치의 상태값을 입수하는 단계를 포함하여 이루어진 것을 특징으로 하는 데이터 입수 방법. And obtaining a state value of a specific device from the controller.
- 청구항 3에 있어서 상기 데이터 입수 방법은, The method according to claim 3, wherein the data acquisition method,청구항 2에 기재된 확인자 부여 방법에 의해, 장치에 확인자를 부여한 후 특정 장치 여부를 확인하는 것을 특징으로 하는 데이터 입수 방법. The method for acquiring data according to claim 2, wherein the device is confirmed whether or not a specific device is provided after the device is assigned an identifier.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2008-0042689 | 2008-05-08 | ||
KR20080042689 | 2008-05-08 | ||
KR10-2009-0000865 | 2009-01-06 | ||
KR1020090000865A KR20090117597A (en) | 2008-05-08 | 2009-01-06 | Method for clock generation, identifier allowance and data receipt |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2009136731A2 true WO2009136731A2 (en) | 2009-11-12 |
WO2009136731A3 WO2009136731A3 (en) | 2010-02-18 |
Family
ID=41265156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2009/002377 WO2009136731A2 (en) | 2008-05-08 | 2009-05-06 | Clock generation method, an identifier issuing method and a data acquisition method |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2009136731A2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020059381A (en) * | 2000-06-30 | 2002-07-12 | 오가와 에이지 | Display unit communication system, communication method, display unit, communication circuit, and terminal adapter |
KR20050098142A (en) * | 2004-04-06 | 2005-10-11 | 삼성전자주식회사 | Electronic device for communicating with host through serial communication interface |
KR20070070760A (en) * | 2005-12-29 | 2007-07-04 | 주식회사 팬택앤큐리텔 | Mobile communication terminal and method for setting transfer rate according to amount of data |
KR100811884B1 (en) * | 2006-05-23 | 2008-03-10 | 한국전자통신연구원 | Multi-mode open-loop type clock extracting apparatus |
-
2009
- 2009-05-06 WO PCT/KR2009/002377 patent/WO2009136731A2/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020059381A (en) * | 2000-06-30 | 2002-07-12 | 오가와 에이지 | Display unit communication system, communication method, display unit, communication circuit, and terminal adapter |
KR20050098142A (en) * | 2004-04-06 | 2005-10-11 | 삼성전자주식회사 | Electronic device for communicating with host through serial communication interface |
KR20070070760A (en) * | 2005-12-29 | 2007-07-04 | 주식회사 팬택앤큐리텔 | Mobile communication terminal and method for setting transfer rate according to amount of data |
KR100811884B1 (en) * | 2006-05-23 | 2008-03-10 | 한국전자통신연구원 | Multi-mode open-loop type clock extracting apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2009136731A3 (en) | 2010-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2039786C (en) | Ring communication system | |
US4161786A (en) | Digital bus communications system | |
US20190146944A1 (en) | Dynamically adjustable multi-line bus shared by multi-protocol devices | |
US6072804A (en) | Ring bus data transfer system | |
CN105323131A (en) | Network, head subscriber and data transmission method | |
US5235593A (en) | Ring latency timer | |
CN111587560B (en) | Master-slave bus system and method for operating a bus system | |
CN106533976B (en) | data packet processing method and device | |
US5070501A (en) | Token passing type slotted loop network system with means for enabling high speed access control and simple frame slot stripping | |
US8812764B2 (en) | Apparatus installing devices controlled by MDIO or SPI protocol and method to control the same | |
WO2009136731A2 (en) | Clock generation method, an identifier issuing method and a data acquisition method | |
KR100390689B1 (en) | A ring bus data transfer system | |
US6044085A (en) | Method for arbitrating for access to a control channel in a data bus system | |
EP0185093B1 (en) | Data transfer equipment | |
KR20090117597A (en) | Method for clock generation, identifier allowance and data receipt | |
WO1980000883A1 (en) | Time multiplex controlled data system | |
KR101275640B1 (en) | Programmable logic controller using multiple buses | |
CN110505038B (en) | Data transmission method and related device | |
CN110663230B (en) | Local bus master and method for operating a local bus | |
WO2020197006A1 (en) | Plc extension module interface method using multi-drop serial communication technique | |
JP3074598B2 (en) | Data exchange device | |
KR100211059B1 (en) | Polling address control apparatus and method thereof | |
CN114911736A (en) | Master-slave machine system | |
KR100869785B1 (en) | System for address assignment of battery pack and method thereof | |
KR100363451B1 (en) | Access arbitration method for control channel in data bus system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09742837 Country of ref document: EP Kind code of ref document: A2 |
|
NENP | Non-entry into the national phase in: |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 09742837 Country of ref document: EP Kind code of ref document: A2 |