KR20130010809A - Method for reducing distorted signal of high speed control area network - Google Patents

Method for reducing distorted signal of high speed control area network Download PDF

Info

Publication number
KR20130010809A
KR20130010809A KR1020110071695A KR20110071695A KR20130010809A KR 20130010809 A KR20130010809 A KR 20130010809A KR 1020110071695 A KR1020110071695 A KR 1020110071695A KR 20110071695 A KR20110071695 A KR 20110071695A KR 20130010809 A KR20130010809 A KR 20130010809A
Authority
KR
South Korea
Prior art keywords
signal
capacitor capacity
distortion
signal distortion
point
Prior art date
Application number
KR1020110071695A
Other languages
Korean (ko)
Other versions
KR101230906B1 (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 KR1020110071695A priority Critical patent/KR101230906B1/en
Publication of KR20130010809A publication Critical patent/KR20130010809A/en
Application granted granted Critical
Publication of KR101230906B1 publication Critical patent/KR101230906B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/248Distortion measuring systems
    • 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/40215Controller Area Network CAN

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE: A high speed can signal distortion reduction method is provided to secure the performance of vehicle by selecting a capacitor with optimal capacity under different condition by changing the number of controllers applied to each vehicle. CONSTITUTION: A state of small signal distortion in which an error frame is not found in the process of recognizing a signal by 20% point of 1 bit is judged(S120,S121). A state of normal signal distortion in which an error frame is not found in the process of recognizing a signal by 40% point of 1 bit is judged(S130,S131). An error frame is found in the process of recognizing a signal by 40% point of 1 bit. A state of severe signal distortion in which an error frame is not found in the process of recognizing a signal by 60% point is judged(S140,S141). A state of extremely severe signal distortion in which an error frame is found in the process of recognizing a signal by 60% point is judged(S151). [Reference numerals] (AA,CC,EE) No; (BB,DD,FF) Yes; (S100) Each controller, ECU IGN ON or startup; (S110) Checking the distortion of a CAN signal for each controller(each point of 1 Bit); (S120) Did an error frame occur at a 20% point of 1bit?; (S121) Selecting and controlling capacitor capacity 90pF; (S130) Did the error frame occur at a 40% point of 1bit?; (S131) Selecting and controlling capacitor capacity 60pF; (S140) Did the error frame occur at a 60% point of 1bit?; (S141) Selecting and controlling capacitor capacity 30pF; (S151) Selecting and controlling capacitor capacity 10pF

Description

고속 캔 신호 왜곡 저감 방법{Method for reducing distorted signal of high speed Control Area Network}Method for reducing distorted signal of high speed Control Area Network

본 발명은 고속 캔 신호 왜곡 저감 방법에 관한 것으로서, 더욱 상세하게는 차량 통신의 신뢰성을 확보할 수 있는 고속 캔 신호 왜곡 저감 방법에 관한 것이다.
The present invention relates to a method for reducing high-speed can signal distortion, and more particularly, to a method for reducing high-speed can signal distortion capable of securing reliability of vehicle communication.

최근 전자제어기술의 비약적인 발전에 따라 자동차에서도 기계적인 방법에 의해 동작하던 각종 장치들이 운전자의 편리성 및 운행의 안전성 등의 이유로 전기적인 방법에 의해 구동되고 있으며, 자동차의 시스템은 점차 고도화되고 최첨단화되어 가고 있다.In recent years, with the rapid development of electronic control technology, various devices that were operated by mechanical methods in automobiles are driven by electrical methods for the convenience of drivers and safety of driving, and the system of automobiles is gradually advanced and advanced. Is going.

이와 같이 자동차가 점차 첨단화되면서 자동차의 고장형태도 다양화되고 있으며, 이를 위한 고장 점검기술 및 고장진단기술도 날로 향상되고 있다.As the automobile is gradually advanced, the failure forms of the automobiles are diversified, and the failure checking technique and the diagnosis technique for the same are being improved day by day.

현재 시판되고 있는 대부분의 자동차에는 각종 센서로부터의 감지신호를 입력받아 이를 기초로 각 동작을 제어하는 차량 제어기가 구비되는데, 차량제어기는 차량의 구동을 위한 주요 구성에 대한 PT 제어기와 차량안전장치와 관련된 샤시제어기로 구분된다.Most vehicles currently on the market are equipped with a vehicle controller that receives sensing signals from various sensors and controls each operation on the basis of the vehicle. The vehicle controller includes a PT controller and a vehicle safety device for main components for driving the vehicle. The relevant chassis controller is identified.

PT 제어기로는 엔진의 동작을 제어하는 EMS(engine management system), 자동변속기를 제어하는 TCU(Transmission Control Unit) 등이 있다.PT controllers include an engine management system (EMS) that controls the operation of the engine, and a transmission control unit (TCU) that controls the automatic transmission.

그리고, 샤시 제어기는 급브레이크 시에 브레이크가 잠기는 것을 방지하는 등의 브레이크의 동작을 제어하는 ABS(Anti-lock Break System), 전자제어서스펜션인 ECS(electronic controlled suspension), 운전자가 차를 몰다가 위험한 상황이나 격한 상황이 왔을 때 운전자가 차의 밸런스를 못 잡을 때 차의 주행이탈을 방지해주기 위한 ESP(Electronic Stability Programme), 차량 선회 시 미끄럼 방지 제어를 위해 차량 선회 상태를 알려주는 스티어링 앵글 센서(SAS;Steering Angle Sensor), 전자식 주차 브레이크(EPB : Electronic Parking Brake), 차량의 속도와 조향 핸들의 각도, 차량의 기울기에 따라 전조등의 방향을 상하 좌우로 조절하여 시야를 확보하게 하게 하는 어댑티브 헤드램프/지능형 전조등 시스템(AFLS;Adaptive Front Lighting System) 등이 있다.In addition, the chassis controller includes an anti-lock break system (ABS) that controls the operation of the brake, such as preventing the brake from locking during sudden brakes, an electronic controlled suspension (ECS), which is an electronic control suspension, Electronic Stability Program (ESP) to prevent the vehicle from falling off when the driver is unable to balance the vehicle when the situation or severity occurs, and a steering angle sensor (SAS) that informs the vehicle's turning status for anti-slip control when turning the vehicle. ; Steering Angle Sensor (EPB), Electronic Parking Brake (EPB), Adaptive Headlamps to ensure visibility by adjusting the direction of the headlights up and down according to the speed of the vehicle, the steering wheel angle, and the inclination of the vehicle. Adaptive Front Lighting System (AFLS).

상기와 같은 제어기들은 데이터 정보 송수신시 고속 캔(CAN) 통신을 이용하고 있다.Such controllers use high-speed CAN communication when transmitting and receiving data information.

도 1은 일반적인 고속 캔 통신의 네트워크 구성을 보여주는 개략도로서, 두 개의 선, 즉 캔 하이 선(1;CAN_High line)과 캔 로우 선(2;CAN_Low line)을 꼰 상태에서 캔 하이 선(1)과 캔 로우 선(2) 양 끝단에 120Ω 종단저항이 연결되어 있다.1 is a schematic diagram illustrating a network configuration of a general high-speed can communication, in which two lines, a CAN_High line and a CAN_Low line, are braided. A 120Ω terminating resistor is connected to both ends of the can line (2).

그리고, 캔 하이 선(1)과 캔 로우 선(2)에는 각종 제어기, 예를 들면 EMS, TCU, ESP, 클러스터, SAS, ACC(Adaptive Cruise Control), ECS, EPB, AFLS 등이 연결되어 있고, 각종 제어기는 캔통신, 즉 캔 하이 선(1)과 캔 로우 선(2)을 통해 연결되어 양방향 통신 가능하다.The can high line 1 and the can low line 2 are connected to various controllers, for example, EMS, TCU, ESP, cluster, SAS, Adaptive Cruise Control (ACC), ECS, EPB, AFLS, and the like. Various controllers are connected via can communication, that is, through the can high line 1 and the can low line 2, thereby enabling bidirectional communication.

한편, 기존 제어기의 내부 커패시터는 전자파 노이즈 제거 및 캔 통신 왜곡을 고려하여 적절한 용량으로 선택되지만, 통상적으로 제어기 제조업체에서는 외부 전자파 노이즈에 의한 제어기 성능 저하를 방지하기 위해 용량이 큰 커패시터를 사용한다.On the other hand, the internal capacitor of the existing controller is selected to an appropriate capacity in consideration of the electromagnetic noise cancellation and can communication distortion, but in general, the controller manufacturer uses a large capacity capacitor to prevent the controller performance degradation due to external electromagnetic noise.

그리고, 대용량의 커패시터는 어느 정도의 고속 캔 통신 신호 왜곡을 발생시키고, 한번 정해진 제어기 내부의 커패시터 용량은 동일하게 전 차종에 적용된다.In addition, the large-capacity capacitor generates some high-speed can communication signal distortion, and the capacitor capacity within the controller once determined is equally applied to all models.

도 1에서 미설명부호 3은 진단용 커넥터이다.In FIG. 1, reference numeral 3 denotes a diagnostic connector.

그러나, 이와 같이 대용량의 커패시터를 전 차종에 동일하게 적용할 경우에 고속 캔 통신 제어기의 수가 적은 소형차종은 크게 상관이 없지만, 일부 중대형 차종에서는 고속 캔 통신 제어기의 수가 증대됨에 따라 신호 왜곡(파형 늘어짐)에 의해 제어기가 신호를 오인식하는 현상이 발생된다. However, when the large-capacity capacitors are applied to all vehicles in the same manner, small vehicles having a small number of high-speed can communication controllers are irrelevant. However, in some medium and large vehicles, signal distortion (waveform sagging) increases as the number of high-speed can communication controllers increases. ), The controller misunderstands the signal.

