Obstacle distance measuring method, electric vehicle door control method, device and system

Through multi-sensor data fusion, evaluation and fusion calculation, the accuracy of the distance detection between obstacles and the vehicle body in the electric door control system is improved, the problem of the limited detection range of a single sensor is solved, and the safety of the electric door is enhanced.

CN118601440APending Publication Date: 2024-09-06CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410862282.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing electric door control method relies on a single sensor, which results in insufficient accuracy in detecting the distance between the obstacle and the vehicle body, which may cause the electric door to collide with the obstacle.

Method used

Use at least two different types of sensors (such as cameras, ultrasonic radar and millimeter wave radar) to detect the distance between obstacles and the vehicle body, and evaluate the reliability of each sensor based on environmental parameters, historical performance of the sensor and data consistency, The final separation distance is obtained by fusion calculation.

Benefits of technology

It improves the distance detection accuracy between obstacles and the vehicle body, reduces the risk of collision between electric doors and obstacles, and enhances the safety of electric door opening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118601440A
    Figure CN118601440A
Patent Text Reader

Abstract

The invention relates to the technical field of new energy vehicles, in particular to an obstacle distance measuring method and an electric vehicle door control method, device and system. The distance measuring method comprises the following steps: detecting the distance between a target obstacle in a preset range of a vehicle and a vehicle body through at least two different types of sensors to obtain at least two corresponding real-time spacing distances; based on the current environment parameters, the historical performance of each type of sensor and the data consistency of each type of sensor and other types of sensors, evaluating the reliability of each type of sensor to obtain a reliability score set; according to the reliability score set of each type of sensor, a fusion weight is distributed for the corresponding real-time spacing distance; and performing fusion calculation based on the at least two real-time spacing distances and the fusion weight to obtain a final spacing distance between the target obstacle and the vehicle body. By adopting the method, the detection accuracy of the distance between the obstacle and the vehicle body can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of new energy vehicle technology, and in particular to an obstacle ranging method, an electric door control method, a device and a system. Background Art

[0002] As users' demands for the convenience of new energy vehicles become higher and higher, electric doors have emerged. However, while electric doors improve convenience, they also bring safety risks due to their automaticity. For example, when there is an obstacle near the vehicle and the distance between the obstacle and the vehicle body is close, the electric door will collide with the obstacle after it is fully opened.

[0003] At present, the existing electric door control method detects obstacles near the vehicle and the distance between the obstacle and the vehicle body, calculates the optimal door opening angle at which the vehicle will not collide with the obstacle, and then controls the electric door according to the optimal door opening angle.

[0004] However, existing obstacle detection methods mainly rely on a single sensor equipped on the electric door itself, such as a millimeter wave sensor. Since the detection range of a single sensor is limited, it is difficult to cover all obstacles near the vehicle, such as low or suspended obstacles, making the distance detection between the obstacle and the vehicle body inaccurate, which may cause the electric door to collide with the obstacle after opening. Summary of the invention

[0005] Based on this, an obstacle distance measurement method, an electric door control method, a device and a system are provided to improve the accuracy of distance detection between an obstacle and a vehicle body.

[0006] In a first aspect, a method for measuring obstacle distance is provided, the method comprising:

[0007] Detecting the distance between a target obstacle and a vehicle body within a preset range of the vehicle by at least two different types of sensors, and obtaining corresponding at least two real-time interval distances;

[0008] Respectively evaluating the reliability of each type of sensor based on current environmental parameters, historical performance of each type of sensor in the at least two different types, and data consistency between each type of sensor and other types of sensors in the at least two different types, to obtain a corresponding reliability score set;

[0009] According to the reliability score set of each type of sensor, a fusion weight is assigned to the real-time interval distance detected by each type of sensor;

[0010] A fusion calculation is performed based on the at least two real-time interval distances and the fusion weights corresponding to the at least two real-time interval distances to obtain a final interval distance between the target obstacle and the vehicle body.

[0011] In combination with the first aspect, in a first implementable embodiment of the first aspect, the reliability of each type of sensor is evaluated based on the current environmental parameters, the historical performance of each type of sensor of the at least two different types, and the data consistency of each type of sensor with other types of sensors of the at least two different types, to obtain a corresponding reliability score set, including:

[0012] Acquire at least one of current light intensity, current temperature and current humidity as the current environmental parameter, and evaluate the reliability of each type of sensor of the at least two different types according to a match between the current environmental parameter and a preset environmental adaptability parameter, to obtain an environmental adaptability score of each type of sensor;

[0013] Wherein, the environmental adaptation parameter includes at least one of a light intensity adaptation range, a temperature adaptation range and a humidity adaptation range;

[0014] Acquire a historical detection accuracy rate of each type of sensor of the at least two different types as the historical performance of each type of sensor, and evaluate the reliability of each type of sensor according to the historical detection accuracy rate of each type of sensor to obtain a historical performance score of each type of sensor;

[0015] Determine data consistency between each type of sensor of the at least two different types and the other types of sensors of the at least two different types according to a difference in real-time interval distances detected between the sensors of each type and the other types of sensors, and evaluate the reliability of each type of sensor according to a match between the data consistency between the sensors of each type and the other types of sensors and a preset data threshold, to obtain a data consistency score for each type of sensor;

[0016] The reliability score set of each type of sensor includes an environmental adaptability score, a historical performance score, and a data consistency score of each type of sensor.

[0017] In combination with the first possible implementation mode of the first aspect, in a second possible implementation mode of the first aspect, the reliability of each type of sensor of the at least two different types is evaluated according to a matching condition between the current environmental parameter and the preset environmental adaptation parameter to obtain an environmental adaptability score of each type of sensor, including:

[0018] If any one type of sensor among the at least two different types is a light intensity sensitive type and not a temperature and humidity sensitive type, searching for an environmental adaptability score of the sensor of any one type corresponding to the current light intensity in a preset first mapping relationship;

[0019] Wherein, in the first mapping relationship, when the current light intensity is within a preset light intensity adaptation range, the environmental adaptability score of any one type of sensor is a preset first score threshold; when the current light intensity is lower than or higher than the light intensity adaptation range, the environmental adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current light intensity;

[0020] If any one type of sensor among the at least two different types does not belong to the light intensity sensitive type and the temperature and humidity sensitive type, using a preset second score threshold as an environmental adaptability score of the any one type of sensor;

[0021] If any one type of sensor among the at least two different types is not a light intensity sensitive type but a temperature and humidity sensitive type, a temperature adaptability score of the sensor of the any type corresponding to the current temperature is found in a preset second mapping relationship, a humidity adaptability score of the sensor of the any type corresponding to the current humidity is found in a preset third mapping relationship, and a weighted sum calculation is performed on the temperature adaptability score and the humidity adaptability score of the sensor of the any type to obtain the environmental adaptability score;

[0022] Wherein, in the second mapping relationship, when the current temperature is within a preset temperature adaptation range, the temperature adaptability score of the sensor of any type is a preset third score threshold; when the current temperature is lower than or higher than the temperature adaptation range, the temperature adaptability score of the sensor of any type is linearly proportional or inversely proportional to the current temperature;

[0023] In the third mapping relationship, when the current humidity is within a preset humidity adaptation range, the humidity adaptability score of any one type of sensor is a preset fourth score threshold; when the current humidity is lower or higher than the humidity adaptation range, the humidity adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current humidity.

