Vehicle lighting control device, vehicle lighting system, and vehicle lighting control method

The vehicular lamp control system improves auto-leveling accuracy by using an acceleration sensor with a non-integer sampling frequency and a tilt sensor to adjust the optical axis, addressing vibration interference and ensuring precise light distribution.

JP7550938B2Active Publication Date: 2024-09-13KOITO MFG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023137863
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-06-14
Filing Date
2023-08-28
Publication Date
2024-09-13
Estimated Expiration
2040-06-02

AI Technical Summary

Technical Problem

Existing auto-leveling systems for vehicle lamps, particularly those using acceleration sensors, face challenges in achieving high accuracy due to interference from vibration sources, leading to reduced precision in adjusting the optical axis of vehicle lamps.

Method used

A vehicular lamp control system that incorporates an acceleration sensor sampling acceleration at a non-integer multiple of the vibration frequency of the vehicle lamp's vibration sources, combined with a control unit that adjusts the optical axis based on the sensor's output, and a tilt sensor to determine the vehicle's inclination relative to the horizontal plane, while accounting for changes in vehicle attitude angles.

Benefits of technology

Enhances the accuracy of auto-leveling control by minimizing interference from vibrations and accurately adjusting the optical axis of vehicle lamps, ensuring optimal light distribution regardless of vehicle tilt changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007550938000009
    Figure 0007550938000009
  • Figure 0007550938000010
    Figure 0007550938000010
  • Figure 0007550938000008
    Figure 0007550938000008
Patent Text Reader

Abstract

To improve the accuracy of auto-leveling control of a vehicular lamp.SOLUTION: A control device for a vehicular lamp includes: a reception unit 34 that receives a signal from an inclination sensor 32 enabling the derivation of the inclination angle of a vehicle 300; a control unit 36 that outputs an adjustment signal for the optical axis angle of a vehicular lamp 1 in response to a change in the inclination angle while the vehicle is being stopped, and avoids the generation or output of the adjustment signal or outputs a maintaining signal for the optical axis angle in response to a change in the inclination angle while the vehicle is traveling; and a movement determination unit 46 that determines whether the vehicle 300 has moved while an ignition switch 314 is in an off state. The control unit 36 outputs the adjustment signal in response to a change in the inclination angle while the ignition switch 314 is in the off state if the movement determination unit 46 has determined that the vehicle has not moved, and avoids the generation or output of the adjustment signal or outputs the maintaining signal in response to a change in the inclination angle while the ignition switch 314 is in the off state if the movement determination unit 46 has determined that the vehicle has moved.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a vehicle lamp control device, a vehicle lamp system, and a vehicle lamp control method, and more particularly to a vehicle lamp control device, a vehicle lamp system, and a vehicle lamp control method used in automobiles and the like. [Background technology]

[0002] Conventionally, there is known an auto-leveling control that automatically adjusts the optical axis position of a vehicle headlamp according to the inclination angle of the vehicle to change the irradiation direction of the headlamp. In general, in the auto-leveling control, the optical axis position of the headlamp is adjusted based on the pitch angle of the vehicle derived from the output value of the vehicle height sensor. In contrast, Patent Document 1 discloses a control device for a vehicle lamp that performs auto-leveling control using an acceleration sensor. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2012-030782 A Summary of the Invention [Problem to be solved by the invention]

[0004] When an acceleration sensor is used, the auto-leveling system can be made cheaper and lighter than when a vehicle height sensor is used. As a result, the cost and weight of the vehicle can be reduced. However, even when an acceleration sensor is used, there is always a demand for higher accuracy of the auto-leveling control.

[0005] The present invention has been made in view of the above circumstances, and one of its objects is to provide a technique for improving the accuracy of auto-leveling control of a vehicle lamp. [Means for solving the problem]

[0006] In order to solve the above problems, one aspect of the present invention is a control device for a vehicle lamp that controls adjustment of a light axis angle in a vehicle lamp equipped with a vibration generating source that vibrates at a first frequency. The control device includes an acceleration sensor that is equipped in the vehicle lamp and configured to sample acceleration at a second frequency that is a non-integer multiple of the first frequency, a receiving unit that receives a signal indicating an output value of the acceleration sensor, and a control unit that executes control to adjust the light axis angle of the vehicle lamp based on the output value of the acceleration sensor.

[0007] Another aspect of the present invention is a vehicle lamp system comprising a vehicle lamp capable of adjusting a light axis, and the vehicle lamp control device according to any one of the above aspects.

[0008] Another aspect of the present invention is a method for controlling adjustment of a light axis angle of a vehicle lamp equipped with a vibration generating source that vibrates at a first frequency. This control method includes the steps of sampling acceleration at a second frequency that is a non-integer multiple of the first frequency by an acceleration sensor equipped in the vehicle lamp, and adjusting the light axis angle of the vehicle lamp based on the sampled acceleration.

[0009] Another aspect of the present invention is a control device for a vehicle lamp. The control device includes a receiving unit that receives a signal indicating an output value of an inclination sensor capable of deriving the inclination angle of the vehicle relative to a horizontal plane, a control unit that outputs an adjustment signal that instructs adjustment of the light axis angle of the vehicle lamp in response to a change in the inclination angle while the vehicle is stopped, and outputs a maintenance signal that instructs maintenance of the light axis angle in response to a change in the inclination angle while the vehicle is moving, and a movement determination unit that determines whether the vehicle has moved while the ignition switch is in the off state. When the movement determination unit determines that there has been no movement, the control unit outputs an adjustment signal in response to a change in the inclination angle while the ignition switch is in the off state, or outputs a maintenance signal in response to a change in the inclination angle while the ignition switch is in the off state, when the movement determination unit determines that there has been movement.

[0010] Another aspect of the present invention is a vehicle lamp system including a vehicle lamp capable of adjusting a light axis, an inclination sensor capable of deriving an inclination angle of the vehicle relative to a horizontal plane, and the vehicle lamp control device according to any one of the above aspects.

[0011] Any combination of the above components and any conversion of the present invention into a method, device, system, etc. are also valid aspects of the present invention. Effect of the Invention

[0012] According to the present invention, the accuracy of auto-leveling control of a vehicle lamp can be improved. [Brief description of the drawings]

[0013] [Figure 1] 1 is a vertical cross-sectional view of a vehicle lamp according to a first embodiment. [Diagram 2] 2 is a functional block diagram illustrating the operational cooperation between a vehicle lamp, a leveling ECU, and a vehicle control ECU. FIG. [Diagram 3] 3 is a schematic diagram for explaining an acceleration vector generated in a vehicle and a vehicle inclination angle that can be detected by an acceleration sensor; FIG. [Figure 4] 5 is a diagram showing the relationship between the sampling frequency of an acceleration sensor and the vibration frequency of a vibration source. [Diagram 5] 5 is a flowchart showing an example of auto-leveling control executed by the leveling ECU according to the first embodiment. [Figure 6] FIG. 11 is a vertical cross-sectional view of a vehicle lamp according to a second embodiment. [Figure 7] 2 is a functional block diagram illustrating the operational cooperation between a vehicle lamp, a leveling ECU, and a vehicle control ECU. FIG. [Figure 8] 3 is a schematic diagram for explaining an acceleration vector generated in a vehicle and a vehicle inclination angle that can be detected by an inclination sensor; FIG. [Figure 9]9(A) and 9(B) are schematic diagrams for explaining the relationship between the direction of the vehicle motion acceleration vector and the vehicle attitude angle. [Figure 10] 4 is a graph showing the relationship between the acceleration in the vehicle longitudinal direction and the acceleration in the vehicle vertical direction. [Figure 11] 10 is a flowchart showing an example of auto-leveling control executed by a leveling ECU according to the second embodiment. [Figure 12] 10 is a flowchart showing an example of auto-leveling control executed by a leveling ECU according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] One aspect of the present invention is a control device for a vehicle lamp that controls adjustment of a light axis angle in a vehicle lamp equipped with a vibration generating source that vibrates at a first frequency. The control device includes an acceleration sensor that is equipped in the vehicle lamp and configured to sample acceleration at a second frequency that is a non-integer multiple of the first frequency, a receiving unit that receives a signal indicating an output value of the acceleration sensor, and a control unit that executes control to adjust the light axis angle of the vehicle lamp based on the output value of the acceleration sensor.

[0015] In the above-mentioned aspects, the vibration generating source may be a fan for cooling a heat-generating member mounted in the vehicle lamp. Also, in any of the above-mentioned aspects, the vibration generating source may be a rotating reflector that rotates about a rotation axis while reflecting light emitted from the light source. In addition, in any of the above aspects, a total angle, which is the inclination angle of the vehicle with respect to the horizontal plane, including a road surface angle, which is the inclination angle of the road surface with respect to a horizontal plane, and a vehicle attitude angle, which is the inclination angle of the vehicle with respect to the road surface, can be derived from the output value of the acceleration sensor, and the control unit may execute control to hold a reference value of the road surface angle and a reference value of the vehicle attitude angle, and to output an adjustment signal instructing adjustment of the optical axis angle in response to a change in the total angle while the vehicle is stopped, and to hold a vehicle attitude angle equal to the sum of the change in the total angle while the vehicle is stopped and the reference value of the vehicle attitude angle as a new reference value of the vehicle attitude angle, and to avoid generating or outputting an adjustment signal in response to a change in the total angle while the vehicle is moving, or to output a maintenance signal instructing maintenance of the optical axis angle, and to hold a road surface angle equal to the sum of the change in the total angle while the vehicle is moving and the reference value of the road surface angle as the new reference value of the road surface angle.

[0016] Another aspect of the present invention is a vehicle lamp system comprising a vehicle lamp capable of adjusting a light axis, and the vehicle lamp control device according to any one of the above aspects.

[0017] Another aspect of the present invention is a method for controlling adjustment of a light axis angle of a vehicle lamp equipped with a vibration generating source that vibrates at a first frequency. This control method includes the steps of sampling acceleration at a second frequency that is a non-integer multiple of the first frequency by an acceleration sensor equipped in the vehicle lamp, and adjusting the light axis angle of the vehicle lamp based on the sampled acceleration.

[0018] Another aspect of the present invention is a control device for a vehicle lamp. The control device includes a receiving unit that receives a signal indicating an output value of an inclination sensor capable of deriving the inclination angle of the vehicle relative to a horizontal plane, a control unit that outputs an adjustment signal that instructs adjustment of the light axis angle of the vehicle lamp in response to a change in the inclination angle while the vehicle is stopped, and outputs a maintenance signal that instructs maintenance of the light axis angle in response to a change in the inclination angle while the vehicle is moving, and a movement determination unit that determines whether the vehicle has moved while the ignition switch is in the off state. When the movement determination unit determines that there has been no movement, the control unit outputs an adjustment signal in response to a change in the inclination angle while the ignition switch is in the off state, or outputs a maintenance signal in response to a change in the inclination angle while the ignition switch is in the off state, when the movement determination unit determines that there has been movement.

[0019] In the above aspect, when the inclination angle of the vehicle with respect to the horizontal plane is referred to as the total angle, this total angle includes a road surface angle, which is the inclination angle of the road surface with respect to the horizontal plane, and a vehicle attitude angle, which is the inclination angle of the vehicle with respect to the road surface, and the control unit may volatilically store a reference value of the road surface angle and a reference value of the vehicle attitude angle, and, in response to a change in the total angle while the vehicle is stopped, store a vehicle attitude angle equal to the sum of the change in the total angle while the vehicle is stopped and the reference value of the vehicle attitude angle as a new reference value of the vehicle attitude angle, and, in response to a change in the total angle while the vehicle is moving, store a road surface angle equal to the sum of the change in the total angle while the vehicle is moving and the reference value of the road surface angle as a new reference value of the road surface angle.

[0020] In addition, in the above-mentioned aspect, the control device for the vehicle lighting device includes a memory unit for non-volatilely storing the reference value of the road surface angle and the reference value of the vehicle attitude angle held by the control unit when the ignition switch transitions to the off state, and when the ignition switch transitions to the on state, the control unit may, if the movement determination unit determines that there is movement, hold the road surface angle obtained from the current total angle and the reference value of the vehicle attitude angle read from the memory unit as a new reference value of the road surface angle, and if the movement determination unit determines that there is no movement, hold the vehicle attitude angle obtained from the current total angle and the reference value of the road surface angle read from the memory unit as the reference value of the new vehicle attitude angle.

[0021] In addition, in the above-mentioned aspect, the control device for the vehicle lighting device includes a memory unit for non-volatilely storing the reference value of the vehicle attitude angle held by the control unit when the ignition switch transitions to the off state and the total angle when the ignition switch transitions to the off state, and when the ignition switch transitions to the on state, the control unit may, if the movement determination unit determines that there is movement, hold the road surface angle obtained from the current total angle and the reference value of the vehicle attitude angle read from the memory unit as a new reference value of the road surface angle, and if the movement determination unit determines that there is no movement, hold the vehicle attitude angle obtained from the difference between the current total angle and the total angle read from the memory unit and the reference value of the vehicle attitude angle read from the memory unit as a new reference value of the vehicle attitude angle, and hold the road surface angle obtained from the current total angle and the calculated vehicle attitude angle as the reference value of the new road surface angle.

[0022] In addition, in the above-mentioned aspect, the control device for the vehicle lighting device includes a memory unit for non-volatilely storing the reference value of the road surface angle held by the control unit when the ignition switch transitions to the off state and the total angle when the ignition switch transitions to the off state, and when the ignition switch transitions to the on state, the control unit may, if the movement determination unit determines that there is movement, hold the road surface angle obtained from the difference between the current total angle and the total angle read from the memory unit and the reference value of the road surface angle read from the memory unit as a new reference value of the road surface angle, and hold the vehicle attitude angle obtained from the current total angle and the calculated road surface angle as a reference value of the new vehicle attitude angle, and if the movement determination unit determines that there is no movement, hold the vehicle attitude angle obtained from the current total angle and the reference value of the road surface angle read from the memory unit as the reference value of the new vehicle attitude angle.