고속 캔 통신의 신호 왜곡에 따른 신호 오인식 사례를 예를 들어 설명하기로 한다.An example of signal misrecognition according to signal distortion of high-speed can communication will be described as an example.

제어기는 도 2에 도시한 바와 같이 2㎲ 단위로 데이터(high '0' 또는 low '1')를 인식하고, 캔 신호('0'=2V 또는 '1'=0V)를 전송한 후에 송신한 값이 일치하는지 여부를 즉시 확인한다.As shown in FIG. 2, the controller recognizes data (high '0' or low '1') in units of 2 ms, and transmits after transmitting a can signal ('0' = 2V or '1' = 0V). Immediately check whether the values match.

상기 제어기는 1 비트(1 bit=2㎲) 내의 신호인식 지점에서 신호를 인식하는데, 이러한 신호 인식 지점(Sample point;75%)에서의 전압값으로 데이터를 판정한다.The controller recognizes the signal at a signal recognition point within one bit (1 bit = 2 ms), and determines the data by the voltage value at this signal recognition point (75%).

이때, 비트의 후반부, 즉 신호의 안정화 지점인 75%에서 신호를 인식하는 것이 바람직하다.At this point, it is desirable to recognize the signal at the second half of the bit, i.

예를 들면, 데이터 '0'(실제 아날로그 신호 2V)을 전송하고, 전송된 데이터가 '0'이 맞는지를 확인한다.For example, it transmits data '0' (actual analog signal 2V) and checks whether the transmitted data is '0'.