[0024] In combination with the first possible implementation mode of the first aspect, in a third possible implementation mode of the first aspect, the reliability of each type of sensor is evaluated according to the historical detection accuracy of each type of sensor to obtain the historical performance score of each type of sensor, including:

[0025] If any one type of sensor among the at least two different types is not a temperature and humidity sensitive type, searching in a preset fourth mapping relationship for a historical performance score corresponding to a historical detection accuracy rate of the sensor of the any one type;

[0026] Wherein, in the fourth mapping relationship, the historical performance score of any type of sensor is proportional to the historical detection accuracy;

[0027] If any one type of sensor among the at least two different types is a temperature and humidity sensitive type, obtain the historical detection accuracy and detection frequency of the sensor of any one type in different environments, add the product of the historical detection accuracy and detection frequency of the sensor of any one type in different environments, and obtain the historical performance score of the sensor of any one type.

[0028] In combination with the first implementable embodiment of the first aspect, in a fourth implementable embodiment of the first aspect, the reliability of each type of sensor is evaluated according to the matching of the data consistency of each type of sensor with the other types of sensors and a preset data threshold to obtain a data consistency score of each type of sensor, including:

[0029] The data consistency between each type of sensor of the at least two different types and other types of sensors of the at least two different types includes the Euclidean distance between the real-time interval distances detected by each type of sensor and the other types of sensors, and the data threshold includes a preset distance threshold;

[0030] Determine whether the Euclidean distances between the real-time interval distances detected by each type of sensor and the other types of sensors are all less than or equal to the distance threshold;

[0031] If so, using a preset fifth score threshold as a data consistency score for each type of sensor;

[0032] If not, the distance threshold is divided by the Euclidean distance between the real-time interval distance detected by each type of sensor and the other types of sensors, and then multiplied to obtain the data consistency score of each type of sensor.

[0033] In combination with the first implementable embodiment of the first aspect, in a fifth implementable embodiment of the first aspect, according to the reliability score set of each type of sensor, a fusion weight is assigned to the real-time interval distance detected by each type of sensor, and the mathematical expression used includes:

[0034]

[0035] Wherein, i and j represent the index of each type of sensor, n represents the total number of types of sensors, and w i It represents the fusion weight assigned to the real-time interval distance collected by the i-th type of sensor, E i , P i and C i They represent the environmental adaptability score, historical performance score, and data consistency score of the i-th type of sensor, respectively. j , P j and C j They represent the environmental adaptability score, historical performance score, and data consistency score of the j-th type of sensor respectively.

[0036] In a second aspect, a method for controlling an electric door is provided, the method comprising:

[0037] Upon receiving the door opening command, obtaining a final spacing distance between the target obstacle and the vehicle body according to the steps of the obstacle ranging method described in any one of the first to fifth possible implementation modes of the first aspect or in combination with the first aspect;

[0038] Calculating, according to the final interval distance and a preset length of the electric door, a maximum door opening angle at which the electric door just contacts the target obstacle after being opened;

[0039] Subtracting a preset reserved angle from the maximum door opening angle to obtain an optimal door opening angle at which the electric door does not come into contact with the target obstacle after being opened;

[0040] The electric door is controlled to open according to the optimal door opening angle.

[0041] In combination with the second aspect, in a first possible implementation manner of the second aspect, before the step of controlling the electric door to open according to the optimal door opening angle, the method further includes:

[0042] Obtaining a preset shortest door opening distance, wherein the shortest door opening distance is a straight-line distance between the movable end of the electric door and the vehicle body and supports an adult of average height and weight to get out of the vehicle sideways;

[0043] Calculating a minimum door opening angle according to the shortest door opening distance and the length of the electric door;

[0044] Determining whether the optimal door opening angle is greater than or equal to the minimum door opening angle;

[0045] If yes, controlling the electric door to open according to the optimal door opening angle;

[0046] If not, the vehicle occupants will be reminded through the in-vehicle display screen or voice that the opening of the electric door is restricted.

[0047] In a third aspect, an obstacle ranging device is provided, the device comprising:

[0048] A sensor module, comprising at least two different types of sensors, wherein the at least two different types of sensors are used to detect the distance between a target obstacle and a vehicle body within a preset range of the vehicle, and obtain corresponding at least two real-time interval distances;

[0049] a reliability evaluation module, configured to evaluate the reliability of each type of sensor based on current environmental parameters, historical performance of each type of sensor in the at least two different types, and data consistency between each type of sensor and other types of sensors in the at least two different types, to obtain a corresponding reliability score set;

[0050] A weight assignment module, configured to assign a fusion weight to the real-time interval distance detected by each type of sensor according to the reliability score set of each type of sensor;

[0051] The fusion calculation module is used to perform fusion calculation based on the at least two real-time interval distances and the fusion weights corresponding to the at least two real-time interval distances to obtain a final interval distance between the target obstacle and the vehicle body.

[0052] In a fourth aspect, an electric door control system is provided, the system comprising:

[0053] The obstacle distance measuring device as described in the second aspect or in the first possible implementation mode in combination with the second aspect is used to obtain the final spacing distance between the target obstacle and the vehicle body when receiving the door opening command;

[0054] A maximum angle calculation module, used to calculate the maximum door opening angle at which the electric door just contacts the target obstacle after being opened, according to the final interval distance and a preset electric door length;

[0055] An optimal angle calculation module, used for subtracting a preset reserved angle from the maximum door opening angle to obtain an optimal door opening angle at which the electric door does not come into contact with the target obstacle after being opened;

[0056] The electric door control module is used to control the opening of the electric door according to the optimal door opening angle.

[0057] The above obstacle distance measurement method, electric door control method, device and system detect the distance between the target obstacle and the vehicle body within the preset range of the vehicle through at least two different types of sensors, and obtain at least two corresponding real-time interval distances; evaluate the reliability of each type of sensor based on the current environmental parameters, the historical performance of each type of sensor in at least two different types, and the data consistency of each type of sensor with other types of sensors in at least two different types, and obtain a reliability score set of each type of sensor; assign a fusion weight to the real-time interval distance detected by each type of sensor according to the reliability score set of each type of sensor; perform fusion calculation based on at least two real-time interval distances and the fusion weights corresponding to at least two real-time interval distances, and obtain the final interval distance between the target obstacle and the vehicle body. It can be seen that, on the one hand, the present application uses two different types of sensors to detect the distance between the obstacle and the vehicle body; on the other hand, the present application evaluates the reliability of each sensor from three dimensions, namely, the current environmental parameters, the historical performance of each type of sensor, and the data consistency of each type of sensor with other types of sensors, and then adaptively assigns a fusion weight to each real-time interval distance according to the reliability evaluation result of each sensor. Therefore, compared with the prior art, the present application improves the phenomenon of limited detection range of a single sensor by means of multi-sensor data fusion, and adaptively allocates fusion weights through sensor evaluation results, thereby improving the distance detection accuracy between obstacles and vehicle bodies. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 Schematic diagram of a flow chart of an obstacle ranging method in one embodiment;

[0059] Figure 2 A schematic diagram of a flow chart of an electric door control method in one embodiment;

[0060] Figure 3 An application scenario diagram of an electric door control method in an embodiment;

[0061] Figure 4 is a structural block diagram of an obstacle ranging device in one embodiment;

[0062] Figure 5 is a structural block diagram of a reliability assessment module in one embodiment;

[0063] Figure 6 FIG. 4 is a structural block diagram of an electric door control system in one embodiment. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0065] It should be noted that the illustrations provided in this embodiment only illustrate the basic concept of the present application in a schematic manner, and therefore the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0066] The structures, proportions, sizes, etc. illustrated in the drawings in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which this application can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by this application, should still fall within the scope of the technical contents disclosed in this application.

