Obstacle touch recognition method, device, equipment and storage medium
By performing Kalman filtering on the vehicle speed and acceleration information, and combining the impact information for fuzzy processing and reasoning, obstacle touch recognition is achieved, solving the problem of low obstacle recognition accuracy in low-light environments for the automatic parking function. issues, improving user experience and security.
Patent Information
- Application Number
- CN202110740038.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-06-30
AI Technical Summary
The existing automatic parking function can easily reduce the accuracy of obstacle recognition in low-light environments and during parking, which may cause the vehicle to forcibly cross obstacles, affecting the user experience and increasing the risk of collision.
By collecting vehicle speed and acceleration information, Kalman filtering is performed to obtain accurate vehicle speed information, and the impact information is combined with fuzzy processing and fuzzy reasoning to realize obstacle contact recognition and control vehicle braking to avoid collisions.
It improves the accuracy of obstacle touch recognition, avoids accidents caused by vehicles forcibly crossing obstacles, and improves the user's riding experience.
Smart Images

Figure CN113353066B
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to an obstacle contact recognition method, device, equipment and storage medium. Background Art
[0002] The existing automatic parking function mainly relies on visual perception for obstacle recognition. It collects image data of the vehicle's surrounding environment through visual sensors, performs target detection and target positioning on the image data, and thus determines the obstacles around the vehicle.
[0003] However, when the visual sensor is affected by external factors such as the dim light in the parking environment, the accuracy of obstacle recognition will be reduced. At the same time, when the rear of the vehicle approaches an obstacle during parking, the visual sensor will enter the perception blind spot and cannot detect the obstacle in real time. This may cause the vehicle to increase excessive torque output in order to forcibly cross the obstacle, affecting the user's riding experience and may even cause a vehicle collision. Therefore, a more effective technical solution is needed. Summary of the invention
[0004] The present application provides an obstacle contact recognition method, device, equipment and storage medium, which can improve the accuracy of obstacle contact recognition of wheels to prevent vehicles from forcibly crossing obstacles and improve the user's riding experience. The technical solution of the present application is as follows:
[0005] In one aspect, a method for identifying an obstacle contact is provided, the method comprising:
[0006] When the target vehicle is in the automatic parking mode, collecting the speed information of the target vehicle;
[0007] Acquiring acceleration information and wheel speed information of the target vehicle;
[0008] Based on the acceleration information and the wheel speed information, performing Kalman filtering on the vehicle speed information to obtain target vehicle speed information;
[0009] Acquiring target impact degree information of the target vehicle;
[0010] Fuzzifying the target vehicle speed information and the target impact degree information to obtain a target vehicle speed fuzzy value and a target impact degree fuzzy value;
[0011] Performing fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity based on a fuzzy controller to obtain a target touch recognition result fuzzy quantity;
[0012] The fuzzy amount of the target contact recognition result is defuzzified to obtain an obstacle contact recognition result of the wheel of the target vehicle.
[0013] On the other hand, an obstacle contact recognition device is provided, the device comprising:
[0014] A vehicle speed information collection module, used to collect the vehicle speed information of the target vehicle when the target vehicle is in the automatic parking mode;
[0015] An information acquisition module, used to acquire acceleration information and wheel speed information of the target vehicle;
[0016] A Kalman filter processing module, configured to perform Kalman filter processing on the vehicle speed information based on the acceleration information and the wheel speed information to obtain target vehicle speed information;
[0017] A target impact degree information acquisition module is used to acquire the target impact degree information of the target vehicle;
[0018] A fuzzy processing module, used for performing fuzzy processing on the target vehicle speed information and the target impact degree information to obtain a target vehicle speed fuzzy value and a target impact degree fuzzy value;
[0019] A fuzzy reasoning module, used for performing fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity based on a fuzzy controller to obtain a target touch recognition result fuzzy quantity;
[0020] The defuzzification processing module is used to perform defuzzification processing on the fuzziness of the target contact recognition result to obtain the obstacle contact recognition result of the wheel of the target vehicle.
[0021] On the other hand, an obstacle touch recognition device is provided, the device comprising a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the obstacle touch recognition method as described above.
[0022] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the obstacle contact recognition method as described above.
[0023] The obstacle contact recognition method, device, equipment and storage medium provided by this application have the following technical effects:
[0024] By utilizing the technical solution provided in the present application, the target vehicle speed information is obtained by performing Kalman filtering on the vehicle speed information, and obstacle contact recognition is performed based on the target vehicle speed information and the target impact degree information. When it is recognized that the wheels of the target vehicle touch the obstacle, the target vehicle is controlled to brake to a stop, which can improve the accuracy of the obstacle contact recognition of the wheels, thereby avoiding the vehicle from outputting excessive torque due to forcibly crossing the obstacle, causing an accident, and improving the user's riding experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 It is a flowchart of an obstacle touch recognition method provided in an embodiment of the present application;
[0027] Figure 2 It is a flow chart of a Kalman filter processing method provided in an embodiment of the present application;
[0028] Figure 3 It is a flowchart of a fuzzy rule generation method provided in an embodiment of the present application;
[0029] Figure 4 It is a flowchart of a fuzzy detection processing method provided in an embodiment of the present application;
[0030] Figure 5 is a schematic diagram of a first membership function provided in an embodiment of the present application;
[0031] Figure 6 is a schematic diagram of a second membership function provided in an embodiment of the present application;
[0032] Figure 7 It is a flowchart of a fuzzy reasoning method provided in an embodiment of the present application;
[0033] Figure 8 is a schematic diagram of a third membership function provided in an embodiment of the present application;
[0034] Fig. 9 It is a schematic diagram of an obstacle touch recognition device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 making creative work are within the scope of protection of this application.
[0036] 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 server that includes 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.
[0037] The following describes an obstacle contact recognition method provided by an embodiment of the present application. Figure 1 A flowchart of an obstacle touch recognition method provided in an embodiment of the present application. It should be noted that this specification provides method operation steps as described in the embodiment or flowchart, but more or fewer operation steps may be included based on routine or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the system or product is executed in practice, it can be executed in the order shown in the embodiment or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 1 As shown, the above method may include:
[0038] S101, when the target vehicle is in the automatic parking mode, collecting the speed information of the target vehicle.
[0039] In the embodiment of the present specification, the target vehicle is a vehicle that can have an automatic parking function, and the speed information can be collected by a speed sensor of the target vehicle.
[0040] S103, acquiring the acceleration information and wheel speed information of the target vehicle.
[0041] In practical applications, the wheel speed information may be collected by a wheel speed sensor installed on the wheel of the target vehicle, and the acceleration information may be collected by an acceleration sensor of the target vehicle.
[0042] S105, based on the acceleration information and the wheel speed information, perform Kalman filtering on the vehicle speed information to obtain target vehicle speed information.
[0043] In a specific embodiment, Figure 2 As shown, the vehicle speed information is subjected to Kalman filtering based on the acceleration information and the wheel speed information to obtain the target vehicle speed information, which may include:
[0044] S201, determining a state vector of a Kalman filter according to the vehicle speed information and the acceleration information.
[0045] Specifically, v(k) can be used to represent the vehicle speed information, a(k) can be used to represent the acceleration information, and X(k) can be used to represent the state vector of the Kalman filter, where X(k) = [v(k), a(k)] T .
[0046] S203, determining an observation vector of the Kalman filter according to the wheel speed information and the preset wheel radius information.
[0047] In practical applications, the wheel speed information can be multiplied by the wheel radius information to obtain the wheel linear speed information, and the vehicle speed information can be predicted and corrected using the linear speed information.
[0048] Specifically, ω(k) can be used to represent the vehicle speed information, r can represent the wheel radius information, and Y(k) can represent the observation vector of the Kalman filter, where Y(k)=[rω(k)].
[0049] S205, based on the state vector and the observation vector, construct the state equation and observation equation of the Kalman filter respectively.
[0050] Specifically, the state equation is constructed as: X(k)=AX(k-1)+W(k-1);
[0051] The observation equation is constructed as: Y(k)=HX(k-1)+V(k-1);
[0052] Where A is the state transfer matrix, T represents time, H is the observation matrix, H = [1,0] T , W(k) is the system noise, V(k) is the observation noise. Generally, V(k) and V(k) are independent and normally distributed white noises. W~N(0,Q), Q is the covariance matrix of the system noise, and V~(0,R), R is the covariance matrix of the observation noise.
[0053] S207, performing iterative optimization based on the state equation and the observation equation to obtain the target vehicle speed information.
[0054] Specifically, iterative optimization can be performed based on the time update formula and the measurement state update formula to obtain the optimal estimated vehicle speed information, and the optimal estimated vehicle speed information is used as the target vehicle speed information. Among them, the time update formula may include: a priori state prediction formula and a priori state covariance formula, and the measurement state update formula may include: Kalman gain formula, a posteriori state prediction formula and a posteriori state covariance formula. Specifically, the above formulas are as follows:
[0055] Prior state prediction formula:
[0056] Prior state covariance formula:
[0057] Kalman gain formula:
[0058] Posterior state prediction formula:
[0059] The posterior state covariance formula is:
[0060] The technical solution provided by the above embodiments can perform Kalman filtering on the vehicle speed information based on the acceleration information and the wheel speed information to obtain vehicle speed information with higher accuracy, thereby improving the accuracy of fuzzy obstacle recognition.
[0061] S107, obtaining target impact degree information of the target vehicle.
[0062] In practical applications, the impact degree information may be the strength of the impact force received by the wheels of the vehicle transmitted to the vehicle body, and the magnitude of the impact degree information may reflect the smoothness of vehicle driving.
[0063] Specifically, the target impact degree information can be obtained by performing a second-order derivative calculation on the target vehicle speed information.
[0064] S109, fuzzifying the target vehicle speed information and the target impact degree information to obtain a target vehicle speed fuzzy value and a target impact degree fuzzy value.
[0065] Specifically, the target vehicle speed fuzzy quantity may include: a target vehicle speed membership level and a membership degree corresponding to the target vehicle speed membership level; the target impact degree fuzzy quantity may include: a target impact degree membership level and a membership degree corresponding to the target impact degree membership level.
[0066] In the embodiment of the present specification, the fuzzy controller performs fuzzy recognition on the target vehicle speed information and the target impact degree information, and the obstacle contact recognition result of the target vehicle wheel can be obtained. In practical applications, the fuzzy controller may include but is not limited to a fuzzification interface, a fuzzy rule base, a fuzzy inference engine and a defuzzification interface. The fuzzy rule base is composed of multiple fuzzy rules, such as Figure 3 As shown, Figure 3 : is a flow chart of a fuzzy rule generation method provided in an embodiment of the present application. Specifically, the method may include:
[0067] S301, obtaining a preset vehicle speed fuzzy subset, a preset impact degree fuzzy subset and a preset touch recognition result fuzzy subset, wherein the vehicle speed fuzzy subset includes multiple vehicle speed membership levels, the impact degree fuzzy subset includes multiple impact degree membership levels, and the touch recognition result fuzzy subset includes multiple touch recognition result membership levels.
[0068] Specifically, the vehicle speed fuzzy subset may be composed of multiple vehicle speed membership levels, and the classification of vehicle speed membership levels may include but are not limited to: low speed, relatively low speed, medium speed, relatively high speed, and high speed. The impact degree fuzzy subset may be composed of multiple impact degree membership levels, and the classification of impact degree membership levels may include but are not limited to: small, relatively small, medium, relatively large, and large. The touch recognition result fuzzy subset may be composed of multiple touch recognition result membership levels, and the classification of touch recognition result membership levels may include but are not limited to: yes and no.
[0069] S303, using the multiple vehicle speed membership levels and the multiple impact degree membership levels as input variables of the fuzzy controller, using the multiple touch recognition result membership levels as output variables of the fuzzy controller, and determining the fuzzy relationship between the input variables and the output variables.
[0070] In a specific embodiment, the vehicle speed membership levels in the vehicle speed fuzzy subset include low speed (S), medium speed (M) and high speed (B), the impact degree membership levels in the impact degree fuzzy subset include small (PS), medium (PM) and large (PB), and the touch recognition result membership levels in the touch recognition result fuzzy subset include yes (Y) and no (N), and 9 fuzzy relationships are determined:
[0071] If V (target vehicle speed fuzziness) = S and J (target impact degree fuzziness) = S Then F (target touch recognition result fuzziness) = N;
[0072] If V=S and J=PS Then F=N;
[0073] If V=S and J=PB Then F=Y;
[0074] If V=M and J=PS Then F=N;
[0075] If V=M and J=PM Then F=N;
[0076] If V=M and J=PB Then F=Y;
[0077] If V=B and J=PS Then F=N;
[0078] If V=B and J=PM Then F=Y;
[0079] If V=B and J=PB Then F=Y.
[0080] S305: Generate the fuzzy rules based on the fuzzy relationship.
[0081] Specifically, the fuzzy rules in the above specific embodiment are as follows:
[0082] F PS(J) PM(J) PB(J) S(V) N N Y M(V) N N Y B(V) N Y Y
[0083] In the embodiments of this specification, Figure 4 As shown, the fuzzy processing of the target vehicle speed information and the target impact degree information to obtain the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity may include:
[0084] S401, fuzzy processing is performed on the target vehicle speed information based on a preset first membership function to obtain the target vehicle speed membership level and the membership degree corresponding to the target vehicle speed membership level.
[0085] Specifically, the preset first membership function is used to characterize the membership relationship and membership degree between the elements in the vehicle speed domain and the vehicle speed membership level in the vehicle speed fuzzy subset, and the first membership function may include but is not limited to a Gaussian membership function. The vehicle speed domain may be [0, a] km / h, and b may be set based on the maximum speed limit in the automatic parking function of the target vehicle in actual application, for example, a may be a positive number not greater than 5.
[0086] For example, the speed domain is [0,5] km / h, and the speed classification is divided into low speed, medium speed and fast speed. Figure 5 As shown, Figure 5 It is a schematic diagram of a first membership function provided in an embodiment of the present application.
[0087] S403: Fuzzy processing is performed on the target impact degree information based on a preset second membership function to obtain the target impact degree membership level and the membership degree corresponding to the target impact degree membership level.
[0088] Specifically, the preset second membership function is used to characterize the membership relationship and membership degree between the elements in the shock degree domain and the shock degree membership level in the shock degree fuzzy subset. The second membership function may include but is not limited to a generalized bell-shaped membership function. The shock degree domain may be [0, b] m / s 3 , b can be set based on the maximum impact degree that may be collected by the target vehicle for automatic parking in actual applications. Optionally, b can be greater than 80.
[0089] The impact degree domain is [0,100]m / s 3 , the impact degree is divided into small, medium and large levels as an example, Figure 6 As shown, Figure 6 It is a schematic diagram of a second membership function provided in an embodiment of the present application.
[0090] S111, performing fuzzy inference on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity based on a fuzzy controller to obtain a target touch recognition result fuzzy quantity.
[0091] In the embodiments of this specification, Figure 7 As shown, the fuzzy controller performs fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity to obtain the target touch recognition result fuzzy quantity, which may include:
[0092] S701, based on the fuzzy rules in the fuzzy controller, determining the target touch recognition result membership level corresponding to the target vehicle speed fuzzy amount and the target impact degree fuzzy amount and the membership degree corresponding to the target touch recognition result membership level.
[0093] S703: Using the target touch recognition result membership level and the membership degree corresponding to the target touch recognition result membership level as the target touch recognition result fuzziness amount.
[0094] In a specific embodiment, if the target vehicle speed information is 1.25 km / h and the target impact degree information is 26 m / s 3 ,according to Figure 5 and Figure 6 , we can get the target vehicle speed fuzziness (V) as 0.5 times S and 0.5 times M, and the target impact degree fuzziness (J) as 0.1 times PM and 0.3 times PB.
[0095] When determining the fuzzy value of the target touch recognition result, the Max-Min fuzzy reasoning method is used;
[0096] If V = 0.5 times S and J = 0.1 times PM Then F = 0.1 times N;
[0097] If V = 0.5 times M and J = 0.1 times PM Then F = 0.1 times N;
[0098] If V = 0.5 times S and J = 0.3 times PB Then F = 0.3 times Y;
[0099] If V = 0.5 times M and J = 0.3 times PB Then F = 0.3 times Y;
[0100] The fuzzy amounts of the target touch recognition result are 0.1 times N, 0.1 times N, 0.3 times Y, and 0.3 times Y.
[0101] S113, performing defuzzification processing on the fuzzy amount of the target contact recognition result to obtain the obstacle contact recognition result of the wheel of the target vehicle.
[0102] Specifically, the central values corresponding to the membership levels of different target touch recognition results can be determined based on a preset third membership function. The preset third membership function is used to characterize the membership relationship and membership degree between the elements in the touch recognition result domain and the touch recognition result membership level in the touch recognition result fuzzy subset, and the third membership function may include but is not limited to a trapezoidal membership function.
[0103] For example, the domain of touch recognition results is [0,1], and the classification of touch recognition results is yes or no. Figure 8 As shown, Figure 8 is a schematic diagram of a third membership function provided in an embodiment of the present application. Specifically, the formula of the third membership function is:
[0104]
[0105] In the embodiment of the present specification, the target touch recognition result membership level and the membership degree corresponding to the target touch recognition result membership level may be defuzzified based on the centroid method to obtain the obstacle touch recognition result.
[0106] Specifically, when the target touch recognition result membership level is yes (Y),
[0107] Based on the centroid formula The centroid value corresponding to (Y) is 0.674;
[0108] When the target touch recognition result membership level is No (N),
[0109] Based on the centroid formula The centroid value corresponding to No (N) is 0.176;
[0110] The four values in the fuzzy amount of the above target touch recognition result are weighted and calculated to obtain:
[0111]
[0112] In an optional embodiment, when the obstacle contact recognition result is that the wheels of the target vehicle touch the obstacle, the target vehicle is controlled to brake and stop.
[0113] Specifically, taking the domain of the contact recognition result as [0,1] as an example, the critical value of the obstacle contact recognition result of the wheel touching the obstacle and the wheel not touching the obstacle can be determined based on the calibration method. In an optional embodiment, the critical value of the obstacle contact recognition result can be 0.4. When the value of the obstacle contact recognition result is less than 0.4, the wheel does not touch the obstacle. When the value of the obstacle contact recognition result is greater than or equal to 0.4, the wheel touches the obstacle. For example, the value of the above obstacle contact recognition result is 0.5495, so it is considered that the wheel of the target vehicle touches the obstacle, and the target vehicle is controlled to stop.
[0114] It can be seen from the technical solution provided in the above embodiments of the present application that by performing Kalman filtering on the vehicle speed information, the target vehicle speed information is obtained, and obstacle contact recognition is performed based on the target vehicle speed information and the target impact degree information. When it is recognized that the wheels of the target vehicle touch the obstacle, the target vehicle is controlled to brake to a stop, which can improve the accuracy of the obstacle contact recognition of the wheels, thereby avoiding accidents caused by the vehicle forcibly crossing the obstacle and improving the user's riding experience.
[0115] The present application embodiment provides an obstacle contact recognition device, such as Fig. 9 As shown, the above-mentioned device may include:
[0116] The vehicle speed information collection module 910 is used to collect the vehicle speed information of the target vehicle when the target vehicle is in the automatic parking mode;
[0117] The information acquisition module 920 is used to acquire the acceleration information and wheel speed information of the target vehicle;
[0118] A Kalman filter processing module 930 is used to perform Kalman filter processing on the vehicle speed information based on the acceleration information and the wheel speed information to obtain target vehicle speed information;
[0119] A target impact degree information acquisition module 940 is used to acquire the target impact degree information of the target vehicle;
[0120] A fuzzy processing module 950 is used to perform fuzzy processing on the target vehicle speed information and the target impact degree information to obtain a target vehicle speed fuzzy value and a target impact degree fuzzy value;
[0121] A fuzzy reasoning module 960 is used to perform fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity based on a fuzzy controller to obtain a target touch recognition result fuzzy quantity;
[0122] The defuzzification processing module 970 is used to perform defuzzification processing on the fuzziness of the target contact recognition result to obtain the obstacle contact recognition result of the wheel of the target vehicle.
[0123] In a specific embodiment, the Kalman filter processing module 930 may include:
[0124] A state vector unit, used to determine a state vector of a Kalman filter according to the vehicle speed information and the acceleration information;
[0125] An observation vector unit, used to determine the observation vector of the Kalman filter according to the wheel speed information and the preset wheel radius information;
[0126] An equation construction unit, used to construct the state equation and observation equation of the Kalman filter based on the state vector and the observation vector, respectively;
[0127] The iterative optimization unit is used to perform iterative optimization based on the state equation and the observation equation to obtain the target vehicle speed information.
[0128] In the embodiments of this specification, the above device may further include:
[0129] a fuzzy subset acquisition unit, used to acquire a preset vehicle speed fuzzy subset, a preset impact degree fuzzy subset, and a preset touch recognition result fuzzy subset, wherein the vehicle speed fuzzy subset includes a plurality of vehicle speed membership levels, the impact degree fuzzy subset includes a plurality of impact degree membership levels, and the touch recognition result fuzzy subset includes a plurality of touch recognition result membership levels;
[0130] a fuzzy relationship determination unit, configured to use the plurality of vehicle speed membership levels and the plurality of impact degree membership levels as input variables of the fuzzy controller, and the plurality of touch recognition result membership levels as output variables of the fuzzy controller, to determine the fuzzy relationship between the input variables and the output variables;
[0131] The fuzzy rule generating unit is used to generate the fuzzy rule based on the fuzzy relationship.
[0132] In the embodiment of this specification, the fuzzy processing module 950 may include:
[0133] a target vehicle speed information processing unit, configured to perform fuzzy processing on the target vehicle speed information based on a preset first membership function to obtain the target vehicle speed membership level and the membership degree corresponding to the target vehicle speed membership level;
[0134] The target impact degree information processing unit is used to perform fuzzy processing on the target impact degree information based on a preset second membership function to obtain the target impact degree membership level and the membership degree corresponding to the target impact degree membership level.
[0135] In the embodiment of this specification, the fuzzy reasoning module 960 may include:
[0136] a target touch recognition result membership level determination unit, configured to determine the target touch recognition result membership level corresponding to the target vehicle speed fuzzy amount and the target impact degree fuzzy amount and the membership degree corresponding to the target touch recognition result membership level based on the fuzzy rules in the fuzzy controller;
[0137] The target touch recognition result fuzzy amount unit is used to use the target touch recognition result membership level and the membership degree corresponding to the target touch recognition result membership level as the target touch recognition result fuzzy amount.
[0138] The device and method embodiments in the above-mentioned device embodiments are based on the same inventive concept.
[0139] An embodiment of the present application provides an obstacle touch recognition device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the obstacle touch recognition method provided in the above method embodiment.
[0140] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the above devices, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.
[0141] The method embodiments provided in the embodiments of the present application may be executed in a vehicle-mounted terminal or a similar computing device, that is, the above-mentioned computer device may include a vehicle-mounted terminal or a similar computing device.
[0142] An embodiment of the present application also provides a storage medium, which can be set in a server to store at least one instruction or at least one program related to implementing an obstacle touch recognition method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the obstacle touch recognition method provided in the above method embodiment.
[0143] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0144] It can be seen from the embodiments of the obstacle contact recognition method, device, equipment or storage medium provided by the present application that, by using the technical solution provided by the present application, the target vehicle speed information is obtained by performing Kalman filtering on the vehicle speed information, and obstacle contact recognition is performed based on the target vehicle speed information and the target impact degree information. When it is recognized that the wheels of the target vehicle touch the obstacle, the target vehicle is controlled to brake to a stop, which can improve the accuracy of the obstacle contact recognition of the wheels, thereby avoiding the vehicle from outputting excessive torque due to forcibly crossing the obstacle, causing an accident, and improving the user's riding experience.
[0145] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0146] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0147] A person skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the above program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0148] The above is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for identifying an obstacle contact, characterized in that: The method comprises: When the target vehicle is in the automatic parking mode, collecting the speed information of the target vehicle; Acquiring acceleration information and wheel speed information of the target vehicle; Based on the acceleration information and the wheel speed information, performing Kalman filtering on the vehicle speed information to obtain target vehicle speed information of the target vehicle; Acquiring target impact degree information of the target vehicle, wherein the target impact degree information represents the strength of the impact force received by the wheels of the target vehicle transmitted to the vehicle body; Fuzzifying the target vehicle speed information and the target impact degree information to obtain a target vehicle speed fuzzy value and a target impact degree fuzzy value; Performing fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity based on a fuzzy controller to obtain a target touch recognition result fuzzy quantity; The fuzzy amount of the target contact recognition result is defuzzified to obtain an obstacle contact recognition result of the wheel of the target vehicle.
2. The method according to claim 1, characterized in that The target vehicle speed fuzzy quantity includes a target vehicle speed membership level and a membership degree corresponding to the target vehicle speed membership level, and the target impact degree fuzzy quantity includes a target impact degree membership level and a membership degree corresponding to the target impact degree membership level. The fuzzy processing of the target vehicle speed information and the target impact degree information to obtain the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity includes: Performing fuzzy processing on the target vehicle speed information based on a preset first membership function to obtain the target vehicle speed membership level and the membership degree corresponding to the target vehicle speed membership level; The target impact degree information is fuzzy processed based on a preset second membership function to obtain the target impact degree membership level and the membership degree corresponding to the target impact degree membership level.
3. The method according to claim 1, characterized in that The fuzzy controller is used to perform fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity to obtain the target touch recognition result fuzzy quantity, which includes: Based on the fuzzy rules in the fuzzy controller, determining the target touch recognition result membership level corresponding to the target vehicle speed fuzzy amount and the target impact degree fuzzy amount and the membership degree corresponding to the target touch recognition result membership level; The target touch recognition result membership level and the membership degree corresponding to the target touch recognition result membership level are used as the target touch recognition result fuzziness amount.
4. The method according to claim 3, characterized in that The method further comprises: Acquire a preset vehicle speed fuzzy subset, a preset impact degree fuzzy subset, and a preset touch recognition result fuzzy subset, wherein the vehicle speed fuzzy subset includes a plurality of vehicle speed membership levels, the impact degree fuzzy subset includes a plurality of impact degree membership levels, and the touch recognition result fuzzy subset includes a plurality of touch recognition result membership levels; Taking the multiple vehicle speed membership levels and the multiple impact degree membership levels as input variables of the fuzzy controller, taking the multiple touch recognition result membership levels as output variables of the fuzzy controller, and determining the fuzzy relationship between the input variables and the output variables; Based on the fuzzy relationship, the fuzzy rule is generated.
5. The method according to claim 3, characterized in that: The defuzzification process is performed on the fuzzy amount of the target contact recognition result to obtain the obstacle contact recognition result of the wheel of the target vehicle, including: The target touch recognition result membership level and the membership degree corresponding to the target touch recognition result membership level are defuzzified based on the centroid method to obtain the obstacle touch recognition result.
6. The method according to any one of claims 1 to 5, characterized in that: The performing Kalman filtering on the vehicle speed information based on the acceleration information and the wheel speed information to obtain the target vehicle speed information of the target vehicle includes: Determining a state vector of a Kalman filter according to the vehicle speed information and the acceleration information; Determining an observation vector of the Kalman filter according to the wheel speed information and preset wheel radius information; Based on the state vector and the observation vector, construct a state equation and an observation equation of the Kalman filter respectively; Iterative optimization is performed based on the state equation and the observation equation to obtain the target vehicle speed information.
7. The method according to any one of claims 1 to 5, characterized in that: The obtaining of target impact degree information of the target vehicle comprises: The target vehicle speed information is subjected to a second-order derivative calculation to obtain the target impact degree information.
8. The method according to any one of claims 1 to 5, characterized in that: After defuzzifying the fuzzy amount of the target contact recognition result to obtain the obstacle contact recognition result of the wheel of the target vehicle, the method further includes: When the contact recognition result is that the wheel of the target vehicle contacts an obstacle, the target vehicle is controlled to brake and stop.
9. An obstacle contact recognition device, characterized in that: The device comprises: A vehicle speed information collection module, used to collect the vehicle speed information of the target vehicle when the target vehicle is in the automatic parking mode; An information acquisition module, used to acquire acceleration information and wheel speed information of the target vehicle; A Kalman filter processing module, configured to perform Kalman filter processing on the vehicle speed information based on the acceleration information and the wheel speed information to obtain target vehicle speed information of the target vehicle; A target impact degree information acquisition module is used to acquire target impact degree information of the target vehicle, wherein the target impact degree information represents the strength of the impact force received by the wheels of the target vehicle transmitted to the vehicle body; A fuzzy processing module, used for performing fuzzy processing on the target vehicle speed information and the target impact degree information to obtain a target vehicle speed fuzzy value and a target impact degree fuzzy value; A fuzzy reasoning module, used for performing fuzzy reasoning on the target vehicle speed fuzzy quantity and the target impact degree fuzzy quantity based on a fuzzy controller to obtain a target touch recognition result fuzzy quantity; The defuzzification processing module is used to perform defuzzification processing on the fuzziness of the target contact recognition result to obtain the obstacle contact recognition result of the wheel of the target vehicle.
10. An obstacle contact recognition device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the obstacle contact recognition method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the obstacle contact recognition method according to any one of claims 1 to 8.
