KR100220518B1 - The data structure od car lan system and clock adjusting system using that - Google Patents

The data structure od car lan system and clock adjusting system using that Download PDF

Info

Publication number
KR100220518B1
KR100220518B1 KR1019970031629A KR19970031629A KR100220518B1 KR 100220518 B1 KR100220518 B1 KR 100220518B1 KR 1019970031629 A KR1019970031629 A KR 1019970031629A KR 19970031629 A KR19970031629 A KR 19970031629A KR 100220518 B1 KR100220518 B1 KR 100220518B1
Authority
KR
South Korea
Prior art keywords
data
node
master
data structure
priority
Prior art date
Application number
KR1019970031629A
Other languages
Korean (ko)
Other versions
KR19990009282A (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 KR1019970031629A priority Critical patent/KR100220518B1/en
Publication of KR19990009282A publication Critical patent/KR19990009282A/en
Application granted granted Critical
Publication of KR100220518B1 publication Critical patent/KR100220518B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mechanical Engineering (AREA)

Abstract

본 발명은 카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템에 관한 것으로, 데이터송수신에 따른 시작을 알리는 에스오에프와, 데이터의 충돌이 발생할 경우 우선순위에 따라 하위레벨의 데이터를 삭제하기 위한 프라이어러티와, 수신하고자 하는 노드를 지칭하기 위한 수신노드와, 송신하고자 하는 노드를 지칭하는 송신노드와, 송수신노드가 결정되면 해당 노드의 기능모드를 설정하는 커멘드와, 이 기능모드로부터 동작을 제어하는 데이터와, 통신상의 데이터 에러를 체크하는 씨알씨와, 데이터의 완료를 표시하기 위한 이오디로 구성됨으로써, 이 데이터구조를 통해 마스터가 각각의 노드로 일정 시간간격을 두고 시계보정 데이터를 전송하도록 하여 사용자가 항시 정확한 시간을 확인할 수 있도록 한다.The present invention relates to a data structure of a car LAN system and a clock correction system using the same. The present invention relates to SFO which informs the start of data transmission and reception, and a priority for deleting data at a lower level according to priority when data collision occurs. And a receiving node for indicating a node to receive, a transmitting node for indicating a node to transmit, a command for setting a function mode of the corresponding node when the transmitting / receiving node is determined, and data for controlling operation from the function mode. And a CD to check for data errors on the communication, and an audio to indicate the completion of the data. The data structure allows the master to transmit clock correction data to each node at a predetermined time interval. Make sure to check the exact time at all times.

Description

카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템Data Structure of Car LAN System and Clock Calibration System Using It

본 발명은 카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템에 관한 것으로, 특히 각 노드(NODE)의 데이터 동시 전송시 헤더(HEADER)의 우선 순위로부터 특정 데이터가 선택됨을 방지하고 순차적으로 데이터를 처리할 수 있는 카 랜 시스템을 이용하므로써, 노드별로 사용되고 있는 시계를 자동으로 보정할 수 있도록 하는 카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템에 관한 것이다.The present invention relates to a data structure of a car lan system and a clock correction system using the same. In particular, when data is simultaneously transmitted from each node (NODE), specific data is prevented from being selected from the priority of the header and the data is sequentially processed. The present invention relates to a data structure of a car system and a clock correction system using the car system that can automatically correct a clock being used for each node by using a car system that can be used.

일반적으로 카 랜 시스템에서 사용되는 데이터의 통신방법은 제이 1850 버스 프로토콜(J1850 BUS PROTOCOL)을 이용하여 데이터 송.수신을 수행하는데, 이는 데이터 버스에 병렬로 접속된 각각의 노드(NODE)와 데이터 통신을 위한 것이다. 그러면 이와 같은 구성을 도 1을 참고로하여 구체적으로 설명하면 다음과 같다.In general, the data communication method used in a car LAN system uses the J1850 BUS PROTOCOL to perform data transmission and reception, which communicates with each node (NODE) connected in parallel to the data bus. It is for. This configuration is described in detail with reference to FIG. 1 as follows.

먼저, 시스템을 전반적으로 총괄하기 위해 각 노드별로 데이터를 인가받아 이를 처리하는 마스터(70:MASTER)가 구비되고, 이 마스터(70)의 제어하에 데이터를 송수신하기 위한 제이1850 인터페이스 카드(71:J1850 INTERFACE CARD)가 직렬 접속된다. 그러면 이 제이1850 인터페이스 카드(71)를 거쳐 입출력되는 데이터는, 각각의 노드로 병렬인가되어 상기 마스터(70)로부터 해당 코드가 입력될 때, 이에 따른 데이터 유출입을 인에이블시킬 수 있게 된다. 또한 각각의 노드에 구성되는 제이1850 인터페이스 카드(72)(73)(74)에는 개별적으로 마이크로 콘트롤러(MICROCONTROLLER) 예컨대, A/C 콘트롤러(75), 카오디오 콘트롤러(76) 및 전장 콘트롤러(77)등이 유기적으로 연결되어 있다. 그래서 상기 마스터(70)로부터 특정 데이터가 인가되면 이 데이터에 상응하는 노드가 수신을 하여 특정 구동을 수행하는 것이다.First, a master 70 (MASTER) for receiving data for each node and processing the same is provided for overall control of the system. The J1850 interface card (71: J1850) for transmitting and receiving data under the control of the master 70 is provided. INTERFACE CARD) is connected in series. Then, the data input and output via the J1850 interface card 71 is applied in parallel to each node, when the corresponding code is input from the master 70, it is possible to enable the data flow in and out accordingly. In addition, the J1850 interface cards 72, 73, and 74 configured at each node are individually provided with a microcontroller, such as an A / C controller 75, a car audio controller 76, and a full-length controller 77. Etc. are organically connected. Thus, when specific data is applied from the master 70, the node corresponding to the data receives and performs specific driving.

그리고 상기 마스터(70)에는, 정확한 타이밍으로 시스템을 운영하기 위한 타이머(78)가 구성되어 일정 펄스의 클럭을 인가하고 있다.The master 70 is configured with a timer 78 for operating the system at a precise timing to apply a clock of a constant pulse.

여기서 상기 구성에 따른 실시예를 설명하면, 예컨대 상기 마스터(70)가 카오디오의 기능을 콘트롤하기 위한 데이터를 제이1850 버스라인을 통해 전송할 경우, 먼저 상기 타이머(78)로부터 클럭펄스를 인가받아 데이터의 동기를 이루게 된다. 그러면 상기 마스터(70)는 제이1850 인터페이스 카드(71)를 통해 카오디오의 제어신호를 출력시키고, 이에 따라 출력되는 데이터는 각 노드로 인가되지만 상기 제어신호에는 카오디오의 수신코드와 제어코드가 포함되어 있어 제 2노드를 구성하고 있는 상기 제이1850 인터페이스 카드(73)만이 데이터를 수신하는 것이다. 그리고 연이어 수신되는 제어코드로부터 제 2노드에 내장된 상기 카오디오 콘트롤러(76)는 수신데이터에 따른 특정 기능을 수행하도록 제어하는 것이다.In the following description, the master 70 transmits data for controlling the function of the car audio through the J1850 busline, and receives the clock pulse from the timer 78 first. Will be motivated. Then, the master 70 outputs a control signal of a car audio through the J1850 interface card 71, and the output data is applied to each node, but the control signal includes a reception code and a control code of the car audio. Only the second 1850 interface card 73 constituting the second node receives data. The car audio controller 76 embedded in the second node is subsequently controlled to perform a specific function according to the received data.

한편, 상기 구성에 의한 데이터 신호는 제이1850 버스라인(J1850 BUSLINE)을 통해 상호 통신이 이루어지는데, 만약 각 노드에서 동시 다발적으로 데이터가 출력되더라도 상기 마스터(70)는 소정의 규칙에 따라 입력데이터를 처리하게 된다. 이러한 데이터 처리방법은 도 2b에 도시되는데, 먼저 도 2a로부터 데이터의 구조를 살펴보면 다음과 같다.On the other hand, the data signal according to the configuration is mutually communicated through the J1850 BUSLINE (J1850 BUSLINE), even if the data is output multiple times at each node, the master 70 is input data according to a predetermined rule Will be processed. This data processing method is illustrated in FIG. 2B. First, the structure of data from FIG. 2A will be described.