만일, 도 3에 도시한 바와 같이 전송한 데이터가 '0' 인데 1 비트 내의 어느 지점(50%)에서 제어기 내부의 커패시터 용량 과다로 신호가 왜곡되어 수신한 데이터 값이 '1'이었다면 송신한 제어기는 에러(Error)라고 판단하고 즉시 에러 프레임을 전송하여 모든 제어기에게 알려준다.If the transmitted data is '0' as shown in FIG. 3 and the received data value is '1' because the signal is distorted due to excessive capacitor capacity inside the controller at a point (50%) within 1 bit, the transmitted controller Determines that it is an error and immediately sends an error frame to all controllers.

다시 말해서, 한 제어기가 전압을 2V ('0')로 전송한 후 수신 전압을 확인한 결과 신호 왜곡으로 전압이 0V('1')로 인식되었다면 에러로 처리한다.In other words, if a controller transmits the voltage at 2V ('0') and then checks the received voltage and the signal is recognized as 0V ('1') due to signal distortion, it is treated as an error.

이와 같은 신호 오인식으로 인해 제어기간 고속 캔 통신의 신뢰성이 떨어지고 차량 성능을 보장할 수 없게 되는 문제점이 있다.
Due to such a signal misrecognition, there is a problem that the reliability of the high-speed can communication during the control period is lowered and the vehicle performance cannot be guaranteed.

본 발명은 상기와 같은 문제점을 해결하기 위해 발명한 것으로서, 각 제어기 별로 신호 왜곡 정도를 인식한 후 신호 왜곡 정도에 따라 최적의 커패시터 용량을 자동 조절함으로써, 전자파 노이즈 제거 및 캔 신호 왜곡 방지를 동시에 만족시킬 수 있는 고속 캔 신호 왜곡 저감 방법을 제공하는데 그 목적이 있다.
The present invention has been invented to solve the above problems, and by recognizing the signal distortion for each controller, and automatically adjusts the optimum capacitor capacity according to the signal distortion, thereby satisfying the electromagnetic noise removal and can signal distortion prevention at the same time It is an object of the present invention to provide a method for reducing high-speed can signal distortion.

상기한 목적을 달성하기 위하여 본 발명에 따른 고속 캔 신호 왜곡 저감 방법은 각 제어기 별로 신호 왜곡 여부 및 왜곡 정도를 확인하는 단계; 상기 신호 왜곡 정도에 따라 신호 왜곡이 없는 최적의 커패시터 용량을 선정하는 단계; 및 각 제어기 내부의 전체 커패시터 용량을 최적의 커패시터 용량으로 자동 조절하는 단계;로 이루어지고, 각 제어기 별로 신호 왜곡 정도에 따라 커패시터 용량을 조절하여 신호 왜곡을 저감함으로써, 차량 통신의 신뢰성을 확보할 수 있는 것을 특징으로 한다.In order to achieve the above object, a method for reducing high-speed can signal distortion according to the present invention includes: checking whether the signal is distorted and the degree of distortion for each controller; Selecting an optimal capacitor capacity without signal distortion according to the signal distortion degree; And automatically adjusting the total capacitor capacity inside each controller to an optimum capacitor capacity, and by reducing the signal distortion by adjusting the capacitor capacity according to the signal distortion of each controller, it is possible to secure reliability of vehicle communication. It is characterized by being.

특히, 상기 신호 왜곡 여부 및 왜곡 정도를 확인하는 단계는 캔 신호를 전송한 후 수신한 값이 전송한 값과 일치하는지 여부를 통해 신호 왜곡 여부를 판단하는 단계; 1 비트 내에서 복수의 신호 인식 지점을 설정하고, 미리 설정된 1 비트의 각 신호 인식 지점에서 신호 인식 시 신호 왜곡 여부를 판단하는 단계; 및 상기 각 신호 인식 지점의 신호 왜곡 여부에 따라 각 제어기 별로 신호 왜곡 정도를 판단하는 단계;로 이루어지는 것을 특징으로 하는 고속 캔 신호 왜곡 저감 방법.In particular, determining whether the signal is distorted and the degree of distortion comprises: determining whether the signal is distorted based on whether a value received after transmitting the can signal matches the transmitted value; Setting a plurality of signal recognition points within one bit and determining whether the signal is distorted when the signal is recognized at each signal recognition point of one preset bit; And determining a degree of signal distortion for each controller according to whether the signal distortion of each signal recognition point occurs.

또한, 상기 신호 인식 지점은 1 비트의 전체 인식 구간에 대하여 1~75% 범위 내에서 시간 간격을 두고 설정되는 것을 특징으로 한다.The signal recognition point may be set at a time interval within the range of 1 to 75% for the entire recognition interval of 1 bit.

상기 최적의 커패시터 용량은 신호 왜곡이 발생하는 신호 인식 지점에 따라 선정되는 것을 특징으로 한다.The optimum capacitor capacity is selected according to a signal recognition point at which signal distortion occurs.