[0023] In addition, in the above-mentioned aspect, the control device for the vehicle lighting device includes a memory unit for non-volatilely storing the reference value of the road surface angle and the reference value of the vehicle attitude angle held by the control unit when the ignition switch transitions to the off state, as well as the total angle when the ignition switch transitions to the off state, and when the ignition switch transitions to the on state, the control unit may, if the movement determination unit determines that there is movement, hold the road surface angle obtained from the difference between the current total angle and the total angle read from the memory unit and the reference value of the road surface angle read from the memory unit as a new reference value of the road surface angle, and if the movement determination unit determines that there is no movement, hold the vehicle attitude angle obtained from the difference between the current total angle and the total angle read from the memory unit and the reference value of the vehicle attitude angle read from the memory unit as the reference value of the new vehicle attitude angle.

[0024] In addition, in any of the above aspects, the movement determination unit may determine that the vehicle has moved while the ignition switch is in the off state based on one or more of the vehicle's position information, a signal identifying whether the vehicle is in a market or a factory, and information regarding objects around the vehicle.

[0025] Another aspect of the present invention is a vehicle lamp system including a vehicle lamp capable of adjusting a light axis, an inclination sensor capable of deriving an inclination angle of the vehicle relative to a horizontal plane, and the vehicle lamp control device according to any one of the above aspects.

[0026] The present invention will be described below with reference to the drawings based on preferred embodiments. The embodiments are illustrative and do not limit the invention, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention. The same or equivalent components, members, and processes shown in each drawing are given the same reference numerals, and duplicated descriptions are omitted as appropriate. The scale and shape of each part shown in each drawing are set for convenience to facilitate explanation, and are not to be interpreted as being limiting unless otherwise specified. In addition, when terms such as "first" and "second" are used in this specification or claims, unless otherwise specified, these terms do not represent any order or importance, but are intended to distinguish one configuration from another. In addition, some of the members that are not important in explaining the embodiment in each drawing are omitted.

[0027] (Embodiment 1) In this specification, "during vehicle travel" refers to, for example, the period from when the output value of the vehicle speed sensor 308 described later exceeds 0 until the output value of the vehicle speed sensor 308 becomes 0. "When the vehicle is stopped" refers to, for example, when the output value of the acceleration sensor 32 described later becomes stable after the output value of the vehicle speed sensor 308 becomes 0. "During vehicle stop" refers to, for example, the period from when the output value of the acceleration sensor 32 becomes stable until the output value of the vehicle speed sensor 308 exceeds 0. "When stable" may be when the amount of change in the output value of the acceleration sensor 32 per unit time becomes equal to or less than a predetermined amount, or may be when a predetermined time has elapsed (for example, 1 to 2 seconds) since the output value of the vehicle speed sensor 308 became 0. "The vehicle 300 is stopped" means that the vehicle 300 is in a state of "when the vehicle is stopped" or "while the vehicle is stopped". "Immediately after starting" refers to, for example, a predetermined time from when the output value of the vehicle speed sensor 308 exceeds 0. "Just before starting" refers to, for example, a predetermined time before the output value of the vehicle speed sensor 308 exceeds 0. The terms "while the vehicle is running", "when the vehicle is stopped", "while the vehicle is stopped", "when stable", "immediately after starting", "just before starting", "predetermined amount", and "predetermined time" can be set appropriately based on experiments and simulations by the designer.

[0028] FIG. 1 is a vertical cross-sectional view of a vehicle lamp according to a first embodiment. The vehicle lamp 1 of this embodiment is a vehicle headlamp having a pair of headlamp units formed symmetrically. The pair of headlamp units are arranged on the left and right in the vehicle width direction of the vehicle. Since the right headlamp unit and the left headlamp unit have substantially the same configuration, the following describes the structure of one of the headlamp units as the structure of the vehicle lamp 1, and the description of the structure of the other headlamp unit is omitted.

[0029] The vehicle lamp 1 has a lamp body 2 having a recess that opens toward the front of the vehicle, and a light-transmitting cover 4 that covers the opening of the lamp body 2. The lamp body 2 and the light-transmitting cover 4 form a lamp chamber 6. The lamp chamber 6 houses an optical unit 8.

[0030] The optical unit 8 includes a light source 10, a condenser lens 12, a rotating reflector 14, a projection lens 16, and a heat sink 18. The light source 10 has a structure in which a plurality of light-emitting elements 10b are arranged in an array on a circuit board 10a. Each light-emitting element 10b is configured to be able to be turned on and off individually. As the light-emitting elements 10b, semiconductor light-emitting elements such as LED, EL, and LD can be used. The light source 10 may be an incandescent bulb, a halogen lamp, a discharge bulb, or the like.

[0031] The condensing lens 12 is an optical member that changes the optical path of the light L emitted from the light source 10 and directs the light L toward the blades 14a of the rotating reflector 14. The rotating reflector 14 is an optical member that rotates about a rotation axis R while reflecting the light L emitted from the light source 10. The rotating reflector 14 has a plurality of blades 14a, a rotating cylinder 14b, and a motor 14c as a driving source. The plurality of blades 14a function as a reflecting surface of the light L and are fixed to the circumferential surface of the rotating cylinder 14b. The rotating cylinder 14b is oriented so that the central axis of the cylinder coincides with the output shaft of the motor 14c, and is fixed to the output shaft of the motor 14c. The output shaft of the motor 14c and the central axis of the rotating cylinder 14b coincide with the rotation axis R of the rotating reflector 14.

[0032] When the motor 14c is driven, the blade 14a rotates in one direction around the rotation axis R. The blade 14a reflects the light L while rotating, thereby scanning the area in front of the lamp with the light L. This makes it possible to form a desired light distribution pattern in front of the lamp. For example, the optical unit 8 can form a high beam light distribution pattern having a light blocking portion in an area where an oncoming vehicle is present in front of the vehicle by combining turning on and off the light source 10 and rotating the rotating reflector 14.

[0033] The projection lens 16 is an optical member that projects the light L reflected by the rotating reflector 14 in front of the lamp. The projection lens 16 is, for example, a plano-convex aspherical lens. The shape of the projection lens 16 can be appropriately selected according to the required light distribution characteristics, such as the light distribution pattern and illuminance distribution. The projection lens 16 of this embodiment has a notch 16a on a part of the outer periphery. The presence of the notch 16a makes it difficult for the blade 14a of the rotating reflector 14 to interfere with the projection lens 16, and the projection lens 16 and the rotating reflector 14 can be brought closer to each other.

[0034] The heat sink 18 is a member for cooling the light source 10. The heat sink 18 is disposed on the opposite side of the light source 10 from the rotating reflector 14. The light source 10 is fixed to the surface of the heat sink 18 facing the rotating reflector 14. The light source 10 is cooled by conducting heat from the light source 10 to the heat sink 18. A fan 20 is also accommodated in the lamp chamber 6. The fan 20 is fixed to the lamp body 2 via a support mechanism (not shown) and blows air toward the heat sink 18. This can promote heat dissipation from the heat sink 18, and can further cool the light source 10.

[0035] The optical unit 8 is supported by the lamp body 2 via a lamp bracket 22. The lamp bracket 22 is, for example, a plate-like member arranged with its main surface facing the front-rear direction of the lamp, and the optical unit 8 is fixed to the main surface facing the front side of the lamp. The light source 10 is fixed to the lamp bracket 22 via a heat sink 18. The rotating reflector 14 is fixed to the lamp bracket 22 via a pedestal 15. The projection lens 16 is fixed to the lamp bracket 22 via a lens holder (not shown).

[0036] The lamp bracket 22 has a joint receiving portion 24 that protrudes toward the rear of the lamp at the upper end of the main surface facing the rear of the lamp. A shaft 26 that penetrates the wall surface of the lamp body 2 and extends forward of the lamp is connected to the joint receiving portion 24. A ball joint sphere 26a is provided at the tip of the shaft 26. The joint receiving portion 24 is provided with a spherical space 24a that follows the shape of the ball joint sphere 26a. The joint receiving portion 24 and the shaft 26 are connected by fitting the ball joint sphere 26a into the spherical space 24a.

[0037] A leveling actuator 28 is connected to the lower end of the main surface of the lamp bracket 22 facing the rear side of the lamp. The leveling actuator 28 is, for example, a motor that expands and contracts a rod 28a in the directions of the arrows M and N, and the tip of the rod 28a is fixed to the lamp bracket 22. When the rod 28a expands in the direction of the arrow M, the optical unit 8 is displaced around the engagement portion between the joint receiving portion 24 and the shaft 26 as a fulcrum and assumes a rearward tilting position. When the rod 28a contracts in the direction of the arrow N, the optical unit 8 is displaced around the engagement portion as a fulcrum and assumes a forward tilting position. Therefore, by driving the leveling actuator 28, it is possible to realize a leveling adjustment that directs the pitch angle of the optical axis Ax of the vehicle lamp 1 downward or upward. Note that the structure of the optical unit 8 itself and the support structure of the optical unit 8 are not limited to those described above.

[0038] The lamp chamber 6 also accommodates a leveling ECU 30 that functions as a control device for the vehicle lamp according to this embodiment, and an acceleration sensor 32. The leveling ECU 30 and the acceleration sensor 32 will be described in detail below.

[0039] Fig. 2 is a functional block diagram for explaining the operational cooperation between the vehicle lamp, the leveling ECU, and the vehicle control ECU. The leveling ECU 30 and the vehicle control ECU 302 are realized as hardware configurations by elements and circuits including a computer CPU and memory, and as software configurations by computer programs, etc., but are depicted in Fig. 2 as functional blocks realized by the cooperation of these. Those skilled in the art will understand that these functional blocks can be realized in various forms by combining hardware and software.

[0040] The leveling ECU 30 includes an acceleration sensor 32, a receiving unit 34, a control unit 36, a transmitting unit 38, and a memory 40. The acceleration sensor 32 of this embodiment is mounted on the circuit board of the leveling ECU 30 and is mounted on the vehicle lamp 1. However, this is not particularly limited to the configuration, and the acceleration sensor 32 may be mounted on a circuit board different from that of the leveling ECU 30. In this case, the leveling ECU 30 may be installed inside the vehicle 300, for example, near the dashboard. The leveling ECU 30 is connected to a vehicle control ECU 302 and a light switch 304 mounted on the vehicle 300. Signals output from the vehicle control ECU 302 and the light switch 304 are received by the receiving unit 34. The receiving unit 34 also receives a signal indicating the output value of the acceleration sensor 32.

[0041] A steering sensor 306, a vehicle speed sensor 308, a navigation system 310, and the like mounted on the vehicle 300 are connected to the vehicle control ECU 302. Signals output from these are received by the receiver 34 via the vehicle control ECU 302 as necessary. The light switch 304 transmits signals for controlling the lighting state of the vehicle lamp 1 and signals for instructing the execution of auto-leveling control to the vehicle control ECU 302 and the leveling ECU 30 according to the operation content of the driver. The light switch 304 also transmits signals to a power source 312 mounted on the vehicle 300.

[0042] The signal received by the receiving unit 34 is transmitted to the control unit 36. The control unit 36 ​​calculates the pitch angle of the optical axis Ax of the vehicular lamp 1 suitable for the posture of the vehicle 300 (hereinafter, this angle will be referred to as the optical axis angle θo as appropriate) based on the output value of the acceleration sensor 32. In other words, the control unit 36 ​​calculates the optical axis angle θo that the vehicular lamp 1 should have. O Then, the calculated optical axis angle θ O The current optical axis angle θ O In order to "get closer," the current optical axis angle θ O is the calculated optical axis angle θ O The control unit 36 ​​can operate by executing a program stored in the RAM or memory 40 by an integrated circuit constituting the control unit 36.

[0043] The control unit 36 ​​has an angle calculation unit 36a and an adjustment instruction unit 36b. The angle calculation unit 36a generates pitch angle information of the vehicle 300 using the output value of the acceleration sensor 32 and, as necessary, information stored in a RAM (not shown) or a memory 40 of the leveling ECU 30. For example, the angle calculation unit 36a stores the output value of the acceleration sensor 32 transmitted from the receiving unit 34 in the RAM, and when the number of acquired output values ​​reaches a predetermined number, performs an averaging process on the acquired multiple output values, and derives the pitch angle of the vehicle 300 based on the output value obtained by this averaging process.

[0044] The adjustment instruction unit 36b determines the optical axis angle θo that the vehicle lamp 1 should have based on the pitch angle information generated by the angle calculation unit 36a, and adjusts the optical axis angle θ O The adjustment instruction unit 36b generates an adjustment signal that instructs the adjustment of the leveling actuator 28. The adjustment instruction unit 36b outputs the generated adjustment signal to the leveling actuator 28 via the transmission unit 38. The leveling actuator 28 is driven based on the received adjustment signal, thereby adjusting the optical axis Ax of the vehicular lamp 1 in the pitch angle direction. The operation of each unit of the control unit 36 ​​will be described in detail later.

[0045] The vehicle 300 is equipped with a power supply 312 that supplies power to the leveling ECU 30, the vehicle control ECU 302, and the power supply circuit 42 of the vehicle lamp 1. When the light switch 304 is operated to instruct the vehicle lamp 1 to be turned on, power is supplied from the power supply 312 to the light source 10 via the power supply circuit 42. The power supply circuit 42 also supplies power to the rotating reflector 14 and the fan 20 as necessary. The power supply from the power supply 312 to the leveling ECU 30 is performed when the ignition switch 314 is on, and is stopped when the ignition switch 314 is off.

[0046] (Auto-leveling control) Next, a detailed description will be given of the auto-leveling control executed by the leveling ECU 30 having the above-mentioned configuration. Fig. 3 is a schematic diagram for explaining an acceleration vector generated in the vehicle and a tilt angle of the vehicle that can be detected by an acceleration sensor.

