Parking floor determination method and device, and storage medium

By acquiring and processing multiple sets of status parameters of the vehicle, and using IMU and wheel speed meter data, it automatically determines the floor where the vehicle is located, solving the problem of low parking floor determination efficiency and achieving fast and accurate parking location positioning.

CN117128927BActive Publication Date: 2024-10-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311399367.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2024-10-15
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of determining the parking floor is low, it is difficult for users to find the parking location of the vehicle after parking, and the existing solutions are costly or inefficient.

Method used

By obtaining multiple sets of state parameters of the target vehicle, including measuring the pitch angle, pitch angle change, wheel speed and acceleration, estimating the pitch angle and height change, automatically determining the floor where the vehicle is located, and using IMU and wheel speedometer data to perform Kalman Filtering process to improve the accuracy of estimating pitch angle.

Benefits of technology

It can quickly and accurately determine the floor where the vehicle is located, improve the efficiency of parking floor determination, and reduce costs and user operation complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117128927B_ABST
    Figure CN117128927B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for determining a parking floor, and a storage medium. The method comprises: obtaining N groups of state parameters of a target vehicle; determining N estimated pitch angles according to the N groups of state parameters; determining the change in the height of the target vehicle according to the N estimated pitch angles and N wheel speeds; and determining the target floor where the target vehicle is parked in the target building according to the change in the height. The present application solves the technical problem of low efficiency in determining parking floors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and in particular, to a method and device for determining a parking floor, and a storage medium. Background Art

[0002] Due to factors such as floor space and storage conditions, enclosed parking lots are widely used in cities to solve the problem of vehicle parking. However, enclosed parking lots often have complex internal environments, limited vision, and no accurate positioning signals, making it difficult for users to find the parking location of their vehicles after parking.

[0003] In the related art, a parking lot car search system can be used to help users find the location where their vehicles are parked. For example, some large parking lots will install an intelligent car search system. By entering the license plate number or other identification information, the intelligent car search system will display the location of the vehicle and the best route to help find the floor where the vehicle is located. Alternatively, a map software can be used in combination with navigation information and manual recording. After the map software ends the navigation with the destination being the parking lot, a prompt message will pop up, prompting the user to manually record the parking space number and the floor where the vehicle is located.

[0004] It is understandable that the former needs to draw a complete parking lot map and record and set the specific numbers of the parking spaces that each camera can capture, which has high time and economic costs; the latter may have the problem that the prompt information cannot be successfully triggered, and the user is required to manually record relevant information. It is understandable that the efficiency of determining the parking floor in the related technology is low.

[0005] With respect to the problem of low efficiency in determining the above-mentioned parking floors, no effective solution has been proposed so far. Summary of the invention

[0006] The embodiments of the present application provide a method and device for determining a parking floor, and a storage medium, so as to at least solve the technical problem of low efficiency in determining a parking floor.

[0007] According to one aspect of an embodiment of the present application, a method for determining a parking floor is provided, comprising: obtaining N groups of state parameters of a target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of N moments in a process from the target vehicle entering a target building to the target vehicle parking in a parking space in the target building, and N is a positive integer greater than or equal to 2; determining N estimated pitch angles according to the N groups of state parameters, wherein the N estimated pitch angles include the estimated pitch angle of the target vehicle at each of the N moments, and the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle variations, The invention relates to a method for determining a target vehicle according to the present invention, wherein the N measured pitch angles include the measured pitch angle of the target vehicle at each of the N moments, the N pitch angle changes include the pitch angle changes of the target vehicle at each of the N moments, the N wheel speeds include the wheel speed of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments; according to the N estimated pitch angles and the N wheel speeds, determining the change in the height of the target vehicle; and according to the change in the height, determining the target floor where the target vehicle is parked in the target building.

[0008] According to another aspect of an embodiment of the present application, a device for determining a parking floor is also provided, including: an acquisition unit, used to acquire N groups of state parameters of a target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of the N moments in the process from the target vehicle entering a target building to the target vehicle parking in a parking space in the target building, and N is a positive integer greater than or equal to 2; a first determination unit, used to determine N estimated pitch angles based on the N groups of state parameters, wherein the N estimated pitch angles include the estimated pitch angle of the target vehicle at each of the N moments, and the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle variations The invention relates to a method for determining a target floor of the target building according to the N estimated pitch angles and the N wheel speeds, wherein the N measured pitch angles include the measured pitch angle of the target vehicle at each of the N moments, the N pitch angle changes include the pitch angle changes of the target vehicle at each of the N moments, the N wheel speeds include the wheel speeds of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments; a second determining unit is used to determine the change in height of the target vehicle according to the N estimated pitch angles and the N wheel speeds; and a third determining unit is used to determine the target floor where the target vehicle is parked in the target building according to the change in height.

[0009] In an exemplary embodiment, the first determination unit includes: a first determination module, configured to determine an i-th estimated pitch angle among the N estimated pitch angles by the following steps, wherein i is a positive integer greater than or equal to 1 and less than or equal to N: determining an i-th gain coefficient according to an i-th wheel speed, an i-th group of accelerations and an i-th operation coefficient, wherein when i is greater than 1, the i-th operation coefficient is a coefficient determined according to an i-1-th operation coefficient and an i-1-th gain coefficient, and when i is equal to 1, the i-th operation coefficient is a first preset value; a second determination module, configured to determine an i-th estimated pitch angle among the N estimated pitch angles according to the following steps, wherein i is a positive integer greater than or equal to 1 and less than or equal to N: determining an i-th gain coefficient according to an i-th wheel speed, an i-th group of accelerations and an i-th operation coefficient, wherein when i is greater than 1, the i-th operation coefficient is a coefficient determined according to an i-1-th operation coefficient and an i-1-th gain coefficient, and when i is equal to 1, the i-th operation coefficient is a first preset value; The method comprises the steps of: determining an i-th estimated pitch angle, an i-th pitch angle change, an i-th gain coefficient and an i-th measured pitch angle to determine an i-th estimated pitch angle, wherein, when i is greater than 1, the i-th preliminary estimated pitch angle is a pitch angle determined according to the i-1-th estimated pitch angle and the i-th estimated coefficient, and the i-th estimated coefficient is a coefficient determined according to the i-1-th estimated coefficient, the i-1-th gain coefficient, the i-1-th estimated pitch angle, the i-1-th preliminary estimated pitch angle and the i-1-th pitch angle change, and when i is equal to 1, the i-th preliminary estimated pitch angle is a second preset value.

[0010] In an exemplary embodiment, the first determination module is used to: determine the i-th intermediate coefficient according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of acceleration; determine the i-th gain coefficient according to the i-th intermediate coefficient and the i-th operation coefficient.

[0011] In an exemplary embodiment, the first determination module is used to: determine the target index value according to the accelerations in the three directions and the difference between the i-th wheel speed and the i-1-th wheel speed when the i-th group of accelerations includes accelerations in three directions; and determine the i-th intermediate coefficient to be equal to the target index value raised to the power of the natural base e.

[0012] In an exemplary embodiment, the first determination module is used to: determine the i-th gain coefficient to be equal to a value obtained by dividing the i-th intermediate coefficient by a target sum value, wherein the target sum value is equal to the sum of the i-th intermediate coefficient and the i-th operation coefficient.

[0013] In an exemplary embodiment, the second determination module is used to: sum the i-th preliminary estimated pitch angle and the i-th pitch angle change to obtain a first sum value; subtract the i-th measured pitch angle from the first sum value to obtain a first difference value; multiply the i-th gain coefficient and the first difference value to obtain a first product value; and determine the i-th estimated pitch angle to be equal to the sum of the first sum value and the first product value.

[0014] In an exemplary embodiment, the device also includes: a fourth determination unit, used to determine the i+1th estimation coefficient based on the i-th estimation coefficient, the i-th gain coefficient, the i-th estimated pitch angle, the i-th preliminary estimated pitch angle and the i-th pitch angle change; a fifth determination unit, used to determine the i+1th preliminary estimated pitch angle based on the i-th estimated pitch angle and the i+1th estimation coefficient; and a sixth determination unit, used to determine the i+1th operational coefficient based on the i-th operational coefficient and the i-th gain coefficient.

[0015] In an exemplary embodiment, the fourth determination unit includes: a first subtraction module, used to subtract the i-th preliminary estimated pitch angle and the i-th pitch angle change from the i-th estimated pitch angle to obtain a second difference; a first product operation module, used to perform a product operation on a preset first coefficient, the i-th gain coefficient and the second difference to obtain a second product value; and a third determination module, used to determine the i+1-th estimated coefficient to be equal to the sum of the i-th estimated coefficient and the second product value.

[0016] In an exemplary embodiment, the fifth determination unit includes: a fourth determination module, configured to determine the (i+1)th preliminary estimated pitch angle to be equal to the sum of the (i+1)th estimated pitch angle and the (i+1)th estimation coefficient.

[0017] In an exemplary embodiment, the sixth determination unit includes: a second product operation module, used to perform a product operation on the i-th gain coefficient and the i-th operation coefficient to obtain a third product value; a second subtraction module, used to subtract the third product value from the i-th operation coefficient to obtain a third difference value; and a fifth determination module, used to determine the i+1th operation coefficient to be equal to the sum of the third difference value and a preset second coefficient.

[0018] In an exemplary embodiment, the second determination unit includes: a division module, used to divide the N estimated pitch angles into M pitch angle groups, wherein each pitch angle group in the M pitch angle groups includes the estimated pitch angles of the target vehicle at a plurality of consecutive moments in the N moments, and M is a positive integer greater than or equal to 2; a sixth determination module, used to determine, based on the M pitch angle groups and the N wheel speeds, a change in the height of the target vehicle corresponding to each pitch angle group in the M pitch angle groups, to obtain M changes; a seventh determination module, used to determine, based on the M changes, Determine R pitch angle sequences in the M pitch angle groups, wherein R is a positive integer greater than or equal to 2 and less than M, and each pitch angle sequence in the R pitch angle sequences includes one or more adjacent pitch angle groups in the M pitch angle groups; an eighth determination module, used to determine the change in the height of the target vehicle according to the R groups of changes corresponding to the R pitch angle sequences, wherein the kth group of changes in the R groups of changes includes the changes in the M changes corresponding to each pitch angle group included in the kth pitch angle sequence, and k is a positive integer greater than or equal to 1 and less than or equal to R.

[0019] In an exemplary embodiment, the division module is used to: determine the pth pitch angle group among the M pitch angle groups by the following steps, wherein p is a positive integer greater than or equal to 1 and less than or equal to M: starting from the first moment after the p-1th group of moments among the N moments, searching for the pth group of moments that meets the first preset condition, wherein the moments in the pth group of moments are continuous moments, and the first preset condition means that the moving distance of the target vehicle after the pth group of moments is greater than or equal to a preset distance threshold, and the moving distance of the target vehicle after moments other than the last moment in the pth group of moments is less than the preset distance threshold, and when p is equal to 1, the first moment after the p-1th group of moments is the first moment among the N moments; determining the estimated pitch angle of the target vehicle at the pth group of moments among the N estimated pitch angles as the pth pitch angle group.

[0020] In an exemplary embodiment, the sixth determination module is used to: determine the jth change amount among the M changes by executing the following steps, wherein the jth change amount is the change amount of the height of the target vehicle corresponding to the jth pitch angle group among the M pitch angle groups, and j is a positive integer greater than or equal to 1 and less than or equal to M: j An estimated pitch angle, and the Q j The estimated pitch angle includes the consecutive Q jIn the case of the estimated pitch angle of the target vehicle at a certain moment, according to the Q j The estimated pitch angle and Q j wheel speed, determine the jth change, where Q j is a positive integer greater than or equal to 2 and less than N, wherein Q j The wheel speed includes the continuous Q j The wheel speed of the target vehicle at a certain moment.

[0021] In an exemplary embodiment, the sixth determination module is used to: respectively determine the Q j The estimated pitch angle is used to calculate the sine function value and obtain Q j The sine function value; the Q j The sine function values ​​are respectively related to the Q j Perform the corresponding product operation on the wheel speeds to obtain Q j The j-th change is determined to be equal to the Q j The sum of the product values.

[0022] In an exemplary embodiment, the seventh determination module is used to: determine the kth pitch angle sequence among the R pitch angle sequences by the following steps, wherein the M pitch angle groups are arranged in ascending order according to the N moments: searching for the kth pitch angle sequence that meets the second preset condition from the first pitch angle group after the k-1th pitch angle sequence among the M pitch angle groups, wherein the pitch angle groups in the kth pitch angle sequence are continuous pitch angle groups, and the second preset condition means that each pitch angle group in the kth pitch angle sequence meets the third preset condition, and when there is no pitch angle group before the kth pitch angle sequence and there is a pitch angle group after the kth pitch angle sequence, a pitch angle group after the kth pitch angle sequence does not meet the third preset condition. The third preset condition is that, when there is a pitch angle group before the kth pitch angle sequence and there is a pitch angle group after the kth pitch angle sequence, a pitch angle group before the kth pitch angle sequence and a pitch angle group after the kth pitch angle sequence both do not meet the third preset condition, and when there is a pitch angle group before the kth pitch angle sequence and there is no pitch angle group after the kth pitch angle sequence, a pitch angle group before the kth pitch angle sequence does not meet the third preset condition; wherein, the third preset condition means that the change amount corresponding to the pitch angle group is greater than or equal to the preset change amount threshold, and when k is equal to 1, the first pitch angle group after the k-1th pitch angle sequence is the first pitch angle group among the M pitch angle groups.

[0023] In an exemplary embodiment, the eighth determination module is used to determine the change in the height of the target vehicle to be equal to the sum of the R groups of changes.

[0024] In an exemplary embodiment, the third determination unit includes: an acquisition module for acquiring the corresponding height change and floor corresponding to the target building; and a ninth determination module for determining the target floor corresponding to the height change where the target vehicle is located from the corresponding height change and floor.

[0025] According to another aspect of the embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for determining the parking floor when running.

[0026] According to another aspect of the embodiment of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above parking floor determination method.

[0027] In an embodiment of the present application, in the process from when a vehicle enters a building to when it stops at a parking space in the building, multiple estimated pitch angles of the vehicle are determined based on multiple sets of acquired state parameters of the vehicle, and the change in height of the vehicle is automatically determined based on the multiple estimated pitch angles of the vehicle and multiple wheel speeds of the vehicle. Based on the change in height of the vehicle, the target floor at which the vehicle is parked in the building is automatically determined. In this way, the floor at which the vehicle is parked in the target building is automatically determined based on the height difference at which the target vehicle is located in the process from when the target vehicle enters the target building to when the target vehicle stops at the parking space in the target building, thereby achieving the technical effect of improving the efficiency of determining parking floors, and further solving the technical problem of low efficiency in determining parking floors. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0029] Figure 1 This is an application scenario diagram of an optional method for determining a parking floor according to an embodiment of the present application. Figure 1 ;

