KR101836671B1 - Method for dynamic scheduling in local interconnection network communication system - Google Patents

Method for dynamic scheduling in local interconnection network communication system Download PDF

Info

Publication number
KR101836671B1
KR101836671B1 KR1020160091670A KR20160091670A KR101836671B1 KR 101836671 B1 KR101836671 B1 KR 101836671B1 KR 1020160091670 A KR1020160091670 A KR 1020160091670A KR 20160091670 A KR20160091670 A KR 20160091670A KR 101836671 B1 KR101836671 B1 KR 101836671B1
Authority
KR
South Korea
Prior art keywords
node
present
slave
wake
dynamic scheduling
Prior art date
Application number
KR1020160091670A
Other languages
Korean (ko)
Other versions
KR20180009656A (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 KR1020160091670A priority Critical patent/KR101836671B1/en
Publication of KR20180009656A publication Critical patent/KR20180009656A/en
Application granted granted Critical
Publication of KR101836671B1 publication Critical patent/KR101836671B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN

Abstract

본 발명의 실시예에 따른 LIN 통신 시스템의 동적 스케쥴링 방법은 슬림 모드인지를 판단하는 단계; 슬립 모드인 경우 마스터 노드가 웨이크 업 신호의 수신 여부를 판단하는 단계; 및 상기 웨이크 업 신호를 수신한 경우 우선순위 노드를 선택하는 동적 스케쥴링을 선택하는 단계를 포함한다.A dynamic scheduling method of a LIN communication system according to an embodiment of the present invention includes: determining whether a mode is a slim mode; Determining whether the master node receives a wake-up signal in a sleep mode; And selecting dynamic scheduling to select a priority node upon receiving the wake up signal.

Description

LIN 통신 시스템의 동적 스케쥴링 방법{Method for dynamic scheduling in local interconnection network communication system}[0001] The present invention relates to a dynamic scheduling method for a LIN communication system,

본 발명은 LIN 통신 시스템의 동적 스케쥴링 방법에 관한 것으로, 보다 자세하게는 마스터 노드(master)에서 정의된 프레임 송신 스케쥴에서 웨이크업 요청을 보낸 노드가 가장 먼저 데이터를 송신할 수 있도록 하여 동작 지연을 개선하는 LIN 통신 시스템의 동적 스케쥴링 방법에 관한 것이다.The present invention relates to a dynamic scheduling method of a LIN communication system, and more particularly, to a dynamic scheduling method of a LIN communication system in which a node that sends a wakeup request in a frame transmission schedule defined by a master node (master) To a dynamic scheduling method of a LIN communication system.

차량-예를 들어, 자동차, 트럭, 버스, 농용차량, 항공기 등을 포함함-은 차량 통신 네트워크를 포함한다. 차량 통신 네트워크의 복잡도는 차량 내의 전기 기기들의 종류 및 그 수가 증가함에 따라 급속도로 증가하게 된다.Vehicles - including, for example, automobiles, trucks, buses, agricultural vehicles, aircraft, and the like - include vehicle communication networks. The complexity of the vehicle communication network increases rapidly as the number and types of electric devices in the vehicle increase.

예를 들어, 많은 더 향상된 차량들은 엔진 제어, 변속기 제어, 앤티록 브레이크(antilock braking), 몸체(body) 제어, 배기 가스 제어(emissions control), 자동 실내 온차량 내 네트워크 통신 방식의 하나인 LIN(Local Interconnection Network) 통신은 주로 ECU와 능동 센서 및 능동 액추에이터 간의 데이터 전송에 사용된다.For example, many of the more advanced vehicles are engine control, transmission control, anti-lock braking, body control, emissions control, and LIN Local Interconnection Network) communication is mainly used for data transmission between ECU and active sensor and active actuator.