우선, 데이터의 연속적인 전송을 위해 처음과 끝을 알리는 에스오에프(SOF : START OF FRAME)와 이오디(EOD : END OF DATA)가 데이터의 양끝에 위치하고, 이러한 데이터가 각 노드로 또는 각 노드로부터 입출력될 때 해당 노드를 식별하기 위한 헤더(HEADER)가 에스오에프에 이어 출력된다. 이후 이어지는 클럭펄스는 데이터로써, 해당 기능을 콘트롤하기 위한 것이며 다음으로는 씨알씨(CRC : CYCLIC REDUNDANCY CHECK)라는 데이터 에러체크용 펄스가 가미된 후 상기 이오디를 끝으로 데이터가 구성된다.First of all, the beginning and end of SOF and EOD END OF DATA are located at both ends of the data for continuous transmission of data. When input and output, the header (HEADER) for identifying the node is output after SFO. Subsequent clock pulses are data to control a corresponding function. Next, the data is configured after the audio after a data error check pulse called CRC (CYCLIC REDUNDANCY CHECK) is added.

그러면 상기와 같은 구성의 데이터가 각각의 노드에서 상기 마스터(70)로 동시에 전송되면, 이 마스터(70)는 어느 일측의 데이터만을 인가받아 처리하는데, 도 2b에 도시된 바와 같이 상기 헤더를 통한 우선순위를 결정하는 것이다. 이를 보다 구체적으로 설명하면,Then, when the data having the above configuration is simultaneously transmitted from each node to the master 70, the master 70 receives and processes only one side of the data, and the priority through the header as shown in FIG. To determine the ranking. In more detail,

노드A와 노드B의 에스오에프가 동기됨과 동시에 후속데이터로 헤더의 데이터가 전송되고 있다. 이 헤더 데이터는 이미 언급된 바와 같이 각 노드를 식별하기 위한 데이터로 해당 노드에 따른 소정의 비트로 형성되는데, 이는 중요노드에 따라 상위개념을 가지고 있는 것이다. 따라서 각 노드에서 발송되는 데이터는 헤더 데이터의 우선순위에 따라 하위 개념의 데이터가 삭제된다. 즉, 노드A에서 발송되는 데이터가 노드B에서 발송되는 데이터보다 상위의 개념을 포함한다면, 제이1850 버스에 실리는 데이터는 노드A의 데이터로써 상기 마스터(70)는 이 데이터만을 수용하게 되는 것이다.At the same time as the node S of Node A and Node B are synchronized, the data of the header is transmitted as subsequent data. As mentioned above, this header data is data for identifying each node, and is formed of predetermined bits according to the corresponding node, which has a higher concept according to an important node. Therefore, data sent from each node is deleted according to the priority of header data. That is, if the data sent from the node A includes a concept higher than the data sent from the node B, the data on the J1850 bus is the data of the node A and the master 70 accepts only this data.

여기서 상위 개념의 데이터를 우선적으로 처리한다는 것은, 하위 개념의 데이터는 상기 마스터의 데이터 처리가 완료될 때 까지 대기하고 있어야 하며, 더욱이 각 노드에서 동시 다발적인 데이터 전송시 최하위 개념의 노드에서는 장시간 대기가 필연적이다. 따라서 마스터로부터 각각의 노드로 데이터 전송이 동시에 이루어질 수 없게 되므로 특정 노드에 부가설치된 다수개의 시계를 동시에 보정함은 불가능하여 카 랜 시스템을 사용하면서도 시계보정은 사용자가 직접 셋팅해야 하는 불편한 점이 발생한다.Here, the priority processing of the data of the upper concept means that the data of the lower concept should wait until the data processing of the master is completed, and furthermore, if the node of the lowest concept has a long time waiting at the same time for multiple data transmissions from each node, It is inevitable. Therefore, since data cannot be transmitted from the master to each node at the same time, it is impossible to simultaneously calibrate a plurality of clocks installed in a specific node. Therefore, the user needs to set the clock correction manually while using the caran system.

이에 본 발명은 이와 같은 문제점을 보완하기 위해 안출된 것으로, 특정 노드에 구비된 시계보정시 마스터가 각 노드로 일정 주기마다 보정신호를 출력하도록 하여 카 랜 시스템에 의한 시간 보정이 자동적으로 이루어질 수 있는 카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve such a problem, and when the clock is provided in a specific node, the master outputs a correction signal to each node at regular intervals so that time correction by the caran system can be automatically performed. The purpose is to provide a data structure of a car system and a clock correction system using the same.

이와 같은 목적을 이루기 위한 본 발명은, 프로토콜상의 데이터에 송수신 노드 및 코멘드 데이터를 포함시키고, 마스터의 수신데이터가 헤더데이터의 우선순위로부터 인가됨을 제거하여 각 노드와 마스터간의 균등한 통신이 이루어지도록 구성한 후 마스터가 각각의 노드로 시간 데이터를 일정 주기마다 송신하여 시간 보정이 자동 셋팅되도록 함을 특징으로 한다.In order to achieve the above object, the present invention includes transmitting / receiving node and command data in the data on the protocol, and removing the master data from the priority of the header data so that the communication between each node and the master is performed. After that, the master transmits time data to each node at regular intervals so that time correction is automatically set.

도 1은 카 랜 시스템의 구성도이고,1 is a configuration diagram of a car LAN system,

도 2a는 종래 카 랜 시스템의 데이터 구조를 나타낸 도면이며,2A is a diagram illustrating a data structure of a conventional car LAN system.

도 2b는 종래 카 랜 시스템의 데이터 우선순위를 나타낸 도면이고,2b is a diagram illustrating data priorities of a conventional car LAN system.

도 3은 본 발명에 따른 카 랜 시스템이며,3 is a car LAN system according to the present invention,

도 4는 본 발명의 데이터 구조이고,4 is a data structure of the present invention,

도 5는 본 발명에 의한 데이터 송신을 나타낸 다이어그램이다.5 is a diagram showing data transmission according to the present invention.

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

1 : 마스터 2 : 마스터용 제이1850 인터페이스 카드1: Master 2: J1850 Interface Card for Master

3 : 제 1노드용 제이1850 인터페이스 카드3: J1850 interface card for the first node

4 : 제 2노드용 제이1850 인터페이스 카드4: J1850 Interface Card for Second Node

5 : 제 N노드용 제이1850 인터페이스 카드5: J1850 interface card for Nth node

6 : 에어컨 콘트롤러 7 : 카오디오 콘트롤러6: air conditioner controller 7: car audio controller

8 : 전장 콘트롤러 9 : 타이머8: battlefield controller 9: timer

10 : 카오디오용 시간 디스플레이 11 : 전장용 시간 디스플레이10: time display for car audio 11: time display for battlefield

이에 본 발명을 첨부된 도면을 참조로하여 구체적으로 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명에 따라 설명될 실시예의 구성은 도 3에 따라 시스템을 전반적으로 총괄하기 위해 각 노드별로 데이터를 인가받아 이를 처리하는 마스터(1:MASTER)가 구비되고, 이 마스터(1)의 제어하에 데이터를 송수신하기 위한 제이1850 인터페이스 카드(2:J1850 INTERFACE CARD)가 직렬 접속된다. 그러면 이 제이1850 인터페이스 카드(2)를 거쳐 입출력되는 데이터는, 각각의 노드로 병렬인가되어 상기 마스터(1)로부터 해당 코드가 입력될 때, 이에 따른 데이터 유출입을 인에이블시킬 수 있게 된다. 또한 각각의 노드에 구성되는 제이1850 인터페이스 카드(3)(4)(5)에는 개별적으로 마이크로 콘트롤러(MICROCONTROLLER) 예컨대, A/C 콘트롤러(6), 카오디오 콘트롤러(7) 및 전장 콘트롤러(8)등이 유기적으로 연결되어 있다. 또한 카오디오 콘트롤러(7)의 제어신호에 따라 시각을 출력시키는 카오디오용 시간 디스플레이(10)와 전장 콘트롤러(8)의 제어신호에 따라 별도의 시각을 출력시키는 전장용 시간 디스플레이(11)로 구성된다.First, the configuration of the embodiment to be described in accordance with the present invention is provided with a master (MASTER 1: MASTER) for receiving and processing data for each node in order to overall control the system according to Figure 3, the control of this master (1) The J1850 interface card 2: J1850 INTERFACE CARD for transmitting and receiving data is serially connected. Then, the data input and output via the J1850 interface card 2 is applied in parallel to each node, and when the corresponding code is input from the master 1, it is possible to enable the data flow in and out accordingly. In addition, the J1850 interface cards 3, 4, and 5 configured at each node are individually provided with a microcontroller such as an A / C controller 6, a car audio controller 7, and a full length controller 8. Etc. are organically connected. In addition, it consists of a time display 10 for car audio output time according to the control signal of the car audio controller 7 and a full time display 11 for outputting a separate time according to the control signal of the electronic controller 8 do.

