Inclination detector and onboard apparatus
10001361 ยท 2018-06-19
Assignee
Inventors
Cpc classification
G01P15/16
PHYSICS
G01B7/30
PHYSICS
International classification
G01B7/30
PHYSICS
G01P15/16
PHYSICS
Abstract
A real acceleration computing unit 3 calculates the real acceleration Gw in the direction of travel of a vehicle by acquiring the velocity V a wheel speed sensor 12 installed in the vehicle detects. A road surface gradient computing unit 5 calculates the inclination of a road surface (road surface gradient 1) from the real acceleration Gw and the accelerations Gx and Gz in the back and forth and up and down directions of the vehicle an acceleration sensor 11 installed in the vehicle detects. A pitching angle computing unit 6 calculates the inclination of the vehicle with respect to the road surface (pitching angle 2) from the real acceleration Gw and the accelerations Gx and Gz.
Claims
1. An inclination detector comprising: an inclination computing device that calculates one of or both of a road surface gradient 1 and a pitching angle 2 from acceleration G.sub.x in back and forth direction and from acceleration G.sub.z in up and down direction of a vehicle and from real acceleration G.sub.w in direction of travel of the vehicle, the road surface gradient being an inclination in back and forth direction of a road surface on which the vehicle is placed, and the pitching angle 2 being an inclination in the back and forth direction of the vehicle with respect to the road surface; and a first communication interface that transmits, to an onboard apparatus including an optical axis adjuster installed in the vehicle, a value calculated by the inclination computing device, wherein the pitching angle 2 as the calculated value is used for controlling an angle of light output by a light of the vehicle, wherein the inclination computing device is configured to calculate the road surface gradient 1 through an expression (1-2) which is derived from an expression (1-1) by linearly approximating sin.sup.1 in the expression (1-1), where g is gravitational acceleration and is a predetermined coefficient,
1=sin.sup.1{(Gx.sup.2Gz.sup.2+Gw.sup.2+g.sup.2)/2Gwg}(1-1)
1=(Gx.sup.2Gz.sup.2+Gw.sup.2+g.sup.2)/2Gw g(1-2) calculate the pitching angle 2 through an expression (2-2) which is derived from an expression (2-1) by linearly approximating tan.sup.1 and sin.sup.1 in the expression (2-1), where and are predetermined coefficients, and
2=tan.sup.1(Gx/Gz)+sin.sup.1{(Gx.sup.2+Gz.sup.2+Gw.sup.2g.sup.2)/2Gw/sqrt(Gx.sup.2+Gz.sup.2)}(2-1)
2=(Gx/Gz)+{(Gx.sup.2+Gz.sup.2+Gw.sup.2g.sup.2)/2Gw/sqrt(Gx.sup.2+Gz.sup.2)}(2-2) obtain in advance the coefficients , , and to be applied to the expressions (1-2) and (2-2).
2. The inclination detector according to claim 1, further comprising: a second communication interface that acquires velocity in the direction of travel from a wheel speed sensor installed in the vehicle; and a real acceleration computing device that calculates the real acceleration in the direction of travel by differentiating the velocity acquired via the second communication interface.
3. The inclination detector according to claim 1, further comprising: a second communication interface that acquires acceleration in any two-axis directions from a two-axis acceleration sensor installed in the vehicle, the two-axis acceleration sensor being installed in a state in which at least one axis has a tilt with respect to a horizontal plane passing through the back and forth direction and right and left direction of the vehicle and with respect to a vertical plane passing through the right and left direction and up and down direction of the vehicle; and an acceleration converter that converts accelerations in the any two-axis directions acquired via the second communication interface to acceleration in the back and forth direction and to acceleration in the up and down direction by using mounting information of the two-axis acceleration sensor.
4. The inclination detector according to claim 1, further comprising: a second communication interface that acquires acceleration in the back and forth direction and acceleration in the up and down direction from a two-axis acceleration sensor which is installed in the vehicle in a state in which a first axis is parallel to the back and forth direction of the vehicle, and a second axis is parallel to the up and down direction of the vehicle.
5. The inclination detector according to claim 1, further comprising: a two-axis acceleration sensor that is installed in the vehicle in a state in which a first axis is parallel to the back and forth direction of the vehicle and a second axis is parallel to the up and down direction of the vehicle, and that detects acceleration in the back and forth direction and acceleration in the up and down direction.
6. The inclination detector according to claim 1, wherein the inclination computing device is configured to determine whether the vehicle is running or stopped on a basis of a velocity acquired by a wheel speed sensor installed in the vehicle, calculate the road surface gradient 1 and the pitching angle 2 through the expressions (1-2) and (2-2) when it is determined that the vehicle is running, and when it is determined that the vehicle is stopped, hold the road surface gradient 1, which has been calculated in a condition where the vehicle is running, and calculate the pitching angle 2 by calculating or approximately calculating the following two expressions using the road surface gradient 1 having been held and the acceleration Gx or the acceleration Gz,
Gx=g sin(1+2) or Gz=g cos(1+2) where g is gravitational acceleration.
7. The inclination detector according to claim 3, further comprising: a sensitivity correcting device that corrects, while the vehicle is stopped and when difference between the gravitational acceleration and components of a vector of the acceleration in the back and forth direction and of a vector of the acceleration in the up and down direction is greater than a prescribed first threshold, sensitivity of the two-axis acceleration sensor in accordance with the individual accelerations and the gravitational acceleration.
8. The inclination detector according to claim 7, wherein the sensitivity correcting device sends information to the inclination computing unit if the difference between the gravitational acceleration and the components of the vector of the acceleration in the back and forth direction and of the vector of the acceleration in the up and down direction is greater than a prescribed second threshold that is greater than the first threshold; and the inclination computing device substitutes a preset value for one of or both of the road surface gradient and the pitching angle when receiving the information from the sensitivity correcting device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
BEST MODE FOR CARRYING OUT THE INVENTION
(15) The best mode for carrying out the invention will now be described with reference to the accompanying drawings to explain the present invention in more detail.
Embodiment 1
(16) The inclination detector 1 shown in
(17) The vehicle has a two-axis acceleration sensor 11 and a wheel speed sensor 12 installed in the vehicle to be used by an airbag system and an ABS (Antilock Brake System). In addition, the vehicle has a navigation system 13 and an optical axis adjuster 14 (the so-called autolevelizer system) mounted therein. The inclination detector 1 carries out communication with these sensors and onboard apparatuses via a vehicle communication network such as a CAN (Controller Area Network) or a LIN (Local Inter-connect Network).
(18)
(19) The two-axis acceleration sensor 11 is installed at a portion above the suspension (not shown) of the vehicle 10. The acceleration sensor 11 is disposed in such a manner that the two axes are parallel to an XZ plane so that a first axis is directed toward the direction parallel to the X axis to detect the acceleration Gx in the back and forth direction of the vehicle 10, and a second axis is directed toward the direction parallel to the Z axis to detect the acceleration Gz in the up and down direction of the vehicle 10. The accelerations Gx and Gz detected are delivered from the acceleration sensor 11 to the inclination detector 1 via the vehicle communication network.
(20) Incidentally, in the example of
(21) The wheel speed sensor 12 is installed on a front wheel or rear wheel below the suspension of the vehicle 10. The wheel speed sensor 12 detects the rotation speed of the wheel, and calculates the velocity V of the vehicle 10 in the direction of travel. The calculated velocity V is transmitted from the wheel speed sensor 12 to the inclination detector 1 via the vehicle communication network.
(22) The inclination detector 1, which is an ECU (Electric Control Unit) comprising a microcomputer (called micro from now on) and the like, comprises a communication interface (called I/F from now on) 2 that communicates with the acceleration sensor 11 and wheel speed sensor 12 via the vehicle communication network; a communication I/F 7 that communicates with the navigation system 13 and optical axis adjuster 14 via the vehicle communication network; a real acceleration computing unit 3; and an inclination computing unit 4. The real acceleration computing unit 3 obtains a time derivative of the velocity V transmitted from the wheel speed sensor 12, and calculates the acceleration of the vehicle 10 in the direction of travel, that is, the real acceleration Gw.
(23) The inclination computing unit 4 comprises a road surface gradient computing unit 5 that calculates the inclination (road surface gradient 1) in the back and forth direction of a road surface on which the vehicle 10 is placed, and a pitching angle computing unit 6 that calculates the inclination (pitching angle 2) in the back and forth direction of the vehicle 10 with respect to the road surface. The inclination computing unit 4 calculates the road surface gradient 1 and pitching angle 2 from the accelerations Gx and Gz transmitted from the acceleration sensor 11 and the real acceleration Gw the real acceleration computing unit 3 calculates, and outputs them as inclination information.
(24) The road surface gradient 1 is transmitted to the navigation system 13 via the communication I/F 7, and is used for vehicle position correction and the like. The pitching angle 2 is transmitted to the optical axis adjuster 14 via the communication I/F 7, and is used for the control of maintaining the optical axis of the headlights at a fixed angle with respect to the road surface.
(25) Incidentally, as for the processing of the navigation system 13 based on the road surface gradient 1 and as for the processing of the optical axis adjuster 14 based on the pitching angle 2, since they are publicly known technique, their detailed description will be omitted.
(26) Next, the computing principle of the inclination computing unit 4 will be described.
(27)
Gx=Gw(1)
Gz=g(2)
(28)
Gx=Gwg sin 1(3)
Gz=g cos 1(4)
(29)
Gx=Gw cos 2g sin(1+2)(5)
Gz=Gw sin 2g cos(1+2)(6)
(30) Since the pitching angle computing unit 6 of the inclination computing unit 4 receives the accelerations Gx, Gz and Gw, it can calculate the road surface gradient 1 and the pitching angle 2 of the vehicle 10 from the foregoing Expressions (5) and (6).
(31) A concrete deriving method of the pitching angle 2 is as follows.
(32) First, by rewriting the following Expression (7) derived from the foregoing Expressions (5) and (6), the following Expression (8) is obtained. After that, the following Expression (8) is changed as to the pitching angle 2 to obtain the following Expression (9).
(GxGw cos 2).sup.2+(Gz+Gw sin 2).sup.2=g.sup.2(7)
(Gx.sup.2+Gz.sup.2+Gw.sup.2g.sup.2)/2Gw=Gx cos 2Gz sin 2(8)
2=tan.sup.1(Gx/Gz)+sin.sup.1{(Gx.sup.2+Gz.sup.2+Gw.sup.2g.sup.2)/2Gw/sqrt(Gx.sup.2+Gz.sup.2)}(9)
where sqrt(x) is a function for obtaining a square root of x.
(33) The pitching angle computing unit 6 can calculate accurate pitching angle 2 by calculating 2 according to the foregoing Expression (9).
(34) However, since Expression (9) includes complicated inverse functions such as tan.sup.1 and sin.sup.1, it is necessary to use a high-performance micro.
(35) Here, another computing method will be described. In the following, it approximates the complicated functions to reduce the computing processing.
(36) Utilizing the fact that a region of the pitching angle 2 is near zero degree (2<<1), the foregoing Expression (9) is reduced to the following approximate Expression (10) or (11) by substituting sin 22 and cos 21. The pitching angle computing unit 6 can calculate the pitching angle 2 by calculating the following Expression (10) or Expression (11).
2={(GxGw).sup.2+Gz.sup.2g.sup.2}/2GwGz(10)
2=[sqrt{g.sup.2(GxGw).sup.2}Gz]/Gw(11)
(37) Alternatively, tan.sup.1 and sin.sup.1 of the foregoing Expression (9) is subjected to a linear approximation, and the following coefficients and are obtained in such a manner as to reduce the approximate error in advance.
2=(Gx/Gz)+{(Gx.sup.2+Gz.sup.2+Gw.sup.2g.sup.2)/2Gw/sqrt(Gx.sup.2+Gz.sup.2)}(12)
(38) In this case, setting the coefficients and which are obtained in advance in the pitching angle computing unit 6 enables the pitching angle computing unit 6 to calculate the pitching angle according to the foregoing Expression (12) using the coefficients and .
(39) As described above, using one of the approximate Expressions (10)-(12) makes it unnecessary to calculate a complicated function such as tan.sup.1 and sin.sup.1, and hence an inexpensive micro is enough to calculate it.
(40) Next, derivation of the road surface gradient 1 will be described.
(41) First, the following Expression (13) is obtained by squaring both sides of the foregoing Expressions (5) and (6), followed by adding and rearranging. After that, reducing the following Expression (13) according to the addition formula results in the following Expression (14). Rearranging it as to the road surface gradient 1 yields the following Expression (15).
Gx.sup.2+Gz.sup.2=Gw.sup.2+g.sup.22Gw g{cos 2 sin(1+2)sin 2 cos(1+2)}(13)
Gx.sup.2+Gz.sup.2=Gw.sup.2+g.sup.22Gw g sin 1(14)
1=sin.sup.1{(Gx.sup.2Gz.sup.2+Gw.sup.2+g.sup.2)/2Gw g}(15)
(42) The road surface gradient computing unit 5 can calculate the accurate road surface gradient 1 by calculating 1 according to the foregoing Expression (15).
(43) However, since Expression (15) includes a complicated function such as sin.sup.1, it is necessary for its calculation to use a high-performance micro.
(44) Here, another computing method will be described. As in the calculation of the pitching angle 2, the computing processing is reduced by approximating the complicated function in the Expression of the road surface gradient 1.
(45) Utilizing the fact that the road surface gradient 1 varies in a region close to zero degree (1<<1), the foregoing Expression (15) is reduced to the following approximate Expression (16) by substituting sin 11. The road surface gradient computing unit 5 can calculate the road surface gradient 1 according to the following Expression (16).
1=(Gx.sup.2Gz.sup.2+Gw.sup.2+g.sup.2)/2Gwg(16)
(46) Alternatively, the approximation given by the following Expression (17) is possible by linearly approximating sin.sup.1 in the foregoing Expression (15) by obtaining such a coefficient in advance that will reduce the approximated error.
1=(Gx.sup.2Gz.sup.2+Gw.sup.2+g.sup.2)/2Gwg(17)
(47) In this case, setting the coefficient , which is obtained in advance, in the road surface gradient computing unit 5 enables the road surface gradient computing unit 5 to calculate the road surface gradient 1 according to the foregoing Expression (17) using the coefficient .
(48) Using the foregoing approximate Expression (16) or (17) makes it unnecessary to calculate the complicated function such as sin.sup.1, and hence an inexpensive micro is enough to calculate it.
(49) Incidentally, although an example is described of computing the inclination when the road surface gradient 1 and the pitching angle 2 are positive from
(50) As described above, according to the embodiment 1, it is configured in such a manner that the inclination computing unit 4 of the inclination detector 1 comprises the road surface gradient computing unit 5 that calculates the road surface gradient 1 from the acceleration Gx in the back and forth direction of the vehicle 10, the acceleration Gz in the up and down direction and the real acceleration Gw in the direction of travel; and the pitching angle computing unit 6 that calculates the pitching angle 2 from the accelerations Gx and Gz and the real acceleration Gw. As a result, it can calculate the road surface gradient 1 and the pitching angle 2 by using the values detected by the two-axis acceleration sensor 11 and the wheel speed sensor 12 which are installed in the vehicle 10 from the beginning, thereby making it unnecessary to use an expensive detector such as the sensors that detect the position of the wheels and a device that transmits and receives a radio wave. In addition, it is also unnecessary to install a plurality of detectors at a plurality of places of the vehicle 10. Furthermore, since it is unnecessary to refer to the vehicle specifications as the conventional apparatuses, it can use the inclination detector 1 in common among vehicles. Accordingly, it can utilize the detected values of the sensors installed in the vehicle 10, and offer the inclination detector 1 that can be used in common among vehicles.
(51) In addition, according to the embodiment 1, the inclination detector 1 is configured in such a manner as to comprise the communication I/F 2 that acquires the velocity V in the direction of travel from the wheel speed sensor 12 installed in the vehicle 10, and the real acceleration computing unit 3 that calculates the real acceleration Gw in the direction of travel by differentiating the velocity V acquired via the communication I/F 2. As a result, it can apply the detected values of the wheel speed sensor 12 which are used in the ABS or the like, and obviate the necessity for installing a new sensor for detecting the real acceleration Gw.
(52) In addition, according to the embodiment 1, the inclination detector 1 is configured in such a manner as to comprise the communication I/F 2 that acquires the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction of the vehicle from the two-axis acceleration sensor 11 that has its first axis installed in the vehicle 10 in such a manner as to be parallel to the back and forth direction of the vehicle 10 and its second axis in such a manner as to be parallel to the up and down direction of the vehicle. As a result, it can utilize the detected values of the acceleration sensor 11 used by an air bag system or the like, and obviate the necessity for installing any new additional sensor for detecting the accelerations Gx and Gz. In addition, limiting the mounting direction of the acceleration sensor 11 enables the inclination computing unit 4 to utilize the detected accelerations without converting them. Accordingly, it can further reduce the processing load of the inclination detector 1, which enables it to use a more inexpensive micro.
(53) In addition, according to the embodiment 1, the road surface gradient computing unit 5 and the pitching angle computing unit 6 of the inclination computing unit 4 are configured in such a manner as to calculate or approximately calculate the foregoing two Expressions (5) and (6) using the acceleration Gx in the back and forth direction, the acceleration Gz in the up and down direction and the real acceleration Gw in the direction of travel, thereby calculating the road surface gradient 1 and the pitching angle 2. As a result, it can compute the road surface gradient 1 and the pitching angle 2 without referring to the vehicle specifications. Furthermore, using approximate Expressions (10)-(12), (16) and (17) derived from Expression (5) and (6) enables reducing the processing load of the inclination detector 1 and using a more inexpensive micro.
(54) In addition, according to the embodiment 1, since the navigation system 13 is configured in such a manner as to control the vehicle position during navigation according to the road surface gradient 1 the inclination detector 1 calculates, it can compute the accurate vehicle position.
(55) In addition, since the optical axis adjuster 14 is configured in such a manner as to control the optical axis of the headlights of the vehicle 10 in accordance with the pitching angle 2 the inclination detector 1 calculates, it can adjust it at an angle at which an oncoming car is not dazzled by the headlights.
Embodiment 2
(56)
(57) Although the foregoing embodiment 1 employs the two-axis acceleration sensor 11 installed in the vehicle 10 to detect the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction of the vehicle 10, the present embodiment 2 employs a two-axis acceleration sensor 11a that detects accelerations G1 and G2 of any two directions. In addition, the inclination detector 1a has an additional acceleration converter 8 that converts the accelerations G1 and G2 the acceleration sensor 11a detects to the accelerations Gx and Gz.
(58) The acceleration converter 8 has mounting information in advance indicating the directions in which the two axes of the acceleration sensor 11a are installed with respect to the vehicle 10. Using the mounting information, the acceleration converter 8 converts the accelerations G1 and G2 the acceleration sensor 11a detects to the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction of the vehicle 10. As for the converting method of the acceleration, since it is a publicly known technique, the detailed description thereof will be omitted.
(59) Here, the mounting conditions of the acceleration sensor 11a will be described.
(60)
(61) As shown in
(62) However, if the two axes of the accelerations G1 and G2 are both orientated parallel to the XY plane (horizontal plane passing through the back and forth direction of the vehicle 10 and the right and left direction) as shown in
(63) The processing after that is the same as that of the foregoing embodiment 1. Thus, the inclination computing unit 4 calculates the road surface gradient 1 and the pitching angle 2 from the accelerations Gx and Gz passing through the conversion by the acceleration converter 8 and from the real acceleration Gw in the direction of travel of the vehicle 10 calculated by the real acceleration computing unit 3, and outputs them as the inclination information.
(64) As described above, according to the embodiment 2, the inclination detector 1a is configured in such a manner as to comprise the communication I/F 2 that acquires the accelerations G1 and G2 in any two-axis directions from the acceleration sensor 11a installed in the vehicle 10 in such a manner that at least one of its axes has a tilt with respect to the horizontal plane (XY plane) passing through the back and forth direction and the right and left direction and with respect to the vertical plane (YZ plane) passing through the right and left direction and the up and down direction; and the acceleration converter 8 that converts, using the mounting information of the acceleration sensor 11a, the accelerations G1 and G2 acquired via the communication I/F 2 into the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction. As a result, it can ensure the degrees of freedom of the orientation of the two axis directions of the acceleration sensor 11a. Accordingly, even if the two-axis acceleration sensor installed in the vehicle 10 is not a device that detects the acceleration in the back and forth direction and the up and down direction of the vehicle, it is applicable to the inclination detector 1a.
(65) Incidentally, although the foregoing embodiments 1 and 2 have a configuration in which the inclination detectors 1 and 1a utilize the acceleration sensor 11 and 11a installed in the vehicle 10 from the first, a configuration is also possible to provide the inclination detectors 1 and 1a with dedicated acceleration sensors 11 and 11a. An example of such a configuration is shown in
(66) In addition, although the foregoing embodiments 1 and 2 have a configuration in which the inclination detectors 1 and 1a utilize the wheel speed sensor 12 installed in the vehicle 10 from the first, a configuration is also possible which detects the real acceleration Gw using an acceleration sensor 9 instead of the wheel speed sensor 12 in the same manner as the inclination detector 1b shown in
(67) The configuration obviates the necessity of the real acceleration computing unit 3.
(68) In addition, although the foregoing embodiments 1 and 2 use a two-axis acceleration sensor as the acceleration sensor 11 and 11a, a configuration is also possible which uses a pair of one-axis acceleration sensors. It goes without saying that the configuration can achieve the same advantages.
(69) In addition, although the foregoing embodiments 1 and 2 have a configuration in which the inclination computing unit 4 comprises both the road surface gradient computing unit 5 and pitching angle computing unit 6, a configuration is also possible which comprises one of them.
Embodiment 3
(70)
(71) Although the computing processing of the road surface gradient 1 and the pitching angle 2 while the vehicle 10 is driven is described in the foregoing embodiments 1 and 2, the present embodiment 3 describes the computing processing while the vehicle 10 is stopped.
(72) In the inclination detector 1c, the inclination computing unit 4 as well as the real acceleration computing unit 3 uses the velocity V of the vehicle 10 received from the wheel speed sensor 12. The inclination computing unit 4 decides on whether the vehicle 10 is running or stopped from the velocity V acquired from the wheel speed sensor 12 via the communication I/F 2, and executes different computing processing depending on whether it is running or stopped.
(73)
(74) When the vehicle 10 is running, the road surface gradient computing unit 5 and the pitching angle computing unit 6 of the inclination computing unit 4 calculate the road surface gradient 1 and the pitching angle 2 at step ST3 according to the foregoing approximate Expressions as described in the foregoing embodiment 1 using the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction of the vehicle 10, and the real acceleration Gw in the direction of travel.
(75) While the vehicle 10 is stopped, the road surface gradient computing unit 5 of the inclination computing unit 4 supposes at step ST4 that the road surface gradient 1 does not change, and holds the value 1 without carrying out the computation (without change). The pitching angle computing unit 6 calculates the pitching angle 2 according to the following Expression (18) or (19) using the acceleration Gx in the back and forth direction, the acceleration Gz in the up and down direction of the vehicle 10 and the road surface gradient 1 held in the road surface gradient computing unit 5 in order to detect the inclination of the vehicle 10 involved in the movement of passengers or cargo handling.
Gx=g sin(1+2)(18)
Gz=g cos(1+2)(19)
(76) Furthermore, the pitching angle computing unit 6 can calculate the pitching angle 2 by computing the following Expression (20) obtained by varying the foregoing Expression (18) or the following Expression (21) obtained by varying the foregoing Expression (19). In this case, the pitching angle 2 can be computed by approximately calculating Expression (20) or (21) by obtaining a linear approximation of sin.sup.1 or cos.sup.1 in advance.
2=sin.sup.1(Gx/g)1(20)
2=cos.sup.1(Gz/g)1(21)
(77) As described above, according to the embodiment 3, it is configured in such a manner that the road surface gradient computing unit 5 of the inclination computing unit 4 holds the road surface gradient 1 while the vehicle 10 is stopped, and that the pitching angle computing unit 6 calculates the pitching angle 2 by calculating or approximately calculating one of the foregoing Expressions (18) and (19) using the acceleration Gx in the back and forth direction or the acceleration Gz in the up and down direction. As a result, it can execute the calculation of the pitching angle 2 while the vehicle 10 is stopped. Accordingly, it can detect the inclination of the vehicle 10 involved in the movement of a passenger or cargo handling, for example.
(78) Incidentally, in the foregoing description, although the inclination detector 1c shown in
Embodiment 4
(79)
(80) Generally, the inclination computing unit 4 amplifies the accelerations Gx and Gz the acceleration sensor 11 detects by a prescribed sensitivity (gain) and uses for the calculation of the road surface gradient 1 and the pitching angle 2. Thus, the present embodiment 4 has a sensitivity correcting unit 15 newly added for correcting the sensitivity of the acceleration sensor 11, and carries out the sensitivity correction of the acceleration sensor 11 while the vehicle 10 is stopped.
(81)
(82) The decision that the vehicle is stopped can be made by combining the condition that the velocity V is in the neighborhood of zero with the condition that the ignition switch is turned on just before (within several hundred milliseconds).
(83) A concrete example will be described.
(84) When a driver turns on the ignition switch, the inclination detector 1d is supplied with power and is started. If it is immediately after the inclination detector 1d is started, and if the velocity V is in the neighborhood of zero, the inclination computing unit 4 decides that the vehicle is stopped (YES at step ST12). Otherwise, it decides that the vehicle is running (NO at step ST12).
(85) This makes it possible to execute the correction processing (steps ST13-ST15) which will be described below during the time period from switching on of the ignition switch by the driver of the vehicle 10 to pushing down on the accelerator, that is, at the timing at which it is more certain that the vehicle 10 is stopped, to prevent unnecessary correction processing (steps ST13-ST15) in a state in which the velocity V varies a little in the neighborhood of zero, and to execute highly accurate correction.
(86) When the vehicle 10 is stopped, the sensitivity correcting unit 15 compares the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction of the vehicle 10 with the gravitational acceleration g at step ST13. More specifically, when the absolute value of the vector components of the accelerations Gx and Gz differs from the gravitational acceleration g by an amount greater than a preset first threshold Thr (NO at step ST13), the sensitivity correcting unit 15 executes the sensitivity correction processing at step ST14.
(87) At step ST14, the sensitivity correcting unit 15 multiplies the sensitivity of the accelerations Gx and Gz by a factor of sqrt (g.sup.2/(Gx.sup.2+Gz.sup.2)) to carry out the sensitivity correction of the acceleration sensor 11. The inclination computing unit 4 uses the accelerations Gx and Gz which the acceleration sensor 11 detects and the sensitivity correcting unit 15 amplifies by the amount of the sensitivity of correction for calculating the road surface gradient 1 and the pitching angle 2.
(88) Furthermore, if the sensitivity correcting unit 15 decides that the absolute value of the vector components of the accelerations Gx and Gz differs from the gravitational acceleration g markedly, a configuration is possible which considers that the acceleration sensor 11 has a fault and prevents the accelerations Gx and Gz the acceleration sensor 11 detects from being used. More specifically, if the absolute value of the vector components of the accelerations Gx and Gz differs from the gravitational acceleration g by an amount greater than a preset second threshold Thr1 (Thr1>Thr) (when |Gx.sup.2+Gz.sup.2g.sup.2|Thr1 does not hold true), the sensitivity correcting unit 15 sends information to the inclination computing unit 4, and the inclination computing unit 4 executes the processing at step ST15.
(89) At step ST15, the road surface gradient computing unit 5 and the pitching angle computing unit 6 of the inclination computing unit 4 does not execute the computing processing of the road surface gradient 1 and the pitching angle 2, but outputs preset values 1(default) and 2(default).
(90) As for the set values 1(default) and 2(default), they can be defined after making a safety analysis in advance in such a manner that apparatuses operating on the basis of the road surface gradient 1 and the pitching angle 2 (such as the navigation system 13 and optical axis adjuster 14) can operate safely.
(91) As a concrete example, in the optical axis adjuster 14 that utilizes the pitching angle 2 of the vehicle 10, the set value 2(default) is set at a fail-safe side (lower side) so as to prevent the headlights from illuminating upward more than necessary and from dazzling an oncoming car while the vehicle is stopped.
(92) On the other hand, if the inclination computing unit 4 decides that the vehicle is running (NO at step ST12) or if |Gx.sup.2+Gz.sup.2g.sup.2|Thr holds true (YES at step ST13), it returns the processing to step ST11.
(93) As described above, according to the embodiment 4, the inclination detector 1d is configured in such a manner as to comprise the sensitivity correcting unit 15 that corrects the sensitivity of the acceleration sensor 11 in accordance with the accelerations Gx and Gz and gravitational acceleration g while the vehicle 10 is stopped and when the difference |Gx.sup.2+Gz.sup.2g.sup.2| of the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction from the vector components of the gravitational acceleration g is greater than the prescribed first threshold Thr. As a result, it can correct temperature variations and aging degradation of the acceleration sensor 11.
(94) In addition, according to the embodiment 4, the sensitivity correcting unit 15 is configured in such a manner as to send information to the inclination computing unit 4 if the difference |Gx.sup.2+Gz.sup.2g.sup.2| of the vector components of the acceleration Gx in the back and forth direction and the acceleration Gz in the up and down direction from the gravitational acceleration g is greater than the second threshold Thr1 that is greater than the first threshold Thr; and the inclination computing unit 4 is configured in such a manner as to substitute the preset values 1 (default) and 2 (default) for one of or both of the road surface gradient 1 and pitching angle 2 when receiving the information from the sensitivity correcting unit 15. As a result, if the accelerations Gx and Gz output from the acceleration sensor 11 are abnormal, the embodiment 4 can output a value that can control the navigation system 13 and optical axis adjuster 14 in a fail-safe side.
(95) Incidentally, although the inclination detector 1d shown in
(96) In addition, although the foregoing embodiments 1-4 show the navigation system 13 as an example of an onboard apparatus using the road surface gradient 1, and the optical axis adjuster 14 as an example of an onboard apparatus using the pitching angle 2, it goes without saying that the inclination detectors 1 and 1a-1d can supply other onboard apparatuses with the road surface gradient 1 and the pitching angle 2.
(97) Furthermore, a configuration is also possible which incorporates the inclination detector 1 or 1a-1d into an onboard apparatus such as the navigation system 13 and optical axis adjuster 14.
(98) Incidentally, it is to be understood that a free combination of the individual embodiments, variations of any components of the individual embodiments or removal of any components of the individual embodiments is possible within the scope of the present invention.
INDUSTRIAL APPLICABILITY
(99) As described above, an inclination detector in accordance with the present invention is configured in such a manner as to calculate the road surface gradient and the pitching angle from the acceleration in the back and forth direction and the acceleration in the up and down direction of the vehicle, and from the real acceleration in the direction of travel. Accordingly, it is suitable for application to an onboard apparatus such as a navigation system and optical axis adjuster mounted in a vehicle.
DESCRIPTION OF REFERENCE SYMBOLS
(100) 1, 1a, 1b, 1c, 1d inclination detector; 2, 7 communication I/F; 3 real acceleration computing unit; 4 inclination computing unit; 5 road surface gradient computing unit; 6 pitching angle computing unit; 8 acceleration converter; 9 acceleration sensor; 10 vehicle; 11, 11a, 11b acceleration sensor; 12 wheel speed sensor; 13 navigation system; 14 optical axis adjuster; 15 sensitivity correcting unit 15.