LIN 통신은 데이터를 요청하거나 제어 명령을 전송하는 마스터 노드와 마스터 노드로부터의 데이터 요청에 상응하는 데이터를 수집하여 응답하거나 마스터 노드로부터 수신된 제어 명령에 상응하는 동작을 수행하는 슬레이브 노드들로 구성될 수 있다.The LIN communication is composed of a master node requesting data or transmitting a control command, and slave nodes collecting and responding to data requests from the master node or performing operations corresponding to control commands received from the master node .

도 1은 일반적인 LIN 통신에서 사용되는 메시지 프레임 구성을 보여주는 도면이다. 도 1을 참조하면, LIN 통신에서 메시지 프레임(a)의 구성은 크게 헤더(Header) 부분과 응답(Response) 부분으로 구성된다. 헤더 부분은 브레이크 필드(Break field), 동기 필드(Sync field) 및 식별자 필드(Protected Identifier field)로 구성되며, 응답 부분은 데이터 필드(Data field: Data1, Data2, ..., DataN)와 체크섬 필드(Checksum field)로 구성된다. 브레이크 필드(Break field)는 메시지 프레임의 시작을 정의하는 필드이다. 동기 필드(Sync field)는 슬레이브 노드가 마스터 클럭과 동기를 맞추는 데 사용되는 필드이다. 식별자 필드(Protected Identifier field)는 메시지의 내용과 길이에 대한 정보를 제공한다.1 is a diagram illustrating a message frame configuration used in a general LIN communication. Referring to FIG. 1, the structure of a message frame (a) in LIN communication is mainly composed of a header part and a response part. The header part is composed of a break field, a sync field, and a protected identifier field. The response part includes a data field (Data field: Data1, Data2, ..., DataN) (Checksum field). A Break field is a field that defines the start of a message frame. The Sync field is a field used by the slave node to synchronize with the master clock. The Protected Identifier field provides information about the content and length of the message.

이러한 메시지 프레임 구성에 따르면, 마스터 노드 모듈과 슬레이브 노드 모듈들은 각각 ID를 가지며, 도 1(b)에 도시된 바와 같이, 마스터 노드 모듈이 According to such a message frame configuration, the master node module and the slave node modules each have an ID, and as shown in FIG. 1 (b)

노드 ID가 포함된 프레임의 헤더를 버스로 송신하고, 송신된 ID에 해당하는 해당 슬레이브 노드 모듈이 프레임의 응답(response) 영역에 데이터를 실어서 버스로 송신한다.The header of the frame including the node ID is transmitted on the bus, and the corresponding slave node module corresponding to the transmitted ID loads the data in the response area of the frame and transmits it to the bus.

LIN BUS를 구성하는 모든 노드는 웨이크 업(Wake-up) 신호를 전송해서 BUS 웨이크 업을 요청할 수 있다. 웨이크 업 요청에 의해 모든 노드들은 웨이크 업되고 초기화 동작을 완료하여 마스터 노드(Master)가 스케쥴링(Scheduling)을 시작할 때까지 기다려야 한다. All nodes that make up the LIN BUS can send a wake-up signal to request a BUS wake-up. The wakeup request causes all nodes to wake up and wait for the master node to begin scheduling by completing the initialization operation.

이때, 마스터 노드는 미리 정해진 스케쥴에 따라 프레임을 송신하기 때문에 다수의 노드가 연결되어 있는 시스템에서는 프레임 순서에 따라 동작에 지연이 발생할 수 있다. 예를 들어 N개의 노드가 LIN BUS로 연결되어 있는 시스템에서 A 노드에서 송신하는 신호에 따라 움직이는 B 노드가 있고, 슬립(Sleep) 상태에서 A 노드가 사용자의 입력을 감지하여 웨이크 업 신호를 전송하고 모든 노드가 웨이크 업 된 후 마스터 노드가 스케쥴을 시작하는데 A 노드가 응답하는 프레임이 정해진 스케쥴 순서에서 후순위에 있다면 사용자 입력 후 일정한 시간이 지난 후에 B 노드는 A 노드로부터 신호를 수신받게 되어 동작 지연이 발생할 수 있다.At this time, since the master node transmits the frame according to the predetermined schedule, the operation may be delayed according to the frame order in the system in which the plurality of nodes are connected. For example, in a system in which N nodes are connected by a LIN bus, there is a B node moving according to a signal transmitted from the node A, and in a sleep state, the node A detects a user input and transmits a wake- After all the nodes are woken up, the master node starts the schedule. If the frame in which the node A responds is in the subordinate order of the predetermined schedule order, the node B receives the signal from the node A after a certain time after the input, Lt; / RTI >

