Temperature drift compensation of an accelerometer installed in a two-wheeled motor vehicle for measuring vehicle inclination

By learning and correcting the temperature drift coefficient of the accelerometer, the temperature drift is automatically compensated, which solves the error problem of the accelerometer under temperature changes, improves the accuracy and safety of automatic engine shutdown of two-wheeled vehicles, and simplifies the calibration process.

CN115190962BActive Publication Date: 2024-10-29VTESCO TECH GMBH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202180019825.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-05
Publication Date
2024-10-29
Estimated Expiration
2041-03-05

AI Technical Summary

Technical Problem

Existing accelerometers can cause vehicle tilt estimation errors when temperature changes, which may cause the engine to shut down prematurely, endangering the safety of motorcycle riders. Especially in two-wheeled vehicles equipped with thermal engines, traditional calibration methods are lengthy and Expensive and difficult to execute autonomously.

Method used

By learning the temperature drift of the accelerometer, the acceleration values ​​of the reference and learning measurement points are obtained, the temperature drift coefficient is calculated, and stored in the non-volatile memory, and the measured value of the accelerometer is autonomously corrected, avoiding the characterization of the entire operating temperature range. and voltage reference updates.

Benefits of technology

It achieves autonomous and efficient compensation of the temperature drift of the accelerometer on the vehicle, reduces the vehicle tilt estimation error, improves the accuracy and safety of automatic engine shutdown, and avoids a lengthy calibration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190962B_ABST
    Figure CN115190962B_ABST
Patent Text Reader

Abstract

A method for compensating for temperature drift of an accelerometer for measuring the roll of a motorcycle is disclosed. Acceleration values ​​(623, 633) are read when the vehicle is in a "stand-up motorcycle" condition (622, 632) and the temperature of the accelerometer is at least 30°C higher than its reference temperature (621, 631). These values ​​are then processed in order to identify (623, 633) the slope coefficients of the offset correction lines for each axis of the accelerometer. The processing consists in verifying (64) the strict monotonicity of the coefficients in at least two consecutive readings and ensuring (65) that their average value is contained between determined limits. The average coefficient (66) finally obtained can then be used to perform a temperature correction on the accelerations read over the entire range of use of the accelerometer. As a result, the calculation of the inclination angle of the motorcycle is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to detecting the inclination of a two-wheeled vehicle by means of an on-board accelerometer and, more particularly, to compensating for temperature drift of such an accelerometer.

[0002] The invention is particularly applicable to a computer for a two-wheeled motor vehicle with a thermal engine, the two-wheeled motor vehicle comprising an accelerometer for measuring the roll angle (in English "roll angle") of the vehicle during travel of the vehicle. bank angle (tilt angle)"), automatically shuts down the engine when the tilt threshold is exceeded. Background Art

[0003] Autonomous sensors for measuring the roll of a motorcycle or similar type of two-wheeled vehicle, such as an inertial navigation unit or a yaw gyroscope, can be used to determine its inclination in order to cause the engine to be shut down when this inclination exceeds a threshold value considered as a critical point. The purpose of this function of automatically shutting down the engine when the roll threshold is exceeded is to protect the user in the event of a fall from potential consequences associated with the moving parts of the motorcycle (drive wheels, chain, etc.) and the risk of fire of the motorcycle as a whole in the event of a fuel spray that may be caused by an accident.

[0004] In the latest motorcycles, this autonomous sensor is replaced by a multi-axis accelerometer, for example, of the type with three axes X, Y and Z. This type of accelerometer is available today as a monolithic integrated circuit and can be integrated into the printed circuit board of the on-board electronic computer. In combination with software functions, this accelerometer makes it possible to estimate the inclination of the vehicle, thus eliminating the need to equip the vehicle with a dedicated yaw gyroscope, with considerable economic benefits.

[0005] The calculation of the vehicle's inclination depends on the physical measurements made by the sensors of the accelerometers, which are usually single-axis, dual-axis (or 2D, meaning "with two measurement dimensions") and / or triaxial (or 3D, meaning "with three measurement dimensions") sensing units integrated onto the same semiconductor product chip. In such a chip, a microelectromechanical system (or MEMS) with an original structure is used, for example with several beams and several piezoelectric strain gauges and / or interdigitated capacitance combs (obtained by etching a thin layer of the surface), which can be used to measure the acceleration in the plane of the chip and outside this plane, making it possible to obtain sensitivity in all three axes with one or more sensing units. In general, accelerometers exploit the difference in stress between each axis, since the beams are subjected to torsional and / or bending stresses depending on the direction of the acceleration to which the accelerometer is subjected. In addition, detection by suitable electronics makes it possible to measure the stress level in the direction of each axis.

[0006] It is known that the measurements of accelerometers will vary with the ambient temperature, thus causing errors in the estimation of the vehicle's inclination angle. In fact, the technology used in accelerometers makes them more or less sensitive to the operating temperature.

[0007] This temperature drift of accelerometers is discussed in another application context, for example in the paper entitled “ Thermal Compensation of Low-Cost MEMS Accelerometers for Tilt Measurements (Thermal Compensation of Low-Cost MEMS Accelerometers for Tilt Measurement)”, published online by MDPI on February 8, 2018 in the freely accessible scientific journal Sensors (Sensors)” (ISSN 1424-8220; CODEN: SENSC9).

[0008] In the application scenario considered by the present invention, an error in the acceleration measurement can lead to an error in the estimation of the vehicle inclination. In the case where the automatic engine shut-off function is intended to shut off the engine when a maximum inclination threshold is exceeded, an estimation error can lead to premature engine shut-off, which can endanger the safety of the motorcycle rider.

[0009] It would therefore appear desirable to compensate for the temperature drift of an accelerometer used to measure the inclination of a two-wheeled vehicle, particularly (but not exclusively) in order to implement the above-mentioned automatic engine shut-off function.

[0010] Generally speaking, a measuring instrument with a sensor transforms a physical parameter into an electrical signal, which is then converted into digital data. "Calibration" (French: étalonnage, English: calibration) should not be confused with "gauging" (French: calibrage, more accurately translated into English: gauging), the purpose of which is to ensure that measuring instruments of the same series (same brand, same model) do give the same measurement results when placed in the same situation. Therefore, a set of operations is required that enables the same results to be obtained based on the same situation.

[0011] With reference to the International Vocabulary of Metrology (VIM), according to the definition provided in the version after 2008, the calibration of a measuring instrument can be defined as a set of operations under specified conditions (regardless of the measurement uncertainty), the first step of which is to determine the relationship between the value provided by the measurement standard and the corresponding indication, and the second step is to use this information to determine the relationship between the indication and the measurement result. Therefore, calibration can be expressed in the form of a text description, a calibration function, a calibration diagram, a calibration curve or a calibration table. For measuring instruments with sensors, the first stage of calibration is to characterize the response of the sensor over the entire sensor working range. The second stage consists in using the results of the first stage. In some cases (especially when the sensor is not adjustable so that adjustment is not possible), the second stage can consist in making additive or multiplicative corrections to the indications given by the instrument.

