Three-way acceleration determination method and device, storage medium and vehicle
By obtaining the current speed and weight of the vehicle, determining the reference three-way acceleration vector and calculating the compensation vector, the three-way acceleration measurement value is corrected, which solves the problem of acceleration sensor position changes caused by changes in the longitudinal beam attitude, and improves the accuracy of the three-way acceleration measurement. sex and vehicle drivability.
Patent Information
- Application Number
- CN202410650326.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-17
AI Technical Summary
Changes in the attitude of the vehicle's longitudinal beam lead to changes in the position of the acceleration sensor, resulting in errors in the three-way acceleration measurement values, which affect the accuracy and drivability of the three-way acceleration calculation in the vehicle.
By obtaining the current speed and weight of the vehicle, multiple reference three-way acceleration vectors are determined, and compensation vectors are calculated based on these vectors to correct the current three-way acceleration vector to compensate for the error.
The accuracy of three-way acceleration measurement is improved, the output results of relevant algorithms in the vehicle are improved, and the drivability is improved.
Smart Images

Figure CN118651235A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicles, and in particular, to a three-dimensional acceleration determination method, device, storage medium and vehicle. Background Art
[0002] The transmission controller is installed on the longitudinal beam of the vehicle. After the vehicle weight load is added, the posture of the vehicle longitudinal beam may change due to the combined effect of the rigidity and elasticity of the vehicle system. If the vehicle engine is in operation, the engine output torque will affect the entire vehicle system, and the ups and downs of the road surface will also affect the vehicle system, both of which will also affect the posture of the vehicle longitudinal beam. The change in the longitudinal beam posture will cause the orientation of the acceleration sensor in the transmission controller to change, resulting in errors in the three-dimensional acceleration values obtained by the acceleration sensor. This error will affect the accuracy of the output results of other algorithms in the vehicle that are applied to the three-dimensional acceleration for calculation. For example, it will make the slope angle results obtained by subsequent calculations less accurate, which will affect the drivability of the vehicle. Summary of the invention
[0003] The purpose of the present disclosure is to provide a method, device, storage medium and vehicle for determining three-dimensional acceleration, so as to improve the accuracy of the determined three-dimensional acceleration.
[0004] In order to achieve the above-mentioned object, the present disclosure provides a method for determining three-dimensional acceleration in a first aspect, comprising:
[0005] Get the current speed, weight and three-dimensional acceleration vector of the vehicle;
[0006] Determining a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight;
[0007] Determining a compensation vector according to the plurality of reference three-dimensional acceleration vectors;
[0008] The current three-dimensional acceleration vector is corrected according to the compensation vector.
[0009] Optionally, determining a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight includes:
[0010] According to a predetermined correspondence relationship among the vehicle speed, the vehicle weight and the three-dimensional acceleration vector, a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight are determined.
[0011] Optionally, the determining, according to a predetermined correspondence relationship among the vehicle speed, the vehicle weight and the three-axis acceleration vectors, a plurality of reference three-axis acceleration vectors corresponding to the current vehicle speed and the current vehicle weight comprises:
[0012] Determine the minimum vehicle speed in the corresponding relationship that is greater than the current vehicle speed as a first reference vehicle speed, and determine the maximum vehicle speed in the corresponding relationship that is less than the current vehicle speed as a second reference vehicle speed;
[0013] Determine the minimum vehicle weight in the corresponding relationship that is greater than the current vehicle weight as a first reference vehicle weight, and determine the maximum vehicle weight in the corresponding relationship that is less than the current vehicle weight as a second reference vehicle weight;
[0014] According to the first reference vehicle speed, the second reference vehicle speed, the first reference vehicle weight, and the second reference vehicle weight, a plurality of reference three-dimensional acceleration vectors are determined from the corresponding relationship.
[0015] Optionally, the corresponding relationship is obtained by controlling the vehicle to travel on a straight road at a preset speed and a preset weight after the acceleration sensor has been calibrated, wherein the acceleration sensor is calibrated on a straight road with the vehicle's engine not running and the vehicle unloaded, until the output value of the acceleration sensor is (0, 0, G) to confirm that the calibration is complete, wherein G is the acceleration due to gravity.
[0016] Optionally, determining the compensation vector according to the plurality of reference three-axis acceleration vectors comprises:
[0017] Performing two-dimensional linear interpolation processing on the plurality of reference three-dimensional acceleration vectors to obtain a reference vector;
[0018] The compensation vector is determined according to the reference vector.
[0019] Optionally, determining the compensation vector according to the reference vector includes:
[0020] The compensation vector CorrectV is determined by the following formula Y W X :
[0021] CorrectV Y W X =(0,0,G)-V Y W X
[0022] Where G is the acceleration due to gravity, V Y W X is the reference vector.
[0023] A second aspect of the present disclosure provides a three-dimensional acceleration determination device, comprising:
[0024] An acquisition module is used to obtain the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle;
[0025] A first determination module, configured to determine a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight;
[0026] A second determination module, configured to determine a compensation vector according to the plurality of reference three-axis acceleration vectors;
[0027] The third determination module is used to correct the current three-axis acceleration vector according to the compensation vector.
[0028] Optionally, the first determining module includes:
[0029] The first determination submodule is used to determine a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight according to a predetermined correspondence relationship among the vehicle speed, the vehicle weight and the three-dimensional acceleration vectors.
[0030] Optionally, the first determining submodule includes:
[0031] A second determination submodule, configured to determine the minimum vehicle speed in the corresponding relationship that is greater than the current vehicle speed as a first reference vehicle speed, and determine the maximum vehicle speed in the corresponding relationship that is less than the current vehicle speed as a second reference vehicle speed;
[0032] A third determination submodule, configured to determine the minimum vehicle weight in the corresponding relationship that is greater than the current vehicle weight as a first reference vehicle weight, and determine the maximum vehicle weight in the corresponding relationship that is less than the current vehicle weight as a second reference vehicle weight;
[0033] The fourth determination submodule is used to determine a plurality of reference three-axis acceleration vectors from the corresponding relationship according to the first reference vehicle speed, the second reference vehicle speed, the first reference vehicle weight, and the second reference vehicle weight.
[0034] Optionally, the corresponding relationship is obtained by controlling the vehicle to travel on a straight road at a preset speed and a preset weight after the acceleration sensor has been calibrated, wherein the acceleration sensor is calibrated on a straight road with the vehicle's engine not running and the vehicle unloaded, until the output value of the acceleration sensor is (0, 0, G) to confirm that the calibration is complete, wherein G is the acceleration due to gravity.
[0035] Optionally, the second determining module includes:
[0036] A fifth determination submodule, configured to perform two-dimensional linear interpolation processing on the plurality of reference three-dimensional acceleration vectors to obtain a reference vector;
[0037] A sixth determination submodule is used to determine the compensation vector according to the reference vector.
[0038] Optionally, the sixth determination submodule is used to determine the compensation vector CorrectV by the following formula: Y W X :
[0039] CorrectV Y W X =(0,0,G)-V Y W X
[0040] Where G is the acceleration due to gravity, V Y W X is the reference vector.
[0041] A third aspect of the present disclosure provides a three-dimensional acceleration determination device, comprising:
[0042] a memory having a computer program stored thereon;
[0043] A processor is used to execute the computer program in the memory to implement the steps of the method provided in the first aspect of the present disclosure.
[0044] A fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the first aspect of the present disclosure.
[0045] A fifth aspect of the present disclosure provides a vehicle, comprising:
[0046] An acceleration sensor is arranged in a transmission controller on a longitudinal beam of the vehicle and is used to obtain a current three-dimensional acceleration vector;
[0047] a memory having a computer program stored thereon;
[0048] A processor is used to execute the computer program in the memory to implement the steps of the method provided in the first aspect of the present disclosure.
[0049] The sixth aspect of the present disclosure provides a computer program product, which, when executed by a processor, implements the steps of the method provided in the first aspect of the present disclosure.
[0050] In the above technical solution, the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle are obtained; multiple reference three-dimensional acceleration vectors are determined according to the current vehicle speed and the current vehicle weight; a compensation vector is determined according to the multiple reference three-dimensional acceleration vectors; and the current three-dimensional acceleration vector is corrected according to the compensation vector. In this way, based on the compensation vector, the error between the obtained current three-dimensional acceleration vector and the actual three-dimensional acceleration vector can be compensated to obtain a more accurate three-dimensional acceleration vector, thereby improving the accuracy of the output results of other algorithms used in the vehicle for calculating the three-dimensional acceleration, and avoiding reducing the drivability of the vehicle.
[0051] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0053] Figure 1 It is a flowchart of a method for determining three-dimensional acceleration provided by an exemplary embodiment of the present disclosure.
[0054] Figure 2 It is a block diagram of a three-dimensional acceleration determination device provided by an exemplary embodiment of the present disclosure.
[0055] Figure 3 It is a block diagram of a three-dimensional acceleration determination device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0056] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0057] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0058] Figure 1 1 is a flow chart of a method for determining three-dimensional acceleration provided by an exemplary embodiment of the present disclosure. The method can be applied to controllers on a vehicle, such as an ECU (Electronic Control Unit), an MCU (Microcontroller Unit), and the like. Figure 1 As shown, the method may include steps S101 to S104.
[0059] In step S101, the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle are obtained.
[0060] For example, the current speed of the vehicle can be obtained in real time through a speed sensor pre-set on the vehicle. The current weight of the vehicle can be obtained in real time through a weight sensor pre-set in the vehicle suspension system or under the wheel. The current speed and weight of the vehicle can also be obtained through other methods that can obtain the speed or weight in the relevant technology, which will not be elaborated here. The current three-dimensional acceleration vector can be obtained in real time through an acceleration sensor pre-set in the transmission controller on the longitudinal beam of the vehicle.
[0061] In step S102, a plurality of reference three-dimensional acceleration vectors are determined according to the current vehicle speed and the current vehicle weight.
[0062] For example, three-dimensional acceleration vectors corresponding to different working conditions can be pre-stored, and the vehicle speed and vehicle weight under different working conditions are different. According to the current vehicle speed and the current vehicle weight, multiple reference working conditions can be determined from the pre-stored working conditions, and the three-dimensional acceleration vector corresponding to the reference working condition is determined as the reference three-dimensional acceleration vector. Among them, the difference between the vehicle speed under the reference working condition and the current vehicle speed is less than the preset vehicle speed difference threshold, and the difference between the vehicle weight under the reference working condition and the current vehicle weight is less than the preset vehicle weight difference threshold. If multiple reference three-dimensional acceleration vectors cannot be determined, the preset vehicle speed difference threshold and the preset vehicle weight difference threshold can be controlled to increase, and the above steps of determining multiple reference three-dimensional acceleration vectors are repeated until multiple reference three-dimensional acceleration vectors are determined. In this way, based on the three-dimensional acceleration vectors corresponding to different working conditions stored in advance, the predicted three-dimensional acceleration vector corresponding to the current vehicle speed and the current vehicle weight can be determined, so as to determine a compensation vector with higher accuracy on this basis, and then correct the current three-dimensional acceleration vector obtained by the accelerator sensor.
[0063] In step S103, a compensation vector is determined according to a plurality of reference three-axis acceleration vectors.
[0064] For example, the three-dimensional acceleration vector interpolation corresponding to the current vehicle speed and the current vehicle weight can be determined based on the current vehicle speed, the current vehicle weight, and a plurality of reference three-dimensional acceleration vectors, and the three-dimensional acceleration vector interpolation can be determined as the reference vector, and the difference between the vector (0, 0, G) and the reference vector can be determined as the compensation vector. Among them, G is the acceleration of gravity, and the vector (0, 0, G) is the value output by the acceleration sensor after calibration on a straight road, when the vehicle engine is not running and the vehicle is unloaded, which can also be understood as the static value of the three-dimensional acceleration.
[0065] In step S104, the current three-axis acceleration vector is corrected according to the compensation vector.
[0066] For example, the sum of the compensation vector and the current three-dimensional acceleration vector can be determined as the corrected three-dimensional acceleration vector. As mentioned above, the vehicle weight and speed affect the posture of the vehicle longitudinal beam, and the change in the posture of the vehicle longitudinal beam will cause the orientation of the acceleration sensor in the transmission controller to change, resulting in errors in the three-dimensional acceleration vector obtained by the acceleration sensor. The error can be compensated by the determined compensation vector, that is, the influence of the vehicle weight and speed on the static value of the three-dimensional acceleration of the acceleration sensor is eliminated, so as to obtain a more accurate, corrected three-dimensional acceleration vector consistent with the actual situation, and improve the accuracy of the output results of other algorithms used in the vehicle for three-dimensional acceleration calculations. For example, the accuracy of subsequent calculation results such as ramp angle can be improved, thereby avoiding reducing the drivability of the vehicle.
[0067] In the above technical solution, the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle are obtained; multiple reference three-dimensional acceleration vectors are determined according to the current vehicle speed and the current vehicle weight; a compensation vector is determined according to the multiple reference three-dimensional acceleration vectors; and the current three-dimensional acceleration vector is corrected according to the compensation vector. In this way, based on the compensation vector, the error between the obtained current three-dimensional acceleration vector and the actual three-dimensional acceleration vector can be compensated to obtain a more accurate three-dimensional acceleration vector, thereby improving the accuracy of the output results of other algorithms used in the vehicle for calculating the three-dimensional acceleration, and avoiding reducing the drivability of the vehicle.
[0068] In an optional implementation, in step S102, determining a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight may include:
[0069] According to the predetermined corresponding relationship between the vehicle speed, the vehicle weight and the three-dimensional acceleration vector, a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight are determined.
[0070] For example, the correspondence between the vehicle speed, the vehicle weight and the three-axis acceleration vector can be preset according to the test results. The correspondence can be represented by a function, a mapping table, etc.
[0071] In a possible implementation manner, the corresponding relationship is obtained by controlling the vehicle to travel on a straight road at a preset speed and a preset weight when the acceleration sensor is calibrated.
[0072] Assume that the preset vehicle weight includes the unloaded vehicle weight W B and the non-empty vehicle weight W c The preset vehicle speed includes a static vehicle speed V0 (engine not running) and a non-static vehicle speed V 10(engine running), the vehicle can be controlled to travel on a straight road at a preset speed and a preset weight. On a straight road, the vehicle engine is controlled not to run and the vehicle is unloaded. At this time, the acceleration sensor can be calibrated. During the calibration process, if the output value is (0, 0, G), it can be determined that the calibration is completed. The first vector V0W B Represents the output value of the acceleration sensor in this state, namely V0W B =(0, 0, G). After the acceleration sensor is calibrated, the vehicle engine can be controlled to be off and the vehicle weight can be set to a non-empty vehicle weight W on a flat road. c At this time, the three-dimensional acceleration vector collected by the acceleration sensor can be used as the second vector V0W C After the acceleration sensor is calibrated, the vehicle speed can be controlled to a non-static speed V on a straight road. 10 The vehicle is unloaded. At this time, the three-dimensional acceleration vector collected by the acceleration sensor can be expressed as the third vector V 10 W B After the acceleration sensor is calibrated, the vehicle speed can be controlled to a non-static speed V on a straight road. 10 And the vehicle weight is not empty vehicle weight W c At this time, the three-dimensional acceleration vector collected by the acceleration sensor can be expressed as the fourth vector V 10 W C In this way, a corresponding relationship as shown in Table 1 can be generated. The present disclosure uses a corresponding relationship table of size 2*2 as an example, but the table is not used to limit the present disclosure. More preset vehicle speeds and preset vehicle weights can be pre-set for testing to construct a more content-rich corresponding relationship and improve the accuracy of the determined compensation vector.
[0073] Table 1
[0074] <![CDATA[Unladen vehicle weight W B > <![CDATA[Non-empty vehicle weight W c > <![CDATA[Static vehicle speed V0]]> <![CDATA[First vector V0W B > <![CDATA[Second vector V0W C > <![CDATA[Non-static vehicle speed V 10 > <![CDATA[Third vector V 10 W B > <![CDATA[Fourth vector V 10 W C >
[0075] When the magnitude relationship between the current vehicle speed and the preset vehicle speed in the corresponding relationship, and the magnitude relationship between the current vehicle weight and the preset vehicle weight in the corresponding relationship are determined, multiple reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight can be simply and quickly determined by searching the corresponding relationship.
[0076] In a possible implementation, determining a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight according to a predetermined correspondence relationship among the vehicle speed, the vehicle weight, and the three-dimensional acceleration vectors may include:
[0077] The minimum vehicle speed in the corresponding relationship that is greater than the current vehicle speed is determined as the first reference vehicle speed, and the maximum vehicle speed in the corresponding relationship that is less than the current vehicle speed is determined as the second reference vehicle speed;
[0078] The minimum vehicle weight in the corresponding relationship that is greater than the current vehicle weight is determined as the first reference vehicle weight, and the maximum vehicle weight in the corresponding relationship that is less than the current vehicle weight is determined as the second reference vehicle weight;
[0079] According to the first reference vehicle speed, the second reference vehicle speed, the first reference vehicle weight, and the second reference vehicle weight, a plurality of reference three-dimensional acceleration vectors are determined from the corresponding relationship.
[0080] For example, if it is determined from the corresponding relationship shown in Table 1 that the vehicle speed is greater than the current vehicle speed V Y The minimum vehicle speed is the non-static vehicle speed V 10 , the maximum speed less than the current speed is the static speed V0, and the maximum speed greater than the current vehicle weight W X The minimum vehicle weight is the non-empty vehicle weight W c , the maximum vehicle weight less than the current vehicle weight is the unloaded vehicle weight W B , then the non-static vehicle speed V 10 is determined as the first reference vehicle speed, the static vehicle speed V0 is determined as the second reference vehicle speed, and the non-empty vehicle weight W c Determine as the first reference vehicle weight, and set the unloaded vehicle weight W B Based on Table 1, the static vehicle speed V0, the non-static vehicle speed V 10 、Unladen vehicle weight W B and the non-empty vehicle weight W c , the first vector V0W B , the second vector V0W C , the third vector V 10 W B and the fourth vector V 10 W C Determined as a reference three-dimensional acceleration vector. In this way, based on the predetermined corresponding relationship, a predicted three-dimensional acceleration vector corresponding to the current vehicle speed and the current vehicle weight, i.e., a reference vector, can be determined, so as to determine a compensation vector on this basis to correct the current three-dimensional acceleration vector obtained by the accelerator sensor.
[0081] In an optional implementation, in step S103, determining the compensation vector based on multiple reference three-dimensional acceleration vectors may include: performing two-dimensional linear interpolation processing on the multiple reference three-dimensional acceleration vectors to obtain a reference vector; and determining the compensation vector based on the reference vector.
[0082] For example, if the multiple reference three-dimensional acceleration vectors are respectively the first vector V0W described above B , the second vector V0W C , the third vector V 10 W B and the fourth vector V 10 W C, then the reference vector V can be determined based on the two-dimensional linear interpolation method Y W x =trend(V0W B , V0W C , V 10 W B , V 10 W C ).
[0083] In one embodiment, the compensation vector CorrectV can be determined by the following formula: Y W X :
[0084] CorrectV Y W X =(0,0,G)-V Y W X
[0085] Where G is the acceleration due to gravity, V Y W X is the reference vector.
[0086] In this way, based on the determination of multiple reference three-dimensional acceleration vectors according to the predetermined correspondence between the vehicle speed, vehicle weight and three-dimensional acceleration vectors, the reference vector can be determined simply, quickly and relatively accurately based on the two-dimensional linear interpolation determination method to determine a more accurate compensation vector, and then the current three-dimensional acceleration vector obtained by the acceleration sensor can be accurately corrected to improve the accuracy of the determined three-dimensional acceleration.
[0087] Based on the same inventive concept, the present disclosure also provides a three-dimensional acceleration determination device. Figure 2 2 is a block diagram of a three-dimensional acceleration determination device 200 provided by an exemplary embodiment of the present disclosure. Figure 2 , the three-axis acceleration determination device 200 may include:
[0088] The acquisition module 201 is used to acquire the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle;
[0089] A first determination module 202, configured to determine a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight;
[0090] A second determination module 203 is used to determine a compensation vector according to the plurality of reference three-axis acceleration vectors;
[0091] The third determination module 204 is used to correct the current three-axis acceleration vector according to the compensation vector.
[0092] In the above technical solution, the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle are obtained; multiple reference three-dimensional acceleration vectors are determined according to the current vehicle speed and the current vehicle weight; a compensation vector is determined according to the multiple reference three-dimensional acceleration vectors; and the current three-dimensional acceleration vector is corrected according to the compensation vector. In this way, based on the compensation vector, the error between the obtained current three-dimensional acceleration vector and the actual three-dimensional acceleration vector can be compensated to obtain a more accurate three-dimensional acceleration vector, thereby improving the accuracy of the output results of other algorithms used in the vehicle for calculating the three-dimensional acceleration, and avoiding reducing the drivability of the vehicle.
[0093] Optionally, the first determining module 202 includes:
[0094] The first determination submodule is used to determine a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight according to a predetermined correspondence relationship among the vehicle speed, the vehicle weight and the three-dimensional acceleration vectors.
[0095] Optionally, the first determining submodule includes:
[0096] A second determination submodule, configured to determine the minimum vehicle speed in the corresponding relationship that is greater than the current vehicle speed as a first reference vehicle speed, and determine the maximum vehicle speed in the corresponding relationship that is less than the current vehicle speed as a second reference vehicle speed;
[0097] A third determination submodule, configured to determine the minimum vehicle weight in the corresponding relationship that is greater than the current vehicle weight as a first reference vehicle weight, and determine the maximum vehicle weight in the corresponding relationship that is less than the current vehicle weight as a second reference vehicle weight;
[0098] The fourth determination submodule is used to determine a plurality of reference three-axis acceleration vectors from the corresponding relationship according to the first reference vehicle speed, the second reference vehicle speed, the first reference vehicle weight, and the second reference vehicle weight.
[0099] Optionally, the corresponding relationship is obtained by controlling the vehicle to travel on a straight road at a preset speed and a preset weight after the acceleration sensor has been calibrated, wherein the acceleration sensor is calibrated on a straight road with the vehicle's engine not running and the vehicle unloaded, until the output value of the acceleration sensor is (0, 0, G) to confirm that the calibration is complete, wherein G is the acceleration due to gravity.
[0100] Optionally, the second determining module 203 includes:
[0101] A fifth determination submodule, configured to perform two-dimensional linear interpolation processing on the plurality of reference three-dimensional acceleration vectors to obtain a reference vector;
[0102] A sixth determination submodule is used to determine the compensation vector according to the reference vector.
[0103] Optionally, the sixth determination submodule is used to determine the compensation vector CorrectV by the following formula: Y W X :
[0104] CorrectV Y W X =(0,0,G)-V Y W X
[0105] Where G is the acceleration due to gravity, V Y W X is the reference vector.
[0106] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0107] Figure 3 is a block diagram of a three-dimensional acceleration determination device 700 provided by an exemplary embodiment of the present disclosure. Figure 3 As shown, the three-dimensional acceleration determination device 700 may include: a processor 701 and a memory 702. The three-dimensional acceleration determination device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0108] The processor 701 is used to control the overall operation of the three-dimensional acceleration determination device 700 to complete all or part of the steps in the above-mentioned three-dimensional acceleration determination method. The memory 702 is used to store various types of data to support the operation of the three-dimensional acceleration determination device 700, and these data may include, for example, instructions for any application or method operating on the three-dimensional acceleration determination device 700, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent via the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules can be a keyboard, a mouse, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the three-way acceleration determination device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0109] In an exemplary embodiment, the three-dimensional acceleration determination device 700 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, referred to as ASIC), digital signal processors (Digital Signal Processor, referred to as DSP), digital signal processing devices (Digital Signal Processing Device, referred to as DSPD), programmable logic devices (Programmable Logic Device, referred to as PLD), field programmable gate arrays (Field Programmable Gate Array, referred to as FPGA), controllers, microcontrollers, microprocessors or other electronic components, and are used to execute the above-mentioned three-dimensional acceleration determination method.
[0110] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned three-dimensional acceleration determination method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the three-dimensional acceleration determination device 700 to complete the above-mentioned three-dimensional acceleration determination method.
[0111] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above three-dimensional acceleration determination method when executed by the programmable device.
[0112] In another exemplary embodiment, a vehicle is also provided, comprising an acceleration sensor and a three-way acceleration determination device:
[0113] The acceleration sensor is arranged in the transmission controller on the longitudinal beam of the vehicle, and is used to obtain the current three-dimensional acceleration vector; the three-dimensional acceleration determination device can be the three-dimensional acceleration determination device 200 or the three-dimensional acceleration determination device 700 provided above.
[0114] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0115] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0116] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A method for determining three-dimensional acceleration, It is characterized in that include: Get the current speed, weight and three-dimensional acceleration vector of the vehicle; Determining a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight; Determining a compensation vector according to the plurality of reference three-dimensional acceleration vectors; The current three-dimensional acceleration vector is corrected according to the compensation vector.
2. The method according to claim 1, It is characterized in that The determining of a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight includes: According to a predetermined correspondence relationship among the vehicle speed, the vehicle weight and the three-dimensional acceleration vector, a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight are determined.
3. The method according to claim 2, It is characterized in that The determining of a plurality of reference three-dimensional acceleration vectors corresponding to the current vehicle speed and the current vehicle weight according to a predetermined correspondence relationship among the vehicle speed, the vehicle weight and the three-dimensional acceleration vectors comprises: Determine the minimum vehicle speed in the corresponding relationship that is greater than the current vehicle speed as a first reference vehicle speed, and determine the maximum vehicle speed in the corresponding relationship that is less than the current vehicle speed as a second reference vehicle speed; Determine the minimum vehicle weight in the corresponding relationship that is greater than the current vehicle weight as a first reference vehicle weight, and determine the maximum vehicle weight in the corresponding relationship that is less than the current vehicle weight as a second reference vehicle weight; According to the first reference vehicle speed, the second reference vehicle speed, the first reference vehicle weight, and the second reference vehicle weight, a plurality of reference three-dimensional acceleration vectors are determined from the corresponding relationship.
4. The method according to claim 2, It is characterized in that The corresponding relationship is obtained by controlling the vehicle to travel on a straight road at a preset speed and a preset weight when the acceleration sensor is calibrated, wherein the acceleration sensor is calibrated on a straight road with the engine of the vehicle not running and the vehicle unloaded, until the output value of the acceleration sensor is (0, 0, G) to confirm that the calibration is completed, wherein G is the acceleration due to gravity.
5. The method according to claim 1, It is characterized in that The step of determining a compensation vector according to the plurality of reference three-dimensional acceleration vectors comprises: Performing two-dimensional linear interpolation processing on the plurality of reference three-dimensional acceleration vectors to obtain a reference vector; The compensation vector is determined according to the reference vector.
6. The method according to claim 5, It is characterized in that The step of determining the compensation vector according to the reference vector comprises: The compensation vector CorrectV is determined by the following formula Y W X : CorrectV Y W X =(0,0,G)-V Y W X Where G is the acceleration due to gravity, V Y W X is the reference vector.
7. A three-dimensional acceleration determination device, It is characterized in that include: An acquisition module is used to obtain the current vehicle speed, current vehicle weight and current three-dimensional acceleration vector of the vehicle; A first determination module, configured to determine a plurality of reference three-dimensional acceleration vectors according to the current vehicle speed and the current vehicle weight; A second determination module, configured to determine a compensation vector according to the plurality of reference three-axis acceleration vectors; The third determination module is used to correct the current three-axis acceleration vector according to the compensation vector.
8. A device for determining three-dimensional acceleration, It is characterized in that include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, It is characterized in that When the program is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
10. A vehicle, It is characterized in that include: An acceleration sensor is arranged in a transmission controller on a longitudinal beam of the vehicle and is used to obtain a current three-dimensional acceleration vector; a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 6.