대한민국 등록특허공보 제10-1185649호 (2012.09.18. 등록)Korean Registered Patent No. 10-1185649 (registered on September 18, 2012)

본 발명은 상기의 문제점을 해결하기 위한 것으로 상위 레이어(Layer)로부터 로컬 웨이크 업(Local Wake-up)요청에 의해 깨어나는 경우 마스터 노드에서 정의된 프레임 송신 스케쥴에서 웨이크 업 요청을 송신한 노드에게 가장 먼저 데이터를 송신할 수 있도록 송신 순서를 변경하는 동적 스케쥴(Dynamic Schedule)을 적용하여 기존 시스템에서 발생할 수 있는 동작 지연을 개선하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a method and apparatus for waking up a local wakeup request from an upper layer, It is an object of the present invention to improve the operation delay that can occur in the existing system by applying a dynamic schedule to change the transmission order so that data can be transmitted first.

본 발명의 실시예에 따른 LIN 통신 시스템의 동적 스케쥴링 방법은 슬림 모드인지를 판단하는 단계; 슬립 모드인 경우 마스터 노드가 웨이크 업 신호의 수신 여부를 판단하는 단계; 및 상기 웨이크 업 신호를 수신한 경우 우선순위 노드를 선택하는 동적 스케쥴링을 선택하는 단계를 포함한다.A dynamic scheduling method of a LIN communication system according to an embodiment of the present invention includes: determining whether a mode is a slim mode; Determining whether the master node receives a wake-up signal in a sleep mode; And selecting dynamic scheduling to select a priority node upon receiving the wake up signal.

본 발명의 실시예에 따른 LIN 통신 시스템의 동적 스케쥴링 방법은 복수의 슬레이브 노드가 하나의 마스터 노드에 연결된 경우 발생하는 동작 지연을 개선할 수 있는 효과가 있다.The dynamic scheduling method of the LIN communication system according to the embodiment of the present invention has an effect of improving the operation delay which occurs when a plurality of slave nodes are connected to one master node.

도 1은 일반적인 LIN 통신에서 사용되는 메시지 프레임 구성을 보여주는 도면이다.
도 2는 일반적인 LIN 통신에서 슬립 모드에서 웨이크 업 요청 신호를 수신하여 초기화 후 사전에 정의된 스케쥴 테이블대로 스케쥴링하는 스케줄링 제어 방법을 설명하기 위한 흐름도이다.
도 3은 발명의 실시예에 따른 스케줄링 제어 방법을 설명하기 위한 흐름도이다.
도 4는 일반적인 웨이크 업 신호 사양을 나타내는 도면이다.
도 5는 발명의 실시예에 따라 마스터 노드가 웨이크 업 신호를 송신한 슬레이브 노드를 인지하여 스케쥴링을 조절하는 방법을 나타내는 도면이다.
도 6은 발명의 실시예에 따라 슬립 모드에서 웨이크 업 신호 수신 여부에 따라 스케쥴링을 선택하는 흐름을 나타내는 도면이다.
도 7은 발명의 실시예에 따라 수신된 웨이크 업 신호의 도미넌트 길이에 따라 마스터 노드에서 가장 먼저 송신해야 할 슬레이브 노드를 선택하는 흐름을 나타내는 도면이다.
1 is a diagram illustrating a message frame configuration used in a general LIN communication.
FIG. 2 is a flowchart illustrating a scheduling control method for receiving a wake-up request signal in a sleep mode in general LIN communication and scheduling the wake-up request signal according to a predefined schedule table after initialization.
3 is a flowchart illustrating a scheduling control method according to an embodiment of the present invention.
4 is a diagram showing a typical wake-up signal specification.
5 is a diagram illustrating a method of controlling a scheduling by recognizing a slave node to which a master node has transmitted a wake-up signal according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating a flow of selecting scheduling according to whether a wakeup signal is received in a sleep mode according to an embodiment of the present invention.
FIG. 7 is a flowchart illustrating a flow of selecting a slave node to be first transmitted from a master node according to a dominant length of a received wake-up signal according to an embodiment of the present invention.

