Environment recognition device provided with image pickup device

Abstract: An environment recognition device formed in such a manner that an image sensor (2) is installed so that an image sensor mounting location recognition mark (5) falls within an image pickup area (4), means for comparing mark locations the images of which are picked up sequentially by means of the image sensor (2) with respect to the initial location of the recognition mark (5) in the image pickup area (4) is provided, and, when it is detected that the mark location recognized sequentially has changed with respect to the initial location, an indication signal for indicating that correction of the location of installing the image sensor (2) is required is outputted, thereby to prevent erroneous decision in image processing when the mounting position changes by vibration, contact or the like.

Description: The present invention relates to an environment recognition device using an image pickup device, and to a device and a method for recognizing environment around a vehicle used in an on-vehicle device for recognizing external environment of a vehicle for facilitating safe driving of a vehicle for instance and, preferably using an image sensor such as a CCD camera as the image pickup device. Conventional environment recognition devices include, for example, one that is disclosed in JP-A-3-203000 that performs environment recognition using an image pickup device such as a CCD camera installed in a vehicle as an image sensor for the purpose of supporting safe driving of the vehicle. Further, as disclosed in JP-A-1-281600, a device for deciding whether there is a preceding vehicle within a safe distance or not based on image data of an image pickup device is also proposed. Since the picked up image data are different depending on the mounting location and the set angle of the image sensor in the environment recognition device using the image pickup device described above, relative relationship between image data and recognition object information such as the distance between vehicles is adjusted after the image sensor is mounted and fixed. Or, the mounting location and the set angle of the image pickup device are adjusted so that the preset relative relationship between image data and the recognition object information may be obtained. In the conventional environment recognition device described above, however, compensation for the change with the passage of time of the mounting location and set angle of the image sensor has not been taken into consideration. As a result, it is possibile that, even though the mounting location and the set angle of the image pickup device change with respect to the initialized location caused, for example by vibration, contact or the like, an image processing means forms an erroneous judgement based on inappropriate information of the image pickup device. A device in which a point is provided at a principal position on the road in a detection area is set based on the position of this point in order to correct deviation of the detection area of a laser device as a vehicle detection device installed on the road has been disclosed in JP-A-5-62099. Further, a monitor for deciding the magnitude of the portion where brightness exceeds a critical value by comparing image information inputted from an image sensor with reference image data, thereby to distinguish between the existence of an invader and deviation of the mounting location of the image pickup device by vibration or the like has been disclosed in JP-A-3-97080. In these prior art references, however, nothing has been described concerning the detection of deviation of the mounting location of an image sensor (an image pickup device), and further, the effects of the invention are influenced largely depending on what is the point of the former gazette and on what will be taken as the reference image data in the latter gazette. Therefore, appropriate setting of the point and the reference image data has been difficult. EP-A-0132151 discloses an apparatus for automatically correcting the position of a TV camera that is used on an assembly line for building motor vehicles and the TV camera is used specifically for aligning headlights of the vehicle. In the reference the TV camera is located above the assembly line, i.e. not on the vehicle, and is directed toward two points fixedly provided on a screen on which the headlights are to be projected. Images of the reference points are taken by the TV camera and displayed on a monitor where the reference points are detected in X-Y coordinate terms. If the optical axis of the TV camera is moved, then the coordinates deviate and means are provided for reducing the deviation to zero. SUMMARY OF THE INVENTION It is an object of the present invention to provide an environment recognition device with a vehicle in which deviation of the mounting location of the image pickup device caused, for example, by vibration, can be reduced toward an initialised location. According to this invention there is provided an environment recognition device as claimed in claim 1 herein. In the environment recognition device of the present invention, an image pickup device is installed so that a recognition mark for specifying the initial mounting location of an image pickup device falls within an image pickup area. To be specific, there is provided means for detecting and comparing location data of practical marks the images of which are picked up sequentially by the image pickup device with respect to the initial location data of the recognition mark in the image pickup area. Further, a mark showing a mounting location of an image pickup device is set up in a vehicle mounted with the image pickup device. The location data of the mark are inputted to a processing unit as one of peripheral information. In an environment recognition device of the present invention, a mark for specifying a mounting location of an image pickup device is set up in a portion that becomes within the image pickup area of the image sensor, and there are provided a memory portion for storing an initialized location of this mark and means for detecting and comparing the mark locations thereafter one after another in the image processing device. Further, when the sequentially recognized mark location has changed with respect to the initialized location, it is informed by an alarm or the like that the set location of the image sensor is inappropriate and requires correction, or the posture of the image sensor is corrected automatically or the image data are corrected. In the present invention, the word "environment" is used in a broad sense, and indicates all the objects that can be viewed as images. In the embodiment, it is a landscape around the vehicle, but it may be a work along a production line, cloths, or an indoor landscape in other examples. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic side view showing a general structure of a first embodiment of the present invention; Fig. 2 is a block diagram showing a structure of a signal processing portion in the first embodiment; Fig. 3 is a flowchart showing a processing operation of the embodiment; Fig. 4 is an image window showing the operation of the embodiment; Fig. 5 is a schematic side view showing a structure of another embodiment of the present invention; Fig. 6 is an image window showing the operation of the other embodiment; Fig. 7 is a schematic side view showing still another embodiment of the present invention; Fig. 8 is a block diagram showing a structure of a signal processing portion of the embodiment shown in Fig. 7; Fig. 9 is a flowchart showing signal processing operation of the embodiment shown in Fig. 7; Fig. 10 is an image window for explaining the operation of the above-mentioned embodiment; Fig. 11 is a schematic perspective view showing still another embodiment of the present invention; Fig. 12 is a block diagram showing a signal processing portion of still another embodiment of the present invention; Fig. 13 is a flowchart showing a signal processing operation of the embodiment shown in Fig. 12; Fig. 14 is a schematic perspective view showing still another embodiment of the present invention; and Figs. 15A and 15B show general views for explaining the operation of the embodiment shown in Fig. 14. DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described hereinafter with reference to the drawings. At the beginning, a general structure of an environment recognition device for a vehicle that is an embodiment of the present invention will be shown with reference to Fig. 1. An image sensor 2 for picking up an image of environment outside a vehicle is installed in a vehicle 1. Further, a mark 5 is stuck on a windshield 3 so that the location thereof falls within an image pickup area 4 of the image sensor 2. Further, the image sensor 2 is connected to an image signal processing unit 7 by an image signal line 6, and the image signal processing unit 7 is also connected to a warning device 11, a brake control unit 12 and a steering control unit 13 through an alarm signal line 8, a brake control signal line 9 and a steering control signal line 10, respectively. Fig. 2 shows an internal structure of the image processing device 7, but it is divided roughly into five portions, i.e., an A/D converter 71 for converting an analog signal from the image sensor 2 into a digital signal, an image memory 72 for taking in image data in a pixel unit, an image processing portion 73 for recognizing and computing a relative location of its own vehicle to the external environment, an image sensor location change deciding portion 74 for detecting and deciding location deviation of the image sensor with respect to the initialized location, and a danger avoidance deciding portion 75 for deciding control of issuance of warning, brake and steering. The image processing portion 73 is composed of a preceding vehicle recognition portion 731, a distance between vehicles arithmetic portion 732, an own vehicle lane recognition portion 733 and a location relationship between own vehicle and lane arithmetic portion 734. The image sensor location change deciding portion 74 is composed of an initial mark location storage portion 741 connected to an initial mark location setting device 14, a mark extracting portion 742, a mark location detecting portion 743 and a comparator 744. The danger avoidance deciding portion 75 is composed of a risk deciding portion 751, a warning issuance deciding unit 752 and an actuator drive deciding unit 753. Next, the operation of the present embodiment will be described with reference to Fig. 2 to Fig. 4. In Fig. 2, the image data in front of its own vehicle picked up by the image sensor 2 are converted into 8-bit digital data for instance by means of the A/D converter 71 and stored in the image memory 72. Recognition of a preceding vehicle (731) and computation of the distance from the preceding vehicle (732) are performed in the image processing portion based on these data. Further, recognition of its own vehicle lane (733) and computation of location relationship between its own vehicle and the lane (734) are performed in parallel therewith. Abnormal approach to a preceding vehicle, lane jutting out running and so on are decided in the risk deciding portion 751 based on these results of computation, and when it is decided that collision can be avoided by informing a driver of the fact with warning, a warning for attracting a driver's attention to the collision avoidance operation is given from the warning device 11 by the decision of the warning issuance deciding unit 752. On the other hand, when it is decided in the risk deciding portion 751 that collision is unavoidable by warning only, brake control (12) and/or steering control (13) is performed by the decision of the actuator drive deciding unit 753, thereby to perform collision avoidance on the car side without operation by the driver. The foregoing shows general operation of the collision avoidance unit, but a characteristic portion of the present embodiment will be now described with reference to Fig. 2 to Fig. 4. When initialization of the image sensor is completed, the initial mark location setting device 14 is operated (1001) so as to store the location of the mark 5 in the initial mark location storage portion 741 in the image sensor location change deciding portion 74 (1002). At this time, a reloadable ROM or a RAM having a backup power supply is used in the initial mark location storage portion 741 so that the memory of the initial mark location does not disappear even when turning on electricity to the image signal processing unit is suspended because of the reason that a battery cable is disconnected and so on. When setting of the initial mark location is completed, the following operation is performed thereafter in parallel with the normal collision avoidance operation described above. Namely, when the vehicle is running the location of the mark 5 is detected from the image data taken into the image memory 72 through the mark extracting portion 742 and the mark location detecting portion 743 (1003). Next, in the comparator 744, the location is compared with the data stored in the initial mark location storage portion 741 (1004). Here, when the mark location detected sequentially is equal to the initial mark location (1005), it is decided that the location of the image sensor has not been changed, processings described above in the image processing portion 73 and the danger avoidance deciding portion 75 are performed (1006 and 1007), and the process is returned to the operation of taking in the image of the next frame. On the other hand, when two mark locations are different from each other as shown at 5 (an initial position) and 5' (a detected location during running) in the image window 15 shown in Fig. 4 in the processing (1005) in the comparator 744, it is decided that the image sensor has changed with respect to the initialized location (1008), and a warning is given to the driver through the warning issuance deciding unit 752 and the warning device 11 (1009). At this time, the warning is given to the driver while changing the tone color or the like so as not to confuse with the collision avoidance warning such as preceding vehicle abnormal approach and car lane jutting out. Further, transmission of an image signal from the image memory 72 to the image processing portion 73 is stopped, and the danger avoidance deciding function is suspended until the image sensor location is readjusted to the initial location. According to the present embodiment, it is possible to always monitor the location change of the image sensor by extracting the mark location out of image data taken in sequentially and comparing this mark location with the initial location. As a result, it is possible to prevent such a problem that an erroneous distance between vehicles is computed using a distance A' in an image window in a state that the image sensor is deviated, thus giving inappropriate risk decision when risk decision is ought to be made originally by computing the distance from a preceding vehicle using a distance A in the image window as shown in Fig. 4. Next, a second embodiment of the present invention will be described with reference to Fig. 5 and Fig. 6. In the present embodiment, a bonnet mascot 16 fitted to the bonnet of its own vehicle is utilized in place of the mark 5 stuck to the windshield 3 in the first embodiment. In the present embodiment, the image sensor 2 is installed so that the bonnet mascot 16 is located within an image pickup area 4 thereof, and the initialized location and a detected location 16' during running of the bonnet mascot 16 within the image window 15 such as shown in Fig. 6 are compared sequentially with each other, thereby to monitor and decide the location change of the image sensor. In the structure and the operation, the mark 5 is only replaced with the bonnet mascot 16 with respect to the first embodiment shown in Fig. 1 to Fig. 3, and entirely similar effects as the first embodiment are obtainable. Furthermore, since the operation for sticking the mark 5 later becomes unnecessary in the present embodiment, it is possible to reduce labour time as compared with the first embodiment. The bonnet mascot fitted to the bonnet of the own vehicle has been utilized in the present embodiment, but it is a matter of course that similar effects are obtainable when any of a part of the bonnet, an automobile inspection seal pasted to the windshield, a part of ceiling or the like that is fixed to its own vehicle is used in place of the bonnet mascot. Next, a third embodiment of the present invention will be described with reference to Fig. 7 to Fig. 10. What differs from the first embodiment in the structure of the present embodiment is a fact that the image sensor 2 is fitted to its own vehicle 1 through a universal joint 17 that is able to be turned freely in a vertical direction R b and in a horizontal direction R a by means of a motor as shown in Fig. 7, and furthermore, is a fact that the comparator 744 and the joint 17 are connected through an image sensor direction control unit 76 as shown in Fig. 8. The operation of the third embodiment becomes similar to that of the first embodiment shown in Fig. 3 when deviation of a mark from the initial location is not detected in the comparator 744 as shown in the flow 1002 to 1007 in Fig. 9. On the other hand, when the deviation is detected (1005), it is decided in the image sensor direction control unit 76 whether the deviation quantity is correctable or not (1010). When correction is possible, it is computed in which direction and to what extent the angle of the image sensor is to be changed based on the magnitudes a and b in the horizontal direction and the vertical direction of the mark deviation quantity shown in Fig. 10 (1011), and the universal joint 17 is driven by the motor, thereby to correct so that the mark location 5' coincides with the initial location 5 (1012). However, when it is decided in the processing 1010 that the required correction quantity in the image sensor direction is out of the movable range of the joint 17 (1013), a warning is given to the driver through the warning issuance deciding unit 752 and the warning device 11 (1014). In the present embodiment, when deviation of the image sensor is produced, it is corrected automatically by the device. Therefore, a further effect is that the driver is released from readjustment work. Next, a fourth embodiment of the present invention will be described with reference to Fig. 11. The present embodiment is similar to the third embodiment in that the direction of the image sensor is corrected automatically, but differs therefrom in a point that only an image pickup portion 210 consisting of a lens 201 and a CCD element 202 is driven by means of a motor contained in the image sensor 2 without changing the direction of the whole image sensor by means of the joint 17. In the fourth embodiment, since the weight of the driving portion is reduced substantially, the response speed of the image pickup system to a correction signal is improved and the safety is improved further in addition to the effect of the third embodiment. Next, a fifth embodiment of the present invention will be described with reference to Fig. 10, Fig. 12 and Fig. 13. What differs from the first embodiment in point of the structure of the fifth embodiment is the fact that an image data correcting portion 77 for performing correction and storage of data is provided between the image memory 72 and the image processing portion 73 as shown in Fig. 12, thereby to feed back the result of the comparator 744 to the image data correcting portion 77. The operation of the fifth embodiment becomes similar to that in the first embodiment shown in Fig. 3 when deviation of the mark with respect to the initial location is not detected in the comparator 744 as shown in the flow from 1002 to 1007 in Fig. 13. On the other hand, when deviation is detected (1005), it is decided in the image correcting portion 77 whether the deviation quantity is correctable in the image window or not (1015). When correction is possible, it is computed in which direction and to what extent the image data are to be changed based on the magnitudes a and b in a horizontal direction and a vertical direction of mark deviation quantities a and b shown in Fig. 10 (1016), and the image data are corrected based on the computed quantities (1017). For example, as a simple correction method, there is a method of adding to or subtracting from all the data in the field of view vertically or horizontally by the pixel portion that the mark is deviated. Thereafter, the processings thereafter (1006, 1007) are performed using corrected data. When it is decided in the process 1015 that the required correction quantity of the image data is out of the movable range in the image window (1018), however, a warning is given to a driver through the warning issuance deciding unit 752 and the warning device 11 (1019). In the fifth embodiment, similar effects as those in the third and the fourth embodiments are obtainable, but a mechanism for rotating the image sensor becomes no longer required, thus producing an effect that weight and cost are reduced and reliability is also improved remarkably in addition to the above. Next, a sixth embodiment will be described with reference to Fig. 14 and Figs. 15A and 15B. In Fig. 14, a state 1' in which a vehicle jams on the brakes is drawn one over the other by comparing with a normal running state 1, but an image sensor 2' installed in vehicle is changed with respect to a normal position 2 in this state. Further, a posture change of this kind is also produced in running a bad road such as shown in Fig. 15B. As a result, the image pickup area also changes from 4 to 4', and the relative relationship between a location of a running vehicle and a practical distance between vehicles in the image window changes, thus causing erroneous judgement on the risk. In the present embodiment, the posture change of a vehicle is detected based on the information of height sensors 18a and 18b, an accelerometer 19 or the like arranged in front and in the rear of the vehicle. When a posture change is detected, it is decided that there is a possibility of erroneous judgement on the risk, and the transmission of an image signal from the image memory 72 to the image processing portion 73 in the image signal processing unit 7 shown in Fig. 2 is suspended. Then, when such a state is calmed down and the posture change is also calmed down, the image signal transmission from the image memory 72 to the image processing portion 73 is restarted. In the sixth embodiment, being different from those embodiments that have been described so far, it is possible to prevent occurrence of erroneous decision on the risk that could occur even when the direction of the image sensor does not change with respect to initialization. In the present invention, an image pickup device has been installed so that a mark for specifying a mounting location of the image pickup device falls within the image pickup area as described in detail above. Thus, it is possible, even when a recognition location of the image pickup device changes as time elapses with respect to the initialized location, to prevent erroneous decision of the image processing unit based on the change. To be specific in an environment recognition device for a vehicle, it is possible to give a proper decision on a distance between vehicles for instance by providing means for recognizing and comparing mark locations picked up sequentially by an image pickup device with respect to the initial location of the mark in an image pickup area, and by informing a driver by an alarm or the like that the installation location of the image pickup device is inappropriate and required to be corrected, correcting the mounting location of the image pickup device automatically or correcting image data when the mark locations recognized sequentially change with respect to the initialized location.