[0030] Figure 2This is an application scenario diagram of an optional method for determining a parking floor according to an embodiment of the present application. Figure 2 ;

[0031] Figure 3 This is an application scenario diagram of an optional method for determining a parking floor according to an embodiment of the present application. Figure 3 ;

[0032] Figure 4 is a flow chart of an optional method for determining a parking floor according to an embodiment of the present application;

[0033] Figure 5 is a schematic diagram of an optional pitch angle of a vehicle according to an embodiment of the present application;

[0034] Figure 6 An optional method for determining an estimated pitch angle according to an embodiment of the present application is shown in FIG. Figure 1 ;

[0035] Figure 7 is an exemplary embodiment of an optional method for determining a gain coefficient according to an embodiment of the present application. Figure 1 ;

[0036] Figure 8 is a schematic diagram of an optional method for determining an intermediate coefficient according to an embodiment of the present application;

[0037] Fig. 9 is an exemplary embodiment of an optional method for determining a gain coefficient according to an embodiment of the present application. Figure 2 ;

[0038] Fig.10 An optional method for determining an estimated pitch angle according to an embodiment of the present application is shown in FIG. Figure 2 ;

[0039] Fig.11 is a schematic diagram of optionally updating an estimation coefficient, a preliminary estimated pitch angle, and an operation coefficient according to an embodiment of the present application;

[0040] Fig.12 is a schematic diagram of determining the i+1th estimation coefficient according to an embodiment of the present application;

[0041] Fig.13 is a schematic diagram of an optional method of determining the i+1th preliminary estimated pitch angle according to an embodiment of the present application;

[0042] Fig.14 is a schematic diagram of an optional method for determining the i+1th operation coefficient according to an embodiment of the present application;

[0043] Fig.15 is an optional flow chart for determining an estimated pitch angle of a vehicle according to an embodiment of the present application;

[0044] Fig.16 is an optional method for determining the change in height of the target vehicle according to an embodiment of the present application. Figure 1 ;

[0045] Fig.17 is a schematic diagram of an optional method for determining pitch angle groups according to an embodiment of the present application;

[0046] Fig.18 is a schematic diagram of an optional method for determining the j-th variation according to an embodiment of the present application;

[0047] Fig.19 is an optional method for determining the change in height of the target vehicle according to an embodiment of the present application. Figure 2 ;

[0048] Fig. 20 is an optional flow chart for determining a change in the height of a vehicle according to an embodiment of the present application;

[0049] Fig.21 is a schematic diagram showing a floor where a vehicle is parked according to an embodiment of the present application;

[0050] Fig. 22 is a schematic diagram of a correspondence between a modified height difference and a number of floors according to an embodiment of the present application;

[0051] Fig.23 is a schematic diagram of an optional correction of the floor where the vehicle is parked according to an embodiment of the present application;

[0052] Fig.24 is a schematic structural diagram of an optional parking floor determination device according to an embodiment of the present application;

[0053] Fig.25 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application;

[0054] Fig.26 It is a block diagram of a computer system structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0056] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0057] First, the main terms involved in the embodiments of the present application are explained as follows:

[0058] IMU (Inertial Measurement Unit) is a device used to measure the acceleration and angular velocity of an object. IMU usually includes three accelerometers and three gyroscopes, which are used to measure the acceleration and angular velocity of an object on three axes. Accelerometers are used to measure the acceleration of an object on three axes, which can be used to calculate the speed and displacement of the object. Gyroscopes are used to measure the angular velocity of an object on three axes, which can be used to calculate the angle and angular displacement of the object. IMU can also estimate the attitude and motion state of an object by calculating the acceleration and angular velocity of the object.

[0059] Wheel speed meter: A vehicle's wheel speed meter is a device used to measure the rotation speed of the vehicle's tires. It usually includes one or more sensors that are mounted on the vehicle's tires or near the wheels. When the vehicle is moving, the wheel speed meter measures the rotation speed of the wheels and transmits the data to the vehicle's control system.

[0060] According to one aspect of an embodiment of the present application, a method for determining a parking floor is provided. Optionally, as an optional implementation, the above-mentioned method for determining a parking floor can be applied to, but is not limited to, Figure 1 in the environment shown.

[0061] like Figure 1 As shown, the target vehicle 102 may, but is not limited to, enter the target building 104, which includes multiple parking spaces, such as parking space a, parking space b, parking space c, parking space d, and parking space e, etc. These parking spaces may be deployed on different floors, for example, parking space a, parking space d, and parking space e are deployed on floor 2, and parking space b and parking space c are deployed on floor 2. Optionally, the target vehicle 102 may be parked in parking space a in the target building 104 for explanation and description, but is not limited to.

[0062] like Figure 2 As shown, the target vehicle 102 may be but is not limited to being deployed with a terminal device 202, the terminal device 202 may be but is not limited to being deployed with a display 208, a processor 206 and a memory 204, a database 212 is deployed in the server 210, and the terminal device 202 and the server 210 communicate through a network. In the process from the target vehicle 102 entering the target building 104 to the target vehicle 102 parking in the parking space a in the target building 104, the terminal device 202 may be but is not limited to transmitting the acquired multiple sets of state parameters of the target vehicle 102 to the server 210, the multiple sets of state parameters of the target vehicle 102 received by the server 210 are stored in the database 212, and the processing engine 214 in the server 210 acquires the multiple sets of state parameters of the target vehicle 102 from the database 212, and processes the multiple sets of state parameters of the target vehicle 102 to determine the floor where the target vehicle 102 is parked in the target building 104. For example, the floor where the parking space a is located may be determined by, but is not limited to, the following steps:

[0063] Step S102, obtaining N groups of state parameters of the target vehicle 102, wherein the N groups of state parameters are a group of state parameters of the target vehicle 102 at each of the N moments in the process from the target vehicle 102 entering the target building 104 to the target vehicle 102 parking in the parking space a in the target building 104, and N is a positive integer greater than or equal to 2.

[0064] Step S104, determining N estimated pitch angles according to N groups of state parameters, wherein the N estimated pitch angles include the estimated pitch angle of the target vehicle 102 at each of the N moments, the N groups of state parameters include N measured pitch angles of the target vehicle 102, N pitch angle changes, N wheel speeds and N groups of accelerations, the N measured pitch angles include the measured pitch angle of the target vehicle 102 at each of the N moments, the N pitch angle changes include the pitch angle changes of the target vehicle 102 at each of the N moments, the N wheel speeds include the wheel speeds of the target vehicle 102 at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle 102 at each of the N moments.

[0065] Step S106, determining a change in the height of the target vehicle 102 according to the N estimated pitch angles and the N wheel speeds.

[0066] Step S108, determining the target floor where the target vehicle 102 stops in the target building 104 according to the change in height.

[0067] S110 , sending the target floor where the target vehicle 102 stops in the target building 104 .

[0068] like Figure 3 As shown, N=10 may be used as an example for explanation but is not limited thereto. It can be understood that in the above step 102, 10 groups of state parameters of the target vehicle 102 are obtained. The 10 groups of state parameters are 10 moments (for example, time T1 to T2) in the process from the target vehicle 102 entering the target building 104 to the target vehicle 102 parking in the parking space a in the target building 104. 10 ) is a set of state parameters of the target vehicle 102 at each moment in time.

[0069] The 10 sets of state parameters include 10 measured pitch angles P of the target vehicle 102 a , 10 pitch angle changes △P, 10 wheel speeds S and 10 sets of acceleration a, 10 measured pitch angles P a It includes the measured pitch angle of the target vehicle 102 at each of the 10 moments, 10 pitch angle changes △P include the pitch angle changes of the target vehicle 102 at each of the N moments, 10 wheel speeds S include the wheel speed of the target vehicle 102 at each of the N moments, and 10 groups of accelerations a include a group of accelerations of the target vehicle 102 at each of the 10 moments.

[0070] For example, a set of state parameters of the target vehicle 102 at time T1 includes the measured pitch angle P of the target vehicle 102 at time T1. a1 , the pitch angle change ΔP1 of the target vehicle 102 at time T1, the wheel speed S1 of the target vehicle 102 at time T1, a set of accelerations a of the target vehicle 102 at time T1 x1 、a y1 and a z1 A set of state parameters of the target vehicle 102 at time T2 includes the measured pitch angle P of the target vehicle 102 at time T2. a2 , the pitch angle change ΔP2 of the target vehicle 102 at time T2, the wheel speed S2 of the target vehicle 102 at time T2, a set of accelerations a of the target vehicle 102 at time T2 x2 、a y2 and a z2 A set of state parameters of the target vehicle 102 at the remaining 10 moments is similar to a set of state parameters of the target vehicle 102 at moment T1 and a set of state parameters of the target vehicle 102 at moment T2, and will not be described in detail herein.

[0071] In this case, 10 estimated pitch angles may be determined based on, but not limited to, 10 sets of state parameters, for example, P 1,1 , P 2,2 , P 3,3 , P 4,4 , P 5,5 , P6,6 , P 7,7 , P 8,8 , P 9,9 , P 10,10 . It can be, but is not limited to, based on 10 estimated pitch angles (e.g., P 1,1 , P 2,2 , P 3,3 , P 4,4 , P 5,5 , P 6,6 , P 7,7 , P 8,8 , P 9,9 , P 10,10 ) and 10 wheel speeds (e.g., wheel speeds S1 to S 10 ), determine the change in height of the target vehicle 102, for example, the change in height of the target vehicle 102 is 6m. According to the change in height of the target vehicle 102, determine the target floor where the target vehicle 102 stops in the target building 104, for example, the target floor where the target vehicle 102 stops in the target building 104 is the 2nd floor.

[0072] Optionally, in this embodiment, the terminal device may be a terminal device configured with a target client, which may include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop, a tablet computer, a PDA, a MID (Mobile Internet Devices), a PAD, a desktop computer, a smart TV, etc. The target client may be a video client, an instant messaging client, a browser client, an education client, etc. The network may include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that implement wireless communication. The server may be a single server, or a server cluster consisting of multiple servers, or a cloud server. The above is only an example, and this embodiment does not impose any limitation on this.

[0073] like Figure 4 As shown, the process of the method for determining the parking floor may include but is not limited to the following steps:

[0074] Step S402, the target building may include but is not limited to a building used for parking, such as a shopping mall, office building or residential area, for example, a ground parking lot or an underground parking lot, etc. The target building may include but is not limited to multiple floors where parking is allowed, and each floor may include but is not limited to one or more parking spaces.

[0075] Taking an underground parking lot as an example, there may be multiple floors where parking is allowed, for example, from the underground first floor to the underground third floor. Due to the complex internal environment of the underground parking lot, limited vision and the lack of positioning signals such as GPS (Global Positioning System), it is difficult for users to find the parking location of the vehicle after parking, especially when there are many parking floors in the underground parking lot and the user forgets the floor where the vehicle is parked. In such a case, for example, the vehicle may be parked on the underground first floor of the underground parking lot, or it may be parked on the underground second floor of the underground parking lot.

[0076] In such a case, in order to enable the user to quickly determine the floor where the vehicle is parked and improve the efficiency of the user in finding the parked vehicle, it is possible, but not limited to, to obtain the state parameters of the target vehicle through the gyroscope and accelerometer in the IMU when the target vehicle enters the target building, until the target vehicle stops in the parking space in the target building, and then stop obtaining the state parameters of the target vehicle to obtain multiple sets of state parameters of the target vehicle at multiple times.

[0077] For example, after the target vehicle enters the underground parking lot, the state parameters of the target vehicle are obtained until the user shifts to P gear, turns off the engine, locks the vehicle (it can be understood that the target vehicle is parked in a parking space in the underground parking lot), or the vehicle drives out of the parking lot (if the vehicle leaves the underground parking lot directly, the calculation ends directly).

[0078] Optionally, in an embodiment, after the vehicle enters the parking lot, the movement parameters of the vehicle may also be recorded according to the mileage of the vehicle, but is not limited to the mileage of the vehicle.

[0079] Step S404, the pitch angle of the vehicle can be used, but is not limited to, to indicate the motion state of the vehicle. The pitch angle of the vehicle refers to the angle between the front-rear direction of the vehicle and the ground plane. Under normal circumstances, the pitch angle of the vehicle should be 0 degrees, that is, the vehicle is moving steadily on the plane. When the vehicle tilts forward, the pitch angle is positive, and when the vehicle tilts backward, the pitch angle is negative. For example, a person sitting in the vehicle can judge whether the vehicle is moving upward, forward or downward based on the pitch of the vehicle. When the vehicle switches from moving forward to moving downward and then switches to moving forward, the vehicle may have moved down one floor.

[0080] like Figure 5 As shown, it is assumed that the vehicle's IMU has been calibrated, that is, the X-axis, Y-axis and Z-axis of the IMU Figure 5 The X-axis of the gyroscope corresponds to the pitch angle of the vehicle, the Y-axis corresponds to the roll angle, and the Z-axis corresponds to the yaw angle. In addition, the acceleration Y-axis corresponds to the vehicle's forward direction, and the Z-axis corresponds to the direction of gravity when the vehicle is parked on flat ground. There are many ways to calibrate the IMU, which will not be described in detail here.

[0081] Kalman filtering is a state estimation algorithm, which is a mathematical tool that can make an unbiased estimate of the system state (for example, the pitch angle in the embodiment of the present application) based on the uncertainty of the sensor. The measured pitch angle of the vehicle is obtained in real time through IMU data. One method in the related technology is to integrate the reading of the gyroscope X-axis within a certain period of time (the gyroscope is generally updated more than 50 times per second, and the value of each update is within 0.02s, so integration is required). The disadvantage of this method is that the gyroscope will generate random errors and systematic errors every time it measures. Random errors refer to random variables (noise) that are different from the measured value and the actual value, and systematic errors refer to random variables (zero bias) that are relatively stable and different from the true value at each measurement. In the process of integration, the above two errors will also accumulate over time, and the error of the calculated measured pitch angle will become larger and larger, and it will not converge automatically.

[0082] Another method in the related art is to calculate the measured pitch angle of the vehicle through IMU data from the accelerometer. Obviously, if the vehicle has a certain pitch angle, the direction of gravity is not vertically downward for the vehicle, so there will be a component on the Z axis and another component on the Y axis. If the vehicle is stationary or in uniform linear motion at this time, then the measured pitch angle of the target vehicle at the wth moment in N moments can be determined by, but not limited to, the following formula (1):

[0083] (1)

[0084] in, is the measured pitch angle of the target vehicle at the wth moment, is the acceleration of the target vehicle on the Y axis at the wth moment, that is, is the component of the accelerometer on the Y axis, is the acceleration of the target vehicle on the Z axis at the wth moment, that is, is the component of the accelerometer on the Z axis. Optionally, the acceleration on the Y axis, Z axis and X axis at each of the N moments can be obtained through the accelerometer in the IMU, but is not limited to. However, this method also has obvious errors when the vehicle accelerates, decelerates or bumps. Since both methods of calculating the measured pitch angle of the vehicle based on the IMU have uncertainties, the calculated measured pitch angle of the vehicle is less accurate.