[0067] The directions or positional relationships indicated by the terms "upper", "lower", "left", "right", "middle", "longitudinal", "lateral", "horizontal", "inner", "outer", "radial", "circumferential" and the like in this specification are based on the directions or positional relationships shown in the drawings and are only for the convenience of simplifying the description. They do not indicate or imply that the devices or elements referred to must have a specific direction, be constructed and operate in a specific direction, and therefore cannot be understood as limiting the present application. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0068] At present, obstacles and the distance between obstacles and the vehicle body are mainly detected through a single sensor. This method has the problem of limited detection range, resulting in inaccurate detection results. To this end, the present application detects the real-time interval distance between the target obstacle and the vehicle body through at least two different types of sensors; evaluates the reliability of each sensor from three dimensions, including current environmental parameters, historical performance of each type of sensor, and data consistency of each type of sensor with other types of sensors; determines the fusion weight assigned to each real-time detection distance based on the reliability evaluation result of each sensor; and fuses and calculates each real-time detection distance through each fusion weight to obtain the final detection distance between the target obstacle and the vehicle body. The present application improves the phenomenon of limited detection range of a single sensor by means of multi-sensor data fusion, and adaptively allocates fusion weights through sensor evaluation results, thereby improving the distance detection accuracy between the obstacle and the vehicle body.

[0069] Next, the obstacle ranging method, electric door control method, device and system of the present application will be described in detail through the following embodiments.

[0070] In one embodiment, Figure 1 As shown, an obstacle ranging method is provided, comprising the following steps:

[0071] Step 202: Detect the distance between a target obstacle and the vehicle body within a preset range of the vehicle by using at least two different types of sensors to obtain at least two corresponding real-time interval distances.

[0072] At present, the Advanced Driver Assistance System (ADAS) can provide assistance and supplement to the driver in complex traffic environments and vehicle control processes. When an accident occurs, it can make the most accurate response in a short time, which can effectively reduce the accident rate. It can be seen that the intelligent driving assistance system is one of the important technologies for active safety of modern automobiles, and mainstream automobile manufacturers have also introduced intelligent driving assistance systems.

[0073] Therefore, in a specific implementation, the present application utilizes the perception module adopted by the intelligent driving assistance system to detect the real-time interval distance without adding additional costs, wherein the perception module generally includes a camera, an ultrasonic radar, a millimeter-wave radar, and a lidar, etc.

[0074] For example, the at least two different types of sensors in the present application are cameras, ultrasonic radars, and millimeter-wave radars, and the following content will also use this as an example to illustrate the steps of the obstacle distance measurement method and the electric door control method. In this example, the real-time interval distance between the target obstacle and the vehicle body is detected by the camera, ultrasonic radar, and millimeter-wave radar, respectively, and the real-time interval distance detected by the camera, ultrasonic radar, and millimeter-wave radar is recorded as: D v , D u , D m .

[0075] Among them, the target obstacle is an obstacle within a preset range of the vehicle, and the preset range is determined based on the straight-line distance from the active end of the electric door to the vehicle body after the electric door is fully opened. For example, if the straight-line distance from the active end of the electric door to the vehicle body is 1 meter after the electric door is fully opened, then the preset range is the range of 1 meter away from the vehicle body; for another example, in order to improve the safety of door opening, the preset range is set to a range slightly greater than 1 meter away from the vehicle body, such as 1.2 meters.

[0076] Step 204, evaluating the reliability of each type of sensor based on the current environmental parameters, the historical performance of each type of sensor in the at least two different types, and the data consistency between each type of sensor and other types of sensors in the at least two different types, to obtain a corresponding reliability score set.

[0077] In a specific implementation, step 204 includes:

[0078] Acquire at least one of current light intensity, current temperature and current humidity as the current environmental parameter, and evaluate the reliability of each type of sensor of the at least two different types according to a match between the current environmental parameter and a preset environmental adaptability parameter, to obtain an environmental adaptability score of each type of sensor;

[0079] Wherein, the environmental adaptation parameter includes at least one of a light intensity adaptation range, a temperature adaptation range and a humidity adaptation range;

[0080] Acquire a historical detection accuracy rate of each type of sensor of the at least two different types as the historical performance of each type of sensor, and evaluate the reliability of each type of sensor according to the historical detection accuracy rate of each type of sensor to obtain a historical performance score of each type of sensor;

[0081] Determine data consistency between each type of sensor of the at least two different types and the other types of sensors of the at least two different types according to a difference in real-time interval distances detected between the sensors of each type and the other types of sensors, and evaluate the reliability of each type of sensor according to a match between the data consistency between the sensors of each type and the other types of sensors and a preset data threshold, to obtain a data consistency score for each type of sensor;

[0082] The reliability score set of each type of sensor includes an environmental adaptability score, a historical performance score, and a data consistency score of each type of sensor.

[0083] For example, the reliability of the camera, ultrasonic radar and millimeter-wave radar is evaluated according to the above steps to obtain the reliability score sets corresponding to the camera, ultrasonic radar and millimeter-wave radar, and the reliability score sets corresponding to the camera, ultrasonic radar and millimeter-wave radar include: the environmental adaptability score E obtained from the current environmental parameter dimension evaluation i , the historical performance score P obtained from the historical performance dimension evaluation iAnd the data consistency score C obtained from the data consistency dimension evaluation with other sensors i , i is one of v, u and m, and v, u and m represent camera, ultrasonic radar and millimeter wave radar respectively.

[0084] Specifically, according to the matching of the current environmental parameters and the preset environmental adaptation parameters, the reliability of each type of sensor of the at least two different types is evaluated to obtain the environmental adaptability score of each type of sensor, including:

[0085] If any one type of sensor among the at least two different types is a light intensity sensitive type and not a temperature and humidity sensitive type, searching for an environmental adaptability score of the sensor of any one type corresponding to the current light intensity in a preset first mapping relationship;

[0086] Wherein, in the first mapping relationship, when the current light intensity is within a preset light intensity adaptation range, the environmental adaptability score of any one type of sensor is a preset first score threshold; when the current light intensity is lower than or higher than the light intensity adaptation range, the environmental adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current light intensity;

[0087] If any one type of sensor among the at least two different types does not belong to the light intensity sensitive type and the temperature and humidity sensitive type, using a preset second score threshold as an environmental adaptability score of the any one type of sensor;

[0088] If any one type of sensor among the at least two different types is not a light intensity sensitive type but a temperature and humidity sensitive type, a temperature adaptability score of the sensor of the any type corresponding to the current temperature is found in a preset second mapping relationship, a humidity adaptability score of the sensor of the any type corresponding to the current humidity is found in a preset third mapping relationship, and a weighted sum calculation is performed on the temperature adaptability score and the humidity adaptability score of the sensor of the any type to obtain the environmental adaptability score;

[0089] Wherein, in the second mapping relationship, when the current temperature is within a preset temperature adaptation range, the temperature adaptability score of the sensor of any type is a preset third score threshold; when the current temperature is lower or higher than the temperature adaptation range, the temperature adaptability score of the sensor of any type is linearly proportional or inversely proportional to the current temperature;

[0090] In the third mapping relationship, when the current humidity is within a preset humidity adaptation range, the humidity adaptability score of any one type of sensor is a preset fourth score threshold; when the current humidity is lower or higher than the humidity adaptation range, the humidity adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current humidity.

[0091] At least two different types of sensors are used according to the above steps to obtain corresponding environmental adaptability scores. It should be noted that the above light intensity sensitive type means that the detection results and detection accuracy of the sensor are greatly affected by the light intensity, and the temperature and humidity sensitive type means that the detection results and detection accuracy of the sensor are greatly affected by the temperature and humidity.

[0092] For example, since the detection result of the camera is mainly affected by the light intensity, the first mapping relationship is determined by calibrating the distance between the target obstacle and the vehicle body detected by the camera under different light intensities and the actual distance between the target obstacle and the vehicle body. For example, the first mapping relationship is expressed as:

[0093]

[0094] In the first mapping relationship, E v Indicates the environmental adaptability score of the camera, E indicates the current light intensity; the light intensity adaptation range of the camera is [300, 800] Lux, the first score threshold is 1 point, if the current light intensity is within the range of [300, 800] Lux, the environmental adaptability score of the camera is 1 point; if the current light intensity is not within the range of [300, 800] Lux, the environmental adaptability score of the camera decreases linearly.

[0095] Since the detection result of the millimeter-wave radar is less affected by the environment, the environmental adaptability score of the millimeter-wave radar is set to a preset second score threshold, such as 0.95 points, which is recorded as Em=0.95.

[0096] Since the detection results of the ultrasonic radar are greatly affected by temperature and humidity, the second mapping relationship is determined by calibrating the distance between the target obstacle and the vehicle body detected by the ultrasonic radar in different temperature environments and the actual distance between the target obstacle and the vehicle body; the third mapping relationship is determined by calibrating the distance between the target obstacle and the vehicle body detected by the ultrasonic radar in different humidity environments and the actual distance between the target obstacle and the vehicle body.

[0097] For example, the second mapping relationship is expressed as:

[0098]

[0099] In the second mapping relationship, T u Indicates the temperature adaptability score of the ultrasonic radar, T represents the current temperature; the temperature adaptability range of the ultrasonic radar is [15, 25]℃, and the third score threshold is 1 point; if the current temperature is within the range of [15, 25]℃, the temperature adaptability score of the ultrasonic radar is 1 point; if the current temperature is not within the range of [15, 25]℃, the temperature adaptability score of the ultrasonic radar decreases linearly.

[0100] The third mapping relationship is expressed as:

[0101]

[0102] In the third mapping relationship, H u Indicates the humidity adaptability score of the ultrasonic radar, H represents the current humidity; the humidity adaptability range of the ultrasonic radar is [30%, 70%], and the fourth score threshold is 1 point; if the current humidity is within the range of [30%, 70%], the humidity adaptability score of the ultrasonic radar is 1 point; if the current humidity is not within the range of [30%, 70%], the humidity adaptability score of the ultrasonic radar decreases linearly.

[0103] After calculating the temperature adaptability score and humidity adaptability score of the ultrasonic radar, weights are assigned according to the degree to which the ultrasonic radar is affected by temperature and humidity, respectively, and the weights are inversely proportional to the degree of influence; the temperature adaptability score and the humidity adaptability score are weighted and summed by the assigned weights to obtain the environmental adaptability score of the ultrasonic radar, which is recorded as E u .

[0104] More specifically, the reliability of each type of sensor is evaluated according to the historical detection accuracy of each type of sensor to obtain the historical performance score of each type of sensor, including:

[0105] If any one type of sensor among the at least two different types is not a temperature and humidity sensitive type, searching in a preset fourth mapping relationship for a historical performance score corresponding to a historical detection accuracy rate of the sensor of the any one type;

[0106] Wherein, in the fourth mapping relationship, the historical performance score of any type of sensor is proportional to the historical detection accuracy;

[0107] If any one type of sensor among the at least two different types is a temperature and humidity sensitive type, obtain the historical detection accuracy and detection frequency of the sensor of any one type in different environments, add the product of the historical detection accuracy and detection frequency of the sensor of any one type in different environments, and obtain the historical performance score of the sensor of any one type.

[0108] It should be noted that before executing the method of the present application, for each type of sensor, it is necessary to detect the distance between the target obstacle and the vehicle body through the sensor under different environments, and measure the actual distance between the target obstacle and the vehicle body, and repeat this step N times to obtain the distance detected by N sensors and the actual distance; set an error range, when the difference between the distance detected by the sensor and the actual distance is within the error range, the detected distance is considered to be correctly detected, the number of historical correct detections is increased by 1, and this step is repeated to count the number of historical correct detections; the total number of historical detections is N times, and the historical detection accuracy can be obtained by dividing the number of historical correct detections by the total number of historical detections.

[0109] For example, in the fourth mapping relationship, the historical performance score is equal to the historical detection accuracy. For example, if the historical detection accuracy of the camera is 88%, the historical performance score of the camera is 0.88 points, which is recorded as P v =0.88; For another example, the stability of the millimeter wave radar is relatively high for a long time. If its historical detection accuracy is 92%, the historical performance score of the millimeter wave radar is 0.92, recorded as P m =0.92.

[0110] Ultrasonic radars perform poorly in high temperature, low temperature, and high humidity environments. The historical detection accuracy and detection frequency of ultrasonic radars in the same environment are statistically analyzed. The detection frequency is the ratio of the number of ultrasonic radar detections in a certain environment to the total number of historical detections. The historical detection accuracy and detection frequency of ultrasonic radars in different environments are comprehensively scored to obtain the historical performance score of ultrasonic radars. The mathematical expressions used include: P u represents the historical performance score of the ultrasonic radar, m represents the index of the detection environment, M represents the total number of detection environments, and W m Indicates the detection frequency, A m Indicates the historical detection accuracy.

[0111] More specifically, according to the matching of the data consistency of each type of sensor with the other types of sensors and the preset data threshold, the reliability of each type of sensor is evaluated to obtain the data consistency score of each type of sensor, including:

[0112] The data consistency between each type of sensor of the at least two different types and other types of sensors of the at least two different types includes the Euclidean distance between the real-time interval distances detected by each type of sensor and the other types of sensors, and the data threshold includes a preset distance threshold;

[0113] Determine whether the Euclidean distances between the real-time interval distances detected by each type of sensor and the other types of sensors are all less than or equal to the distance threshold;

[0114] If so, the preset fifth score threshold is used as the data consistency score of each type of sensor; if not, the distance threshold is divided by the Euclidean distance between the real-time interval distance detected by each type of sensor and the other types of sensors, and then multiplied to obtain the data consistency score of each type of sensor.

[0115] For example, the Euclidean distance between the real-time interval distance detected by the camera and the real-time interval distance detected by the ultrasonic radar is calculated to obtain the data consistency between the camera and the ultrasonic radar. The mathematical expression used to calculate the Euclidean distance is: By calculating the Euclidean distance between the real-time interval distance detected by the camera and the real-time interval distance detected by the millimeter-wave radar, the data consistency between the camera and the millimeter-wave radar is obtained. The mathematical expression used to calculate the Euclidean distance is: By calculating the Euclidean distance between the real-time interval distance detected by the ultrasonic radar and the real-time interval distance detected by the millimeter-wave radar, the data consistency between the ultrasonic radar and the millimeter-wave radar is obtained. The mathematical expression used to calculate the Euclidean distance is:

[0116] The smaller the Euclidean distance is, the higher the data consistency between the two sensors is. Therefore, a distance threshold can be set. If the Euclidean distance between the real-time interval distance detected by a certain type of sensor and other types of sensors is less than or equal to the distance threshold, the data consistency score of the sensor is high, and the preset fifth score threshold is used as the data consistency score of the sensor. For example, the fifth score threshold is 1 point. If the Euclidean distance between the real-time interval distance detected by a certain type of sensor and other types of sensors is not less than or equal to the distance threshold, the data consistency score of the sensor of this type is reduced proportionally.

[0117] As an example, the relationship between the camera data consistency score and the Euclidean distance is expressed as:

[0118]

[0119] The relationship between the ultrasonic radar data consistency score and the Euclidean distance is expressed as:

[0120]

[0121] The relationship between the data consistency score of the millimeter-wave radar and the Euclidean distance is expressed as:

[0122]

[0123] Among them, C v , C u and C m Represent the data consistency scores of camera, ultrasonic radar and millimeter wave radar respectively, and Indicates the distance threshold.

[0124] The specific value of the above distance threshold is determined by the following steps: First, in different detection environments, the distance between the target obstacle and the vehicle body is detected by the camera, ultrasonic radar and millimeter wave radar respectively; the distances detected by different types of sensors in the same detection environment are taken as an interval distance data set, and the set of interval distance data sets in different detection environments is taken as an interval distance data set, then the interval distance data set can be expressed as: {(D v0 , D u0 , D m0 ), (D v1 , D u1 , D m1 ),…,(D v(n-1) , D u(n-1) , D m(n-1) ), (D vn , D un , D mn )}, 0, 1, ..., (n-1), where n represents the index of the detection environment;

[0125] Then, the Euclidean distance between each pair of sensors in each detection environment is calculated. The calculation method is similar to the above-mentioned related content and will not be repeated here. The Euclidean distance between the same sensor and other types of sensors in different detection environments is taken as a Euclidean distance dataset. The Euclidean distance dataset between the interval distances detected by the camera and the ultrasonic radar in different detection environments can be expressed as: {(d vuo , d vu1 , d vu2 ,......d vun )}, the Euclidean distance dataset between the distances detected by the camera and the millimeter-wave radar under different detection environments can be expressed as: {(d vmo , d vm1 , d vm2 ,......d vmn )}, the Euclidean distance dataset between the interval distances detected by ultrasonic radar and millimeter wave radar under different detection environments can be expressed as: {(d umo , d um1 , d um2 ,......d umn )};

[0126] Finally, since sensors may be affected by various environmental factors in actual applications, selecting a higher quantile, such as 90%, can ensure the reliability and robustness of the system in most scenarios; 90% of the data points being covered means that the system can work normally in most scenarios, so the minimum value of 90% of the data points in the Euclidean distance dataset is selected as the calibration value, and the calibration value is adjusted and optimized according to the actual application scenario and detection data to obtain the distance threshold; in this way, the Euclidean distance between each type of sensor and the real-time interval distance detected by other types of sensors corresponds to a distance threshold, that is: the distance threshold corresponding to the Euclidean distance between the interval distance detected by the camera and the ultrasonic sensor Distance threshold corresponding to the Euclidean distance between the distance detected by the camera and the mmWave sensor Distance threshold corresponding to the Euclidean distance between the interval distances detected by the ultrasonic sensor and the millimeter wave sensor

[0127] In other embodiments, the distance threshold corresponding to the Euclidean distance between the real-time interval distance detected by each type of sensor and other types of sensors may be the same value; judging each type of sensor and other types of sensors may also be achieved through the following steps: by comparing the numerical values ​​of the real-time interval distance between the same target obstacle and the vehicle body detected by each type of sensor and other types of sensors, to determine the data consistency of each type of sensor with other types of sensors; if the difference between the real-time interval distance detected by a certain type of sensor and other types of sensors is larger, the data consistency of this type of sensor is worse; conversely, if the difference between the real-time interval distance detected by a certain type of sensor and other types of sensors is smaller, the data consistency of this type of sensor is better.

[0128] Step 206 : assigning a fusion weight to the real-time interval distance detected by each type of sensor according to the reliability score set of each type of sensor.

[0129] Through step 204, the reliability score set of each type of sensor includes an environmental adaptability score evaluated from the current environmental parameter dimension, a historical performance score evaluated from the historical performance dimension, and a data consistency score evaluated from the data consistency dimension.

[0130] In a specific implementation, the mathematical expression used to calculate the fusion weight of each real-time interval distance includes: Wherein, i and j represent the index of each type of sensor, n represents the total number of types of sensors, and w iIt represents the fusion weight assigned to the real-time interval distance collected by the i-th type of sensor, E i , P i and C i They represent the environmental adaptability score, historical performance score, and data consistency score of the i-th type of sensor, respectively. j , P j and C j They represent the environmental adaptability score, historical performance score, and data consistency score of the j-th type of sensor respectively.

[0131] Exemplary description, through the above step 204, the reliability score set of the camera is {E v , P v , C v}, the reliability score set of ultrasonic radar is {E u , P u , C u}, the reliability score set of millimeter wave radar is {Em, P m , C m}, then the real-time interval distance D detected by the camera is assigned v The fusion weight is Assigned to the real-time separation distance D detected by the ultrasonic radar u The fusion weight is Assigned to the real-time separation distance D detected by the millimeter wave radar m The fusion weight is

[0132] Step 208 , performing fusion calculation based on the at least two real-time interval distances and fusion weights corresponding to the at least two real-time interval distances, to obtain a final interval distance between the target obstacle and the vehicle body.

[0133] The real-time interval distances detected by various types of sensors are weighted and fused using fusion weights to obtain the final interval distance between the target obstacle and the vehicle body. The mathematical expressions used include: f =w1*D1+W2*D2+...+w n-1 *D n-1 +w n *D n , D f Indicates the final spacing distance, D1, D2, ..., D n-1 , D n Respectively represent the real-time interval distances detected by various types of sensors, w1, w2, ..., w n-1 、w n They represent the fusion weights assigned to the real-time interval distances detected by various types of sensors.

[0134] For example, the real-time distances detected by the camera, ultrasonic radar and millimeter-wave radar are weighted averaged using the fusion weights to obtain the final distance between the target obstacle and the vehicle body. The mathematical expressions used include: f =w v *D v +w u *D u +W m *D m .

[0135] In other embodiments, at least two different types of sensors may be at least two of a camera, an ultrasonic radar, a millimeter-wave radar, and a lidar, and the corresponding steps of the obstacle ranging method are similar to the relevant contents of the above examples, and will not be repeated in this application.

[0136] In the above obstacle distance measurement method, two different types of sensors are used to detect the real-time interval distance between the obstacle and the vehicle body; the reliability of each type of sensor is evaluated from three dimensions, namely, the current environmental parameters, the historical performance of each type, and the data consistency of each type of sensor with other types of sensors, to obtain the corresponding reliability score set; according to the reliability score set of each type of sensor, a fusion weight is adaptively assigned to each real-time interval distance; and each real-time interval distance is weighted and calculated according to each fusion weight to obtain the final interval distance between the target obstacle and the vehicle body. Therefore, the present application improves the phenomenon of limited detection range of a single sensor by means of multi-sensor data fusion, and adaptively assigns fusion weights through sensor evaluation results, thereby improving the distance detection accuracy between the obstacle and the vehicle body.

[0137] In one embodiment, Figure 2 As shown, a method for controlling an electric door is provided, which is described by taking the application of the door to a vehicle controller as an example, and includes the following steps:

[0138] Step 402, when receiving the door opening command, obtaining the final spacing distance between the target obstacle and the vehicle body;

[0139] Step 404, calculating the maximum door opening angle at which the electric door just contacts the target obstacle after being opened, according to the final interval distance and the preset electric door length;

[0140] Step 406, subtracting a preset reserved angle from the maximum door opening angle to obtain an optimal door opening angle at which the electric door does not come into contact with the target obstacle after being opened;

[0141] Step 408: Control the electric door to open according to the optimal door opening angle.

[0142] It should be noted that in the above step 402, the door opening command is a command to open the specified electric door, which can be initiated by the driver or by a non-driver passenger. The cockpit is equipped with an open / close button for each electric door, and each passenger seat is also equipped with an open / close button for an adjacent electric door. After the driver and passenger press the button, an opening command for the electric door pointed to by the button is generated; the final interval distance between the target obstacle and the vehicle body is obtained through the steps of the obstacle ranging method described in the aforementioned embodiment. For the specific content of this method, please refer to the relevant content in the previous text and will not be repeated here.

[0143] In step 404, combining Figure 3 To illustrate, the mathematical expressions used to calculate the maximum door opening angle include: θ max =arcsin(D f / D r )*180° / π,θ max Indicates the maximum door opening angle, D f Indicates the final separation distance, D r Represents the length of the electric door; considering that the electric door will just come into contact with the target obstacle when opened at the maximum angle, in order to improve the safety of the door opening, it is necessary to reserve a certain angle, and the maximum door opening angle is subtracted from the preset reserved angle Δθ, for example Δθ=2°, to obtain the optimal door opening angle. When the electric door is opened at the optimal door opening angle, it will not come into contact with the target obstacle, thereby improving the safety of the electric door opening.

[0144] In a specific embodiment, before the step of controlling the opening of the electric door according to the optimal door opening angle, the method also includes: obtaining a preset minimum door opening distance, wherein the shortest door opening distance is the straight-line distance between the movable end of the electric door and the vehicle body and supports an adult of average height and weight to get off the vehicle sideways; calculating the minimum door opening angle based on the shortest door opening distance and the length of the electric door; determining whether the optimal door opening angle is greater than or equal to the minimum door opening angle; if so, controlling the opening of the electric door according to the optimal door opening angle; if not, reminding the occupants in the vehicle that the opening of the electric door is restricted through an in-vehicle display screen or voice.

[0145] When the target obstacle is close to the vehicle body, the calculated optimal door opening angle is small. If the electric door is opened according to the optimal door opening angle, the occupant may not be able to get off the vehicle normally. Therefore, in one embodiment, the actual vehicle is calibrated according to adults of normal height and weight to determine the shortest door opening distance required to support the occupant to get off the vehicle sideways. The minimum door opening angle corresponding to the shortest door opening distance is D p =arcsin(D x / Dr )*180° / π, where D p Indicates the minimum door opening angle, D x Indicates the shortest door opening distance; when the optimal door opening angle is greater than or equal to the minimum door opening angle, the passengers can get on and off the vehicle normally, and the electric door opening is controlled directly according to the optimal door opening angle; when the optimal door opening angle is less than the minimum door opening angle, the passengers may not be able to get on and off the vehicle normally, and the passengers in the vehicle will be reminded through the in-vehicle display or voice that the opening of the electric door is restricted; after receiving the reminder message, the passengers in the vehicle can check the environment outside the vehicle and manually adjust the electric door, or they can automatically control the opening of the electric door after the vehicle drives to a location where the electric door can be opened normally.

[0146] In other embodiments, whether the occupant can get off the vehicle normally is determined by directly comparing the numerical values ​​of the final interval distance and the shortest door opening distance; if the final interval distance is greater than or equal to the shortest door opening distance, it is determined that the occupant can get off the vehicle normally; if the final interval distance is less than the shortest door opening distance, it is determined that the occupant cannot get off the vehicle normally.

[0147] The above electric door control method obtains the final interval distance between the target obstacle and the vehicle body when receiving the door opening command; calculates the maximum opening angle of the electric door through the final interval distance and the length of the electric door; subtracts the reserved angle from the maximum opening angle to obtain the optimal opening angle of the electric door, thereby ensuring the safety of the electric door when opening. Since the final interval distance is obtained by integrating the real-time interval distance between the target obstacle and the vehicle body detected by multiple sensors, this method improves the accuracy of the distance measurement result between the obstacle and the vehicle body, and the accuracy of the optimal opening angle calculated based on the final interval distance is also improved accordingly, thereby improving the safety of the electric door opening.

[0148] It should be understood that although Figure 1-2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0149] In one embodiment, Figure 4As shown, an obstacle ranging device is provided, comprising: a sensor module, a reliability evaluation module, a weight distribution module and a fusion calculation module, wherein:

[0150] A sensor module, comprising at least two different types of sensors, wherein the at least two different types of sensors are used to detect the distance between a target obstacle and a vehicle body within a preset range of the vehicle, and obtain corresponding at least two real-time interval distances;

[0151] a reliability evaluation module, configured to evaluate the reliability of each type of sensor based on current environmental parameters, historical performance of each type of sensor in the at least two different types, and data consistency between each type of sensor and other types of sensors in the at least two different types, to obtain a corresponding reliability score set;

[0152] A weight assignment module, configured to assign a fusion weight to the real-time interval distance detected by each type of sensor according to the reliability score set of each type of sensor;

[0153] The fusion calculation module is used to perform fusion calculation based on the at least two real-time interval distances and the fusion weights corresponding to the at least two real-time interval distances to obtain a final interval distance between the target obstacle and the vehicle body.

[0154] Specifically, Figure 5 As shown, the reliability evaluation module includes an environmental adaptability evaluation unit, a performance evaluation unit and a data consistency evaluation unit, wherein:

[0155] an environmental adaptability evaluation unit, configured to obtain at least one of current light intensity, current temperature and current humidity as the current environmental parameter, and evaluate the reliability of each type of sensor of the at least two different types according to a matching condition between the current environmental parameter and a preset environmental adaptability parameter, so as to obtain an environmental adaptability score of each type of sensor;

[0156] Wherein, the environmental adaptation parameter includes at least one of a light intensity adaptation range, a temperature adaptation range and a humidity adaptation range;

[0157] a performance evaluation unit, configured to obtain a historical detection accuracy rate of each type of sensor of the at least two different types as a historical performance of each type of sensor, and evaluate the reliability of each type of sensor according to the historical detection accuracy rate of each type of sensor to obtain a historical performance score of each type of sensor;

[0158] a data consistency evaluation unit, configured to determine the data consistency between each type of sensor of the at least two different types and the other types of sensors of the at least two different types according to the difference in real-time interval distances detected between the sensors of each type of sensor and the other types of sensors, and to evaluate the reliability of each type of sensor according to the matching of the data consistency between the sensors of each type of sensor and the other types of sensors and a preset data threshold, so as to obtain a data consistency score for each type of sensor;

[0159] The reliability score set of each type of sensor includes an environmental adaptability score, a historical performance score, and a data consistency score of each type of sensor.

[0160] Specifically, the environmental adaptability evaluation unit is used to evaluate the reliability of each type of sensor of the at least two different types according to the matching of the current environmental parameters and the preset environmental adaptability parameters, and obtain the environmental adaptability score of each type of sensor, specifically including:

[0161] If any one type of sensor among the at least two different types is a light intensity sensitive type and not a temperature and humidity sensitive type, searching for an environmental adaptability score of the sensor of any one type corresponding to the current light intensity in a preset first mapping relationship;