[0012] In the context of 3D accelerometers used in the above-mentioned target application type, the purpose of the present invention is to avoid such characterization of the accelerometer axis by axis and the MEM by MEM tests to be performed in order to define the correction polynomials associated to each MEM, which are at least lengthy and expensive. Such characterization cannot usually be performed autonomously by an on-board device such as, for example, the engine control computer of a motorcycle, which has limited computing and storage means.

[0013] Moreover, in two-wheeled vehicles equipped with a thermal engine, the temperature in the vicinity of the engine control computer, to which the accelerometer is usually integrated, varies over a wide range of values. In fact, this ambient temperature of the accelerometer typically varies between -20°C at start-up (this is usually the lowest outdoor temperature in winter in the countries of application for which the invention is intended) and +90°C when the engine is fully heated (this is usually the highest temperature of the engine in operation, taking into account the cooling means (radiator, fan, etc.) implemented where appropriate).

[0014] The invention originates from the observation that the variation of the acceleration measurement with the ambient temperature is inherent to the accelerometer technology and can be learned specifically for each specific accelerometer in a simple and efficient way, and this variation can then be taken into account in the measurements given by said accelerometer, making it possible to reduce the estimation error of the vehicle inclination.

[0015] Document JP2007322347A discloses compensating accelerometer measurements according to temperature to detect the tilt of a four-wheeled vehicle due to vehicle lift in the event of a tire lift-off (vol). The document proposes a calibration solution based on updating the sensor voltage reference value to correct with temperature.

[0016] Document US20040194327A1 discloses determining the geometric angle of the chassis of a four-wheel vehicle, compensating for temperature drift and thereby correcting the inclination angle by calibration. Summary of the invention

[0017] The invention proposes a method having a first phase consisting of learning a temperature drift (also called temperature offset) due to a change in the operating temperature of the accelerometer, preferably along each of the three axes of, for example, a 3D accelerometer, and a second phase consisting of correcting this drift according to the current temperature at the time of any measurement.

[0018] More specifically, a method is proposed for compensating the temperature drift of an accelerometer for measuring the inclination of a two-wheeled motor vehicle with a thermal engine, the method comprising:

[0019] - A learning phase to learn the temperature drift of the accelerometer, which includes:

[0020] - acquiring a reference acceleration value at a reference measurement point at which the vehicle is upright and at a temperature equal to a first reference temperature value, the first reference temperature value being included in a reference temperature value range corresponding to a “cold engine” state, and the first reference temperature value being stored in a non-volatile memory in association with the reference acceleration value;

[0021] - obtaining a first acceleration measurement value at a first measurement point, the first measurement point being different from the reference measurement point and at which the vehicle is substantially upright and at a temperature equal to a first temperature measurement value, the first temperature measurement value being included in a first temperature value range being substantially higher than a first reference temperature value;

[0022] - calculating a first temperature drift coefficient, the first temperature drift coefficient being defined as a ratio of a difference between the first acceleration measurement value and the reference acceleration value to a difference between the first temperature measurement value and the first reference temperature value;

[0023] - obtaining a second acceleration measurement at a second measurement point where the vehicle is substantially upright and at a temperature equal to a second temperature measurement, the second temperature measurement being included in a second temperature range substantially higher than the first temperature measurement;

[0024] - calculating a second temperature drift coefficient, the second temperature drift coefficient being defined as a ratio of a difference between the second acceleration measurement value and the reference acceleration value to a difference between the second temperature measurement value and the first reference temperature measurement value; and

[0025] - obtaining a single temperature drift coefficient based on the first temperature drift coefficient and the second temperature drift coefficient and storing it in the non-volatile memory; and,

[0026] - a calibration phase, in which the acceleration value indicated by the accelerometer at a given measurement point, at which the temperature is equal to the current temperature value, is calibrated, the calibration being based on the difference between the current temperature value and a reference temperature value and on the single temperature drift coefficient.

[0027] By means of this method, the inclination of a two-wheeled vehicle while driving can be determined, which is corrected for the temperature drift of the accelerometers, wherein the temperature drift of the accelerometers specifically used in the vehicle in question has been learned beforehand, the learning being carried out autonomously on the vehicle itself by an onboard device.

[0028] Unlike calibration processes such as those disclosed in documents JP2007322347A and US20040194327A1 (these documents are referenced in the introduction and briefly discussed), the learning phase of the method according to an embodiment of the invention makes it possible to apply a temperature compensation to the indications provided by the accelerometers taking into account the characteristic differences affecting the accelerometers that may be used. In other words, the learning according to the proposed method makes it possible to take into account the differences in the characteristics of the components when they are manufactured, which offers advantages over calibration methods. "Characteristic differences" refers to the fact that each accelerometer does not respond in exactly the same way by nature due to variations that inevitably affect the manufacture of accelerometers on an industrial scale.

[0029] Furthermore, the method does not require knowledge of a temperature correction curve covering the entire operating temperature range of the accelerometer resulting from a lengthy and tedious characterization phase.

[0030] Furthermore, unlike the solution disclosed in document JP2007322347A, the proposed method does not have the disadvantage of requiring an update of the voltage reference of the sensor(s).

[0031] It is therefore obvious to a person skilled in the art that an embodiment of the proposed method is advantageously characterized by, on the one hand, a learning strategy that can be implemented specifically for each accelerometer after the accelerometer has been installed in a vehicle and that is implemented autonomously by an on-board device in said vehicle, and by, on the other hand, the fact that the temperature drift is estimated each time in at least two steps between two measurement points that are spaced apart within the operating temperature range of the accelerometer in order to efficiently and accurately compensate for the temperature drift of the accelerometer.

[0032] Embodiments taken alone or in combination also propose:

[0033] - the single temperature drift coefficient can be obtained and stored only if the first temperature drift coefficient and the second temperature drift coefficient are signed values ​​having the same sign;

[0034] - furthermore, the single temperature drift coefficient is obtained and stored only if the absolute value of the difference between the respective absolute values ​​of the first temperature drift coefficient and the second temperature drift coefficient is smaller than a determined threshold value;

[0035] - furthermore, the single temperature drift coefficient can be obtained and stored only if the absolute value of the first temperature drift coefficient and the absolute value of the second temperature drift coefficient are comprised in a determined value interval;

[0036] - the single temperature drift coefficient may be obtained by calculating an average value of the first temperature drift coefficient and the second temperature drift coefficient;

[0037] - the first temperature value range may include temperature values ​​at least 30° C. higher than the reference temperature value;

