Claims (4)
엔진구동에 따른 크랭크각을 감지하여 그에 해당하는 전기적인 신호를 출력하는 크랭크각 감지부와; 상기 크랭크각 감지부에서 출력되는 신호의 주기를 측정한 다음, 그에 따라 엔진제어의 기본이 되는 크랭크각 1°신호의 주기를 구한다음, 상기에서 연산된 1°신호의 주기마다 출력신호를 토글시켜 출력하는 엔진 제어부로 이루어지는 것을 특징으로 하는 고분해능의 크랭크각 감지장치.A crank angle detector configured to detect a crank angle according to engine driving and output an electrical signal corresponding thereto; After the period of the signal output from the crank angle detector is measured, the period of the crank angle 1 ° signal which is the basis of engine control is calculated accordingly, and then the output signal is toggled for each cycle of the 1 ° signal calculated above. High-resolution crank angle detection device comprising an engine control unit for outputting.
제1항에 있어서, 상기한 엔진 제어부는 크랭크각 신호의 주기를 구하기 위하여, 내장타이머를 이용하여 크랭크각 신호의 폴링에지에서 인터럽트를 발행하여 그 때의 카운터값을 입력레지스터에 저장하고, 다시 크랭크각 신호의 폴링에지에서 인터럽트가 발생하는 시점의 카운값을 판독하여, 판독된 카운터값에서 상기 입력레지스터에 저장된 카운터값을 감산하여 그 값을 크랭크각 신호의 주기로 설저하는 것을 특징으로 하는 고분해능의 크랭크각 감지장치.The engine control apparatus according to claim 1, wherein the engine control unit issues an interrupt at the polling edge of the crank angle signal by using a built-in timer, and stores the counter value at that time in the input register to obtain a period of the crank angle signal. A high resolution crank characterized by reading a count value at the point of occurrence of an interrupt at the polling edge of each signal, subtracting the counter value stored in the input register from the read counter value, and setting the value as a period of the crank angle signal. Each sensing device.
전원이 인가되면 모든 작동회로와 사용변수를 초기화한 다음, 카운터를 설정하여 카운트하는 단계와;크래크각 감지부에서 출력되는 크랭크각 신호의 주기를 측정하는 단계와;상기에서 측정된 크랭크각 신호의 주기에 의하여 엔진제어의 기본이 되는 크랭크각 1°신호의 주기를 연산한 다음, 크랭크각 1°신호의 주기와 현재의 카운터값을 출력 레지스터에 저장하는 단계와; 상기 출력레지스터에 저장된 값과 현재의 카운트값과의 관계를 판단하여, 카운트값과 출력 레지스터값이 일치하는 경우 크랭크각 1°에 해당하는 출력신호를 토글시켜 출력하는 단계와; 상기의 현재 카운터값에 크랭크각 1°신호의 주기를 더하여 그 값을 상기 출력레지스터에 저장한 다음, 크랭크각 신호의 감지여부를 판단하는 단계와; 상기에서 크랭크각 신호가 감지되는 경우에는 다시 증가하는 카운터값과 출력레지스터값을 비교하고, 크랭크각 신호가 감지되지 않는 경우에는 종료하는 단계로 이루어지는 것을 특징으로 하는 고분해능의 크랭크각 감지방법.Initializing all operation circuits and use variables when power is applied, and setting and counting a counter; measuring a period of a crank angle signal output from a crack angle detection unit; measuring the crank angle signal measured above Calculating the period of the crank angle 1 ° signal which is the basis of engine control by the period, and storing the period of the crank angle 1 ° signal and the current counter value in an output register; Determining a relationship between a value stored in the output register and a current count value, and toggling and outputting an output signal corresponding to a crank angle of 1 ° when the count value and the output register value match; Adding a period of a crank angle 1 ° signal to the current counter value, storing the value in the output register, and then determining whether a crank angle signal is detected; When the crank angle signal is detected in the high crank angle detection method comprising the step of comparing the counter value and the output register value is increased again, if the crank angle signal is not detected.
제3항에 있어서, 상기한 크랭크각 신호의 주기를 구하는 단계에 있어서, 크랭크각 신호의 주기를 구하기 위하여, 내장타이머를 이용하여 크랭크각 신호의 폴링에지에서 인터럽트를 발행하여 그 때의 카운터값을 입력레지스터에 저장하고, 다시 크랭크각 신호의 폴링에지에서 인터럽트가 발생하는 시점의 카운터값을 판독하여, 판독된 카운터값에서 상기 입력레지스터에 저장된 카운터값을 감산하여 그 값을 크랭크각 신호의 주기로 설정하여 구하는 것을 특징으로 하는 고분해능의 크랭크각 감지방법.4. The method according to claim 3, wherein in the step of obtaining the period of the crank angle signal, an interrupt is issued at the polling edge of the crank angle signal using a built-in timer to determine the period of the crank angle signal. It stores in the input register, reads the counter value at the time of interrupt occurrence at the polling edge of the crank angle signal, subtracts the counter value stored in the input register from the read counter value and sets the value as the period of the crank angle signal. High resolution crank angle detection method characterized in that obtained by.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.