KR100273530B1 - Intrruptting system for top dead center tasking - Google Patents

Intrruptting system for top dead center tasking Download PDF

Info

Publication number
KR100273530B1
KR100273530B1 KR1019960073028A KR19960073028A KR100273530B1 KR 100273530 B1 KR100273530 B1 KR 100273530B1 KR 1019960073028 A KR1019960073028 A KR 1019960073028A KR 19960073028 A KR19960073028 A KR 19960073028A KR 100273530 B1 KR100273530 B1 KR 100273530B1
Authority
KR
South Korea
Prior art keywords
timer
interrupt
dead center
crankshaft
position detecting
Prior art date
Application number
KR1019960073028A
Other languages
Korean (ko)
Other versions
KR19980053899A (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 KR1019960073028A priority Critical patent/KR100273530B1/en
Publication of KR19980053899A publication Critical patent/KR19980053899A/en
Application granted granted Critical
Publication of KR100273530B1 publication Critical patent/KR100273530B1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/009Electrical control of supply of combustible mixture or its constituents using means for generating position or synchronisation signals
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F01MACHINES OR ENGINES IN GENERAL; ENGINE PLANTS IN GENERAL; STEAM ENGINES
    • F01LCYCLICALLY OPERATING VALVES FOR MACHINES OR ENGINES
    • F01L2820/00Details on specific features characterising valve gear arrangements
    • F01L2820/04Sensors
    • F01L2820/041Camshafts position or phase sensors
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F01MACHINES OR ENGINES IN GENERAL; ENGINE PLANTS IN GENERAL; STEAM ENGINES
    • F01LCYCLICALLY OPERATING VALVES FOR MACHINES OR ENGINES
    • F01L2820/00Details on specific features characterising valve gear arrangements
    • F01L2820/04Sensors
    • F01L2820/042Crankshafts position

Abstract

PURPOSE: An interrupt device for an upper dead center task is provided to precisely determine the position of a cylinder for carrying out the top dead center task precisely and speedily, thereby improving the reliability of an engine control unit and carrying out precise engine control operation according to a vehicle running state. CONSTITUTION: An interrupt device for an upper dead center task includes a crank position sensor(1) for outputting a pulse signal to be changed in period according to the rotation state of a crank shaft, a cam position sensor(2) for outputting a pulse signal to be changed in period according to the rotation state of a cam shaft, a timer(3) for counting the number of pulses input from the crank position sensor to generate an interrupt signal, and an engine control element(4) for comparing the pulse signals output from the crank position sensor and the cam position sensor together to determine a position of a cylinder according to the rotation state of the crank shaft, and carrying out a top dead center task processing according to the interrupt signal output from the timer element.

Description

상사점 태스크용 인터럽트 장치Interrupt Device for Top Deadline Task

이 발명은 상사점(Top Dead Center, 이하 TDC라 표기함) 태스크(task)용 인터럽트(interrupt) 장치에 관한 것으로, 더욱 상세하게는 크랭크 축 위치 감지장치에서 출력되는 펄스 신호를 이용하여 각 실린더의 BTDC(before top dead center) 값을 인식하고, 그에 따라 상사점 태스크 처리를 위한 인터럽트 신호를 발행하여 신호 처리량과 처리 시간을 감소시킬 수 있도록 하는 상사점 태스크용 인터럽트 장치에 관한 것이다.The present invention relates to an interrupt device for a top dead center (hereinafter referred to as a TDC) task, and more particularly, by using a pulse signal output from a crankshaft position sensor. The present invention relates to an interrupt device for a top dead center task for recognizing a BTDC (before top dead center) value and issuing an interrupt signal for top dead center task processing, thereby reducing signal throughput and processing time.

자동차의 주행 상태에 따른 적절한 엔진의 제어 동작이 이루어질 수 있도록 하기 위해, 엔진제어장치는 항상 자동차의 주행 상태를 감지하여 각 판단된 주행 상태에 적절하게 엔진의 점화시기, 분사량 또는 분사시기 등을 제어하여, 자동차의 주행 상태에 따른 최적의 효율을 출력할 수 있도록 한다.In order to enable the appropriate engine control operation according to the driving state of the vehicle, the engine controller always detects the driving state of the vehicle and controls the ignition timing, injection amount, or injection timing of the engine appropriately for each determined driving state. In order to output the optimum efficiency according to the driving state of the vehicle.

상기와 같이 주행 조건에 따라 변화하는 자동차의 주행 상태를 감지하기 위해 자동차의 각 해당 위치에 많은 감지장치가 장착되어 있으므로, 엔진제어장치는 각종 감지장치로부터 입력되는 신호를 처리하여 주행 조건에 따라 변화하는 자동차의 주행 상태를 판단하여 그에 적절한 엔진 제어 동작이 이루어질 수 있도록 한다.In order to detect the driving state of the vehicle that changes according to the driving conditions as described above, since a number of sensing devices are mounted at each corresponding position of the vehicle, the engine controller processes the signals input from various sensing apparatuses and changes according to the driving conditions. The driving state of the vehicle to determine the appropriate engine control operation can be made.

엔진의 주행 상태를 판단하기 위한 많은 감지장치중에, 크랭크 축의 회전 위치를 감지하기 위한 크랭크 축 위치 감지장치(Crank Position Sensor, CPS)가 존재한다.Among many sensors for determining the running state of the engine, there is a crank position sensor (CPS) for detecting the rotational position of the crankshaft.

상기 크랭크 축 위치 감지장치는 크랭크 축이나 배전기 등에 장착되어, 직선운동을 하는 엔진의 피스톤의 행정 동작에 의해 회전하는 크랭크 축의 회전 상태에 따라 해당하는 펄스 신호를 출력한다.The crankshaft position sensing device is mounted on a crankshaft, a distributor, or the like, and outputs a corresponding pulse signal according to the rotational state of the crankshaft rotating by the stroke of the piston of the engine making linear motion.

그러므로 엔진제어장치는 크랭크 축 위치 감지장치에서 출력되는 펄스 신호를 처리하여 각 실린더의 동작 상태를 판단하여, 제어 대상이 되는 실린더의 위치를 판정하므로 엔진의 점화 시기 또는 연료 분사 동작을 제어하는 기준점으로 사용한다.Therefore, the engine control device processes the pulse signal output from the crankshaft position sensing device to determine the operation state of each cylinder, and determines the position of the cylinder to be controlled. As a reference point for controlling the ignition timing or fuel injection operation of the engine. use.

또한, 상기 크랭크 축 위치 감지장치에서 출력되는 신호를 이용하여 엔진제어장치는 엔진의 회전수를 산출하고, 자동차의 주행 상태에 따라 변화하는 엔진의 부하 정도에 따라 공연비, 점화시기, 엔진의 아이들 속도 등을 제어하기 위한 정보로도 사용하므로, 크랭크 축 위치 감지 신호는 엔진의 동작을 제어하기 위해서는 매우 중요한 정보가 된다.In addition, the engine control apparatus calculates the engine speed by using the signal output from the crankshaft position detection device, and according to the degree of load of the engine that changes according to the driving state of the vehicle, the air-fuel ratio, ignition timing, engine idle speed Also used as information for controlling the back, the crankshaft position detection signal is very important information for controlling the operation of the engine.

이때, 크랭크 축의 위치를 산출할 경우, 기준 시점을 설정하기 위해 크랭크 축이 2회전할 때마다 1회전하는 캠 축의 위치를 감지하는 캠축 위치 감지 신호를 이용한다.At this time, when the position of the crankshaft is calculated, a camshaft position detection signal for detecting the position of the camshaft rotated once every two revolutions of the crankshaft is used to set a reference time point.

일반적으로 4기통인 경우 T = 30/Ne 이다.In general, for 4 cylinders, T = 30 / Ne.

T : 1 TDC의 주기(sec) Ne : 회전수(rpm)T: 1 TDC cycle (sec) Ne: RPM (rpm)

30 : 1 TDC 주기 동안에 발생하는 크랭크 축 위치 감지신호의 펄스수30: Number of pulses of crankshaft position detection signal generated during 1 TDC period

따라서, Ne가 6.000rpm이면 T = 30 / 6000의 식에 의해 T = 5 ms이고, 1 TDC 주기 동안에 발생하는 크랭크 축 위치 감지신호의 펄스수가 30이므로, 1 크랭크 축 위치 감지신호의 각 펄스간의 주기는 5ms / 30 = 166.66666…㎲가 된다.Therefore, if Ne is 6.000 rpm, T = 5 ms according to the equation T = 30/6000, and the number of pulses of the crankshaft position detection signal occurring during one TDC period is 30, so the period between each pulse of the one crankshaft position detection signal is 5 ms / 30 = 166.66666. Becomes.

그러므로 신호 처리 장치는 이미 설정되어 있는 제어 장치의 클럭 주기인 100㎒와 엔진의 회전수가 6.000rpm인 경우 약167㎲마다 입력되는 크랭크 축 위치 감지 신호를 처리해야 하므로 많은 양의 신호를 처리해야 한다.Therefore, the signal processing apparatus has to process a large amount of signals because the crankshaft position detection signal is input every about 167 Hz when the clock cycle of the preset control apparatus 100 MHz and the engine speed are 6.000 rpm.

따라서 과다한 신호 처리량으로 신호 처리중 다른 데이터와의 데이터 충돌 현상이 발생하여 정확한 신호 처리를 실행하지 못하는 문제가 발생하고, 신호 처리 시간이 길어진다.As a result, an excessive signal processing amount may cause a data collision with other data during signal processing, resulting in an inability to execute accurate signal processing, resulting in a long signal processing time.

특히, 엔진의 회전 속도가 빨라져 고속으로 회전할 경우 엔진의 회전수가 증가하면서 크랭크 축 위치 감지장치에서 출력되는 펄스 신호의 주기가 짧아지므로, 매 펄스 신호를 처리해야 하는 시간이 짧아져 인터럽트 수행 태스크(task)들간의 충돌 현상이 더욱 빈번하게 발생한다.In particular, when the engine rotates at a high speed, the engine rotates at a high speed, and thus the period of the pulse signal output from the crankshaft position sensing device is shortened. Therefore, the time required to process each pulse signal is shortened. Conflicts between tasks occur more frequently.

그러므로 이 발명의 목적은 상기한 종래의 문제점을 해소하기 위한 것으로, 크랭크 축 위치 감지장치에서 출력되는 펄스 신호를 이용하여 각 실린더의 BTDC(brfore top dead center) 값을 인식하고, 그에 따라 상사점 태스크 처리를 위한 인터럽트 신호를 발생하여 상사점 태스크 처리가 정확하게 이루어질 수 있도록하는 상사점 태스크용 인터럽트 장치를 제공하기 위한 것이다.Therefore, an object of the present invention is to solve the above-mentioned conventional problem, and recognizes the BTDC (brfore top dead center) value of each cylinder by using a pulse signal output from the crankshaft position sensing device, and accordingly the top dead center task The present invention provides an interrupt device for a top dead center task that generates an interrupt signal for processing so that top dead center task processing can be performed accurately.

제1도는 이 발명의 실시예에 따른 크랭크 축 위치 감지장치의 출력 파형도.1 is an output waveform diagram of a crankshaft position sensing device according to an embodiment of the present invention.

제2도는 이 발명의 실시예에 따른 캠 축 위치 감지장치의 출력 파형도.2 is an output waveform diagram of a camshaft position sensing device according to an embodiment of the present invention.

제3도는 이 발명의 실시예에 따른 상사점 태스크용 인터럽트 장치의 블록 구성도이다.3 is a block diagram of an interrupt device for a top dead center task according to an embodiment of the present invention.

상기한 목적을 달성하기 위한 이 발명의 구성은, 크랭크 축의 회전 상태에 따라 출력되는 펄스 신호의 주기가 변화하는 크랭크 축 위치 감지 수단과; 캠축의 회전 상태에 따라 출력되는 펄스 신호의 주기가 변화하는 캠축 위치 감지 수단과; 상기 크랭크 축 위치 감지 수단에서 입력되는 펄스 수를 카운팅하여 인터럽트 신호를 발생하는 타이머 수단과; 상기 크랭크 축 위치 수단에서 출력되는 펄스 신호와 캠 축 위치 감지 수단에서 출력되는 펄스 신호를 비교 판단하여 크랭크 축의 회전 상태에 따른 실린더의 위치를 판정하고, 상기 타이머 수단에서 입력되는 인터럽트 신호에 따라 TDC 태스크 처리를 수행하는 엔진제어수단으로 이루어진다.A configuration of the present invention for achieving the above object comprises: crankshaft position detecting means for changing the period of the output pulse signal in accordance with the rotational state of the crankshaft; Camshaft position detecting means for varying the period of the output pulse signal in accordance with the rotational state of the camshaft; Timer means for generating an interrupt signal by counting the number of pulses input from said crankshaft position sensing means; Comparing and determining the pulse signal output from the crankshaft position means and the pulse signal output from the cam axis position detection means to determine the position of the cylinder according to the rotation state of the crankshaft, TDC task according to the interrupt signal input from the timer means Engine control means for performing the processing.

이하, 이 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 이 발명을 용이하게 실시할 수 있는 가장 바람직한 실시예를 첨부된 도면을 참고로 하여 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 이 발명의 실시예에 따른 크랭크 축 위치 감지장치의 출력 파형도이고,1 is an output waveform diagram of a crankshaft position sensing device according to an embodiment of the present invention,

도 2는 이 발명의 실시예에 따른 캠 축 위치 감지장치의 출력 파형도이고, 도 3은 이 발명의 실시예에 따른 상사점 태스크 처리용 인터럽트 장치의 블럭 구성도이다.2 is an output waveform diagram of a cam shaft position sensing apparatus according to an embodiment of the present invention, and FIG. 3 is a block diagram of an interrupt apparatus for top dead center task processing according to an embodiment of the present invention.

도 3를 참고로 하여 이 발명의 구성을 살펴보면, 크랭크 축의 회전 상태에 따라 출력되는 펄스 신호의 주기가 변화하는 크랭크 축 위치 감지장치(1)와; 캠축의 회전 상태에 따라 출력되는 펄스 신호의 주기가 변화하는 캠축 위치 감지장치(2)와; 상기 크랭크 축 위치 감지장치(1)에서 입력되는 펄스 수를 카운팅하여 인터럽트 신호를 발행하는 타이머 장치(3)와; 상기 크랭크 축 위치 감지치(1)에서 출력되는 펄스 신호와 캠 축 위치 감지장치(2)에서 출력되는 펄스 신호를 비교 판단하여 크랭크 축의 회전 상태에 따른 실린더의 위치를 판정하고, 상기 타이머 장치(3)로부터 인터럽트 신호를 입력받아 TDC 태스크 처리를 수행하는 엔진제어장치(4)로 이루어진다.Looking at the configuration of the present invention with reference to Figure 3, the crankshaft position detection device (1) for changing the period of the output pulse signal according to the rotational state of the crankshaft; A camshaft position detecting device (2) in which a cycle of a pulse signal outputted according to the rotational state of the camshaft changes; A timer device (3) for issuing an interrupt signal by counting the number of pulses input from said crankshaft position sensing device (1); By comparing and determining the pulse signal output from the crankshaft position detection value 1 and the pulse signal output from the camshaft position detecting device 2, the position of the cylinder according to the rotation state of the crankshaft is determined, and the timer device 3 It is composed of an engine control device 4 for receiving the interrupt signal from the TDC task processing.

상기 타이머 장치(3)는 크랭크 축 위치 감지장치(1)에서 출력되는 펄스 수를 카운팅하여 펄스 수가 일정한 수에 도달하면 인터럽트 신호를 발생하는 제1타이머(31)와; 상기 제1타이머(31)가 인터럽트 신호를 발생하면 기존에 세팅된 값을 제1타이머(31)로 리로드(reload)하고, 새로운 세팅값으로 재세팅되는 제2타이머(32)로 이루어진다.The timer device (3) comprises a first timer (31) for counting the number of pulses output from the crankshaft position detecting device (1) and generating an interrupt signal when the number of pulses reaches a certain number; When the first timer 31 generates an interrupt signal, the first timer 31 includes a second timer 32 that reloads the previously set value to the first timer 31 and resets it to a new setting value.

상기 제1타이머(31)는 용량이 8비트(bit)로서 그 이상의 데이터가 입력되면 오버플로우가 발생하여 인터럽트를 발생한다.When the first timer 31 has a capacity of 8 bits and more data is input, an overflow occurs to generate an interrupt.

상기 타이머 장치(3)는 엔진제어장치(4)의 내부에 내장되어 프로그램적으로 작동하는 타이머를 사용하거나 또는 별도로 설계된 타이머를 외부에 장착하여 사용 할 수도 있다.The timer device 3 may use a timer that is built in the engine control device 4 to operate programmatically, or may be used by attaching a separately designed timer to the outside.

이하, 첨부된 도면을 참고로 하여 이 발명의 동작을 설명한다.Hereinafter, with reference to the accompanying drawings will be described the operation of the present invention.

먼저, 상기 엔진제어장치(4)가 트랭크 축 위치 감지장치(1)에서 출력되는 펄스 신호와 캠 축 위치 감지장치(2)에서 출력되는 펄스 신호를 이용하여 기준 실린더를 판단하는 방법에 대하여 설명하기로 한다.First, a description will be given of a method of determining the reference cylinder using the pulse signal output from the camshaft position detecting device 2 and the pulse signal output from the camshaft position detecting device 1 by the engine controller 4. Let's do it.

동작이 시작되면, 엔진제어장치(4)는 도 1과 같이 크랭크 축 위치 감지장치(1)에서 출력되는 신호를 판독하여 기준 위치를 판단하기 위한 미싱 튜스(missing tooth) 상태인지 판단한다.When the operation is started, the engine controller 4 reads the signal output from the crankshaft position sensor 1 as shown in FIG. 1 to determine whether it is in a missing tooth state for determining a reference position.

판독된 크랭크 축 위치 감지 신호의 상태가 미싱 튜스 상태일 경우 엔진제어장치(4)는 크랭크 축 위치 감지장치(1)에서 출력되는 신호를 판독하여, 펄스가 입력되는지를 판단한다.When the read state of the crankshaft position detection signal is a missing teeth state, the engine controller 4 reads a signal output from the crankshaft position detection device 1 to determine whether a pulse is input.

그러나 판독된 크랭크 축 위치 감지장치(1)의 신호 상태가 미싱 튜스 상태가 아닐 경우엔, 엔진제어장치(4)는 계속해서 크랭크 축 위치 감지 신호의 상태를 판단한다.However, if the read signal state of the crankshaft position detecting device 1 is not a missing teeth state, the engine control device 4 continues to determine the state of the crankshaft position detecting signal.

그러나 크랭크 축 위치 감지 신호가 입력되어, 입력되는 신호 상태가 고레벨인 "H"상태에서 저레벨인 "L"상태로 변화하면, 엔진제어장치(4)는 도 2와 같이 입력되는 캠 축 위치 감지장치(2)의 출력 신호를 판독하여 기준 실린더를 판단한다.However, when the crankshaft position detection signal is input and the input signal state changes from the high level "H" state to the low level "L" state, the engine control device 4 inputs the cam shaft position detection device as shown in FIG. The output signal of (2) is read to determine the reference cylinder.

판독한 신호의 상태가 저레벨인 "L"일 경우, 엔진제어장치(4)는 현재 작동하는 실린더를 1번 실린더를 판단하고, 판단된 신호의 상태가 고레벨인 "H"일 경우, 엔진제어장치(4)는 현재 작동하는 실린더를 4번 실린더를 판정한다.When the state of the read signal is " L " at low level, the engine controller 4 judges cylinder # 1 as the cylinder currently operating, and when the state of the determined signal is " H " at high level, the engine controller (4) determines cylinder number 4 as the currently operating cylinder.

이 발명의 실시예에서는 크랭크 축 위치 감지장치(1)의 출력 신호가 미싱 튜스 상태이고, 캠 축 위치 감지장치(2)에서 출력되는 신호가 저레벨인"L"상태인 1번 실린더를 기준 실린더로 한다.In the embodiment of the present invention, cylinder 1, which has an output signal of the crankshaft position detecting device 1, is in a sewing machine state, and the signal output from the camshaft position detecting device 2 is in a low level "L" state as a reference cylinder. do.

상기와 같이 크랭크 축 위치 감지장치(1)와 캠 축 위치 감지장치(2)의 출력 신호에 의해 기준 실린더가 판단되면, 도 2에 도시된 ①부분과 같이 캠 축 위치 감지장치(2)에서 출력되는 신호가 저레벨인 "L"상태일 태 타이머 장치(3)의 제1타이머(31)의 세팅 값을 핵사 값 FFH로 셋팅하고, 제2타이머(32)의 값을 256-30으로 셋팅한다.When the reference cylinder is determined by the output signals of the crankshaft position detecting device 1 and the camshaft position detecting device 2 as described above, the camshaft position detecting device 2 outputs the camshaft position detecting device 2 as shown in FIG. The setting value of the first timer 31 of the timer device 3 of the state where the signal is low is in the " L " state is set to the nucleus value FFH, and the value of the second timer 32 is set to 256-30.

상기 제1타이머(31)는 도 1에 도시된 ②부분과 같이 상기 제1, 제2타이머의 값이 셋팅된 후에 처음으로 크랭크 축 위치 감지장치(1)로부터 입력되는 펄스 신호에 의해 오버플로우 상태가 되어 상기 엔진제어장치(4)로 인터럽트 신호(INT)를 발생한다.The first timer 31 is in an overflow state by a pulse signal input from the crankshaft position sensing device 1 for the first time after the values of the first and second timers are set, as shown in part 2 shown in FIG. To generate the interrupt signal INT to the engine control device 4.

이때, 상기 제2타이머(32)에 셋팅된 356-30값이 제1타이머(31)로 자동적으로 리로드되고, 제2타이머(32)의 값은 256-28값으로 재셋팅된다.At this time, the value 356-30 set in the second timer 32 is automatically reloaded into the first timer 31, and the value of the second timer 32 is reset to 256-28.

동시에, 상기 엔진제어장치(4)는 제1타이머(31)에서 입력되는 인터럽트 신호(INT)로 1번 실린더의 BTDC값이 114°임을 인식하고 TDC 주기 계산, 공기량 계산등의 TDC 태스크를 수행한다.At the same time, the engine controller 4 recognizes that the BTDC value of the first cylinder is 114 ° by the interrupt signal INT input from the first timer 31 and performs a TDC task such as TDC period calculation and air volume calculation. .

그리고 나서, 도 2에 도시된 구간와 같이 상기 크랭크 축 위치 감지장치(1)로부터 30개의 펄스 신호가 입력되면, 도 1에 도시된 ③부분에서 상기 제1타이머(31)는 다시 오버플로우가 발생하여 상기 엔진제어장치(4)로 두 번째 인터럽트 신호(INT)를 발생하고, 상기 제2타이머(32)에 셋팅된 256-28값이 제1타이머(31)로 자동적으로 리로드되고, 제2타이머(32)는 256-30값으로 재셋팅된다.Then, the section shown in FIG. 2 When 30 pulse signals are input from the crankshaft position detecting device 1 as shown in FIG. 1, the first timer 31 overflows again to the engine control device 4 at step 3 shown in FIG. 1. The second interrupt signal INT is generated, and the 256-28 value set in the second timer 32 is automatically reloaded into the first timer 31, and the second timer 32 has a value of 256-30. Reset.

상기 엔진제어장치(4)는 두 번째 언터럽트 신호(INT)를 입력받아 3번 실린더의 BTDC값이 114°임을 인식하고 TDC 주기 계산, 공기량 계산 등의 TDC 태스크를 수행한다.The engine controller 4 receives the second interrupt signal INT, recognizes that the BTDC value of the third cylinder is 114 °, and performs a TDC task such as TDC cycle calculation and air volume calculation.

다음으로, 도 2에 도시된 구간와 같이 상기 크랭크 축 위치 감지장치(1)로 부터 28개의 펄스 신호가 입력되면, 도 1에 도시된 ④부분에서 상기 제1타이머(31)는 다시 오버플로우가 발생하여 상기 엔진제어장치(4)로 세 번째 인터럽트 신호(INT)를 발생하고, 상기 제2타이머(32)에 셋팅된 256-30값이 제1타이머(31)로 자동적으로 리로드되고, 제2타이머(32)는 256-28값으로 재셋팅된다.Next, the section shown in FIG. When 28 pulse signals are input from the crankshaft position detecting device 1 as shown in FIG. 1, the first timer 31 again overflows at the part ④ shown in FIG. Generates a third interrupt signal INT, and the 256-30 value set in the second timer 32 is automatically reloaded into the first timer 31, and the second timer 32 has a 256-28 value. Is reset.

상기 엔진제어장치(4)는 세 번째 인터럽트 신호(INT)를 입력받아 4번 실린더의 BTDC값의 114°임을 인식하고 TDC 주기 계산, 공기량 계산 등의 TDC 태스크를 수행한다.The engine controller 4 receives the third interrupt signal INT and recognizes that it is 114 ° of the BTDC value of the fourth cylinder, and performs a TDC task such as TDC cycle calculation and air volume calculation.

다음으로, 도 2에 도시된 구간와 같이 상기 크랭크 축 위치 감지장치(1)로부터 20개의 펄스 신호가 입력되면, 도 1에 도시된 ⑤부분에서 상기 제1타이머(31)는 다시 오버플로우가 발생하여 상기 엔진제어장치(4)로 네 번째 인터럽트 신호(INT)를 발생하고, 상기 제2타이머(32)에 셋팅된 256-28값이 제1타이머(31)로 자동적으로 리로드되고, 제2타이머(32)는 256-30값으로 재셋팅된다.Next, the section shown in FIG. When 20 pulse signals are input from the crankshaft position detecting device 1 as shown in FIG. 1, the first timer 31 again overflows to the engine control device 4 at part ⑤ shown in FIG. 1. Generates a fourth interrupt signal (INT), the 256-28 value set in the second timer 32 is automatically reloaded into the first timer 31, the second timer 32 to 256-30 value Reset.

상기 엔진제어장치(4)는 네 번째 인터럽트 신호(INT)를 입력받아 2번 실린더의 BTDC값이 114°임을 인식하고 TDC 주기 계산, 공기량 계산 등의 TDC 태스크를 수행한다.The engine controller 4 receives the fourth interrupt signal INT, recognizes that the BTDC value of the second cylinder is 114 °, and performs a TDC task such as TDC cycle calculation and air volume calculation.

상기 과정을 거쳐 도 2에 도시된 ⑥부분과 같이 캠축이 1회전하여 캠 축 위치 감지장치(2)에서 출력되는 신호가 저레벨인"L"상태가 되면 다시 제1타이머(31)의 셋팅 값을 헥사 값 FFH로 셋팅하고, 제2타이머(32)의 값을 256-30으로 셋팅하고 상사점 태스크용 인터럽트 장치는 상기 과정을 반복적으로 수행하게 된다.Through the above process, as shown in ⑥ shown in FIG. 2, when the cam shaft is rotated once and the signal output from the cam shaft position sensing device 2 is in the low level "L" state, the setting value of the first timer 31 is changed again. The hex value FFH is set, the value of the second timer 32 is set to 256-30, and the interrupt device for the top dead center task performs the above process repeatedly.

상기 제1타이머(31)의 용량이 8비트로 한정된 것은 아니다.The capacity of the first timer 31 is not limited to 8 bits.

제어되어야할 실린더의 위치를 정확하게 판단할 수 있으므로 신속하고 정확하게 상사점 태스크를 처리할 수 있으므로 엔진 제어 장치의 신뢰성을 향상시킬 수 있고, 자동차의 주행 상태에 따른 정확한 엔진 제어 동작을 실행할 수 있다.Since the position of the cylinder to be controlled can be accurately determined, the top dead center task can be processed quickly and accurately, thereby improving the reliability of the engine control apparatus and executing the accurate engine control operation according to the driving state of the vehicle.

Claims (4)

크랭크 축의 회전 상태에 따라 출력되는 펄스 신호의 주기가 변화하는 크랭크 축 위치 감지수단과; 캠축의 회전 상태에 따라 출력되는 펄스 신호의 주기가 변화하는 캠축 위치 감지수단과; 상기 크랭크 축 위치 감지수단에서 입력되는 펄스 수를 카운팅하여 인터럽트 신호를 발생하는 타이머 수단과; 상기 크랭크 축 위치 감지수단에서 출력되는 펄스 신호와 캠 축 위치 감지수단에서 출력되는 펄스 신호를 비교 판단하여 크랭크 축의 회전 상태에 따른 실린더의 위치를 판정하고, 상기 타이머 수단으로부터 인터럽트 신호를 입력받아 상사점 태스크 처리를 수행하는 엔진제어수단을 포함하여 이루어지는 상사점 태스크용 인터럽트 장치.Crankshaft position detecting means for changing a period of the output pulse signal in accordance with the rotation state of the crankshaft; Camshaft position detecting means for varying the period of the output pulse signal in accordance with the camshaft rotational state; Timer means for generating an interrupt signal by counting the number of pulses input from said crankshaft position detecting means; Comparing and determining the pulse signal output from the crankshaft position detecting means and the pulse signal output from the camshaft position detecting means to determine the position of the cylinder according to the rotation state of the crankshaft, and receives the interrupt signal from the timer means An interrupt apparatus for a top dead center task comprising an engine control means for performing task processing. 청구항 1에 있어서, 상기 타이머 수단은, 상기 크랭크 축 위치 감지수단에서 출력되는 펄스 수를 카운팅하여 펄스 수가 일정한 수에 도달하면 인터럽트 신호를 발생하는 제1타이머(31)와; 상기 제1타이머(31)가 인터럽트 신호를 발생하면 기존에 세팅된 값을 제1타이머(31)로 리로드하고, 새로운 세팅값으로 재세팅되는 제2타이머(32)를 포함하여 이루어지는 상사점 태스크용 인터럽트 장치.The method according to claim 1, wherein the timer means comprises: a first timer (31) for counting the number of pulses output from the crankshaft position detecting means and generating an interrupt signal when the number of pulses reaches a certain number; When the first timer 31 generates an interrupt signal, the upper dead center task is configured to include a second timer 32 which reloads a previously set value into the first timer 31 and resets it to a new setting value. Interrupt device. 청구항 2에 있어서, 상기 제1타이머(31)는, 8비트 타이머로서 그 이상의 데이터가 입력되면 오버플로우가 발생하여 인터럽트를 발생하는 것을 특징으로 하는 상사점 태스크용 인터럽트 장치.3. The interrupt apparatus as claimed in claim 2, wherein the first timer (31) generates an interrupt when an extra data is input as an 8-bit timer to generate an interrupt. 청구항 1에 있어서, 상기 타이머 수단은, 상기 엔진제어수단의 내부에 내장되어 있는 메모리를 사용하거나 또는 외부로 별도로 장착된 메모리를 사용할 수 있는 것을 특징으로 하는 상사점 태스크용 인터럽트 장치.The interrupting apparatus for a top dead center task as set forth in claim 1, wherein the timer means can use a memory built in the engine control means or a memory mounted separately from the outside.
KR1019960073028A 1996-12-27 1996-12-27 Intrruptting system for top dead center tasking KR100273530B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960073028A KR100273530B1 (en) 1996-12-27 1996-12-27 Intrruptting system for top dead center tasking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960073028A KR100273530B1 (en) 1996-12-27 1996-12-27 Intrruptting system for top dead center tasking

Publications (2)

Publication Number Publication Date
KR19980053899A KR19980053899A (en) 1998-09-25
KR100273530B1 true KR100273530B1 (en) 2000-12-15

Family

ID=19491224

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960073028A KR100273530B1 (en) 1996-12-27 1996-12-27 Intrruptting system for top dead center tasking

Country Status (1)

Country Link
KR (1) KR100273530B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030047065A (en) * 2001-12-07 2003-06-18 현대자동차주식회사 Cam notch for sensing a cylinder and method for the same

Also Published As

Publication number Publication date
KR19980053899A (en) 1998-09-25

Similar Documents

Publication Publication Date Title
US5425340A (en) Process of marking cylinders for control of an electronic injection system of an internal combustion engine
KR970066019A (en) Engine combustion status determination method, engine control method and apparatus
US4873958A (en) Engine ignition timing control system
JP2627152B2 (en) Ignition timing control device
JPS61272470A (en) Ignition timing controlling method for internal-combustion engine
US6907342B1 (en) Method and apparatus for detecting a crank angle in an engine
US5381689A (en) Misfire detecting system for internal combustion engine
US5710703A (en) Method and system for sharing a hardware resource
US4831536A (en) Method of processing controlled variables in engine control system
JPH05163997A (en) Device and mehtod for controlling internal combustion engine
KR100273530B1 (en) Intrruptting system for top dead center tasking
JPH0765556B2 (en) Ignition control device for internal combustion engine
US4498444A (en) Method of controlling engine
EP0967379B1 (en) Engine speed calculating apparatus
KR940000347B1 (en) Internal combustion engine control method
JPH0681917B2 (en) Cylinder discrimination device for internal combustion engine
KR100217094B1 (en) A device to calculate the high position period for monitoring of vehicle miss fire
KR100273552B1 (en) Managing method and system for cylinder position sensor signal
KR100282904B1 (en) Crankshaft position sensing signal processing device and method thereof
EP0235418A1 (en) System and method for maximising the performance of a power producing machine
JPH0758058B2 (en) Cylinder discrimination device for internal combustion engine
SU1021802A1 (en) Apparatus for controlling the starting moment of repeated opeations
JPS593131A (en) Timing control device of internal-combustion engine
KR100705955B1 (en) Method for controlling engin of car
JPS6013982A (en) Ignition timing control device for internal-combustion engine

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060905

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee