BACKGROUND OF THE INVENTION
Field of the Invention
-
The present invention relates to a system and method for detecting drowsy driving of a vehicle on the basis of steering behavior and notifying the drowsy driver of same in order to improve driving safety.
Description of the Prior Art
-
Various drowsiness alarm systems have conventionally been proposed to prevent the vehicle driver from getting drowsy while driving. Japanese Utility Model Registration Publication No. Sho 58-23713 discloses such a drowsiness alarm system. The theory of operation on the alarm system disclosed in the above-identified document will be described below.
-
Since the vehicle driver generally tends to lose concentration with regard to steering when he gets drowsy (that is, the degree of alertness is reduced), so that extended periods without steeringcorrection will occur intermittently. After such no steering operations, the driver will become awake and try to abruptly correct the steering. As a result, there is a tendency for the steering rate through a given angle of steering to greater, i.e. more abrupt, than during normal, alert driving.
-
On the basis of the above-described phenomenon, the drowsiness alarm system disclosed in the above-identified document recognizes that the driver is getting drowsy when a period without steering adjustments continues for a predetermined period of time and is followed by a steering operation in which the steering speed over a given angular extent exceeds a predetermined speed.
-
The conventional drowsiness alarm system produces an alarm upon detection of drowsy driving on the basis of steering behavior indicative of the driver waking up. Thus, the alarm is produced after the driver has awakened so as to reliably prevent subsequent drowsy driving.
-
On the other hand, further experiments have indicated that judging from repeated measurement of the magnitude and angular speed of a unidirectional steering adjustment performed after a period without steering adjustments the possibility that the driver is losing alertness is high even though a high steering speed is evident only over a smaller range of unidirectional steering correction and the distinction between alertness and drowsiness is possible even in cases where the unidirectional steering correction is large but the steering speed is relatively slow.
SUMMARY OF THE INVENTION
-
With the above-described experimental results in mind, it is a primary object of the invention to provide a system and method for detecting and warning of drowsy driving of a vehicle, which can detect the driver drowsiness promptly and accurately.
-
To achieve the above-described object, the system for detecting and warning of drowsy driving of a vehicle with reference to Fig. 1 comprises: first means for detecting rotation of a steering wheel of the vehicle through unit angle and detecting the- direction of, rotation thereof; second means for detecting the angular rate at which the steering wheel is rotated on the basis of output signals from the first means; third means for detecting the angular extent through which the steering wheel is rotated in a given direction on the basis of the output signals from said first means; fourth means for detecting periods during which no steering wheel rotation occurs for at least a predetermined length of time on the basis of the output signals from the first means; fifth means for setting reference values of the angular rate and extent of steering wheel rotation in a given direction after a period of no steering wheel rotation detected by the fourth means; and sixth means for producing an alarm when both the angular rate and extent . of steering wheel rotation detected by the second and third means, after the fourth means detects the occurrence of a period of no steering wheel rotation, exceed the respective reference values.
BRIEF DESCRIPTION OF THE DRAWINGS
-
A more complete understanding of the present invention may be obtained from the foregoing description and attached drawings in which like reference numerals designate corresponding elements, in which:
- Fig. 1 is a simplified functional block diagram of the system for detecting and warning of drowsy driving of a vehicle according to the present invention;
- Fig. 2 is a diagram of the hardware of the embodiment shown in Fig. 1;
- Figs. 3 (A) and 3(B) are diagrams of the function of the components shown in Fig. 2;
- Figs. 4, 5(a), and 5(b) are flowcharts for use in a first preferred embodiment according to the present invention;
- Fig. 6 is a diagram of the theory of detection of drowsy driving employed in the present invention;
- Fig. 7 is a graph representing'how reference values for detecting drowsy driving in the first preferred embodiment are set;
- Figs. 8, 9 (a), 9(b), 9(c), and 9 (d) are operational flowcharts for use in a second preferred embodiment according to the present invention;
- Fig. 10 is a graph representing how reference values for detecting drowsy driving in the second preferred embodiment are set;
- Figs. 11 and 12(a) through 12(d) are respective operational flowcharts of a third preferred embodiment according to the present invention.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
-
Reference will be made to the drawings in order to facilitate understanding of the present invention.
-
Fig. 2 shows the structure of a first preferred embodiment of a system for detecting and warning of drowsy driving.
-
Numeral 1 denotes a steering angle sensor. The structure of the steering angle sensor is disclosed in U.S. Patent applications Serial Nos. 580,174, 580,175, 580,177, and 580,178 filed on 15th February, 1984. U.S. Patent applications Serial No. 580,174 corresponds to EPC Patent application filing No. 8410645.4, Serial No. 580,175 to filing No. 8410668.6, Serial No. 580,177 to filing No. 84101646.2, Serial No. 580,178 to filing No. 8410667.8, these EPC applications being filed on February 17, 1984. The contents of these documents are hereby incorporated by reference. Numeral 5 denotes means for recognizing drowsy driving from output signals of the steering angle sensor 1 by way of a processing flowchart, to be described later, and actuating alarm means 7 upon recognition of drowsy driving. The detecting means 5 comprises a microcomputer having a CPU 9, ROM 11, RAM 13, and I/O port 15.
-
The steering angle sensor 1, as shown in Fig. 2 includes: (a) a disk 18 which rotates with the angular movement of a steering wheel (not shown) and is provided with a plurality of slits 14' arranged radially symmetrically around its periphery, each slit 14' having a width As-a; (b) a photo-interrupter module 19 having a pair of photo interrupters 19-1 and 19-2 opposite the disk 18 and producing two rectangular-wave electrical signals to be described later as the disk 18 rotates and passes the photo interrupter module 19. The pair of photo interrupters 19-1 and 19-2 are arranged to be separated by n x 9s + 5θs/2 (n = 0, 1, ...) so that the photo interrupters can resolve a minimum displacement of 9s/2. Output signals of the photo interrupter modules 19 have respective fixed phase difference of es/2, as appreciated from Fig. 3(B). The combination of the. levels of the output signals provides the basis for determining the rotational direction of the steering wheel, as will be described later. It should be noted that in Fig. 3(A) reference symbol Z denotes the boundary between the presence or absence of the output signals of the photo interrupter module 19 and θs denotes a predetermined angular unit of steering adjustment.
-
The operation of the first preferred embodiment will be described below as controlled by processing flow of the CPU 9 shown in Fig. 4 and Fig. 5. First, however, the theory of detection for the drowsy driving in the first preferred embodiment will be described.
-
In general, as shown in Fig. 6, when the degree of alertness of the driver is excessively low, the driver may tend to correct his steering confusedly upon returning to full consciousness after a period of no steering adjustments. In such cases, steering pulses as shown in Fig. 6 will reflect the history of steering adjustments.
-
That is, the history of steering wheel movement in the above-described case can roughly be divided into three regimes: (a) a no-steering adjustment period; (b) a continuously unidirectional steering adjustment after the no-steering adjustment period (first steering operation); and (c) a continuously unidirectional steering adjustment in the direction opposite that of the first steering operation (second steering operation).
-
In this embodiment, detection of drowsy driving is based on the above-described first steering operation. In this detection method, a reference steering speed is selected according to the total angular steering change of the above-described first steering operation, and drowsy driving is recognized on the basis of the results of comparison between the average steering speed over the first steering operation and the reference steering speed.
-
Execution of this method can be roughly divided into the processing steps shown in Fig. 4.
-
The CPU 9 executes seven consecutive steps 50, 52, 54, 56, 58, 60, and 62. The purpose of step 50 is to determine whether a prerequisite for detecting drowsy driving is satisfied. The purpose of step 52 is to measure the duration of no-steering adjustment period. The purpose of step 54 is to determine whether a predetermined no-steering condition is satisfied. The purpose of step 56 is to record the number and timing of pulses received from the steering angle sensor 1 after a recognized no-steering adjustment period. The purpose of step 58 is to determine whether the number of received pulses satisfies a preset condition. The purpose of step 60 is to determine whether the average angular steering adjustment speed over the first steering operation calculated on the basis of the inter-pulse intervals satisfies preset conditions. The purpose of step 62 is to actuate an alarm when the conditions in step 60 are satisfied.
-
The detailed processing carries out in the first preferred embodiment will be described with reference to Figs. 5(a) and 5(b).
-
In a first step 100, the CPU 9 determines whether a condition prerequisite to starting detection of drowsy driving is satisfied. The prerequisite condition may be, for example, whether the vehicle speed exceeds a predetermined speed (e.g., 70 km/h). If the prerequisite condition is satisfied in the step 100, the routine goes to the next step 110 to start monitoring for drowsy driving. In the step 110, a timer A starts to measure the duration for which no adjustments of the steering wheel are made. In step 120, the elapsed time Ta measured by timer A is compared with a predetermined period of time Ao (for example, three seconds) so as to determine whether a no-steering adjustment period has occurred. If a steering pulse from the steering angle sensor 1 is received within the predetermined period of time Ao in the step 130, the timer A is cleared in step 140 and the routine returns to the step 110.
-
If Ta > Ao in the step 120, the routine goes to step 150 to wait for subsequent steering pulses. When the first steering pulse after the no-steering adjustment period is received in the step 150, its polarity is stored in a register PFN in step 160 and timer B is actuated in step 170. In step 180, the CPU 9 waits for the next steering pulse. When the next steering pulse (second pulse) is received in the step 180, the direction of the second pulse is stored in register PFN+1· Thereafter, the CPU 9 determines in step 200 whether the directions indicated by the contents of the registers PFN and PFN+1 are the same. If (PFN) = (PFN+1) in the step 200, the routine goes to step 210. If (PFN) ≠ (PFN+1) in the step 200, the routine goes to step 211. When Tb < Ao in the step 211, i.e., when the interval of time between the first steering pulse and second steering pulse measured by means of timer B is shorter than the above- . described predetermined period of time Ao, the CPU 9 determines that the drowsy driving is not occurring, clears all timers in step 212, sets the contents of a pulse count register N for storing the number of steering pulses in the first steering operation to "1" (steps 212, 213), and the routine returns to the step 110 to restart the detection of drowsy driving. In addition, if Tb > Ao in step 211, the timer B is cleared in step 214, the pulse count register N is set to "1" in step 215, and the routine goes to step 150 in order to detect the drowsy driving starting after this newly-detected no-steering operation period since the second pulse received in the step 180 is not derived from the same episode of drowsy driving, if any, as the steering pulse determined in the step 180.
-
On the other hand, if the first and second pulses are in the same direction in the step 200, the routine goes to the step 210 wherein the measured time Tb of the timer B is compared with the above-described predetermined period of time Ao. If Tb < Ao in the step 210, the routine goes to step 240; in this case, there is a possibility that the first and second pulses may be derived from steering operations subsequent to no-steering operation period due to the drowsy driving. If Tb ≧ Ao in the step 210, the CPU 9 recognizes that another no-steering operation period is occurring and that the second pulse received in the step 180 is not due to drowsy driving and the routine goes to steps 220 and 230 wherein the timer B is cleared and the pulse count register S is set to "1" and then control returns to step 150.
-
In the step 240, the contents of pulse count register N is incremented (N=N+l) in step 250 and the input interval of time tl(N) between the first pulse and second pulse received in the steps 150 and 180 respectively is stored in a steering speed register TS1 in step 260.
-
A "drowsy driver" alarm is to be produced when the combination of the value of the pulse count register N and the accumulated time (Σt1(N)) falls into the oblique region shown in Fig. 7, as determined in steps 270 through 350. That is to say, as the total steering angle change of the first steering operation subsequent to no-steering operation (i.e., the value of the pulse count regiser N) increases, a reference steering speed related to the magnitude of the steering angle change also increases. In this case, the CPU 9 recognizes the occurrence of drowsy driving if the accumulated time (Etl(N)) is less than a predetermined period of time representing a reference steering speed. In other words, when the accumulated time is shorter than the predetermined period of time representing the reference steering speed, the CPU 9 recognizes that the average steeringspeed over the first steering operation exceeds the reference steering speed. It should be noted that if the CPU 9 recognizes that the drowsy driving has not occurred, i.e. if any of the preconditions for drowsy driving are not satisfied at any time during the steps 270 through 330, control returns to the step 170 in order to continue monitoring for drowsy driving. Furthermore, if the condition of step 340 is not satisfied, the CPU 9 recognizes that the drowsy driving has not occurred, clears the timer B in step 360, and returns to the step 110 to restart detection of drowsy driving.
-
It should be noted that K0, Kl, K2, K3, and K4 shown in the steps 270, 290, 310, and 330 denote reference steering angle changes delimiting ranges of the reference steering speed (the values of the pulse_ count register N). One exemplary system uses three for K0, six for Kl, nine for K2, twelve for K3, fifteen for K4. In addition, K5, K6, K7, and K8 denote predetermined periods of time representing the reference steering speed. The exemplary system uses 0.1 seconds for K5, 0.5 seconds for K6, 1 second for K7, and 2 seconds for K8.
-
Fig. 8 and Figs. 9(a) through 9(d) are general and detailed flowcharts of a second preferred embodiment. The circuit configuration is the same as that of the first preferred embodiment shown in Figs. 2 and 3. The distinguishing feature of the second preferred embodiment is that the system recognizes drowsy driving when the durations of both first and second steering operations are shorter than the predetermined periods of time representing the respective reference steering speeds set on the basis of the corresponding total steering angle changes.
-
Fig. 8 illustrates the general flow of . processing in detecting drowsy driving: (a) step 70 to determine whether a condition prerequisite to detecting drowsy driving is satisfied; (b) step 72 to measure the duration of time during which no steering operations are performed; (c) step 74 to determine whether the criteria for identifying a no-steering operation period are satisfied; (d) step 76 to measure the number of pulses and the intervals of time between pulses of the first steering operation, which occurs after the no-steering operation period; (e) step 78 to recognize the occurrence of the first steering operation comprising step 78-1 to determine whether a criterion for the measured number of pulses is satisfied and step 78-2 to determine whether a criterion for the steering speed of the first steering operation calculated on the basis of the measured intervals of time is satisfied; (f) step 80 to measure the number of steering pulses and pulse intervals received from the steering angle sensor 1 during a second steering operation carried out after the first steering operation; (g) step 82 to recognize the occurrence of the second steering operation comprising step 82-1 to determine whether a criterion for the measured number of pulses is satisfied and step 82-2 to determine whether a criterion for the average steering speed over the second steering operation is satisfied; and (h) a conventional alarm step 84.
-
A detailed description of the second preferred embodiment will be made with reference to Figs. 9 (a) through 9(d).
-
First, the routine goes to step 400 wherein the CPU 9 determines whether a predetermined prerequisite condition is satisfied and goes to step 410 to start detection of drowsy driving after determining that the predetermined prerequisite condition is satisfied. The predetermined prerequisite condition is, for example, whether the vehicle speed is in excess of a predetermined - value (for example, 70 km/h).
-
In the step 410, the CPU 9 starts a timer A in order to measure the duration of a no-steering operation period.
-
In the next step 420, the CPU 9 compares the value Ta of the timer A with a predetermined value Ao (,e.g., three seconds) in order to check for the occurrence of a no-steering operation prior to receipt of the next steering pulse. If, in subsequent step 430, a pulse is inputted within the predetermined period of time Ao, the routine goes to step 440 wherein the timer A is cleared and returns to the step 410 to restart the timer A.
-
If Ta>Ao in the step 420, the routine goes to step 450, in which the CPU 9 waits for the next pulse from the steering angle sensor 1. After a pulse (first pulse) is received in the step 450, the direction indicated by the first pulse is stored in register PF in - step 460 and thereafter the routine goes to step 470 wherein the timer B is set. Next, in step 480, the CPU 9 waits for the next steering pulse. After the next pulse (second pulse) is received, the direction indicated by the second pulse is stored in register PFN+1· In step 500, the CPU 9 compares the contents of PFN and PFN+1 to determine whether the first and second pulses were due to changes in the same direction. If they are derived from the same steering direction, the routine goes to step 510. If not, the routine goes to step 680. In the step 510, the CPU 9 compares the elapsed time Tb measured by the timer B with the predetermined period of time Ao in order to judge the presence or absence of a no-steering operation. If Tb<Ao in the step 510, the routine goes to step 540; in this case, the second pulse received at step 480 may possibly be part of a first steering operation as defined above. On the other hand, if Tb>Ao in the step 510, the timer B is cleared in the next step 520 since the second pulse received at the time of the step 480 is not indicative of drowsy driving. In order to restart detection of drowsy driving, the routine goes to step 530 wherein the contents of a pulse count register N is set to a "1" and then control returns to the step 450.
-
On the other hand, if Tb<Ao in the step 510, the routine goes to step 540 wherein the value in the pulse count register N is incremented (N=N+l) and then to step 550 wherein the interval of time t(N) between the first and second pulses received at steps 450 and 480 respectively is stored. In the next step 560, the value of interval of time t1(N) is added to the contents of steering speed register TSl. In the subsequent steps 570-640, a series of cascading comparisons are made, as in steps 270-340 of Fig. 5, in order to first select the appropriate range (K0-K4) of the number of pulses in the unidirectional steering episode (i.e., N) and then to see if the total elapsed time TS1 of the current―episode reflects a steering adjustment rate in excess of a preselected threshold rate suitable for the current pulse number range. As can be more easily visualized with reference to Fig. 7, since the preselected periods K5-K8 represent average angular velocity values over the total steering adjustments R0-R1. R1-R2 ... K3-K4 respectively, the steps 570-640 in effect check for an average steering rate in excess of a threshold which may itself be dependent on the total steering correction. If in fact the average steering rate is high enough to indicate an abrupt recovery from a lapse of attention, i.e. if elapsed time TS1 is less than the appropriate threshold period K5-K8, then the program starts a timer C in step 650 and in step 660 sets a flag X to indicate the occurrence of the first steering operation as defined above. If the average steering rate over a long unidirectional episode is too low to reflect drowsy driving, as may happen on curves etc., then timer B is cleared in step 670 and then drowsy driving detection is restarted from step 410. Otherwise, the steps 470-640 are repeated unitl one of the above conditions is satisfied.
-
It should also be noted that the reference steering angle changes KO through K4 and reference steering speed-indicative periods K5 through K8 may be the same as those used in the first preferred embodiment.
-
The first time that a steering pulse of the opposite polarity is noted in step 500, control passes to step 680, wherein the value Tb of the timer B is compared with the above-described value Ao to check for a no-steering operation. Specifically, a no-steering operation is recognized if Tb≧Ao in the step 680. In this case, the routine returns to step 460 via steps 690 and 700 in which the timers are all cleared and the value of pulse count register N is set to "1". The process starts again from the detection of the first steering operation after the no-steering operation recognized in the step 680. If, on the other hand Tb<Ao in step 680, the routine advances to step 710.
-
In the step 710, the timer B is cleared and then started in step 720. Thereafter, the CPU 9 awaits the arrival of the next pulse in step 730. Upon receipt of the next pulse (third pulse) in the step 730, the CPU 9 stores the direction indicated by the third pulse into register PFm in step 740. Thereafter, the routine goes to step 750, wherein the CPU 9 determines whether the above-described flag X indicating the occurrence of the first steering operation is set. If the flag X is not yet set, the CPU 9 determines whether the value Tb of the timer B set in the step 720 is in excess of the above-described predetermined value Ao in order to check for a no-steering operation in step 760. If Rb>Ao in step 760, all the timers are cleared in the step 690, the value of the pulse count register N is set to "1" in the step 700, and the routine returns to the step 460 to await the occurrence of the first steering operation. If Tb<Ao in the step 760, all the timers are cleared in step 770 and the value of the pulse count. register N is set to "1" and the value of another pulse count register M for storing the number of pulses relating to the second steering operation is set to "0" in step 780. Thereafter, the routine returns to the step 410 to await the occurrence of a no-steering operation. That is to say, in this process, establishment of both conditions X=0 and Tb<Ao indicates that the driver is turning the steering wheel back and forth as part of normal, alert steering control. Therefore, since drowsy driving is not occurring, detection of drowsy driving is again started by awaiting the occurrence of a no-steering operation. On the other hand, if the flag X is set, the routine goes from the step 750 to step 790 in order to check for the occurrence of a second steering operation.
-
In the step 790, the CPU 9 determines whether the steering pulse received at the step 730 is derived from a steering adjustment in the same direction as the second steering operation. If the last two pulses were; in the same direction when checked at step 790, the routine goes to step 890 to proceed with detection of the second steering operation. If a direction reversal is detected by step 790, the routine goes to step 800. In the step 800, the CPU 9 compares the contents Tb of the timer B with the above-described predetermined value Ao to check for a no-steering operation. If Tb≧Ao in the step 800, i.e. if another no- steering operation has occurred, all the timers are cleared in step 810, the values of the two pulse count registers N and M are set to "1" and "0" respectively in step 820, and the flag X is reset to "0" in step 830. Thereafter, the routine returns to step 450. On the other hand, if Tb<Ao in the step 800, the routine goes to the step 840 wherein the CPU 9 compares the time count Tc in the timer C with a reference time K21 (, e.g. three seconds) representing the longest expectable interval from the end of the first steering operation to the end of the second steering operation.
-
If Tc≧K21 in the step 840, the CPU 9 determines that the second steering operation has not occurred within the above-described reference time K21 and therefore that no drowsy driving has occurred. In the next step 850, all the timers are cleared. In the next step 860, the pulse count registers N and M are set to "1" and "0", respectively. In the next step 870, the flag X described above is reset to "0". Thereafter, the routine returns to the step 410 in order to restart the detection of drowsy driving from the beginning. On the other hand, if elapsed time Tc is still less than reference time K21 when checked at step 840, then the pulse count register M is cleared in step 880 and control returns to step 710. This erases the information about the second steering operation, if any, but allows the program to continue checking for the second steering operation without starting again from the beginning. Thus, if a few pulses in the reverse direction should occur during the second steering operation within the period K21, these can be ignored without influencing the average steering rate estimates to be performed after completion of the second steering operation.
-
If the steering pulse received in step 740 is in the direction of the second steering operation when checked in the step 790, the routine goes to step 890. If Tb<Ao in the step 890, the CPU 9 decides that a no-steering operation has not occurred and goes on to step 900, wherein the time count Tc in the timer C is compared with the above-mentioned reference time K21. If Tc<K21 in the step 900, the routine goes to step 910 et seq. to check whether or not a second steering operation has occurred. It should be noted that if Tb>Ao in the step 890, the routine goes to the step 810 and if Tc≧K21 in the step 900, the routine goes to the step 850.
-
In the step 910, the contents of the pulse count register M is incremented (M=M+1), the interval of time t2 (M) between the steering pulse received at step 730 described above and the steering pulse received immediately before the step 730 is stored in step 920. This time interval is added to the contents of a steering speed register TS2 in step 930. Finally, the pulse count M and accumulated time (Σt2(M)) are processed to check for excessively high steering rate in steps 930 through 1020. In the processing required to recognize drowsy driving, the reference steering speed is set according to the magnitude of the steering correction, specifically reference steering speed is inversely proportional to the magnitude of the steering correction (the value of the pulse count register M).
-
In summary, the CPU 9 recognizes occurrence of a first steering operation if the above-described accumulated time (Σt1(N)) is within a predetermined time representing a reference steering speedy After the criteria for the first steering operation are satisfied, another reference steering speed is selected from the array shown in Fig. 10 according to the magnitude of steering correction (the value of the pulse count register M) in the case of the second steering operation in the direction opposite to the first steering operation. The CPU 9 decides that drowsy driving has occurred if the above-described accumulated time (TS2) is within the predetermined time representing the second reference steering speed.
-
It should be noted that if the criteria for drowsy driving are not satisfied in the process steps 940 through 1010, the routine returns to the step 710 to continue monitoring for the second steering operation. If the pulse count M is in the largest range shown in Fig. 10 but the accumulated TS2 is greater than the reference time K20, then control passes from step 1010 to step 1030, wherein all the timers are cleared. Thereafter, in the next step 1040, the values of the pulse count registers N and M are set to "1" and "0", respectively. Furthermore, after the flag X is reset to "0" in the next step 1050, the routine returns to the step 410 to restart drowsy driving detection from the beginning.
-
It should also be noted that in the above-described processing, K0, K13' K14, K15' and K16 denote reference magnitudes of the steering correction for setting the reference steering speed. In the exemplary system, in units of steering pulses (M), K0 is one, K13 is three, K14 is six, K15 is none, and K16 is twelve. In addition, K17, K18, K19, and K20 denote predetermined times representing the reference steering speed, e.g., one second, two seconds, three seconds, and four seconds, respectively.
-
Figs. 11 through 12(d) show a third preferred embodiment of the present invention. The distinctive feature of the present third preferred embodiment is that both the reference steering correction and the reference steering speed serving as criteria for the second steering operation are set on the basis of the reference steering correction and the reference steering speed of the first steering operation.
-
That is to say, as shown in the general flowchart of Fig. 11, extra processes are added to the flowchart of Fig. 8 in the step 78 in which the first steering operation is confirmed and step 82 in which the second steering operation is confirmed. Specifically, these added substeps are step 78-3 which sets a criterion parameter serving as a precondition for the second steering operation on the basis of the steering behavior during the first steering operation and step 82-0 which selects a reference value serving as a criterion for confirmation of the second steering operation in accordance with the criterion parameter from the first steering operation.
-
In more detail, as shown in Figs. 12(a) through 12(d), the processing in the third preferred embodiment diverges from that of the second preferred embodiment in the manner described below.
-
When the occurrence of the first steering operation is confirmed in steps 560 through 640, added steps 585, 605, 625 and 645 first steering operation detection registers (X1 through X4) according to the reference steering angle (KO through K4) and reference steering angle speed (K5 through K8) at which the occurrence of the first steering operation is first recognized. In addition, new steps 932, 934, 936 and 938 are added to the steps 940-1050 shown in Fig. 8(d) to detect which of the above-described first steering operation detection registers (X1 through X4) are set and to select a pair of reference values, which serve as criteria for recognition of the second steering operation, according to the range of the sum (EXi) of the values of the registers X1-X4 as defined by reference values K9 through K11. It should be noted that the reliance on the first steering operation detection flag X is redirected to the first steering operation detection registers in the third preferred embodiment. Furthermore, the structure of the third preferred embodiment is the same as that shown in Fig. 1 and Fig. 2 and the steps of the same numerals shown in Figs. 11 through 12(d) as those shown in Figs. 8 through 9(d) denote the same processes.
-
By way of example, the reference values K9. R10, and may be two, four and seven in the case where the registers X1-X4 are assigned either zero or their own subscript value.
-
As described above, since the system for detecting drowsy driving according to the present invention selects a reference steering speed threshold according to the magnitude of the first steering change immediately after the end of an extended no-steering period and confirms the occurrence of steering indicative of drowsy driving on the basis of the comparison between the reference steering speed and the average steering speed over the first steering operation, drowsy driving can be detected quickly and reliably.
-
It will fully be understood by those skilled in the art that the foregoing description is in terms of preferred embodiments and that various changes and modifications may be made without departing from the scope of the present invention, which is to be defined in the appended claims.