본 발명에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아님을 유의해야 한다. 또한, 본 발명에서 사용되는 기술적 용어는 본 발명에서 특별히 다른 의미로 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. 또한, 본 발명에서 사용되는 기술적인 용어가 본 발명의 사상을 정확하게 표현하지 못하는 잘못된 기술적 용어일 때에는, 당업자가 올바르게 이해할 수 있는 기술적 용어로 대체되어 이해되어야 할 것이다. 또한, 본 발명에서 사용되는 일반적인 용어는 사전에 정의되어 있는 바에 따라, 또는 전후 문맥상에 따라 해석되어야 하며, 과도하게 축소된 의미로 해석되지 않아야 한다.It is noted that the technical terms used in the present invention are used only to describe specific embodiments and are not intended to limit the present invention. In addition, the technical terms used in the present invention should be construed in a sense generally understood by a person having ordinary skill in the art to which the present invention belongs, unless otherwise defined in the present invention, Should not be construed to mean, or be interpreted in an excessively reduced sense. In addition, when a technical term used in the present invention is an erroneous technical term that does not accurately express the concept of the present invention, it should be understood that technical terms can be understood by those skilled in the art. In addition, the general terms used in the present invention should be interpreted according to a predefined or prior context, and should not be construed as being excessively reduced.

또한, 본 발명에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한 복수의 표현을 포함한다. 본 발명에서, "구성된다" 또는 "포함한다" 등의 용어는 발명에 기재된 여러 구성 요소들, 또는 여러 단계를 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 단계들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 단계들을 더 포함할 수 있는 것으로 해석되어야 한다.Furthermore, the singular expressions used in the present invention include plural expressions unless the context clearly dictates otherwise. In the present invention, terms such as "comprising" or "comprising" and the like should not be construed as encompassing various elements or various steps of the invention, Or may further include additional components or steps.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals refer to like or similar elements throughout the several views, and redundant description thereof will be omitted.

또한, 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 발명의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 발명의 사상이 제한되는 것으로 해석되어서는 아니 됨을 유의해야 한다.In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. It is to be noted that the accompanying drawings are only for the purpose of facilitating understanding of the present invention, and should not be construed as limiting the scope of the present invention with reference to the accompanying drawings.

도 2는 일반적인 LIN 통신에서 슬립 모드에서 웨이크 업 요청 신호를 수신하여 초기화 후 사전에 정의된 스케쥴 테이블대로 스케쥴링하는 스케줄링 제어 방법을 설명하기 위한 흐름도이다.FIG. 2 is a flowchart illustrating a scheduling control method for receiving a wake-up request signal in a sleep mode in general LIN communication and scheduling the wake-up request signal according to a predefined schedule table after initialization.

도 2에 도시된 바와 같이, 일반 스케쥴 테이블에서는 마스터 노드(100)가 제1 슬레이브 노드(210), 제2 슬레이브 노드(220) 및 제3 슬레이브 노드(230) 순으로 보내는 FID 및 이에 응답하는 순서가 정해져 있다.2, in the general schedule table, an FID sent by the master node 100 in order of the first slave node 210, the second slave node 220, and the third slave node 230, .

