The present invention relates to a technique for controlling light irradiation direction by a vehicular lamp (for example, a pair of headlamps) corresponding to an attitude change of a vehicle.
Automatic leveling control for adjusting irradiation direction of light (or the optical axis) of headlamps corresponding to the attitude change of a vehicle in the pitch direction due to loading of occupants and/or cargoes is known. According to such automatic leveling control, it is possible to prevent glaring an oncoming vehicle or a preceding vehicle even when the attitude of the vehicle changes. Prior art for achieving automatic leveling control in a moving vehicle is disclosed in Japanese Patent No. 6005491, for example. In this document, a technique is described in which the attitude of the vehicle is obtained using output values from an acceleration sensor installed in the vehicle, and automatic leveling control is performed.
Here, when performing automatic leveling control using the output values of the acceleration sensor, it is necessary to consider the installation error of the acceleration sensor to the vehicle. Specifically, for example, when using a three-axis acceleration sensor, it is desirable that the direction of the axes accurately matches the longitudinal direction, the vertical direction, etc. of the vehicle, but in reality, deviation due to installation often occurs. Thus, when performing automatic leveling control, it is necessary to obtain a correction value corresponding to the axis deviation in advance, and to correct the vehicle angle obtained from the output of the acceleration sensor using the correction value, for example.
In order to accurately obtain the above-described correction value, it is necessary to park the vehicle in a special environment where the inclination angle of the road surface is 0°. In this regard, it is easy to set up such an environment when shipping out a new car from a factory production line, for example.
However, when replacing the sensor etc. necessary for automatic leveling control at the car dealer's service facility etc. due to failure etc. of the sensor and acquisition of a correction value is required, it is difficult to prepare such a special environment where the inclination angle of the road surface is 0°.
In a specific aspect, it is an object of the present invention to provide a technique capable of obtaining correction information necessary for automatic leveling control without requiring a special environment.
[1] A control device for a vehicular lamp according to one aspect of the present invention is (a) a control device which variably controls the optical axis of the vehicular lamp in accordance with an attitude change in the pitch direction of a vehicle including: (b) a detection part that detects a first acceleration correlated with the longitudinal direction of the vehicle and a second acceleration correlated with the vertical direction of the vehicle; (c) a correction part which (i) obtains a vehicle angle variation while the vehicle is at a stop based on the first acceleration and the second acceleration of a first timing and a second timing which follows the first timing while the vehicle is at a stop, (ii) obtains a vehicle angle while the vehicle is traveling based on the correlation between the first acceleration and the second acceleration while the vehicle is traveling, and (iii) obtains and retains a correction angle based on the difference between the vehicle angle while the vehicle is traveling and the vehicle angle variation while the vehicle is at a stop; (d) an angle calculation part which (i) obtains the vehicle angle while the vehicle is traveling based on the correlation between the first acceleration and the second acceleration while the vehicle is traveling, and (ii) obtains an actual vehicle angle based on a value obtained by subtracting the correction angle from the vehicle angle while the vehicle is traveling; and (e) an optical axis control part which generates a control signal for controlling the optical axis of the vehicular lamp based on the actual vehicle angle obtained by the angle calculation part, and provides the control signal to the vehicular lamp.
[2] A control method for a vehicular lamp according to one aspect of the present invention is (a) a control method which variably controls optical axis of the vehicular lamp in accordance with an attitude change in the pitch direction of a vehicle including: (b) a first step that detects a first acceleration correlated with the longitudinal direction of the vehicle and a second acceleration correlated with the vertical direction of the vehicle; (c) a second step which (i) obtains a vehicle angle variation while the vehicle is at a stop based on the first acceleration and the second acceleration of a first timing and a second timing which follows the first timing while the vehicle is at a stop, (ii) obtains a vehicle angle while the vehicle is traveling based on the correlation between the first acceleration and the second acceleration while the vehicle is traveling, and (iii) obtains and retains a correction angle based on the difference between the vehicle angle while the vehicle is traveling and the vehicle angle variation while the vehicle is at a stop; (d) a third step which (i) obtains the vehicle angle while the vehicle is traveling based on the correlation between the first acceleration and the second acceleration while the vehicle is traveling, and (ii) obtains an actual vehicle angle based on a value obtained by subtracting the correction angle from the vehicle angle while the vehicle is traveling; and (e) a step which generates a control signal for controlling the optical axis of the vehicular lamp based on the actual vehicle angle obtained by the third step, and provides the control signal to the vehicular lamp.
[3] A vehicular lamp system according to one aspect of the present invention is a vehicular lamp system including the above-described control device and a vehicular lamp controlled by the control device.
According to the above configurations, it is possible to obtain correction information necessary for automatic leveling control without requiring a special environment.
The control part 11 controls the operation of the vehicular lamp system, and carries out a predetermined operation program in a computer system comprising a CPU, ROM, RAM, and the like, for example. As functional blocks, the control part 11 is configured to include a memory part 20, an angle setting part 21, and an optical axis control part 22. Here, in the present embodiment, the memory part 20 and the angle setting part 21 correspond to the “correction part”, and the angle setting part 21 corresponds to the “angle calculation part”.
The acceleration sensor 12 is a sensor capable of detecting accelerations at least in the direction of two mutually orthogonal axes and is installed at a predetermined position in the vehicle. This acceleration sensor 12 is installed in the vehicle so that the axial direction of one axis corresponds to the longitudinal direction of the vehicle and the axial direction of the other axis corresponds to the vertical direction of the vehicle, for example. Thereby, it is possible to detect the acceleration correlated with the longitudinal direction of the vehicle and the acceleration correlated with the vertical direction of the vehicle.
Each lamp unit 13 is installed at a predetermined position in the front portion of the vehicle, and irradiates light to the front of the vehicle. Each lamp unit 13 is configured to include a light source part 31 having a light source and a reflecting mirror, etc., and an optical axis adjusting part 32 (abbreviated as OPT AXIS ADJ PART in
The memory part 20 stores data necessary for information processing in the control part 11. As the memory part 20, it is desirable to use a memory capable of retaining data even when the vehicle ignition switch is off. Therefore, in the present embodiment, a non-volatile memory is used in the memory part 20.
The angle setting part 21 sets a vehicle angle which indicates the attitude in the pitch direction of the vehicle based on the acceleration obtained from the acceleration sensor 12. In the present embodiment, the angle setting part 21 also performs the setting of the correction information (initial setting) for correcting the installation error due to the acceleration sensor 12 installation to the vehicle body.
The optical axis control part 22 generates a control signal for controlling the optical axis a of each lamp unit 13 based on the vehicle angle set by the angle setting part 21, and provides the control signal to each lamp unit 13.
Output values of each of the X axis and Y axis of the acceleration sensor before the attitude change of the vehicle are defined as Xbf and Ybf, respectively. Here, when the vehicle angle is defined as θbf and the deviation angle at the time of installation of the acceleration sensor is defined as α, the relationship between the sum of θbf and α, and the output values of the acceleration sensor can be expressed as follows.
θbf+α=arctan(Xbf/Ybf) (1)
Similarly. output values of each of the X axis and Y axis of the acceleration sensor after the attitude change of the vehicle are defined as Xaf and Yaf, respectively. Here, when the actual vehicle angle is defined as θaf and the deviation angle at the time of installation of the acceleration sensor is defined as α, the relationship between the sum of θaf and α, and the output values of the acceleration sensor can be expressed as follows.
θaf+α=arctan(Xaf/Yaf) (2)
From the above equations (1) and (2), the following relational expression is derived.
θaf=θbf{arctan(Xaf/Yaf)−arctan(Xbf/Ybf)} (3)
The term {arctan (Xaf/Yaf)−arctan(Xbf/Ybf)} in the above relational expression (3) corresponds to the variation of the vehicle angle before and after the attitude change of the vehicle. Since the above relational expression does not include the deviation angle α at the time of installation of the acceleration sensor, the vehicle angle θaf after the attitude change can be obtained even when the deviation angle α is unknown. And since the road surface inclination angle does not change while the vehicle is at a stop, by adding the above variation to the vehicle angle θbf before the attitude change of the vehicle, the vehicle angle θaf after the attitude change can be obtained.
The acquired vehicle angle θaf as described above is written and retained (stored) in the memory part 20 of the control part 11 every time it is acquired. Then, while the vehicle is at a stop, leveling control of the optical axis a is performed using the vehicle angle θaf. To be precise, since the variation obtained by the term {arctan(Xaf/Yaf)−arctan(Xbf/Ybf)} in the above relational expression (3) is the difference between before and after the attitude change, leveling control of the optical axis a is performed based on this difference. For example, if the initial value of the optical axis of the lamp unit 13 is set to 0°, then based on this 0°, leveling control is performed so as to move the optical axis by an angle corresponding to the above variation.
In the vehicular lamp system of the present embodiment, when a predetermined command etc. to instruct the control unit 11 to perform initial learning is given by the car dealer service personnel, initial learning process starts. It is desirable that this initial learning process starts as soon as possible after replacing the acceleration sensor 12, or after replacing the leveling control unit including the control part 11 and the acceleration sensor 12. For example, it is desirable to start the initial learning process immediately after the replacement.
The angle setting part 21 determines whether or not the vehicle is at a stop (STEP S10). The determination as to whether or not the vehicle is at a stop can be made, for example, based on the vehicle speed signal. For example, when the vehicle speed is 0 (zero) or below a certain vehicle speed close to zero, the angle setting part 21 determines that the vehicle is at a stop, and when the vehicle speed is greater than the certain vehicle speed, the angle setting part 21 determines that the vehicle is traveling. Here, the determination may also be made based on the output values of the acceleration sensor 12.
When the vehicle is at a stop (STEP S10; YES), the angle setting part 21 calculates the vehicle angle θaf while the vehicle is at a stop (STEP S11). The calculation method is as described above, and the angle setting part 21 acquires the output values of the acceleration sensor immediately after stopping where these values are regarded as the output values Xbf, Ybf before the attitude change of the vehicle, and stores them in the memory part 20, for example. The timing of this “immediately after stopping” can be suitably set, and can be set several seconds after the vehicle is determined to be at a stop in STEP S11, for example. Thereafter, if there is a change in the attitude of the vehicle, then the angle setting part 21 obtains the output values Xaf and Yaf of the acceleration sensor 12 at that time and stores them in the memory part 20. With regard to the determination of presence or absence of the attitude change, when changes in the output values of the acceleration sensor 12 is greater than certain values, it can be determined that there is an attitude change. Here, if there is no attitude change, then the output values Xaf and Yaf of the acceleration sensor 12 at an appropriate timing are obtained and used as output values after the attitude change. The calculated vehicle angle θaf is written and stored into the memory part 20.
Next, the angle setting part 21 provides the optical axis control part 22 the vehicle angle θaf (or the variation) obtained in accordance with the attitude change while the vehicle is at a stop. The optical axis control part 22 performs optical axis control based on the vehicle angle θaf (or the variation) (STEP S12). Specifically, a control signal for controlling the optical axis a of each lamp unit 13 is generated by the optical axis control part 22 and the control signal is outputted to each lamp unit 13 and the optical axis a is adjusted according to the control signal. Thereafter, the process returns to the above-described STEP S10, and the subsequent processes are performed.
When the vehicle is traveling (STEP S10; NO), the angle setting part 21 obtains the output values of the acceleration sensor while the vehicle is traveling, and calculates the vehicle angle θd based thereon (STEP S13). The method of calculating the vehicle angle θd is as described with reference to
Next, the angle setting part 21 determines whether or not an initial learning process is currently in progress (STEP S14). When the initial learning process is in progress (STEP S14; YES), the angle setting part 21 determines whether or not the stored number of output value data accumulated by the acceleration sensor 12 stored in the memory part 20 is equal to or greater than a predetermined value (STEP S15). Here, with regard to the “predetermined value” used for the determination, a value that ensures the calculation accuracy of the vehicle angle θd is acquired by experiment etc. and is set.
If the number of stored data is equal to or greater than a predetermined value (STEP S15; YES), then the angle setting part 21 calculates the vehicle reference angle θI and writes and stores it in the memory part 20 (STEP S16). The method of calculating the vehicle reference angle θI is as described with reference to
Here, if the number of stored data is less than the predetermined value (STEP S15; NO), then the vehicle reference angle θI is not calculated and the process returns to STEP S10, then the subsequent processes are performed. That is, while the number of accumulated data is less than the predetermined value, the accumulation of output values of the acceleration sensor 12 while the vehicle is traveling continues.
As can be understood from the processes of STEP S13 to STEP S16, in the vehicular lamp system of the present embodiment, leveling control using the vehicle angle θd based on acceleration is not executed during the initial learning process, and the state of the optical axis is retained based on the vehicle angle θaf set when the vehicle is at a stop.
When the initial learning process is completed (STEP S14; NO), the angle setting part 21 calculates the actual vehicle angle θ (STEP S17). The actual vehicle angle θ is obtained as a difference between the vehicle angle θd obtained based on the acceleration and the vehicle reference angle θI(θ=θd−θI).
The angle setting part 21 provides the calculated actual vehicle angle θ to the optical axis control part 22. The optical axis control part 22 performs optical axis control based on the actual vehicle angle θ (STEP S18). Specifically, a control signal for controlling the optical axis a of each lamp unit 13 is generated by the optical axis control part 22 and outputted to each lamp unit 13, and the optical axis a of each lamp unit 13 is adjusted according to the control signal. Thereafter, the process returns to the above-described STEP S10, and the subsequent processes are performed.
According to the above-described embodiment, it is possible to obtain correction information necessary for automatic leveling control without requiring a special environment such as a road surface inclination angle of 0°.
It should be noted that this invention is not limited to the subject matter of the foregoing embodiment, and can be implemented by being variously modified within the scope of the present invention as defined by the appended claims. For example, in the above-described embodiment, although the direction of the light source of the lamp unit was adjusted by an actuator, the optical axis adjustment method is not limited thereto. For example, if the light source of the lamp unit has a configuration in which a plurality of light emitting elements are arranged in a matrix, then automatic leveling can also be realized by switching up and down the row of the light emitting elements to be lit according to the attitude angle.
Number | Date | Country | Kind |
---|---|---|---|
2018-138273 | Jul 2018 | JP | national |