[0038] - the second range of temperature values ​​may include temperature values ​​at least 30°C higher than the first temperature measurement;

[0039] - The reference temperature value range may include temperature values ​​between -20°C and +55°C;

[0040] - the accelerometer is a multi-axis accelerometer, and all steps of the method can be performed simultaneously for each axis of the accelerometer;

[0041] - Acquiring reference acceleration values ​​at reference measurement points can be performed with the engine switched off when leaving the vehicle production line, while the further steps of the learning phase for learning the temperature drift of the accelerometer can be performed subsequently with the engine running.

[0042] In a second aspect, the subject of the invention is also a device for compensating the temperature drift of an accelerometer for measuring the inclination of a two-wheeled motor vehicle with a thermal engine, the device comprising an electronic control unit of the engine of a two-wheeled motor vehicle with a thermal engine, the electronic control unit comprising: an accelerometer; and means for measuring the roll of the vehicle during driving of the vehicle, automatically shutting down the engine when an inclination threshold is exceeded; means for determining the ambient temperature; means for determining the engine temperature; means for determining whether the vehicle is upright; and having means adapted to perform all the steps of the method according to the first aspect described above. It may be a computer configured for this purpose, for example, an engine control computer of a motorcycle.

[0043] A third aspect of the invention relates to a computer for a two-wheeled motor vehicle with a thermal engine, comprising an accelerometer and a device according to the second aspect, for measuring the roll of the vehicle during travel and automatically switching off the engine when a tilt threshold is exceeded. It may in particular be an engine control computer for a motorcycle.

[0044] When the indications given by the accelerometer, ie the acceleration measurements, are utilized by a computer in which software loaded is executed, learning and then correction can be performed by said software.

[0045] To this end, in a fourth and final aspect, the subject of the invention is also a computer program product comprising one or more instruction sequences stored on a machine-readable storage medium, the machine comprising a processor, the instruction sequences being adapted to implement all the steps of the method according to the first aspect of the invention when the program is read from the storage medium and executed by the processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Other features and advantages of the present invention will become further apparent from the following description, which is purely illustrative and should be read in conjunction with the accompanying drawings, in which:

[0047] Figure 1A is a schematic diagram showing a side view of a motorcycle in which the method may be implemented;

[0048] Figure 1B It is shown Figure 1A Schematic diagrams of a motorcycle in three corresponding front views inclined relative to the vertical direction;

[0049] Figure 2A is a simplified representation of an accelerometer with three measuring axes and the evolution of the acceleration value over time, which can be combined with Figure 1A and 1B In an onboard computer of a motorcycle, the acceleration values ​​are measured along three axes of an accelerometer when the motorcycle is upright;

[0050] Figure 2B yes Figure 2A Simplified representation of the accelerometer and the evolution of the acceleration value over time when the motorcycle is tilted at an angle relative to the vertical direction. θ It is measured along the three axes of the accelerometer;

[0051] Figure 3 is a graph showing a set of curves representing the differences in temperature drift of a determined batch of accelerometers;

[0052] Figure 4 is a graph showing the calculation of the slope of a curve representing the determined temperature drift of the accelerometer;

[0053] Figure 5 is a functional diagram illustrating an embodiment of the method steps of the present invention; and

[0054] Figure 6 is a step diagram illustrating an embodiment of the learning phase of the method. DETAILED DESCRIPTION

[0055] In the following description of the embodiments and in the figures of the accompanying drawings, identical elements or similar elements carry the same reference numerals in the figures.

[0056] In the following description, the following notation will be used:

[0057] - The letters X, Y and Z represent respectively the longitudinal, transverse and vertical axes of a reference system associated with the Earth (also called the terrestrial reference system);

[0058] - { Ax, Ay, Az} represents a triplet of acceleration values ​​measured by a 3D accelerometer along each of the three axes X, Y and Z, respectively; in practice, the accelerometer generates such a triplet of values ​​continuously, i.e. at a determined measurement frequency;

[0059] - g represents the acceleration due to gravity; acceleration g Meters per second squared (m / s 2 ) or apple newton (g), 1 apple newton is equal to 9.81 m / s 2 ;

[0060] - T° represents the ambient temperature at the accelerometer, which temperature may be given by a temperature sensor arranged, for example, in the immediate vicinity of a computer incorporating the accelerometer, or in the housing of said computer;

[0061] - Tref , T1 and T2 Indicates temperature T° The accelerometers are Tref , T1 and T2 The reference measured value of the acceleration value is given at { Ax _ ref , Ay _ ref , Az _ ref}, the first learning measurement value of the acceleration value { Ax _ T1 , Ay _ T1 , Az _T1} and the second learning measurement value of the acceleration value { Ax _ T2 , Ay _ T2 , Az _ T2};

[0062] - θ represents the roll angle of the vehicle and therefore the accelerometer into which the vehicle incorporates;

[0063] - Slope_1 , Slope_2 and Slope _ cor (slope) is the temperature drift coefficient of the accelerometer, expressed in g / °C, which can take positive or negative values; they correspond to the slope of the portion of the straight line that can represent the temperature drift of the accelerometer in a first approximation; according to this representation, they are sometimes called "slope coefficients".

[0064] Two-wheeled motor vehicles, such as motorcycles or similar vehicles, move in three-dimensional space, which can be defined by three axes that are perpendicular to the Earth. These axes X, Y and Z are hereinafter referred to as the longitudinal, transverse and vertical axes, respectively. Compared to vehicles with four or more wheels, whose horizontal plane remains substantially parallel to the Earth's surface (and more specifically substantially parallel to the plane of the road at the location under consideration), a two-wheeled vehicle is characterized by its ability to tilt relative to the vertical, especially when turning.

[0065] Accelerometers, especially 3D accelerometers, can indicate the orientation of an object relative to the Earth due to the influence of gravity. For example, on smartphones, 3D accelerometers are used to switch the display from portrait mode to landscape mode. In game controllers, 3D accelerometers make it possible to monitor the movement of the player's hands in space, and this is used by the game as an interface with the player. One of the applications of accelerometers in two-wheeled vehicles is to calculate the inclination of the vehicle relative to the vertical, especially within the framework of the following function: automatically shut down the thermal engine when a certain inclination threshold is exceeded.