[0085] In order to improve the accuracy of the estimated pitch angle of the determined vehicle, it is possible but not limited to combining with an improved one-dimensional Kalman filter to eliminate its uncertainty. For example, based on N groups of state parameters, N estimated pitch angles are determined. It can be understood that the pitch angle of the target vehicle is estimated in real time based on the N groups of state parameters to obtain N estimated pitch angles. It can be understood that replacing the N measured pitch angles with N estimated pitch angles avoids the disadvantage of low accuracy of the measured pitch angle of the vehicle in the related technology due to random errors and systematic errors of the gyroscope or vehicle acceleration, deceleration, bumps, etc. It can be understood that the N estimated pitch angles are more accurate than the N measured pitch angles, thereby improving the accuracy of the calculated pitch angle of the vehicle.

[0086] For example, after the vehicle enters the underground parking lot, the system continues to collect data such as the IMU, the wheel speed of the target vehicle, and timestamps (each IMU data generated records a data combination containing a one-to-one correspondence between wheel speed, pedal depth, and timestamp) until the user shifts into P gear, turns off the engine, locks the vehicle (it can be understood that the vehicle is parked in a parking space in the underground parking lot), or drives out of the parking lot (if the vehicle leaves the underground parking lot directly, the calculation ends directly).

[0087] Optionally, in this embodiment, before obtaining N groups of state parameters of the target vehicle, the method further includes: obtaining S groups of state parameters of the target vehicle before the target vehicle enters the target building, the S groups of state parameters being a group of state parameters of the target vehicle at each of S moments in the process from the target vehicle entering the target building to the target vehicle parking in the parking space of the target building, where S is a positive integer greater than or equal to 2; determining S estimated pitch angles according to the S groups of state parameters, wherein the S groups of state parameters include S measured pitch angles of the target vehicle, S pitch angle changes, , S wheel speeds and S groups of accelerations, the S measured pitch angles include the measured pitch angle of the target vehicle at each of the S moments, the S pitch angle changes include the pitch angle changes of the target vehicle at each of the S moments, the S wheel speeds include the wheel speeds of the target vehicle at each of the S moments, and the S groups of accelerations include a group of accelerations of the target vehicle at each of the S moments; when the difference between the S estimated pitch angles and the S measured pitch angles is less than or equal to a preset difference threshold and the target vehicle enters a target building, N groups of state parameters of the target vehicle are obtained.

[0088] Optionally, in this embodiment, the recording time of the data collected before the vehicle enters the parking lot should not be too short, and should generally be at least 60 seconds (or 80 seconds, 90 seconds, etc., which is not limited in this application). Before the parking lot entry and exit judgment algorithm gives the output of entering the parking lot, the system will continue to save the 60 seconds of data in a first-in-first-out order, but will not process the data here to reduce computing power consumption. After entering the parking lot, the system continues to collect data in sequence, but no longer deletes data in a first-in-first-out order until parking is completed.

[0089] In this way, the estimated pitch angle determined when the target vehicle enters the target building is already a relatively stable value, thereby improving the accuracy of the N estimated pitch angles determined subsequently based on N sets of state parameters from the target vehicle entering the target building to the target vehicle parking in the parking space in the target building.

[0090] Optionally, roll and yaw will have some impact on the downward component of the vehicle's forward direction during vehicle motion, but in fact, the overall roll and yaw angles of the vehicle during parking, especially the roll angle, are very small, so this part of the impact can be ignored and the error caused by it is acceptable. Removing it can avoid estimating two additional system states, which helps reduce the complexity of the algorithm and improve efficiency and robustness.

[0091] Step S406, the change in the height of the target vehicle may be, but is not limited to, used to represent the height difference of the target vehicle from the time when the target vehicle enters the target building to the time when the target vehicle parks in the parking space of the target building.

[0092] Optionally, in this embodiment, the change in the height of the target vehicle can also be used to represent the height difference of the height of the target vehicle after N moments. For example, the N moments include the moments T1 to T2. 10 , then the change in the height of the target vehicle is used to represent the time from time T1 to T 10 , the height difference of the target vehicle, for example, the height of the target vehicle at time T1 is different from that at time T 10 The height difference between the heights where the target vehicle is located.

[0093] Optionally, in this embodiment, the change in the height of the target vehicle can be a positive value, a negative value, or 0, etc. When the change in the height of the target vehicle is a positive value, it can be understood that the target vehicle is parked in a parking space in a ground parking lot. When the change in the height of the target vehicle is a negative value, it can be understood that the target vehicle is parked in a parking space in an underground parking lot.

[0094] Step S408 may, but is not limited to, determine the target floor where the target vehicle is parked in the target building based on the change in the height of the target vehicle. For example, when the change in the height of the target vehicle is a positive value, the vehicle is parked on a certain floor of the ground parking lot. For example, when the change in the height of the target vehicle is 6m, it can be determined that the vehicle is parked on the 2nd floor of the ground parking lot. When the change in the height of the target vehicle is a negative value, the vehicle is parked on a certain floor of the underground parking lot. For example, when the change in the height of the target vehicle is -3m, it can be determined that the vehicle is parked on the negative first floor of the ground parking lot.

[0095] Optionally, in this embodiment, the target building may have, but is not limited to, a corresponding target floor height for each floor, and may determine, but is not limited to, the target floor at which the target vehicle stops in the target building based on the target floor height corresponding to the target building and the change in the height at which the target vehicle is located.

[0096] It is understandable that, according to the change in the height of the same target vehicle and the floor heights corresponding to different buildings, the floors where the target vehicle is parked in different buildings may be different.

[0097] For example, the change in height of the target vehicle is 3m. For underground parking lots located around office buildings or in office buildings, the height of each floor is 1.5m. In this case, the target vehicle is parked on the second floor in the underground parking lot. For underground parking lots located around shopping malls or in office buildings, the height of each floor is 3m. In this case, the target vehicle is parked on the first floor in the underground parking lot.

[0098] Through the above method, in the process from the vehicle entering the building to the vehicle parking in the parking space of the building, multiple estimated pitch angles of the vehicle are determined according to the multiple groups of state parameters of the vehicle that are obtained, and the change in the height of the vehicle is automatically determined according to the multiple estimated pitch angles of the vehicle and the multiple wheel speeds of the vehicle. According to the change in the height of the vehicle, the target floor where the vehicle is parked in the building is automatically determined. In this way, the floor where the vehicle is parked in the target building is automatically determined according to the height difference of the target vehicle in the process from the target vehicle entering the target building to the target vehicle parking in the parking space of the target building, thereby achieving the technical effect of improving the efficiency of determining the parking floors, and then solving the technical problem of low efficiency in determining the parking floors.

[0099] As an optional solution, determining N estimated pitch angles according to N groups of state parameters includes: determining an i-th estimated pitch angle among the N estimated pitch angles by the following steps, where i is a positive integer greater than or equal to 1 and less than or equal to N:

[0100] S11, determine the i-th gain coefficient according to the i-th wheel speed, the i-th group of acceleration and the i-th operating coefficient, wherein, when i is greater than 1, the i-th operating coefficient is a coefficient determined based on the i-1-th operating coefficient and the i-1-th gain coefficient, and when i is equal to 1, the i-th operating coefficient is a first preset value.

[0101] S12, determining the i-th estimated pitch angle according to the i-th preliminary estimated pitch angle, the i-th pitch angle change, the i-th gain coefficient and the i-th measured pitch angle, wherein, when i is greater than 1, the i-th preliminary estimated pitch angle is the pitch angle determined according to the i-1-th estimated pitch angle and the i-th estimation coefficient, the i-th estimation coefficient is the coefficient determined according to the i-1-th estimation coefficient, the i-1-th gain coefficient, the i-1-th estimated pitch angle, the i-1-th preliminary estimated pitch angle and the i-1-th pitch angle change, and when i is equal to 1, the i-th preliminary estimated pitch angle is the second preset value.

[0102] Optionally, in this embodiment, the gain coefficient may include but is not limited to the Kalman gain, the operational coefficient may be but is not limited to being used to represent the uncertainty measure of the gyroscope, and the estimation coefficient may be but is not limited to being used to represent the estimate of the gyroscope zero bias. The larger the gain coefficient, the greater the change in the estimation coefficient may be. It can be understood that the larger the gain coefficient, the greater the change in the gyroscope zero bias.

[0103] In order to better understand the process of determining the estimated pitch angle in the embodiment of the present application, the process of determining the estimated pitch angle in the embodiment of the present application is explained and illustrated in combination with optional embodiments below, which can be applicable to but not limited to the embodiment of the present application.

[0104] like Figure 6 As shown, it is possible but not limited to determine the estimated pitch angle P 3,3 For example, a set of state parameters of the target vehicle at time T3 may include, but is not limited to, the measured pitch angle P of the target vehicle at time a,3 , the pitch angle change of the target vehicle △P3, the wheel speed of the target vehicle S3, a set of accelerations of the target vehicle (for example, a x3 、a y3 and a z3 ).

[0105] In this case, according to the wheel speed S3, a set of accelerations (e.g., a x3 、a y3 and a z3 ) and the operation coefficient u 3,2 , determine the gain coefficient K3, where the operation coefficient u 3,2 According to the operation coefficient u2,1 and gain coefficient K2 to determine the obtained coefficient; according to the preliminary estimate of the pitch angle P 3,2 , pitch angle change △P3, gain coefficient K3 and measured pitch angle P a,3 , determine the estimated pitch angle P 3,3 , where the initial estimated pitch angle P 3,2 is based on the estimated pitch angle P 2,2 and the estimated coefficient b 3,2 Determine the resulting pitch angle and estimate the coefficient b 3,2 Based on the estimated coefficient b 2,1 , gain coefficient K2, estimated pitch angle P 2,2 , Preliminary estimate of pitch angle P 2,1 And the coefficient determined by the pitch angle change △P2.

[0106] In this way, the uncertainty measurement and zero bias estimation of the gyroscope are comprehensively considered to determine the pitch angle of the vehicle, smooth out the errors caused by the uncertainty measurement and zero bias estimation of the gyroscope, and improve the accuracy of the determined pitch angle of the vehicle.

[0107] As an optional solution, the i-th gain coefficient is determined according to the i-th wheel speed, the i-th group of acceleration and the i-th operation coefficient, including:

[0108] S21, determining an i-th intermediate coefficient according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of accelerations.

[0109] S22, determining the i-th gain coefficient according to the i-th intermediate coefficient and the i-th operation coefficient.

[0110] In order to improve the accuracy of the pitch angle of the determined vehicle, the uncertainty of the accelerometer reading can be independently measured by, but not limited to, an intermediate coefficient. In the intermediate coefficient, the external force effect on the current vehicle is measured by acceleration, and the speed change of the current vehicle is measured by the wheel speed of the vehicle. It can be understood that the greater the external force effect on the vehicle, the greater the speed change rate, and the less accurate the result estimated by the current accelerometer.

[0111] like Figure 7 As shown, the process of determining the gain coefficient in the embodiment of the present application can be explained and illustrated by taking, but not limited to, determining the gain coefficient K3 as an example, according to the wheel speed S3, the wheel speed S2 and the acceleration a x3 、a y3 、a z3 , determine the intermediate coefficient r3; according to the intermediate coefficient r3 and the operation coefficient u 3,2, determine the gain coefficient K3. In this way, the uncertainty of the accelerometer reading and the uncertainty measurement of the gyroscope are comprehensively considered to determine the gain coefficient, thereby improving the accuracy of the determined gain coefficient.

[0112] As an optional solution, the i-th intermediate coefficient is determined according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of accelerations, including:

[0113] S31, when the i-th group of accelerations includes accelerations in three directions, determining a target index value according to the accelerations in the three directions and a difference value obtained by subtracting the i-1-th wheel speed from the i-th wheel speed.

[0114] S32, determining the i-th intermediate coefficient to be equal to the natural base e raised to the power of the target exponent value.

[0115] Each of the N groups of accelerations may include, but is not limited to, accelerations in three directions, for example, accelerations in the directions of the X-axis, the Y-axis, and the Z-axis. Figure 8 As shown, it can be but not limited to taking the intermediate coefficient r3 as an example, it can be but not limited to according to the acceleration a x3 、a y3 、a z3 , the difference obtained by subtracting the wheel speed S2 from the wheel speed S3 is used to determine the target index value, and the intermediate coefficient r3 is determined to be equal to the target index value raised to the power of the natural base e.

[0116] Optionally, in this embodiment, the target index value corresponding to the i-th intermediate coefficient may be determined by, but not limited to, the following formula (2):

[0117] (2)

[0118] in, is the target index value corresponding to the i-th intermediate coefficient, is the third preset value, is the fourth preset value, is the acceleration in the X-axis direction in the i-th group of accelerations, is the acceleration in the Y-axis direction in the i-th group of accelerations, is the acceleration in the Z-axis direction in the i-th group of accelerations, is the i-th wheel speed, is the acceleration due to gravity, is the i-1th wheel speed.

[0119] To improve the hyperparameters and The rationality of the estimated pitch angle of the vehicle can be improved by, but is not limited to, determining the following methods: and Value: OK The first range of allowed values ​​and determine A second value range of allowed values; A values ​​in the first value range are combined with B values ​​in the second value range without duplication to obtain A*B value combinations, and each value combination in the A*B value combinations is used to determine the estimated pitch angle of the vehicle to obtain A*B estimation results, wherein each estimation result in the A*B estimation results includes a group of estimated pitch angles of the vehicle; the value combination corresponding to the estimation result with the smallest difference between a group of estimated pitch angles of the vehicle and a group of measured pitch angles of the vehicle in the A*B estimation results is determined as and The value of .

[0120] For example, the value of the hyperparameter can be determined by the grid method, but is not limited to it. First, the hyperparameter to be adjusted and its possible value range need to be determined. For example, for the estimation of accelerometer uncertainty, the hyperparameter to be adjusted can be and , and then define their value ranges, such as =[0.1, 1, 10] and =[0.001, 0.01, 0.1]. Then we can create parameter combinations, that is, combine the values ​​of each hyperparameter in the hyperparameter space to generate all possible parameter combinations. For the above example, and The values ​​of are combined to obtain the following parameter combinations: =0.1, =0.001), ( =0.1, =0.01), ( =0.1, =0.1), ( =1, =0.001), ( =1, =0.01), ( =1, =0.1), ( =10, =0.001), ( =10, =0.01), ( =10, =0.1), and then substitute the above parameters into the collected data (such as 1,000 sets of IMU and wheel speed meter data during real parking, and the value of the real pitch angle is determined by a high-precision gyroscope similar to a laser gyroscope), and then subtract the calculated result from the real pitch angle value to select the optimal hyperparameter combination. In this way, the rationality of the hyperparameters is improved, thereby improving the accuracy of determining the estimated pitch angle of the vehicle at the current moment.

