KR102467224B1 - Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same - Google Patents
Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same Download PDFInfo
- Publication number
- KR102467224B1 KR102467224B1 KR1020170150597A KR20170150597A KR102467224B1 KR 102467224 B1 KR102467224 B1 KR 102467224B1 KR 1020170150597 A KR1020170150597 A KR 1020170150597A KR 20170150597 A KR20170150597 A KR 20170150597A KR 102467224 B1 KR102467224 B1 KR 102467224B1
- Authority
- KR
- South Korea
- Prior art keywords
- internal resistance
- vehicle
- electronic device
- determining
- electronic devices
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R27/00—Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
- G01R27/02—Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
- G01R27/16—Measuring impedance of element or network through which a current is passing from another source, e.g. cable, power line
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Small-Scale Networks (AREA)
Abstract
본 발명의 일 실시예에 따른 차량용 전자 장치의 내부 저항 결정 방법은, IGN(ignition) 온(on) 또는 시동 이후 제1 시간 동안 차량 네트워크를 통해 다른 전자 장치로부터 수신되는 메시지를 수신하는 단계; 상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하는 단계; 및 상기 총 전자 장치의 수 및 현재 온도에 따라 내부 저항을 결정하는 단계를 포함할 수 있다.A method for determining an internal resistance of a vehicle electronic device according to an embodiment of the present invention includes receiving a message received from another electronic device through a vehicle network for a first time after IGN (ignition) is turned on or startup; checking the total number of electronic devices connected to the vehicle network based on the message; and determining an internal resistance according to the total number of electronic devices and the current temperature.
Description
본 발명은 차량용 전자 장치, 내부 저항 결정 방법 및 상기 차량용 전자 장치를 포함하는 차량에 관한 것으로, 더욱 상세하게는 신호 강건성을 향상시키는 차량용 전자 장치, 내부 저항 결정 방법 및 상기 차량용 전자 장치를 포함하는 차량에 관한 것이다.The present invention relates to a vehicular electronic device, a method for determining internal resistance, and a vehicle including the vehicular electronic device, and more particularly, a vehicular electronic device improving signal robustness, a method for determining internal resistance, and a vehicle including the vehicular electronic device It is about.
최근 차량 내 통신 네트워크는 차량에 탑재되는 전자 장치의 급격한 증가로 고속 CAN 네트워크의 통신 부하량(Bus Load)이 한계 상황을 넘어서고 있으며, 뿐만 아니라 전자 장치 간 많은 데이터를 빠른 속도로 전송할 필요성이 점차 대두되고 있다.In the recent in-vehicle communication network, the bus load of the high-speed CAN network is exceeding its limit due to the rapid increase in the number of electronic devices installed in the vehicle. In addition, the need to transmit a lot of data between electronic devices at high speed is gradually emerging. have.
이러한 상황들을 해결하기 위해 기존 CAN 통신을 기반으로 통신속도를 증대시킨 CAN-FD(Flexible Data Rate) 통신이 점차 해결 대안으로 주목받고 있다.In order to solve these situations, CAN-FD (Flexible Data Rate) communication, which increases communication speed based on existing CAN communication, is gradually attracting attention as a solution alternative.
기존에는 플렉스레이(FlexRay)를 일부 차량에 적용하여 통신 부하량 등의 문제점을 개선하고자 하였으나, 이는 비용 대비 효과가 미미한 단점이 있다.In the past, FlexRay has been applied to some vehicles to improve problems such as communication load, but this has a disadvantage in that cost effectiveness is insignificant.
반면에, CAN-FD 통신은 현재 CAN 통신 네트워크를 기반으로 통신 속도 및 데이터 전송량을 증대하는 방법이기 때문에 적은 비용 대비 높은 효과로 통신 부하량 등의 문제점 개선을 위한 대안으로 검토되고 있다.On the other hand, since CAN-FD communication is a method of increasing communication speed and data transmission based on the current CAN communication network, it is being reviewed as an alternative for improving problems such as communication load with high effect compared to low cost.
다만, CAN-FD 통신은 통신 속도가 CAN 통신의 속도(500kbps)보다 통상 4배 이상 빠르기 때문에, 신호 파형 왜곡(ringing) 저감이 필수적이며, 신호 왜곡을 축소하기 위해 여러 방안들이 개발되고 있다.However, since the communication speed of CAN-FD communication is usually more than 4 times faster than the speed of CAN communication (500 kbps), it is essential to reduce signal waveform distortion (ringing), and several methods are being developed to reduce signal distortion.
특히 CAN-FD 통신은 내부 커패시터 용량보다 내부저항의 크기에 따라 신호 파형 왜곡에 많은 영향을 받기 때문에, 신호 파형 강건성을 확보하기 위해 내부 저항을 적절히 선택하는 방안이 요구된다.In particular, since CAN-FD communication is more affected by signal waveform distortion depending on the size of the internal resistance than the internal capacitor capacity, a method for properly selecting the internal resistance is required to ensure signal waveform robustness.
본 발명은 차량내 네트워크로 송수신되는 신호의 파형 강건성을 확보하기 위한 차량용 전자 장치, 내부 저항 결정 방법 및 상기 차량용 전자 장치를 포함하는 차량을 제공하기 위한 것이다.An object of the present invention is to provide a vehicle electronic device for securing waveform robustness of a signal transmitted and received through an in-vehicle network, a method for determining an internal resistance, and a vehicle including the vehicle electronic device.
본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below. You will be able to.
상기와 같은 기술적 과제를 해결하기 위하여, 본 발명의 일 실시예에 따른 차량용 전자 장치의 내부 저항 결정 방법은, IGN(ignition) 온(on) 또는 시동 이후 제1 시간 동안 차량 네트워크를 통해 다른 전자 장치로부터 수신되는 메시지를 수신하는 단계; 상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하는 단계; 및 상기 총 전자 장치의 수에 따라 내부 저항을 결정하는 단계를 포함할 수 있다.In order to solve the above technical problem, a method for determining the internal resistance of a vehicle electronic device according to an embodiment of the present invention is a method for determining an internal resistance of a vehicle electronic device through a vehicle network for a first time after IGN (ignition) is turned on or started. Receiving a message received from; checking the total number of electronic devices connected to the vehicle network based on the message; and determining internal resistance according to the total number of electronic devices.
본 발명의 일 실시예에 따른 차량용 전자 장치는, IGN(ignition) 온(on) 또는 시동 이후 제1 시간 동안 차량 네트워크를 통해 다른 전자 장치로부터 수신되는 메시지를 수신하는 트랜시버; 복수의 내부 저항을 포함하는 내부 저항부; 및 상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하고, 상기 총 전자 장치의 수에 따라 상기 복수의 내부 저항 중 내부 저항을 결정하는 CPU를 포함할 수 있다.An electronic device for a vehicle according to an embodiment of the present invention includes a transceiver that receives a message received from another electronic device through a vehicle network for a first time after IGN (ignition) is turned on or engine is started; an internal resistance unit including a plurality of internal resistors; and a CPU determining the total number of electronic devices connected to the vehicle network based on the message, and determining an internal resistance among the plurality of internal resistances according to the total number of electronic devices.
상기와 같이 구성되는 본 발명의 일 실시예에 따른 차량용 네트워크 시스템에 의하면, 네트워크에 장착된 제어기 수 및 현재 온도에 따라 내부 저항을 가변하여 신호 파형 안정화에 최적화된 내부 저항을 선택함으로써, 신호의 왜곡 및 지연을 최소화할 수 있다.According to the in-vehicle network system according to an embodiment of the present invention configured as described above, the internal resistance is varied according to the number of controllers installed in the network and the current temperature to select the internal resistance optimized for signal waveform stabilization, thereby distorting the signal. and delay can be minimized.
또한, 선택된 내부 저항에 따라 데이터 통신을 수행하는 중 에러 프레임 발생 여부를 모니터링하여 내부 저항을 조정함으로써, 신호의 왜곡 및 지연을 최소화할 수 있다.In addition, signal distortion and delay may be minimized by adjusting the internal resistance by monitoring whether an error frame occurs during data communication according to the selected internal resistance.
본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable in the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the description below. will be.
도 1은 본 발명의 일 실시예에 따른 차량용 네트워크 시스템을 나타낸 도면이다.
도 2a는 제어기의 내부 저항으로 인해 발생될 수 있는 통신 오류를 설명하기 위한 도면이다.
도 2b는 제어기의 온도에 따라 발생될 수 있는 통신 오류를 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 제어기를 나타낸 블록도이다.
도 4는 본 발명의 일 실시예에 따른 차량용 전자 장치(제어기)의 내부 저항 결정 방법을 나타낸 흐름도이다.
도 5는 본 발명의 일 실시예에 따른 차량용 전자 장치(제어기)의 내부 저항 결정 방법을 나타낸 제2 흐름도이다.
도 6은 본 발명의 일 실시예에 따른 차량용 전자 장치(제어기)의 내부 저항 결정 방법을 나타낸 제3 흐름도이다.1 is a diagram illustrating a vehicle network system according to an embodiment of the present invention.
2A is a diagram for explaining a communication error that may occur due to internal resistance of a controller.
2B is a diagram for explaining a communication error that may occur according to the temperature of the controller.
3 is a block diagram showing a controller according to an embodiment of the present invention.
4 is a flowchart illustrating a method for determining internal resistance of a vehicle electronic device (controller) according to an embodiment of the present invention.
5 is a second flowchart illustrating a method for determining internal resistance of a vehicle electronic device (controller) according to an embodiment of the present invention.
6 is a third flowchart illustrating a method for determining internal resistance of a vehicle electronic device (controller) according to an embodiment of the present invention.
이하, 본 발명과 관련된 적어도 하나의 실시 예에 대하여 도면을 참조하여 보다 상세하게 설명한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다.Hereinafter, at least one embodiment related to the present invention will be described in more detail with reference to the drawings. The suffixes "module" and "unit" for components used in the following description are given or used together in consideration of ease of writing the specification, and do not have meanings or roles that are distinct from each other by themselves.
도 1은 본 발명의 일 실시예에 따른 차량용 네트워크 시스템을 나타낸 도면이다.1 is a diagram illustrating a vehicle network system according to an embodiment of the present invention.
도 1을 참조하면, 차량용 네트워크 시스템(10)은 차량 내 전자 장치들 간의 통신을 위한 차량 내부 네트워크시스템으로서, 2가닥의 와이어로 구성된 하나의 버스(10)와, 버스(10)에 연결된 복수의 제어기(20, 30-1~30-9)를 포함하여 구성될 수 있다. 여기서, 복수의 제어기의 개수 및 종류는 차량의 종류, 사양 등에 따라 얼마든지 달라질 수 있음을 주의하여야 한다. 본 명세서에서 제어기는 차량용 전자 장치를 의미한다.Referring to FIG. 1, a
버스(10)의 양 끝단에는 각각 종단저항(13,14)이 연결되며, 종단 저항(13, 14)은 고속 신호 전송시 수신 모드 반송파의 에너지를 흡수함으로써 신호의 안전성을 확보하고, 전압 레벨을 유지하기 위한 적절한 부하를 제공할 수 있다. 종단 저항(13, 14)은 예를 들어, 120Ω의 저항이 사용될 수 있으나, 본 발명의 범위는 이에 한정되지 않는다.Terminating
복수의 제어기들(20, 30-1~30-9)은 CAN-FD 통신 프로토콜을 이용하는 복수의 CAN-FD 통신 제어기로서, 버스(10)에 연결되어 버스(10)를 통해 데이터를 송수신할 수 있다.The plurality of
복수의 제어기들(20, 30-1~30-9) 중 적어도 하나의 제어기(20)인 EMS(Engine Management System)는 종단 저항(13)을 포함할 수 있다. 종단 저항(13)을 포함하는 제어기는 표준 규격(ES specification)에 미리 정해져 있을 수 있다(예를 들어, EMS, CGW(CAN Gateway), 클러스터 등).An engine management system (EMS), which is at least one
또한, 복수의 제어기들(30-1~30-9)은 각각 TCU(Transmission Control Unit), 4WD(4륜 구동 컨트롤러), ESC(Electric Stability Control), 클러스터, SAS(Steering Angle Sensor), SCC(Smart Cruse Control), ACU(Airbag Control Unit), EPB(Electric Parking Brake), AFLS(Adaptive Front-lightning System)에 해당할 수 있으나, 본 발명의 범위가 이에 한정되지는 않는다.In addition, the plurality of controllers 30-1 to 30-9 are respectively TCU (Transmission Control Unit), 4WD (4WD Controller), ESC (Electric Stability Control), cluster, SAS (Steering Angle Sensor), SCC ( Smart Cruise Control), ACU (Airbag Control Unit), EPB (Electric Parking Brake), and AFLS (Adaptive Front-lightning System), but the scope of the present invention is not limited thereto.
복수의 제어기들(30-1~30-9) 각각은 내부의 CAN-FD 통신 회로부에 장착되는 내부 저항을 포함할 수 있는데, CAN-FD 통신은 내부 커패시터 용량보다 내부 저항의 크기에 따라 버스(10)를 통해 송수신되는 신호의 파형 왜곡이 많은 영향을 받을 수 있다. 따라서, 본 발명의 일 실시예에 따른 복수의 제어기들(30-1~30-9) 각각은 신호 파형의 강건성을 확보하기 위해 내부 저항을 동적으로 제어할 수 있다.Each of the plurality of controllers 30-1 to 30-9 may include an internal resistance mounted on an internal CAN-FD communication circuit, and CAN-FD communication is a bus ( 10) can be greatly affected by waveform distortion of signals transmitted and received. Accordingly, each of the plurality of controllers 30-1 to 30-9 according to an embodiment of the present invention may dynamically control internal resistance to ensure robustness of a signal waveform.
또한 차량용 네트워크 시스템(10)은 CAN-FD 네트워크에서 발생하는 데이터 전송 오류의 진단을 위해 진단용 커넥터(40)를 더 포함하여 구성될 수 있으며, 진단용 커넥터(40)는 버스(10)에 동시 연결되어 구성될 수 있다.In addition, the
진단용 커넥터(40)는 CAN-FD 통신 네트워크의 오류 진단을 위한 일종의 통신 제어기로서, 메시지를 전송 및 수신하는 과정을 통해 CAN-FD 통신 네트워크의 오류를 진단할 수 있다.The
다른 실시예에 따라, 복수의 제어기들(30-1~30-9) 중 적어도 하나의 제어기는 CAN 통신 방식을 이용할 수도 있다.According to another embodiment, at least one of the plurality of controllers 30-1 to 30-9 may use a CAN communication method.
도 2a는 제어기의 내부 저항으로 인해 발생될 수 있는 통신 오류를 설명하기 위한 도면이다.2A is a diagram for explaining a communication error that may occur due to internal resistance of a controller.
도 2a의 좌측 및 우측 그래프는, 제어기의 내부 저항이 1kΩ 및 5.6kΩ 일 때, 버스를 통해 송수신되는 신호의 신호 왜곡 정도를 나타낸 것이다.Left and right graphs of FIG. 2A show the degree of signal distortion of signals transmitted and received through the bus when the internal resistances of the controller are 1 kΩ and 5.6 kΩ.
신호의 전압 레벨이 0.9V이상으로 천이할 때 제어기는 0으로 인식하고, 신호의 전압 레벨이 0.5V이하로 천이할 때 제어기는 1로 인식한다고 가정하기로 한다. 또한, 1비트(bit)가 전송되는 기준 시간은 500ns라 가정하기로 한다.It is assumed that the controller recognizes as 0 when the voltage level of the signal transitions above 0.9V and recognizes it as 1 when the voltage level of the signal transitions below 0.5V. In addition, it is assumed that the reference time for transmitting 1 bit is 500 ns.
좌측 그래프에서, 송신 측의 제어기가 0에서 1로 변경되는 데이터에 해당하는 신호를 송신한 경우, 내부 저항이 1kΩ인 제어기는 거의 신호 왜곡/지연 없이 기준 시간인 500ns가 경과한 뒤 신호가 0에서 1로 변경되었음을 인식할 수 있다.In the graph on the left, when the controller on the transmitting side transmits a signal corresponding to data that changes from 0 to 1, the controller with an internal resistance of 1 kΩ almost never distorts or delays the signal, and after the standard time of 500 ns passes, the signal changes from 0 to 1. It can be recognized that it has been changed to 1.
그러나, 우측 그래프에서, 송신 측의 제어기가 0에서 1로 변경되는 데이터에 해당하는 신호를 송신한 경우, 내부 저항이 5.6kΩ인 제어기는 기준 시간인 500ns가 경과한 뒤에도 신호가 0에서 1로 변경되었음을 인식하지 못하며, 1016ns가 경과한 뒤에야 신호가 0에서 1로 변경되었음을 인식할 수 있어, 심각한 신호 왜곡/지연이 발생할 수 있다.However, in the graph on the right, when the controller on the transmission side transmits a signal corresponding to data that changes from 0 to 1, the controller with an internal resistance of 5.6 kΩ changes the signal from 0 to 1 even after the reference time of 500 ns has elapsed. It is not recognized that the signal has been changed from 0 to 1 only after 1016 ns has elapsed, and serious signal distortion/delay may occur.
이는 제어기의 내부 저항이 클수록 신호 안정화 시간(settling time)이 증가되어 신호의 왜곡/지연 현상이 심해지기 때문이다.This is because the signal settling time increases as the internal resistance of the controller increases, resulting in severe signal distortion/delay.
따라서, 신호의 왜곡/지연 현상을 방지하기 위해 내부 저항을 적절하게 선택하는 방법이 요구된다.Therefore, a method of appropriately selecting an internal resistance is required to prevent signal distortion/delay.
도 2b는 제어기의 온도에 따라 발생될 수 있는 통신 오류를 설명하기 위한 도면이다.2B is a diagram for explaining a communication error that may occur according to the temperature of the controller.
도 2b의 그래프는, 제어기의 온도가 -40℃, 23℃ 및 140℃ 일 때, 버스를 통해 송수신되는 신호의 신호 안정화 시간을 나타낸 것이다. 제어기의 온도는 각 제어기의 온도(또는 평균 온도)일 수도 있고, 특정 제어기의 온도일 수도 있고, 버스의 특정 위치의 온도일 수도 있다.The graph of FIG. 2B shows signal stabilization times of signals transmitted and received through a bus when the temperatures of the controller are -40°C, 23°C, and 140°C. The temperature of the controller may be the temperature of each controller (or average temperature), the temperature of a specific controller, or the temperature of a specific location on the bus.
도 2b를 참조하면, 제어기의 온도가 증가할수록(-40℃->23℃->140℃) 신호 안정화 시간이 감소하고 제어기의 온도가 감소할수록(140℃->23℃->-40℃) 신호 안정화 시간이 증가함을 알 수 있다.Referring to FIG. 2B, as the temperature of the controller increases (-40 ℃ -> 23 ℃ -> 140 ℃), the signal stabilization time decreases and as the temperature of the controller decreases (140 ℃ -> 23 ℃ -> -40 ℃) It can be seen that the signal stabilization time increases.
이는 제어기의 내부 저항이 온도에 의존하여 변화되므로, 온도에 따라 신호 안정화 시간이 변화되어 신호의 왜곡/지연 현상이 발생할 수 있다.Since the internal resistance of the controller changes depending on the temperature, signal stabilization time may change depending on the temperature, which may cause signal distortion/delay.
따라서, 신호의 왜곡/지연 현상을 방지하기 위해, 제어기의 온도를 고려하여 내부 저항을 적절하게 선택하는 방법이 요구된다.Therefore, in order to prevent signal distortion/delay, a method of appropriately selecting the internal resistance in consideration of the temperature of the controller is required.
도 3은 본 발명의 일 실시예에 따른 제어기를 나타낸 블록도이다.3 is a block diagram showing a controller according to an embodiment of the present invention.
도 3을 참조하면, 차량용 네트워크 시스템(30)은 도 1에 도시된 차량용 네트워크 시스템(10)을 단순화시켜 나타내고, 특정 제어기(100)가 보다 상세히 도시되어 있다.Referring to FIG. 3 , a
CAN-FD 버스(300), CAN 하이(301) 및 CAN 로우(302)는 종단 저항(13, 14) 및 버스(10)를 달리 나타낸 것이고, CAN-FD 버스(300)와 CAN 하이(301)에 연결된 와이어에 제1 신호(예를 들어, high signal)가 전송되고, CAN-FD 버스(300)와 CAN 로우(302)에 연결된 와이어에 제2 신호(예를 들어, low signal)가 전송될 수 있다. CAN-
각 제어기는 두 와이어에 각각 연결되어 제1 신호와 제2 신호의 차동 신호로 데이터를 송수신할 수 있다. 제1 제어기(100) 및 제2 내지 제4 제어기(310~330) 각각은 복수의 제어기들(30-1~30-9) 중 어느 하나일 수 있다. 도 3에서는 CAN-FD 네트워크에 4개의 제어기가 연결된 것으로 도시되어 있으나, 본 발명의 범위는 이에 한정되지 않고 4개보다 적은 혹은 4개보다 많은 제어기가 연결될 수 있다.Each controller may be connected to two wires to transmit and receive data as a differential signal between a first signal and a second signal. Each of the
또한, 이하에서는 제1 제어기(100)를 중심으로 그 동작을 설명하나 이러한 동작이 다른 제어기들(310~330)에 의해서도 수행될 수 있다.Also, in the following description, the operation is centered on the
제1 제어기(100)는 CPU(Central Processing Unit, 110), CAN-FD 트랜시버(120) 및 내부 저항부(130)를 포함할 수 있다. 제1 제어기(100)는 그 종류에 따라 더 많은 또는 더 적은 구성을 포함할 수 있음은 물론이다.The
CPU(110)는 제1 제어기(100)의 전반적인 동작을 제어하며, CAN-FD 네트워크를 통해 다른 제어기와 통신이 가능하도록 CAN-FD 트랜시버(120)에 송신 데이터(TXD)를 전달하거나, CAN-FD 트랜시버(120)로부터 수신 데이터(RXD)를 수신할 수 있다. 여기서, 송신 데이터(TXD)와 수신 데이터(RXD)는 디지털 형태의 데이터일 수 있다.The
또한, CPU(110)는 내부 저항부(130)에 포함된 스위치를 제어하기 위한 내부 저항 선택 신호(SW0~SWn; 여기서 n은 1이상의 정수)를 생성할 수 있고, 내부 저항 선택 신호(SW0~SWn)를 이용해 내부 저항부(130)에서 CAN-FD 트랜시버(120)에 연결되는 내부 저항을 선택할 수 있다.In addition, the
CAN-FD 트랜시버(120)는 CAN 하이(301)와 CAN 로우(302)에 연결되어 아날로그 형태의 제1 신호와 제2 신호를 송수신할 수 있다. 보다 구체적으로 CAN-FD 트랜시버(120)는 다른 제어기로부터 제1 신호와 제2 신호를 수신하여 차동 증폭 및 아날로그-디지털 변환(ADC)을 수행하여 수신 데이터(RXD)를 생성하거나, 송신 데이터(TXD)를 수신하여 디지털-아날로그 변환(DAC)을 통해 차동 신호인 제1 신호와 제2 신호를 각각 생성하여 다른 제어기로 전송할 수 있다.The CAN-
내부 저항부(130)는 CAN-FD 트랜시버(120)에 각각 연결된 제1 내부 저항(R0), 내지 제n 내부 저항(Rn)을 포함할 수 있고, 제1 내부 저항(R0) 내지 제n 내부 저항(Rn)은 각각에 연결된 스위치(TR0~TRn)의 동작에 따라 내부 저항으로 선택되거나 선택되지 않을 수 있다.The
각 스위치(TR0~TRn)는 예를 들어 전계 효과 트랜지스터(MOS-FET)로 구현될 수 있으나, 본 발명의 범위는 이에 한정되지 않는다. 내부 저항 선택 신호(SW0~SWn)는 각 스위치(TR0~TRn)의 게이트 제어 신호일 수 있고, 내부 저항 선택 신호(SW0~SWn)의 전압 레벨에 따라 개폐될 수 있다.Each of the switches TR0 to TRn may be implemented as, for example, a field effect transistor (MOS-FET), but the scope of the present invention is not limited thereto. The internal resistance selection signals SW0 to SWn may be gate control signals of the respective switches TR0 to TRn, and may be opened and closed according to voltage levels of the internal resistance selection signals SW0 to SWn.
예를 들어, 내부 저항 선택 신호(SW0)가 제1 레벨(예컨대, 하이 레벨)이고 내부 저항 선택 신호(SW1~SWn)가 제2 레벨(예컨대, 로우 레벨)이면 스위치(TR1) 만이 온(ON)되고 나머지 스위치(TR1~TRn)는 오프(OFF)될 수 있다. 이 경우, 내부 저항은 R0으로 선택된다.For example, when the internal resistance selection signal SW0 is a first level (eg, high level) and the internal resistance selection signals SW1 to SWn are at a second level (eg, low level), only the switch TR1 is turned on (ON ) and the remaining switches TR1 to TRn may be turned OFF. In this case, the internal resistance is selected as R0.
R0에서 Rn으로 갈수록 그 저항값은 증가할 수 있다. 예를 들어, 내부 저항이 6개 존재하고, R0, R1, R2, R3, R4, R5는 각각 0.5kΩ, 1kΩ, 2kΩ, 3kΩ, 4kΩ, 5kΩ 일 수 있으나, 이는 예시에 불과하며 내부 저항부(130)는 더 많은 종류의 내부 저항을 포함할 수 있고, 각 내부 저항의 저항 값은 이와 달리 설정될 수 있다.The resistance value may increase from R0 to Rn. For example, there are six internal resistances, and R0, R1, R2, R3, R4, and R5 may be 0.5 kΩ, 1 kΩ, 2 kΩ, 3 kΩ, 4 kΩ, and 5 kΩ, respectively, but this is only an example and the internal resistance unit ( 130) may include more types of internal resistors, and the resistance value of each internal resistor may be set differently.
제1 제어기(100)의 내부 저항 결정과 관련된 상세한 동작은 도 4를 참조하여 후술하기로 한다.A detailed operation related to determining the internal resistance of the
또한, 제1 제어기(100)는 온도 센서(140)를 더 포함할 수 있다. 온도 센서(140)는 제1 제어기(100)의 내부 또는 표면에 장착되어 제1 제어기(100)의 온도 정보를 생성하고 이를 CPU(110)에 제공할 수 있다.Also, the
도 3에 도시된 예에서는 온도 센서(140)가 제1 제어기(100)에 포함된 것으로 도시되었으나, 이는 예시적인 것에 불과하며, 제1 제어기(100)가 온도 센서를 포함하지 않고 온도 센서를 포함하는 인접하는 제어기로부터 온도 정보를 제공받을 수도 있다.In the example shown in FIG. 3 , the
도 4는 본 발명의 일 실시예에 따른 차량용 전자 장치(제어기)의 내부 저항 결정 방법을 나타낸 제1 흐름도이다.4 is a first flowchart illustrating a method for determining internal resistance of a vehicle electronic device (controller) according to an embodiment of the present invention.
도 4를 참조하면, 제1 제어기(100)의 CPU(110)는 IGN(ignition) On 또는 시동 시 이후의 제1 시간 동안 수신되는 CAN-FD 네트워크에 연결된 전체의 송신 메시지를 확인할 수 있다(S10). 여기서, IGN(ignition) On 또는 시동 시 차량 네트워크에 연결된 각 제어기는 일정 시간(500ms) 이내에 네트워크로 최초 메시지(각 제어기 스스로 정상 동작 중임을 지시하는 메시지)를 전송하도록 규정되어 있는데, 제1 시간은 상기 일정 시간보다 긴 시간(예를 들어, 3초)일 수 있다. 이는 배터리 상태가 열악한 경우 등 비정상적인 조건을 고려하여 결정될 수 있다.Referring to FIG. 4 , the
제1 제어기(100)는 다른 제어기에서 송신하는 전체 메시지를 확인 후 CAN-FD 네트워크에 연결된 전체의 제어기 수를 확인할 수 있다(S20). 각 제어기가 전송하는 메시지는 각 제어기를 식별할 수 있는 ID를 포함할 수 있고, 제1 제어기(100)의 CPU(110)는 제1 시간동안 수신된 메시지에 포함된 ID로부터 현재 CAN-FD 네트워크에 연결된 전체 제어기 수를 확인할 수 있다. 예를 들어, 도 3과 같은 제1 제어기(100)는 CAN-FD 네트워크(이하 '네트워크'라 함)에 연결된 전체 제어기 수가 4개라고 확인할 수 있다.The
도 4에 도시된 S30 내지 S64 단계는 CPU(110)가 네트워크에 연결된 제어기 수가 A 범위인 경우에 수행되는 동작일 수 있다. 예를 들어, A 범위는 1개 내지 9개의 범위일 수 있다.Steps S30 to S64 shown in FIG. 4 may be operations performed when the number of controllers to which the
네트워크에 연결된 제어기 수가 A 범위이고 현재 온도가 제1 범위인지 판단할 수 있고(S30), 현재 온도가 제1 범위인 경우(S30의 예), 내부 저항을 R5로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S32). 예를 들어, 제1 범위는 50 ℃ 이상의 온도 범위일 수 있다.It is possible to determine whether the number of controllers connected to the network is in the A range and the current temperature is in the first range (S30). It can be monitored to determine whether an error frame is generated (S32). For example, the first range may be a temperature range of 50 °C or higher.
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S32의 아니오), CPU(110)는 내부 저항을 R5로 유지할 수 있다(S34).If no error frame has occurred as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S32), the
현재 온도가 제1 범위 밖인 경우(S30의 아니오), CPU(110)는 현재 온도가 제2 범위인지 판단할 수 있고(S40), 현재 온도가 제2 범위인 경우(S40의 예), 내부 저항을 R4로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S42). 예를 들어, 제2 범위는 0~50 ℃의 온도 범위일 수 있다.If the current temperature is outside the first range (No in S30), the
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S42의 아니오), CPU(110)는 내부 저항을 R4로 유지할 수 있다(S44).If no error frame has occurred as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S42), the
현재 온도가 제2 범위 밖인 경우(S40의 아니오), CPU(110)는 현재 온도가 제3 범위인지 판단할 수 있고(S50), 현재 온도가 제3 범위인 경우(S50의 예), 내부 저항을 R3으로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S52). 예를 들어, 제3 범위는 0℃ 이하의 온도 범위일 수 있다.If the current temperature is outside the second range (No in S40), the
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S52의 아니오), CPU(110)는 내부 저항을 R3으로 유지할 수 있다(S54).If no error frame has occurred as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S52), the
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생한 경우(S32, S42, S52의 아니오), CPU(110)는 내부 저항을 각각 R4, R3, R2로 결정하고 에러 프레임이 발생하는지 모니터링 할 수 있다(S42, S52, S62).If an error frame occurs as a result of monitoring whether or not an error frame occurs for a predetermined time (eg, 1 minute) (No in S32, S42, and S52), the
또한, 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S62의 아니오), CPU(110)는 내부 저항을 R2로 유지할 수 있다(S64).In addition, when an error frame does not occur as a result of monitoring whether an error frame has occurred for a predetermined time (eg, 1 minute) (No in S62), the
도 5는 본 발명의 일 실시예에 따른 차량용 전자 장치(제어기)의 내부 저항 결정 방법을 나타낸 제2 흐름도이다.5 is a second flowchart illustrating a method for determining internal resistance of a vehicle electronic device (controller) according to an embodiment of the present invention.
도 5를 참조하면, 도 5에 도시된 S10 및 S20 단계는 도 4에 도시된 단계와 동일한 단계를 의미한다.Referring to FIG. 5 , steps S10 and S20 shown in FIG. 5 mean the same steps as those shown in FIG. 4 .
도 5에 도시된 S130 내지 S164 단계는 CPU(110)가 네트워크에 연결된 제어기 수가 B 범위인 경우에 수행되는 동작일 수 있다. 예를 들어, B 범위는 10개 내지 14개의 범위일 수 있다.Steps S130 to S164 shown in FIG. 5 may be operations performed when the number of controllers to which the
네트워크에 연결된 제어기 수가 B 범위이고 현재 온도가 제1 범위인지 판단할 수 있고(S130), 현재 온도가 제1 범위인 경우(S130의 예), 내부 저항을 R4로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S132). 예를 들어, 제1 범위는 50 ℃ 이상의 온도 범위일 수 있다.It is possible to determine whether the number of controllers connected to the network is in the B range and the current temperature is in the first range (S130). It may be monitored to determine whether an error frame occurs (S132). For example, the first range may be a temperature range of 50 °C or higher.
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S132의 아니오), CPU(110)는 내부 저항을 R4로 유지할 수 있다(S134).If no error frame has occurred as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S132), the
현재 온도가 제1 범위 밖인 경우(S130의 아니오), CPU(110)는 현재 온도가 제2 범위인지 판단할 수 있고(S140), 현재 온도가 제2 범위인 경우(S140의 예), 내부 저항을 R3으로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S142). 예를 들어, 제2 범위는 0~50 ℃의 온도 범위일 수 있다.If the current temperature is outside the first range (No in S130), the
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S142의 아니오), CPU(110)는 내부 저항을 R3으로 유지할 수 있다(S144).If an error frame does not occur as a result of monitoring whether an error frame has occurred for a predetermined time (eg, 1 minute) (No in S142), the
현재 온도가 제2 범위 밖인 경우(S140의 아니오), CPU(110)는 현재 온도가 제3 범위인지 판단할 수 있고(S150), 현재 온도가 제3 범위인 경우(S150의 예), 내부 저항을 R2로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S152). 예를 들어, 제3 범위는 0℃ 이하의 온도 범위일 수 있다.If the current temperature is outside the second range (No in S140), the
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S152의 아니오), CPU(110)는 내부 저항을 R2로 유지할 수 있다(S154).If an error frame does not occur as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S152), the
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생한 경우(S132, S142, S152의 아니오), CPU(110)는 내부 저항을 각각 R3, R2, R1로 결정하고 에러 프레임이 발생하는지 모니터링 할 수 있다(S142, S152, S162).If an error frame occurs as a result of monitoring whether or not an error frame occurs for a predetermined time (eg, 1 minute) (No in S132, S142, and S152), the
또한, 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S162의 아니오), CPU(110)는 내부 저항을 R1로 유지할 수 있다(S164).In addition, when an error frame does not occur as a result of monitoring whether an error frame has occurred for a predetermined time (eg, 1 minute) (No in S162), the
도 6은 본 발명의 일 실시예에 따른 차량용 전자 장치(제어기)의 내부 저항 결정 방법을 나타낸 제3 흐름도이다.6 is a third flowchart illustrating a method for determining internal resistance of a vehicle electronic device (controller) according to an embodiment of the present invention.
도 6을 참조하면, 도 6에 도시된 S10 및 S20 단계는 도 4/도 5에 도시된 단계와 동일한 단계를 의미한다.Referring to FIG. 6 , steps S10 and S20 shown in FIG. 6 mean the same steps as those shown in FIGS. 4 and 5 .
도 6에 도시된 S230 내지 S264 단계는 CPU(110)가 네트워크에 연결된 제어기 수가 C 범위인 경우에 수행되는 동작일 수 있다. 예를 들어, C 범위는 15개 이상의 범위일 수 있다.Steps S230 to S264 shown in FIG. 6 may be operations performed when the number of controllers to which the
네트워크에 연결된 제어기 수가 C 범위이고 현재 온도가 제1 범위인지 판단할 수 있고(S230), 현재 온도가 제1 범위인 경우(S230의 예), 내부 저항을 R3으로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S232). 예를 들어, 제1 범위는 50 ℃ 이상의 온도 범위일 수 있다.It is possible to determine whether the number of controllers connected to the network is in the C range and the current temperature is in the first range (S230). It may be monitored to determine whether an error frame occurs (S232). For example, the first range may be a temperature range of 50 °C or higher.
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S232의 아니오), CPU(110)는 내부 저항을 R3으로 유지할 수 있다(S234).If no error frame has occurred as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S232), the
현재 온도가 제1 범위 밖인 경우(S230의 아니오), CPU(110)는 현재 온도가 제2 범위인지 판단할 수 있고(S240), 현재 온도가 제2 범위인 경우(S240의 예), 내부 저항을 R2로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S242). 예를 들어, 제2 범위는 0~50 ℃의 온도 범위일 수 있다.If the current temperature is outside the first range (No in S230), the
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S242의 아니오), CPU(110)는 내부 저항을 R2로 유지할 수 있다(S244).If an error frame does not occur as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S242), the
현재 온도가 제2 범위 밖인 경우(S240의 아니오), CPU(110)는 현재 온도가 제3 범위인지 판단할 수 있고(S250), 현재 온도가 제3 범위인 경우(S250의 예), 내부 저항을 R1로 결정하고 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단할 수 있다(S252). 예를 들어, 제3 범위는 0℃ 이하의 온도 범위일 수 있다.If the current temperature is outside the second range (No in S240), the
또한, 에러 프레임은 수신 메시지에 포함된 CRC 필드를 확인하여 식별할 수 있으나, 이는 일 실시예에 불과하다.Also, the error frame can be identified by checking the CRC field included in the received message, but this is only an example.
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S252의 아니오), CPU(110)는 내부 저항을 R1로 유지할 수 있다(S254).If no error frame has occurred as a result of monitoring whether or not an error frame has occurred for a predetermined time (eg, 1 minute) (No in S252), the
만일 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생한 경우(S232, S242, S252의 아니오), CPU(110)는 내부 저항을 각각 R2, R1, R0으로 결정하고 에러 프레임이 발생하는지 모니터링 할 수 있다(S242, S252, S262).If an error frame occurs as a result of monitoring whether or not an error frame occurs for a predetermined time (eg, 1 minute) (No in S232, S242, and S252), the
또한, 미리 정해진 시간(예를 들어, 1분) 동안 에러 프레임의 발생 여부를 모니터링한 결과 에러 프레임이 발생하지 않은 경우(S262의 아니오), CPU(110)는 내부 저항을 R0으로 유지할 수 있다(S264).In addition, when an error frame does not occur as a result of monitoring whether an error frame has occurred for a predetermined time (eg, 1 minute) (No in S262), the
즉, CPU(110)는 네트워크에 연결된 총 제어기 수 및 현재 온도를 확인하여, 총 제어기 수 및 현재 온도에 따라 내부 저항을 선택하고, 선택된 내부 저항으로 데이터 송수신을 진행하여 에러 프레임이 발생되는지 모니터링함에 의해 선택된 내부 저항이 적절한지 검증할 수 있다. 또한, 만일 선택된 내부 저항이 적절하지 못한 경우 다른 내부 저항이 선택될 수 있도록 함으로써 신호의 왜곡/지연이 최소화될 수 있는 최적의 내부 저항이 선택될 수 있도록 한다.That is, the
도 4에 도시된 바와 달리, 만일 제1 제어기(100)에 더 많은 내부 저항이 구비된 경우 도 4의 흐름도가 다른 내부 저항을 선택할 수 있도록 확장될 수 있음은 물론이다.Unlike that shown in FIG. 4, if the
또한, A 내지 C 범위 및 제1 내지 제3 범위는 차량의 종류 또는 사양 등에 따라 달리 설정될 수 있고, 더 많은 내부 저항이 구비된 경우 더욱 세분화될 수 있다.In addition, the ranges A to C and the first to third ranges may be set differently according to the type or specification of the vehicle, and may be further subdivided when more internal resistance is provided.
그리고, A 내지 C 범위, 제1 내지 제3 범위 및 내부 저항의 저항 값 간의 대응 관계는 신호의 왜곡/지연을 최소화할 수 있도록 실험적으로 미리 결정될 수 있다.Also, a correspondence relationship between the ranges A to C, the first to third ranges, and the resistance value of the internal resistance may be experimentally determined in advance to minimize signal distortion/delay.
본 발명의 일 실시예에 따른 차량용 네트워크 시스템에 의하면, 네트워크에 장착된 제어기 수 및 현재 온도에 따라 내부 저항을 가변하여 신호 파형 안정화에 최적화된 내부 저항을 선택함으로써, 신호의 왜곡 및 지연을 최소화할 수 있다.According to an in-vehicle network system according to an embodiment of the present invention, distortion and delay of a signal can be minimized by selecting an internal resistance optimized for signal waveform stabilization by varying the internal resistance according to the number of controllers installed in the network and the current temperature. can
또한, 선택된 내부 저항에 따라 데이터 통신을 수행하는 중 에러 프레임 발생 여부를 모니터링하여 내부 저항을 조정함으로써, 신호의 왜곡 및 지연을 최소화할 수 있다.In addition, signal distortion and delay may be minimized by adjusting the internal resistance by monitoring whether an error frame occurs during data communication according to the selected internal resistance.
상기와 같이 설명된 방법은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체로는 컴퓨터 시스템에 의하여 해독될 수 있는 데이터가 저장된 모든 종류의 기록 매체를 포함한다. 예를 들어, ROM(Read Only Memory), RAM(Random Access Memory), 자기 테이프, 자기 디스크, 플래쉬 메모리, 광 데이터 저장장치 등이 있을 수 있다. 또한, 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다.The method described above can be implemented as computer readable codes on a computer readable recording medium. Computer-readable recording media includes all types of recording media in which data that can be decoded by a computer system is stored. For example, there may be read only memory (ROM), random access memory (RAM), magnetic tape, magnetic disk, flash memory, optical data storage device, and the like. In addition, the computer-readable recording medium may be distributed to computer systems connected through a computer communication network, and stored and executed as readable codes in a distributed manner.
또한, 상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.In addition, although the above has been described with reference to preferred embodiments of the present invention, those skilled in the art can make the present invention within the scope not departing from the spirit and scope of the present invention described in the claims below. It will be appreciated that various modifications and variations may be made.
Claims (17)
IGN(ignition) 온(on) 또는 시동 이후 제1 시간 동안 차량 네트워크를 통해 다른 전자 장치로부터 수신되는 메시지를 수신하는 단계;
상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하는 단계; 및
상기 총 전자 장치의 수 및 현재 온도에 따라 상기 차량용 전자 장치의 내부 저항을 결정하는 단계를 포함하며,
상기 차량용 전자 장치의 내부 저항을 결정하는 단계는,
상기 차량용 전자 장치에 포함된 복수의 내부 저항들 중에서, 상기 다른 전자 장치와의 통신을 위한 트랜시버에 연결되는 내부 저항을 선택하는 것을 포함하며,
상기 내부 저항을 선택하는 것은,
상기 복수의 내부 저항들 각각에 연결된 스위치의 제어를 통해 수행되는,
하는 차량용 전자 장치의 내부 저항 결정 방법.A method for determining the internal resistance of a vehicle electronic device,
receiving a message received from another electronic device through a vehicle network for a first time after IGN (ignition) is turned on or engine is started;
checking the total number of electronic devices connected to the vehicle network based on the message; and
determining an internal resistance of the vehicular electronic device according to the total number of electronic devices and a current temperature;
Determining the internal resistance of the vehicle electronic device,
Selecting an internal resistor connected to a transceiver for communication with the other electronic device from among a plurality of internal resistors included in the vehicular electronic device,
Selecting the internal resistance,
Performed through control of a switch connected to each of the plurality of internal resistors,
A method for determining the internal resistance of an electronic device for a vehicle.
상기 제1 시간은 시동 이후 최초 메시지를 전송하도록 규정된 시간보다 긴 차량용 전자 장치의 내부 저항 결정 방법.According to claim 1,
The method of determining the internal resistance of a vehicle electronic device, wherein the first time is longer than a time prescribed for transmitting an initial message after starting.
상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하는 단계는,
상기 메시지의 ID를 식별하여 상기 총 전자 장치의 수를 확인하는 단계를 포함하는 차량용 전자 장치의 내부 저항 결정 방법.According to claim 1,
Checking the total number of electronic devices connected to the vehicle network based on the message,
and determining the total number of electronic devices by identifying the ID of the message.
상기 차량 네트워크는 CAN-FD 네트워크인 차량용 전자 장치의 내부 저항 결정 방법.According to claim 1,
The method of determining the internal resistance of a vehicle electronic device in which the vehicle network is a CAN-FD network.
상기 차량용 전자 장치의 내부 저항을 결정하는 단계는,
상기 총 전자 장치의 수가 복수의 범위 중 어느 범위에 해당하는지 판단하는 단계; 및
상기 해당하는 범위에 따라 상기 내부 저항을 결정하는 단계를 포함하는 차량용 전자 장치의 내부 저항 결정 방법.According to claim 1,
Determining the internal resistance of the vehicle electronic device,
determining which range among a plurality of ranges the total number of electronic devices falls within; and
and determining the internal resistance according to the corresponding range.
상기 결정된 내부 저항은 상기 총 전자 장치의 수가 많을수록 작아지는 차량용 전자 장치의 내부 저항 결정 방법.According to claim 1,
The determined internal resistance decreases as the number of total electronic devices increases.
상기 내부 저항을 결정하는 단계 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단하는 단계를 더 포함하는 차량용 전자 장치의 내부 저항 결정 방법.According to claim 1,
The method of determining internal resistance of a vehicle electronic device further comprising determining whether an error frame occurs by monitoring a reception message received after the determining of the internal resistance.
상기 에러 프레임이 발생한 경우, 상기 내부 저항을 더 낮은 내부 저항으로 결정하는 단계; 및
상기 에러 프레임이 발생하지 않은 경우, 상기 내부 저항을 유지하는 단계를 더 포함하는 차량용 전자 장치의 내부 저항 결정 방법.According to claim 7,
determining the internal resistance as a lower internal resistance when the error frame occurs; and
The method of determining the internal resistance of the vehicular electronic device further comprising maintaining the internal resistance when the error frame does not occur.
복수의 내부 저항들 및 상기 복수의 내부 저항들 각각에 연결된 스위치를 포함하는 내부 저항부; 및
상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하고, 상기 총 전자 장치의 수 및 현재 온도에 따라, 상기 스위치의 제어를 통해, 상기 복수의 내부 저항들 중에서 상기 다른 전자 장치와의 통신을 위한 상기 트랜시버에 연결되는 차량용 전자 장치의 내부 저항을 선택하는 CPU를 포함하는 차량용 전자 장치.a transceiver receiving a message received from another electronic device through a vehicle network for a first time after IGN (ignition) is turned on or started;
an internal resistance unit including a plurality of internal resistors and a switch connected to each of the plurality of internal resistors; and
Based on the message, the total number of electronic devices connected to the vehicle network is determined, and according to the total number of electronic devices and the current temperature, the other electronic device and the other electronic device among the plurality of internal resistances are controlled by the switch. A vehicle electronic device including a CPU that selects an internal resistance of the vehicle electronic device connected to the transceiver for communication of the vehicle.
상기 제1 시간은 시동 이후 최초 메시지를 전송하도록 규정된 시간보다 긴 차량용 전자 장치.According to claim 9,
The first time is longer than a time prescribed to transmit an initial message after starting the vehicle electronic device.
상기 CPU는 상기 메시지의 ID를 식별하여 상기 차량 네트워크에 연결된 전자 장치의 수를 확인하는 차량용 전자 장치.According to claim 9,
The CPU identifies the ID of the message and checks the number of electronic devices connected to the vehicle network.
상기 차량 네트워크는 CAN-FD 네트워크인 차량용 전자 장치.According to claim 9,
The vehicle network is a CAN-FD network.
상기 CPU는,
상기 총 전자 장치의 수가 복수의 범위 중 어느 범위에 해당하는지 판단하고,
상기 해당하는 범위에 따라 상기 내부 저항을 결정하는 차량용 전자 장치.According to claim 9,
The CPU,
Determining which range among a plurality of ranges the number of total electronic devices falls within;
A vehicle electronic device that determines the internal resistance according to the corresponding range.
상기 선택된 내부 저항은 상기 총 전자 장치의 수가 많을수록 작아지는 차량용 전자 장치.According to claim 9,
The selected internal resistance becomes smaller as the total number of electronic devices increases.
상기 CPU는, 상기 내부 저항을 선택한 이후 수신되는 수신 메시지를 모니터링하여 에러 프레임이 발생하는지 판단하는 차량용 전자 장치.According to claim 9,
The CPU monitors a reception message received after selecting the internal resistance to determine whether an error frame occurs.
상기 CPU는,
상기 에러 프레임이 발생한 경우, 상기 내부 저항을 더 낮은 내부 저항으로 결정하고,
상기 에러 프레임이 발생하지 않은 경우, 상기 내부 저항을 유지하는 차량용 전자 장치.According to claim 15,
The CPU,
When the error frame occurs, determining the internal resistance as a lower internal resistance,
The vehicular electronic device maintaining the internal resistance when the error frame does not occur.
상기 복수의 차량용 전자 장치를 서로 통신 가능하도록 연결하는 CAN-FD 버스를 포함하고,
상기 각 차량용 전자 장치는,
IGN(ignition) 온(on) 또는 시동 이후 제1 시간 동안 차량 네트워크를 통해 다른 전자 장치로부터 수신되는 메시지를 수신하는 트랜시버;
복수의 내부 저항들 및 상기 복수의 내부 저항들 각각에 연결된 스위치를 포함하는 내부 저항부; 및
상기 메시지에 기초하여 상기 차량 네트워크에 연결된 총 전자 장치의 수를 확인하고, 상기 총 전자 장치의 수 및 현재 온도에 따라, 상기 스위치의 제어를 통해, 상기 복수의 내부 저항들 중에서, 상기 다른 전자 장치와의 통신을 위한 상기 트랜시버에 연결되는 상기 각 차량용 전자 장치의 내부 저항을 선택하는 CPU를 포함하는 차량.a plurality of vehicle electronic devices; and
A CAN-FD bus connecting the plurality of vehicular electronic devices to communicate with each other;
Each of the vehicle electronic devices,
a transceiver receiving a message received from another electronic device through a vehicle network for a first time after IGN (ignition) is turned on or started;
an internal resistance unit including a plurality of internal resistors and a switch connected to each of the plurality of internal resistors; and
The total number of electronic devices connected to the vehicle network is determined based on the message, and according to the total number of electronic devices and the current temperature, the other electronic device among the plurality of internal resistances is controlled by the switch. A vehicle including a CPU that selects an internal resistance of each of the on-vehicle electronic devices connected to the transceiver for communication with the vehicle.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170150597A KR102467224B1 (en) | 2017-11-13 | 2017-11-13 | Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same |
CN201810477668.3A CN109774625B (en) | 2017-11-13 | 2018-05-18 | Method for determining internal resistance, vehicle electronic device and vehicle with same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170150597A KR102467224B1 (en) | 2017-11-13 | 2017-11-13 | Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20190054394A KR20190054394A (en) | 2019-05-22 |
KR102467224B1 true KR102467224B1 (en) | 2022-11-14 |
Family
ID=66495746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170150597A KR102467224B1 (en) | 2017-11-13 | 2017-11-13 | Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR102467224B1 (en) |
CN (1) | CN109774625B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102569894B1 (en) * | 2018-06-12 | 2023-08-23 | 현대자동차주식회사 | Method for robusting communication signal of vehicle |
CN112230948B (en) * | 2019-06-30 | 2022-01-07 | 比亚迪股份有限公司 | Vehicle CAN communication system, software upgrading method, equipment and system and vehicle |
CN114706440B (en) * | 2022-03-31 | 2023-08-29 | 深蓝汽车科技有限公司 | adjustable ringing suppression circuit and vehicle |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3714998A1 (en) * | 1987-05-06 | 1988-11-17 | Bosch Gmbh Robert | INPUT / OUTPUT CIRCUIT FOR MICROPROCESSORS |
DE4100778C1 (en) * | 1991-01-12 | 1992-05-21 | Mercedes-Benz Aktiengesellschaft, 7000 Stuttgart, De | |
US7007179B2 (en) * | 2001-02-08 | 2006-02-28 | Honeywell International Inc. | Electric load management center |
US7928735B2 (en) * | 2007-07-23 | 2011-04-19 | Yung-Sheng Huang | Battery performance monitor |
US8304929B2 (en) * | 2009-06-18 | 2012-11-06 | Lear Corporation | Inverter with network interface |
KR101230906B1 (en) * | 2011-07-19 | 2013-02-07 | 현대자동차주식회사 | Method for reducing distorted signal of high speed Control Area Network |
KR101854456B1 (en) * | 2011-12-12 | 2018-05-03 | 현대모비스 주식회사 | Battery Sensor and Battery Monitoring System |
CN202840547U (en) * | 2012-05-15 | 2013-03-27 | 深圳市陆地方舟电动车有限公司 | Intelligent management system of lithium battery of electric automobile |
KR101371742B1 (en) * | 2012-10-05 | 2014-03-14 | 기아자동차(주) | Estimating method for state of charge of high voltage battery in vehicle |
KR20140045207A (en) * | 2012-10-08 | 2014-04-16 | 현대모비스 주식회사 | Idle stop and go apparatus and method using an economy battery sensor |
KR101526413B1 (en) * | 2014-01-10 | 2015-06-05 | 현대자동차 주식회사 | Transceiver ic and operationg mwethod thereof |
CN106463801B (en) * | 2014-04-01 | 2019-01-25 | 密执安州立大学董事会 | Real-time battery thermal management for electric vehicle |
WO2016116973A1 (en) * | 2015-01-20 | 2016-07-28 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Invalid frame handling method, invalidity detection electronic-control unit and vehicle-mounted network system |
US9827924B2 (en) * | 2015-01-21 | 2017-11-28 | Ford Global Technologies, Llc | Methods and systems for loss of communication detection in a vehicle network |
US9586541B2 (en) * | 2015-02-25 | 2017-03-07 | GM Global Technology Operations LLC | Methods, apparatus, and systems for identification of cells in a network |
JP6500672B2 (en) * | 2015-03-06 | 2019-04-17 | 株式会社デンソー | Control system |
FR3041845B1 (en) * | 2015-09-25 | 2018-10-12 | Eliocity | ELECTRONIC DEVICE CLEAN TO BE CONNECTED TO A VEHICLE NETWORK, AND METHOD OF TRANSMITTING MESSAGES IMPLEMENTED BY SUCH AN ELECTRONIC DEVICE |
CN107235022A (en) * | 2017-06-28 | 2017-10-10 | 东南(福建)汽车工业有限公司 | A kind of electric automobile bus control system |
-
2017
- 2017-11-13 KR KR1020170150597A patent/KR102467224B1/en active IP Right Grant
-
2018
- 2018-05-18 CN CN201810477668.3A patent/CN109774625B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109774625B (en) | 2023-08-25 |
CN109774625A (en) | 2019-05-21 |
KR20190054394A (en) | 2019-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11271965B2 (en) | Security system for electronic equipment | |
KR102467224B1 (en) | Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same | |
CN105282209B (en) | Network system for vehicle and data transmission method of heterogeneous communication controller therein | |
KR100305925B1 (en) | Process for testing the ground contact of parts of a networked system | |
KR101924769B1 (en) | Circuit and electronic module for automatic addressing | |
EP3544239B1 (en) | Controller area network (can) device and method for operating a can device | |
AU716759B2 (en) | A system and method for improving network performance through inter frame spacing adaptation | |
US9672181B2 (en) | System and method to address devices connected to a bus system | |
CN109039693B (en) | Method for evaluating controller area network | |
CN110226309B (en) | Method for operating a monitoring device of a data network in a motor vehicle, and monitoring device, control unit and motor vehicle | |
US20200021611A1 (en) | Fraud detection method, fraud detection device, and recording medium | |
WO2019207917A1 (en) | Gateway device | |
CN111108725A (en) | Method for monitoring communication on a communication bus and electronic device for connection to a communication bus | |
KR20190040911A (en) | Method and apparatus for transmitting a message sequence over a data bus and method and apparatus for detecting an attack on a message sequence thus transmitted | |
US7685442B2 (en) | Method and systems for a radiation tolerant bus interface circuit | |
JP2009302783A (en) | Failure detecting method and failure detection system of communication network | |
US10541830B2 (en) | Serial communication system | |
US11870603B2 (en) | Controller area network termination scheme | |
CN111555946B (en) | Subscriber station for a bus system and method for data transmission in a bus system | |
WO2022092263A1 (en) | Ground short failure detection device and node device | |
CN110312233B (en) | Controller area network (CAN) device and method for operating a CAN device | |
JP6788717B1 (en) | Connection device, connection method and program | |
US20240168090A1 (en) | Can transceiver and method for the can transceiver | |
KR20090061703A (en) | Flexray system | |
US20240178875A1 (en) | Can transceiver and method for the can transceiver |
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 |