[0162] Wherein, in the first mapping relationship, when the current light intensity is within a preset light intensity adaptation range, the environmental adaptability score of any one type of sensor is a preset first score threshold; when the current light intensity is lower than or higher than the light intensity adaptation range, the environmental adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current light intensity;

[0163] If any one type of sensor among the at least two different types does not belong to the light intensity sensitive type and the temperature and humidity sensitive type, using a preset second score threshold as an environmental adaptability score of the any one type of sensor;

[0164] If any one type of sensor among the at least two different types is not a light intensity sensitive type but a temperature and humidity sensitive type, a temperature adaptability score of the sensor of the any type corresponding to the current temperature is found in a preset second mapping relationship, a humidity adaptability score of the sensor of the any type corresponding to the current humidity is found in a preset third mapping relationship, and a weighted sum calculation is performed on the temperature adaptability score and the humidity adaptability score of the sensor of the any type to obtain the environmental adaptability score;

[0165] Wherein, in the second mapping relationship, when the current temperature is within a preset temperature adaptation range, the temperature adaptability score of the sensor of any type is a preset third score threshold; when the current temperature is lower or higher than the temperature adaptation range, the temperature adaptability score of the sensor of any type is linearly proportional or inversely proportional to the current temperature;

[0166] In the third mapping relationship, when the current humidity is within a preset humidity adaptation range, the humidity adaptability score of any one type of sensor is a preset fourth score threshold; when the current humidity is lower or higher than the humidity adaptation range, the humidity adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current humidity.

[0167] Specifically, the performance evaluation unit is used to evaluate the reliability of each type of sensor according to the historical detection accuracy of each type of sensor to obtain the historical performance score of each type of sensor, which specifically includes:

[0168] If any one type of sensor among the at least two different types is not a temperature and humidity sensitive type, searching in a preset fourth mapping relationship for a historical performance score corresponding to a historical detection accuracy rate of the sensor of the any one type;

[0169] Wherein, in the fourth mapping relationship, the historical performance score of any one type of sensor is proportional to the historical detection accuracy;

[0170] If any one type of sensor among the at least two different types is a temperature and humidity sensitive type, obtain the historical detection accuracy and detection frequency of the sensor of any one type in different environments, add the product of the historical detection accuracy and detection frequency of the sensor of any one type in different environments, and obtain the historical performance score of the sensor of any one type.

[0171] Specifically, the data consistency evaluation unit is used to evaluate the reliability of each type of sensor according to the matching of the data consistency of each type of sensor with the other types of sensors and the preset data threshold, and obtain the data consistency score of each type of sensor, which specifically includes:

[0172] The data consistency between each type of sensor of the at least two different types and other types of sensors of the at least two different types includes the Euclidean distance between the real-time interval distances detected by each type of sensor and the other types of sensors, and the data threshold includes a preset distance threshold;

[0173] Determine whether the Euclidean distances between the real-time interval distances detected by each type of sensor and the other types of sensors are all less than or equal to the distance threshold;

[0174] If so, using a preset fifth score threshold as a data consistency score for each type of sensor;

[0175] If not, the distance threshold is divided by the Euclidean distance between the real-time interval distance detected by each type of sensor and the other types of sensors, and then multiplied to obtain the data consistency score of each type of sensor.

[0176] Specifically, the weight allocation module is used to allocate a fusion weight to the real-time interval distance detected by each type of sensor according to the reliability score set of each type of sensor, and the mathematical expression used includes:

[0177]

[0178] Wherein, i and j represent the index of each type of sensor, n represents the total number of types of sensors, and w i It represents the fusion weight assigned to the real-time interval distance collected by the i-th type of sensor, E i , P i and C i They represent the environmental adaptability score, historical performance score, and data consistency score of the i-th type of sensor, respectively. j , P j and C j They represent the environmental adaptability score, historical performance score, and data consistency score of the j-th type of sensor respectively.

[0179] In one embodiment, Figure 6 As shown, an electric door control system is provided, which includes the obstacle distance measuring device, the maximum angle calculation module, the optimal angle calculation module and the electric door control module as described in the above embodiment, wherein:

[0180] The obstacle distance measuring device as described in the above embodiment is used to obtain the final spacing distance between the target obstacle and the vehicle body when receiving the door opening command;

[0181] A maximum angle calculation module, used to calculate the maximum door opening angle at which the electric door just contacts the target obstacle after being opened, according to the final interval distance and a preset electric door length;

[0182] An optimal angle calculation module, used for subtracting a preset reserved angle from the maximum door opening angle to obtain an optimal door opening angle at which the electric door does not come into contact with the target obstacle after being opened;

[0183] The electric door control module is used to control the opening of the electric door according to the optimal door opening angle.

[0184] Specifically, the electric door control module is used to control the opening of the electric door according to the optimal door opening angle, and is also used to: obtain a preset minimum door opening distance, wherein the shortest door opening distance is the straight-line distance between the movable end of the electric door and the vehicle body and supports an adult of average height and weight to get off the vehicle sideways; calculate the minimum door opening angle based on the shortest door opening distance and the length of the electric door; determine whether the optimal door opening angle is greater than or equal to the minimum door opening angle; if so, control the opening of the electric door according to the optimal door opening angle; if not, remind the occupants in the vehicle that the opening of the electric door is restricted through the in-vehicle display screen or voice.

[0185] For the specific definition of the obstacle ranging device, please refer to the definition of the obstacle ranging method above. For the specific definition of the electric door control system, please refer to the definition of the electric door control method above, which will not be repeated here. The various modules in the above-mentioned obstacle ranging device and electric door control system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0186] In one embodiment, a new energy vehicle is provided, which includes the obstacle ranging device and / or the electric door control system as described in the above embodiments.

[0187] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0188] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0189] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An obstacle ranging method, characterized in that: The method comprises: Detecting the distance between a target obstacle and a vehicle body within a preset range of the vehicle by at least two different types of sensors, and obtaining corresponding at least two real-time interval distances; Respectively evaluating the reliability of each type of sensor based on current environmental parameters, historical performance of each type of sensor in the at least two different types, and data consistency between each type of sensor and other types of sensors in the at least two different types, to obtain a corresponding reliability score set; According to the reliability score set of each type of sensor, a fusion weight is assigned to the real-time interval distance detected by each type of sensor; A fusion calculation is performed based on the at least two real-time interval distances and the fusion weights corresponding to the at least two real-time interval distances to obtain a final interval distance between the target obstacle and the vehicle body.

2. The obstacle ranging method according to claim 1, characterized in that: Based on the current environmental parameters, the historical performance of each type of sensor of the at least two different types, and the data consistency between each type of sensor and other types of sensors of the at least two different types, the reliability of each type of sensor is evaluated to obtain a corresponding reliability score set, including: Acquire at least one of current light intensity, current temperature and current humidity as the current environmental parameter, and evaluate the reliability of each type of sensor of the at least two different types according to a match between the current environmental parameter and a preset environmental adaptability parameter, to obtain an environmental adaptability score of each type of sensor; Wherein, the environmental adaptation parameter includes at least one of a light intensity adaptation range, a temperature adaptation range and a humidity adaptation range; Acquire a historical detection accuracy rate of each type of sensor of the at least two different types as the historical performance of each type of sensor, and evaluate the reliability of each type of sensor according to the historical detection accuracy rate of each type of sensor to obtain a historical performance score of each type of sensor; Determine data consistency between each type of sensor of the at least two different types and the other types of sensors of the at least two different types according to a difference in real-time interval distances detected between the sensors of each type and the other types of sensors, and evaluate the reliability of each type of sensor according to a match between the data consistency between the sensors of each type and the other types of sensors and a preset data threshold, to obtain a data consistency score for each type of sensor; The reliability score set of each type of sensor includes an environmental adaptability score, a historical performance score, and a data consistency score of each type of sensor.