[0121] Optionally, in this embodiment, the i-th intermediate coefficient may be determined by, but is not limited to, the following formula (3):

[0122] (3)

[0123] in, is the ith intermediate coefficient, is the third preset value, is the fourth preset value, is the acceleration in the X-axis direction in the i-th group of accelerations, is the acceleration in the Y-axis direction in the i-th group of accelerations, is the acceleration in the Z-axis direction in the i-th group of accelerations, is the i-th wheel speed, is the acceleration due to gravity, is the i-1th wheel speed.

[0124] Understandably, and is a hyperparameter used to balance the ratio, It is used to measure the impact of external forces on the current vehicle. The larger the impact, the more obvious the impact of external forces on the current vehicle (bumps, etc.). The current speed change rate can be measured. If the speed changes quickly, it means that the vehicle is accelerating or decelerating. Obviously, the greater the impact of external forces on the vehicle, the greater the speed change rate. The current accelerometer estimates the measured pitch angle P a The result is less accurate, so the natural logarithm is used as the base to describe this exponential relationship. In addition, the accelerator pedal depth, brake pedal depth, P gear shift information, etc. are also very important and can also be used as information sources to judge the reliability of the accelerometer. However, this information cannot be obtained on most vehicles, so it has not been added to formula (3). In this way, the external force on the vehicle and the rate of change of the vehicle's speed are characterized, and the accuracy of the determined intermediate coefficients is improved.

[0125] As an optional solution, determining the i-th gain coefficient according to the i-th intermediate coefficient and the i-th operation coefficient includes:

[0126] S41, determining the i-th gain coefficient to be equal to a value obtained by dividing the i-th intermediate coefficient by a target sum value, wherein the target sum value is equal to the sum of the i-th intermediate coefficient and the i-th operation coefficient.

[0127] In order to better understand the process of determining the gain coefficient in the embodiment of the present application, the process of determining the gain coefficient in the embodiment of the present application is explained and illustrated in combination with the optional embodiments below. Fig. 9 As shown, the gain coefficient K3 can be determined as an example but is not limited to the example of determining the gain coefficient K3, and the gain coefficient K3 is determined to be equal to the value obtained by dividing the intermediate coefficient r3 by the target sum value, wherein the target sum value is equal to the intermediate coefficient r3 and the operation coefficient u 3,2 sum.

[0128] Optionally, in this embodiment, the i-th gain coefficient may be determined by, but is not limited to, the following formula (4):

[0129] (4)

[0130] in, is the i-th gain coefficient, is the ith intermediate coefficient, is the i-th operation coefficient.

[0131] In this way, the parameters in the intermediate coefficients determined by the grid method are improved and The rationality of the obtained gain coefficient is improved, and the intermediate coefficient reflects the influence of the external force on the vehicle and the rate of change of the vehicle's speed. The operation coefficient reflects the uncertainty measurement of the gyroscope, which improves the rationality and accuracy of the determined gain coefficient.

[0132] As an optional solution, determining an i-th estimated pitch angle according to the i-th preliminary estimated pitch angle, the i-th pitch angle change, the i-th gain coefficient and the i-th measured pitch angle includes:

[0133] S51, performing a sum operation on the i-th preliminary estimated pitch angle and the i-th pitch angle change to obtain a first sum value.

[0134] S52: Subtract the i-th measured pitch angle from the first sum to obtain a first difference.

[0135] S53, performing a product operation on the i-th gain coefficient and the first difference to obtain a first product value.

[0136] S54: Determine the i-th estimated pitch angle to be equal to the sum of the first sum value and the first product value.

[0137] In order to better understand the process of determining the estimated pitch angle in the embodiment of the present application, the process of determining the estimated pitch angle in the embodiment of the present application is explained and illustrated in combination with optional embodiments below, which can be applicable to but not limited to the embodiment of the present application.

[0138] like Fig.10 As shown, it is possible but not limited to determine the estimated pitch angle P 3,3 For example, the initial estimated pitch angle P 3,2 The first sum is subtracted from the measured pitch angle P a3 , and obtain the first difference. Perform a product operation on the gain coefficient K3 and the first difference to obtain a first product value. 3,3 Determined to be equal to the sum of the first sum value and the first product value.

[0139] Optionally, in this embodiment, the i-th estimated pitch angle may be determined by, but is not limited to, the following formula (5):

[0140] (5)

[0141] in, is the ith estimated pitch angle, is the i-th initial estimated pitch angle, is the i-th pitch angle change, is the i-th gain coefficient, is the i-th measured pitch angle.

[0142] In this way, the estimated pitch angle of the vehicle is determined based on the vehicle's preliminary estimated pitch angle, pitch angle change, gain coefficient and measured pitch angle, and the errors caused by the gyroscope and accelerometer readings are eliminated, thereby achieving dynamic correction of the vehicle's measured pitch angle and improving the accuracy of the vehicle's estimated pitch angle.

[0143] As an optional solution, the above method also includes:

[0144] S61, determining an (i+1)th estimation coefficient according to the (i)th estimation coefficient, the (i)th gain coefficient, the (i)th estimated pitch angle, the (i)th preliminary estimated pitch angle and the (i)th pitch angle change.

[0145] S62: Determine an i+1th preliminary estimated pitch angle according to the i-th estimated pitch angle and the i+1th estimation coefficient.

[0146] S63, determining the (i+1)th operation coefficient according to the (i)th operation coefficient and the (i)th gain coefficient.

[0147] When the i-th estimated pitch angle of the vehicle is determined, the estimation coefficient, the preliminary estimated pitch angle and the operation coefficient may be updated, but is not limited to,

[0148] like Fig.11 As shown, it is possible but not limited to determine the estimated pitch angle P of the vehicle. 3,3 After that, the estimated coefficient b 3,2 , Preliminary estimate of pitch angle P 3,2 , and the operation coefficient u 3,2 The updating process is taken as an example to explain and illustrate.

[0149] For example, it can be but not limited to the estimated coefficient b 3,2 , gain coefficient K3, estimated pitch angle P 3,3 , Preliminary estimate of pitch angle P 3,2 and the pitch angle change △P3, determine the estimation coefficient b 4,3 According to the estimated pitch angle P 3,3 and the estimated coefficient b 4,3 , determine the initial estimated pitch angle P 4,3 According to the operation coefficient u 3,2 and gain factor K3, determine the operation coefficient u 4,3 .

[0150] In this way, it is achieved that when the estimated pitch angle of a vehicle is determined, the estimation coefficient, the preliminary estimated pitch angle and the operation coefficient are updated. It can be understood that the estimation coefficient, the preliminary estimated pitch angle and the operation coefficient are dynamically changed, which improves the real-time performance of the estimation coefficient, the preliminary estimated pitch angle and the operation coefficient. The updated estimation coefficient, the preliminary estimated pitch angle and the operation coefficient can be used but not limited to determine the estimated pitch angle of the next round of vehicles, which improves the accuracy of the estimated pitch angle of the determined vehicle.

[0151] As an optional solution, determining the i+1th estimation coefficient according to the i-th estimation coefficient, the i-th gain coefficient, the i-th estimated pitch angle, the i-th preliminary estimated pitch angle and the i-th pitch angle change includes:

[0152] S71, subtract the i-th preliminary estimated pitch angle and the i-th pitch angle change from the i-th estimated pitch angle to obtain a second difference.

[0153] S72, performing a product operation on the preset first coefficient, the i-th gain coefficient and the second difference to obtain a second product value.

[0154] S73: Determine the i+1th estimation coefficient to be equal to the sum of the i-th estimation coefficient and the second product value.

[0155] Optionally, the first coefficient may be, but is not limited to, used to represent the degree of change of the zero bias of the gyroscope. Since the zero bias is mainly affected by environmental information such as temperature and humidity, the change is relatively slow. The first coefficient may be, but is not limited to, Indicates that As a factor to make the change of zero bias smoother.

[0156] In order to better understand the process of determining the i+1th estimated coefficient in the embodiment of the present application, the process of determining the i+1th estimated coefficient in the embodiment of the present application is explained and illustrated in combination with optional embodiments below, which can be applicable to but not limited to the embodiment of the present application.

[0157] like Fig.12 As shown, it is possible but not limited to determining the estimated pitch angle P of the vehicle. 3,3 After that, the estimated coefficient b 3,2 Update and get the estimated coefficient b 4,3 For example, the estimated pitch angle P 3,3 Subtract the initial estimated pitch angle P 3,2 The second difference is obtained by multiplying the preset first coefficient, the gain coefficient K3 and the second difference to obtain a second product value. 4,3 Determined to be equal to the estimated coefficient b 3,2 The sum of the first and second product values.

[0158] Optionally, in this embodiment, the i+1th estimation coefficient may be determined by, but is not limited to, the following formula (6):

[0159] (6)

[0160] in, is the i+1th estimated coefficient, is the ith estimated coefficient, is the preset first coefficient, is the i-th gain coefficient, is the i-th pitch angle change.

[0161] In this way, the zero bias of the gyroscope is updated. The specific method is to add the current zero bias to the product of the current estimated pitch angle of the vehicle and the difference between the preliminary estimated pitch angle and the pitch angle change. The implicit idea behind this is that we believe that the change in zero bias continuously and stably occupies a part of the estimated error. The larger the gain coefficient, the greater the possible change in zero bias, which improves the accuracy of the estimated coefficient.

[0162] As an optional solution, determining the i+1th preliminary estimated pitch angle according to the i-th estimated pitch angle and the i+1th estimated coefficient includes:

[0163] S81, determining the (i+1)th preliminary estimated pitch angle to be equal to the sum of the (i)th estimated pitch angle and the (i+1)th estimated coefficient.

[0164] like Fig.13 As shown, it is possible but not limited to determine the estimated pitch angle P of the vehicle. 3,3 After that, the estimated coefficient b 3,2 Update and get the estimated coefficient b 4,3 , and then determine the initial estimated pitch angle P 4,3 For example, the initial estimated pitch angle P 4,3 Determined to be equal to the estimated pitch angle P 3,3 With the estimated coefficient b 4,3 It can be understood that the initial estimate of the pitch angle P 4,3 It can be used, but is not limited to, to determine the estimated pitch angle P of the vehicle. 4,4 .

[0165] Optionally, in this embodiment, the i+1th preliminary estimated pitch angle may be determined by, but is not limited to, the following formula (7):

[0166] (7)

[0167] in, is the i+1th preliminary estimated pitch angle, is the ith estimated pitch angle, is the i+1th estimated coefficient.

[0168] In this way, the preliminary estimated pitch angle is updated in real time. It can be understood that when determining the estimated pitch angles of different vehicles, the preliminary estimated pitch angle changes dynamically, which improves the real-time performance of the determined preliminary estimated pitch angle.

[0169] As an optional solution, determining the (i+1)th operation coefficient according to the (i)th operation coefficient and the (i)th gain coefficient includes:

[0170] S91, performing a product operation on the i-th gain coefficient and the i-th operation coefficient to obtain a third product value.

[0171] S92, subtract the third product value from the i-th operation coefficient to obtain a third difference value.

[0172] S93, determining the (i+1)th operation coefficient to be equal to the sum of the third difference and a preset second coefficient.

[0173] The preset second coefficient may be, but is not limited to, used to represent the ratio of the gyroscope noise and the accelerometer uncertainty as a cumulative error measure, and is accumulated in the operation coefficient to predict the uncertainty of the next state pitch angle, which may be, but is not limited to, by It should be noted that the first parameter and the second parameter are also hyperparameters, and the method for determining their appropriate values ​​is the same as that described above. and The method for determining the value of is similar, for example, the appropriate values ​​of the first parameter and the second parameter are determined by the network method, which will not be repeated here.

[0174] In order to better understand the process of updating the operation coefficient in the embodiment of the present application, it can be but not limited to determining the estimated pitch angle P of the vehicle. 3,3 After that, the coefficient u is calculated 3,2 Update and get the operation coefficient u 4,3 Take this as an example to explain and illustrate. Fig.14 As shown, for the gain coefficient K3 and the operation coefficient u 3,2 Perform the product operation to obtain the third product value. 3,2 Subtract the third product value to get the third difference value. 4,3 The third difference is determined to be equal to the sum of the third difference and the preset second coefficient.

[0175] Optionally, in this embodiment, the i+1th operation coefficient may be determined by, but not limited to, the following formula (8) and formula (9):

[0176] (8)

[0177] (9)

[0178] in, is the i+1th operation coefficient, is the i-th operation coefficient, is the i-th gain coefficient, is the preset second coefficient, The third difference.

[0179] In this way, the accuracy of the estimated pitch angle of the vehicle in the next state is improved by adding the ratio of the cumulative error measure gyroscope noise and accelerometer uncertainty into the calculation coefficient to predict the uncertainty of the pitch angle in the next state.

[0180] In order to better understand the process of determining the estimated pitch angle of the vehicle in the embodiment of the present application, the process of determining the estimated pitch angle of the vehicle in the embodiment of the present application is explained and illustrated in combination with optional embodiments below, which can be applicable to but not limited to the present embodiment.

[0181] like Fig.15 As shown, after the vehicle enters the parking lot, the system continues to collect IMU and wheel speed, timestamp and other data (each IMU data is recorded as a data combination containing a one-to-one correspondence between wheel speed, pedal depth and timestamp), until the user shifts to P gear, turns off the engine, locks the vehicle or leaves the parking lot (if the user leaves the parking lot directly, the calculation ends directly). In this case, the estimated pitch angle of the vehicle can be determined by, but is not limited to, the following steps:

[0182] Step S1501, data coordinate conversion.

[0183] Step S1502: filter initialization.

[0184] Step S1503: biased pitch angle correction.

[0185] Step S1504, traverse all data, and end if not all data have been traversed. If all data have been traversed, execute step S1505.

[0186] Step S1505, smoothing wheel speed and acceleration parameters.

[0187] Step S1506, calculating the measurement confidence.

[0188] Step S1507, calculating and measuring the pitch angle.

[0189] Step S1508, updating the estimated pitch angle.

[0190] Step S1509, calculating the Kalman gain.

[0191] Step S1510, calculating the optimized pitch angle value according to the Kalman gain, and recording the optimized pitch angle.

[0192] Step S1511, update the estimated confidence.

[0193] As an optional solution, the change in the height of the target vehicle is determined according to the N estimated pitch angles and the N wheel speeds, including:

[0194] S1001, dividing the N estimated pitch angles into M pitch angle groups, wherein each pitch angle group in the M pitch angle groups includes the estimated pitch angles of the target vehicle at a plurality of consecutive moments in the N moments, and M is a positive integer greater than or equal to 2.

[0195] S1002: Determine, according to the M pitch angle groups and the N wheel speeds, a change in the height of the target vehicle corresponding to each pitch angle group in the M pitch angle groups, to obtain M changes.