상기 전체 커패시터 용량을 최적의 커패시터 용량으로 자동 조절하기 위해, 병렬로 연결된 복수의 커패시터와, 상기 커패시터를 개별적으로 온/오프시켜 최적의 커패시터 용량으로 조절할 수 있도록 된 복수의 트랜지스터를 포함하는 것을 특징으로 한다.
In order to automatically adjust the total capacitor capacity to the optimum capacitor capacity, a plurality of capacitors connected in parallel and a plurality of transistors to be adjusted to the optimum capacitor capacity by turning the capacitors individually on and off do.

본 발명에 따른 고속 캔 신호 왜곡 저감 방법의 장점을 설명하면 다음과 같다.The advantages of the fast can signal distortion reduction method according to the present invention are as follows.

1. 각 제어기 별로 1 비트의 각 지점에서 신호 인식을 통해 신호 왜곡 여부 및 왜곡 정도를 확인한 후, 신호 왜곡이 없을 경우 커패시터의 용량을 증대시킴으로써 외부에서 유입되는 전자파 노이즈를 제거할 수 있고, 신호 왜곡이 있을 경우 커패시터의 용량을 낮게 설정함으로써 신호 왜곡을 감소시켜 각 제어기간 캔 통신 신호에 대한 신뢰성을 향상시킬 수 있다.1. After checking the signal distortion and the degree of distortion through signal recognition at each point of 1 bit for each controller, if there is no signal distortion, it can remove the electromagnetic noise introduced from the outside by increasing the capacity of the capacitor, and the signal distortion In this case, by setting the capacitor's capacity low, signal distortion can be reduced, thereby improving the reliability of each communication period can communication signal.

2. 차종마다 적용되는 제어기 수가 다른 조건에서 최적의 커패시터 용량을 선정함으로써 차량의 성능을 확보할 수 있다.
2. The performance of the vehicle can be secured by selecting the optimum capacitor capacity under different conditions.

도 1은 일반적인 고속 캔 통신의 네트워크 구성을 보여주는 개략도
도 2는 캔 통신 신호 인식 방법을 설명하기 위한 개략도
도 3은 기존의 캔 통신 신호 오인식 사례를 설명하기 위한 개략도
도 4는 본 발명에 따라 캔 통신 신호 오인식 여부를 확인하는 단계를 설명하기 위한 개략도
도 5는 본 발명의 일실시예에 따른 캔 신호 왜곡 저감을 위한 회로 구성도
도 6은 본 발명의 일실시예에 따른 캔 신호 왜곡 저감 방법의 순서도
1 is a schematic diagram showing the network configuration of a typical high speed can communication
2 is a schematic diagram for explaining a can communication signal recognition method.
3 is a schematic diagram illustrating a conventional can communication signal misrecognition example
Figure 4 is a schematic diagram for explaining the step of checking whether the can communication signal misrecognition according to the present invention
5 is a circuit diagram for reducing can signal distortion according to an embodiment of the present invention.
6 is a flowchart of a method for reducing can signal distortion according to an embodiment of the present invention.

이하, 첨부 도면을 참조하여 본 발명의 바람직한 실시예를 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자(이하, '당업자' 라고 함)가 용이하게 실시할 수 있도록 상세하게 설명하면 다음과 같다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art to which the present invention pertains (hereinafter, referred to as the person skilled in the art) may easily implement the present invention. .

도 4는 본 발명에 따라 캔 통신 신호 오인식 여부를 확인하는 단계를 설명하기 위한 개략도이고, 도 5는 본 발명의 일실시예에 따른 캔 신호 왜곡 저감을 위한 회로 구성도이고, 도 6은 본 발명의 일실시예에 따른 캔 신호 왜곡 저감 방법의 순서도이다.Figure 4 is a schematic diagram for explaining the step of checking whether the can communication signal misrecognition according to the present invention, Figure 5 is a circuit diagram for reducing the can signal distortion according to an embodiment of the present invention, Figure 6 is the present invention A flowchart of a method for reducing can signal distortion according to an embodiment of the present invention.

본 발명에서는 배경기술에서 설명한 캔 신호의 왜곡을 방지하기 위해 무조건 작은 용량의 커패시터를 적용할 수도 없고 전자파 노이즈를 제거하기 위해 규정된 커패시터 용량(100㎊ 이하)을 초과하거나 또는 거의 규정수준으로 적용해서도 안된다.In the present invention, to prevent distortion of the can signal described in the background art, it is impossible to apply a capacitor of small capacity unconditionally, and in order to remove electromagnetic noise or exceed the prescribed capacitor capacity (less than 100 Hz) or almost at a prescribed level No way.

이러한 상황에서 전자파 노이즈 제거 및 캔 신호 왜곡을 동시에 해결할 수 있는 최적의 커패시터 용량을 선정할 필요가 있다.In this situation, it is necessary to select the optimal capacitor capacity that can simultaneously remove the electromagnetic noise and can signal distortion.

본 발명은 각 제어기 별로 고속 캔 통신 신호의 왜곡 정도를 인식한 후, 신호 왜곡을 방지할 수 있는 최적의 커패시터 용량을 자동 조절함으로써 전자파 노이즈 제거 및 캔 신호 왜곡을 동시에 해결할 수 있는 고속 캔 통신 신호 왜곡 저감 방법에 관한 것이다.The present invention recognizes the degree of distortion of the high-speed can communication signal for each controller, and then automatically adjusts the optimal capacitor capacity to prevent signal distortion, thereby eliminating electromagnetic noise and can signal distortion at the same time high speed can communication signal distortion It relates to a reduction method.