마스터 노드(100)는 상기의 순으로 슬레이브 노드(210, 220, 230)로부터 데이터를 수신한다. 마스터 노드(100)는 LIN 스케줄링 테이블을 기반으로 메시지 스케줄링을 수행하기 때문에, 제3 슬레이브 노드(230)에서 송신을 희망하여도 이는 제1 및 제2 슬레이브 노드(210, 220) 이후가 되고, 따라서 지연이 발생하게 된다.The master node 100 receives data from the slave nodes 210, 220 and 230 in the above order. Since the master node 100 performs message scheduling based on the LIN scheduling table, even if the third slave node 230 desires to transmit, it becomes after the first and second slave nodes 210 and 220, A delay occurs.

도 3은 발명의 실시예에 따른 스케줄링 제어 방법을 설명하기 위한 흐름도이다. 도시된 바와 같이, 마스터 노드(100)가 슬립 모드에서 제3 슬레이브 노드(230)로부터 웨이크 업 신호를 수신하면 마스터 노드(100)는 웨이크 업 신호를 송신한 제3 슬레이브 노드(230)가 먼저 데이터를 송신할 수 있도록 스케쥴링을 변경한다.3 is a flowchart illustrating a scheduling control method according to an embodiment of the present invention. As shown in the figure, when the master node 100 receives a wakeup signal from the third slave node 230 in the sleep mode, the master node 100 transmits the wakeup signal to the third slave node 230, Lt; RTI ID = 0.0 > a < / RTI >

마스터 노드(100)는, 다수의 슬레이브 노드(210, 220, 230)로부터 송신되는 로컬 신호에 각각 순차적으로 1:1로 대응하여 응답한다. 상기 다수의 슬레이브 노드(210, 220, 230)들도 상기 마스터 노드(100)에 순차적으로 1:1로 로컬 신호를 송신하여 그 응답에 따라 제어 권한을 받아 동작한다.The master node 100 sequentially responds to the local signals transmitted from the plurality of slave nodes 210, 220 and 230 in a one-to-one correspondence. The slave nodes 210, 220, and 230 sequentially transmit the local signal to the master node 100 in a 1: 1 ratio, and operate in response to the response.

웨이크 업 신호를 송신하지 않은 제1 및 제2 슬레이브 노드(210, 220)는 미리 정해진 우선순위대로 스케쥴링하고, 마스터 노드(100)는 순서대로 슬레이브 노드를 호출하여 통신한다.The first and second slave nodes 210 and 220, which have not transmitted the wakeup signal, schedule according to a predetermined priority order, and the master node 100 calls the slave node in order to communicate.

도 4는 일반적인 웨이크 업 신호 사양을 나타내는 도면이고, 도 5는 발명의 실시예에 따라 마스터 노드가 웨이크 업 신호를 송신한 슬레이브 노드를 인지하여 스케쥴링을 조절하는 방법을 나타내는 도면이다.FIG. 4 is a diagram illustrating a general wakeup signal specification, and FIG. 5 is a diagram illustrating a method of controlling a scheduling by recognizing a slave node to which a master node has transmitted a wakeup signal according to an embodiment of the present invention.

LIN 통신 국제 규격에서 정해 놓은 웨이크 업 신호 사양으로 버스(BUS)를 250us 내지 5ms 사이의 시간동안 강제로 도미넌트(Dominant) 상태로 설정한다. 본 발명의 실시예에서는 웨이크 업 신호 송신시 각 슬레이브 노드마다 정해진 사양에 따라 LIN BUS의 도미넌트 레벨(Dominant Level)의 시간 길이를 다르게 전송해서 마스터 노드(100)는 어떤 슬레이브 노드가 웨이크 업 신호를 송신했는지를 인지하여 웨이크 업 신호를 보낸 노드가 가장 먼저 데이터를 전송할 수 있도록 스케쥴링을 조정한다. The bus (BUS) is forcibly set to the dominant state for a time between 250 us and 5 ms according to the wake-up signal specification specified by the LIN communication international standard. In the embodiment of the present invention, the time length of the dominant level of the LIN BUS is differently transmitted according to the predetermined specification for each slave node at the time of sending the wake-up signal, so that the master node 100 transmits a wake- And adjusts the scheduling so that the node that sends the wakeup signal can transmit the data first.