[0196] S1003. Determine R pitch angle sequences in the M pitch angle groups according to the M changes, where R is a positive integer greater than or equal to 2 and less than M, and each pitch angle sequence in the R pitch angle sequences includes one or more adjacent pitch angle groups in the M pitch angle groups.

[0197] S1004, determining the change in the height of the target vehicle based on the R groups of changes corresponding to the R pitch angle sequences, wherein the kth group of changes in the R groups of changes includes the changes in the M changes corresponding to each pitch angle group included in the kth pitch angle sequence, and k is a positive integer greater than or equal to 1 and less than or equal to R.

[0198] Optionally, in this embodiment, each of the M changes represents a change in the height of the target vehicle over a period of time corresponding to one of the M pitch angle groups.

[0199] All collected data are sorted by timestamp and the previously proposed Kalman filter algorithm optimized for parking scenarios is executed. The original values ​​recorded from the IMU (gyroscope, accelerometer, etc.) are replaced with more accurate estimated pitch angles. This set of data is called the p-value original sequence (equivalent to N estimated pitch angles).

[0200] Optionally, in this embodiment, the N estimated pitch angles can be divided into M pitch angle groups but are not limited to it, and the estimated pitch angles of the target vehicles included in each pitch angle group are non-repetitive. For example, there are no repeated estimated pitch angles in the estimated pitch angles of the target vehicles included in pitch angle group 1 and pitch angle group 2.

[0201] like Fig.16 As shown, from time T1 to T 10 The estimated pitch angles of the target vehicle are P 1,1 , P 2,2 , P 3,3 , P 4,4 , P 5,5 , P 6,6 , P 7,7 , P 8,8 , P 9,9 and P 10,10 , a total of 10 estimated pitch angles.

[0202] The 10 estimated pitch angles may be divided into 4 pitch angle groups, for example, pitch angle group 1 to pitch angle group 4, wherein pitch angle group 1 includes the estimated pitch angle P of the target vehicle at time T1. 1,1 and the estimated pitch angle P of the target vehicle at time T2 2,2, pitch angle group 2 includes the estimated pitch angle P of the target vehicle at time T3 3,3 , the estimated pitch angle P of the target vehicle at time T4 4,4 , the estimated pitch angle P of the target vehicle at time T5 5,5 , pitch angle group 3 includes the estimated pitch angle P of the target vehicle at time T6 6,6 , the estimated pitch angle P of the target vehicle at time T7 7,7 and the estimated pitch angle P of the target vehicle at time T8 8,8 , pitch angle group 4 includes the estimated pitch angle P of the target vehicle at time T9 9,9 and time T 10 The estimated pitch angle P of the target vehicle 10,10 .

[0203] According to the pitch angle group 1 to the pitch angle group 4 and the wheel speed S1 to S 10 , determine the change in the height of the target vehicle corresponding to each pitch angle grouping in pitch angle grouping 1 to pitch angle grouping 4, and obtain 4 change amounts, for example, the change in the height of the target vehicle corresponding to pitch angle grouping 1 is change amount 1, the change in the height of the target vehicle corresponding to pitch angle grouping 2 is change amount 2, the change in the height of the target vehicle corresponding to pitch angle grouping 3 is change amount 3, and the change in the height of the target vehicle corresponding to pitch angle grouping 4 is change amount 4.

[0204] According to the variation amounts 1 to 4, two pitch angle sequences are determined in the pitch angle groups 1 to 4, for example, the pitch angle sequence 1 and the pitch angle sequence 2, the pitch angle sequence 1 includes the pitch angle group 2, and the pitch angle sequence 1 includes the pitch angle group 4. It can be understood that each pitch angle sequence includes one or more adjacent pitch angle groups in the plurality of pitch angle groups, for example, it will not happen that the pitch angle sequence 1 includes the pitch angle group 1 and the pitch angle group 3, and the pitch angle sequence 2 includes the pitch angle group 2.

[0205] The change amount of the height where the target vehicle is located is determined according to the change amount 2 and the change amount 4 corresponding to the pitch angle sequence 1 and the pitch angle sequence 2 respectively.

[0206] In this way, the change in the vehicle's height is determined based on at least a portion of the vehicle's estimated pitch angle, thereby reducing possible calculation errors in the vehicle's estimated pitch angle and improving the accuracy of the determined change in the vehicle's height.

[0207] As an optional solution, dividing the N estimated pitch angles into M pitch angle groups includes: determining a p-th pitch angle group in the M pitch angle groups by the following steps, where p is a positive integer greater than or equal to 1 and less than or equal to M:

[0208] S1101, starting from the first moment after the p-1th group of moments among the N moments, search for the pth group of moments that meets the first preset condition, wherein the moments in the pth group of moments are continuous moments, and the first preset condition means that the moving distance of the target vehicle after the pth group of moments is greater than or equal to a preset distance threshold, and the moving distance of the target vehicle after moments other than the last moment in the pth group of moments is less than the preset distance threshold, and when p is equal to 1, the first moment after the p-1th group of moments is the first moment among the N moments.

[0209] S1102: Determine the estimated pitch angle of the target vehicle at the p-th group moment among the N estimated pitch angles as the p-th pitch angle group.

[0210] In order to improve the efficiency of determining the change in the height of the vehicle, the N estimated pitch angles may be divided into a plurality of pitch angle groups, but not limited to, and the estimated pitch angles may be divided into slices (or groups) in combination with the time of the odometer. Optionally, in this embodiment, the mileage of the target vehicle may be calculated by the following formula (10), but not limited to:

[0211] (10)

[0212] in, is the mileage of the target vehicle, is the wheel speed of the target vehicle, Estimate the length of time between pitch angles for two adjacent vehicles.

[0213] It is understandable that by setting a mileage threshold (equivalent to a preset distance threshold), for example, 1m. Then, in the process of traversing the data in sequence, continuous calculation and compare it with the previous When multiple consecutive data are accumulated, When the threshold is just exceeded, these continuous data can be grouped into a subsequence, that is, a data slice (or pitch angle grouping). Because the IMU updates frequently, there is no particular concern that a data slice exceeds the mileage threshold, which is 1m. After this step, we can convert the original sequence of p values ​​(equivalent to N estimated pitch angles) into a set of continuous data subsequences of about 1m in length.

[0214] like Fig.17 As shown, it can be explained and illustrated by, but not limited to, determining the pitch angle group 2 and the preset distance threshold being 1m as an example. 10The first moment after the first moment in the first group of moments (for example, moment T3) starts to search for the second group of moments that meet the first preset condition, wherein the moments in the second group of moments are continuous moments, and the first preset condition means that the moving distance of the target vehicle through the second group of moments is greater than or equal to the preset distance threshold (for example, 1m), and the moving distance of the target vehicle through the moments other than the last moment in the second group of moments (for example, moment T5) is less than the preset distance threshold (for example, 1m). The estimated pitch angle P 1,1 To P 10,10 The estimated pitch angle P of the target vehicle at the second group of moments (from time T3 to time T5) 3,3 , P 4,4 , P 5,5 Determined as pitch angle group 2.

[0215] In this way, the multiple estimated pitch angles of the vehicle are divided into multiple pitch angle groups, which reduces the amount of calculation required for a single calculation of the change in the height of the vehicle and increases the complexity of calculating the change in the height of the vehicle.

[0216] As an optional solution, determining, according to the M pitch angle groups and the N wheel speeds, a change in the height of the target vehicle corresponding to each pitch angle group in the M pitch angle groups to obtain M changes, comprising: determining a j-th change in the M changes by executing the following steps, wherein the j-th change is a change in the height of the target vehicle corresponding to the j-th pitch angle group in the M pitch angle groups, and j is a positive integer greater than or equal to 1 and less than or equal to M:

[0217] S1201, in the j-th pitch angle group including Q j An estimated pitch angle, and the Q j The estimated pitch angle includes the consecutive Q j In the case of the estimated pitch angle of the target vehicle at a certain moment, according to the Q j The estimated pitch angle and Q j wheel speed, determine the jth change, where Q j is a positive integer greater than or equal to 2 and less than N, wherein Q j The wheel speed includes the continuous Q j The wheel speed of the target vehicle at a certain moment.

[0218] The ground of a certain floor in a parking lot is usually flat, so only the height difference calculated when the vehicle goes up and down the floor should be included in the final floor calculation. In other words, some other accumulated errors come from the fact that the pitch angle of the vehicle is not zero when the vehicle is driving forward horizontally on a certain floor during the parking process. In this state, the wheel speed of the vehicle is often not low, and the total mileage is long, so the error generated cannot be ignored.

[0219] In order to screen out the pitch angle grouping for representing non-flat land (e.g., ramp), the change amount of the height of the target vehicle corresponding to the pitch angle grouping may be determined, but is not limited to. For example, the change amount of the height of the target vehicle corresponding to the pitch angle grouping may be determined based on each estimated pitch angle included in the M pitch angle groups and the wheel speed of the corresponding target vehicle. The pitch angle grouping finally used for calculating the change amount of the height of the target vehicle may be determined based on, but is not limited to, the change amount of the height of the target vehicle corresponding to each estimated pitch angle, thereby eliminating the error caused by the vehicle driving on flat land and improving the accuracy of the determined change amount of the height of the target vehicle.

[0220] As an optional solution, according to the Q j The estimated pitch angle and Q j wheel speed, determine the jth change, including:

[0221] S1301, respectively, j The estimated pitch angle is used to calculate the sine function value and obtain Q j The value of the sine function.

[0222] S1302, the Q j The sine function values ​​are respectively related to the Q j Perform the corresponding product operation on the wheel speeds to obtain Q j The product value.

[0223] S1303, determining the j-th change amount to be equal to the Q j The sum of the product values.

[0224] Optionally, in an embodiment, Q may be calculated by, but is not limited to, the following formula (11): j The fth product value among the product values, where f is greater than or equal to 1 and less than or equal to Q j A positive integer:

[0225] (11)

[0226] in, is the fth product value, For Q jThe f-th estimated pitch angle among the estimated pitch angles is subjected to the operation of obtaining the sine function value, and the obtained sine function value is, Q j The fth wheel speed among the wheel speeds.

[0227] Optionally, in this embodiment, the change in the height of the vehicle corresponding to different estimated pitch angles may be a positive value or a negative value. It is understandable that the change in the height of the vehicle corresponding to the pitch angle grouping may be a positive value or a negative value.

[0228] like Fig.18 As shown, it can be but not limited to taking the change amount of the height of the target vehicle corresponding to the pitch angle group 2 (or referred to as the second change amount) as an example, the pitch angle group 2 includes the estimated pitch angle P 3,3 , P 4,4 and P 5,5 , can be but not limited to respectively estimating the pitch angle P 3,3 , P 4,4 and P 5,5 Perform the operation to find the value of the sine function and obtain the value of the sine function Sin (P 3,3 )、Sin(P 4,4 ) and Sin(P 5,5 ). The sine function value Sin (P 3,3 )、Sin(P 4,4 ) and Sin(P 5,5 ) are respectively multiplied with the wheel speeds S3, S4 and S5 to obtain product value 1, product value 2 and product value 3. The second variation is determined to be equal to the sum of product value 1, product value 2 and product value 3.

[0229] In this way, the pitch angle groups are grouped into calculation units, and the change in the height of the vehicle corresponding to each pitch angle group is calculated, thereby improving the efficiency of determining the change in the height of the vehicle.

[0230] As an optional solution, determining R pitch angle sequences in M ​​pitch angle groups according to the M changes includes: determining a kth pitch angle sequence in the R pitch angle sequences by the following steps, wherein the M pitch angle groups are arranged in ascending order according to the N moments:

[0231] S1401, searching, from the first pitch angle group after the k-1th pitch angle sequence, for a kth pitch angle sequence that satisfies a second preset condition in the M pitch angle groups, wherein the pitch angle groups in the kth pitch angle sequence are continuous pitch angle groups, and the second preset condition means that each pitch angle group in the kth pitch angle sequence satisfies a third preset condition, and when there is no pitch angle group before the kth pitch angle sequence and there is a pitch angle group after the kth pitch angle sequence, a pitch angle group after the kth pitch angle sequence does not satisfy the third preset condition, and there is a pitch angle group before the kth pitch angle sequence and there is a pitch angle group in the kth pitch angle sequence. When there is a pitch angle grouping after the k-1th pitch angle sequence, a pitch angle grouping before the k-th pitch angle sequence and a pitch angle grouping after the k-th pitch angle sequence both do not meet the third preset condition; when there is a pitch angle grouping before the k-th pitch angle sequence and there is no pitch angle grouping after the k-th pitch angle sequence, a pitch angle grouping before the k-th pitch angle sequence does not meet the third preset condition; wherein the third preset condition means that the change amount corresponding to the pitch angle grouping is greater than or equal to the preset change amount threshold, and when k is equal to 1, the first pitch angle grouping after the k-1th pitch angle sequence is the first pitch angle grouping among the M pitch angle groups.

[0232] In order to improve the accuracy of the change in the determined vehicle height, it is possible but not limited to deleting the data subsequence (equivalent to the pitch angle grouping) used to indicate that the vehicle is traveling on flat ground, traversing the previously generated data subsequences, and dividing them into multiple layer calculation sequences (equivalent to the pitch angle sequences), that is, the sequences actually used to calculate the height difference.

[0233] To achieve this goal, it is first necessary to determine whether each data slice corresponds to a flat land. Optionally, it can be determined by, but not limited to, the following methods: calculating the cumulative height difference within the data slice, if the cumulative height difference is less than a certain threshold, it is determined to be a flat land, if the cumulative height difference is greater than a certain value, it is determined to be a ramp, etc.; or the estimated pitch angle with the largest value among the estimated pitch angles within the data slice can be found, if the maximum value of the estimated pitch angle is greater than a certain threshold, such as 5 degrees, it is determined to be a ramp, etc. Then the result of whether each 1m data slice is flat land is obtained.

[0234] According to this result, all data slices that are judged as ramps are added to the layer calculation sequence (equivalent to the pitch angle sequence) to calculate the actual height difference. But it should be noted here why there are multiple layer calculation sequences. The reason here is that even if a data slice may meet the non-flat ground conditions, it does not mean that the combination of the previous and next data slices is still not flat ground. For example, when a vehicle passes through a speed bump, the front and rear wheels of the vehicle pass through the speed bump in sequence, which will produce a shake greater than the entire length of the vehicle body. The corresponding algorithm is the combination of multiple consecutive data slices. Another situation may come from the acceleration and deceleration of the vehicle. Although the acceleration and deceleration of the vehicle will not affect the accuracy of the estimated pitch angle, it may cause the estimated pitch angle itself to violate the vehicle's driving state (non-moving state). For example, when the vehicle decelerates, the front of the vehicle will nod due to braking. At this time, the estimated pitch angle will have a negative elevation angle and a positive elevation angle. The same is true when accelerating. But at this time, the vehicle may still be driving on flat ground, so we need to collect multiple layer calculation sequences according to the law of the vehicle's motion state and exclude inaccurate layer calculation sequences.