먼저, 제어기 내부의 커패시터 용량을 자동으로 조절하기 위해서는 전자파 노이즈 제거와 캔 신호 왜곡 방지를 동시에 만족할 수 있는 최적의 커패시터 용량의 선정이 필요하다.First, in order to automatically adjust the capacitor capacity inside the controller, it is necessary to select an optimal capacitor capacity that can satisfy both electromagnetic noise removal and can signal distortion prevention.

이를 위해서는 제어기가 캔 신호 왜곡 여부 및 왜곡 정도를 정확하게 판단하는 것이 필요하다.For this purpose, it is necessary for the controller to accurately determine whether the can signal is distorted and the degree of distortion.

본 발명의 일실시예에 따른 캔 신호 왜곡 감소 방법은 IGN ON 또는 시동 시 각 제어기 별로 캔 신호 왜곡 여부 및 왜곡 정도를 확인하는 단계(S110,S120~S140)와, 상기 신호 왜곡 여부 확인 후 신호 왜곡 정도에 따른 최적의 커패시터 용량을 선정하는 단계와, 커패시터 용량 선정 후 전체 커패시터 용량을 자동 조절하는 단계(S121~151)로 이루어진다.The method for reducing can signal distortion according to an embodiment of the present invention includes determining whether the can signal is distorted and the degree of distortion for each controller at IGN ON or startup (S110, S120 to S140), and signal distortion after checking whether the signal is distorted. Selecting the optimum capacitor capacity according to the degree, and after the capacitor capacity selection step of automatically adjusting the overall capacitor capacity (S121 ~ 151).

먼저, 캔 신호 왜곡 여부 확인 단계를 설명하기로 한다.First, the step of checking whether the can signal is distorted will be described.

상기 캔 신호 왜곡 여부 확인 단계에서, 도 4에 도시한 바와 같이 1 비트의 신호 인식 지점을 소정 간격으로 미리 설정하고, 미리 설정된 신호 인식 지점에서 신호를 인식하여 신호 왜곡 여부를 판단한다.In the can signal distortion checking step, as shown in FIG. 4, a signal recognition point of 1 bit is preset at predetermined intervals, and the signal is recognized at a predetermined signal recognition point to determine whether the signal is distorted.

예를 들면, 상기 신호 인식 지점을 1 비트의 20%, 40%, 60% 지점으로 설정할 수 있다.For example, the signal recognition point may be set to 20%, 40%, and 60% points of one bit.

여기서, 1 비트의 20% 지점은 1 비트(=2㎲)의 시작 지점(0㎲)에서 20%가 지난 0.4㎲(=2㎲×20%)가 되는 지점이고, 나머지 40%, 60% 지점도 동일한 방식으로 계산되는 지점을 말한다.Here, the 20% point of one bit is the point where 20% of the start point (0 ms) of one bit (= 2 ms) becomes the last 0.4 ms (= 2 ms × 20%), and the remaining 40% and 60% points Also refers to the point calculated in the same way.

상기 캔 신호 왜곡 여부 확인 방법에 따르면, 첫번째로 1 비트의 20% 지점에서 신호 인식시 에러 프레임이 발생하지 않은 경우에는 신호 왜곡이 적은 것으로 판단한다(S120,S121).According to the method for checking the can signal distortion, if an error frame does not occur when the signal is recognized at 20% of one bit, it is determined that the signal distortion is small (S120, S121).

두번째로 1 비트의 20% 지점에서 신호 인식 시 에러 프레임이 발생하고, 40% 지점에서 신호 인식 시 에러 프레임이 발생하지 않은 경우에는 신호 왜곡이 보통인 것으로 판단한다(S130,S131).Second, when an error frame is generated when the signal is recognized at 20% of one bit, and an error frame is not generated when the signal is recognized at the 40%, it is determined that the signal distortion is normal (S130 and S131).

세번째로 1 비트의 40% 지점에서 신호 인식 시 에러 프레임이 발생하고, 60% 지점에서 신호 인식 시 에러 프레임이 발생하지 않은 경우에는 신호 왜곡이 심한 것으로 판단한다(S140,S141).Third, when an error frame occurs when the signal is recognized at 40% of the 1-bit, and no error frame occurs when the signal is recognized at the 60%, it is determined that the signal distortion is severe (S140, S141).

네번째로 1 비트의 60% 지점에서 신호 인식 시 에러 프레임이 발생한 경우에는 신호 왜곡이 매우 심한 것으로 판단한다(S151).Fourth, if an error frame occurs when the signal is recognized at 60% of 1 bit, it is determined that the signal distortion is very severe (S151).

정리하면 캔 신호 왜곡 여부 확인 방법은 1 비트의 각 지점에서 신호 인식 시 에러 프레임 발생 여부로써 신호 왜곡 정도를 판단한다.In summary, the method for determining whether a can signal is distorted determines the degree of signal distortion by whether an error frame occurs when a signal is recognized at each point of 1 bit.

상기한 설명에서 신호 인식 지점을 20%, 40%, 60%으로 지정할 수 있지만, 다른 예로 10%,20%,30%,40%,50% 등으로 지정할 수 있다.In the above description, the signal recognition point may be designated as 20%, 40%, 60%, but as another example, 10%, 20%, 30%, 40%, 50%, or the like.

그 다음, 상기 신호 왜곡 정도에 따라 최적의 커패시터 용량을 선정하는 단계를 설명하기로 한다.Next, the step of selecting the optimum capacitor capacity according to the degree of signal distortion will be described.

상기 최적의 커패시터 용량이란 전자파 노이즈 제거와 신호 왜곡 방지를 동시에 만족할 수 있는 최소한의 커패시터 용량을 말한다.The optimal capacitor capacity refers to the minimum capacitor capacity that can satisfy electromagnetic noise removal and signal distortion prevention at the same time.

