Field of the Invention
The present invention relates to a warning system for an automotive vehicle and the like. More particularly, the invention relates to a warning system for a vehicle which detects dozing of a vehicle driver and produces a warning in response.
Background of the Invention
If a vehicle driver dozes while driving the vehicle, driving operations distinct from operations performed under normal waking conditions will occur. Therefore, by detecting abnormal driving operations occurring when the driver dozes at the wheel, dozing of the driver can be detected. The dozing of the driver can be thus corrected by warning the driver when abnormal driving operations are performed.
Therefore, it is an object of the present invention to provide a warning system for a vehicle which detects specific driving operations likely to be performed during dozing of the driver to produce a warning.
Summary of the Invention
The above-mentioned and other objects are accomplished by a warning system for a vehicle according to the present invention, which detects the frequency of steering operation within a unit time and produces a warning when the detected steering operation frequency exceeds a predetermined frequency which is preset to a frequency higher than that performed during normal driving. Furthermore, according to the present invention, if steering operations in the same direction are performed at an excessive frequency, the discrimination that the vehicle driver is steering through a curve will be made to prevent the device from producing the warning.
According to the preferred embodiment of the invention, the warning device for the vehicle comprises steering angle detecting means for detecting steering angle and steering direction and for producing a signal representative of detected steering angle and steering direction, a dozing detecting circuit for counting the occurrences of steering operations within a predetermined period, for clearing the counted value when a signal indicative of a constant steering direction is produced for a time duration longer than a predetermined time, and for producing a warning signal when the counted value exceeds a predetermined threshold value, a warning means for producing the warning in response to the warning signal.
Brief Description of the Drawings
FIG. 1 is a block diagram of a first embodiment of a warning device according to the present invention;
FIG. 2 is a plan view showing a steering angle sensor employed by the warning device of FIG. 1;
FIG. 3 is a section taken along line A--A of FIG. 2;
FIG. 4 is a perspective view of part of the steering angle sensor of FIG. 2, viewed from an angle revealing the movable contact thereof;
FIG. 5 is a perspective view of part of the steering angle sensor of FIG. 2, viewed from an angle revealing the upper surface thereof;
FIG. 6 is a plan view of the steering angle sensor rotated toward clockwise direction;
FIG. 7 is a plan view similar to FIG. 6 and showing the steering angle sensor at a neutral position;
FIG. 8 is a plan view similar to FIG. 6 and showing the steering angle sensor rotated counterclockwise;
FIG. 9 is a block diagram of the steering angle pulse generator of FIG. 1;
FIG. 10 is a timing chart for the warning device of FIG. 1;
FIG. 11 is a block diagram of the second embodiment of the warning device of the present invention;
FIG. 12 is a timing chart for the warning device of FIG. 11;
FIG. 13 is a block diagram of the third embodiment of the warning device of the present invention; and
FIG. 14 is a block diagram of the fourth embodiment of the warning device of the present invention.
Description of the Preferred Embodiments
The preferred embodiments of the present invention will be described hereinafter with reference to the attached drawings. FIG. 1 shows the first embodiment of a warning system according to the present invention. The steering angle of the vehicle is detected by a steering angle sensor 12. The steering angle sensor produces a steering angle signal S.sub.1 representative of the steering angle and steering direction. The steering angle signal S.sub.1 is inputted to a steering angle pulse generating circuit 14. The steering angle pulse generating circuit 14 in conjunction with the steering angle sensor 12 constitutes a steering angle detector 10. The steering angle pulse generator 14 produces steering angle pulses S.sub.2 and S.sub.3, respectively representative of different steering directions, in response to a predetermined steering angle change. In the preferred embodiment, the steering angle pulse generating circuit 14 produces a steering angle pulse S.sub.2 for every 5 degrees of counterclockwise steering change and a steering angle pulse S.sub.3 for every 5 degrees of clockwise steering change.
The steering angle pulse generating circuit 14 is connected to a dozing detecting circuit 16 via leads 18 and 20. The steering angle pulse S.sub.2 is fed to the dozing detecting circuit 16 via the lead 18 and the steering angle pulse S.sub.3 is fed to the dozing detection circuit via the lead 20. The dozing detecting circuit 16 comprises a warning signal generating section 22 and a control section 24 for controlling operation of the warning signal generating section 22. The warning signal generating section 22 counts the steering angle pulses inputted thereto within a predetermined period of time and produces a warning signal S.sub.4 when the counted value exceeds a predetermined threshold value. The control section 24 counts the pulses of either steering angle signal S.sub.2 or S.sub.3 sequentially inputted thereto and produces a reset signal S.sub.5 when the counted value thereof exceeds a predetermined value in order to clear the counted value of the warning signal generating section 22. The control section 24 clears its own counted value in response to a pulse from the steering angle signal S.sub.3 or S.sub.2 other than the one being counted. Therefore, the warning signal generating section 22 produces a warning signal S.sub.4 when steering is performed in opposite directions at more than a predetermined frequency. The warning means 26 is driven in response to the warning signal S.sub.4. The warning means 26 produces any warning which can awake the driver and may provide, for example, a buzzer, a warning voice, discharge of cold air into the driver's face, a display, a lamp and so on just as long as an appropriate device for producing the selected warning is employed as the warning device.
FIGS. 2 to 9 show the detail of the steering angle detector in the first embodiment. A first gear 102 is fixed at its center portion to a steering column shaft 104 so as to rotate together with the steering column shaft 104 and a column tube 106. A second gear 108 engages the first gear 102. The second gear 108 is rotatably supported by a shaft 110 fixed at its bottom end to the column tube 106. In this embodiment, the gear ratio of the first gear 102 to the second gear 108 is preferably set at 3 to 1 so that, when the first gear 102 rotates once, the second gear 108 rotates three times. The second gear 108 has a first member 112 extending downwards from the bottom of the second gear 108 and positioned near the periphery thereof. A second member 114 of disc-shaped configuration has a strip-like projection 116 on the upper surface of second member 114. The lower end of the first member 112 is positioned in such a way that, when the first member 112 moves in response to the rotation of the second gear 108, it can push the projection 116 together with the second member 114 so that the second member 114 will rotate through a predetermined angle. The second member 114 has a strip-like movable contact 118 on the lower side thereof adapted to contact one of a pair of a stationary contacts 120 and 122, shown in FIG. 3, when the second member 114 rotates to either of two given positions. Those stationary contacts 120 and 122 are attached to the top of the column tube 106. The second member 114 is biased by a coil spring 124, shown in FIG. 4, so as to be normally held in a neutral position as shown in FIG. 7, where the movable contact 118 is centered between the stationary contacts 120 and 122. The movable contact 118 is connected through a lead wire 126 to a power source (not shown). The stationary contacts 120 and 122 are connected through lead wires 121 and 123 to the steering angle pulse generating circuit 14 of FIG. 1.
The operation of the above-mentioned steering angle detector will be described hereafter. When the steering wheel (not shown) rotates clockwise, the steering column shaft 104 rotates clockwise together with the first gear 102 whereby the first member 112 rotates counterclockwise together with the second gear 108. Thus, the first member 112 thereby comes to contact with the projection 116 of the second member 114 due to this counterclockwise rotation. Thus, the second member 114 is rotated clockwise by the pushing force of the first member 112 of the second gear 108 against the biasing force of the spring 124 so that the movable contact 118 thereof comes into engagement with the stationary contact 120 as shown in FIG. 8. As the second gear 108 rotates further counterclockwise, the projection 116 of the second member 114 separates from the first member 112. As a result, the second member 114 rotates to return to its neutral position due to the biasing force of the spring 124. On the other hand, when the first gear 102 rotates counterclockwise, the second gear 108 rotates clockwise together with the first member 112 whereby the first member 112 comes into engagement with the projection 116 of the second member 114. The clockwise movement of the first member 112 urges the second member 114 to rotate counterclockwise so that the movable contact 118 of the second member 114 comes into contact with the stationary contact 122 as shown in FIG. 6. When the second gear 108 rotates further in the same direction, the projection 116 of the second member 114 separates from the first member 112 so that the second member 114 rotates to return to its neutral position as shown in FIG. 7.
When the movable contact 118 engages either of the stationary contacts 120 and 122, a pulse is sent to the steering pulse generating circuit 14.
FIG. 9 shows a block diagram that illustrates an example of the steering angle pulse generating circuit 14. A first counter 126 is connected through the lead wires 121 and 130 to the stationary contact 120 and through the lead wires 123, 134 to the contact 122. The second counter 136 is also connected to the contacts 120 and 122 via leads 121, 140 and 123, 138, respectively, and counts the number of clockwise rotations of the first member 112 upon receipt of signals from the lead wire 138. When the steering wheel begins to rotate in the opposite direction the second counter 136 is reset upon receipt of a signal from the lead wire 140. The first counter 126 counts the number of rotations of the first member 112 upon receipt of signals from the lead wire 130. When the steering wheel begins to rotate in the other direction, the first counter 126 is reset upon receipt of a signal from lead wire 134.
The first and second counters 126 and 136 produce steering angle pulse signals S.sub.2 and S.sub.3 respectively when the counted value reaches a predetermined value corresponding to a 5 degree change in steering angle.
Next, details of the dozing detecting circuit 16 will be described with reference to FIGS. 1 and 10. The steering angle pulses S.sub.2 and S.sub.3 produced by the steering angle pulse generating circuit 14 are inputted to an OR gate 162 of the dozing detecting circuit 16 via lead wires 20 and 18. The OR gate 162 is responsive to either steering angle pulse S.sub.2 and S.sub.3 to turn ON to produce an output S.sub.6. The output S.sub.6 of the OR gate 162 is inputted to a monostable multivibrator 221 of the warning signal generating section 22. The monostable multivibrator 221 is responsive to the output S.sub.6 of the OR gate 162 to turn on for a predetermined period, for example, 5 sec., to produce an output S.sub.7. The output S.sub.7 of the monostable multivibrator 221 is fed to a differentiation circuit 222. The differentiation circuit 222 detects the rising edge of the monostable multivibrator output S.sub.7 to produce an output pulse S.sub.8. Additionally, the output S.sub.7 of the monostable multivibrator 221 is inverted by an inverter 223 and then inputted to a differentiation circuit 224. The differentiation circuit 224 thus detects the trailing edge of the monostable multivibrator output S.sub.7 to produce an output pulse S.sub.9.
A timer 225 is responsive to the differentiation circuit output S.sub.8 to start measuring time and produces an output S.sub.11 for a predetermined period, e.g., 15 sec., after receiving the pulse S.sub.8. The output S.sub.9 of the differentiation circuit 224 serves as reset signal for the timer 225.
The differentiation circuit 222 is connected to the set input S of a flip-flop 227 to set the latter with the output S.sub.8. The reset input R of the flip-flop 227 is connected to an OR gate 226. The OR gate 226 produces an output S.sub.10 in response to pulses from either the differentiation circuit output S.sub.9 or timer output S.sub.11. The output S.sub.10 of the OR gate 226 serves as reset signal for the flip-flop 227. The flip-flop 227 produces a high-level output S.sub.12 while it is in the set state.
The output terminal of the flip-flop 227 is connected to one of the input terminals of each of two AND gates 241 and 242 of the control section 24 which controls the warning signal generating section 22. The other input terminals of the AND gates 241 and 242 are respectively connected to the leads 18 and 20 of the steering angle pulse generating circuit 14. The AND gates 241 and 242 are responsive to the steering angle pulses S.sub.2 and S.sub.3 to produce outputs S.sub.13 and S.sub.14 respectively, under the condition that the output S.sub.12 of the flip-flop 227 is high. A counter 245 is connected to the AND gate 241 to count the pulses of AND gate output S.sub.13 produced in response to the steering angle pulse S.sub.2. A counter 246 is connected to the AND gate 242 to count the pulses of the AND gate output S.sub.14 produced in response to the steering angle pulse S.sub.3. The counters 245 and 246 are both connected to an OR gate 226 of the warning signal generating section 22 via respective OR gates 243 and 244. The OR gate 243 is also connected to the output terminal of the AND gate 242. The OR gate 243 produces an output S.sub.15 in response to either the output S.sub.10 of the OR gate 226 or the output S.sub.13 of the AND gate 242. The output S.sub.15 of the OR gate 243 serves as a reset signal for the counter 245 to clear the counter value. The OR gate 244 is connected to the output terminal of the AND gate 241. The OR gate 244 produces an output S.sub.16 in response to either the output S.sub.10 of the OR gate 226 or the output S.sub.13 of the AND gate 241. The output S.sub.16 of the OR gate 244 is inputted to the counter 246 to clear the counter value thereof. The counters 245 and 246 produce respective outputs S.sub.17 and S.sub.18 when their counter values reach predetermined values.
The output of the flip-flop 227 is inputted to the AND gate 164. The AND gate 164 is responsive to the output S.sub.6 of the OR gate 162 under the condition that the output S.sub.12 is high, to produce an output S.sub.19. The output S.sub.19 of the AND gate 164 is inputted to the counter 168. The reset terminal of the counter 168 is connected to the output terminal of the OR gate 166. One of the input terminals of the OR gate 166 is connected to the output terminal of the OR gate 226 and the other input terminal thereof is connected to the output terminal of the OR gate 247. The OR gate 247 is turned on to produce an output S.sub.20 in response to either of outputs S.sub.17 or S.sub.18 of the counters 245 and 246 respectively. The OR gate 166 produces a reset signal S.sub.5 in response to either the output S.sub.10 of the OR gate 226 or the output S.sub.20 of the OR gate 247. The counter 168 is responsive to the reset signal S.sub.5 to clear the counter value.
The counter 168 produces a warning signal S.sub.4 to be fed to the warning means 26 of FIG. 1 when the counter value thereof reaches a predetermined value. The counter 168 clears its counter value at the same time it produces the warning signal S.sub.4.
In the above construction, the operation will be described with reference to the timing chart of FIG. 10. When right hand steering pulse S.sub.2 or left hand steering pulse S.sub.3 is outputted from the steering angle pulse generator 14, the OR gate 162 outputs the pulse signal S.sub.6. The monostable multivibrator 221 is responsive to pulses of the signal S.sub.6 to turn on for the predetermined period, for example, 5 sec. If the next pulse signal S.sub.6 is inputted during the period in which the monostable multivibrator is kept ON, the period is prolonged. Therefore, absence of the output of the monostable multivibrator 221 indicates that the pulse signal S.sub.6 has not been produced for at least 5 sec. The rising edge of the output of the monostable multivibrator 221 is detected by the differentiation circuit 222. The differentiation circuit 222 produces the output S.sub.8 each time it detects a rising edge of the monostable multivibrator output. In addition, the output of the monostable multivibrator 221 is inputted to the differentiation circuit 224 via the inverter 223. The differentiation circuit 224 detects the falling edge of the output S.sub.7 to produce the output S.sub.9. The flip-flop 227 is set by the output S.sub.8 of the differentiation circuit 222 to output a high-level signal S.sub.12. At the same time, the timer 225 turns ON in response to the output S.sub.8 of the differentiation circuit 222 and outputs the signal S.sub.11 when a preset time period, e.g., 15 sec. expires. The flip-flop 227 is reset by the output S.sub.10 of the OR gate 226. The flip-flop 227 feeds a signal having value "1" to the AND gate 164 until it is reset. The counter 168 counts the output pulses S.sub.19 of the AND gate 164 to count the occurrence of the steering angle pulses S.sub.2 and S.sub. 3. The counter 168 produces the warning signal S.sub.4 when the counter value reaches a predetermined value, e.g., 7. On the other hand, while the flip-flop 227 is maintained at ON position, the AND gates 241 and 242 conduct the right-hand and left-hand steering angle pulses S.sub.2 and S.sub.3. The counters 245 and 246 count respective steering angle pulses S.sub.2 and S.sub.3. Respective counters 245 and 246 operate to feed the reset signal S.sub.5 to the counter 168 via the OR gate 247 and the OR gate 166 when either counter value reaches the predetermined value, e.g., 4. In the foregoing embodiment, when the steering operation is in a constant direction, for example, driving through a curve, the counter value of the counter 168 is reset by the reset signal S.sub.5 and thus the warning signal will not be produced. In other words, when alternating-direction steering operations which produce less than 4 sequential right-hand or left-hand steering angle pulses S.sub.2 and S.sub.3, are effected and when the counted value of the steering angle pulses S.sub.2 and S.sub.3 reaches 7, the warning means 26 produces a warning.
Referring to FIG. 11, there is illustrated the second embodiment of the present invention, in which the warning means is not instantly responsive to the warning signal S.sub.12. In this embodiment, the warning signal S.sub.12 is held for a predetermined time period and the warning means produces the warning after expiration of the foregoing time period and only if the signal indicative of steering through a curve is not inputted during that predetermined period. Elements analogous to those of the foregoing first embodiment are represented by the same reference numerals and thus further explanation therefor is neglected in the description given hereinbelow. In addition to the first embodiment, there are provided a flip-flop 302 which can be set by a first warning signal S.sub.21 and reset by the output of the OR gate 166, a monostable multivibrator 304 detecting the falling edge of the output of the flip-flop and turning on for a predetermined time period after detecting the falling edge of the flip-flop output, and an AND gate 306, receiving inputs from the monostable multivibrator 304 and the OR gate 226, which produces an output to be fed to the warning means 26.
In the above construction, the function will be described with reference to the timing chart of FIG. 12. When the first warning signal S.sub.21 is outputted from the counter 168, the flip-flop 302 is turned on to produce a signal S.sub.22. At the time the level of the flip-flop 302 output S.sub.22 drops in response to the output S.sub.5 of the OR gate 166, which is indicative of expiration of counting time, the monostable multivibrator 304 is turned ON for the predetermined time period to produce an output S.sub.23. Therefore, when the reset signal S.sub.2 is outputted from the control signal 24 during the steering pulse counting period, the AND gate 306 is prevented from producing the second warning signal S.sub.4. Thus, only when the reset signal S.sub.5 is not produced will the warning signal S.sub.4 be fed to the warning means 26.
FIG. 13 shows the third embodiment of the present invention. In this embodiment, a vehicle speed sensor 402, for producing an output "1" when the vehicle speed is higher than a preset speed, and AND gates 404 and 406, permitting the steering angle pulses S.sub.2 and S.sub.3 from the steering angle pulse generator to pass therethrough under the condition that the output of the vehicle speed sensor 402 is high, are added to the foregoing first embodiment. Thus, the warning will not be created while driving through a city or at a relatively low speed.
FIG. 14 shows the fourth embodiment of the present invention. The fourth embodiment comprises a first warning section 502 which receives the warning signal S.sub.24 directly, a time setting circuit 504 to be turned on for a predetermined time period in response to the warning signal S.sub.24, an AND gate 506 permitting the warning signal S.sub.4 to pass therethrough only when the time setting circuit 504 is in the ON condition, a counter 508 for counting the pulses from the AND gate 506 to produce a second warning signal S.sub.25 and resetting the counter value thereof when the counter value reaches a predetermined value and a second warning section 510 respective to the second warning signal S.sub.25 to produce a warning, in addition to the construction of the foregoing first embodiment. The first warning section 502 produces warning via a visible display, lighting a lamp or the like as a gentle warning. When the dozing detecting circuit 16 sequentially and continuously produces the warning signal S.sub.25, the second warning section 510 produces a rather strong warning such as a buzzer, a warning voice, discharging cold air or the like.
As described hereabove, according to the present invention, when variation of the steering angle position from a certain standard steering angle continues in the same direction at a rate exceeding a predetermined frequency, indication is given that the vehicle is being steered through a curve in order to inhibit counting of the steering frequency. If the steering operations in alternating directions exceed the predetermined frequency, the warning is produced. This ensures detection of drowsiness of the driver and thus can effectively prevent the driver from falling asleep.