도 6은 발명의 실시예에 따라 슬립 모드에서 웨이크 업 신호 수신 여부에 따라 스케쥴링을 선택하는 흐름을 나타내는 도면이다.FIG. 6 is a flowchart illustrating a flow of selecting scheduling according to whether a wakeup signal is received in a sleep mode according to an embodiment of the present invention.

도시된 바와 같이, 슬립 모드인지를 판단하여(S100), 슬립 모드가 아닌 경우 미리 정해진 우선순위대로 슬레이브 노드의 스케쥴링을 선택한다(S300).If it is not the sleep mode, the scheduling of the slave node is selected according to a predetermined priority (S300).

또한, S100의 단계에서 슬립 모드인 경우, 슬레이브 노드로부터 웨이크 업 신호를 수신하였는지를 판단하여(S200), 수신하지 않은 경우는 슬립 모드를 유지하여 종료하고, 수신한 경우에는 어떤 슬레이브 노드가 웨이크 업 신호를 송신하였는지를 파악하고, 이를 반영하여 우선 순위를 변경하는 동적 스케쥴링을 선택한다(S400).If it is determined in step S100 that the wakeup signal has not been received from the slave node in step S200, the sleep mode is maintained and the wakeup signal is not received. If the wakeup signal is received, And selects dynamic scheduling to change priority in step S400.

도 7은 발명의 실시예에 따라 수신된 웨이크 업 신호의 도미넌트 길이에 따라 마스터 노드에서 가장 먼저 송신해야 할 슬레이브 노드를 선택하는 흐름을 나타내는 도면이다. 즉, 동적 스케줄링 방법을 나타내는 도면이다.FIG. 7 is a flowchart illustrating a flow of selecting a slave node to be first transmitted from a master node according to a dominant length of a received wake-up signal according to an embodiment of the present invention. That is, a dynamic scheduling method.

도 7에 도시된 도미넌트의 시간 길이는 일 예를 든 것이며, 설정에 따라 다르게 변경될 수 있다. 또한, 시간 값 또는 시간 범위가 판단 기준이 될 수 있다.The time length of the dominant shown in FIG. 7 is one example, and may be changed differently depending on the setting. Further, a time value or a time range may be a judgment criterion.

처음으로, 마스터 노드에서 수신한 도미넌트 길이가 제1 시간(예를 들어, 300us) 인지를 판단하여(S410), 300us인 경우 제1 슬레이브 노드를 제1 우선순위 노드로 스케쥴링한다(S430).First, it is determined whether the dominent length received at the master node is a first time (for example, 300us) at step S410. If the dominent length is 300us, the first slave node is scheduled at the first priority node at step S430.

다음으로, S410의 단계에서 마스터 노드에서 수신한 도미넌트 길이가 제1 시간이 아닌 경우 제2 시간인지를 판단하여(S420), 제2 시간이 아닌 경우는 제3 슬레이브 노드를 제1 우선순위 노드로 스케쥴링한다(S440).Next, it is determined whether the dominant length received from the master node in the step S410 is a second time (S420). If it is not the second time, the third slave node is regarded as a first priority node And performs scheduling (S440).

또한, S420의 단계에서 마스터 노드에서 수신한 도미넌트 길이가 제2 시간인 경우 제2 슬레이브 노드를 제1 우선순위 노드로 스케쥴링한다(S450). 다음으로, 상기의 과정에서 선택된 제1 우선순위 노드를 제외한 슬레이브 노드에 대해서는 미리 정해진 우선순위에 따라 스케쥴링을 선택한다(S460).If the dominent length received from the master node is the second time in step S420, the second slave node is scheduled as the first priority node in step S450. Next, scheduling is selected according to a predetermined priority order for the slave nodes other than the first priority node selected in the above process (S460).