첫번째로, 1 비트의 20% 지점에서 신호 왜곡이 없을 경우 커패시터 용량을 90㎊으로 선정한다(S121).First, when there is no signal distortion at 20% of 1 bit, the capacitor capacity is selected as 90 Hz (S121).

두번째로, 1 비트의 20% 지점에서 신호 왜곡이 발생하고 40% 지점에서 신호 왜곡이 발생하지 않은 경우 커패시터 용량을 60㎊으로 선정한다(S131).Second, when signal distortion occurs at 20% of one bit and no signal distortion occurs at 40%, the capacitor capacity is selected as 60 Hz (S131).

세번째로, 1 비트의 40% 지점에서 신호 왜곡이 발생하고 60% 지점에서 신호 왜곡이 발생하지 않은 경우 커패시터 용량을 30㎊으로 선정한다(S141).Third, when signal distortion occurs at 40% of one bit and no signal distortion occurs at 60%, the capacitor capacity is selected as 30 Hz (S141).

네번째로, 1 비트의 60% 지점에서 신호 왜곡이 발생한 경우 커패시터 용량을 10㎊으로 선정한다(S151).Fourthly, when signal distortion occurs at 60% of one bit, the capacitor capacity is selected as 10 Hz (S151).

그 다음, 최적의 커패시터 용량 선정 후 커패시터 용량을 자동으로 조절하는 단계를 설명하기로 한다.Next, the steps of automatically adjusting the capacitor capacity after selecting the optimum capacitor capacity will be described.

상기 커패시터의 용량을 자동 조절하는 방법은 복수의 커패시터와 트랜지스터를 이용하여 전체 커패시터 용량을 자동으로 조절할 수 있다.The method of automatically adjusting the capacitance of the capacitor may automatically adjust the total capacitor capacity using a plurality of capacitors and transistors.

본 발명에 따른 캔 신호 왜곡 저감을 위한 회로 구성도를 설명하면 다음과 같다.Referring to the circuit diagram for reducing the can signal distortion according to the present invention.

차량 CPU(10)와 캔 버스(12)는 두 개의 통신 라인(16)으로 연결되고, CPU(10)와 캔 버스(12) 사이에 TX, RX 신호를 캔 하이 및 캔 로우 신호로 변환시켜주는 고속 CAN 트랜시버(11)가 배치된다.The vehicle CPU 10 and the CAN bus 12 are connected by two communication lines 16, and convert the TX and RX signals into can high and can low signals between the CPU 10 and the CAN bus 12. The high speed CAN transceiver 11 is disposed.

그리고, 캔 버스(12)의 캔 하이 선과 캔 로우 선에는 A 제어기(13), B 제어기(14), C 제어기(15) 등이 연결되어 있고, 각 제어기(13~15)는 EMS, TCU, 4WD, ESP, 클러스터, SAS, ACC, ECS, EPB, AFLS 중 어느 하나일 수 있고, 이러한 제어기에 한정되지 않는다.In addition, the A controller 13, the B controller 14, the C controller 15, and the like are connected to the can high line and the can low line of the can bus 12, and each controller 13 to 15 includes an EMS, a TCU, It may be any one of 4WD, ESP, cluster, SAS, ACC, ECS, EPB, and AFLS, but is not limited to such a controller.

여기서, 본 발명의 일실시예에 따른 로직 구현을 위해 CPU(10)와 캔 버스(12)를 연결하는 두 개의 통신 라인(16)에 4 개의 커패시터(C1,C2,C3,C4)가 병렬로 연결되어 있고, CPU(10)와 각 커패시터(C1,C2,C3,C4) 사이에 복수의 트랜지스터(TR1,TR2,TR3,TR4)를 각각 연결하여 트랜지스터를 통해 각 커패시터(C1,C2,C3,C4)에 전원을 인가할 수 있다.Here, four capacitors C1, C2, C3, and C4 are connected in parallel to two communication lines 16 connecting the CPU 10 and the CAN bus 12 to implement a logic according to an embodiment of the present invention. And a plurality of transistors TR1, TR2, TR3, and TR4 are connected between the CPU 10 and the capacitors C1, C2, C3, and C4, respectively, and the capacitors C1, C2, C3, Power can be applied to C4).

예를 들면, 제1 내지 제3커패시터(C1,C2,C3)는 각각 30㎊의 용량을 가지고, 제4커패시터(C4)는 10㎊의 용량을 가질 수 있다.For example, the first to third capacitors C1, C2, and C3 may each have a capacity of 30 μs, and the fourth capacitor C4 may have a capacity of 10 μs.

상기와 같이 구현된 로직을 통해 전체 커패시터 용량을 자동 조절하는 방법을 설명하면 다음과 같다.A method of automatically adjusting the total capacitor capacity through the logic implemented as described above is as follows.

첫번째로, 1 비트의 20% 지점에서 신호 왜곡이 없을 경우 커패시터 용량을 90㎊으로 선정한 후, 제1 내지 제3트랜지스터(TR1,TR2,TR3)를 모두 온 시켜 전체 커패시터 용량을 90㎊로 조절한다(전체 커패시터 용량 C = C1 + C2 + C3)(S121).First, if there is no signal distortion at 20% of one bit, the capacitor capacity is set to 90 Hz, and then the first to third transistors TR1, TR2, and TR3 are turned on to adjust the total capacitor capacity to 90 Hz. (Total capacitor capacity C = C1 + C2 + C3) (S121).