[0235] The method of defining multiple layer calculation sequences is to first continuously determine whether the data slice is flat. If the first non-flat data slice is encountered, then add this data slice to the first layer calculation sequence, and continue to add data slices until a new data slice is flat. Then this layer calculation sequence is fixed, and the algorithm continues to run until the next non-flat slice, at which time the second layer calculation sequence begins to be generated. In other words, all data slices are separated into several non-flat parts using flat data slices, and each non-flat part is a layer calculation subsequence.

[0236] The next thing to do is to exclude inaccurate layer calculation sequences, that is, to exclude sequences that are not uphill or downhill in non-flat sequences. Process each layer calculation sequence in order, and then calculate the cumulative value of the height difference or the sum of the absolute values ​​of all data in each sequence. If the cumulative value is less than the preset threshold, such as 0.1m; or the sum of the absolute values ​​is less than the preset threshold, for example, 0.3m; or the ratio of the height difference to the mileage is less than 0.1, etc., it can be determined that the feature corresponding to this layer calculation sequence is not a ramp, and this sequence is deleted.

[0237] In this way, the influence of the pitch angle grouping of non-flat terrain on the determination of the change in the height of the vehicle is eliminated, and it is continuously judged whether multiple pitch angle groupings are pitch angle groupings used to represent non-flat terrain, thereby improving the accuracy of the pitch angle grouping used to determine the change in the height of the vehicle, thereby improving the accuracy of the change in the height of the vehicle.

[0238] As an optional solution, according to the M changes, according to the R groups of changes corresponding to the R pitch angle sequences, determining the change in the height of the target vehicle includes:

[0239] S1501, determining the change in the height of the target vehicle to be equal to the sum of the R groups of changes.

[0240] Optionally, in this embodiment, the change in the height of the target vehicle may also be determined in the following manner, but is not limited to: by performing the following steps to determine the qth change corresponding to the qth pitch angle sequence in the R pitch angle sequences, wherein the qth change is the change in the height of the target vehicle corresponding to the qth pitch angle sequence: j In the case of an estimated pitch angle, R j The estimated pitch angle is used to calculate the sine function value and obtain R j sine function value; R j The sine function values ​​are respectively j Perform the corresponding product operation on the wheel speeds to obtain R j product values, where R j is a positive integer greater than or equal to 2 and less than N, R j The wheel speed includes the continuous R j The wheel speed of the target vehicle at the moment; the qth change is determined to be equal to R j The sum of the product values.

[0241] For example, according to the height difference calculation formula (11), the cumulative height difference is calculated according to the calculation sequence of all retained layers to obtain the change in the height of the vehicle.

[0242] like Fig.19 As shown, from time T1 to T 10 The estimated pitch angles of the target vehicle are P 1,1 , P 2,2 , P 3,3 , P 4,4 , P 5,5 , P 6,6 , P 7,7 , P 8,8 , P 9,9 and P 10,10 , a total of 10 estimated pitch angles.

[0243] The 10 estimated pitch angles may be divided into 4 pitch angle groups, for example, pitch angle group 1 to pitch angle group 4, wherein pitch angle group 1 includes the estimated pitch angle P of the target vehicle at time T1. 1,1 and the estimated pitch angle P of the target vehicle at time T2 2,2, pitch angle group 2 includes the estimated pitch angle P of the target vehicle at time T3 3,3 , the estimated pitch angle P of the target vehicle at time T4 4,4 , the estimated pitch angle P of the target vehicle at time T5 5,5 , pitch angle group 3 includes the estimated pitch angle P of the target vehicle at time T6 6,6 , the estimated pitch angle P of the target vehicle at time T7 7,7 and the estimated pitch angle P of the target vehicle at time T8 8,8 , pitch angle group 4 includes the estimated pitch angle P of the target vehicle at time T9 9,9 and time T 10 The estimated pitch angle P of the target vehicle 10,10 .

[0244] According to the pitch angle group 1 to the pitch angle group 4 and the wheel speed S1 to S 10 , determine the change in the height of the target vehicle corresponding to each pitch angle grouping in pitch angle grouping 1 to pitch angle grouping 4, and obtain 4 change amounts, for example, the change in the height of the target vehicle corresponding to pitch angle grouping 1 is change amount 1, the change in the height of the target vehicle corresponding to pitch angle grouping 2 is change amount 2, the change in the height of the target vehicle corresponding to pitch angle grouping 3 is change amount 3, and the change in the height of the target vehicle corresponding to pitch angle grouping 4 is change amount 4.

[0245] The preset change threshold can be but is not limited to 0.5m, where change 1 is less than 0.5m, change 2 is greater than or equal to 0.5m, change 3 is less than 0.5m, and change 4 is greater than or equal to 0.5m. In this case, it can be understood that pitch angle group 2 and pitch angle group 4 are pitch angle groups used to indicate that the vehicle is traveling on non-flat ground, and pitch angle group 1 and pitch angle group 3 are pitch angle groups used to indicate that the vehicle is traveling on flat ground, so pitch angle group 1 and pitch angle group 3 are deleted.

[0246] In this case, the pitch angle sequence 1 includes the pitch angle group 2, and the pitch angle sequence 2 includes the pitch angle group 4. In this case, the change amount of the height at which the target vehicle is located is equal to the sum of the change amount 2 and the change amount 4.

[0247] In this way, the error caused by the vehicle driving on flat ground is eliminated based on the estimated pitch angle of the vehicle, the timestamp and the wheel speed of the vehicle, thereby improving the accuracy of the change in the height of the vehicle.

[0248] In order to better understand the method for determining the change in the height of the target vehicle in the embodiment of the present application, the process of determining the change in the height of the target vehicle in the embodiment of the present application is explained and illustrated in combination with optional embodiments below, which can be applicable to but not limited to the embodiment of the present application.

[0249] like Fig. 20 As shown, the change in the height of the vehicle can be determined by, but is not limited to, the following steps:

[0250] Step S2001, dividing the optimized pitch angle into time slices.

[0251] Step S2002, traversing the time slice data; if the traversal of the time slice data is not completed, executing step S2003 until the traversal of the time slice data is completed; if the traversal of the time slice data is completed, executing step S2004.

[0252] Step S2003, determine the plane. If it is determined to be a plane, upload and clear the subsequence. If it is determined not to be a plane, add the layer number calculation subsequence.

[0253] Step S2004, traverse the layer number calculation sequence. If the traversal of the layer number calculation sequence is not completed, execute step S2005 until the traversal of the layer number calculation sequence is completed. If the traversal of the layer number calculation sequence is completed, execute step S2006.

[0254] Step S2005, filter out smaller slopes and calculate the height difference within the time slice.

[0255] Step S2006, calculating the number of layers.

[0256] As an optional solution, determining the target floor where the target vehicle stops in the target building according to the change in height includes:

[0257] S1601, obtaining the height change and the floors corresponding to the target building.

[0258] S1602: Determine the target floor corresponding to the height change amount where the target vehicle is located from the height change amounts and floors that have a corresponding relationship.

[0259] In this way, the data continuously acquired by the vehicle's six-axis IMU is used to calculate the vehicle's estimated pitch angle through a Kalman filter optimized for the vehicle's driving conditions. Based on the correspondence between the estimated pitch angle and the wheel speed, a two-stage algorithm is used to output the height of the vehicle relative to the parking starting point during the parking process that removes the influence of process noise as much as possible. Based on a preset or map-queried correspondence between the height difference and the floor number, the floor number of the vehicle's current or parking position is given.

[0260] It should be noted that calculating the floor number of the target building where the vehicle is parked based on the height difference may be inaccurate. For example, the floor height of the parking lot of an office building is smaller than that of the parking lot of a shopping mall. If half of the underground first floor of a shopping mall is the shopping mall and the general parking lot, then the floor heights of the underground first floor and the underground second floor of the parking lot may be significantly different.

[0261] Optionally, in this embodiment, the target navigation position in the map data and the corresponding height change and floor of the target building can be used, but is not limited to it. For example, the system can save the GPS point when the algorithm outputs the vehicle entering the parking lot when the vehicle enters the parking lot, and then use this GPS point to associate with the surrounding POI (Position of Interest, a location point with a certain meaning on the map). The effect of the association can be seen in the display of the location when the instant messaging application sends the location.

[0262] For example, if the associated place is the entrance of an office building, then the floor height can be considered to be about 3.3 meters. Taking the ground parking lot as an example, the floors can be divided according to, but not limited to, Table 1:

[0263] Table 1

[0264] It should be noted that Table 1 only lists the case where the change in height of the vehicle is positive, and the case where the change in height of the vehicle is negative can be deduced in the same way. If the matched POI is a shopping mall, the spacing can be appropriately increased.

[0265] For example, if the change in height of the vehicle is -6m, then the floor where the corresponding vehicle is parked in the target building is negative 3 floors. Optionally, the floor where the vehicle is parked in the target building can be sent to the system of the target vehicle, which is convenient for the user to check the floor where the vehicle is parked when parking. Fig.21 As shown, the floor where the vehicle is parked, for example, negative 3rd floor, can be displayed on the display interface of the vehicle system, but is not limited to it, and the number of the parking space where the vehicle is parked, for example, B3-075, as well as a video of the parking, etc. can be displayed.

[0266] In order to improve the user experience, the floor where the vehicle is parked can be displayed on the terminal device, but is not limited to it. Fig. 22As shown, the software installed in the terminal device (for example, an instant messaging application) displays the parking information of the vehicle through a mini program, etc., the parking position of the vehicle, for example, the parking position of the vehicle is position A, the floor where the vehicle is parked is the negative 3rd floor, the parking space number where the vehicle is parked, for example, B3-075, the time when the vehicle enters the parking lot, for example, a year b month c day 18:22:59, or the parking information of the vehicle is directly displayed in the software. In addition, it is also possible but not limited to displaying a reminder for vehicle entry, for example, hello, your car [Xiao Ma Ge] has been parked for 2 minutes and the parking type is indoor parking. When the user clicks on the parking information of the vehicle, it can be displayed that the floor where the vehicle is parked is the negative 3rd floor, the parking space number where the vehicle is parked is B3-075, and photos of the parking space, etc. In addition, the user can also quickly pay the parking fee and exit by clicking the pay parking fee button, recall the parking process of the vehicle by clicking the parking video, and click the share this page button. In this way, the user can view the parking information of the vehicle anytime and anywhere on the terminal device, which improves the user experience.

[0267] In order to improve the accuracy of the determined number of floors, the correspondence between the number of floors and the height difference can be corrected based on, but not limited to, the user feedback results. For example, the correspondence between the height difference and the floor can be corrected based on the aggregated position of a certain GPS point according to the user data. Fig.23 As shown, in the software (e.g., instant messaging application), the user is provided with an option to feedback the wrong floor number. The user can enter the floor where the vehicle is parked, modify the wrong floor number to the correct floor number and upload it, so as to synchronize multiple terminals. For example, the floor where the vehicle is parked originally displayed is the negative 3rd floor, and the floor where the vehicle is actually parked is the negative 2nd floor. In this case, the negative 3rd floor can be adjusted to the negative 2nd floor, but it is not limited to it. This part of data can be used with the permission of the user. The specific method is to associate the GPS point where the user enters the parking lot, the height difference calculated by the system and the floor number corrected by the user. After there is a lot of data, we record the clustered GPS points, and calculate the weighted mean of the height difference corresponding to the floor number from multiple data (e.g., remove the more outrageous values). When a user passes this GPS point to enter the parking lot later (if the vehicle is equipped with an inertial navigation system, it can also be the latitude and longitude of the parking location), we can directly match the height difference with the floor number closest to this height in the database, thereby improving the accuracy of the determined floor number where the vehicle is parked.

[0268] Through the above steps, a more accurate prediction of the vehicle parking floor can be achieved by relying solely on vehicle sensors and less map data, which improves product strength and can provide rich and fresh parking lot data for map applications.

[0269] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0270] According to another aspect of the embodiments of the present application, a parking floor determination device for implementing the above parking floor determination method is also provided. Fig.24 As shown, the device comprises:

[0271] An acquisition unit 2402 is used to acquire N groups of state parameters of the target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of N moments in the process from the target vehicle entering the target building to the target vehicle parking in the parking space of the target building, and N is a positive integer greater than or equal to 2;

[0272] A first determining unit 2406 is configured to determine N estimated pitch angles according to the N groups of state parameters, wherein the N estimated pitch angles include an estimated pitch angle of the target vehicle at each of the N moments, the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle variations, N wheel speeds, and N groups of accelerations, the N measured pitch angles include a measured pitch angle of the target vehicle at each of the N moments, the N pitch angle variations include a pitch angle variation of the target vehicle at each of the N moments, the N wheel speeds include a wheel speed of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments;

[0273] A second determining unit 2408 is used to determine a change in the height of the target vehicle according to the N estimated pitch angles and the N wheel speeds;

[0274] The third determining unit 2410 is used to determine the target floor where the target vehicle stops in the target building according to the change in the height.

[0275] Through the embodiments provided by the present application, in the process from when a vehicle enters a building to when it stops at a parking space in the building, multiple estimated pitch angles of the vehicle are determined based on multiple sets of acquired state parameters of the vehicle, and the change in height of the vehicle is automatically determined based on the multiple estimated pitch angles of the vehicle and multiple wheel speeds of the vehicle. Based on the change in height of the vehicle, the target floor at which the vehicle is parked in the building is automatically determined. In this way, the floor at which the vehicle is parked in the target building is automatically determined based on the height difference at which the target vehicle is located in the process from when the target vehicle enters the target building to when the target vehicle stops at the parking space in the target building, thereby achieving the technical effect of improving the efficiency of determining parking floors, and further solving the technical problem of low efficiency in determining parking floors.

[0276] As an optional solution, the first determining unit includes:

[0277] A first determination module is used to determine an i-th estimated pitch angle among the N estimated pitch angles by the following steps, wherein i is a positive integer greater than or equal to 1 and less than or equal to N: determining an i-th gain coefficient according to an i-th wheel speed, an i-th group of accelerations and an i-th operation coefficient, wherein when i is greater than 1, the i-th operation coefficient is a coefficient determined according to an i-1-th operation coefficient and an i-1-th gain coefficient, and when i is equal to 1, the i-th operation coefficient is a first preset value;

[0278] The second determination module is used to determine the i-th estimated pitch angle according to the i-th preliminary estimated pitch angle, the i-th pitch angle change, the i-th gain coefficient and the i-th measured pitch angle, wherein, when i is greater than 1, the i-th preliminary estimated pitch angle is a pitch angle determined according to the i-1-th estimated pitch angle and the i-th estimation coefficient, the i-th estimation coefficient is a coefficient determined according to the i-1-th estimation coefficient, the i-1-th gain coefficient, the i-1-th estimated pitch angle, the i-1-th preliminary estimated pitch angle and the i-1-th pitch angle change, and when i is equal to 1, the i-th preliminary estimated pitch angle is a second preset value.

