WO2009136731A2 - Procédé de génération d'horloge, procédé d'émission d'identificateur et procédé d'acquisition de données - Google Patents

Procédé de génération d'horloge, procédé d'émission d'identificateur et procédé d'acquisition de données Download PDF

Info

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
Application number
PCT/KR2009/002377
Other languages
English (en)
Korean (ko)
Other versions
WO2009136731A3 (fr
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
Priority claimed from KR1020090000865A external-priority patent/KR20090117597A/ko
Application filed by 주식회사 테라칩스 filed Critical 주식회사 테라칩스
Publication of WO2009136731A2 publication Critical patent/WO2009136731A2/fr
Publication of WO2009136731A3 publication Critical patent/WO2009136731A3/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/05Electric or magnetic storage of signals before transmitting or retransmitting for changing the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0652Synchronisation among time division multiple access [TDMA] nodes, e.g. time triggered protocol [TTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed 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

La présente invention concerne un procédé de génération d'horloge pour une communication entre un contrôleur générant et produisant en sortie des données de communication et un dispositif recevant ces données de communication en provenance du contrôleur. Ce procédé comprend les étapes suivantes : le contrôleur attribue des informations de commande de génération d'horloge de communication dans un protocole de communication pour produire en sortie des données de communication; le dispositif de réception de données de communication compte le nombre d'horloges générées à partir d'un générateur d'horloge intégré, et reçoit simultanément les informations de commande de génération d'horloge de communication; le dispositif divise le nombre d'horloges comptées par une valeur fixe, et le dispositif produit une horloge de communication par utilisation d'une valeur résultant de cette division. La présente invention est intéressante dans la mesure où les informations relatives à la vitesse de communication peuvent être attribuées dans une partie du protocole de communication, sans utiliser un générateur d'horloge de précision, afin de générer une horloge de communication de manière efficace pour obtenir une communication précise..
PCT/KR2009/002377 2008-05-08 2009-05-06 Procédé de génération d'horloge, procédé d'émission d'identificateur et procédé d'acquisition de données WO2009136731A2 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20080042689 2008-05-08
KR10-2008-0042689 2008-05-08
KR1020090000865A KR20090117597A (ko) 2008-05-08 2009-01-06 클럭 발생 방법, 확인자 부여 방법 및 데이터 입수 방법
KR10-2009-0000865 2009-01-06

Publications (2)

Publication Number Publication Date
WO2009136731A2 true WO2009136731A2 (fr) 2009-11-12
WO2009136731A3 WO2009136731A3 (fr) 2010-02-18

Family

ID=41265156

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2009/002377 WO2009136731A2 (fr) 2008-05-08 2009-05-06 Procédé de génération d'horloge, procédé d'émission d'identificateur et procédé d'acquisition de données

Country Status (1)

Country Link
WO (1) WO2009136731A2 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020059381A (ko) * 2000-06-30 2002-07-12 오가와 에이지 디스플레이유닛통신시스템, 통신방법, 디스플레이유닛,통신회로 및 터미널어댑터
KR20050098142A (ko) * 2004-04-06 2005-10-11 삼성전자주식회사 직렬 통신 인터페이스를 통해 호스트와 통신하는 전자 장치
KR20070070760A (ko) * 2005-12-29 2007-07-04 주식회사 팬택앤큐리텔 데이터 양에 따라 전송 속도를 세팅하는 이동통신 단말기및 그 방법
KR100811884B1 (ko) * 2006-05-23 2008-03-10 한국전자통신연구원 다중 모드 개방형 클럭 추출 장치

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020059381A (ko) * 2000-06-30 2002-07-12 오가와 에이지 디스플레이유닛통신시스템, 통신방법, 디스플레이유닛,통신회로 및 터미널어댑터
KR20050098142A (ko) * 2004-04-06 2005-10-11 삼성전자주식회사 직렬 통신 인터페이스를 통해 호스트와 통신하는 전자 장치
KR20070070760A (ko) * 2005-12-29 2007-07-04 주식회사 팬택앤큐리텔 데이터 양에 따라 전송 속도를 세팅하는 이동통신 단말기및 그 방법
KR100811884B1 (ko) * 2006-05-23 2008-03-10 한국전자통신연구원 다중 모드 개방형 클럭 추출 장치

Also Published As

Publication number Publication date
WO2009136731A3 (fr) 2010-02-18

Similar Documents

Publication Publication Date Title
CA2039786C (fr) Systeme de communication en anneau
US4161786A (en) Digital bus communications system
JPH02156750A (ja) 多重アクセス制御方法および該方法を実施する多重アクセス制御システム
US5235593A (en) Ring latency timer
CN111587560B (zh) 主从总线系统和用于运行总线系统的方法
CN105323131A (zh) 网络、首用户及数据传输方法
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 (fr) Procédé de génération d'horloge, procédé d'émission d'identificateur et procédé d'acquisition de données
KR100390689B1 (ko) 링버스데이터전송시스템
US6044085A (en) Method for arbitrating for access to a control channel in a data bus system
CN115589398A (zh) I2c地址分配方法及计算设备
KR20090117597A (ko) 클럭 발생 방법, 확인자 부여 방법 및 데이터 입수 방법
WO1980000883A1 (fr) Systeme de controle de donnees a multiplex de temps
KR101275640B1 (ko) 다수의 버스를 이용하는 논리연산 제어장치
CN110505038B (zh) 一种数据传输方法及相关装置
CN110663230B (zh) 本地总线主机以及运行本地总线的方法
WO2020197006A1 (fr) Procédé d'interface de module d'extension plc utilisant une technique de communication en série multipoint
JP3074598B2 (ja) データ交換装置
CN114911736A (zh) 一种主从机系统
KR100869785B1 (ko) 전지팩의 어드레스 할당 시스템 및 그 방법
KR100363451B1 (ko) 데이터버스시스템내의제어채널에대한엑세스중재방법
RU57533U1 (ru) Устройство автоматического присвоения адресов абонентам мультиплексного канала обмена данными
KR100220518B1 (ko) 카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템
KR19980083753A (ko) 마스터-슬레이브간의 멀티플렉싱 프로토콜

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