[0047] For example, when luggage is placed in the luggage compartment at the rear of the vehicle or when passengers are present in the rear seats, the vehicle posture is tilted backward, and when luggage is removed from the luggage compartment or passengers in the rear seats get off, the vehicle posture is tilted forward from the backward posture. When the vehicle 300 is tilted backward or forward, the light irradiation direction of the vehicle lamp 1 also changes up and down, and the forward irradiation distance becomes longer or shorter. Therefore, the leveling ECU 30 derives the inclination angle or the change amount of the inclination angle in the pitch direction of the vehicle 300 from the output value of the acceleration sensor 32, and sets the optical axis angle θo to an angle according to the vehicle posture. By implementing auto-leveling control that performs leveling adjustment of the vehicle lamp 1 in real time based on the vehicle posture, the reach distance of the forward irradiation light can be optimally adjusted even if the vehicle posture changes.

[0048] In this embodiment, the acceleration sensor 32 is, for example, a three-axis acceleration sensor having an X-axis, a Y-axis, and a Z-axis that are orthogonal to each other. The acceleration sensor 32 is attached to the vehicle lamp 1 in an arbitrary posture and detects an acceleration vector occurring in the vehicle 300. The vehicle 300 while traveling experiences gravitational acceleration and motion acceleration caused by the movement of the vehicle 300. Therefore, as shown in FIG. 3, the acceleration sensor 32 can detect a composite acceleration vector β in which the gravitational acceleration vector G and the motion acceleration vector α are combined. In addition, while the vehicle 300 is stopped, the acceleration sensor 32 can detect the gravitational acceleration vector G. The acceleration sensor 32 outputs a numerical value of each axial component of the detected acceleration vector.

[0049] Since the acceleration sensor 32 is attached to the vehicle lamp 1 in an arbitrary orientation, the X-axis, Y-axis, and Z-axis (axes on the sensor side) of the acceleration sensor 32 when the acceleration sensor 32 is mounted on the vehicle lamp 1 do not necessarily coincide with the front-rear axis, left-right axis, and up-down axis (axes on the vehicle side) of the vehicle 300 that determine the orientation of the vehicle 300. For this reason, the control unit 36 ​​needs to convert the three-axis components output from the acceleration sensor 32, i.e., the components of the sensor coordinate system, into the three-axis components of the vehicle 300, i.e., the components of the vehicle coordinate system.

[0050] The leveling ECU 30 holds in advance reference axis information indicating the positional relationship between the axis of the acceleration sensor 32 attached to the vehicle lamp 1, the axis of the vehicle 300, and the road surface angle. For example, the leveling ECU 30 holds in the memory 40, as the reference axis information, a conversion table in which the numerical values ​​of each axis component in the output value of the acceleration sensor 32 correspond to the numerical values ​​of each axis component of the vehicle 300. The memory 40 in this embodiment is a non-volatile memory. When the angle calculation unit 36a acquires a plurality of numerical values ​​of each component of the X-axis, Y-axis, and Z-axis output from the acceleration sensor 32, the angle calculation unit 36a performs an averaging process on each component and then converts the numerical values ​​into the components of the front-rear axis, left-right axis, and up-down axis of the vehicle 300 using the reference axis information. Therefore, the acceleration in the front-rear direction, left-right direction, and up-down direction of the vehicle can be derived from the output value of the acceleration sensor 32.

[0051] Furthermore, the inclination of the vehicle 300 with respect to the gravitational acceleration vector G can be derived from the output value of the acceleration sensor 32 while the vehicle is stopped. That is, the total angle θ, which is the inclination angle of the vehicle 300 with respect to the horizontal plane, including the road surface angle θr, which is the inclination angle of the road surface with respect to the horizontal plane, and the vehicle attitude angle θv, which is the inclination angle of the vehicle 300 with respect to the road surface, can be derived from the output value of the acceleration sensor 32. Note that the road surface angle θr, the vehicle attitude angle θv, and the total angle θ are angles in the pitch direction of the vehicle 300.

[0052] The auto-leveling control is intended to absorb the change in the forward illumination distance of the vehicle lamp 1 accompanying the change in the inclination angle in the pitch direction of the vehicle 300, and to maintain the forward reach distance of the illumination light at an optimum level. Therefore, the inclination angle of the vehicle 300 required for the auto-leveling control is the vehicle attitude angle θv. That is, in the auto-leveling control, it is desired that the optical axis angle θo of the vehicle lamp 1 is adjusted when the vehicle attitude angle θv changes, and that the optical axis angle θo of the vehicle lamp 1 is maintained when the road surface angle θr changes. To achieve this, it is necessary to extract information about the vehicle attitude angle θv from the total angle θ.

[0053] (Basic Control) In response to this, the control unit 36 ​​executes a basic control of auto-leveling, which will be described below. In the basic control, a change in the total angle θ while the vehicle is traveling is estimated as a change in the road surface angle θr, and a change in the total angle θ while the vehicle is stopped is estimated as a change in the vehicle attitude angle θv, and the vehicle attitude angle θv is derived from the total angle θ. Since the vehicle attitude angle θv rarely changes due to an increase or decrease in the load amount or the number of passengers while the vehicle is traveling, the change in the total angle θ while the vehicle is traveling can be estimated as a change in the road surface angle θr. Furthermore, since the vehicle 300 rarely moves and the road surface angle θr changes while the vehicle is stopped, the change in the total angle θ while the vehicle is stopped can be estimated as a change in the vehicle attitude angle θv.

[0054] First, when the vehicle 300 is in a predetermined reference posture on a predetermined reference road surface, a predetermined initialization process is performed. Then, in the initialization process, an initial setting value of the road surface angle θr and an initial setting value of the vehicle posture angle θv are acquired and stored in the RAM of the control unit 36 ​​or the memory 40. Specifically, for example, in a vehicle manufacturer's manufacturing plant or a dealer's maintenance plant, the vehicle 300 is placed on a reference road surface designed to be parallel to a horizontal plane, and the reference posture is set. For example, the reference posture is the posture of the vehicle 300 when one person is in the driver's seat or when no one is in the driver's seat. Then, an initialization signal is transmitted by operating a switch of an initialization processing device in the plant or by communication of a CAN (Controller Area Network) system, or the like.

[0055] When the control unit 36 ​​receives the initialization signal, it executes a predetermined initialization process. In the initialization process, an initial aiming adjustment is performed, and the optical axis Ax of the vehicle lamp 1 is adjusted to an initial angle. In addition, the angle calculation unit 36a stores the output value of the acceleration sensor 32 in the reference state as an initial setting value of the road surface angle θr (e.g., θr=0°) and an initial setting value of the vehicle attitude angle θv (e.g., θv=0°) in the RAM and holds them in a volatile manner. In addition, these initial setting values ​​are written to the memory 40 and held in a non-volatile manner.

[0056] In the basic control, the control unit 36 ​​derives the total angle θ using multiple output values ​​of the acceleration sensor 32, and outputs an adjustment signal that instructs adjustment of the optical axis angle θo in response to a change in the total angle θ while the vehicle is stopped, thereby driving the leveling actuator 28. In addition, the control unit 36 ​​avoids driving the leveling actuator 28 in response to a change in the total angle θ while the vehicle is moving.

[0057] The control unit 36 ​​also starts the auto-leveling control using the initial setting value of the vehicle attitude angle θv as the reference value of the vehicle attitude angle θv and the initial setting value of the road surface angle θr as the reference value of the road surface angle θr. Then, the control unit 36 ​​holds the vehicle attitude angle θv equal to the sum of the change amount of the total angle θ while the vehicle is stopped and the reference value of the vehicle attitude angle θv as a new reference value of the vehicle attitude angle θv. Also, the control unit 36 ​​holds the road surface angle θr equal to the sum of the change amount of the total angle θ while the vehicle is traveling and the reference value of the road surface angle θr as a new reference value of the road surface angle θr. That is, the control unit 36 ​​repeatedly updates the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv every time the vehicle 300 travels and stops.

[0058] For example, in a situation where the vehicle 300 is actually used, the control unit 36 ​​avoids generating or outputting an adjustment signal that instructs adjustment of the optical axis angle θo in response to a change in the total angle θ while the vehicle is traveling. Alternatively, a maintenance signal that instructs maintenance of the optical axis angle θo in response to the change is output. This makes it possible to avoid driving the leveling actuator 28. Then, the angle calculation unit 36a calculates the current (when the vehicle is stopped) total angle θ from multiple output values ​​of the acceleration sensor 32 when the vehicle is stopped. Next, the angle calculation unit 36a subtracts the reference value of the vehicle attitude angle θv from the current total angle θ to obtain the road surface angle θr (θr=θ-θv reference value). This road surface angle θr is equal to the sum of the amount of change in the total angle θ while the vehicle is traveling and the reference value of the road surface angle θr.

[0059] The angle calculation unit 36a updates the reference value of the road surface angle θr held by the obtained road surface angle θr as a new reference value of the road surface angle θr. As a result, the change amount of the road surface angle θr and the change amount of the total angle θ during the vehicle travel, which is estimated, are incorporated into the reference value of the road surface angle θr.

[0060] Furthermore, the control unit 36 ​​drives the leveling actuator 28 by generating and outputting an adjustment signal for the optical axis angle θo in response to a change in the total angle θ while the vehicle is stopped. Specifically, while the vehicle is stopped, the angle calculation unit 36a repeatedly calculates the current total angle θ from multiple output values ​​of the acceleration sensor 32 at a predetermined timing. Then, the angle calculation unit 36a subtracts the reference value of the road surface angle θr from the current total angle θ to obtain the vehicle attitude angle θv (θv=θ-θr reference value). This vehicle attitude angle θv is equal to the sum of the change in the total angle θ while the vehicle is stopped and the reference value of the vehicle attitude angle θv.

[0061] The angle calculation unit 36a updates the reference value of the vehicle attitude angle θv held by the vehicle attitude angle calculation unit 36a, using the obtained vehicle attitude angle θv as a new reference value of the vehicle attitude angle θv. As a result, the change amount of the vehicle attitude angle θv and the change amount of the total angle θ while the vehicle is stopped, which is estimated, are incorporated into the reference value of the vehicle attitude angle θv.

[0062] Then, the adjustment instruction unit 36b generates an adjustment signal for the optical axis angle θo using the calculated vehicle attitude angle θv or the updated reference value of the new vehicle attitude angle θv. For example, the adjustment instruction unit 36b determines the optical axis angle θo using a conversion table that associates the value of the vehicle attitude angle θv with the value of the optical axis angle θo and is recorded in advance in the memory 40, and generates the adjustment signal. The generated adjustment signal is output from the transmission unit 38 to the leveling actuator 28.

[0063] Furthermore, when the ignition switch 314 is turned off, the control unit 36 ​​records at least one of the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv held in the RAM in the memory 40. This makes it possible to hold the reference value of the road surface angle θr and / or the reference value of the vehicle attitude angle θv even when the ignition switch 314 is turned off. The control unit 36 ​​can detect that the ignition switch 314 is turned off by receiving an IG-OFF signal transmitted from the vehicle control ECU 302 side or by detecting that the power supply voltage supplied to the control unit 36 ​​has become equal to or lower than a predetermined value.

[0064] When the ignition switch 314 is in the off state, the vehicle 300 rarely moves and the road surface angle θr rarely changes. Therefore, the change in the total angle θ between when the ignition switch 314 is turned off and when it is turned on can be estimated as the change in the vehicle attitude angle θv. Therefore, when the ignition switch 314 transitions to the on state, the control unit 36 ​​derives the current vehicle attitude angle θv using the total angle θ obtained from the multiple output values ​​of the acceleration sensor 32 and a reference value stored in the memory 40 as the first control after startup.

[0065] When the reference value of the road surface angle θr is stored in the memory 40, the control unit 36 ​​subtracts the reference value of the road surface angle θr from the total angle θ obtained from the multiple output values ​​of the current acceleration sensor 32 to obtain the current vehicle attitude angle θv.

[0066] When the reference value of the vehicle attitude angle θv is stored in the memory 40, the control unit 36 ​​records in the memory 40, when the ignition switch 314 is turned off, the total angle θ last detected before the ignition switch 314 is turned off, in addition to the reference value of the vehicle attitude angle θv. In the first control after startup, the control unit 36 ​​calculates the difference between the total angle θ obtained from the current multiple detection values ​​of the acceleration sensor 32 and the total angle θ last detected before the ignition was turned off. Then, the control unit 36 ​​adds the obtained difference to the reference value of the vehicle attitude angle θv to calculate the current vehicle attitude angle θv.

[0067] The control unit 36 ​​stores the obtained vehicle attitude angle θv in the RAM as a new reference value. In addition, the optical axis Ax is adjusted using the obtained vehicle attitude angle θv or the new reference value of the vehicle attitude angle θv. This makes it possible to incorporate the change in the vehicle attitude angle θv while the ignition switch 314 is turned off into the reference value, and also to adjust the optical axis angle θo to an appropriate position. This makes it possible to improve the accuracy of the auto-leveling control.

[0068] (Sampling frequency of acceleration sensor 32) FIG. 4 is a diagram showing the relationship between the sampling frequency of the acceleration sensor and the vibration frequency of the vibration source. The vehicle lamp 1 is often equipped with a vibration source. The vibration source is, for example, a fan 20 for cooling a heat-generating member (light source 10 and heat sink 18 in this embodiment) mounted on the vehicle lamp 1. The vibration source is, for example, a rotating reflector 14 that rotates about a rotation axis R while reflecting light emitted from the light source 10. When the center of gravity of the fan 20 or the rotating reflector 14 is shifted from the rotation axis, the fan 20 or the rotating reflector 14 vibrates at a predetermined first frequency. The first frequency is a frequency proportional to the rotation speed of the fan 20 or the rotating reflector 14. In other words, the vibration source generates a periodic vibration A of the first frequency.

[0069] On the other hand, in this embodiment, the acceleration sensor 32 is also mounted on the vehicle lamp 1. When the acceleration sensor 32 is mounted on the vehicle lamp 1, the acceleration detected by the acceleration sensor 32 may also include an acceleration component caused by the periodic vibration A. In this case, the detection accuracy of the inclination angle of the vehicle 300 decreases.

[0070] For acceleration caused by random vibrations such as externally input shocks, the influence of the acceleration on the detection of the inclination angle of the vehicle 300 can be reduced by averaging multiple output values ​​of the acceleration sensor 32. This can improve the accuracy of the detection of the inclination angle. However, for the vibration source that generates the periodic vibration A, the influence may not be reduced by the averaging process. That is, if the sampling frequency of the acceleration sensor 32 (the frequency of the sampling period B) is an integer multiple of the first frequency of the periodic vibration A, the same magnitude of vibration-derived acceleration is added to all output values ​​of the acceleration sensor 32, as shown by the black circles in FIG. 4. In this case, the influence of the vibration source on the detection of the inclination angle cannot be reduced by the averaging process of multiple output values.

[0071] In contrast, the acceleration sensor 32 included in the leveling ECU 30 according to this embodiment is set to sample acceleration at a second frequency (frequency of sampling period C) that is a non-integer multiple of the first frequency, as shown by a white circle in Fig. 4. This makes it possible to change the magnitude of the vibration-derived acceleration added to each output value of the acceleration sensor 32. As a result, the influence of the vibration source on the detection of the tilt angle can be reduced by averaging the multiple output values. As an example, the first frequency is 51.33 Hz or 55.83 Hz, and the second frequency is 20 Hz.

[0072] 4 illustrates the X-axis acceleration component, the same applies to the Y-axis and Z-axis acceleration components. However, the magnitude of each axial component of the vibration-derived acceleration input to the acceleration sensor 32 changes depending on the inclination of the rotation axis of the fan 20 and the rotating reflector 14 with respect to the three axes of the acceleration sensor 32.

[0073] 5 is a flowchart showing an example of the auto-leveling control executed by the leveling ECU according to the embodiment 1. This flow is repeatedly executed at a predetermined timing by the control unit 36 ​​when, for example, an instruction to execute the auto-leveling control is given by the light switch 304 and the ignition switch 314 is on, and ends when the instruction to execute the auto-leveling control is released (or an instruction to stop the auto-leveling control is given) or the ignition switch 314 is turned off.

[0074] First, the control unit 36 ​​determines whether the vehicle 300 is stopped (S101). The control unit 36 ​​can determine whether the vehicle 300 is stopped based on the output value of the vehicle speed sensor 308. If the vehicle 300 is not stopped (N in S101), that is, if the vehicle 300 is moving, the control unit 36 ​​ends this routine. If the vehicle 300 is stopped (Y in S101), the control unit 36 ​​determines whether the vehicle 300 was moving (N in S101) in the stop determination in step S101 of the previous routine (S102). If the previous determination was that the vehicle was moving (Y in S102), this means that the vehicle is "at a stop", and the control unit 36 ​​calculates the road surface angle θr by subtracting the reference value of the vehicle attitude angle θv from the current total angle θ (S103). Then, the obtained road surface angle θr is updated as a new reference value of the road surface angle θr (S104), and this routine ends.

[0075] If the previous determination was that the vehicle was not moving (N in S102), this means that the vehicle was stopped, and the control unit 36 ​​subtracts the reference value of the road surface angle θr from the current total angle θ to calculate the vehicle attitude angle θv (S105). Then, the optical axis angle θo is adjusted using the obtained vehicle attitude angle θv, and the obtained vehicle attitude angle θv is updated as a new reference value (S106), and this routine is terminated.

[0076] As described above, the leveling ECU 30 as a control device for the vehicle lamp 1 according to this embodiment is a device for controlling the adjustment of the optical axis angle θo in the vehicle lamp 1 equipped with a vibration generating source that vibrates at a first frequency, and includes an acceleration sensor 32, a receiver 34, and a controller 36. The acceleration sensor 32 is mounted in the vehicle lamp 1 and is set in advance to sample acceleration at a second frequency that is a non-integer multiple of the first frequency. The receiver 34 receives a signal indicating the output value of the acceleration sensor 32. The controller 36 adjusts the optical axis angle θo of the vehicle lamp 1 based on the output value of the acceleration sensor 32 received by the receiver 34. O The control to adjust the value is performed.

[0077] In this way, by mounting the acceleration sensor 32 having a sampling frequency (second frequency) that is a non-integer multiple of the vibration frequency (first frequency) of the vibration source on the vehicle lamp 1, it is possible to reduce the negative effect of the vibration source on the detection of the inclination angle of the vehicle 300 using the acceleration sensor 32. This makes it possible to improve the detection accuracy of the inclination angle of the vehicle 300. Therefore, it is possible to improve the accuracy of the auto-leveling control of the vehicle lamp 1.

[0078] The vibration generating sources mounted on the vehicle lamp 1 are a fan 20 for cooling heat generating components such as the light source 10 mounted on the vehicle lamp 1, and a rotating reflector 14 that rotates about a rotation axis R while reflecting light L emitted from the light source 10. In other words, according to this embodiment, the accuracy of the auto-leveling control in the vehicle lamp 1 equipped with the fan 20 and the rotating reflector 14 can be improved.

[0079] The control unit 36 ​​of this embodiment also holds a reference value for the road surface angle θr and a reference value for the vehicle attitude angle θv. The control unit 36 ​​outputs an adjustment signal in response to a change in the total angle θ while the vehicle is stopped, and holds the vehicle attitude angle θv, which is equal to the sum of the amount of change in the total angle θ while the vehicle is stopped and the reference value of the vehicle attitude angle θv, as a new reference value for the vehicle attitude angle θv. The control unit 36 ​​also avoids generating or outputting an adjustment signal in response to a change in the total angle θ while the vehicle is moving, or holds the optical axis angle θ O The control circuit 32 outputs a maintain signal to instruct the driver to maintain the road surface angle θr at the reference value of the road surface angle θr. At the same time, the control circuit 32 maintains the road surface angle θr equal to the sum of the amount of change in the total angle θ while the vehicle is traveling and the reference value of the road surface angle θr as a new reference value of the road surface angle θr. By this control, the auto-leveling control using the acceleration sensor 32 can be realized with a simple control structure.

[0080] The first embodiment of the present invention has been described above in detail. The above-mentioned embodiment merely shows a specific example of implementing the present invention. The contents of the embodiment do not limit the technical scope of the present invention, and many design changes such as changes, additions, and deletions of components are possible within the scope of the invention as defined in the claims. A new embodiment with design changes has the effects of the combined embodiment and modification. In the above-mentioned embodiment, the contents for which such design changes are possible are emphasized by adding notations such as "in this embodiment" and "in this embodiment", but design changes are permitted even in contents without such notations. Any combination of the above-mentioned components is also valid as an aspect of the present invention. The hatching on the cross section of the drawing does not limit the material of the object to which the hatching is added.

[0081] In the first embodiment, the vehicle attitude angle θv is calculated by subtracting the reference value of the road surface angle θr from the total angle θ, and the road surface angle θr is calculated by subtracting the reference value of the vehicle attitude angle θv from the total angle θ, but the present invention is not limited to this configuration.

[0082] For example, the control unit 36 ​​calculates a difference Δθ1 between the current total angle θ and the previously calculated total angle θ while the vehicle is stopped, and adds the difference Δθ1 to the reference value of the vehicle attitude angle θv to obtain the vehicle attitude angle θv including the change in the total angle θ while the vehicle is stopped (θv=θv reference value+Δθ1). In addition, the obtained vehicle attitude angle θv is updated as a new reference value of the vehicle attitude angle θv. As a result, the change in the vehicle attitude angle θv and the change in the total angle θ while the vehicle is stopped, which is estimated, are incorporated into the reference value of the vehicle attitude angle θv. According to this control method, auto-leveling control is possible without using the reference value of the road surface angle θr. Therefore, the auto-leveling control can be simplified.

[0083] Also, for example, the control unit 36 ​​holds the total angle θ immediately before starting the vehicle 300 as a reference value of the total angle θ, and calculates a difference Δθ2 by subtracting the reference value of the total angle θ from the total angle θ when the vehicle is stopped. Then, the difference Δθ2 is added to the reference value of the road surface angle θr to obtain a road surface angle θr including a change in the total angle θ while the vehicle is traveling (θr = θr reference value + Δθ2). Also, the obtained road surface angle θr is updated as a new reference value of the road surface angle θr. As a result, the change in the total angle θ while the vehicle is traveling, which is estimated as the change in the road surface angle θr, is incorporated into the reference value of the road surface angle θr. Then, the control unit 36 ​​subtracts the reference value of the road surface angle θr from the total angle θ while the vehicle is stopped to obtain a vehicle attitude angle θv including a change in the total angle θ while the vehicle is stopped (θv = θ - θr reference value). According to this control method, auto-leveling control without using the reference value of the vehicle attitude angle θv is possible. Therefore, the auto-leveling control can be simplified.

[0084] Except in cases where there is no technical consistency, the retention of a value obtained by calculation using a predetermined component also includes the retention of the component used in the calculation of the value. For example, in the case where the reference value of the road surface angle θr is calculated by subtracting the reference value of the vehicle attitude angle θv from the total angle θ, the retention of the reference value of the road surface angle θr also includes the retention of the reference values ​​of the total angle θ and the vehicle attitude angle θv used in the calculation. In addition, in the case where the reference value of the vehicle attitude angle θv is calculated by subtracting the reference value of the road surface angle θr from the total angle θ, the retention of the reference value of the vehicle attitude angle θv also includes the retention of the reference values ​​of the total angle θ and the road surface angle θr used in the calculation. In addition, the retention of the total angle θ also includes the retention of the output value of the acceleration sensor 32.