그리고 상기 마스터(1)에는, 정확한 타이밍으로 시스템을 운영하기 위한 타이머(9)가 구성되어 일정 펄스의 클럭을 인가하고 있다.The master 1 is configured with a timer 9 for operating the system at a precise timing, and applies a clock of a constant pulse.

여기서 상기와 같은 구성과 더불어 마스터(1)와 노드간의 통신을 위한 데이터의 구조를 도 4로써 나타내며, 해당 설명은 다음과 같다.In addition to the configuration as described above, the structure of the data for communication between the master 1 and the node is shown in Figure 4, the description is as follows.

상호 통신을 위한 데이터의 일개 프레임의 시작데이터는 에스오에프(SOF : START OF FRAME)로 시작되고, 이어서 마스터(1)와 다수개의 노드중 일측노드와의 데이터충돌이 발생할 경우 우선순위에 따라 하위레벨의 데이터를 삭제하기 위한 프라이어러티(PRIORITY)가 위치하며, 이후 수신하고자 하는 수신노드 및 송신하고자 하는 송신노드의 데이터를 싣는다. 그리고 송수신 노드가 결정되면 해당 노드의 기능을 제어하는 커멘드(COMMAND)와, 데이터(DATA)가 구성되며 또한, 상기 데이터 통신을 원활히 하기 위한 에러체크용 씨알씨(CRC : CYCLIC REDUNDANCY CHECK)데이터가 상기 데이터(DATA)에 이어 활용되고, 이오디(EOD : END OF DATA)를 끝으로 한 개의 데이터 프레임이 구성되는 것이다.Start data of one frame of data for mutual communication starts with SOF (START OF FRAME), and then lower level according to priority in case of data conflict between master (1) and one of a plurality of nodes. Priority (PRIORITY) for deleting the data is located, and then the data of the receiving node and the transmitting node to receive. When the transmit / receive node is determined, a command COMMAND and data DATA are configured to control the function of the node, and the error check CCR data for smoothing the data communication is CRC: CYCLIC REDUNDANCY CHECK It is utilized after the data, and one data frame is formed by ending END OF DATA (EOD).

그러면 상기와 같은 데이터구조에 의한 데이터 통신방법을 나타낸 다이어그램이 도 5에 보여지는데, 이는 상기 마스터(1)와 각각의 노드의 송수신 타이밍을 표현한 것이다. 더불어 제이1850 버스라인(J1850 BUS LINE)에 실리는 데이터의 흐름도 도시된다.Then, a diagram showing a data communication method using the above data structure is shown in FIG. 5, which represents the transmission / reception timing of each node with the master 1. In addition, a flow diagram of the data on the J1850 BUS LINE is shown.

여기서 세 개의 노드가 구비된 카 랜 시스템을 실시예로 함에 있어, 상기 마스터(1)의 제어신호는 각각의 노드를 순차적으로 인에이블시키는 데이터흐름으로 도시되는데, 제이1850 버스라인상의 데이터충돌을 방지하기 위한 것이다. 그리고 각각의 노드는 상기 마스터(1)로부터 해당 노드를 지칭받을 때 데이터 통신이 이루어지는 것이다. 즉, 마스터(1)가 제 1노드를 선택하여 인에이블시키면 제 1노드는 데이터송신을 수행하며 이후, 상기 마스터(1)가 제 2노드, 제 3노드를 인에이블시킬 때 제 2노드, 제 3노드는 인에이블 신호에 맞춰 데이터송신을 수행하는 것이다. 이로써, 제이1850 버스라인에는 연속적인 데이터의 흐름이 발생하며, 상기 마스터(1)는 순차적으로 각 노드를 선택하여 해당 노드로부터 데이터를 수신하는 것이다.Here, in the embodiment of the car LAN system having three nodes, the control signal of the master 1 is shown as a data flow to enable each node sequentially, to prevent data collision on the J1850 busline It is to. And each node is a data communication is made when the node is referred to from the master (1). That is, when the master 1 selects and enables the first node, the first node performs data transmission. Then, when the master 1 enables the second node and the third node, the second node and the first node are enabled. The three nodes perform data transmission in accordance with the enable signal. As a result, a continuous flow of data occurs in the J1850 busline, and the master 1 sequentially selects each node and receives data from the corresponding node.