[0066] For an object moving in three-dimensional space, such as an airplane in the sky or a ship on a rough sea, the tilt caused by rotation about the longitudinal axis X is called "roll" (English: roll The tilt caused by rotation about the horizontal axis Y is called "pitch" (English is " pitch ”), and the tilt due to rotation about the vertical axis Z is called “yaw” (English is “ yaw ”). By convention, for each axis, the counterclockwise inclination angle about that axis is usually considered positive.

[0067] For two-wheeled motor vehicles, such as motorcycles or similar vehicles, the inclination is discussed separately along the longitudinal axis X, along the transverse axis Y and along the vertical axis Z. Controlling the last inclination, that along the vertical axis Z, is particularly important for the stability of the motorcycle and the safety of the user. It is also called "roll", and the corresponding inclination angle is called "roll angle".

[0068] Figure 1A and Figure 1B The schematic diagrams of the invention respectively show by way of example a side view and a front view of a motorcycle 101 in which the method according to an embodiment of the invention can be implemented. The method can be implemented in any type of two-wheeled motorized vehicle, such as a scooter with an engine, a moped, a moped, a motorcycle, a motorcycle (or a motorbike), etc. More particularly, the two-wheeled vehicle is powered by a thermal engine or an internal combustion engine or an internal combustion engine. The engine can be single-cylinder, twin-cylinder, three-cylinder or four-cylinder or more. It can be a two-stroke or four-stroke engine, with direct injection or indirect injection as required.

[0069] In one embodiment, the vehicle is equipped with a jet heat engine. The engine is then controlled by an electronic control unit (ECU), such as an engine control computer (or ECU, which in this context means " Engine Control Unit ", engine control unit). At least one accelerometer is installed in the ECU. For example, it is an accelerometer formed on a semiconductor product and integrated into a chip. As mentioned in the introduction, the vehicle inclination measurement provided by the accelerometer enables the ECU to shut down the engine when the vehicle falls, which is determined by the vehicle exceeding a tilt threshold. In fact, continuing to run the engine when the vehicle falls poses additional risks to the driver and the vehicle. Therefore, stopping the engine when the vehicle falls can improve the safety of the driver and reduce the risks to the vehicle. The inclination referred to here that leads to the triggering of the engine shutdown is the tilt of the vehicle relative to the vertical direction (to one side or the other relative to its driving direction), the vertical direction corresponding to the direction of the above-mentioned vertical axis Z. "Vertical" here means gravity. g direction.

[0070] exist Figure 1A and 1B, the vertical direction of the chassis of the vehicle 101 is indicated by a thick arrow Z1, which is directed from bottom to top. The longitudinal direction of the chassis of the vehicle (which also corresponds to its straight-ahead travel direction) is indicated by a thick arrow X1, which is directed from back to front. Finally, the lateral direction of the chassis of the vehicle is indicated by a thick arrow Y1, which is directed from right to left. When the vehicle 101 is completely upright on flat ground, the vertical reference direction Z1 is parallel to the vertical direction Z, and the reference directions X1 and Y1 form a plane parallel to the ground defined by the X-axis and the Y-axis. The X1, Y1 and Z1 axes move with the vehicle 101 and pivot simultaneously with the vehicle relative to the X, Y and Z axes relative to the earth.

[0071] Figure 1B Shows Figure 1A The motorcycle 101 is in various rolls relative to the vertical direction. In 101a, the motorcycle is in an upright position, i.e., a vertical position: its vertical reference axis Z1 is parallel to the gravity. g At positions 101b and 101c, the motorcycle is tilted to its right and left sides, respectively. θ The roll angle defines the degree of inclination of the motorcycle relative to the vertical direction Z. The ECU relies on this angle θ Continuous measurement and monitoring of the value of the sensor can be used to shut down the engine in the event that the vehicle falls sideways.

[0072] Figure 2A In the upper part, a simplified representation of the accelerometer 102 is given, which measures acceleration along three axes (e.g., three axes that are perpendicular to each other). A person skilled in the art will appreciate that when the accelerometer is onboard the vehicle, for example in a computer such as an engine control computer of the vehicle, a three-axis accelerometer allows the accelerometer 102 and thus the acceleration to be determined. Figure 1A and 1B The exact angular orientation of the vehicle 101 relative to the earth. To simplify the present description, it is assumed here that the axis system associated with the vehicle 101 corresponds to the axis system associated with the accelerometer 102. In other words, it is assumed that the accelerometer 102 is fixedly arranged in the computer of the vehicle 101 in such a way that the axes of these sensors correspond to the axis system associated with the accelerometer 102. Figure 1A and 1B The axes X1, Y1 and Z1 of the vehicle 101 shown by thick arrows in FIG. coincide. This is achieved by mounting the accelerometer in the computer and / or mounting the computer in the vehicle so that the measuring axes of the sensors of the accelerometer coincide as accurately as possible with the reference axes X1, Y1 and Z1 of the vehicle. A person skilled in the art will understand that in practice the accelerometers may have different and optionally random angular positions relative to the reference system of the vehicle, whereupon determination means and calculation means, for example based on a rotation matrix, may enable compensation of this orientation difference so as to make it as if the reference system of the accelerometer coincides with the reference system of the vehicle.

[0073] Figure 2A The lower part shows a curve representing an example of the evolution over time of the acceleration values ​​measured on the three axes X, Y and Z when the vehicle is kept in a substantially vertical position. Figure 1B In this configuration of the schematic diagram of the position 101a, only the measuring axis Z1 of the accelerometer (thus overlapping with the vertical direction) records a non-zero acceleration Az , i.e. a signal with a value of 1g, where g is a unit of acceleration corresponding approximately to the acceleration due to gravity on the surface of the Earth, i.e. about 9.81ms 2 , which may fluctuate slightly depending on possible oscillations of the vehicle about the vertical direction during the measurement duration. The acceleration values ​​given by the accelerometer for the other measurement directions (i.e. longitudinal direction X and transverse direction Y, respectively) are Ax and Ay is essentially zero, with slight fluctuations depending on the stability of the vehicle in an upright position. Figure 2A Medium, Gravity g Indicated by a thick vertical arrow pointing downward.

[0074] Figure 2B In the upper part the same accelerometer 102 is shown when the vehicle is tilted relative to the vertical direction Z, for example to the right, corresponding to Figure 1B In the example shown, the inclination angle relative to the vertical axis Z is always recorded as θ .and Figure 2A Compared with the representation of the accelerometer 102 shown in the upper part, here, the vertical axis Z1 of the chip of the accelerometer 102 is tilted in the direction of the vertical axis Z by an angle θ In this configuration, the roll angle θ Obtained through the following relationship: θ = abs[Arctan((√ Ax 2 + Ay 2 ) / Az )],in Ax , Ay and Az are acceleration values ​​measured by accelerometer 102 along each of the axes X, Y, and Z, respectively.

[0075] Figure 2B The value given by the accelerometer 102 tilted in this way relative to the vertical direction Z is shown in the lower part Ax , Ay and Az Evolution over time. Figure 2A Compared with the same curve given in Az has decreased slightly and is now between 0 and 1g, while the value Ax No change and value Ay slightly reduced and now between 0 and -1g (in the example shown, for angles between 0 and 45° θ ).

[0076] Now refer to Figure 3 The temperature drift phenomenon of accelerometers that can be used in the target application scenario is discussed with the graphs in Figure 1. The figure shows a set of curves that give the drift, displacement or offset (expressed in mg, i.e., the force caused by the earth's gravity) as a function of temperature T° (expressed in degrees Celsius or °C) for different accelerometers, all of the same model. g The accelerometers in question are therefore provided by the manufacturer as having the same measuring characteristics.

[0077] However, due to uncontrolled (and possibly uncontrollable) factors in their manufacturing process and / or the materials used, accelerometers of the same batch have characteristic differences. A person skilled in the art will understand that, even if only the drift of the provided acceleration values ​​depending on the ambient temperature is of interest here, the characteristic differences are an overall phenomenon that may affect all characteristics of such components. Figure 3 The set of curves shown reveals three pieces of information.

[0078] On the one hand, in the example shown, all accelerometers effectively give the same temperature measurement at a nominal temperature equal to about 20° C. At this nominal temperature, all accelerometers have an offset substantially equal to zero. This is visually reflected in the fact that all curves pass through a nominal point 30, which corresponds to 20° C. on the horizontal axis and to 0 mg on the vertical axis. This value of 20° C. is not accidental, since it substantially corresponds to the value of the ambient temperature at which the accelerometers are assumed to operate in most applications. Therefore, manufacturers usually guarantee zero offset or at least a minimum offset at this nominal temperature. Of course, a person skilled in the art will understand that the value of this nominal temperature may be different from 20° C., depending on the intended application of the accelerometer model.

[0079] Furthermore, over the temperature range of -40°C to +125°C shown in the graph, each accelerometer exhibits a drift that varies linearly with temperature. In other words, the curve shown is essentially a sloping straight line. Some accelerometers exhibit a positive drift in the offset coefficient (or drift coefficient), which is reflected as a straight line with increasing temperature, while other accelerometers exhibit a negative drift in the offset coefficient, which is reflected conversely as a straight line with decreasing temperature.

[0080] Finally, all accelerometers exhibit a drift that is bounded between a minimum negative offset coefficient and a maximum positive offset coefficient, represented respectively by straight lines 31 and 32. In other words, the offset coefficients of a batch of accelerometers originating from the same manufacture are between a negative value Off_31 and a positive value Off_32, which correspond to the slope of straight line 31 and the slope of straight line 32, respectively.

[0081] The method according to an embodiment of the invention is based on the principle that, since the temperature drift of an accelerometer is linear, in order to know said drift and to be able to compensate for it when measuring with the aid of a determined accelerometer, it is sufficient to know only the value of the slope of the corresponding straight line and the determined measurement points through which this straight line passes. In other words, instead of characterizing the temperature drift of each accelerometer over all possible operating temperature ranges (which is tedious and can be at least difficult to perform autonomously using an onboard device in a vehicle), it is only necessary to learn these two pieces of information in order to be able to compensate for the temperature drift by appropriately correcting each acceleration measurement made with said accelerometer.

[0082] Advantageously, the learning according to an embodiment of the method consists in determining a reference measurement point that corresponds substantially to a nominal temperature value for which the manufacturer guarantees that the accelerometer is reliable, namely 20° C. in this example. In practice, on the one hand, in most applications this temperature is the standard ambient temperature and it is therefore sufficient to place it substantially at this nominal temperature simply by placing it in such standard temperature conditions. In the application considered here, this means placing it in such conditions that the vehicle engine is cold, since it is known that a hot engine gives an ambient temperature in its vicinity that is significantly above the standard ambient temperature, namely about 20° C. Another advantage of placing it at this reference measurement point is that it is located at the node 30 where all the straight lines representing the temperature drift of the accelerometers that may be used intersect, thus being as free as possible from the effects of potential shifts within the batch of accelerometers in question relative to this reference measurement point.

[0083] Figure 4 The graph of FIG. 4 shows a curve 41 of the determined temperature drift of the accelerometer and a straight line 40 by which the drift can be approximately defined. Both the straight line 40 and the curve 41 pass through the node 30 corresponding to the reference measurement point, which is represented on the horizontal axis by the temperature. To is defined by a zero offset value on the vertical axis.

[0084] To determine the slope of the straight line 40, it is only necessary to know a given difference between two temperature values ​​of the curve 41: ΔT° ( Delta_T° ), and the difference between the two corresponding offset values ​​of curve 41 Δ Offset ( Delta_Offset ). Then we can calculate Δ Offset and ΔT° The slope of straight line 40 is calculated by using the ratio of

[0085] It should be noted that the temperature difference ΔT° The higher it is, the lower the risk of errors in the slope calculation. In other words, the wider the measurement points are spaced across the accelerometer's operating temperature range, the better the accuracy of determining the accelerometer's temperature drift slope.

[0086] It should also be noted that even though the curve 41 substantially follows the profile of the straight line 40 (from which the curve 41 can be estimated), local variations within small temperature intervals may locally give a slope different from the ideal slope of the straight line 40 shown. In some very specific cases, the slope of the curve 41 may locally have a sign opposite to the sign of the slope of the straight line 40. In other words, within small temperature intervals, measurement artifacts may destroy the monotonicity of the accelerometer temperature drift.

[0087] refer to Figure 5 Schematic diagram of a method, the principle of an embodiment of the method will now be described, which method enables reliable and efficient learning of the temperature drift of a determined accelerometer after it has been installed in a given two-wheeled vehicle, for example in the housing of an on-board computer in said vehicle.

[0088] In the figure, a horizontal thick arrow 5 running from left to right is shown in the middle, which symbolically represents the temperature increase of the thermal engine of the two-wheeled vehicle. In the case of standard use, the minimum temperature T° The ambient temperature corresponds to the ambient temperature when the engine is started from a so-called "cold engine" situation, for example, equal to +20° C. And the maximum temperature of the engine in the case of a so-called "hot engine" is equal to +20° C. T° corresponds to a maximum temperature taking into account the cooling means optionally present in the vehicle and the conditions of use (i.e. a moving vehicle with the engine running but the vehicle stationary, or subject to the influence of an apparent wind resulting from the relative movement of the vehicle with respect to the air), for example equal to +90° C. Of course, in some extreme cases, the minimum temperature at which a cold engine is started may be lower or higher than +20° C. and may typically be between -20° C. and +55° C. Furthermore, the maximum temperature reached by a hot engine may be higher than +90° C. and, for example, reach a temperature of +125° C.

[0089] Above arrow 5 is shown Figure 1A and 1B Various angular positions of the motorcycle 101 about an upright position in which the axis Z1 of the vehicle's reference system X1, Y1 and Z1 is oriented along the vertical direction Z of the earth's reference system X, Y, Z.

[0090] Three temperature intervals 500, 510 and 520 are shown below the arrow 5, which will be referred to below. Also shown are three acceleration measurement points 50, 51 and 52, where the accelerometer on board the vehicle 101 measures the acceleration, at which points, on the one hand, the vehicle 101 is upright (i.e., at an angle of 1.1° relative to the vertical direction of the earth). θ is essentially equal to zero), and at these points, on the other hand, the temperature T° The temperatures corresponding to the three measurement points 50, 51 and 52 are respectively recorded as Tref , T1 and T2 In the following description, these temperatures will sometimes be referred to as reference temperatures. Tref , First learning temperature T1 and the second learning temperature T2 Similarly, the temperature intervals 500 , 510 , and 520 are sometimes referred to as a reference temperature interval 500 , a first learning temperature interval 510 , and a second learning temperature interval 520 , respectively.

[0091] As mentioned above, the reference temperature Tref is the temperature at which the accelerometer produces the acceleration measurement at the reference measurement point 50 where the vehicle is upright ( θ = 0) and the temperature of the accelerometer's surrounding environment T° is included in the reference temperature interval 500. The temperature interval 500 corresponds to the minimum temperature Tmin and maximum temperature Tmax The minimum temperature between Tmin and maximum temperature Tmax Defines the ambient temperature range that may be observed when the engine is started from a "cold engine" condition in the target application. As mentioned above, Tmin can be equal to -20°C, and Tmax Can be equal to +55℃.

[0092] In one example, the lower limit of the first learning temperature interval 510 may be equal to the reference temperature Tref Increase the first temperature difference ΔT1 In other words, the reference temperature Tref The temperature difference between the first learning temperature interval 510 and the ΔT1 The upper limit of the first learning temperature interval 510 may be equal to the maximum temperature that can be expected, which is +125°C in this example. Those skilled in the art will understand that, as a variant, interval 510 may have no upper limit, which is equivalent to the same thing from the perspective of understanding the present disclosure and is simpler in practice for implementing the method using software engineering. And in other words, the temperature interval 510 may includeT° > Tref + ΔT1 Temperature T° .

[0093] Similarly, the lower limit of the second learning temperature interval 520 may be equal to the first learning temperature T1 Adding the second temperature difference ΔT2 In other words, the first learning temperature range T1 The second learning temperature interval 520 is separated by a temperature difference ΔT2 The upper limit of the second learning temperature interval 520 may be equal to the maximum temperature that can be expected, which in this example is +125°C. As a variant, similar to the interval 510, the interval 520 has no upper limit. In other words, the temperature interval 520 may include T° > T1 + ΔT2 Temperature T° .

[0094] From a functional point of view, the temperature difference ΔT1 and ΔT2 The function is to ensure the first learning temperature T1 and reference temperature Tref Between and the second learning temperature T2 and the first learning temperature T1 The temperature distance between the measuring points 51 and 50 and between the measuring points 52 and 51 is sufficient to obtain better accuracy and higher reliability when estimating the slope of the temperature drift of the accelerometer between the measuring points 51 and 50 and between the measuring points 52 and 51, respectively. In fact, as mentioned above with reference to Figure 4 As described, the wider the intervals between the measurement points for the estimate of the slope of the line, the better the estimate.

[0095] In some embodiments, the temperature difference ΔT1 and / or temperature difference ΔT2 It may be greater than 30°C, for example, between 30°C and 40°C.

[0096] Now refer to Figure 6 An embodiment of a learning process for learning the temperature drift of an accelerometer in the context of the present invention is described with reference to a step diagram of FIG. Figure 5 The schematic diagram is given, Figure 5 This context is shown.

[0097] The method starts at step 60 .

[0098] In step 61, it is inquired whether the reference measurement at the reference measurement point 50 has been performed. Aref If yes, the method proceeds to step 62. Otherwise the method proceeds to step 611.

[0099] In step 611, it is inquired whether the ambient temperature T° near the accelerometer is included in the reference temperature interval 500. If not, the process restarts from executing step 61. If yes, the method goes to step 612.

[0100] In step 612, it is queried whether the vehicle is upright, i.e., whether it is in a special condition called "upright motorcycle". In other words, the angle between the vertical axis Z1 of the accelerometer and the vertical axis Z of the earth reference system is queried. θ Is the value substantially zero? This condition may be verified based on a combination of the states of the vehicle's sensors. For example, it may be based on one or more information provided by a sensor on the vehicle key, a sensor at the vehicle clutch, a sensor on a foot (central foot or side foot), a vehicle speed sensor, an engine speed sensor (indicating whether the engine is idling or accelerating), etc. If the motorcycle is not upright, the process restarts from executing step 61. If on the contrary the motorcycle is upright, the method continues to step 613.

[0101] At step 613, the reference measurement value given by the accelerometer is transcribed Aref In other words, we obtain a triplet of values ​​corresponding to the indication given by the accelerometer { Ax _ ref , Ay _ ref , Az _ ref In addition, record the temperature given by the temperature sensor at this time T° , which defines the reference temperature Tref In other words, step 613 includes executing Figure 5 The reference measurement is 50. In addition, the temperature Tref The triple of sum value { Ax _ ref , Ay _ ref , Az _ ref} is recorded in the non-volatile memory of the computer so that it can be retrieved later to perform the subsequent steps of the method.

[0102] In step 62, the query Figure 5 The first learning measurement point 51 at the first learning measurement A1 If yes, the method goes to step 63. Otherwise, the method goes to step 621.

[0103] In step 621, it is inquired whether the ambient temperature T° near the accelerometer is included in the first learning temperature interval 510. If not, the process restarts from executing step 61. If yes, the method goes to step 622.

[0104] At step 622, it is queried whether the vehicle is upright, i.e., whether a special condition called "upright motorcycle" exists. In other words, the angle between the vertical axis Z1 of the accelerometer and the vertical axis Z of the earth reference system is queried. θ Is it substantially zero? This condition can be verified in the same manner as step 612 above. If the motorcycle is not upright, the process restarts by executing step 61. If the motorcycle is upright, the method continues to step 623.

[0105] At step 623, the first learning measurement value given by the accelerometer is transcribed. A1 In other words, we obtain a triplet of values ​​corresponding to the indication given by the accelerometer { Ax_1 , Ay_1 , Az_1 In addition, record the temperature given by the temperature sensor at this time T° , which defines the first learning temperature T1 In other words, step 623 includes executing Figure 5 The first learning measurement is 51.

[0106] In addition, using the temperature value retrieved from the computer's non-volatile memory T1 The triple of sum value { Ax_1 , Ay_ 1 , Az_1} and temperature Tref The triple of sum value { Ax _ ref , Ay _ ref , Az _ ref}, calculate the first slope coefficient of the accelerometer temperature drift Slope_1 , as mentioned above Figure 4 More specifically, the slope is calculated for each axis of the accelerometer. Therefore, the slope coefficient Slope_1 It is actually a three-dimensional vector, that is, a triple of values ​​{ Slope_1x , Slope_ 1y , Slope_1z}definition.

[0107] For example, for the X-axis, by calculating Ax_1 and Ax _ ref The difference ( Ax_1 - Ax _ ref )and T1 and Tref The difference ( T1 - Tref ) ratio to obtain the value Slope_1x. And the same is true for the Y and Z axes. Temporarily save the values ​​obtained in this way { Slope_1x , Slope_1y , Slope_1z} until the process execution ends.

[0108] In step 63, the query Figure 5 The second learning measurement point 52 at the second learning measurement A2 If yes, the method goes to step 64. Otherwise, the method goes to step 631.

[0109] In step 631, it is inquired whether the ambient temperature T° near the accelerometer is within the second learning temperature interval 520. If not, the process restarts from executing step 61. If yes, the method goes to step 632.

[0110] At step 632, it is queried whether the vehicle is upright, i.e., whether it is in a special condition called "upright motorcycle". In other words, the angle between the vertical axis Z1 of the accelerometer and the vertical axis Z of the earth's reference system is queried. θ Is it substantially zero? This condition can be verified in the same way as in step 612 and step 622 described above. If the motorcycle is not upright, the process restarts by executing step 61. If on the contrary the motorcycle is upright, the method continues to step 633.

[0111] At step 633, the first learning measurement given by the accelerometer is transcribed. A2 In other words, we obtain a triplet of values ​​corresponding to the indication given by the accelerometer { Ax_2 , Ay_2 , Az_2 In addition, record the temperature given by the temperature sensor at this time T° , which defines the second learning temperature T2 In other words, step 633 includes executing Figure 5 The second learning measurement is 52.

[0112] In addition, using the temperature value retrieved from the computer's non-volatile memory T2 The triple of sum value { Ax_2 , Ay_ 2 , Az_2} and temperature Tref The triple of sum value { Ax _ ref , Ay _ ref , Az _ ref}, calculate the second slope coefficient of the accelerometer temperature drift Slope_2 , as mentioned above Figure 4More specifically, the slope is calculated for each axis of the accelerometer. Therefore, the slope coefficient Slope_2 It is actually a three-dimensional vector, that is, a triple of values ​​{ Slope_2x , Slope_ 2y , Slope_2z}definition.

[0113] For example, for the X-axis, by calculating Ax_2 and Ax _ ref The difference ( Ax_2 - Ax _ ref )and T2 and Tref The difference ( T2 - Tref ) to obtain the value Slope_2x The same is true for the Y and Z axes. Temporarily save the values ​​obtained in this way { Slope_ 2x , Slope_2y , Slope_2z} until the process execution ends.

[0114] In an optional step 64, the monotonicity of the temperature drift of the accelerometer is verified, as determined twice in succession in steps 623 and 633, respectively. In other words, the temperature drift slope coefficient determined between the measurement points 51 and 50 is verified. Slope_1 The sign of the temperature drift slope coefficient determined between the measuring points 52 and 50 Slope_2 The signs of are the same. If they are not the same, that is, if sgn( Slope_2 ) ≠ sgn( Slope_1 ), where "sgn" represents the mathematical operator "find the sign", the process restarts from executing step 61. This makes it possible to get rid of the above-mentioned measurement artifacts, which may cause the slopes measured at several measurement points to have opposite signs to each other, which is inconsistent with practice. Therefore, if the slope coefficient Slope_1 and Slope_2 If the signs of are not equal to each other, the process is interrupted.

[0115] Furthermore, in some embodiments, the first temperature drift coefficient is also verified in step 64 (or in a separate step 64a). Slope_1 and the second temperature drift coefficient Slope_2 The absolute value of the difference between the respective absolute values ​​is less than a certain threshold Th In practice, differences in the values ​​of these coefficients also reflect inconsistent measurement artifacts and justify stopping the process. The process then restarts by executing step 61. In a non-limiting example, the threshold Th It can be equal to 1.5mg / ℃.

[0116] If one or more of the tests performed at step 64 have a positive result, the method proceeds to step 65, which is also optional. At step 65, a first slope coefficient of the temperature drift of the accelerometer is also determined. Slope_1 The absolute value and the second slope coefficient of the accelerometer temperature drift Slope_2 Whether the absolute value of is included in the determined value interval, the interval is included in the value S 1 and S 2. These values S 1 and S 2 can be equal to negative value Off _ 31 and positive value Off _ 32 , which correspond to Figure 3 The slope of line 31 and the slope of line 32 are, or are associated with these two values. Similar to step 64, the function of step 65 is to exclude inconsistent measurements from the perspective of the expected behavior of the accelerometer with temperature changes, so as to maintain the reliability of the method despite measurement artifacts (which are always possible).

[0117] If the result of the test in step 65 is negative, the process is interrupted and the process restarts by executing step 61. If the result of the test is positive, the method passes to step 66.

[0118] In step 66, based on the first temperature drift coefficient Slope_1 and the second temperature drift coefficient Slope_2 Get a single temperature drift coefficient Slope _ cor . And the single temperature drift coefficient Slope _ cor is recorded in the non-volatile memory of the computer. It can then be used later in a calibration phase in which the acceleration value indicated by the accelerometer at a given measurement point where the temperature is equal to the current temperature value is corrected. T° , the correction is based on the current temperature value and the reference temperature value Tref The difference between the two and the individual temperature drift coefficient determined by the above learning process Slope _ cor .

[0119] In one embodiment, by calculating the first temperature drift coefficient Slope_1 and the second temperature drift coefficient Slope_2 The average value of the temperature drift coefficient is used to obtain a single Slope _ cor This can be a value of Slope_1 and Slope_2The arithmetic mean or any other average, such as the root mean square, of

[0120] As shown in the above reference, the learning phase Figure 5 and Figure 6 The temperature drift coefficients were obtained as described Slope _ cor After being stored in memory, the temperature drift coefficient can then be used throughout the service life of the vehicle to correct the accelerometer at any temperature. Ti Any acceleration measurement given below Ai In fact, for each axis of the accelerometer, it is possible to obtain from the value given by the accelerometer Ai , from the current value of temperature Ti and from the reference temperature value stored in the non-volatile memory of the computer Tref and temperature drift coefficient Slope _ cor The value of the corrected acceleration measurement is obtained by Ai _ cor This is achieved by performing the following calculation for each axis: Ai _ cor = Ai + Slope _ cor × ( Ti - Tref ).

[0121] Those skilled in the art will appreciate that, from the first temperature drift coefficient Slope_1 and the second temperature drift coefficient Slope_2 Such two coefficients obtain a single temperature drift coefficient Slope _ cor The fact that 64°C is sufficient makes it possible to carry out measurement consistency tests (such as those in steps 64 and 65) simultaneously and to cover a very wide temperature range. In fact, in the target application of temperature drift compensation of an accelerometer, which is used to measure the roll angle of a two-wheeled vehicle with a thermal engine, the operating temperature range of the accelerometer is very wide, since it can extend from -20°C or lower to +90°C or higher, during the phase in which the temperature of the thermal engine of a motorcycle rises from a "cold engine" condition.

[0122] In some embodiments, a reference acceleration value at a reference measurement point is obtained. Aref (Right now, Figure 5The reference measurement value at the reference measurement point 50 in the example 1) can be performed with the engine switched off when leaving the vehicle production line, while the other steps of the temperature drift learning phase of the accelerometer, in particular obtaining the first and second learning measurement values ​​at the learning measurement points 51 and 52, can be performed / be performed subsequently, when the engine is running, in the sales shop just before delivery to the first buyer of the vehicle, or during the first few kilometers on the road by the end user. This makes it possible not to force the vehicle manufacturer to go through a process of increasing the vehicle temperature, which is not necessarily required for other purposes and which they may wish to avoid.

[0123] The present invention is described and illustrated in possible embodiments in this detailed description and the accompanying drawings. However, the present invention is not limited to the embodiments presented. Those skilled in the art can infer and implement other variations and embodiments after reading this specification and studying the accompanying drawings.

[0124] In the claims, the terms "comprises" or "comprising" do not exclude other elements or other steps. A single processor or a plurality of other units may be used to implement the invention. The various features described and / or claimed may be advantageously combined. Their presence in the description or in different dependent claims does not exclude this possibility. The reference signs should not be understood as limiting the scope of the invention.

Claims

1. A method for compensating for temperature drift of an accelerometer (102) for measuring the inclination of a two-wheeled motor vehicle (101) having a thermal engine, the method comprising: - A learning phase to learn the temperature drift of the accelerometer, which includes: - acquiring (613) a reference acceleration value (Aref) at a reference measurement point (50) at which the vehicle is in an upright position (612) and at a temperature equal to a first reference temperature value (Tref), the first reference temperature value being included (611) in a reference temperature value range (500) corresponding to a "cold engine" state and the first reference temperature value being stored (613) in a non-volatile memory in association with the reference acceleration value, the "cold engine" corresponding to an engine at a minimum temperature corresponding to the ambient temperature at the beginning of the engine start; - obtaining (623) a first acceleration measurement value (A1) at a first measurement point (51), the first measurement point being different from the reference measurement point and at which the vehicle is substantially upright (622) and at a temperature equal to a first temperature measurement value (T1), the first temperature measurement value being comprised (621) in a first temperature value range (510) that is substantially higher than a first reference temperature value (Tref); - calculating (623) a first temperature drift coefficient (Slope_1), the first temperature drift coefficient being defined as the ratio of the difference between the first acceleration measurement value and the reference acceleration value to the difference between the first temperature measurement value (T1) and the first reference temperature value (Tref); - obtaining (633) a second acceleration measurement value (A2) at a second measurement point (52) at which the vehicle is substantially upright (632) and at a temperature equal to a second temperature measurement value (T2), the second temperature measurement value being comprised (631) within a second temperature value range (520) that is substantially higher than the first temperature measurement value (T1); - calculating (633) a second temperature drift coefficient (Slope_2), the second temperature drift coefficient being defined as the ratio of the difference between the second acceleration measurement value and the reference acceleration value to the difference between the second temperature measurement value (T2) and the first reference temperature measurement value (Tref); and - obtaining a single temperature drift coefficient (Slope_cor) based on the first temperature drift coefficient and the second temperature drift coefficient and storing (66) it in the non-volatile memory; and, - a calibration phase, in which the acceleration value indicated by the accelerometer at a given measurement point where the temperature is equal to a current temperature value (To) is corrected, the correction being based on the difference between the current temperature value and a reference temperature value (Tref) and on the single temperature drift coefficient.

2. The method according to claim 1, wherein: The single temperature drift coefficient is obtained and stored only if the first temperature drift coefficient and the second temperature drift coefficient are signed values ​​having the same sign (64).

3. The method according to claim 2, wherein: Furthermore, the single temperature drift coefficient is only determined and stored if the absolute value of the difference between the respective absolute values ​​of the first temperature drift coefficient and the second temperature drift coefficient is smaller than a certain threshold value (Th) (64).

4. The method according to claim 2 or claim 3, wherein: Furthermore, the single temperature drift coefficient is determined and stored only if the absolute value of the first temperature drift coefficient and the absolute value of the second temperature drift coefficient are included in a certain value interval (65).

5. The method according to any one of claims 1 to 3, wherein: The single temperature drift coefficient is obtained by calculating (66) an average of the first temperature drift coefficient and the second temperature drift coefficient.

6. The method according to any one of claims 1 to 3, wherein: The first temperature value range includes temperature values ​​at least 30° C. higher than the reference temperature value (Tref).

7. The method according to any one of claims 1 to 3, wherein: The second temperature value range includes temperature values ​​that are at least 30° C. higher than the first temperature measurement value ( T1 ).

8. The method according to any one of claims 1 to 3, wherein: The reference temperature value range includes temperature values ​​between -20°C and +55°C.

9. The method according to any one of claims 1 to 3, wherein: The accelerometer is a multi-axis accelerometer, and all steps of the method are performed simultaneously for each axis of the accelerometer.

10. The method according to any one of claims 1 to 3, wherein: Acquiring (613) a reference acceleration value (Aref) at a reference measurement point is performed with the engine off upon leaving the vehicle production line, while the further steps of a learning phase for learning the temperature drift of the accelerometer are subsequently performed with the engine running.

11. Device for compensating the temperature drift of an accelerometer (102) for measuring the inclination of a two-wheeled motor vehicle (101) with a thermal engine, the device comprising an electronic control unit of the engine of the two-wheeled motor vehicle (101) with a thermal engine, the electronic control unit comprising: Accelerometer (102); and means for measuring the roll of the vehicle during driving of the vehicle, automatically shutting down the engine when a threshold of the roll is exceeded; means for determining the ambient temperature; means for determining the engine temperature; means for determining whether the vehicle is upright; and the apparatus comprises means configured to implement all the steps of the method according to any one of claims 1 to 10.

12. A computer program product comprising one or more instruction sequences stored on a machine-readable storage medium, the machine comprising a processor, the instruction sequences being adapted to implement all the steps of the method according to any one of claims 1 to 10 when the program is read from the storage medium and executed by the processor.

Citation Information

Patent Citations

  • Vehicular slope determination apparatus

    JP2007322347A

  • Sensing steering axis inclination and camber with an accelerometer

    US20040194327A1

  • MEMS accelerometer with temperature compensation function

    CN103558415A

  • Output error compensation method for quartz vibrating beam accelerometer

    CN109188022A