[0085] The invention according to the above-mentioned first embodiment may be specified by the items described below. [Item 1] A vehicle lamp (1) having an adjustable optical axis (Ax); A control device (30) for a vehicle lamp (1); A vehicle lighting system comprising: [Item 2] A light axis angle (θ O A method for controlling an adjustment of a vehicle lamp (1), comprising: Sampling acceleration at a second frequency that is a non-integer multiple of the first frequency by an acceleration sensor (32) mounted in the vehicle lamp (1); The optical axis angle (θ O ) adjusting the A method for controlling a vehicle lamp (1), comprising:

[0086] (Embodiment 2) In this specification, "during vehicle travel" refers to, for example, the period from when the output value of the vehicle speed sensor 308 described later exceeds 0 until the output value of the vehicle speed sensor 308 becomes 0. "When the vehicle is stopped" refers to, for example, when the output value of the tilt sensor 132 described later becomes stable after the output value of the vehicle speed sensor 308 becomes 0. "During vehicle stop" refers to, for example, the period from when the output value of the tilt sensor 132 becomes stable until the output value of the vehicle speed sensor 308 exceeds 0. "When stable" may be when the amount of change in the output value of the tilt sensor 132 per unit time becomes equal to or less than a predetermined amount, or may be when a predetermined time has elapsed (for example, 1 to 2 seconds) since the output value of the vehicle speed sensor 308 became 0. "The vehicle 300 is stopped" means that the vehicle 300 is in a state of "when the vehicle is stopped" or "while the vehicle is stopped". "Immediately after starting" refers to, for example, a predetermined time from when the output value of the vehicle speed sensor 308 exceeds 0. "Just before starting" refers to, for example, a predetermined time before the output value of the vehicle speed sensor 308 exceeds 0. The terms "while the vehicle is running", "when the vehicle is stopped", "while the vehicle is stopped", "when stable", "immediately after starting", "just before starting", "predetermined amount", and "predetermined time" can be set appropriately based on experiments and simulations by the designer.

[0087] 6 is a vertical cross-sectional view of a vehicle lamp according to embodiment 2. Vehicle lamp 1 of this embodiment is a vehicle headlamp having a pair of headlamp units formed symmetrically. The pair of headlamp units are arranged on the left and right in the vehicle width direction of the vehicle. Since the right headlamp unit and the left headlamp unit have substantially the same configuration, the following describes the structure of one of the headlamp units as the structure of vehicle lamp 1, and the description of the structure of the other headlamp unit is omitted.

[0088] The vehicle lamp 1 has a lamp body 2 having a recess that opens toward the front of the vehicle, and a light-transmitting cover 4 that covers the opening of the lamp body 2. The lamp body 2 and the light-transmitting cover 4 form a lamp chamber 6. The lamp chamber 6 houses an optical unit 8.

[0089] The optical unit 8 includes a light source 10, a condenser lens 12, a rotating reflector 14, a projection lens 16, and a heat sink 18. The light source 10 has a structure in which a plurality of light-emitting elements 10b are arranged in an array on a circuit board 10a. Each light-emitting element 10b is configured to be able to be turned on and off individually. As the light-emitting elements 10b, semiconductor light-emitting elements such as LED, EL, and LD can be used. The light source 10 may be an incandescent bulb, a halogen lamp, a discharge bulb, or the like.

[0090] The condensing lens 12 is an optical member that changes the optical path of the light L emitted from the light source 10 and directs the light L toward the blades 14a of the rotating reflector 14. The rotating reflector 14 is an optical member that rotates about a rotation axis R while reflecting the light L emitted from the light source 10. The rotating reflector 14 has a plurality of blades 14a, a rotating cylinder 14b, and a motor 14c as a driving source. The plurality of blades 14a function as a reflecting surface of the light L and are fixed to the circumferential surface of the rotating cylinder 14b. The rotating cylinder 14b is oriented so that the central axis of the cylinder coincides with the output shaft of the motor 14c, and is fixed to the output shaft of the motor 14c. The output shaft of the motor 14c and the central axis of the rotating cylinder 14b coincide with the rotation axis R of the rotating reflector 14.

[0091] When the motor 14c is driven, the blade 14a rotates in one direction around the rotation axis R. The blade 14a reflects the light L while rotating, thereby scanning the area in front of the lamp with the light L. This makes it possible to form a desired light distribution pattern in front of the lamp. For example, the optical unit 8 can form a high beam light distribution pattern having a light blocking portion in an area where an oncoming vehicle is present in front of the vehicle by combining turning on and off the light source 10 and rotating the rotating reflector 14.

[0092] The projection lens 16 is an optical member that projects the light L reflected by the rotating reflector 14 in front of the lamp. The projection lens 16 is, for example, a plano-convex aspherical lens. The shape of the projection lens 16 can be appropriately selected according to the required light distribution characteristics, such as the light distribution pattern and illuminance distribution. The projection lens 16 of this embodiment has a notch 16a on a part of the outer periphery. The presence of the notch 16a makes it difficult for the blade 14a of the rotating reflector 14 to interfere with the projection lens 16, and the projection lens 16 and the rotating reflector 14 can be brought closer to each other.

[0093] The heat sink 18 is a member for cooling the light source 10. The heat sink 18 is disposed on the opposite side of the light source 10 from the rotating reflector 14. The light source 10 is fixed to the surface of the heat sink 18 facing the rotating reflector 14. The light source 10 is cooled by conducting heat from the light source 10 to the heat sink 18. A fan 20 is also accommodated in the lamp chamber 6. The fan 20 is fixed to the lamp body 2 via a support mechanism (not shown) and blows air toward the heat sink 18. This can promote heat dissipation from the heat sink 18, and can further cool the light source 10.

[0094] The optical unit 8 is supported by the lamp body 2 via a lamp bracket 22. The lamp bracket 22 is, for example, a plate-like member arranged with its main surface facing the front-rear direction of the lamp, and the optical unit 8 is fixed to the main surface facing the front side of the lamp. The light source 10 is fixed to the lamp bracket 22 via a heat sink 18. The rotating reflector 14 is fixed to the lamp bracket 22 via a pedestal 15. The projection lens 16 is fixed to the lamp bracket 22 via a lens holder (not shown).

[0095] The lamp bracket 22 has a joint receiving portion 24 that protrudes toward the rear of the lamp at the upper end of the main surface facing the rear of the lamp. A shaft 26 that penetrates the wall surface of the lamp body 2 and extends forward of the lamp is connected to the joint receiving portion 24. A ball joint sphere 26a is provided at the tip of the shaft 26. The joint receiving portion 24 is provided with a spherical space 24a that follows the shape of the ball joint sphere 26a. The joint receiving portion 24 and the shaft 26 are connected by fitting the ball joint sphere 26a into the spherical space 24a.

[0096] A leveling actuator 28 is connected to the lower end of the main surface of the lamp bracket 22 facing the rear side of the lamp. The leveling actuator 28 is, for example, a motor that expands and contracts a rod 28a in the directions of the arrows M and N, and the tip of the rod 28a is fixed to the lamp bracket 22. When the rod 28a expands in the direction of the arrow M, the optical unit 8 is displaced around the engagement portion between the joint receiving portion 24 and the shaft 26 as a fulcrum and assumes a rearward tilting position. When the rod 28a contracts in the direction of the arrow N, the optical unit 8 is displaced around the engagement portion as a fulcrum and assumes a forward tilting position. Therefore, by driving the leveling actuator 28, it is possible to realize a leveling adjustment that directs the pitch angle of the optical axis Ax of the vehicle lamp 1 downward or upward. Note that the structure of the optical unit 8 itself and the support structure of the optical unit 8 are not limited to those described above.

[0097] The lamp chamber 6 also accommodates a leveling ECU 30 that functions as a control device for the vehicle lamp according to this embodiment, and an inclination sensor 132. The leveling ECU 30 and the inclination sensor 132 will be described in detail below.

[0098] Fig. 7 is a functional block diagram for explaining the operational cooperation between the vehicle lamp, the leveling ECU, and the vehicle control ECU. The leveling ECU 30 and the vehicle control ECU 302 are realized as hardware configurations by elements and circuits including a computer CPU and memory, and as software configurations by computer programs, etc., but are depicted in Fig. 7 as functional blocks realized by the cooperation of these. Those skilled in the art will understand that these functional blocks can be realized in various forms by combining hardware and software.

[0099] The leveling ECU 30 includes an inclination sensor 132, a receiving unit 34, a control unit 36, a transmitting unit 38, a memory 40 (storage unit), an ignition detection unit 44, and a movement determination unit 46. The inclination sensor 132 of the present embodiment is mounted on a circuit board of the leveling ECU 30 and is mounted on the vehicle lamp 1. However, the present invention is not limited to this configuration, and the inclination sensor 132 may be mounted on a circuit board other than that of the leveling ECU 30. The leveling ECU 30 and the inclination sensor 132 may be installed inside the vehicle 300, for example, near the dashboard. One of the leveling ECU 30 and the inclination sensor 132 may be disposed inside the vehicle lamp 1, and the other may be disposed inside the vehicle 300.

[0100] The leveling ECU 30 is connected to a vehicle control ECU 302 and a light switch 304 mounted on the vehicle 300. Signals output from the vehicle control ECU 302 and the light switch 304 are received by a receiving unit 34. The receiving unit 34 also receives a signal indicating the output value of the tilt sensor 132.

[0101] A steering sensor 306, a vehicle speed sensor 308, a navigation system 310 equipped with a GPS, an ignition switch 314, a camera 316 that captures images of the surroundings of the vehicle 300, a signal receiving unit 318, and the like, which are mounted on the vehicle 300, are connected to the vehicle control ECU 302. Signals output from these are received by a receiving unit 34 via the vehicle control ECU 302 as necessary. The signal receiving unit 318 receives a signal identifying whether the vehicle 300 is in a market or a factory (hereinafter, appropriately referred to as an identification signal) and information regarding objects in the surroundings of the vehicle 300 (hereinafter, appropriately referred to as object information) from the outside.

[0102] An example of the identification signal is a signal transmitted from the facility of the vehicle manufacturer when the vehicle 300 is in the manufacturing plant of the vehicle manufacturer, and used to set the leveling ECU 30 and the vehicle control ECU 302 to the factory mode. Another example of the identification signal is a signal transmitted from the facility of the dealer when the vehicle 300 is in the dealer, and used to set the leveling ECU 30 and the vehicle control ECU 302 to the market mode. The factory mode is a mode that is set mainly when the vehicle 300 is in the factory (including the time when the vehicle 300 is being transported from the factory to the dealer), that is, a mode that is set in a situation where the vehicle 300 is not used by a user. The market mode is a mode that is set mainly when the vehicle 300 is outside the factory, that is, a mode that is set in a situation where the vehicle 300 is used by a user. An example of the object information is a signal indicating the position information when the position information is sent from a traffic light, a street lamp, a surveillance camera, or the like present around the vehicle 300. The object information includes image information captured by the camera 316 in addition to the information received by the signal receiving unit 318.

[0103] The light switch 304 transmits signals for controlling the lighting state of the vehicle lamp 1 and signals for instructing the execution of auto-leveling control to the vehicle control ECU 302 and the leveling ECU 30 according to the operation contents of the driver. The light switch 304 also transmits signals to the power source 312 mounted on the vehicle 300.

[0104] The signal received by the receiving unit 34 is transmitted to the control unit 36. The control unit 36 ​​calculates the pitch angle of the optical axis Ax of the vehicular lamp 1 suited to the attitude of the vehicle 300 (hereinafter, this angle will be referred to as the optical axis angle θo as appropriate) based on the output value of the tilt sensor 132. In other words, the control unit 36 ​​calculates the optical axis angle θo that the vehicular lamp 1 should have. O Then, the calculated optical axis angle θ O The current optical axis angle θ O In order to "get closer," the current optical axis angle θ O is the calculated optical axis angle θ O The control unit 36 ​​can operate by the integrated circuit constituting the control unit 36 ​​executing a program stored in the RAM 36c, which is a volatile memory, or the memory 40, which is a non-volatile memory.

[0105] The control unit 36 ​​has an angle calculation unit 36a, an adjustment instruction unit 36b, and a RAM 36c. The angle calculation unit 36a generates pitch angle information of the vehicle 300 using the output value of the inclination sensor 132 and, as necessary, information stored in the RAM 36c or the memory 40. For example, the angle calculation unit 36a stores the output value of the inclination sensor 132 transmitted from the receiving unit 34 in the RAM 36c, and when the number of acquired output values ​​reaches a predetermined number, performs an averaging process on the acquired multiple output values, and derives the pitch angle of the vehicle 300 based on the output value obtained by this averaging process.

[0106] The adjustment instruction unit 36b determines the optical axis angle θo that the vehicle lamp 1 should have based on the pitch angle information generated by the angle calculation unit 36a, and adjusts the optical axis angle θ O The adjustment instruction unit 36b generates an adjustment signal that instructs the adjustment of the leveling actuator 28. The adjustment instruction unit 36b outputs the generated adjustment signal to the leveling actuator 28 via the transmission unit 38. The leveling actuator 28 is driven based on the received adjustment signal, whereby the optical axis Ax of the vehicular lamp 1 is adjusted in the pitch angle direction.

[0107] The ignition detection unit 44 can detect the on / off state of the ignition switch 314 by receiving a signal indicating a transition to an on or off state from the ignition switch 314 via the vehicle control ECU 302. Alternatively, the ignition detection unit 44 can detect the transition of the ignition switch 314 to an on or off state by monitoring the voltage supplied from the power source 312. The ignition detection unit 44 transmits a signal indicating that the ignition switch 314 is transitioning to an on or off state to the control unit 36 ​​and the movement determination unit 46.

[0108] The movement determination unit 46 determines that the vehicle 300 has moved while the ignition switch 314 is in the off state. The movement determination unit 46 can determine that the vehicle 300 has moved while the ignition switch 314 is off, based on one or more of the position information, the identification signal, and the object information of the vehicle 300. In an example of a case where the presence or absence of vehicle movement is determined using a plurality of types of information and signals, when at least one of the used information and signals indicates the presence of vehicle movement, it is determined that the vehicle has moved even if the remaining information and signals indicate the absence of vehicle movement.

[0109] The movement determination unit 46 can acquire position information of the vehicle 300 by receiving a signal from the navigation system 310 via the vehicle control ECU 302. The movement determination unit 46 can also receive an identification signal from the signal receiving unit 318 via the vehicle control ECU 302. The movement determination unit 46 can also receive a signal indicating object information from the signal receiving unit 318 or the camera 316 via the vehicle control ECU 302. The operation of each unit of the leveling ECU 30 will be described in detail later.

[0110] The vehicle 300 is equipped with a power supply 312 that supplies power to the leveling ECU 30, the vehicle control ECU 302, and the power supply circuit 42 of the vehicle lamp 1. When the light switch 304 is operated to instruct the vehicle lamp 1 to be turned on, power is supplied from the power supply 312 to the light source 10 via the power supply circuit 42. The power supply circuit 42 also supplies power to the rotating reflector 14 and the fan 20 as necessary. The power supply from the power supply 312 to the leveling ECU 30 is performed when the ignition switch 314 is on, and is stopped when the ignition switch 314 is off.

[0111] (Auto-leveling control) Next, a detailed description will be given of the auto-leveling control executed by the leveling ECU 30 having the above-mentioned configuration. Fig. 8 is a schematic diagram for explaining an acceleration vector generated in the vehicle and a vehicle inclination angle that can be detected by an inclination sensor.

[0112] For example, when luggage is placed in the luggage compartment at the rear of the vehicle or when passengers are present in the rear seats, the vehicle posture is tilted backward, and when luggage is removed from the luggage compartment or passengers in the rear seats get off, the vehicle posture is tilted forward from the backward posture. When the vehicle 300 is tilted backward or forward, the light irradiation direction of the vehicle lamp 1 also changes up and down, and the forward irradiation distance becomes longer or shorter. Therefore, the leveling ECU 30 derives the pitch direction tilt angle of the vehicle 300 or the amount of change thereof from the output value of the tilt sensor 132, and sets the optical axis angle θo to an angle according to the vehicle posture. By implementing auto-leveling control that performs leveling adjustment of the vehicle lamp 1 in real time based on the vehicle posture, the reach distance of the forward irradiation light can be optimally adjusted even if the vehicle posture changes.

[0113] In this embodiment, the tilt sensor 132 is, for example, a three-axis acceleration sensor having an X-axis, a Y-axis, and a Z-axis that are orthogonal to each other. The tilt sensor 132 is attached to the vehicle lamp 1 in an arbitrary posture and detects an acceleration vector occurring in the vehicle 300. The vehicle 300 while traveling experiences gravitational acceleration and motion acceleration caused by the movement of the vehicle 300. Therefore, as shown in FIG. 8, the tilt sensor 132 can detect a resultant acceleration vector β in which the gravitational acceleration vector G and the motion acceleration vector α are combined. In addition, while the vehicle 300 is stopped, the tilt sensor 132 can detect the gravitational acceleration vector G. The tilt sensor 132 outputs a numerical value of each axial component of the detected acceleration vector.

[0114] Since the inclination sensor 132 is attached in an arbitrary orientation to the vehicle lamp 1, the X-axis, Y-axis, and Z-axis (axes on the sensor side) of the inclination sensor 132 when the inclination sensor 132 is mounted on the vehicle lamp 1 do not necessarily coincide with the front-rear axis, left-right axis, and up-down axis (axes on the vehicle side) of the vehicle 300 that determine the orientation of the vehicle 300. For this reason, the control unit 36 ​​needs to convert the three-axis components output from the inclination sensor 132, i.e., the components of the sensor coordinate system, into the three-axis components of the vehicle 300, i.e., the components of the vehicle coordinate system.

[0115] The leveling ECU 30 holds in advance reference axis information indicating the positional relationship between the axis of the tilt sensor 132 attached to the vehicle lamp 1, the axis of the vehicle 300, and the road surface angle. For example, the leveling ECU 30 holds in the memory 40, as the reference axis information, a conversion table in which the numerical value of each axis component in the output value of the tilt sensor 132 corresponds to the numerical value of each axis component of the vehicle 300. When the angle calculation unit 36a acquires the numerical values ​​of each component of the X-axis, Y-axis, and Z-axis output from the tilt sensor 132, it converts them into the components of the front-rear axis, the left-right axis, and the up-down axis of the vehicle 300 using the reference axis information. Therefore, it is possible to derive the acceleration in the front-rear direction, the left-right direction, and the up-down direction of the vehicle from the output value of the tilt sensor 132.

[0116] Furthermore, the inclination of the vehicle 300 with respect to the gravitational acceleration vector G can be derived from the output value of the inclination sensor 132 while the vehicle is stopped. That is, the total angle θ, which is the inclination angle of the vehicle 300 with respect to the horizontal plane, including the road surface angle θr, which is the inclination angle of the road surface with respect to the horizontal plane, and the vehicle attitude angle θv, which is the inclination angle of the vehicle 300 with respect to the road surface, can be derived from the output value of the inclination sensor 132. Note that the road surface angle θr, the vehicle attitude angle θv, and the total angle θ are angles in the pitch direction of the vehicle 300.

[0117] The auto-leveling control is intended to absorb the change in the forward illumination distance of the vehicle lamp 1 accompanying the change in the inclination angle in the pitch direction of the vehicle 300, and to maintain the forward reach distance of the illumination light at an optimum level. Therefore, the inclination angle of the vehicle 300 required for the auto-leveling control is the vehicle attitude angle θv. That is, in the auto-leveling control, it is desired that the optical axis angle θo of the vehicle lamp 1 is adjusted when the vehicle attitude angle θv changes, and that the optical axis angle θo of the vehicle lamp 1 is maintained when the road surface angle θr changes. To achieve this, it is necessary to extract information about the vehicle attitude angle θv from the total angle θ.

[0118] (Basic Control) In response to this, the control unit 36 ​​executes a basic control of auto-leveling, which will be described below. In the basic control, a change in the total angle θ while the vehicle is traveling is estimated as a change in the road surface angle θr, and a change in the total angle θ while the vehicle is stopped is estimated as a change in the vehicle attitude angle θv, and the vehicle attitude angle θv is derived from the total angle θ. Since the vehicle attitude angle θv rarely changes due to an increase or decrease in the load amount or the number of passengers while the vehicle is traveling, the change in the total angle θ while the vehicle is traveling can be estimated as a change in the road surface angle θr. Furthermore, since the vehicle 300 rarely moves and the road surface angle θr changes while the vehicle is stopped, the change in the total angle θ while the vehicle is stopped can be estimated as a change in the vehicle attitude angle θv.

[0119] First, when the vehicle 300 is in a predetermined reference posture on a predetermined reference road surface, a predetermined initialization process is performed. Then, in the initialization process, an initial setting value of the road surface angle θr and an initial setting value of the vehicle posture angle θv are acquired and stored in the RAM 36c or the memory 40. Specifically, for example, in a vehicle manufacturer's manufacturing plant or a dealer's maintenance plant, the vehicle 300 is placed on a reference road surface designed to be parallel to a horizontal plane, and the reference posture is set. For example, the reference posture is the posture of the vehicle 300 when one person is in the driver's seat or when no one is in the driver's seat. Then, an initialization signal is transmitted by operating a switch of an initialization processing device in the plant or by communication of a CAN (Controller Area Network) system, or the like.

[0120] When the control unit 36 ​​receives the initialization signal, it executes a predetermined initialization process. For example, the initialization process is executed in a state where the leveling ECU 30 is set to the factory mode. In the initialization process, an initial aiming adjustment is performed, and the optical axis Ax of the vehicle lamp 1 is adjusted to an initial angle. In addition, the angle calculation unit 36a stores the output value of the tilt sensor 132 in the reference state as an initial setting value of the road surface angle θr (e.g., θr=0°) and an initial setting value of the vehicle attitude angle θv (e.g., θv=0°) in the RAM 36c and holds them in a volatile manner. In addition, these initial setting values ​​are written to the memory 40 and held in a non-volatile manner.

[0121] In the basic control, the control unit 36 ​​derives the total angle θ using the output value of the tilt sensor 132, and outputs an adjustment signal instructing adjustment of the optical axis angle θo in response to a change in the total angle θ while the vehicle is stopped, thereby driving the leveling actuator 28. In addition, the control unit 36 ​​avoids driving the leveling actuator 28 in response to a change in the total angle θ while the vehicle is moving.

[0122] The control unit 36 ​​starts the auto-leveling control using the initial setting value of the vehicle attitude angle θv as the reference value of the vehicle attitude angle θv and the initial setting value of the road surface angle θr as the reference value of the road surface angle θr. Then, for a change in the total angle θ while the vehicle is stopped, the control unit 36 ​​holds the vehicle attitude angle θv equal to the sum of the change amount of the total angle θ while the vehicle is stopped and the reference value of the vehicle attitude angle θv as a new reference value of the vehicle attitude angle θv. For a change in the total angle θ while the vehicle is traveling, the control unit 36 ​​holds the road surface angle θr equal to the sum of the change amount of the total angle θ while the vehicle is traveling and the reference value of the road surface angle θr as a new reference value of the road surface angle θr. That is, the control unit 36 ​​repeatedly updates the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv every time the vehicle 300 travels and stops.

[0123] For example, in a situation where the vehicle 300 is actually used, the control unit 36 ​​avoids generating or outputting an adjustment signal that instructs adjustment of the optical axis angle θo in response to a change in the total angle θ while the vehicle is traveling. Alternatively, a maintenance signal that instructs maintenance of the optical axis angle θo in response to the change is output. This makes it possible to avoid driving the leveling actuator 28. Then, the angle calculation unit 36a calculates the current (when the vehicle is stopped) total angle θ from the output value of the tilt sensor 132 when the vehicle is stopped. Next, the angle calculation unit 36a subtracts the reference value of the vehicle attitude angle θv from the current total angle θ to obtain the road surface angle θr (θr=θ-θv reference value). This road surface angle θr is equal to the sum of the amount of change in the total angle θ while the vehicle is traveling and the reference value of the road surface angle θr.

[0124] The angle calculation unit 36a updates the reference value of the road surface angle θr held by using the obtained road surface angle θr as a new reference value of the road surface angle θr. As a result, the change amount of the road surface angle θr and the change amount of the total angle θ during vehicle travel, which is estimated, are incorporated into the reference value of the road surface angle θr. The angle calculation unit 36a may calculate the difference Δθ1 of the total angle θ before and after travel when the vehicle stops, and add the difference Δθ1 to the reference value of the road surface angle θr to obtain the road surface angle θr including the change amount of the total angle θ during vehicle travel (θr = θr reference value + Δθ1). For example, the angle calculation unit 36a can calculate the difference Δθ1 by holding the total angle θ immediately before the start of the vehicle 300 as the reference value of the total angle θ immediately after the start of the vehicle 300, and subtracting the reference value of the total angle θ from the total angle θ when the vehicle stops.

[0125] In addition, while the vehicle is stopped, the angle calculation unit 36a repeatedly calculates the current total angle θ from the output value of the inclination sensor 132 at a predetermined timing. Then, the angle calculation unit 36a subtracts the reference value of the road surface angle θr from the current total angle θ to obtain the vehicle attitude angle θv (θv=θ-θr reference value). This vehicle attitude angle θv is equal to the sum of the change in the total angle θ while the vehicle is stopped and the reference value of the vehicle attitude angle θv.

[0126] The angle calculation unit 36a updates the reference value of the vehicle attitude angle θv held by the obtained vehicle attitude angle θv as a new reference value of the vehicle attitude angle θv. As a result, the change amount of the vehicle attitude angle θv and the change amount of the total angle θ while the vehicle is stopped, which is estimated, are incorporated into the reference value of the vehicle attitude angle θv. Note that the angle calculation unit 36a may calculate a difference Δθ2 from the current total angle θ and the previously calculated total angle θ while the vehicle is stopped, and add the difference Δθ2 to the reference value of the vehicle attitude angle θv to obtain the vehicle attitude angle θv including the change amount of the total angle θ while the vehicle is stopped (θv=θv reference value+Δθ2).

[0127] Then, the adjustment instruction unit 36b generates an adjustment signal for the optical axis angle θo using the calculated vehicle attitude angle θv or the updated reference value of the new vehicle attitude angle θv. For example, the adjustment instruction unit 36b determines the optical axis angle θo using a conversion table that associates the value of the vehicle attitude angle θv with the value of the optical axis angle θo and is recorded in advance in the memory 40, and generates the adjustment signal. The generated adjustment signal is output from the transmission unit 38 to the leveling actuator 28.

[0128] (Correction process) As described above, in the basic control of the auto-leveling, the reference value of the vehicle attitude angle θv or the road surface angle θr is subtracted from the total angle θ, and the reference value is repeatedly updated. Alternatively, the difference Δθ1 of the change in the total angle θ is added to the reference value of the road surface angle θr, and the difference Δθ2 is added to the reference value of the vehicle attitude angle θv, and the reference value is repeatedly updated. As a result, the changes in the road surface angle θr and the vehicle attitude angle θv are incorporated into the respective reference values. When the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv are repeatedly rewritten in this manner, there is a risk that the detection error of the inclination sensor 132 and the like will accumulate in the reference value, and the accuracy of the auto-leveling control will decrease. Therefore, the leveling ECU 30 executes the control described below as a correction process for the reference value and the optical axis angle θo.

[0129] Fig. 9(A) and Fig. 9(B) are schematic diagrams for explaining the relationship between the direction of the vehicle's motion acceleration vector and the vehicle attitude angle. Fig. 9(A) shows a state where the vehicle attitude angle θv is 0°, and Fig. 9(B) shows a state where the vehicle attitude angle θv has changed from 0°. In Fig. 9(A) and Fig. 9(B), the motion acceleration vector α and the resultant acceleration vector β generated when the vehicle 300 moves forward are indicated by solid arrows, and the motion acceleration vector α and the resultant acceleration vector β generated when the vehicle 300 decelerates or moves backward are indicated by dashed arrows. Fig. 10 is a graph showing the relationship between the acceleration in the vehicle's longitudinal direction and the acceleration in the vehicle's vertical direction.

[0130] The vehicle 300 moves parallel to the road surface. Therefore, the motion acceleration vector α is a vector parallel to the road surface regardless of the vehicle attitude angle θv. Also, as shown in FIG. 9(A), when the vehicle attitude angle θv of the vehicle 300 is 0°, the longitudinal axis Vx of the vehicle 300 is theoretically parallel to the road surface. Therefore, the motion acceleration vector α is a vector parallel to the longitudinal axis Vx of the vehicle 300. Therefore, when the magnitude of the motion acceleration vector α changes due to acceleration or deceleration of the vehicle 300, the trajectory of the tip of the resultant acceleration vector β detected by the inclination sensor 132 becomes a straight line parallel to the longitudinal axis Vx of the vehicle 300.

[0131] 9(B), when the vehicle attitude angle θv is not 0°, the longitudinal axis Vx of the vehicle 300 is deviated obliquely with respect to the road surface. Therefore, the motion acceleration vector α is a vector that extends obliquely with respect to the longitudinal axis Vx of the vehicle 300. Therefore, the trajectory of the tip of the resultant acceleration vector β when the magnitude of the motion acceleration vector α changes due to acceleration or deceleration of the vehicle 300 is a straight line that is inclined with respect to the longitudinal axis Vx of the vehicle 300.

[0132] If the output value of the inclination sensor 132 obtained while the vehicle is traveling is plotted on a coordinate system in which the acceleration in the longitudinal direction of the vehicle is set as the first axis (X-axis) and the acceleration in the vertical direction of the vehicle is set as the second axis (Z-axis), the result shown in FIG. 10 can be obtained. A1 ~t An is the time t1 to t n is the output value at point t B1 ~t Bn is the time t1 to t n The plot of the output values ​​may be a plot of acceleration values ​​in the vehicle coordinate system obtained from the output value of the tilt sensor 132, or may be a plot of acceleration values ​​in the sensor coordinate system.

[0133] In this way, a straight line (or a vector) can be derived from at least two plotted points, and the vehicle attitude angle θv can be estimated by obtaining the slope of the straight line. For example, A1 ~tAn ,t B1 ~t Bn Linear approximation equations A and B are obtained using the least squares method, moving average method, or the like for the vehicle attitude angle θv, and the slopes of the linear approximation equations A and B are calculated. When the vehicle attitude angle θv is 0°, linear approximation equation A parallel to the X-axis is obtained from the output value of the inclination sensor 132. In other words, the slope of linear approximation equation A is 0. On the other hand, when the vehicle attitude angle θv is not 0°, linear approximation equation B having a slope according to the vehicle attitude angle θv is obtained from the output value of the inclination sensor 132. Therefore, the angle between linear approximation equations A and B (θ in FIG. 10) is calculated. AB ), or the slope of the linear approximation equation B itself is the vehicle attitude angle θv. Therefore, the vehicle attitude angle θv can be estimated from the slope of a straight line obtained by plotting the output value of the inclination sensor 132 while the vehicle is traveling.