3. The obstacle ranging method according to claim 2, characterized in that: According to the matching of the current environmental parameters and the preset environmental adaptation parameters, the reliability of each type of sensor of the at least two different types is evaluated to obtain the environmental adaptability score of each type of sensor, including: If any one type of sensor among the at least two different types is a light intensity sensitive type and not a temperature and humidity sensitive type, searching for an environmental adaptability score of the sensor of any one type corresponding to the current light intensity in a preset first mapping relationship; Wherein, in the first mapping relationship, when the current light intensity is within a preset light intensity adaptation range, the environmental adaptability score of any one type of sensor is a preset first score threshold; when the current light intensity is lower than or higher than the light intensity adaptation range, the environmental adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current light intensity; If any one type of sensor among the at least two different types does not belong to the light intensity sensitive type and the temperature and humidity sensitive type, using a preset second score threshold as an environmental adaptability score of the any one type of sensor; If any one type of sensor among the at least two different types is not a light intensity sensitive type but a temperature and humidity sensitive type, a temperature adaptability score of the sensor of the any type corresponding to the current temperature is found in a preset second mapping relationship, a humidity adaptability score of the sensor of the any type corresponding to the current humidity is found in a preset third mapping relationship, and a weighted sum calculation is performed on the temperature adaptability score and the humidity adaptability score of the sensor of the any type to obtain the environmental adaptability score; Wherein, in the second mapping relationship, when the current temperature is within a preset temperature adaptation range, the temperature adaptability score of the sensor of any type is a preset third score threshold; when the current temperature is lower than or higher than the temperature adaptation range, the temperature adaptability score of the sensor of any type is linearly proportional or inversely proportional to the current temperature; In the third mapping relationship, when the current humidity is within a preset humidity adaptation range, the humidity adaptability score of any one type of sensor is a preset fourth score threshold; when the current humidity is lower or higher than the humidity adaptation range, the humidity adaptability score of any one type of sensor is linearly proportional or inversely proportional to the current humidity.

4. The obstacle ranging method according to claim 2, characterized in that: The reliability of each type of sensor is evaluated according to the historical detection accuracy of each type of sensor to obtain a historical performance score of each type of sensor, including: If any one type of sensor among the at least two different types is not a temperature and humidity sensitive type, searching in a preset fourth mapping relationship for a historical performance score corresponding to a historical detection accuracy rate of the sensor of the any one type; Wherein, in the fourth mapping relationship, the historical performance score of any one type of sensor is proportional to the historical detection accuracy; If any one type of sensor among the at least two different types is a temperature and humidity sensitive type, obtain the historical detection accuracy and detection frequency of the sensor of any one type in different environments, add the product of the historical detection accuracy and detection frequency of the sensor of any one type in different environments, and obtain the historical performance score of the sensor of any one type.

5. The obstacle ranging method according to claim 2, characterized in that: According to the matching of the data consistency of each type of sensor with the other types of sensors and the preset data threshold, the reliability of each type of sensor is evaluated to obtain the data consistency score of each type of sensor, including: The data consistency between each type of sensor of the at least two different types and other types of sensors of the at least two different types includes the Euclidean distance between the real-time interval distances detected by each type of sensor and the other types of sensors, and the data threshold includes a preset distance threshold; Determine whether the Euclidean distances between the real-time interval distances detected by each type of sensor and the other types of sensors are all less than or equal to the distance threshold; If so, using a preset fifth score threshold as a data consistency score for each type of sensor; If not, the distance threshold is divided by the Euclidean distance between the real-time interval distance detected by each type of sensor and the other types of sensors, and then multiplied to obtain the data consistency score of each type of sensor.

6. The obstacle ranging method according to claim 2, characterized in that: According to the reliability score set of each type of sensor, a fusion weight is assigned to the real-time interval distance detected by each type of sensor, and the adopted mathematical expression includes: Wherein, i and j represent the index of each type of sensor, n represents the total number of types of sensors, and w i It represents the fusion weight assigned to the real-time interval distance collected by the i-th type of sensor, E i , P i and C i They represent the environmental adaptability score, historical performance score, and data consistency score of the i-th type of sensor, respectively. j , P j and C j They represent the environmental adaptability score, historical performance score, and data consistency score of the j-th type of sensor respectively.

7. A method for controlling an electric door, characterized in that: The method comprises: Upon receiving the door opening command, the final spacing distance between the target obstacle and the vehicle body is obtained according to the steps of the obstacle ranging method according to any one of claims 1 to 6; Calculating, according to the final interval distance and a preset length of the electric door, a maximum door opening angle at which the electric door just contacts the target obstacle after being opened; Subtracting a preset reserved angle from the maximum door opening angle to obtain an optimal door opening angle at which the electric door does not come into contact with the target obstacle after being opened; The electric door is controlled to open according to the optimal door opening angle.

8. The electric door control method according to claim 7, characterized in that: Before controlling the electric door to open according to the optimal door opening angle, the method further includes: Obtaining a preset shortest door opening distance, wherein the shortest door opening distance is a straight-line distance between the movable end of the electric door and the vehicle body and supports an adult of average height and weight to get out of the vehicle sideways; Calculating a minimum door opening angle according to the shortest door opening distance and the length of the electric door; Determining whether the optimal door opening angle is greater than or equal to the minimum door opening angle; If yes, controlling the electric door to open according to the optimal door opening angle; If not, the vehicle occupants will be reminded through the in-vehicle display screen or voice that the opening of the electric door is restricted.

9. An obstacle distance measuring device, characterized in that: The device comprises: A sensor module, comprising at least two different types of sensors, wherein the at least two different types of sensors are used to detect the distance between a target obstacle and a vehicle body within a preset range of the vehicle, and obtain corresponding at least two real-time interval distances; a reliability evaluation module, configured to evaluate the reliability of each type of sensor based on current environmental parameters, historical performance of each type of sensor in the at least two different types, and data consistency between each type of sensor and other types of sensors in the at least two different types, to obtain a corresponding reliability score set; A weight assignment module, configured to assign a fusion weight to the real-time interval distance detected by each type of sensor according to the reliability score set of each type of sensor; The fusion calculation module is used to perform fusion calculation based on the at least two real-time interval distances and the fusion weights corresponding to the at least two real-time interval distances to obtain a final interval distance between the target obstacle and the vehicle body.

10. An electric door control system, characterized in that: The system comprises: The obstacle distance measuring device according to claim 9 is used to obtain the final spacing distance between the target obstacle and the vehicle body when receiving the door opening command; A maximum angle calculation module, used to calculate the maximum door opening angle at which the electric door just contacts the target obstacle after being opened, according to the final interval distance and a preset electric door length; An optimal angle calculation module, used for subtracting a preset reserved angle from the maximum door opening angle to obtain an optimal door opening angle at which the electric door does not come into contact with the target obstacle after being opened; The electric door control module is used to control the opening of the electric door according to the optimal door opening angle.

Citation Information

Cited By

  • Geological exploration data analysis system and method based on multi-source data fusion

    CN121009291A