또한, 상기는 마스터(1)의 수신과정과을 나타내지만 각 노드에서 마스터(1)의 송신 데이터를 수신하는 마스터(1)의 송신과정 또한 동일 방법에 의해진다.In addition, although the above shows the reception process of the master 1, the transmission process of the master 1 which receives the transmission data of the master 1 in each node also depends on the same method.

이상으로 설명된 시스템의 구성과 통신 데이터의 구조 및 데이터의 통신방법에 의한 동작설명은, 상기 타이머(9)를 통한 일정 펄스가 마스터(1)로 인가되면 이 마스터(1)는 상기 제이 1850 인터페이스 카드(2)를 통해 각각의 노드로 데이터를 전송한다. 예컨대 카오디오에 구비된 시계의 시간보정을 위한 제어신호라면, 데이터 구조는 상기 에스오에프를 시작으로 프라이어러티신호가 인가된 후 상기 수신노드측으로는 카오디오를 지칭하는 데이터가 셋팅되고, 송신노드측으로는 마스터(1)로부터 데이터를 송출함을 알리는 마스터 지칭데이터가 셋팅된다.The configuration of the system, the structure of the communication data, and the operation description by the data communication method described above are described. When a predetermined pulse is applied to the master 1 through the timer 9, the master 1 is connected to the J. 1850 interface. Data is transmitted to each node via the card 2. For example, if it is a control signal for time correction of the clock provided in the car audio, the data structure is set to the receiving node side after the primary signal is applied, the data indicating the car audio is set to the receiving node side, and to the transmitting node side Is set to the master reference data indicating that data is sent from the master (1).

그리고 이어지는 펄스인 상기 코멘드측에는 시계보정 명령어가 실리며, 데이터측으로는 시간데이터에 따른 펄스가 표현된다. 이어 씨알씨 및 이오디를 끝으로 한 개 프레임이 표현됨에 따라 도면상으로 도시된 제 2노드 즉, 카오디오용 제이 1850 인터페이스 카드(4)가 이 데이터를 수신하는 것인데, 이는 순차신호에 따라 상호 통신을 접속하는 것이 아니기 때문에 수신노드측 데이터에 의해 직접 전송이 되는 것이다. 그래서 상기 카오디오 콘트롤러(7)는 입력데이터에 따라 카오디오용 시간 디스플레이(10)로 정확한 시간이 전송된다.On the command side, which is a subsequent pulse, a clock correction command is displayed, and a pulse according to time data is represented on the data side. Subsequently, the second node shown in the drawing, that is, the J. 1850 interface card 4 for car audio, receives this data as one frame is represented by the seed of the seed and the audio. Since the communication is not connected, it is directly transmitted by the receiving node data. Thus, the car audio controller 7 transmits the correct time to the car audio time display 10 according to the input data.

이와 같이 본 발명은 각각의 노드를 순차적으로 인에이블시켜 데이터의 송수신이 이루어지도록 함과 동시에 일정 시간마다 마스터로부터 시간 보정데이터를 송출하도록 하여, 노드별로 구비되는 시계가 자동 보정됨에 따라 사용자는 별도로 시각을 수정하는 일이 없을 뿐만 아니라 항시 정확한 시간을 볼 수 있는 효과가 있다.As described above, the present invention enables each node to be sequentially transmitted and received, and simultaneously transmits time correction data from the master at a predetermined time, so that the clock is automatically corrected for each node. Not only does it correct the time, it is always effective to see the correct time.

Claims (2)

