Abstract:
A method of detecting the condition of combustion in each cylinder of an internal combustion engine while monitoring a variation in rotation of a crankshaft in the engine for each cylinder, in which the degree of irregular combustion is judged based on the magnitude of the rotational variation, and/or in which the condition of combustion in a succeeding cylinder is judged based on the difference between rotational variations within one combustion period, of adjacent cylinders, and/or in which the rotational ascending rate within one combustion period, of each cylinder is detected to judge the condition of combustion in the cylinder based on the dropping state of the rotational ascending rate, and/or in which the rotational angular acceleration within one combustion period, of each cylinder is detected to thereby judge that a predetermined cylinder is in a condition of irregular combustion when the quantity of the variation in rotational angular acceleration between adjacent cylinders exceeds a predetermined value.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a novel method and apparatus for detecting the condition of combustion in an internal combustion engine and it relates to a crank angle sense to be used in the apparatus. Further, it relates to an internal engine control method and apparatus using the first-mentioned method and apparatus. 
     In a conventional apparatus, as described in Japanese Patent Unexamined Publication No. Sho-58-51243, the revolution speed of an internal combustion engine is detected at least two points within one ignition cycle from a preceding ignition point of time to a succeeding ignition point of time, the value of variation in the revolution speed within that one ignition cycle is calculated based on the difference in revolution speed between the two points, and the value of variation in the revolution speed calculated successively is subject to statistically operational processing to thereby judge the condition of combustion in the internal combustion engine. 
     The aforementioned conventional technique has no consideration for judgment of of the degree of the combustion condition. There arises a problem in that no judgment can be made except the judgment as to whether the condition of combustion is normal or not. 
     Further, the aforementioned conventional technique has no consideration for disadvantages caused by the statistically operational processing. There arises a problem in that accuracy in detection is poor and in that the processing speed is too low to detect the condition of combustion in a timely manner. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide a method and apparatus which can grasp the condition of combustion finely. 
     Another object of the present invention is to provide a method and apparatus which can control an internal combustion engine finely by use of the aforementioned method and apparatus. 
     A further object of the present invention is to provide the combustion condition detecting method and apparatus of such a type as described above which are excellent both in detecting accuracy and in processing speed. 
     A still further object of the present invention is to provide a method and apparatus in which an internal combustion engine can be controlled with high accuracy in accordance with the condition of combustion by us of the aforementioned combustion condition detecting method and apparatus. 
     Another object of the present invention is to provide a crank angle sensor for use in performing the aforementioned control. 
     To attain the foregoing objects, according to the present invention, an output signal corresponding to the magnitude of the quantity of variation in rotation is generated. 
     Further, both the timing of ignition and the condition of fuel injection in the internal combustion engine are controlled in accordance with the degree of the quantity of variation in rotation. 
     Further, to attain the aforementioned objects, rotational angular acceleration within one combustion period is detected to judge that a predetermined cylinder is in an irregular combustion condition when the quantity of variation in rotational angular acceleration between adjacent cylinders is over a predetermined value. 
     Further, in response to a sudden variation in rotational angular acceleration in any cylinder, both the timing of ignition and the condition of fuel supply in the cylinder can be controlled. 
     Further, to attain the aforementioned objects, a crank angle sensor is provided to generate section pulses at intervals of an angle obtained by dividing an angle of 720 degrees by the number of cylinders to thereby detect rotational angular speeds equal to two crank angular widths. 
     According to the present invention having such a configuration as described above, an output signal is generated in accordance with the degree of irregular combustion. Accordingly, the degree of irregular combustion can be detected, so that the condition of combustion can be judged finely. 
     Further, both the timing of ignition and the condition of fuel supply in each cylinder can be controlled based on the above-mentioned output signal, so that the engine can be controlled finely. Accordingly, an optimum operation of the engine can be made. 
     With another configuration according to the present invention, the condition of combustion within one combustion period can be judged easily by comparison with the preceding condition of combustion, so that there is no delay in detection. Further, the condition of combustion can be detected with high accuracy because it is detected on the basis of the quantity of variation in rotational angular acceleration. 
     Further, the operating condition of the engine can be controlled accurately with no delay because both the timing of ignition and the condition of fuel supply in the engine can be controlled based on the abovementioned output signal. 
     In addition, the crank angle sensor can generate pulses at intervals of two equal angles within one combustion period, so that rotational angular speeds at two points can be obtained by counting up the pulses through a counter. Consequently, rotational angular acceleration can be obtained by calculating the difference between the rotational angular speeds or by dividing the difference by the period of one combustion cycle. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a waveform diagram for explaining the variation in engine revolution speed and the revolution speed detecting sections for each cylinder according to the present invention; 
     FIG. 2 is a characteristic diagram for explaining an embodiment of the present invention; 
     FIG. 3 is a schematic view showing a fuel injection system in an internal combustion engine in which the present invention is applied; 
     FIG. 4 is a flow chart of control processing according to the present invention; 
     FIG. 5 is a diagram for explaining a method of directly observing engine acceleration according to the present invention; 
     FIGS. 6 and 7 are waveform diagrams for explaining the operation for measuring acceleration as an embodiment of the present invention; 
     FIG. 8 is a flow chart for explaining the operation of ignition timing control according to the present invention; 
     FIG. 9 is a block diagram generally showing the configuration of an embodiment of the internal combustion engine control apparatus according to the present invention. 
     FIG. 10 is a block diagram showing the functions of the embodiment. 
     FIG. 11 is a block diagram showing an example of the revolution speed measuring section pulse generating portion; 
     FIG. 12 is a flow chart of a process for detecting the condition of combustion and controlling the internal combustion engine based on the detection; 
     FIG. 13 is a diagram for explaining a method for calculating α and Δα; 
     FIG. 14 is a diagram for explaining a method for calculating acceleration Δα; 
     FIG. 15 is a diagram for explaining a condition of the crank angle sensor according to the present invention; 
     FIGS. 16A and 16B are diagrams for explaining output processing of the crank angle sensor according to the present invention; 
     FIGS. 17A and 17B are views showing embodiments of the crank angle sensor according to the present invention, in which a combination of a slit plate and photo-interrupters are used; 
     FIGS. 18A and 18B are views showing other embodiments of the crank angle sensor according to the present invention, in which a combination of a ring gear and electromagnetic pickups are used; and 
     FIGS. 19A and 19B are block diagrams for explaining the signal processing portion as embodiments of the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     A fuel injection system in an internal combustion engine in which the present invention is applied will be described with reference to FIG. 3. Air is admitted into an inlet 2 of an air cleaner 1, passed successively through a hot-wire air flowmeter 3 for detecting the quantity of air intake, a duct 4 and a throttle body 5 having a throttle valve for controlling the air flow rate, and led into a collector 6. Then, the air is distributed into each suction pipe 8 directly communicating with an internal combustion engine 7 and sucked into a corresponding cylinder. 
     On the other hand, fuel is sucked and pressurized by a fuel pump 10 so that the fuel is supplied from a fuel tank 9 into a fuel system to which a fuel damper 11, a fuel filter 12, an injection valve 13 and a fuel pressure regulator 14 are connected through piping. The fuel is regulated by the regulator 14 and injected into the suction pipe 8 through the injection valve 13 provided in the suction pipe 8. An intake air quantity detection signal is generated from the air flowmeter 3 and fed into a control unit 15. A crank angle sensor is incorporated in a distributor 16 so as to generate a reference signal for indicating the timing of injection, a reference signal for indicating the timing of ignition, and a signal for detecting the revolution speed, those signals being fed into the control unit 15. The control unit 15 is constituted by an operation processor including an MPU, an ROM, an A/D converter and an input/output circuit. The control unit 15 performs predetermined operation processing based on the output signal of the air flowmeter 3, the output signal of the distributor 16 and the like so as to make the injection valve 13 operate on the basis of the output signal of the control unit 15 which is a result of the operation processing so that the injection valve 13 injects a necessary quantity of fuel into each suction pipe 8. Further, the timing of ignition is controlled by a control signal fed from the control unit 15 to a power transistor of an ignition coil 17. 
     An embodiment of the present invention will be described below with reference to FIG. 1. The revolution speed of the engine varies for example in such a manner as shown in the drawing. This is because acceleration is given by an explosion stroke and deceleration is given by the other stokes. In the past, a value of instantaneous speed obtained by measuring a section time at N top  in the vicinity of a point where the revolution speed takes its maximum is compared with a preceding value of the same to calculate the difference ΔN therebetween. However, a condition change caused by irregular combustion appears directly as a variation in rotational torque. Accordingly, the condition change can be judged correctly on the basis of the change of acceleration rather than on the basis of the speed change ΔN. 
     Acceleration is obtained as follows. Instantaneous speeds are measured at two points before and after a point where rotational acceleration in the engine takes its maximum within an explosion stroke. Let the values thus obtained be N bot  and N top . Let the difference between N top  and N bot  be α. The value α is regarded as acceleration. Further, the difference between the value α and the value α in the preceding cylinder is calculated as Δα. 
     Extremely irregular combustion can be discriminated securely by the judgment based on ΔN. If the system is made so that even slightly irregular combustion is similarly can be judged, however, a problem arises in that lowering of the total level caused by an external load is regarded as irregular combustion (FIG. 2). To make the judgment based on ΔN exactly, an average value of the revolution speed must be always calculated to change a judgment value corresponding to the calculated value. 
     Also in the judgment based on α, the judgment value must be changed because the total level is lowered when an external load is given. 
     In the judgment based on Δα, irregular combustion can be judged with no influence of the outside as shown in FIG. 2. This is because acceleration in the explosion stoke depends on the condition of combustion though the revolution speed is lowered by the external load. An effect of averaging can be attained by calculating Δα as a difference from in the preceding cylinder, though the total level is lowered in the judgment based on α. In short, only the condition of irregular combustion can be securely discriminated by the judgmentment based on Δα. 
     According to a method of calculating Δα (Refer to FIG. 1), the detection value jumps up to the plus side just after the lowering of the detection value caused by irregular combustion. A more accurate judgment can be made by using this phenomenon. 
     A flow chart is shown in FIG. 4. Values of the revolution speed N bot  and N top  are measured before and after an explosion stroke where acceleration takes its maximum, based on signals given from the crank angle sensor (included in the distributor 16 in FIG. 3). The following values are calculated. ##EQU1## The value of Δα is compared with a comparative value C to thereby judge what kind of control should be made. (C may represent a plurality of different comparative values.) This judgment is made by the control unit 15 (FIG. 3). Alternatively, a signal may be directly fed to an actuator so that the judgment is made by the actuator. Ignition timing control is now considered as an example of control process A-C. When this method is used for such ignition timing control, the timing of ignition is hastened in the control A because combustion is regarded as irregular. In the control B, the timing of ignition is delayed. In the control C, nothing is made. 
     As described above, irregular combustion can be detected by this detecting method. Further, not only it can be detected but the cylinder in which irregular combustion has occurred can be judged. FIG. 2 shows an example of a 4-cylindered engine in which a symbol &#34;#&#34; represents the cylinder number. In this case, the fact that irregular combustion has occurred in the cylinder #2 is judged from the TDC signal of the crank angle sensor. In short, the slit size of the TDC signal of the crank angle sensor is changed to specify the cylinder number. 
     A method of directly observing engine acceleration is shown in FIG. 5. 
     An acceleration pickup is attached to the engine so that roll-direction acceleration can be measured. FIG. 5 shows the result of observation of the value of acceleration. In the case of normal combustion, the top is high and sharp. In the case of irregular combustion, the top is low and round. By use of this phenomena, irregular combustion can be judged by measuring the sharpness of the top. According to this method, a variation of engine torque can be directly observed as a variation of acceleration with no calculation of Δα or the like. In short, this method is most accurate. 
     The condition of combustion can be judged almost perfectly by using the ΔN method, the Δα method and the acceleration metering method in combination. 
     As described above, a signal from the crank angle sensor is used in the Δα method. In most cases, however, the crank angle sensor is mounted on a cam shaft, so that an exact crank angle cannot be known because of an error caused by backlash of a gear or the like. Therefore, an electromagnetic pickup is attached to a ring gear of a flywheel being in contact with a crankshaft. An exact crank angle can be found by generating a signal through the pickup. Accordingly, a signal low in error can be obtained so that the value of acceleration and the value of difference of acceleration α can be obtained more exactly. 
     Examples of points for measurement of N bot  and N top  are shown in FIGS. 6 and 7. According to experiments, it is found that there is no misjudgment when the condition of combustion is judged after measuring two values of revolution speed N bot  and N top  at each width of 20° with the angle of 55° as a center after TDC, and calculating the acceleration α and the acceleration difference Δα from the values. Although FIGS. 6 and 7 show the case where the speed measurement width is set to 20°, this width has been not discussed yet. 
     An example in which the present invention is used for ignition timing control in an internal combustion engine is described with reference to FIGS. 2 and 8. 
     In this invention, the condition of combustion in each cylinder of the internal combustion engine is always detected. A judgment for each cylinder is made based on acceleration α in an explosion stroke. Accordingly, the acceleration difference Δα can be used as a standard for judgment of the condition of combustion. 
     In the Δα detection value at the points a and b in FIG. 2, the value of Δα moves greatly to the minus side when irregular combustion occurs. Just after this, the value moves greatly to the plus side. At the points c and d, the engine speed is to return. Accordingly, the value of Δα exhibits 0 at the point though it moves to the plus side at the point c. 
     As described above, when irregular combustion occurs in a certain cylinder, the Δα detection value in the next cylinder always moves greatly. 
     This can be explained as follows, with reference to a flow chart of FIG. 8. With respect to the value of rotational Δα, reference is to be made to FIG. 2. 
     First, the value of Δα in the #2 cylinder is detected. Because this has a negative value, the value of Δα in the preceding cylinder is examined. Because the condition of the #4 cylinder is normal, the value of Δα is zero. With no control, the value of Δα in the next, #1 cylinder is detected. This is a positive value. Therefore, controlling is made to weaken the combustion in the just before, #2 cylinder according to the flow chart. 
     A variety of control processes as shown in Table 1 is considered as this control. 
     
                       TABLE 1______________________________________Δα in just   Δα in cylinder                             Quantity ofpreceding   under         Ignition    fuelcylinder   detection     timing      injection______________________________________+       +             Not change. Not change.-       +             Advance angle.                             Increase.+       -             Lag angle.  Decrease.-       -             Not change. Not change.______________________________________ 
    
     In this embodiment, the condition of combustion is classified by the width of variation in revolution speed as shown in Table 2. 
     
                       TABLE 2______________________________________Width of   -10 rpm    Variation in ordinaryvariation             operating condition (Normalin revolu-            combustion).tion speed     10-20 rpm   Variation in revolution                 speed due to slightly                 irregular combustion.     20-40 rpm   Variation in revolution                 speed due to middle                 irregular combustion.     40-  rpm    Variation in revolution                 speed due to middle                 irregular combustion.______________________________________ 
    
     The value of advance angle, the value of lag angle and the increasing/decreasing rate of fuel are changed in accordance with the degree of variation of the revolution speed. 
     FIG. 9 shows the configuration of an embodiment of the internal combustion engine control apparatus according to the present invention. 
     The configuration of the conventional engine control apparatus is sufficient as that of this engine control apparatus according to the present invention with no additional constituent components. In short, cost saving can be attained. 
     FIG. 10 shows a block diagram showing the functions of the embodiment. 
     In this embodiment, changes in the condition of combustion is judged from changes in rotational angular acceleration in the engine crankshaft. It is therefore necessary to measure acceleration in an explosion stroke in which the change of the condition of combustion is best shown. 
     First, a pulse signal showing an explosion stroke is generated in the revolution speed measurement section pulse generating portion. 
     Examples of a method used herein are a method of synthesizing a pulse signal from an R ef  signal and a P os  signal as shown in FIG. 11, a method of preparing slits in the crank angle sensor as will be described later, and the like. 
     Then, the section time of the pulse signal thus generated is measured by a pulse width measuring portion. A method using a counter included in the c/u, a method using an outside counter, and the like, are considered as a method used herein. 
     In the arithmetic operation portion, the measured time is converted into revolution speed to thereby calculate an acceleration and an acceleration difference. 
     Control is made based on the values thus obtained. 
     FIG. 12 is a flow chart showing an embodiment of the combustion condition detecting method according to the present invention. 
     Irregular combustion is judged by use of the values obtained in FIG. 4. 
     Assuming now that the value of Δα in a cylinder in irregular combustion is more than a judgment value and that combustion in a next cylinder is normal, then the sign of the value in the next cylinder is inverted to that in the abnormal cylinder. Therefore, when Δα is more than an abnormality judgment value, Δα in the just preceding cylinder is examined. If the value in the current cylinder is reverse in sign and more than the judgment value, it can be found that irregular combustion has occurred in the just preceding cylinder. 
     Therefore, the timing of ignition is changed to make the combustion in the just preceding cylinder normal. If control based on the timing of ignition is difficult, the quantity of fuel injection is changed. 
     A method of calculating acceleration α&#39; is as follows. Values of the instantaneous speed are measured at two positions before and after a certain crank angle at which rotational acceleration is maximized within an explosion stroke of the engine. Let N bot .sup.(n) be a value obtained at a point before the crank angle. Let N top .sup.(n) be a value obtained at a point after the crank angle. Let the difference between N top .sup.(n) and N bot .sup.(n) be acceleration α(n). The value o obtained by this method represents pseudo-acceleration which is different from acceleration in its original sense as a value obtained by differentiating a velocity with respect to time. However, there is little time difference between the speed measurement sections in an engine condition (for example, idling) in which the engine revolution speed is stable. Accordingly, it can be considered with no problem that there is no influence on the value of acceleration. In short, it can be said that this method is effective when the engine revolution speed is constant. 
     However, when the engine revolution speed changes widely (for example, at the time of acceleration/deceleration in a car), the time difference between the speed measurement sections becomes large. Therefore, consideration of the term of time in the definition of acceleration is required. 
     Therefore, acceleration is calculated by a method as shown in FIG. 13. 
     First, the difference α between and N top .sup.(n) and N bot .sup.(n) is calculated. At the same time, the time t(n) between the speed measurement sections is measured. Then, α(n) as acceleration in its original sense is calculated by dividing α by t(n). By use of the value α&#39;(n), acceleration in an explosion stroke can be exactly obtained with no influence of the term of time caused by the change of the revolution speed. 
     A method of measuring the time t between the speed measurement sections is shown in FIG. 14. The values N bot .sup.(n) and N top .sup.(n) of the revolution speed represent average speed values in speed measurement sections. When α&#39;(n) is obtained from the two speed values, it is necessary to divide dN by dt. Although it is preferable that the time t 1  obtained by measuring the difference between the respective centers of the sections in which N bot .sup.(n) and N top .sup.(n) are respectively measured is used as dt, it is a matter of course that the value to be used as dt is not limited to the time t 1 . In practice, t 1  &#39; obtained by measuring the difference between the start point of one speed measurement section and the start point of the other speed measurement section or t 1  &#34; obtained by measuring the difference between the end point of one speed measurement section and the end point of the other speed measurement section may be used as dt. There is no trouble in the case of using the value such as t 1  &#39; and t 1  &#34;, because the speed measurement sections are extremely small. 
     In the following, the crank angle sensor as an embodiment of the present invention is described with reference to FIGS. 14 through 19. 
     The outline of the present invention is now described with reference to FIG. 15. In an internal combustion engine, particularly, in a 4-cycle engine, strokes of air intake, compression, combustion and exhaust are repeated in each cylinder. As the whole of the engine, combustion occurs at intervals of an angle (180° in the case of 4-cylindered engine) obtained by dividing the crank angle 720° by the number of cylinders. However, the rotational angular speed produced in the crankshaft changes as shown in the drawing because of the change of pressure. Further, rotational angular acceleration changes as shown in the lower side of the drawing. The peak of rotational angular acceleration is in a position where the rotational angular speed takes a middle value between a minimum and a maximum. A method of detecting rotational angular acceleration has been discussed based on the fact that the condition of combustion in each cylinder can be detected by detecting rotational angular acceleration in each cylinder. As a result of the discussion, it has been found that the rotational angular speed can be well detected and that the condition of combustion in each cylinder can be grasped by a method of the steps of: calculating values of angular speed at two points opposite to each other with respect to the peak of rotational angular acceleration; and calculating the difference between the two values of angular speed and, if necessary, dividing the value of angular speed difference by the time between the two points. 
     In this embodiment, a crank angle sensor for generating section pulses as shown in FIG. 15 as a third output signal independent of the conventional one-degree reading angle signal P os  and the cylinder identification signal R ef  generated for each cylinder is provided for the purpose of generating a crank angle signal for detecting values of the angular speed at two points to thereby grasp the condition of combustion in each cylinder. In FIG. 15, the angular speed detection point is represented by a section signal. The angular speed can be obtained by measuring the pulse width of the section signal. However, the following two cases are considered from the limitation of the apparatus-side processing circuits. In one case, the section signal pulses are separated into two signals, namely, an upper signal (U per  corresponding to the section having a high angular speed, and a lower signal (L ower  corresponding to the Section having a low angular speed, and then the two signals are put on independent signal lines, respectively. In the other case, the two kinds of section signal pulses are put on one signal line. The section pulses of both the lower and upper signals, U per  and L ower  must have the same crank angle width. Various errors show a tendency to decrease as the pulse width increases. Accordingly, in the case where the sensor is provided in the place where large errors may arise, it is necessary to increase the pulse width to a crank angle of about 20 degrees. 
     FIGS. 16A and 16B show examples of the apparatus by which the section signal generated from the sensor is processed. 
     In the case where the section signals are put on one signal line, as shown in FIG. 16A, two processing methods can be used. One is a method in which a measured value is stored in a memory whenever a section pulse is supplied to a pulse width measurement timer module. The other is a method in which two section pulses are separated through a detection circuit and then put on the pulse width measurement timer module through independent ports. 
     The section signal separation type processing circuit as shown in FIG. 16B is simple in configuration because two section pulses are directly put on the pulse width measurement timer module through independent ports. 
     Because the peak position of angular acceleration is put on an ATDC range from 50 degrees to 60 degrees, the output positions of the section pulses are determined so that the peak position of angular acceleration is put between the lower section pulse L ower  and the upper section pulse U per . In short, the lower section pulse L ower  is put on an ATDC range from 30 degrees to 50 degrees and, on the other hand, the upper section pulse U per  is put on an ATDC range of from 60 degrees to 80 degrees. In general, sensitivity is improved as the L ower  side and the U per  side approach each other. The upper limit of separation between the L ower  side and the U per  side is in the case where the L ower  Side and the U per  side are respectively in an ATDC range from 10 degrees to 30 degrees and in an ATDC range from 80 degrees to 100 degrees. These are a position of the L ower  side where the angular speed is minimized and a position of the U per  side where the angular speed is maximized. 
     In the following, a crank angle signal generating mechanism is described in detail with reference to FIGS. 17A, 17B, 18A, 18B, 19A and 19B. 
     Referring now to FIGS. 17A and 17B, slits 33 corresponding to section pulses are provided in a disk 31 which makes one turn at an angle of 720 degrees in synchronism with the crankshaft. Section pulse signals are generated when the sections of the slits are detected by means of a photo-interrupter 32. The operation of the photo-interrupter is as follows. When a detection portion of the photo-interrupter 32 is intercepted by the disk, the output of the photointerrupter 32 is turned off. When the detection portion is in a slit portion of the disk, the output of the photo-interrupter 32 is turned on. In this case, in order to put the section signals on one signal line as shown in FIG. 17A, the positions of slits for generating two section pulses must be provided concentrically on one disk, independent of angle measurement slits arranged at equal angular sections and cylinder identification slits arranged at sections of an angle obtained by dividing the crank angle of 720 degrees by the number of cylinders. 
     In the case where the section signals are separated from each other as shown in FIG. 17B, the pulse generation slits are provided doubly concentrically on one disk, so that it is necessary to provide 4 pairs of photo-interrupters in the section generation side. 
     In this case, accuracy in processing the slits and backlash produced by rotation of the disk connected to the crankshaft through a gear or a chain are considered as two main causes of errors in section measurement. Accordingly, in order to reduce error, the section pulse width must be enlarged to about 20 degrees. 
     In the following, another example of the crank angle signal generating mechanism is described with reference to FIGS. 18A and 18B. Projections 35 corresponding to the section pulses are provided in a magnetic ring gear 34 which rotates in synchronism with the crankshaft. The sections of the projections are detected by electromagnetic pickups 37 fixed to the engine side, so that a pulse signal is generated from the respective electromagnetic pickup 37. The operation of the respective electromagnetic pickup is as follows. When one of the magnetic projections approaches a detection portion of the electromagnetic pickup, the output of the pickup is turned on. When one of the magnetic projections is separated from the detection portion of the electromagnetic pickup, the output of the pickup is turned off. In this case, in order to put the section signals on one signal line as shown in FIG. 18A, the mount position of a magnetic toothed wheel 5 for generating two section pulses must be provided in parallel, independent of an angle signal generating toothed wheel having teeth arranged at equal angular sections and a cylinder identification toothed wheel having teeth arranged at sections of an angle obtained by dividing the crank angle of 720 degrees by the number of cylinders. 
     In the case where the section signals are separated from each other as shown in FIG. 18B, two toothed wheels are provided because the U per  side section and the L ower  side section must be detected separately by pickups. 
     In the case where the magnetic projections are detected by the electromagnetic pickups, the leading and trailing of the pulse waveform become dull. Accordingly, it is necessary to provide wave-shaping circuits 38 for respectively shaping up signals picked up. 
     When such a ring toothed wheel is provided on the crankshaft, main causes of errors, such as backlash and the like, are eliminated. Accordingly, accuracy can be improved though the section pulse width is relatively small. 
     FIGS. 19A and 19B show further examples of the mechanism in which section pulse signals are generated by signal processing based on the conventional angle measurement signal P os  and cylinder identification signal R ef . The operation of the mechanism is as follows. The R ef  signal generated at sections of an angle obtained by dividing the crank angle of 720 degrees by the number of cylinders is delivered to trigger input terminals of four counters 39. The P os  signal generated at sections of an angle of about 2 degrees is delivered to clock input terminals of the counters. The counters are arranged so that pulses are generated from the counters when a predetermined angle is given. In this case, in order to generate two section pulses, it is necessary that positions in which the four counters generate signals independently can be designated. In this embodiment, the counters are constituted by four presettable counters. The four output signals of the counters are processed as follows. In the case where the section signals are put on one signal line as shown in FIG. 19A signals coming to the leading position of a section pulse are supplied to a two-input OR gate 10a connected to a set input terminal of a flip-flop (bistable) circuit 11. Signals coming to the trailing position of a section pulse are supplied to a two-input OR rate 10b connected to a reset input terminal of the flip-flop circuit 11. 
     In the case where the section signal is separated as shown in FIG. 19B, the circuit is configured so that the output signals of the counters are separately supplied to set input terminals and reset input terminals of two flip-flop circuits respectively. Although the aforementioned logic circuit may be provided in the control unit side, it is preferable that the circuit is provided in the crank angle sensor side because the length of the signal line ca be reduced to prevent operation errors from occurring.