상술한 실시예에 설명된 특징, 구조, 효과 등은 본 발명의 적어도 하나의 실시예에 포함되며, 반드시 하나의 실시예에만 한정되는 것은 아니다. 나아가, 각 실시예에서 예시된 특징, 구조, 효과 등은 실시예들이 속하는 분야의 통상의 지식을 가지는 자에 의하여 다른 실시예들에 대해서도 조합 또는 변형되어 실시 가능하다.The features, structures, effects and the like described in the foregoing embodiments are included in at least one embodiment of the present invention and are not necessarily limited to one embodiment. Further, the features, structures, effects, and the like illustrated in the embodiments may be combined or modified in other embodiments by those skilled in the art to which the embodiments belong.

따라서 이러한 조합과 변형에 관계된 내용들은 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다. 또한, 이상에서 실시예들을 중심으로 설명하였으나 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 실시예들에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부한 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, it should be understood that the present invention is not limited to these combinations and modifications. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the present invention. It can be seen that various modifications and applications are possible. For example, each component specifically shown in the embodiments may be modified and implemented. It is to be understood that the present invention may be embodied in many other specific forms without departing from the spirit or essential characteristics thereof.

100: 마스터 노드
200: 슬레이브 노드
210: 제1 슬레이브 노드
220: 제2 슬레이브 노드
230: 제3 슬레이브 노드
100: master node
200: Slave node
210: first slave node
220: second slave node
230: third slave node

Claims (4)

LIN 통신에 있어서,
슬립 모드인지를 판단하는 단계;
슬립 모드인 경우 마스터 노드가 웨이크 업 신호의 수신 여부를 판단하는 단계; 및
상기 웨이크 업 신호를 수신한 경우 우선순위 노드를 선택하는 동적 스케쥴링을 선택하는 단계를 포함하고,
상기 동적 스케쥴링을 선택하는 단계는,
상기 마스터 노드에서 수신한 슬레이브 노드로 부터의 도미넌트 길이가 제1 범위인 경우, 상기 슬레이브 노드 중 제1 슬레이브 노드를 제1 우선순위 노드로 선택하고, 제2 범위인 경우, 상기 슬레이브 노드 중 제2 슬레이브 노드를 제1 우선순위 노드로 선택하는 것을 특징으로 하는 LIN 통신 시스템의 동적 스케쥴링 방법.
In LIN communication,
Determining whether the sleep mode is a sleep mode;
Determining whether the master node receives a wake-up signal in a sleep mode; And
Selecting dynamic scheduling to select a priority node upon receiving the wake up signal,
Wherein the step of selecting dynamic scheduling comprises:
A first slave node of the slave node is selected as a first priority node when the dominant length from the slave node received from the master node is in a first range, And selecting a slave node as a first priority node.
제1항에 있어서,
상기 도미넌트 길이는,
도미넌트의 시간 길이, 시간 값 및 시간 범위들 중 적어도 하나를 포함하는 것을 특징으로 하는 LIN 통신 시스템의 동적 스케쥴링 방법.


The method according to claim 1,
The dominant length,
A dominant time length, a time value, and time ranges. ≪ Desc / Clms Page number 19 >


삭제delete 제1항에 있어서,
상기 동적 스케쥴링을 선택하는 단계 이후,
상기 선택된 우선순위 노드를 제외한 슬레이브 노드에 대해서는 미리 정해진 우선순위에 따라 스케쥴링을 선택하는 것을 특징으로 하는 LIN 통신 시스템의 동적 스케쥴링 방법.
The method according to claim 1,
After selecting the dynamic scheduling,
Wherein scheduling is selected according to a predetermined priority order for slave nodes other than the selected priority node.
KR1020160091670A 2016-07-19 2016-07-19 Method for dynamic scheduling in local interconnection network communication system KR101836671B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160091670A KR101836671B1 (en) 2016-07-19 2016-07-19 Method for dynamic scheduling in local interconnection network communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160091670A KR101836671B1 (en) 2016-07-19 2016-07-19 Method for dynamic scheduling in local interconnection network communication system

Publications (2)

Publication Number Publication Date
KR20180009656A KR20180009656A (en) 2018-01-29
KR101836671B1 true KR101836671B1 (en) 2018-04-19

Family

ID=61028615

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160091670A KR101836671B1 (en) 2016-07-19 2016-07-19 Method for dynamic scheduling in local interconnection network communication system

Country Status (1)

Country Link
KR (1) KR101836671B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003540A1 (en) * 2004-06-30 2006-01-12 Philips Intellectual Property & Standards Gmbh Method for the non-bitrate-dependent encoding of digital signals on a bus system
JP2013038653A (en) * 2011-08-09 2013-02-21 Denso Corp Communication system, and master node and slave node used for the communication system
KR101593338B1 (en) * 2014-12-31 2016-02-11 현대다이모스(주) Apparatus for lin communication of vehicle and control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003540A1 (en) * 2004-06-30 2006-01-12 Philips Intellectual Property & Standards Gmbh Method for the non-bitrate-dependent encoding of digital signals on a bus system
JP2013038653A (en) * 2011-08-09 2013-02-21 Denso Corp Communication system, and master node and slave node used for the communication system
KR101593338B1 (en) * 2014-12-31 2016-02-11 현대다이모스(주) Apparatus for lin communication of vehicle and control method thereof

Also Published As

Publication number Publication date
KR20180009656A (en) 2018-01-29

Similar Documents

Publication Publication Date Title
CN107465588B (en) State control method and device of multi-channel bus network and network management system
WO2021082301A1 (en) Sleep and wakeup method for in-vehicle hybrid network comprising in-vehicle ethernet
CN108933719B (en) Vehicle-mounted CAN network management method, vehicle-mounted CAN network and vehicle
JP3578058B2 (en) Multiplex communication system
EP1879326B1 (en) Communication network system and wakeup method for un-wakeup node
CN102801551B (en) Open systems and the corresponding interfaces for automotive electronics (OSEK) network management-based controller area network (CAN) management method
KR102576607B1 (en) Automotive electrical systems and isolation systems in automotive electrical systems
JP2016048848A (en) Relay device
WO2018121349A1 (en) Can bus control method and communication system using can bus
US10701156B2 (en) Method for transmitting data between nodes of a motor vehicle using an ethernet-AVB transport protocol and control unit configured to carry out said method
US20120137156A1 (en) Controlling circuit with power saving mechanism and erroneous wake-up preventing mechanism and method thereof
CN103078756B (en) Mode switching method and CAN (Controller Area Network)
KR20160146055A (en) Operating method of a communication node in automotive network
US20160366646A1 (en) Operation method of communication node in automotive network
CN111095867B (en) Management system for optical fiber Ethernet network of vehicle
CN114978796A (en) Method for operating a communication system, communication system and computing system
CN103809552B (en) LIN communication system for vehicle and method for driving slave module
KR101836671B1 (en) Method for dynamic scheduling in local interconnection network communication system
JP4847847B2 (en) Relay connection unit and in-vehicle multiple communication system
KR101596540B1 (en) Semiconductor integrated circuit device
US9118651B2 (en) Control unit for in-vehicle ethernet and method for controlling thereof
CN104639582B (en) Method for the gateway and the forwarding of vehicle network signal of the forwarding of vehicle network signal
KR101593338B1 (en) Apparatus for lin communication of vehicle and control method thereof
KR101817639B1 (en) Fault tolerant control apparatus and vehicle having the same
US20100214967A1 (en) Method and System for Adding a New Connection Identifier to an Existing Power Save Class

Legal Events

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