[0134] Therefore, the angle calculation unit 36a plots the output value of the inclination sensor 132 obtained while the vehicle is traveling on a coordinate system in which the acceleration in the longitudinal direction of the vehicle is set on the first axis and the acceleration in the vertical direction of the vehicle is set on the second axis. Then, the angle calculation unit 36a derives the vehicle attitude angle θv or its change amount using the inclination of a straight line obtained from the plotted points. The angle calculation unit 36a adjusts the reference value of the vehicle attitude angle θv based on the derived vehicle attitude angle θv or its change amount. Alternatively, the angle calculation unit 36a holds the derived vehicle attitude angle θv as a new reference value. This corrects the reference value of the vehicle attitude angle θv.

[0135] For example, the angle calculation unit 36a starts the correction process when it detects that the vehicle 300 is traveling based on the output value of the vehicle speed sensor 308. In the correction process, the output value of the inclination sensor 132 is repeatedly transmitted to the control unit 36 ​​at a predetermined time interval. The output value of the inclination sensor 132 transmitted to the control unit 36 ​​is stored in the RAM 36c. Then, when the number of output values ​​reaches a predetermined number required for one derivation of a straight line, the angle calculation unit 36a plots the output value of the inclination sensor 132 on the above-mentioned coordinates to derive the straight line. Note that the angle calculation unit 36a may plot the output value on the coordinates every time it receives the output value of the inclination sensor 132, and derive the straight line when the number of plotted output values ​​reaches a predetermined number.

[0136] The adjustment instruction unit 36b generates and outputs an adjustment signal for the optical axis angle θo using the derived vehicle attitude angle θv or its change amount, or the updated new reference value of the vehicle attitude angle θv. This corrects the optical axis angle θo. Thereafter, the corrected vehicle attitude angle θv is set as the reference value of the vehicle attitude angle θv, and the road surface angle θr obtained from the current total angle θ and the reference value of the vehicle attitude angle θv is set as the reference value of the road surface angle θr (thereby correcting the reference value of the road surface angle θr), and the above-mentioned basic control is resumed.