Claims: An environment recognition device in combination with a vehicle, said device including an image pickup device (2) for recognising an environment confronted by said vehicle by signal processing image pickup data, a reference mark (5) located within the field of view of said image pickup device (2) for determining a location of mounting of the image pickup device in an image pickup area (4), memory means (72) for storing a reference frame including an image of said reference mark (5), and a comparator (74) for comparing the initial location of said reference mark (5) with at least one subsequent image of said reference mark to check for deviation in aiming of said pickup device characterised in that said image pickup device includes means for mounting said pickup device on said vehicle so that said image pickup device is transportable with said vehicle, and said reference mark (5) is affixed to, or is formed by, a part of said vehicle. A device as claimed in claim 1, wherein warning means (11) is provided to warn a driver of said vehicle when said comparator determines that the aiming of said image pickup device has deviated. A device as claimed in claim 1 or 2, wherein image processing means (73) is provided for receiving signal output from said memory means (72) and transmission of data from said memory means (72) is stopped when said comparator (74) determines deviation in aiming of said image pickup device until the aim of the image pickup device is readjusted to the initial location. A device as claimed in any preceding claim, wherein the image pickup device (2) includes an image pickup system (210) comprising a lens (201) and a charge couple device (202). A device as claimed in any preceding claim, including control means for adjusting the aiming of said image pickup device. A device as claimed in claim 5, wherein the control means is a motor. A device as claimed in claim 6 when appended to claim 4, wherein said motor controls the axial direction of said image pickup system (210) only when deviation in aiming of said image pickup device is determined. A device as claimed in any preceding claim, further including danger avoidance detecting means (75) for determining a relationship between said vehicle and another vehicle or a lane in which said vehicle is running so as to activate a warning device (11) and/or a brake control unit (12) and/or a steering control unit (13) when it is determined that collision is unavoidable. A device as claimed in any preceding claim, wherein said reference mark is one of a hood in front of a windshield (3), a seal affixed to a windshield (3), and a trunk hood in the rear of a rear windshield. A device as claimed in any preceding claim, wherein the memory means (72) is a read only memory (ROM) that is rewritable from the outside. A device as claimed in any of claims 1 - 10, wherein the memory means (72) is a random access memory (RAM) having a power source for backing up so that the memory is not erased when the engine is stopped. A device as claimed in any preceding claim, wherein image processing apparatus (73) is provided for deciding existence of a predetermined dangerous state representing a danger to said vehicle based upon image pickup data of said image pickup device (2), and warning means (11) for alerting a driver when the predetermined dangerous state is recognised by said image processing apparatus (73). A device as claimed in any preceding claim, wherein transmission of image data from said memory means (72) is suspended when a posture change of said vehicle is sensed by posture change sensors (18a, 18b, 19). A device as claimed in claim 13, wherein said posture change of said vehicle is sensed by outputs of at least one height sensor (18a, 18b) provided on a suspension of said vehicle and/or an accelerometer (19) fitted on said vehicle body.

Inventors: MONZI TATSUHIKO, ONDOH EIRYOH, SHIOYA MAKOTO, TAKANO KAZUAKI, TANAKA YASUNARI, MONZI, TATSUHIKO, ONDOH, EIRYOH, SHIOYA, MAKOTO, TAKANO, KAZUAKI, TANAKA, YASUNARI
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1995
Main classification: G05D1
IPC codes: H04N5, B60R1, B60W30, B60G23, G08G1, B60R21, G05D1