[0279] As an optional solution, the first determining module is used to:

[0280] Determining an i-th intermediate coefficient according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of accelerations;

[0281] The i-th gain coefficient is determined according to the i-th intermediate coefficient and the i-th operation coefficient.

[0282] As an optional solution, the first determining module is used to:

[0283] In a case where the i-th group of accelerations includes accelerations in three directions, determining a target index value according to the accelerations in the three directions and a difference obtained by subtracting the i-1-th wheel speed from the i-th wheel speed;

[0284] The i-th intermediate coefficient is determined to be equal to the natural base e raised to the power of the target exponent value.

[0285] As an optional solution, the first determining module is used to:

[0286] The i-th gain coefficient is determined to be equal to a value obtained by dividing the i-th intermediate coefficient by a target sum value, wherein the target sum value is equal to the sum of the i-th intermediate coefficient and the i-th operation coefficient.

[0287] As an optional solution, the second determining module is used to:

[0288] Performing a sum operation on the i-th preliminary estimated pitch angle and the i-th pitch angle change to obtain a first sum value;

[0289] Subtract the i-th measured pitch angle from the first sum to obtain a first difference;

[0290] Performing a product operation on the i-th gain coefficient and the first difference to obtain a first product value;

[0291] The i-th estimated pitch angle is determined to be equal to the sum of the first sum value and the first product value.

[0292] As an optional solution, the device further includes:

[0293] a fourth determining unit, configured to determine an i+1th estimation coefficient according to the i-th estimation coefficient, the i-th gain coefficient, the i-th estimated pitch angle, the i-th preliminary estimated pitch angle and the i-th pitch angle change;

[0294] a fifth determining unit, configured to determine an i+1th preliminary estimated pitch angle according to the i-th estimated pitch angle and the i+1th estimation coefficient;

[0295] The sixth determining unit is used to determine the (i+1)th operating coefficient according to the (i)th operating coefficient and the (i)th gain coefficient.

[0296] As an optional solution, the fourth determining unit includes:

[0297] a first subtraction module, configured to subtract the i-th preliminary estimated pitch angle and the i-th pitch angle change from the i-th estimated pitch angle to obtain a second difference;

[0298] A first product operation module, used for performing a product operation on a preset first coefficient, the i-th gain coefficient and the second difference value to obtain a second product value;

[0299] The third determination module is used to determine the (i+1)th estimation coefficient to be equal to the sum of the (i)th estimation coefficient and the second product value.

[0300] As an optional solution, the fifth determining unit includes:

[0301] The fourth determination module is used to determine the (i+1)th preliminary estimated pitch angle to be equal to the sum of the (i+1)th estimated pitch angle and the (i+1)th estimation coefficient.

[0302] As an optional solution, the sixth determining unit includes:

[0303] A second product operation module, used for performing a product operation on the i-th gain coefficient and the i-th operation coefficient to obtain a third product value;

[0304] A second subtraction module, used for subtracting the third product value from the i-th operation coefficient to obtain a third difference value;

[0305] The fifth determination module is used to determine the (i+1)th operation coefficient to be equal to the sum of the third difference and a preset second coefficient.

[0306] As an optional solution, the second determining unit includes:

[0307] A division module, used for dividing the N estimated pitch angles into M pitch angle groups, wherein each pitch angle group in the M pitch angle groups includes the estimated pitch angles of the target vehicle at a plurality of consecutive moments in the N moments, and M is a positive integer greater than or equal to 2;

[0308] a sixth determination module, configured to determine, according to the M pitch angle groups and the N wheel speeds, a change in the height of the target vehicle corresponding to each pitch angle group in the M pitch angle groups, to obtain M changes;

[0309] a seventh determining module, configured to determine, according to the M changes, R pitch angle sequences in the M pitch angle groups, wherein R is a positive integer greater than or equal to 2 and less than M, and each pitch angle sequence in the R pitch angle sequences includes one or more adjacent pitch angle groups in the M pitch angle groups;

[0310] An eighth determination module is used to determine the change in the height of the target vehicle based on R groups of changes corresponding to the R pitch angle sequences, wherein the kth group of changes in the R groups of changes includes the changes in the M changes corresponding to each pitch angle group included in the kth pitch angle sequence, and k is a positive integer greater than or equal to 1 and less than or equal to R.

[0311] As an optional solution, the division module is used to: determine the pth pitch angle group among the M pitch angle groups by the following steps, where p is a positive integer greater than or equal to 1 and less than or equal to M:

[0312] Searching for a pth group of moments satisfying a first preset condition from the first moment after the p-1th group of moments in the N moments, wherein the moments in the pth group of moments are continuous moments, and the first preset condition means that the moving distance of the target vehicle after the pth group of moments is greater than or equal to a preset distance threshold, and the moving distance of the target vehicle after moments other than the last moment in the pth group of moments is less than the preset distance threshold, and when p is equal to 1, the first moment after the p-1th group of moments is the first moment in the N moments;

[0313] The estimated pitch angle of the target vehicle at the p-th group moment among the N estimated pitch angles is determined as the p-th pitch angle group.

[0314] As an optional solution, the sixth determination module is used to determine the j-th change amount among the M changes by executing the following steps, wherein the j-th change amount is the change amount of the height of the target vehicle corresponding to the j-th pitch angle group among the M pitch angle groups, and j is a positive integer greater than or equal to 1 and less than or equal to M:

[0315] In a case where the j-th pitch angle group includes Qj estimated pitch angles, and the Qj estimated pitch angles include the estimated pitch angles of the target vehicle at Qj consecutive moments among the N moments, the j-th change is determined based on the Qj estimated pitch angles and Qj wheel speeds, wherein Qj is a positive integer greater than or equal to 2 and less than N, and the Qj wheel speeds include the wheel speeds of the target vehicle at the Qj consecutive moments among the N moments.

[0316] As an optional solution, the sixth determining module is used to:

[0317] Performing a sine function operation on the Qj estimated pitch angles respectively to obtain Qj sine function values;

[0318] Perform corresponding product operations on the Qj sine function values ​​and the Qj wheel speeds respectively to obtain Qj product values;

[0319] The j-th variation is determined to be equal to the sum of the Qj product values.

[0320] As an optional solution, the seventh determination module is used to: determine the kth pitch angle sequence in the R pitch angle sequences by the following steps, wherein the M pitch angle groups are arranged in ascending order according to the N moments:

[0321] Searching for a kth pitch angle sequence that meets a second preset condition from the first pitch angle group after the k-1th pitch angle sequence in the M pitch angle groups, wherein the pitch angle groups in the kth pitch angle sequence are continuous pitch angle groups, and the second preset condition means that each pitch angle group in the kth pitch angle sequence meets a third preset condition, and when there is no pitch angle group before the kth pitch angle sequence and there is a pitch angle group after the kth pitch angle sequence, a pitch angle group after the kth pitch angle sequence does not meet a third preset condition. The third preset condition is met. In the case where there is a pitch angle group before the k-th pitch angle sequence and there is a pitch angle group after the k-th pitch angle sequence, a pitch angle group before the k-th pitch angle sequence and a pitch angle group after the k-th pitch angle sequence do not meet the third preset condition. In the case where there is a pitch angle group before the k-th pitch angle sequence and there is no pitch angle group after the k-th pitch angle sequence, a pitch angle group before the k-th pitch angle sequence does not meet the third preset condition.

[0322] Among them, the third preset condition means that the change corresponding to the pitch angle group is greater than or equal to the preset change threshold, and when k is equal to 1, the first pitch angle group after the k-1th pitch angle sequence is the first pitch angle group among the M pitch angle groups.

[0323] As an optional solution, the eighth determining module is used to:

[0324] The change in the height of the target vehicle is determined to be equal to the sum of the R groups of changes.

[0325] As an optional solution, the third determining unit includes:

[0326] An acquisition module, used for acquiring the height change and the floor corresponding to the target building;

[0327] The ninth determination module is used to determine the target floor corresponding to the height change amount where the target vehicle is located from the height change amount and the floor that have a corresponding relationship.

[0328] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned parking floor determination method is also provided. The electronic device may be Figure 1 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a server as an example. Fig.25 As shown, the electronic device includes a memory 2502 and a processor 2504, wherein the memory 2502 stores a computer program, and the processor 2504 is configured to execute the steps in any of the above method embodiments through the computer program.

[0329] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0330] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0331] S1, obtaining N groups of state parameters of a target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of N moments in a process from the target vehicle entering a target building to the target vehicle parking in a parking space in the target building, and N is a positive integer greater than or equal to 2;

[0332] S2, determining N estimated pitch angles according to the N groups of state parameters, wherein the N estimated pitch angles include the estimated pitch angle of the target vehicle at each of the N moments, the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle changes, N wheel speeds and N groups of accelerations, the N measured pitch angles include the measured pitch angle of the target vehicle at each of the N moments, the N pitch angle changes include the pitch angle changes of the target vehicle at each of the N moments, the N wheel speeds include the wheel speed of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments;

[0333] S3, determining a change in the height of the target vehicle according to the N estimated pitch angles and the N wheel speeds;

[0334] S4, determining a target floor at which the target vehicle stops in the target building according to the change in the height.

[0335] Alternatively, a person skilled in the art may understand that: Fig.25The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Fig.25 The structure of the electronic device is not limited. For example, the electronic device may also include Fig.25 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.25 Different configurations are shown.

[0336] Among them, the memory 2502 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for determining the parking floor in the embodiment of the present application. The processor 2504 executes various functional applications and data processing by running the software programs and modules stored in the memory 2502, that is, realizing the above-mentioned method for determining the parking floor. The memory 2502 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 2502 may further include a memory remotely located relative to the processor 2504, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 2502 may specifically be used, but is not limited to, to store information such as sample characteristics of items and target virtual resource accounts. As an example, such as Fig.25 As shown, the memory 2502 may include, but is not limited to, the acquisition unit 2402, the first determination unit 2404, the second determination unit 2406, and the third determination unit 2408 in the parking floor determination device. In addition, other module units in the parking floor determination device may also be included but are not limited to, which will not be repeated in this example.

[0337] Optionally, the transmission device 2506 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 2506 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 2506 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0338] In addition, the electronic device further includes: a display 2508 for displaying the order information to be processed; and a connection bus 2510 for connecting the various module components in the electronic device.

[0339] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. The nodes may form a peer-to-peer network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0340] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 2609, and / or installed from the removable medium 2611. When the computer program is executed by the central processing unit 2601, various functions provided by the embodiments of the present application are executed. The above-mentioned serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0341] Fig.26 The computer system structure block diagram of the electronic device used to implement the embodiment of the present application is schematically shown. It should be noted that: Fig.26 The computer system 2600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application. Fig.26 As shown, the computer system 2600 includes a central processing unit 2601 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 2602 (ROM) or the program loaded from the storage part 2608 to the random access memory 2603 (RAM). Various programs and data required for system operation are also stored in the random access memory 2603. The central processing unit 2601, the read-only memory 2602 and the random access memory 2603 are connected to each other through a bus 2604. The input / output interface 2605 (Input / Output interface, i.e., I / O interface) is also connected to the bus 2604.

[0342] The following components are connected to the input / output interface 2605: an input section 2606 including a keyboard, a mouse, etc.; an output section 2607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 2608 including a hard disk, etc.; and a communication section 2609 including a network interface card such as a LAN card, a modem, etc. The communication section 2609 performs communication processing via a network such as the Internet. A drive 2610 is also connected to the input / output interface 2605 as needed. A removable medium 2611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 2610 as needed so that a computer program read therefrom is installed into the storage section 2608 as needed.

[0343] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 2609, and / or installed from the removable medium 2611. When the computer program is executed by the central processor 2601, various functions defined in the system of the present application are executed.

[0344] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various optional implementations of the above embodiments.

[0345] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0346] S1, obtaining N groups of state parameters of a target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of N moments in a process from the target vehicle entering a target building to the target vehicle parking in a parking space in the target building, and N is a positive integer greater than or equal to 2;

[0347] S2, determining N estimated pitch angles according to the N groups of state parameters, wherein the N estimated pitch angles include the estimated pitch angle of the target vehicle at each of the N moments, the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle changes, N wheel speeds and N groups of accelerations, the N measured pitch angles include the measured pitch angle of the target vehicle at each of the N moments, the N pitch angle changes include the pitch angle changes of the target vehicle at each of the N moments, the N wheel speeds include the wheel speed of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments;

[0348] S3, determining a change in the height of the target vehicle according to the N estimated pitch angles and the N wheel speeds;

[0349] S4, determining a target floor at which the target vehicle stops in the target building according to the change in the height.

[0350] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0351] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.