[0137] (Control of ignition switch 314 when it is switched on and off) When the ignition switch 314 transitions to the OFF state, the control unit 36 ​​of this embodiment writes the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv held in the RAM 36c to the memory 40. This allows both reference values ​​to be stored in a non-volatile manner. Therefore, even if the ignition switch 314 transitions to the OFF state, the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv can be held, and the auto-leveling control can be resumed after the ignition switch 314 transitions to the ON state.

[0138] The control unit 36 ​​can detect that the ignition switch 314 has been switched to the OFF state by receiving a signal from the ignition detection unit 44. The power required for the operation of writing the reference value to the memory 40 after detecting that the ignition switch 314 has been switched to the OFF state can be supplied, for example, from the power supplied from the power source 312 during the period from when the ignition switch 314 is switched to the OFF state until the power supply from the power source 312 is stopped, or from a storage element (not shown) such as a capacitor provided around the power source 312 or in the leveling ECU 30. Alternatively, the power required for the operation of writing the reference value can be supplied by providing the leveling ECU 30 with a power supply maintaining unit that maintains the power supply from the power source 312 for a predetermined time when the ignition switch 314 is in the OFF state.

[0139] In the basic control of auto-leveling, the change in the total angle θ while the vehicle is stopped is estimated as the change in the vehicle attitude angle θv. Based on this technical concept, the change in the total angle θ that occurs while the ignition switch 314 is off is also estimated as the change in the vehicle attitude angle θv. In a situation where the vehicle 300 is actually used (i.e., in market mode), it is rare for the vehicle 300 to move while the ignition switch 314 is off, causing the road surface angle θr to change. For this reason, it is valid to estimate the change in the total angle θ between when the ignition switch 314 is off and when it is on as the change in the vehicle attitude angle θv.

[0140] Therefore, when the ignition switch 314 transitions to the ON state, the first control after startup (hereinafter, this control will be referred to as the start control as appropriate) is to derive the current vehicle attitude angle θv using the total angle θ obtained from the current output value of the inclination sensor 132 and the reference value of the road surface angle θr read from the memory 40, and thereby incorporate the change in the total angle θ that occurred while the ignition switch 314 was OFF into the reference value of the vehicle attitude angle θv.

[0141] However, the road surface angle θr may change while the ignition switch 314 is off. For example, when the vehicle 300 is transported or towed by a ship or a car carrier, or when the vehicle is moved by a conveyor belt or a lift in a factory (i.e., in the factory mode), the road surface angle θr changes while the vehicle is stopped. For this reason, if the change in the total angle θ that occurs while the ignition switch 314 is off is uniformly treated as a change in the vehicle attitude angle θv, the accuracy of the auto-leveling control may decrease.

[0142] Therefore, when the movement determination unit 46 determines that there was no movement of the vehicle while the ignition switch 314 was off, the control unit 36 ​​outputs an adjustment signal in response to a change in the total angle θ while the ignition switch 314 was in the off state. Also, when the movement determination unit 46 determines that there was movement of the vehicle while the ignition switch 314 was off, the control unit 36 ​​avoids generating or outputting an adjustment signal, or outputs a maintenance signal in response to a change in the total angle θ while the ignition switch 314 was in the off state.

[0143] More specifically, when the ignition switch 314 transitions to an ON state, the control unit 36 ​​executes the following two types of control as start control depending on the determination result of the movement determination unit 46. First, when the movement determination unit 46 determines that the vehicle has moved, the control unit 36 ​​holds the road surface angle θr (θr=θ-θv reference value) obtained from the current total angle θ and the reference value of the vehicle attitude angle θv read from the memory 40 as a new reference value of the road surface angle θr. This makes it possible to incorporate the change in the total angle θ that occurs while the ignition switch 314 is OFF into the reference value of the road surface angle θr. The reference value of the vehicle attitude angle θv stored in the memory 40 is held as is.

[0144] When the basic control is started thereafter, in the initial optical axis control, the optical axis Ax is adjusted using the reference value of the vehicle attitude angle θv stored in the memory 40. The reference value of the vehicle attitude angle θv stored in the memory 40 does not include the amount of change in the total angle θ while the ignition switch 314 is off. Therefore, it is possible to avoid generation of an adjustment signal for changes in the total angle θ while the ignition switch 314 is in the off state.

[0145] On the other hand, if the movement determination unit 46 determines that the vehicle has not moved, the control unit 36 ​​holds the vehicle attitude angle θv (θv=θ-θr reference value) obtained from the current total angle θ and the reference value of the road surface angle θr read from the memory 40 as a new reference value of the vehicle attitude angle θv. This makes it possible to incorporate the change in the total angle θ that occurs while the ignition switch 314 is off into the reference value of the vehicle attitude angle θv. The reference value of the road surface angle θr stored in the memory 40 is held as is.

[0146] When the basic control is started thereafter, in the first optical axis control, the optical axis Ax is adjusted using the reference value of the new vehicle attitude angle θv updated in the start control. This makes it possible to output an adjustment signal in response to a change in the vehicle attitude angle θv that occurs while the ignition switch 314 is off. Note that in the start control, the optical axis Ax may be adjusted using the calculated vehicle attitude angle θv or the reference value of the new vehicle attitude angle θv.

[0147] When the movement determination unit 46 determines that the vehicle has moved and a change in the vehicle attitude angle θv has occurred, the amount of change in the vehicle attitude angle θv is incorporated into the reference value of the road surface angle θr. When the movement determination unit 46 determines that the vehicle has not moved and a change in the road surface angle θr has occurred, the amount of change in the road surface angle θr is incorporated into the reference value of the vehicle attitude angle θv. In these cases, an error occurs between the actual road surface angle θr and the vehicle attitude angle θv and the reference values ​​of the road surface angle θr and the vehicle attitude angle θv held by the control unit 36. However, this error can be corrected by the above-mentioned correction process.

[0148] The movement determination unit 46 can determine whether the vehicle has moved by comparing the position information before and after the ignition switch 314 is turned off and on. The movement determination unit 46 can also determine whether the vehicle has moved by comparing the image information obtained from the camera 316 before and after the ignition switch 314 is turned off and on.

[0149] Furthermore, when the latest identification signal received from the signal receiving unit 318 is a signal for setting the factory mode, the movement determination unit 46 can determine that the vehicle 300 has moved while the ignition switch 314 is off. In a situation in the factory mode, the vehicle 300 may be moved with the ignition switch 314 off, but the possibility of loading and unloading luggage or getting on and off the vehicle is low. For this reason, when the leveling ECU 30 is in the factory mode, it is possible to estimate that the vehicle 300 has moved while the ignition switch 314 is off. Note that, regardless of whether the vehicle 300 has actually moved or not, when the vehicle is in the factory mode, it may be uniformly determined that the vehicle has moved. This is because even if the start control is executed by determining that the vehicle has moved when the vehicle 300 is not moving, the actual road surface angle θr does not deviate from the reference value of the road surface angle θr.

[0150] On the other hand, when the latest identification signal received from the signal receiving unit 318 is a signal for setting the market mode, the movement determining unit 46 can determine that the vehicle 300 is not moving while the ignition switch 314 is off. In a market mode situation, although luggage may be loaded and unloaded or passengers may get on and off while the ignition switch 314 is off, the possibility that the vehicle 300 is moved is low. For this reason, when the leveling ECU 30 is in the market mode, it is possible to estimate that the vehicle 300 is not moving while the ignition switch 314 is off.

[0151] 11 and 12 are flowcharts showing an example of auto-leveling control executed by the leveling ECU according to embodiment 2. This flow is repeatedly executed by the leveling ECU 30 at a predetermined timing when, for example, an instruction to execute the auto-leveling control is given by the light switch 304 and the ignition switch 314 is on, and ends when the instruction to execute the auto-leveling control is released (or an instruction to stop the auto-leveling control is given) or the ignition switch 314 is turned off.

[0152] 11, first, the leveling ECU 30 judges whether or not an IG-OFF flag indicating that the ignition switch 314 has transitioned to an OFF state is set (S101). The control unit 36 ​​can judge whether or not the IG-OFF flag is set based on whether or not the IG-OFF flag is stored in the memory 40. If the IG-OFF flag is set, it means that this routine is the first routine after the ignition switch 314 has transitioned to an ON state.

[0153] If the IG-OFF flag is not set (N in S101), the leveling ECU 30 executes basic control. Specifically, the leveling ECU 30 judges whether the vehicle 300 is stopped (S102). The leveling ECU 30 can judge whether the vehicle 300 is stopped based on the output value of the vehicle speed sensor 308. If the vehicle 300 is not stopped (N in S102), that is, if the vehicle 300 is traveling, the leveling ECU 30 executes a correction process (S103) and then ends this routine.

[0154] When the vehicle 300 is stopped (Y in S102), the leveling ECU 30 judges whether the vehicle 300 was moving (N in S102) in the stop judgment in step S102 of the previous routine (S104). When the previous judgment was that the vehicle 300 was moving (Y in S104), this means that the vehicle is "stopped", and the leveling ECU 30 calculates the road surface angle θr by subtracting the reference value of the vehicle attitude angle θv from the current total angle θ (S105). Then, the obtained road surface angle θr is updated as a new reference value of the road surface angle θr (S106), and this routine ends.

[0155] If the previous determination was that the vehicle was not moving (N in S104), this means that the vehicle is stopped, and the leveling ECU 30 subtracts the reference value of the road surface angle θr from the current total angle θ to calculate the vehicle attitude angle θv (S107). Then, the optical axis angle θo is adjusted using the obtained vehicle attitude angle θv, and the obtained vehicle attitude angle θv is updated as a new reference value (S108).

[0156] Next, the leveling ECU 30 judges whether the ignition switch 314 has been switched to the OFF state (S109). If the ignition switch 314 has not been switched to the OFF state (N in S109), the leveling ECU 30 ends this routine. If the ignition switch 314 has been switched to the OFF state (Y in S109), the leveling ECU 30 writes the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv held in the RAM 36c to the memory 40 (S110). Then, the leveling ECU 30 sets the IG-OFF flag (S111) and ends this routine. The leveling ECU 30 can set the IG-OFF flag by writing the IG-OFF flag to the memory 40.

[0157] When the IG-OFF flag is set (Y in S101), the leveling ECU 30 transitions to the start control shown in FIG. 12. First, the leveling ECU 30 judges whether the vehicle 300 has moved while the ignition switch 314 is off (S201). When the vehicle 300 has moved (Y in S201), the leveling ECU 30 calculates the road surface angle θr by subtracting the reference value of the vehicle attitude angle θv read from the memory 40 from the current total angle θ (S202). Then, the obtained road surface angle θr is updated as a new reference value of the road surface angle θr (S203). After that, the leveling ECU 30 cancels the setting of the IG-OFF flag (S204) and ends this routine. The leveling ECU 30 can cancel the setting of the IG-OFF flag by deleting the IG-OFF flag stored in the memory 40.

[0158] If the vehicle 300 has not moved (N in S201), the leveling ECU 30 subtracts the reference value of the road surface angle θr read from the memory 40 from the current total angle θ to calculate the vehicle attitude angle θv (S205). Then, the leveling ECU 30 updates the obtained vehicle attitude angle θv as a new reference value of the vehicle attitude angle θv (S206). After that, the leveling ECU 30 cancels the setting of the IG-OFF flag (S204) and ends this routine.

[0159] As described above, the leveling ECU 30 as the control device of the vehicle lamp 1 according to the present embodiment includes the receiving unit 34 that receives a signal indicating an output value of the inclination sensor 132 capable of deriving the total angle θ, which is the inclination angle of the vehicle 300 with respect to the horizontal plane, and the receiving unit 34 that detects the optical axis angle θ with respect to the change in the total angle θ while the vehicle is stopped. O and outputting an adjustment signal for the total angle θ while the vehicle is traveling, or outputting or generating an adjustment signal for the total angle θ while the vehicle is traveling, O and a movement determination unit 46 that determines whether the vehicle 300 has moved while the ignition switch 314 is in the off state. When the movement determination unit 46 determines that the vehicle has not moved, the control unit 36 ​​outputs an adjustment signal in response to a change in the total angle θ while the ignition switch 314 is in the off state, and when the movement determination unit 46 determines that the vehicle has moved, the control unit 36 ​​avoids generating or outputting an adjustment signal or outputs a maintenance signal in response to a change in the total angle θ while the ignition switch 314 is in the off state.

[0160] In other words, the leveling ECU 30 of the present embodiment judges whether the vehicle moves during IG OFF, and switches between performing and not performing the optical axis adjustment in response to the change in the total angle θ during IG OFF according to the result. This improves the accuracy of the auto-leveling control of the vehicle lamp 1.

[0161] In addition, the control unit 36 ​​of this embodiment volatilizes the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv in the RAM 36c, and stores the vehicle attitude angle θv equal to the sum of the change amount of the total angle θ while the vehicle is stopped and the reference value of the vehicle attitude angle θv as a new reference value of the vehicle attitude angle θv in response to a change in the total angle θ while the vehicle is stopped, and stores the road surface angle θr equal to the sum of the change amount of the total angle θ while the vehicle is traveling and the reference value of the road surface angle θr as a new reference value of the road surface angle θr in response to a change in the total angle θ while the vehicle is traveling. With this control, the auto-leveling control using the inclination sensor 132 can be realized with a simple control structure.

[0162] The leveling ECU 30 also includes a memory 40 for non-volatilely storing the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv volatilely held by the control unit 36 ​​when the ignition switch 314 transitions to an OFF state. When the ignition switch 314 transitions to an ON state, if the movement determination unit 46 determines that the vehicle has moved, the control unit 36 ​​holds the road surface angle θr obtained from the current total angle θ and the reference value of the vehicle attitude angle θv read from the memory 40 as a new reference value of the road surface angle θr, and if the movement determination unit 46 determines that the vehicle has not moved, the control unit 36 ​​holds the vehicle attitude angle θv obtained from the current total angle θ and the reference value of the road surface angle θr read from the memory 40 as a new reference value of the vehicle attitude angle θv. This makes it possible to improve the accuracy of the auto-leveling control with a simple control structure.