두번째로, 1 비트의 20% 지점에서 신호 왜곡이 발생하고 40% 지점에서 신호 왜곡이 발생하지 않은 경우 커패시터 용량을 60㎊으로 선정한 후, 제1 및 제2트랜지스터(TR1,TR2)를 모두 온 시켜 전체 커패시터 용량을 60㎊로 조절한다(전체 커패시터 용량 C = C1 + C2)(S131).Second, when signal distortion occurs at 20% of one bit and no signal distortion occurs at 40%, the capacitor capacity is set to 60 Hz, and then both first and second transistors TR1 and TR2 are turned on. Adjust the total capacitor capacity to 60 Hz (total capacitor capacity C = C1 + C2) (S131).

세번째로, 1 비트의 40% 지점에서 신호 왜곡이 발생하고 60% 지점에서 신호 왜곡이 발생하지 않은 경우 커패시터 용량을 30㎊으로 선정한 후, 제1트랜지스터(TR1)를 온시켜 전체 커패시터 용량을 30㎊로 조절한다(전체 커패시터 용량 C = C1)(S141).Third, when signal distortion occurs at 40% of one bit and no signal distortion occurs at 60%, the capacitor capacity is set to 30 mV, and the first transistor TR1 is turned on to turn the entire capacitor capacity to 30 mV. (Total capacitor capacity C = C1) (S141).

네번째로, 1 비트의 60% 지점에서 신호 왜곡이 발생한 경우 커패시터 용량을 10㎊으로 선정한 후, 제4트랜지스터(TR4)를 온시켜 전체 커패시터 용량을 10㎊로 조절한다(전체 커패시터 용량 C = C4)(S151).Fourth, if signal distortion occurs at 60% of one bit, select the capacitor capacity as 10㎊, and turn on the fourth transistor TR4 to adjust the total capacitor capacity to 10㎊ (total capacitor capacity C = C4) (S151).

따라서, 본 발명에 의하면 각 제어기 별로 1 비트의 각 지점에서 신호 인식을 통해 신호 왜곡 여부 및 왜곡 정도를 확인한 후, 신호 왜곡이 없을 경우 커패시터의 용량을 증대시킴으로써 외부에서 유입되는 전자파 노이즈를 제거할 수 있고, 신호 왜곡이 있을 경우 커패시터의 용량을 낮게 설정함으로써 신호 왜곡을 감소시켜 각 제어기간 캔 통신 신호에 대한 신뢰성을 향상시킬 수 있다.Therefore, according to the present invention, after checking the signal distortion and the degree of distortion through signal recognition at each point of 1 bit for each controller, if there is no signal distortion, it is possible to remove the electromagnetic noise introduced from the outside by increasing the capacitor capacity. In addition, when there is a signal distortion, the capacitance of the capacitor is set low to reduce the signal distortion, thereby improving reliability of each can communication signal.

또한, 차종마다 적용되는 제어기 수가 다른 조건에서 최적의 커패시터 용량을 선정함으로써 차량의 성능을 확보할 수 있다.
In addition, it is possible to secure the performance of the vehicle by selecting the optimum capacitor capacity under different conditions of the number of controllers applied to each vehicle type.

1 : 캔 하이 선 2 : 캔 로우 선
10 : CPU 11 : 고속 CAN 트랜시버
12 : 캔 버스 13~15 : A 제어기, B 제어기, C 제어기
16 : 통신 라인
TR1,TR2,TR3,TR4 : 제1 내지 제4트랜지스터
C1,C2,C3,C4 : 제1 내지 제4커패시터
1: can high line 2: can low line
10: CPU 11: High Speed CAN Transceiver
12: CANBUS 13 ~ 15: A controller, B controller, C controller
16: communication line
TR1, TR2, TR3, TR4: first to fourth transistors
C1, C2, C3, C4: first to fourth capacitors

Claims (5)