마스터(1)와 다수개의 노드가 구비된 카 랜 시스템의 통신에 사용되는 데이터 구조에 있어서,In the data structure used for the communication of a car LAN system with a master 1 and a plurality of nodes, 상기 데이터 구조가 데이터송수신에 따른 시작을 알리는 에스오에프와, 데이터의 충돌이 발생할 경우 우선순위에 따라 하위레벨의 데이터를 삭제하기 위한 프라이어러티와, 수신하고자 하는 노드를 지칭하기 위한 수신노드와, 송신하고자 하는 노드를 지칭하기 위한 송신노드와, 송수신노드가 결정되면 해당 노드의 기능모드를 설정하는 커멘드와, 이 기능모드로부터 동작을 제어하는 데이터와, 통신상의 데이터 에러를 체크하는 씨알씨와, 데이터의 완료를 표시하기 위한 이오디로 이루어진 것을 특징으로 하는 카 랜 시스템의 데이터구조.SFO that the data structure indicates the start according to data transmission and reception, a priority for deleting data at a lower level according to priority when a data collision occurs, a receiving node for indicating a node to receive, and a transmission A transmission node for referring to a node to be desired, a command for setting a function mode of the node when the transmission node is determined, data to control operation from the function mode, a seed to check data error on communication, and data A data structure of a caran system, characterized by consisting of audio for indicating the completion of the. 제 1항에 있어서, 상기 데이터구조를 통해 상기 마스터(1)가 각각의 노드로 일정 시간간격을 두고 시계보정 데이터를 전송함을 특징으로 하는 카 랜 시스템의 데이터 구조와 이를 이용한 시계보정 시스템.The data structure of a caran system according to claim 1, wherein the master (1) transmits clock correction data to each node at a predetermined time interval through the data structure.
KR1019970031629A 1997-07-04 1997-07-04 The data structure od car lan system and clock adjusting system using that KR100220518B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970031629A KR100220518B1 (en) 1997-07-04 1997-07-04 The data structure od car lan system and clock adjusting system using that

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970031629A KR100220518B1 (en) 1997-07-04 1997-07-04 The data structure od car lan system and clock adjusting system using that

Publications (2)

Publication Number Publication Date
KR19990009282A KR19990009282A (en) 1999-02-05
KR100220518B1 true KR100220518B1 (en) 1999-09-15

Family

ID=19513771

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970031629A KR100220518B1 (en) 1997-07-04 1997-07-04 The data structure od car lan system and clock adjusting system using that

Country Status (1)

Country Link
KR (1) KR100220518B1 (en)

Also Published As

Publication number Publication date
KR19990009282A (en) 1999-02-05

Similar Documents

Publication Publication Date Title
US4799052A (en) Method for communicating data on a communication network by token passing
KR100703406B1 (en) Apparatus and method for controling dma
US6401159B1 (en) Method of half-duplex serial signal control with multi-baud rate and multi-configuration
EP0436932A2 (en) A loop data link system and a station number setting method
KR100220518B1 (en) The data structure od car lan system and clock adjusting system using that
US20100080332A1 (en) Clock-synchronous communication apparatus and communication system
JP2601962B2 (en) Bus contention control device
JP2002290310A (en) Radio communication system
US6026094A (en) Digital data bus system including arbitration
JP2000227803A (en) Method and system for controlling transmission in data link system of programmable controller
CN112737761B (en) Apparatus and method for acknowledging communications via bus
JPH04287150A (en) Synchronous serial bus system
JP2002236659A (en) Electronic control device for vehicle
JPS6358498B2 (en)
US20030067937A1 (en) System for transmitting data between modules and method for controlling the same
KR890013568A (en) Data transmission controller
JP2000134277A (en) Method and system for automatically identifying communication link
KR960009912B1 (en) Serial communication apparatus
CN1008019B (en) Method and apparatus for occuping control of series trunk wire of non-major control device
KR100643277B1 (en) Method for transmitting data using 4-wire bidirectional synchronous serial interface
JP2000132506A (en) Communication device
WO2009136731A2 (en) Clock generation method, an identifier issuing method and a data acquisition method
KR19990009281A (en) Data communication method for car LAN system
JPH10215268A (en) Data transmission system
JPS59154841A (en) Multiplex transmission control system

Legal Events

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