KR20170002160A - Apparatus and Method for Amending Clock Error for Vehicle - Google Patents
Apparatus and Method for Amending Clock Error for Vehicle Download PDFInfo
- Publication number
- KR20170002160A KR20170002160A KR1020150092236A KR20150092236A KR20170002160A KR 20170002160 A KR20170002160 A KR 20170002160A KR 1020150092236 A KR1020150092236 A KR 1020150092236A KR 20150092236 A KR20150092236 A KR 20150092236A KR 20170002160 A KR20170002160 A KR 20170002160A
- Authority
- KR
- South Korea
- Prior art keywords
- clock
- oscillator
- error rate
- temperature
- communication
- Prior art date
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D45/00—Electrical control not provided for in groups F02D41/00 - F02D43/00
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02B—INTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
- F02B37/00—Engines characterised by provision of pumps driven at least for part of the time by exhaust
- F02B37/12—Control of the pumps
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/156—Arrangements in which a continuous pulse train is transformed into a train having a desired pattern
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/12—Improving ICE efficiencies
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
Description
본 발명은 클럭 오차 보상 기술에 관한 것으로서, 더 구체적으로는 프로그래머블 방식으로 클럭 오차를 보상할 수 있는 자동차용 클럭 오차 보상 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock error compensation technique, and more particularly, to an apparatus and method for compensating a clock error in a vehicle that can compensate for a clock error in a programmable manner.
통상, 자동차에는 많은 전자제어모듈이 구비되며, 각 전자제어모듈은 단독 보다는 메인 또는 마스터 및 슬레이브로 동작하는 다른 전자제어모듈과 통신하며 각종 제어를 수행한다.Typically, automobiles are equipped with many electronic control modules, each of which communicates with other electronic control modules operating as main or master and slave rather than alone, and performs various controls.
또한, 전자제어모듈의 프로세서는 클럭에 동기하여 다른 전자제어모듈로부터의 수신 데이터를 인식하고, 다른 전자제어모듈로 데이터를 송신한다.In addition, the processor of the electronic control module recognizes the received data from another electronic control module in synchronization with the clock, and transmits the data to another electronic control module.
이러한 클럭은 온도 변화에 따라 오차가 발생하는 특징이 있는데, 자동차는 배기가스 등으로 인해 환경 온도가 -40도 내지 +150도로 가변하므로 클럭 오차는 문제를 유발할 수 있다.Such a clock has a characteristic that an error occurs according to a temperature change. In an automobile, an environmental temperature varies from -40 degrees to +150 degrees due to exhaust gas, so a clock error may cause a problem.
그래도, 통상의 온도 변환에 따른 클럭 오차는 전자제어모듈의 독립적 기능 수행에는 지장이 없다.Still, the clock error due to normal temperature conversion does not hinder the independent functioning of the electronic control module.
그러나, 전자제어모듈 간의 통신시에는 클럭 정확도가 매우 중요하여 클럭 오차가 통신 에러나 전자제어모듈의 자체 에러로 인식될 우려가 있다. However, in the communication between the electronic control modules, the clock accuracy is very important, so that the clock error may be recognized as a communication error or a self-error of the electronic control module.
물론, 매우 고가의 오실레이터(TCXO)를 적용하면, 클럭 정확도가 보장될 수 있으나, 이는 생산 단가 상승으로 이어진다.Of course, applying a very expensive oscillator (TCXO) can guarantee clock accuracy, but this leads to higher production costs.
본 발명은 전술한 바와 같은 기술적 배경에서 안출된 것으로서, RC 오실레이터의 출력 클럭을 온도 보상할 수 있는 차량용 클럭 오차 보상 장치 및 방법을 제공하는 것을 그 목적으로 한다.SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus and method for compensating for a vehicle clock error that can compensate an output clock of an RC oscillator.
본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects not mentioned can be clearly understood by those skilled in the art from the following description.
본 발명의 일면에 따른 클럭 오차 보상 장치는, RC 오실레이터를 내장한 제어기; 상기 RC 오실레이터와 동일 사양의 복수의 RC 오실레이터에 대해 측정된 환경 온도에 따른 클럭 변화로부터 기산출된 온도 변화에 따른 클럭 보상값 및 상기 제어기 내 RC 오실레이터에 대해 측정된 초기 오차값을 저장하는 저장소; 및 온도를 감지하는 온도 센서를 포함하고, 상기 제어기는, 상기 초기 오차값과 감지된 상기 온도에 대응하는 클럭 보상값을 고려하여 최종 오차율을 산출하고, 상기 최종 오차율을 고려하여 상기 RC 오실레이터의 출력 클럭으로부터 통신용 클럭을 생성하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an apparatus for compensating for clock error, comprising: a controller having an RC oscillator; A storage for storing a clock compensation value according to a temperature change calculated from a clock change according to the measured environmental temperature for a plurality of RC oscillators having the same specifications as the RC oscillator and an initial error value measured for the RC oscillator in the controller; And a temperature sensor for sensing the temperature, wherein the controller calculates a final error rate in consideration of the initial error value and a clock compensation value corresponding to the sensed temperature, and calculates a final error rate based on the output of the RC oscillator And a communication clock is generated from the clock.
본 발명의 다른 면에 따른 RC 오실레이터를 내장한 제어기; 상기 RC 오실레이터와 동일 사양의 복수의 RC 오실레이터에 대해 측정된 환경 온도에 따른 클럭 변화로부터 기산출된 온도 변화에 따른 클럭 보상값 및 상기 제어기 내 RC 오실레이터에 대해 측정된 초기 오차값을 저장하는 저장소; 및 온도를 감지하는 온도 센서를 포함하는 통신용 장치에서, 상기 제어기가 클럭 오차를 보상하는 방법은, 상기 온도 센서에 의해 감지된 온도를 확인하는 단계; 상기 초기 오차값 및 상기 감지된 온도에 대응하는 클럭 보상값을 이용하여 최종 오차율을 산출하는 단계; 및 상기 최종 오차율을 고려하여 상기 RC 오실레이터의 출력 클럭으로부터 통신용 클럭을 생성하는 단계를 포함하는 것을 특징으로 한다.A controller incorporating an RC oscillator according to another aspect of the present invention; A storage for storing a clock compensation value according to a temperature change calculated from a clock change according to the measured environmental temperature for a plurality of RC oscillators having the same specifications as the RC oscillator and an initial error value measured for the RC oscillator in the controller; And a temperature sensor for sensing the temperature, the method for the controller to compensate for the clock error comprises the steps of: checking the temperature sensed by the temperature sensor; Calculating a final error rate using the initial error value and a clock compensation value corresponding to the sensed temperature; And generating a communication clock from the output clock of the RC oscillator in consideration of the final error rate.
본 발명에 따르면, RC 오실레이터로부터 생성되는 통신용 클럭의 온도에 따른 오차를 보상할 수 있다.According to the present invention, it is possible to compensate for the temperature-dependent error of the communication clock generated from the RC oscillator.
도 1은 본 발명의 실시예에 따른 오실레이터의 초기 오차값과 온도에 따른 오차값을 도시한 그래프.
도 2는 본 발명의 실시예에 따른 클럭 오차 보상 장치을 도시한 구성도.
도 3은 본 발명의 실시예에 따른 차량 통신용 클럭 온도 보상 방법을 도시한 흐름도.FIG. 1 is a graph showing an initial error value and an error value according to temperature according to an embodiment of the present invention. FIG.
2 is a block diagram illustrating a clock error compensation apparatus according to an embodiment of the present invention.
3 is a flow chart illustrating a method for compensating a clock temperature for vehicle communication according to an embodiment of the present invention.
본 발명의 전술한 목적 및 그 이외의 목적과 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성소자, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성소자, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.
BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, advantages and features of the present invention and methods for accomplishing the same will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. As used herein, the terms " comprises, " and / or "comprising" refer to the presence or absence of one or more other components, steps, operations, and / Or additions.
본 발명의 구체 구성에 대하여 설명하기 앞서 도 1을 참조하여 본 발명의 이론적 배경에 대하여 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following will describe the theoretical background of the present invention with reference to FIG.
차량 내 적용된 일 전자제어모듈이 다른 전자제어모듈과 통신할 때 사용되는 클럭에 오차가 있으면, 그로 인해 통신 에러가 발생할 수 있고, 심각할 경우에는 일 전자제어모듈 자체의 이상으로 인지될 수도 있다. 이를 방지하고자, 고가의 오실레이터를 적용하면 차량 단가가 상승하는 문제가 있다.If there is an error in the clock used when the in-vehicle electronic control module communicates with another electronic control module, a communication error may be caused thereby, and in a serious case, it may be recognized as an abnormality of the electronic control module itself. To prevent this, there is a problem that the cost of the vehicle increases when an expensive oscillator is applied.
물론, 전자제어모듈의 제어기 내부에 구비된 오실레이터를 사용하면, 단가 상승 문제를 해결할 수 있으나, 전자부품의 특성상 내부 오실레이터의 주파수 오차에 온도의 변화에 따른 주파수 오차가 더해져 통신 에러를 유발할 수 있다.Of course, the use of an oscillator provided in the controller of the electronic control module can solve the problem of increasing the unit price. However, due to the characteristics of the electronic component, a frequency error due to the temperature change may be added to the frequency error of the internal oscillator.
도 1과 같이, 동일한 주파수를 출력하는 오실레이터(파란색 점과 보라색 점 참조)는 온도 변화에 따른 주파수 변화의 형태(도 1의 두 점의 변화 형태)가 유사하나, 그 초기 오차(도 1의 두 점 간의 상하 간격)에 차이가 있다.As shown in Fig. 1, the oscillator (see the blue dot and the purple dot) outputting the same frequency is similar in the form of the frequency change with the temperature change (the change form of the two points in Fig. 1) Spacing between points).
차량과 같이 온도 가변 폭(-40℃ 내지 150℃)이 매우 큰 환경에서는 온도 변화에 따른 클럭 오차가 더욱 커질 수 있어, 오실레이터 초기 오차와 더해져 에러 발생 가능성은 더욱 커진다.
In a very large temperature variation range (-40 ° C to 150 ° C) such as a vehicle, a clock error due to a temperature change may become larger, and an error may occur due to an initial error of the oscillator.
이하, 본 발명의 실시예에 대하여 첨부한 도면을 참조하여 상세히 설명하기로 한다. 도 2는 본 발명의 실시예에 따른 클럭 오차 보상 장치를 도시한 구성도이다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. 2 is a block diagram illustrating a clock error compensation apparatus according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 본 발명의 실시예에 따른 클럭 오차 보상 장치(20)는 온도 센서(210), 제어기(220) 및 저장소(230)를 포함한다.2, a clock
온도 센서(210)는 전자 액츄에이터가 구비된 장소의 환경 온도를 감지하여 제어기(220)에 전달한다. 이때, 온도 센서(210)는 제어기(220) 내부에 구비되거나, 제어기(220) 내 RC 오실레이터에 근접하여 위치하는 것이 좋다.The
저장소(230)는 온도 변화에 따른 클럭 보상값 및 RC 오실레이터(221)에 대해 측정된 클럭 초기 오차값을 저장한다. 이때, 저장소(230)는 제어기(220) 내부에 포함될 수도 있다.The
여기서, 온도 변화에 따른 클럭 보상값은 차량 환경 온도에 대응하도록 동일 사양의 복수의 제어기 내 복수의 RC 오실레이터에 대해 클럭 오차를 측정하고, 각 측정치를 종합하여(예컨대, 평균하여) 산출될 수 있다.Here, the clock compensation value according to the temperature change can be calculated by measuring the clock error for a plurality of RC oscillators in a plurality of controllers of the same specification so as to correspond to the vehicle environment temperature, and integrating (e.g., averaging) each measurement value .
일 예로서, 저장소(230)는 테이블 형식으로 기설정된 온도 변화의 기설정된 단위별(예컨대, 1℃) 클럭 보상값을 저장할 수 있다. As an example, the
다른 예로서, 저장소(230)는 클럭 보상값 대신에 클럭 보상값을 산출하는 수학식을 저장할 수도 있다. 이때, 수학식은 적어도 하나의 온도 구간별로 각기 존재할 수 있고, 감지된 온도에 대응하는 구간의 수학식에 온도 변화량을 입력하면 클럭 보상값을 산출할 수 있는 형태일 수 있다.As another example, the
이때, 저장소(230)는 초기 오차값과 클럭 보상값을 고려한 최종 오차율에 대응하는 송수신 데이터의 해석식(예컨대, PWM 신호의 듀티비 조절식) 및 시스템 클럭의 분주율 등을 더 저장할 수 있다. At this time, the
제어기(220)는 RC 오실레이터의 출력 클럭으로부터 다른 전자제어모듈과 통신하는데 사용되는 차량 통신용 클럭을 생성하되, 초기 오차값과 온도 센서(210)의 감지된 온도에 대응하는 클럭 보상값을 이용해 보상한다. The
이때, 제어기(220)는 엔진제어유닛(Engine Control Unit)과 통신하는 터보 차저(Turbo Charger)의 배기가스 유로 조절용 전자 액츄에이터를 제어하는 장치일 수 있다. 예컨대, 제어기(220)는 MLX81150일 수 있다.At this time, the
제어기(220)는 RC 오실레이터(221), 클럭 생성부(222), 오차율 산출부(223), 클럭 변환부(224), 데이터 변환부(225) 및 데이터 처리부(226)를 포함한다. 이하, 제어기(220)의 각 구성요소에 대하여 설명한다.The
RC 오실레이터(221)는 제어기(220)의 내부에 구비된 RC 오실레이터로서 클럭을 생성한다. The
클럭 생성부(222)는 RC 오실레이터(221)의 출력 클럭을 입력받아 PLL 및 분주부 등에 의해 시스템 클럭(fmain)을 생성한다. 예컨대, RC 오실레이터의 출력 클럭은 25kHz일 수 있고, 시스템 클럭은 25MHz일 수 있다. 클럭 생성부(222)의 구체 구성에 대해서는 본 명세서로부터 당업자가 자명하게 도출할 수 있으므로, 더 상세한 설명은 생략한다.The clock generating unit 222 receives the output clock of the
오차율 산출부(223)는 저장소(230)로부터의 RC 오실레이터(221)의 초기 오차값과 온도 센서(210)로부터의 현재 온도에 따른 클럭 보상값을 이용하여 차량 통신용 클럭의 최종 오차율을 산출한다. 이때, 초기 오차값은 오차율 산출부(223)에 저장될 수도 있다.The error
이때, 차량 통신용 클럭은 다른 전자제어모듈과의 통신에 사용되는 클럭으로서, CAN(Controller Area Network), LIN(Local Interconnect Network) 및 MOST(Media Oriented System Tansport)를 포함하는 차량 네트워크 통신에 사용되는 PWM(Pulse Width Modulation) 클럭일 수 있다.At this time, the vehicle communication clock is a clock used for communication with other electronic control modules, and is a clock used for vehicle network communication including CAN (Controller Area Network), LIN (Local Interconnect Network) and MOST (Media Oriented System Tansport) (Pulse Width Modulation) clock.
클럭 변환부(224)는 시스템 클럭을 이용하여 차량 통신용 클럭을 생성하되, 시스템 클럭의 분주율을 최종 오차율에 따라 조절하여 차량 통신용 클럭을 생성한다.The
일 예로서, 시스템 클럭이 25MHz이고 차량 통신용 클럭이 250Hz이며 최종 오차율이 0%인 경우, 클럭 변환부(224)는 시스템 클럭의 분주율을 1/100000로 설정하고, 최종 오차율이 -1%인 경우에는 시스템 클럭의 분주율을 1/99000으로 설정할 수 있다.For example, when the system clock is 25 MHz, the vehicle communication clock is 250 Hz, and the final error rate is 0%, the
데이터 변환부(225)는 차량 네트워크로 데이터 송신시에 최종 오차율을 고려하여 송신하고, 데이터 수신시에도 최종 오차율을 고려하여 수신 데이터를 보상한다.The
예를 들어, 송수신 데이터가 PWM 통신용 데이터인 경우, 데이터 변환부(225)는 최종 오차율을 고려하여 송신 데이터의 듀티비를 보정한 후 차량 네트워크로 송신하고, 수신 데이터의 듀티비를 최종 오차율을 고려해 보정한 후 데이터 처리부(226)로 전달한다.For example, when the transmission / reception data is the PWM communication data, the
더 상세하게는, 데이터 변환부(225)는 최종 오차율이 +1%이면, 데이터 처리부(226)로부터 전달받은 송신 데이터의 듀티비를 1%만큼 감소시켜 차량 네트워크로 송신하고, 차량 네트워크로부터 전달된 수신 데이터의 듀티비를 1%만큼 증가시켜 데이터 처리부(226)로 전달할 수 있다. 이때, 데이터 변환부(225)는 송신용 변환부와 수신용 변환부로 각기 구성될 수도 있다.More specifically, if the final error rate is + 1%, the
데이터 처리부(226)는 다른 전자제어모듈로 송신할 송신 데이터를 생성하거나, 다른 전자제어모듈로부터의 수신 데이터를 해석하고, 전자 액츄에이터의 제어하는 등의 기능을 수행한다.The
한편, 전술한 예에서는 오차율 산출부(223), 데이터 처리부(226), 클럭 변환부(224) 및 데이터 변환부(225)는 적어도 하나의 프로세싱 유닛을 포함할 수 있고, 실시예에 따라, 메모리를 더 포함할 수 있다. 여기서, 프로세싱 유닛은 예를 들어 중앙처리장치(CPU), 그래픽처리장치(GPU), 마이크로프로세서, 주문형 반도체(Application Specific Integrated Circuit, ASIC), Field Programmable Gate Arrays(FPGA) 등을 포함할 수 있으며, 복수의 코어를 가질 수 있다. 메모리는 휘발성 메모리(예를 들어, RAM 등), 비휘발성 메모리(예를 들어, ROM, 플래시 메모리 등) 또는 이들의 조합일 수 있다. In the example described above, the error
또한, 전술한 예에서는 제어기(220)가 PWM 통신하는 경우를 예로 들어 설명하였다. 하지만, 이와 달리, 제어기(220)는 SPI, UART 및 I2C 통신할 수도 있다. 이 경우에도, 데이터 처리부(226), 클럭 변환부(224) 및 데이터 변환부(225)는 해당 통신에 대응하는 SPI 통신용 클럭, UART 통신용 클럭 및 I2C 통신용 클럭을 생성할 수 있다.In the above-described example, the case where the
또는, 전술한 예에서는 본 발명의 실시예에 따른 클럭 오차 보상 장치가 차량에 적용된 경우를 예로 들어 설명하였다. 하지만, 이와 달리, 본 발명의 실시예에 따른 클럭 오차 보상 장치는 환경 온도의 변화가 있는 다른 장치에 적용될 수도 있음은 물론이다.
Alternatively, in the above-described example, the case where the clock error compensating apparatus according to the embodiment of the present invention is applied to a vehicle has been described as an example. However, it is needless to say that the clock error compensating apparatus according to the embodiment of the present invention may be applied to other apparatuses having a change in ambient temperature.
이와 같이, 본 발명에서는 일 전자제어모듈에 적용되는 제어기의 내부 RC 오실레이터를 사용하여 제조 원가를 절감하면서도 그 초기 오차값과 온도 변화에 따른 클럭 오차값을 고려하여분주율 조절 및 송수신 데이터 해석을 수행할 수 있어 통신 정확도를 향상시킬 수 있다.
As described above, in the present invention, the internal RC oscillator of the controller applied to one electronic control module is used to reduce the manufacturing cost, and the frequency division ratio adjustment and transmission / reception data analysis are performed considering the initial error value and the clock error value according to the temperature change The communication accuracy can be improved.
이하, 도 3을 참조하여 본 발명의 실시예에 따른 차량 통신용 클럭 온도 보상 방법에 대하여 설명한다. 도 3은 본 발명의 실시예에 따른 차량 통신용 클럭 온도 보상 방법을 도시한 흐름도이다.Hereinafter, a method for compensating a clock temperature for vehicle communication according to an embodiment of the present invention will be described with reference to FIG. 3 is a flowchart illustrating a clock communication temperature compensation method according to an embodiment of the present invention.
도 3을 참조하면, 데이터 처리부(226)는 온도 센서(210)에 의해 감지된 온도를 확인한다(S310).Referring to FIG. 3, the
오차율 산출부(223)는 감지된 온도와 초기 오차율을 고려한 최종 오차율을 산출한다(S320). The error
오차율 산출부(223)는 최종 오차율 또는 그에 대응하는 데이터를 클럭 변환부(224) 및 데이터 변환부(225)에 제공한다(S330). The error
상세하게는, 오차율 산출부(223)는 데이터 송신 과정에는 클럭 변환부(224)와 데이터 변환부(225)에 최종 오차율을 전달하고, 데이터 수신 과정에는 데이터 변환부(225)에만 최종 오차율을 전달할 수도 있다. 또는, 오차율 산출부(223)는 저장소(230)로부터 최종 오차율에 대응하는 시스템 클럭의 분주율 및 듀티 조정비 중 적어도 하나를 확인하여 클럭 변환부(224)와 데이터 변환부(225)에 제공할 수도 있다.In detail, the error
데이터 송신시에, 클럭 변환부(224)는 최종 오차율을 고려하여 시스템 클럭의 분주율을 조절한다(S340)At the time of data transmission, the
또한, 데이터 변환부(225)는 최종 오차율을 고려하여 송신 데이터의 듀티비를 조절하여 차량 네트워크로 송신한다(S350).In addition, the
데이터 수신시에, 데이터 변환부(225)는 최종 오차율을 고려하여 수신 데이터의 듀티비를 조절한 후 데이터 처리부(226)에 전달한다(S360).The
이와 같이, 본 발명의 실시예는 제어기의 내부 RC 오실레이터를 이용하여 차량 통신용 클럭의 오차율을 가능한 줄일 수 있어, 단가 절감은 물론, 그 정확도 향상의 효과를 얻을 수 있다.
As described above, according to the embodiment of the present invention, the error rate of the vehicle communication clock can be reduced as much as possible by using the internal RC oscillator of the controller, thereby reducing the unit cost and improving the accuracy thereof.
이상, 본 발명의 구성에 대하여 첨부 도면을 참조하여 상세히 설명하였으나, 이는 예시에 불과한 것으로서, 본 발명이 속하는 기술분야에 통상의 지식을 가진자라면 본 발명의 기술적 사상의 범위 내에서 다양한 변형과 변경이 가능함은 물론이다. 따라서 본 발명의 보호 범위는 전술한 실시예에 국한되어서는 아니되며 이하의 특허청구범위의 기재에 의하여 정해져야 할 것이다.While the present invention has been described in detail with reference to the accompanying drawings, it is to be understood that the invention is not limited to the above-described embodiments. Those skilled in the art will appreciate that various modifications, Of course, this is possible. Accordingly, the scope of protection of the present invention should not be limited to the above-described embodiments, but should be determined by the description of the following claims.
Claims (8)
상기 RC 오실레이터와 동일 사양의 상기 RC 오실레이터와 동일 사양의 복수의 RC 오실레이터에 대해 측정된 환경 온도에 따른 클럭 변화로부터 기산출된 온도 변화에 따른 클럭 보상값 및 상기 제어기 내 RC 오실레이터에 대해 측정된 초기 오차값을 저장하는 저장소; 및
온도를 감지하는 온도 센서를 포함하고,
상기 제어기는, 상기 초기 오차값과 감지된 상기 온도에 대응하는 클럭 보상값을 고려하여 최종 오차율을 산출하고, 상기 최종 오차율을 고려하여 상기 RC 오실레이터의 출력 클럭으로부터 통신용 클럭을 생성하는 것인 클럭 오차 보상 장치.A controller incorporating an RC oscillator;
A plurality of RC oscillators of the same specification as the RC oscillator of the same specification as the RC oscillator, a clock compensation value according to a temperature change calculated based on the clock change according to the measured environmental temperature, and an initial value measured for the RC oscillator in the controller A storage for storing error values; And
And a temperature sensor for sensing temperature,
Wherein the controller calculates a final error rate by considering the initial error value and a clock compensation value corresponding to the sensed temperature and generates a communication clock from the output clock of the RC oscillator in consideration of the final error rate, Compensation device.
엔진 제어 유닛(Engine Control Unit)과 통신하는 터보 차저(Turbo Charger)의 배기가스 유로 조절용 전자 액츄에이터를 제어하는 것인 클럭 오차 보상 장치.2. The apparatus of claim 1,
And an electronic actuator for controlling an exhaust gas flow rate of a turbocharger communicating with an engine control unit is controlled.
PWM(Pulse Width Modulation) 통신용 클럭, SPI 통신용 클럭, UART 통신용 클럭 및 I2C 통신용 클럭 중 적어도 하나를 포함하는 것인 클럭 오차 보상 장치.The communication system according to claim 1,
A clock for PWM (Pulse Width Modulation) communication, a clock for SPI communication, a clock for UART communication, and a clock for I2C communication.
상기 RC 오실레이터로부터 기설정된 주파수의 시스템 클럭을 생성하는 클럭 생성부;
상기 초기 오차값과 상기 감지된 온도에 따른 클럭 보상값을 고려하여 최종 오차율을 산출하는 오차율 산출부; 및
상기 최종 오차율에 따라 상기 시스템 클럭의 분주율을 조절하여 상기 통신용 클럭을 생성하는 클럭 변환부
를 포함하는 것인 클럭 오차 보상 장치.2. The apparatus of claim 1,
A clock generator for generating a system clock of a predetermined frequency from the RC oscillator;
An error rate calculation unit for calculating a final error rate in consideration of the initial error value and the clock compensation value according to the sensed temperature; And
And a clock conversion unit for adjusting the frequency division ratio of the system clock according to the final error rate to generate the communication clock,
And a clock error compensator.
상기 최종 오차율을 고려하여 송신 데이터의 듀티비를 조절하여 통신용 네트워크로 송신하고, 상기 최종 오차율을 고려해 상기 통신용 네트워크로부터의 수신 데이터의 듀티비를 조절하는 데이터 변환부; 및
상기 송신 데이터를 생성하고, 상기 수신 데이터를 해석하는 데이터 처리부
를 더 포함하는 클럭 오차 보상 장치.5. The apparatus of claim 4,
A data conversion unit for adjusting a duty ratio of transmission data in consideration of the final error rate, transmitting the transmission data to a communication network, and adjusting a duty ratio of data received from the communication network in consideration of the final error rate; And
A data processing unit for generating the transmission data and interpreting the reception data,
Further comprising:
상기 온도 센서에 의해 감지된 온도를 확인하는 단계;
상기 초기 오차값 및 상기 감지된 온도에 대응하는 클럭 보상값을 이용하여 최종 오차율을 산출하는 단계; 및
상기 최종 오차율을 고려하여 상기 RC 오실레이터의 출력 클럭으로부터 통신용 클럭을 생성하는 단계
를 포함하는 클럭 오차 보상 방법.A controller incorporating an RC oscillator; A storage for storing a clock compensation value according to a temperature change calculated from a clock change according to the measured environmental temperature for a plurality of RC oscillators having the same specifications as the RC oscillator and an initial error value measured for the RC oscillator in the controller; And a temperature sensor for sensing temperature, the method comprising the steps of:
Confirming the temperature sensed by the temperature sensor;
Calculating a final error rate using the initial error value and a clock compensation value corresponding to the sensed temperature; And
Generating a communication clock from the output clock of the RC oscillator in consideration of the final error rate
/ RTI >
상기 RC 오실레이터로부터 기설정된 주파수의 시스템 클럭을 생성하는 단계; 및
상기 최종 오차율에 따라 상기 시스템 클럭의 분주율을 조절하여 상기 통신용 클럭을 생성하는 단계
를 포함하는 것인 클럭 오차 보상 방법.7. The method of claim 6,
Generating a system clock of a predetermined frequency from the RC oscillator; And
Generating the communication clock by adjusting the frequency division ratio of the system clock according to the final error rate
And a clock error compensation method.
상기 최종 오차율을 고려하여 송신 데이터의 듀티비를 조절하여 통신용 네트워크로 송신하고, 상기 최종 오차율을 고려해 수신 데이터의 듀티비를 조절하는 단계
를 더 포함하는 클럭 오차 보상 방법.
8. The method of claim 7,
Adjusting the duty ratio of the transmission data in consideration of the final error rate, transmitting the transmission data to the communication network, and adjusting the duty ratio of the reception data considering the final error rate
≪ / RTI >
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150092236A KR101699047B1 (en) | 2015-06-29 | 2015-06-29 | Apparatus and Method for Amending Clock Error for Vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150092236A KR101699047B1 (en) | 2015-06-29 | 2015-06-29 | Apparatus and Method for Amending Clock Error for Vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170002160A true KR20170002160A (en) | 2017-01-06 |
KR101699047B1 KR101699047B1 (en) | 2017-01-23 |
Family
ID=57832241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150092236A KR101699047B1 (en) | 2015-06-29 | 2015-06-29 | Apparatus and Method for Amending Clock Error for Vehicle |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101699047B1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180090110A (en) * | 2017-02-02 | 2018-08-10 | 주식회사 다산네트웍스 | Clock synchronization system improved clock accuracy through competition with Grand Master clocks |
KR20180090109A (en) * | 2017-02-02 | 2018-08-10 | 주식회사 다산네트웍스 | Clock synchronization system improved clock accuracy through competition with Grand Master clocks |
KR20220000543U (en) | 2020-08-27 | 2022-03-08 | 이상훈 | Ring type fixing holder |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0884377A (en) * | 1994-09-13 | 1996-03-26 | Nippondenso Co Ltd | Communication equipment for engine control |
KR20060090496A (en) * | 2005-02-07 | 2006-08-11 | 삼성전자주식회사 | Resistor-capacitor oscillator for sleep clock and method thereof |
KR100782796B1 (en) * | 2006-10-31 | 2007-12-05 | 삼성전기주식회사 | Rc oscillation circuit capable of adjusting oscillation frequency and method of the same |
-
2015
- 2015-06-29 KR KR1020150092236A patent/KR101699047B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0884377A (en) * | 1994-09-13 | 1996-03-26 | Nippondenso Co Ltd | Communication equipment for engine control |
KR20060090496A (en) * | 2005-02-07 | 2006-08-11 | 삼성전자주식회사 | Resistor-capacitor oscillator for sleep clock and method thereof |
KR100782796B1 (en) * | 2006-10-31 | 2007-12-05 | 삼성전기주식회사 | Rc oscillation circuit capable of adjusting oscillation frequency and method of the same |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180090110A (en) * | 2017-02-02 | 2018-08-10 | 주식회사 다산네트웍스 | Clock synchronization system improved clock accuracy through competition with Grand Master clocks |
KR20180090109A (en) * | 2017-02-02 | 2018-08-10 | 주식회사 다산네트웍스 | Clock synchronization system improved clock accuracy through competition with Grand Master clocks |
KR20220000543U (en) | 2020-08-27 | 2022-03-08 | 이상훈 | Ring type fixing holder |
Also Published As
Publication number | Publication date |
---|---|
KR101699047B1 (en) | 2017-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101699047B1 (en) | Apparatus and Method for Amending Clock Error for Vehicle | |
JP5338751B2 (en) | PWM communication system | |
US10516346B2 (en) | Power converter for converting DC power to AC power with adaptive control on characteristics of load | |
WO2015050093A1 (en) | Power supply system | |
JP6166353B2 (en) | Process variable compensation in process transmitters. | |
US10274601B2 (en) | Communications system | |
CN101677241B (en) | Bus connection circuit for coupling field device to field bus | |
JP2011529601A (en) | Bus device and method for predictively limiting power consumption in a two-wire device bus | |
KR101741531B1 (en) | inductive sensor capable of performing fast and precise position sensing and being easily maintained | |
CN107112910B (en) | Frequency converter | |
US20110136451A1 (en) | Telecommunication device having a loop-supplied device and method for the operating voltage supply thereof | |
WO2014203452A1 (en) | Vehicle-mounted communication apparatus | |
JP4626498B2 (en) | Microcomputer | |
JP4127535B2 (en) | Oscillator frequency correction method | |
RU88869U1 (en) | ADAPTIVE CONTROL SYSTEM OF PULSE VOLTAGE CONVERTER | |
JP4462371B2 (en) | Data receiving apparatus and microcomputer | |
CN107923780B (en) | Air flow meter | |
US10338151B2 (en) | Method and device for measuring a DC voltage such as the voltage of a motor vehicle battery | |
KR101977959B1 (en) | An Apparatus and a Method For Providing Real Time Clock For Vehicles | |
KR101176580B1 (en) | method for calibrating of electronic suspension controller and system of the same | |
RU121674U1 (en) | ADAPTIVE FEEDBACK PULSE STABILIZER WITH ADAPTIVE FEEDBACK | |
KR20080061642A (en) | The enlargement of instantaneous operation region of robot's servo motor and the control method thereof | |
KR101937237B1 (en) | Apparatus and method for controlling glow plug voltage in vehicle | |
JP4158107B2 (en) | Analog input data transmission device | |
US10931520B2 (en) | Methods and nodes for configuring a wireless link |
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: 20200106 Year of fee payment: 4 |