각 제어기 별로 신호 왜곡 여부 및 왜곡 정도를 확인하는 단계;
상기 신호 왜곡 정도에 따라 신호 왜곡이 없는 최적의 커패시터 용량을 선정하는 단계; 및
각 제어기 내부의 전체 커패시터 용량을 최적의 커패시터 용량으로 자동 조절하는 단계;
로 이루어지는 것을 특징으로 하는 고속 캔 신호 왜곡 저감 방법.
Checking whether the signal is distorted and the degree of distortion for each controller;
Selecting an optimal capacitor capacity without signal distortion according to the signal distortion degree; And
Automatically adjusting the total capacitor capacity inside each controller to an optimum capacitor capacity;
A high-speed can signal distortion reduction method, characterized in that consisting of.
청구항 1에 있어서,
상기 신호 왜곡 여부 및 왜곡 정도를 확인하는 단계는 캔 신호를 전송한 후 수신한 값이 전송한 값과 일치하는지 여부를 통해 신호 왜곡 여부를 판단하는 단계;
1 비트 내에서 복수의 신호 인식 지점을 설정하고, 미리 설정된 1 비트의 각 신호 인식 지점에서 신호 인식 시 신호 왜곡 여부를 판단하는 단계; 및
상기 각 신호 인식 지점의 신호 왜곡 여부에 따라 각 제어기 별로 신호 왜곡 정도를 판단하는 단계;
로 이루어지는 것을 특징으로 하는 고속 캔 신호 왜곡 저감 방법.
The method according to claim 1,
The determining of whether the signal is distorted and the degree of distortion may include determining whether the signal is distorted based on whether a value received after transmitting the CAN signal coincides with the transmitted value;
Setting a plurality of signal recognition points within one bit and determining whether the signal is distorted when the signal is recognized at each signal recognition point of one preset bit; And
Determining a degree of signal distortion for each controller according to whether or not signal distortion occurs at each signal recognition point;
A high-speed can signal distortion reduction method, characterized in that consisting of.
청구항 2에 있어서,
상기 신호 인식 지점은 1 비트의 전체 인식 구간에 대하여 1~75% 범위 내에서 시간 간격을 두고 설정되는 것을 특징으로 하는 고속 캔 신호 왜곡 저감 방법.
The method according to claim 2,
The signal recognition point is a high-speed can signal distortion reduction method characterized in that the time interval is set in the range of 1 ~ 75% for the entire recognition interval of 1 bit.
청구항 1에 있어서,
상기 최적의 커패시터 용량은 신호 왜곡이 발생하는 신호 인식 지점에 따라 선정되는 것을 특징으로 하는 고속 캔 신호 왜곡 저감 방법.
The method according to claim 1,
And the optimal capacitor capacity is selected according to a signal recognition point at which signal distortion occurs.
청구항 1에 있어서,
상기 전체 커패시터 용량을 최적의 커패시터 용량으로 자동 조절하기 위해, 병렬로 연결된 복수의 커패시터와, 상기 커패시터를 개별적으로 온/오프시켜 최적의 커패시터 용량으로 조절할 수 있도록 된 복수의 트랜지스터를 포함하는 것을 특징으로 하는 고속 캔 신호 왜곡 저감 방법.
The method according to claim 1,
In order to automatically adjust the total capacitor capacity to the optimum capacitor capacity, a plurality of capacitors connected in parallel and a plurality of transistors to be adjusted to the optimum capacitor capacity by turning the capacitors individually on and off Fast can signal distortion reduction method.
KR1020110071695A 2011-07-19 2011-07-19 Method for reducing distorted signal of high speed Control Area Network KR101230906B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110071695A KR101230906B1 (en) 2011-07-19 2011-07-19 Method for reducing distorted signal of high speed Control Area Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110071695A KR101230906B1 (en) 2011-07-19 2011-07-19 Method for reducing distorted signal of high speed Control Area Network

Publications (2)

Publication Number Publication Date
KR20130010809A true KR20130010809A (en) 2013-01-29
KR101230906B1 KR101230906B1 (en) 2013-02-07

Family

ID=47839950

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110071695A KR101230906B1 (en) 2011-07-19 2011-07-19 Method for reducing distorted signal of high speed Control Area Network

Country Status (1)

Country Link
KR (1) KR101230906B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101455355B1 (en) * 2013-05-31 2014-10-27 전자부품연구원 Method for Operating RF Energy Harvesting WSN Device with Selective Energy Storage
KR20190054394A (en) * 2017-11-13 2019-05-22 현대자동차주식회사 Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990074553A (en) * 1998-03-12 1999-10-05 윤종용 Driving circuit and driving method for liquid crystal display device for compensating common electrode voltage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101455355B1 (en) * 2013-05-31 2014-10-27 전자부품연구원 Method for Operating RF Energy Harvesting WSN Device with Selective Energy Storage
KR20190054394A (en) * 2017-11-13 2019-05-22 현대자동차주식회사 Electronic Device for Vehicle, Method of Determining Internal Resistance, and Vehicle including the same

Also Published As

Publication number Publication date
KR101230906B1 (en) 2013-02-07

Similar Documents

Publication Publication Date Title
US10071785B2 (en) Variable ride height systems and methods
US9256260B2 (en) Processing system, processing device and power supply control method
US9073524B2 (en) Braking system and method for a towed vehicle
KR100747303B1 (en) A control system for fail safety of hybrid vehicle
US9989575B2 (en) Detection of ECU ground fault with can bus voltage measurements
US20190118736A1 (en) Onboard relay device, information processing method, storage medium storing program, relay device, and information processing system
US10953862B2 (en) Method for operating a parking brake and control device for operating a parking brake
US10796503B2 (en) Vehicle calibration based upon performance product detection
CN109039693B (en) Method for evaluating controller area network
KR101673780B1 (en) Control method of breakdown diagnosis
US20130304310A1 (en) Fail-safe control system for vehicle
CN112874320A (en) Differential active protection control method, device, equipment and storage medium
KR101230906B1 (en) Method for reducing distorted signal of high speed Control Area Network
US10106137B2 (en) Adjustment of maximum brake pump speed based on rate of change of target deceleration
KR102671621B1 (en) Apparatus For Controlling Current Consumption Of Automotive Electronic System And Method Thereof
WO2020071345A1 (en) Vehicle control device and vehicle control system
JP2007001360A (en) Backup system of electronic control unit
US9400706B2 (en) Method and device for monitoring an adaptive network
KR20170051677A (en) Apparatus for detecting failure in a vehicle
US11472390B2 (en) Method for monitoring an ABS control procedure in an electrically controllable brake system and electronically controllable brake system
US9423783B2 (en) Method for the prevention of erroneous actuator access in a multifunctional general electronic control system
US20180194335A1 (en) Adjustment of maximum brake pump speed based on rate of change of target deceleration
US9004616B2 (en) Brake control system for motor vehicles
Yi et al. Power saving using Partial Networking in automotive system
CN111966095A (en) ACC Stop smooth parking control system and method

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
FPAY Annual fee payment

Payment date: 20180130

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190130

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20191219

Year of fee payment: 8