[0352] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0353] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0354] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0355] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0356] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for determining a parking floor, characterized in that: include: Acquire N groups of state parameters of the target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of N moments in a process from the target vehicle entering a target building to the target vehicle parking in a parking space in the target building, and N is a positive integer greater than or equal to 2; Determine N estimated pitch angles according to the N groups of state parameters, wherein the N estimated pitch angles include an estimated pitch angle of the target vehicle at each of the N moments, the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle variations, N wheel speeds, and N groups of accelerations, the N measured pitch angles include a measured pitch angle of the target vehicle at each of the N moments, the N pitch angle variations include a pitch angle variation of the target vehicle at each of the N moments, the N wheel speeds include a wheel speed of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments; Determining a change in the height of the target vehicle according to the N estimated pitch angles and the N wheel speeds; Determining a target floor where the target vehicle stops in the target building according to the change in height; Wherein, determining N estimated pitch angles according to the N groups of state parameters includes: The i-th estimated pitch angle among the N estimated pitch angles is determined by the following steps, wherein i is a positive integer greater than or equal to 1 and less than or equal to N: determining an i-th gain coefficient according to an i-th wheel speed, an i-th group of accelerations and an i-th operation coefficient, wherein when i is greater than 1, the i-th operation coefficient is a coefficient determined according to an i-1-th operation coefficient and an i-1-th gain coefficient, and when i is equal to 1, the i-th operation coefficient is a first preset value; determining an i-th preliminary estimated pitch angle, an i-th pitch angle change, and the i-th gain coefficient according to the ... first preset value; determining an i-th gain coefficient according to the i-th preliminary estimated pitch angle, an i-th pitch angle change, and the i-th gain coefficient; i gain coefficient and i measured pitch angle, to determine an i estimated pitch angle, wherein when i is greater than 1, the i preliminary estimated pitch angle is a pitch angle determined according to the i-1 estimated pitch angle and the i estimation coefficient, the i estimation coefficient is a coefficient determined according to the i-1 estimation coefficient, the i-1 gain coefficient, the i-1 estimated pitch angle, the i-1 preliminary estimated pitch angle and the i-1 pitch angle change, and when i is equal to 1, the i preliminary estimated pitch angle is a second preset value; Wherein, the determining of the i-th gain coefficient according to the i-th wheel speed, the i-th group of acceleration and the i-th operation coefficient comprises: determining the i-th intermediate coefficient according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of acceleration; determining the i-th gain coefficient according to the i-th intermediate coefficient and the i-th operation coefficient; Wherein, the determining of the i-th intermediate coefficient according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of accelerations comprises: when the i-th group of accelerations comprises accelerations in three directions, determining the target index value according to the accelerations in the three directions and the difference obtained by subtracting the i-1-th wheel speed from the i-th wheel speed; determining the i-th intermediate coefficient as the target index value raised to the power of the natural base e; wherein, the determining of the target index value according to the accelerations in the three directions and the difference obtained by subtracting the i-1-th wheel speed from the i-th wheel speed when the i-th group of accelerations comprises accelerations in three directions comprises: when the i-th group of accelerations comprises accelerations in the X-axis direction, the Y-axis direction and the Z-axis direction xi 、a yi and a zi In this case, the target index value is determined by the following formula: Among them, C i is the target index value corresponding to the i-th intermediate coefficient, α is the third preset value, β is the fourth preset value, a xi is the acceleration in the X-axis direction in the i-th group of accelerations, a yi is the acceleration in the Y-axis direction in the i-th group of accelerations, a zi is the acceleration in the Z-axis direction in the i-th group of accelerations, s i is the i-th wheel speed, g is the gravitational acceleration, s i-1 is the i-1th wheel speed; Wherein, determining the i-th gain coefficient according to the i-th intermediate coefficient and the i-th operational coefficient comprises: determining the i-th gain coefficient to be equal to a value obtained by dividing the i-th intermediate coefficient by a target sum value, wherein the target sum value is equal to the sum of the i-th intermediate coefficient and the i-th operational coefficient; Wherein, determining the i-th estimated pitch angle according to the i-th preliminary estimated pitch angle, the i-th pitch angle change, the i-th gain coefficient and the i-th measured pitch angle comprises: performing a sum operation on the i-th preliminary estimated pitch angle and the i-th pitch angle change to obtain a first sum value; subtracting the i-th measured pitch angle from the first sum value to obtain a first difference value; performing a product operation on the i-th gain coefficient and the first difference value to obtain a first product value; and determining the i-th estimated pitch angle to be equal to the sum of the first sum value and the first product value; The method further comprises: determining an i+1th estimation coefficient according to the i-th estimation coefficient, the i-th gain coefficient, the i-th estimated pitch angle, the i-th preliminary estimated pitch angle and the i-th pitch angle change; determining an i+1th preliminary estimated pitch angle according to the i-th estimated pitch angle and the i+1th estimation coefficient; determining an i+1th operational coefficient according to the i-th operational coefficient and the i-th gain coefficient; Wherein, determining the i+1th estimation coefficient according to the i-th estimation coefficient, the i-th gain coefficient, the i-th estimated pitch angle, the i-th preliminary estimated pitch angle and the i-th pitch angle change comprises: subtracting the i-th preliminary estimated pitch angle and the i-th pitch angle change from the i-th estimated pitch angle to obtain a second difference; performing a product operation on a preset first coefficient, the i-th gain coefficient and the second difference to obtain a second product value; determining the i+1th estimation coefficient to be equal to the sum of the i-th estimation coefficient and the second product value; Wherein, determining the i+1th preliminary estimated pitch angle according to the i-th estimated pitch angle and the i+1th estimated coefficient comprises: determining the i+1th preliminary estimated pitch angle to be equal to the sum of the i-th estimated pitch angle and the i+1th estimated coefficient; Among them, determining the i+1th operating coefficient based on the i-th operating coefficient and the i-th gain coefficient includes: performing a product operation on the i-th gain coefficient and the i-th operating coefficient to obtain a third product value; subtracting the third product value from the i-th operating coefficient to obtain a third difference; and determining the i+1th operating coefficient to be equal to the sum of the third difference and a preset second coefficient.

2. The method according to claim 1, characterized in that Determining the change in the height of the target vehicle according to the N estimated pitch angles and the N wheel speeds includes: Dividing the N estimated pitch angles into M pitch angle groups, wherein each pitch angle group in the M pitch angle groups includes the estimated pitch angles of the target vehicle at a plurality of consecutive moments in the N moments, and M is a positive integer greater than or equal to 2; Determine, according to the M pitch angle groups and the N wheel speeds, a change in the height of the target vehicle corresponding to each pitch angle group in the M pitch angle groups, to obtain M changes; Determine R pitch angle sequences in the M pitch angle groups according to the M changes, where R is a positive integer greater than or equal to 2 and less than M, and each pitch angle sequence in the R pitch angle sequences includes one or more adjacent pitch angle groups in the M pitch angle groups; The change in the height of the target vehicle is determined based on R groups of changes corresponding to the R pitch angle sequences, wherein the kth group of changes in the R groups of changes includes the change in the M changes corresponding to each pitch angle group included in the kth pitch angle sequence, and k is a positive integer greater than or equal to 1 and less than or equal to R.

3. The method according to claim 2, characterized in that The dividing the N estimated pitch angles into M pitch angle groups comprises: The pth pitch angle group among the M pitch angle groups is determined by the following steps, where p is a positive integer greater than or equal to 1 and less than or equal to M: Searching for a pth group of moments satisfying a first preset condition from the first moment after the p-1th group of moments in the N moments, wherein the moments in the pth group of moments are continuous moments, and the first preset condition means that the moving distance of the target vehicle after the pth group of moments is greater than or equal to a preset distance threshold, and the moving distance of the target vehicle after moments other than the last moment in the pth group of moments is less than the preset distance threshold, and when p is equal to 1, the first moment after the p-1th group of moments is the first moment in the N moments; The estimated pitch angle of the target vehicle at the p-th group moment among the N estimated pitch angles is determined as the p-th pitch angle group.

4. The method according to claim 2, characterized in that: The step of determining, according to the M pitch angle groups and the N wheel speeds, a change in the height of the target vehicle corresponding to each pitch angle group in the M pitch angle groups to obtain M changes includes: The j-th change amount among the M changes is determined by executing the following steps, wherein the j-th change amount is the change amount of the height of the target vehicle corresponding to the j-th pitch angle group among the M pitch angle groups, and j is a positive integer greater than or equal to 1 and less than or equal to M: The j-th pitch angle group includes Q j An estimated pitch angle, and the Q j The estimated pitch angle includes the consecutive Q j In the case of the estimated pitch angle of the target vehicle at a certain moment, according to the Q j The estimated pitch angle and Q j wheel speed, determine the jth change, where Q j is a positive integer greater than or equal to 2 and less than N, wherein Q j The wheel speed includes the continuous Q j The wheel speed of the target vehicle at a certain moment.

5. The method according to claim 4, characterized in that According to the Q j The estimated pitch angle and Q j wheel speed, determine the jth change, including: For the Q j The estimated pitch angle is used to calculate the sine function value and obtain Q j The value of the sine function; The Q j The sine function values ​​are respectively related to the Q j Perform the corresponding product operation on the wheel speeds to obtain Q j product value; The jth change is determined to be equal to the Q j The sum of the product values.

6. The method according to claim 2, characterized in that The step of determining R pitch angle sequences in the M pitch angle groups according to the M changes includes: The kth pitch angle sequence in the R pitch angle sequences is determined by the following steps, wherein the M pitch angle groups are arranged in ascending order according to the N moments: Searching for a kth pitch angle sequence that meets a second preset condition from the first pitch angle group after the k-1th pitch angle sequence in the M pitch angle groups, wherein the pitch angle groups in the kth pitch angle sequence are continuous pitch angle groups, and the second preset condition means that each pitch angle group in the kth pitch angle sequence meets a third preset condition, and when there is no pitch angle group before the kth pitch angle sequence and there is a pitch angle group after the kth pitch angle sequence, a pitch angle group after the kth pitch angle sequence does not meet a third preset condition. The third preset condition is met. In the case where there is a pitch angle group before the k-th pitch angle sequence and there is a pitch angle group after the k-th pitch angle sequence, a pitch angle group before the k-th pitch angle sequence and a pitch angle group after the k-th pitch angle sequence do not meet the third preset condition. In the case where there is a pitch angle group before the k-th pitch angle sequence and there is no pitch angle group after the k-th pitch angle sequence, a pitch angle group before the k-th pitch angle sequence does not meet the third preset condition. Among them, the third preset condition means that the change corresponding to the pitch angle group is greater than or equal to the preset change threshold, and when k is equal to 1, the first pitch angle group after the k-1th pitch angle sequence is the first pitch angle group among the M pitch angle groups.

7. The method according to claim 2, characterized in that Determining the change in the height of the target vehicle according to the R groups of changes corresponding to the R pitch angle sequences includes: The change in the height of the target vehicle is determined to be equal to the sum of the R groups of changes.

8. The method according to claim 1, characterized in that Determining the target floor where the target vehicle stops in the target building according to the change in the height includes: Obtaining the height change and the floor corresponding to the target building; The target floor corresponding to the change in height at which the target vehicle is located is determined from the change in height and the floor having a corresponding relationship.

9. A device for determining a parking floor, characterized in that: include: an acquisition unit, configured to acquire N groups of state parameters of a target vehicle, wherein the N groups of state parameters are a group of state parameters of the target vehicle at each of N moments in a process from the target vehicle entering a target building to the target vehicle parking in a parking space in the target building, and N is a positive integer greater than or equal to 2; a first determining unit, configured to determine N estimated pitch angles according to the N groups of state parameters, wherein the N estimated pitch angles include an estimated pitch angle of the target vehicle at each of the N moments, the N groups of state parameters include N measured pitch angles of the target vehicle, N pitch angle variations, N wheel speeds, and N groups of accelerations, the N measured pitch angles include a measured pitch angle of the target vehicle at each of the N moments, the N pitch angle variations include a pitch angle variation of the target vehicle at each of the N moments, the N wheel speeds include a wheel speed of the target vehicle at each of the N moments, and the N groups of accelerations include a group of accelerations of the target vehicle at each of the N moments; A second determining unit, configured to determine a change in the height of the target vehicle according to the N estimated pitch angles and the N wheel speeds; A third determining unit, configured to determine a target floor where the target vehicle is parked in the target building according to the change in height; Wherein, the first determining unit includes: A first determination module is used to determine an i-th estimated pitch angle among the N estimated pitch angles by the following steps, wherein i is a positive integer greater than or equal to 1 and less than or equal to N: determining an i-th gain coefficient according to an i-th wheel speed, an i-th group of accelerations and an i-th operation coefficient, wherein when i is greater than 1, the i-th operation coefficient is a coefficient determined according to an i-1-th operation coefficient and an i-1-th gain coefficient, and when i is equal to 1, the i-th operation coefficient is a first preset value; a second determination module, configured to determine an i-th estimated pitch angle according to an i-th preliminary estimated pitch angle, an i-th pitch angle variation, an i-th gain coefficient, and an i-th measured pitch angle, wherein, when i is greater than 1, the i-th preliminary estimated pitch angle is a pitch angle determined according to an i-1-th estimated pitch angle and an i-th estimation coefficient, the i-th estimation coefficient is a coefficient determined according to an i-1-th estimation coefficient, an i-1-th gain coefficient, an i-1-th estimated pitch angle, an i-1-th preliminary estimated pitch angle, and an i-1-th pitch angle variation, and when i is equal to 1, the i-th preliminary estimated pitch angle is a second preset value; The first determination module is used to: determine the i-th intermediate coefficient according to the i-th wheel speed, the i-1-th wheel speed and the i-th group of accelerations; determine the i-th gain coefficient according to the i-th intermediate coefficient and the i-th operation coefficient; Wherein, the first determination module is used to: determine the target index value according to the accelerations in the three directions and the difference obtained by subtracting the i-1th wheel speed from the i-th wheel speed when the i-th group of accelerations includes accelerations in three directions; determine the i-th intermediate coefficient as the target index value raised to the power of the natural base e, wherein, when the i-th group of accelerations includes accelerations in three directions, determine the target index value according to the accelerations in the three directions and the difference obtained by subtracting the i-1th wheel speed from the i-th wheel speed, including: when the i-th group of accelerations includes accelerations in the X-axis direction, the Y-axis direction and the Z-axis direction xi 、a yi and a zi In this case, the target index value is determined by the following formula: Among them, C i is the target index value corresponding to the i-th intermediate coefficient, α is the third preset value, β is the fourth preset value, a xi is the acceleration in the X-axis direction in the i-th group of accelerations, a yi is the acceleration in the Y-axis direction in the i-th group of accelerations, a zi is the acceleration in the Z-axis direction in the i-th group of accelerations, s i is the i-th wheel speed, g is the gravitational acceleration, s i-1 is the i-1th wheel speed; The first determination module is used to: determine the i-th gain coefficient to be equal to a value obtained by dividing the i-th intermediate coefficient by a target sum value, wherein the target sum value is equal to the sum of the i-th intermediate coefficient and the i-th operation coefficient; The second determination module is configured to: perform a sum operation on the i-th preliminary estimated pitch angle and the i-th pitch angle change to obtain a first sum value; subtract the i-th measured pitch angle from the first sum value to obtain a first difference value; perform a product operation on the i-th gain coefficient and the first difference value to obtain a first product value; and determine the i-th estimated pitch angle to be equal to the sum of the first sum value and the first product value; The device further includes: a fourth determining unit, configured to determine an i+1th estimation coefficient according to the i-th estimation coefficient, the i-th gain coefficient, the i-th estimated pitch angle, the i-th preliminary estimated pitch angle and the i-th pitch angle change; a fifth determining unit, configured to determine an i+1th preliminary estimated pitch angle according to the i-th estimated pitch angle and the i+1th estimation coefficient; and a sixth determining unit, configured to determine an i+1th operation coefficient according to the i-th operation coefficient and the i-th gain coefficient. The fourth determination unit includes: a first subtraction module, used to subtract the i-th preliminary estimated pitch angle and the i-th pitch angle change from the i-th estimated pitch angle to obtain a second difference; a first product operation module, used to perform a product operation on a preset first coefficient, the i-th gain coefficient and the second difference to obtain a second product value; a third determination module, used to determine the i+1-th estimated coefficient to be equal to the sum of the i-th estimated coefficient and the second product value; The fifth determination unit includes: a fourth determination module, configured to determine the i+1th preliminary estimated pitch angle to be equal to the sum of the i-th estimated pitch angle and the i+1th estimation coefficient; Among them, the sixth determination unit includes: a second product operation module, used to perform a product operation on the i-th gain coefficient and the i-th operation coefficient to obtain a third product value; a second subtraction module, used to subtract the third product value from the i-th operation coefficient to obtain a third difference; a fifth determination module, used to determine the i+1th operation coefficient to be equal to the sum of the third difference and a preset second coefficient.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 8 when executed.