[0163] Furthermore, the movement determination unit 46 determines that the vehicle 300 has moved while the ignition switch 314 is in the off state, based on one or more of the position information of the vehicle 300, the signal identifying whether the vehicle 300 is in a market or a factory, and the information on the objects around the vehicle. This makes it possible to simply and reliably determine the movement of the vehicle 300.

[0164] The second embodiment of the present invention has been described above in detail. The above-mentioned embodiment merely shows a specific example of implementing the present invention. The contents of the embodiment do not limit the technical scope of the present invention, and many design changes such as changes, additions, and deletions of components are possible within the scope of the invention as defined in the claims. A new embodiment with design changes has the effects of the combined embodiment and modification. In the above-mentioned embodiment, the contents for which such design changes are possible are emphasized by adding notations such as "in this embodiment" and "in this embodiment", but design changes are permitted even in contents without such notations. Any combination of the above-mentioned components is also valid as an aspect of the present invention. The hatching on the cross section of the drawing does not limit the material of the object to which the hatching is added.

[0165] In the second embodiment, when the ignition switch 314 transitions to the off state, the control unit 36 ​​writes the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv into the memory 40. However, the present invention is not limited to this configuration, and the leveling ECU 30 may execute the controls of the modified examples 1 to 3 described below.

[0166] (Variation 1) The leveling ECU 30 according to the first modification stores in a non-volatile manner in the memory 40 the reference value of the vehicle attitude angle θv held by the control unit 36 ​​in the RAM 36c and the total angle θ when the ignition switch 314 transitions to the OFF state when the ignition switch 314 transitions to the OFF state. The "total angle θ when transitioning to the OFF state" is, for example, the latest total angle θ held in the RAM 36c when the ignition switch 314 transitions to the OFF state. Then, when the ignition switch 314 transitions to the ON state, if the movement determination unit 46 determines that the vehicle has moved, the control unit 36 ​​holds the road surface angle θr (reference value of θr=θ-θv) obtained from the current total angle θ and the reference value of the vehicle attitude angle θv read from the memory 40 as a new reference value of the road surface angle θr when the ignition switch 314 transitions to the ON state. The reference value of the vehicle attitude angle θv stored in the memory 40 is held as is.

[0167] Furthermore, when the movement determination unit 46 determines that the vehicle has not moved, the control unit 36 ​​holds the vehicle attitude angle θv (θv=θv reference value+Δθ3) obtained from the difference Δθ3 between the current total angle θ and the total angle θ read from the memory 40 and the reference value of the vehicle attitude angle θv read from the memory 40 as a new reference value of the vehicle attitude angle θv. Also, the control unit 36 ​​holds the road surface angle θr (θr=θ-θv reference value) obtained from the current total angle θ and the calculated vehicle attitude angle θv (including the reference value of the new vehicle attitude angle θv) as a reference value of the new road surface angle θr. This type of control can also improve the accuracy of the auto-leveling control.

[0168] (Variation 2) The leveling ECU 30 according to the second modification stores in a non-volatile manner in the memory 40 the reference value of the road surface angle θr held by the control unit 36 ​​in the RAM 36c when the ignition switch 314 transitions to the OFF state and the total angle θ when the ignition switch 314 transitions to the OFF state. Then, when the ignition switch 314 transitions to the ON state, if the movement determination unit 46 determines that the vehicle has moved, the control unit 36 ​​holds the road surface angle θr (θr=θr reference value+Δθ3) obtained from the difference Δθ3 between the current total angle θ and the total angle θ read from the memory 40 and the reference value of the road surface angle θr read from the memory 40 as a new reference value of the road surface angle θr. In addition, the control unit 36 ​​holds the vehicle attitude angle θv (θv=θ-θr reference value) obtained from the current total angle θ and the calculated road surface angle θ (including the reference value of the new road surface angle θr) as a reference value of the new vehicle attitude angle θv.

[0169] Furthermore, when the movement determination unit 46 determines that the vehicle has not moved, the control unit 36 ​​holds the vehicle attitude angle θv (θv=θ-θr reference value) obtained from the current total angle θ and the reference value of the road surface angle θr read from the memory 40 as a new reference value of the vehicle attitude angle θv. The reference value of the road surface angle θr stored in the memory 40 is held as is. This type of control can also improve the accuracy of the auto-leveling control.

[0170] (Variation 3) The leveling ECU 30 according to the third modification stores in a non-volatile manner in the memory 40 the reference value of the road surface angle θr and the reference value of the vehicle attitude angle θv held by the control unit 36 ​​in the RAM 36c when the ignition switch 314 transitions to the OFF state, as well as the total angle θ when the ignition switch 314 transitions to the OFF state. Then, when the ignition switch 314 transitions to the ON state, if the movement determination unit 46 determines that the vehicle has moved, the control unit 36 ​​holds the road surface angle θr (θr=θr reference value+Δθ3) obtained from the difference Δθ3 between the current total angle θ and the total angle θ read from the memory 40 and the reference value of the road surface angle θr read from the memory 40 as a new reference value of the road surface angle θr. The reference value of the vehicle attitude angle θv stored in the memory 40 is held as is.

[0171] Furthermore, when the movement determination unit 46 determines that the vehicle has not moved, the control unit 36 ​​holds the vehicle attitude angle θv (θv=θv reference value+Δθ3) obtained from the difference Δθ3 between the current total angle θ and the total angle θ read from the memory 40 and the reference value of the vehicle attitude angle θv read from the memory 40 as a new reference value of the vehicle attitude angle θv. The reference value of the road surface angle θr stored in the memory 40 is held as is. This type of control can also improve the accuracy of the auto-leveling control.

[0172] (others) Except in cases where there is no technical consistency, the retention of a value obtained by calculation using a predetermined component also includes the retention of the component used in the calculation of the value. For example, in the case where the reference value of the road surface angle θr is calculated by subtracting the reference value of the vehicle attitude angle θv from the total angle θ, the retention of the reference value of the road surface angle θr also includes the retention of the reference values ​​of the total angle θ and the vehicle attitude angle θv used in the calculation. In addition, in the case where the reference value of the vehicle attitude angle θv is calculated by subtracting the reference value of the road surface angle θr from the total angle θ, the retention of the reference value of the vehicle attitude angle θv also includes the retention of the reference values ​​of the total angle θ and the road surface angle θr used in the calculation. In addition, the retention of the total angle θ also includes the retention of the output value of the inclination sensor 132.

[0173] In the basic control of auto-leveling, when the control unit 36 ​​adds the difference Δθ2 to the reference value of the vehicle attitude angle θv to obtain the vehicle attitude angle θv including the change amount of the total angle θ while the vehicle is stopped, auto-leveling control is possible without using the reference value of the road surface angle θr. This type of control can simplify the auto-leveling control. Also, when the control unit 36 ​​adds the difference Δθ1 to the reference value of the road surface angle θr to calculate the road surface angle θr including the change amount of the total angle θ while the vehicle is traveling, and subtracts the reference value of this road surface angle θr from the total angle θ while the vehicle is stopped to obtain the vehicle attitude angle θv, auto-leveling control is possible without using the reference value of the vehicle attitude angle θv. This type of control can also simplify the auto-leveling control.

[0174] In the above-described second embodiment and the modified example, an acceleration sensor is used as an example of the tilt sensor 132, but the tilt sensor 132 may be another sensor, such as a gyro sensor or a geomagnetic sensor.

[0175] The invention according to the above-mentioned second embodiment may be specified by the items described below. [Item 1] A vehicle lamp (1) having an adjustable optical axis (Ax); an inclination sensor (132) capable of deriving an inclination angle of a vehicle (300) relative to a horizontal plane; A control device (30) for a vehicle lamp (1); A vehicle lighting system comprising: [Industrial Applicability]

[0176] The present invention can be used in a vehicle lighting control device, a vehicle lighting system, and a vehicle lighting control method. [Explanation of symbols]

[0177] 1 vehicle lighting fixture, 10 light source, 14 rotating reflector, 20 fan, 30 leveling ECU, 32 acceleration sensor, 34 receiving unit, 36 control unit, 36a angle calculation unit, 36b adjustment instruction unit, 36c RAM, 40 memory, 46 movement determination unit, 132 tilt sensor, 300 vehicle, 314 ignition switch.

Claims

1. a receiving unit that receives a signal indicating an output value of an inclination sensor capable of deriving an inclination angle of a vehicle relative to a horizontal plane; A control unit outputs an adjustment signal that instructs adjustment of the optical axis angle of the vehicle lamp in response to a change in the inclination angle while the vehicle is stopped, and avoids generating or outputting the adjustment signal or outputs a maintenance signal that instructs maintenance of the optical axis angle in response to a change in the inclination angle while the vehicle is moving; A movement determination unit that determines whether the vehicle has moved while the ignition switch is in an off state, The control unit outputs the adjustment signal in response to a change in the tilt angle while an ignition switch is in an off state when the movement determination unit determines that there is no movement, and avoids generating or outputting the adjustment signal in response to a change in the tilt angle while an ignition switch is in an off state, or outputs the maintenance signal in response to a change in the tilt angle while an ignition switch is in an off state when the movement determination unit determines that there is movement.

2. When the inclination angle of the vehicle with respect to the horizontal plane is called the total angle, this total angle includes the road surface angle, which is the inclination angle of the road surface with respect to the horizontal plane, and the vehicle attitude angle, which is the inclination angle of the vehicle with respect to the road surface, The control unit volatilizes the reference value of the road surface angle and the reference value of the vehicle attitude angle, With respect to a change in the total angle while the vehicle is stopped, a vehicle attitude angle equal to a sum of an amount of change in the total angle while the vehicle is stopped and a reference value of the vehicle attitude angle is held as a new reference value of the vehicle attitude angle; 2. The control device for a vehicle lighting device according to claim 1, wherein a road surface angle equal to the sum of an amount of change in the total angle while the vehicle is traveling and the reference value of the road surface angle is maintained as a new reference value of the road surface angle in response to a change in the total angle while the vehicle is traveling.

3. The control device for the vehicle lamp includes a storage unit for non-volatilely storing the reference value of the road surface angle and the reference value of the vehicle attitude angle held by the control unit when an ignition switch is turned off, When the ignition switch is turned on, the control unit When the movement determination unit determines that movement has occurred, a road surface angle obtained from the current total angle and the reference value of the vehicle attitude angle read from the storage unit is stored as a new reference value of the road surface angle; 3. The control device for a vehicle lighting device according to claim 2, wherein when the movement determination unit determines that there is no movement, a vehicle attitude angle obtained from the current total angle and the reference value of the road surface angle read from the memory unit is retained as a reference value of a new vehicle attitude angle.

4. The control device for the vehicle lamp includes a storage unit for non-volatilely storing the reference value of the vehicle attitude angle held by the control unit when an ignition switch transitions to an off state and the total angle when the ignition switch transitions to an off state, When the ignition switch is turned on, the control unit When the movement determination unit determines that movement has occurred, a road surface angle obtained from the current total angle and the reference value of the vehicle attitude angle read from the storage unit is stored as a new reference value of the road surface angle; 3. The control device for a vehicle lamp according to claim 2, wherein, when the movement determination unit determines that there is no movement, a vehicle attitude angle obtained from a difference between the current total angle and the total angle read from the memory unit and a reference value of the vehicle attitude angle read from the memory unit is stored as a reference value of a new vehicle attitude angle, and a road surface angle obtained from the current total angle and the calculated vehicle attitude angle is stored as a reference value of the new road surface angle.

5. The control device for the vehicle lamp includes a storage unit for non-volatilely storing the reference value of the road surface angle held by the control unit when an ignition switch is turned off and the total angle when the ignition switch is turned off; When the ignition switch is turned on, the control unit When the movement determination unit determines that movement has occurred, a road surface angle obtained from a difference between the current total angle and the total angle read from the memory unit and a reference value of the road surface angle read from the memory unit is stored as a new reference value of the road surface angle, and a vehicle attitude angle obtained from the current total angle and the calculated road surface angle is stored as a reference value of the new vehicle attitude angle.

3. The control device for a vehicle lighting device according to claim 2, wherein when the movement determination unit determines that there is no movement, a vehicle attitude angle obtained from the current total angle and the reference value of the road surface angle read from the memory unit is retained as a reference value of a new vehicle attitude angle.

6. The control device for the vehicle lamp includes a storage unit for non-volatilely storing the reference value of the road surface angle and the reference value of the vehicle attitude angle held by the control unit when an ignition switch transitions to an off state, and a total angle when the ignition switch transitions to an off state; When the ignition switch is turned on, the control unit When the movement determination unit determines that movement has occurred, a road surface angle obtained from a difference between the current total angle and the total angle read from the storage unit and the reference value of the road surface angle read from the storage unit is stored as a new reference value of the road surface angle; 3. The control device for a vehicle lamp according to claim 2, wherein, when the movement determination unit determines that there is no movement, a vehicle attitude angle obtained from a difference between the current total angle and the total angle read out from the memory unit and the reference value of the vehicle attitude angle read out from the memory unit is held as a new reference value of the vehicle attitude angle.

7. The control device for a vehicle lighting device according to any one of claims 1 to 6, wherein the movement determination unit determines that the vehicle has moved while the ignition switch is in an off state based on one or more of vehicle position information, a signal identifying whether the vehicle is in a market or a factory, and information regarding objects around the vehicle.

8. A vehicle lamp having an adjustable optical axis; An inclination sensor capable of deriving an inclination angle of a vehicle with respect to a horizontal plane; A control device for a vehicle lamp according to any one of claims 1 to 7, A vehicle lighting system comprising:

Citation Information

Patent Citations

  • Control device for vehicle lamp, vehicle lamp, and method of controlling vehicle lamp

    JP2012030782A

  • Control device of lighting fixture for vehicle, lighting fixture system for vehicle, and control method of lighting fixture for vehicle

    JP2012101624A

  • Control unit of vehicular lamp fitting and vehicular lamp fitting system

    JP2014104787A

  • Inclination angle calculation device

    JP2017001613A