Control method of vehicle, control device of vehicle, vehicle, and storage medium
Patent Information
- Application Number
- CN202311811866.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2043-12-26
AI Technical Summary
当车辆在行驶过程中遇到团雾,可能会由于无法识别前方路线,导致容易发生安全事故,影响车辆行驶过程中的安全性;因此,在车辆在遇到团雾时如何提高车辆的驾驶安全是当前亟需解决的问题
Smart Images

Figure CN117565820B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicles, and more specifically, to a vehicle control method, control device, vehicle, and storage medium in the field of vehicles. Background Technology
[0002] Currently, people have increasingly higher requirements for driving safety, and the vehicle's defogging function has a significant impact on driving safety. When a vehicle encounters patches of fog while driving, it may be unable to see the road ahead, leading to a higher risk of accidents and affecting driving safety. Therefore, how to improve driving safety when encountering patches of fog is an urgent problem to be solved. Summary of the Invention
[0003] This application provides a vehicle control method, control device, vehicle, and storage medium. The control method can ensure driving safety when encountering fog and improve vehicle safety during operation.
[0004] Firstly, a method for controlling a vehicle is provided, the method comprising:
[0005] If the vehicle is detected to be in motion, an image of the vehicle's driving environment is acquired;
[0006] Based on the driving environment image, determine the fog concentration value of the driving environment of the vehicle;
[0007] If the fog concentration value is greater than a preset concentration threshold, detect whether the vehicle has a defogging requirement;
[0008] If the vehicle is detected to have the required defogging function, the target defogging device and warning light in the vehicle are activated.
[0009] In the embodiments of this application, the driving environment image of the vehicle is acquired during vehicle operation, and the fog concentration value of the driving environment is determined based on the driving environment image. When the fog concentration value is greater than a preset concentration threshold and the vehicle is detected to have a defogging need, the target defogging device and warning light are controlled to be turned on. Since turning on the vehicle's target defogging device can prevent fog from condensing on the windshield and interfering with the driver's vision, it ensures that the vehicle can maintain normal driving and will not collide with other vehicles on the road. Simultaneously, controlling the warning light to be turned on can promptly alert other vehicles on the road, allowing them to notice the vehicle's position and avoid collisions. Therefore, it can ensure driving safety when encountering dense fog and improve vehicle safety during operation.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the step of controlling the target defogging device and warning light in the vehicle to turn on if a defogging requirement is detected in the vehicle includes:
[0011] If the vehicle is detected to have the defogging requirement, obtain the vehicle's current speed;
[0012] The target defogging device is determined based on the current vehicle speed;
[0013] Control the target defogging device and the warning light to turn on.
[0014] In the embodiments of this application, when a vehicle is detected to have a defogging need, the target defogging device to be activated is determined based on the vehicle's current speed. Since the urgency of the vehicle's defogging need is determined based on different vehicle speeds, different target defogging devices are activated accordingly, thereby improving the intelligence level of the vehicle's defogging device in activating the target defogging device.
[0015] In conjunction with the first aspect and the above-described implementations, in some implementations of the first aspect, determining the target defogging device based on the current vehicle speed includes:
[0016] If the current vehicle speed is greater than a preset vehicle speed threshold, it is determined that the target defogging device includes the vehicle's air conditioning and windshield wiper system;
[0017] If the current vehicle speed is less than or equal to a preset vehicle speed threshold, it is determined that the target defogging device includes the vehicle's air conditioning.
[0018] In the embodiments of this application, when the current vehicle speed is detected to be greater than a preset vehicle speed threshold, the determined target defogging device includes the air conditioning and windshield wipers; when the current vehicle speed is less than or equal to the preset threshold, the determined defogging device includes the vehicle's air conditioning. Since controlling multiple target defogging devices in the vehicle to be turned on simultaneously when the vehicle speed is high can achieve rapid defogging of the vehicle, thereby ensuring that the vehicle can quickly defog at high speeds and maintain normal vehicle operation. In addition, since controlling the vehicle to turn on fewer target defogging devices when the vehicle speed is low can ensure that the vehicle achieves defogging in a more energy-efficient manner without affecting driving safety.
[0019] In conjunction with the first aspect and the above-described implementations, in some implementations of the first aspect, determining the fog concentration value of the vehicle's driving environment based on the driving environment image includes:
[0020] The fog concentration value is determined based on the image clarity of the driving environment image.
[0021] In the embodiments of this application, the vehicle acquires an image of the driving environment and determines the fog concentration value based on the clarity of the driving environment. The lower the image clarity, the higher the fog concentration value of the driving environment corresponding to the image. Since the fog concentration value is determined by the image clarity, the fog concentration value of the current driving environment can be accurately obtained.
[0022] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, the step of detecting whether the vehicle has a defogging requirement if the fog concentration value is greater than a preset concentration threshold includes:
[0023] If the fog concentration value is greater than the preset concentration threshold, the vehicle's outside temperature, vehicle's inside temperature, and vehicle's outside humidity are obtained.
[0024] The condensation value outside the vehicle is determined based on the outside temperature, the inside temperature, and the outside humidity.
[0025] If the condensation value outside the vehicle is greater than the preset condensation value, it is determined that the outer side of the windshield of the vehicle has the required defogging.
[0026] In the embodiments of this application, the condensation value outside the vehicle is determined based on the obtained outside temperature, inside temperature and outside humidity. When the outside condensation value is greater than the preset condensation value, it is determined that there is a need for defogging on the outside of the vehicle's windshield. In this solution, the need for defogging on the outside of the vehicle's windshield is determined by comparing the outside condensation value with the preset condensation value. Since the outside condensation value is calculated based on the temperature difference and outside humidity, the result of determining whether there is a need for defogging based on the condensation value is more accurate.
[0027] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, the step of detecting whether the vehicle has a defogging requirement if the fog concentration value is greater than a preset concentration threshold includes:
[0028] If the fog concentration value is greater than the preset concentration threshold, the vehicle's outside temperature, vehicle's inside temperature, and vehicle's inside humidity are obtained.
[0029] The condensation value inside the vehicle is determined based on the outside temperature, the inside temperature, and the inside humidity.
[0030] If the condensation value inside the vehicle is greater than the preset condensation value, it is determined that the inside of the windshield in the vehicle has the defogging requirement.
[0031] Alternatively, if the fog concentration value is greater than the preset concentration threshold, the outside temperature of the vehicle and the number of users in the vehicle are obtained.
[0032] If the outside temperature is less than a preset temperature threshold and the user data is greater than a preset user threshold, it is determined that the inside of the windshield of the vehicle has the defogging requirement.
[0033] In one embodiment of this application, the condensation value inside the vehicle is determined based on the obtained outside temperature, inside temperature, and inside humidity. When the condensation value inside the vehicle is greater than a preset condensation value, it is determined that there is a need for defogging on the inside of the vehicle's windshield. In this solution, the need for defogging on the inside of the vehicle's windshield is determined by comparing the condensation value inside the vehicle with the preset condensation value. Since the condensation value inside the vehicle is calculated based on the temperature difference and the humidity inside the vehicle, the result of determining whether there is a need for defogging based on the condensation value is more accurate.
[0034] In another approach, the need for defogging on the inside of the vehicle is determined based on the number of users in the driver's cabin and the outside temperature. If the outside temperature is lower than a preset temperature threshold and the number of users is greater than a preset user threshold, it is determined that there is a need for defogging on the inside of the vehicle's windshield. By using the number of users in the vehicle and the outside temperature to identify whether there is a specific need for defogging on the inside of the vehicle's windshield, the intelligence level of the defogging function is improved.
[0035] Furthermore, by dividing the defogging demand into the defogging demand on the outside of the windshield and the defogging demand on the inside of the windshield, the judgment of the vehicle's defogging demand becomes more accurate.
[0036] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0037] If the fog concentration value is less than or equal to the preset concentration threshold, and the vehicle is detected to not have the defogging requirement, the target defogging device and the warning light are controlled to turn off.
[0038] In the embodiments of this application, when the fog concentration value is detected to be less than a preset concentration threshold and the vehicle does not have a defogging requirement, the target defogging device and warning light are controlled to turn off, reducing energy consumption during the defogging process. In addition, the vehicle defogging and warning functions are intelligently controlled to turn off by determining the conditions.
[0039] Secondly, a vehicle control device is provided, the control device comprising:
[0040] The acquisition module is used to acquire an image of the vehicle's driving environment if the vehicle is detected to be in motion.
[0041] The determination module is used to determine the fog concentration value of the driving environment of the vehicle based on the driving environment image;
[0042] The detection module is used to detect whether the vehicle has a defogging requirement if the fog concentration value is greater than a preset concentration threshold.
[0043] The control module is used to control the target defogging device and warning light in the vehicle to turn on if the vehicle is detected to have the defogging requirement.
[0044] In conjunction with the second aspect, in some implementations of the second aspect, the control module is specifically used for:
[0045] If a vehicle is detected to have the required defogging function, the current vehicle speed is obtained; based on the current vehicle speed, the target defogging device is determined; and the target defogging device and the warning light are activated.
[0046] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the determining module is specifically used for:
[0047] If the current vehicle speed is greater than a preset vehicle speed threshold, the target defogging device is determined to include the vehicle's air conditioning and windshield wiper system; if the current vehicle speed is less than or equal to the preset vehicle speed threshold, the target defogging device is determined to include the vehicle's air conditioning.
[0048] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the determining module is specifically used for:
[0049] The fog concentration value is determined based on the image clarity of the driving environment image.
[0050] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the detection module is specifically used for:
[0051] If the fog concentration value is greater than the preset concentration threshold, the vehicle's outside temperature, vehicle's inside temperature, and vehicle's outside humidity are obtained; based on the outside temperature, vehicle's inside temperature, and vehicle's outside humidity, the condensation value outside the vehicle is determined; if the condensation value outside the vehicle is greater than the preset condensation value, it is determined that the outer side of the windshield in the vehicle has the defogging requirement.
[0052] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the detection module is specifically used for:
[0053] If the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature, vehicle's inside temperature, and vehicle's inside humidity; determine the condensation value inside the vehicle based on the outside temperature, vehicle's inside temperature, and vehicle's inside humidity; if the condensation value inside the vehicle is greater than the preset condensation value, determine that the inside of the windshield in the vehicle has the defogging requirement; or, if the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature and the number of users in the vehicle; if the outside temperature is less than a preset temperature threshold, and the number of users is greater than a preset user threshold, determine that the inside of the windshield in the vehicle has the defogging requirement.
[0054] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the control module is further configured to:
[0055] If the fog concentration value is less than or equal to the preset concentration threshold, and the vehicle is detected to not have the defogging requirement, the target defogging device and the warning light are controlled to turn off.
[0056] Thirdly, a vehicle is provided, including a memory and a processor, the memory for storing executable program code, and the processor for calling and running the executable program code from the memory, causing the vehicle to perform the methods of the first aspect or any possible implementation thereof.
[0057] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0058] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description
[0059] Figure 1 This is a schematic diagram of a vehicle encountering fog, provided in an embodiment of this application.
[0060] Figure 2 This is a schematic diagram of a vehicle system architecture provided in an embodiment of this application;
[0061] Figure 3 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application;
[0062] Figure 4This is a schematic flowchart of another vehicle control method provided in an embodiment of this application;
[0063] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application;
[0064] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation
[0065] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0066] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0067] Figure 1 This is a schematic diagram of a vehicle encountering fog, provided in an embodiment of this application.
[0068] For example, scenario 100 includes vehicle 110, windshield 120 of vehicle 110, vehicle window 130, window 140, fog patch 150, and other vehicles 160 on the road.
[0069] For example, if vehicle 110 encounters fog 150 while driving, and there is a temperature difference between the outside and inside of the vehicle, the fog will condense into water droplets on the windshield 120 and windows 130 and 140, causing visual interference to the driver. At this time, if there are other vehicles 160 on the road, vehicle 110 (the vehicle itself) will not be able to see other vehicles 160 on the road due to the fog, and vehicle 160 will not be able to see vehicle 110, which may lead to traffic accidents and affect the driving safety of the vehicle in the fog.
[0070] In view of this, this application provides a vehicle control method, control device, vehicle, and storage medium; through the embodiments of this application, when the fog concentration is high and the vehicle has a defogging requirement, the vehicle's defogging device and warning lights can be controlled to be turned on, ensuring driving safety when encountering dense fog and improving the safety of the vehicle during driving.
[0071] Figure 2 This is a schematic diagram of a vehicle system architecture provided in an embodiment of this application.
[0072] For example, such as Figure 2 As shown, vehicle 110 includes a front-facing camera 1110, a humidity sensor 1120, a temperature sensor 1130, a vehicle control system 1140, a defogging device 1150, a windshield wiper 1151, an air conditioner 1152, a vehicle warning light 1160, and a driver assistance module 1170.
[0073] For example, the vehicle's front-facing camera 1110 is used to collect images of the vehicle's driving environment; the humidity sensor 1120 is used to collect the humidity inside and outside the vehicle; the temperature sensor 1130 is used to acquire the temperature inside and outside the vehicle; the vehicle control system 1140 is used to receive the data collected by the front-facing camera 1110, the humidity sensor 1120, and the temperature sensor 1130 and send control commands; the defogging device 1150 is used to realize the vehicle's defogging function; the windshield wipers 1151 are used to remove water droplets generated by fog condensation on the vehicle's windshield; the air conditioner 1152 is used to adjust the temperature inside the vehicle, thereby achieving the defogging effect; the vehicle's warning lights 1160 are used to alert other vehicles on the road; and the driver assistance module 1170 is used for the vehicle to realize automatic or semi-automatic driving based on the acquired road information.
[0074] The following is based on Figure 2 Taking the system architecture shown as an example, combined with Figure 3 and Figure 4 The vehicle control method provided in the embodiments of this application will be described in detail.
[0075] Figure 3 This is a flowchart of a vehicle control method provided in an embodiment of this application.
[0076] For example, Figure 3 The control method 200 shown can be derived from... Figure 1 The vehicle 110 shown is executing the command; or it may be performed by... Figure 1 The on-board terminal of the vehicle 110 shown is responsible for execution; or it can be performed by... Figure 1 The processor or chip in the vehicle 110 shown executes the commands.
[0077] like Figure 3 As shown, control method 200 includes S210 to S240, which are described in detail below.
[0078] S210: If the vehicle is detected to be in motion, acquire an image of the vehicle's driving environment.
[0079] For example, if the vehicle's control system detects that the vehicle is in motion, it sends a control command to the front-facing camera to control the vehicle's detection device (e.g., the front-facing camera) to acquire real-time images of the vehicle's driving environment; the driving environment images can characterize the road conditions when the vehicle is in motion.
[0080] Optionally, since the presence of dust, obstructions, or water droplets on the detection device can affect the clarity of the acquired driving environment image, in order to ensure the accuracy of the subsequent determination of the vehicle's driving environment fog concentration value by S220 based on the driving environment image, it is necessary to determine whether the detection device meets preset conditions before acquiring the vehicle's driving environment image through the detection device. These preset conditions include: no dust, no obstructions, and no water droplets on the detection device. If the detection device does not meet the preset conditions, a prompt message is sent to the vehicle to remind the user to check or clean the detection device. If the detection device meets the preset conditions, the vehicle's driving environment image is acquired through the detection device.
[0081] In determining whether the detection device meets the preset conditions, the judgment can be made by the image captured by the detection device. For example, if no image content is captured in the image, it indicates that there is an obstruction in the detection device; if there are multiple pixels with a gray value of 0 (black) in the image, it indicates that there is dust in the detection device; if there are light spots in the image, it indicates that there are water droplets in the detection device.
[0082] In one example, the detection device can be a front-facing camera inside the cockpit; in the case where the detection device is a front-facing camera inside the cockpit, in order to ensure the accuracy of S220, before acquiring an image of the vehicle's driving environment, it is determined whether the detection device and the windshield meet the aforementioned preset conditions.
[0083] In another example, the detection device can be a front-facing camera outside the cockpit; if the detection device is a front-facing camera inside the cockpit, in order to ensure the accuracy of the fog concentration value, it is determined whether the detection device meets the above-mentioned preset conditions before acquiring the vehicle's driving environment image.
[0084] S220, based on the driving environment image, determines the fog concentration value of the vehicle's driving environment.
[0085] It should be noted that the fog concentration value in the driving environment can characterize the degree of fog in the driving environment in which the vehicle is located; the degree of fog can be used to determine whether the vehicle is in a foggy driving scenario.
[0086] Optionally, in one implementation, determining the fog concentration value of the vehicle's driving environment based on the driving environment image includes:
[0087] The fog concentration value is determined based on the image clarity of the driving environment image.
[0088] For example, after the vehicle's front-facing camera acquires an image of the vehicle's driving environment, the vehicle's control system will perform image recognition on the acquired driving environment image to identify the clarity of the driving environment image; based on the clarity and the mapping relationship between clarity and fog concentration value, the fog concentration value of the vehicle's driving environment will be determined.
[0089] For example, the mapping relationship can refer to a functional relationship; for instance, an inverse proportional function; such as, the greater the clarity, the smaller the fog concentration value; and the smaller the clarity, the greater the fog concentration value.
[0090] For example, the mapping relationship can also be a graph relationship; each level of clarity can correspond to a fog concentration value.
[0091] It should be understood that the above examples illustrating the mapping relationship using functional and graphical relationships are not intended to limit the scope of this application.
[0092] For example, if the clarity of the obtained driving environment image is 60%, according to the mapping relationship between clarity and fog concentration value, the fog concentration value corresponding to the image clarity of 60% is 50%, that is, the fog concentration value of the current driving environment of the vehicle is 50%.
[0093] It should be noted that the above are examples illustrating the clarity of the driving environment image and the fog concentration value of the driving environment, and this application does not impose any limitations on them.
[0094] In one possible implementation, it is determined whether the fog concentration value is within a preset concentration range. If the fog concentration value is outside the preset range, it indicates that the detection device that collects images of the driving environment may be dirty. For example, the detection device may be obstructed, dusty, or have water droplets. In this case, a prompt message is sent to the vehicle to remind the user to check or clean the detection device to avoid misjudging the fog concentration value and thus affecting the vehicle's defogging function.
[0095] For example, the maximum fog concentration value is 70%, and the corresponding driving environment image clarity is 40%, meaning the preset range for driving environment image clarity is greater than or equal to 40%. If the clarity of the currently acquired driving environment image is less than 40%, it indicates that there is dust, obstructions, or water droplets on the detection device. At this time, the vehicle sends a prompt message to remind the user to check or clean the detection device in a timely manner.
[0096] It should be noted that the above is an example illustrating the preset range of fog concentration value and driving environment image clarity, and this application does not impose any limitations on it.
[0097] In the embodiments of this application, the vehicle acquires an image of the driving environment and determines the fog concentration value based on the clarity of the driving environment. The lower the image clarity, the higher the fog concentration value of the driving environment corresponding to the image. By determining the fog concentration value through the image clarity and the mapping relationship between image clarity and fog concentration value, the fog concentration value of the current driving environment can be accurately obtained.
[0098] S230: If the fog concentration value is greater than the preset concentration threshold, detect whether the vehicle has a defogging requirement.
[0099] For example, after obtaining the fog concentration value of the driving environment based on the driving environment image, the fog concentration value is compared with a preset concentration threshold. When the fog concentration value is greater than the preset concentration threshold, it is further detected whether the vehicle has a defogging requirement. The preset concentration threshold is a preset maximum fog concentration value that can ensure that the driver's vision is not affected. When the fog concentration is less than or equal to the preset concentration threshold, it means that the fog is small and will not affect the normal driving of the vehicle.
[0100] Vehicle defogging requirements include defogging requirements for the outer side of the windshield and / or defogging requirements for the inner side of the windshield.
[0101] Scenario 1: Determine if there is a need for defrosting the outside of the vehicle's windshield.
[0102] Optionally, in one implementation, if the fog concentration value is greater than a preset concentration threshold, the system detects whether the vehicle requires defogging, including:
[0103] If the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature, vehicle's inside temperature, and vehicle's outside humidity.
[0104] The condensation value outside the vehicle is determined based on the outside temperature, inside temperature, and outside humidity.
[0105] If the condensation level outside the vehicle is greater than the preset condensation level, it is determined that the outer side of the windshield in the vehicle requires defogging.
[0106] For example, the vehicle's outside temperature and inside temperature are obtained through the vehicle's temperature sensor, and the vehicle's outside humidity is obtained through the vehicle's humidity sensor. The outside condensation value is determined based on the obtained outside temperature, inside temperature, and outside humidity. When the outside condensation value is greater than a preset condensation value, it is determined that the outside of the vehicle's windshield needs defogging.
[0107] For example, if the outside humidity is 40%, it means that the water vapor content in the outside air is 40%, and the preset condensation value is an air humidity of 40% and a temperature difference of 10°C, then the inside temperature is 25°C, the outside temperature is 10°C, and the temperature difference between the inside and outside of the car is 15°C, which is greater than the temperature difference in the preset condensation value. This means that the water vapor in the air will condense into water droplets on the outside of the windshield, which means that the outside of the vehicle's windshield needs to be defogged.
[0108] It should be noted that the above are examples illustrating the external condensation value and the preset condensation value, and this application does not impose any limitations on them.
[0109] In the embodiments of this application, the need for defogging on the outside of the vehicle windshield is determined by comparing the external condensation value with a preset condensation value. Since the external condensation value is calculated based on the temperature difference and the external humidity, the result of determining whether there is a need for defogging based on the condensation value is more accurate.
[0110] Scenario 2: Determine if there is a need for defrosting the inside of the vehicle's windshield.
[0111] Optionally, in one implementation, if the fog concentration value is greater than a preset concentration threshold, detecting whether the vehicle has a defogging requirement includes:
[0112] If the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature, vehicle's inside temperature, and vehicle's inside humidity.
[0113] The condensation value inside the vehicle is determined based on the outside temperature, inside temperature, and inside humidity.
[0114] If the condensation level inside the vehicle exceeds the preset condensation level, it indicates that the inside of the windshield requires defogging; or,
[0115] If the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature and the number of users in the vehicle.
[0116] If the outside temperature is lower than the preset temperature threshold and the user data is greater than the preset user threshold, it is determined that the inside of the windshield of the vehicle needs defogging.
[0117] Method 1: Calculate the condensation value inside the vehicle based on the outside temperature, inside temperature, and inside humidity; determine whether the inside of the windshield needs defogging based on the condensation value inside the vehicle.
[0118] For example, the vehicle's outside temperature and inside temperature are obtained through the vehicle's temperature sensor, and the vehicle's inside humidity is obtained through the vehicle's humidity sensor. The condensation value inside the vehicle is determined based on the obtained outside temperature, inside temperature, and inside humidity. When the condensation value inside the vehicle is greater than a preset condensation value, it is determined that there is a need for defogging on the inside of the vehicle's windshield.
[0119] For example, if the humidity inside the car is 50%, and the preset condensation value is 50% air humidity and a temperature difference of 12°C, then the temperature inside the car is 24°C and the outside temperature is 10°C. The temperature difference is greater than the preset condensation value of 12°C, which means that water vapor in the air will condense into water droplets on the inside of the windshield, indicating that the inside of the vehicle's windshield has a defogging requirement.
[0120] It should be noted that the above are examples illustrating the in-vehicle condensation value and the preset condensation value, and this application does not impose any limitations on them.
[0121] In the embodiments of this application, the need for defogging on the inside of the vehicle windshield is determined by comparing the condensation value inside the vehicle with a preset condensation value. Since the condensation value inside the vehicle is calculated based on the temperature difference and humidity inside the vehicle, the result of determining whether there is a need for defogging based on the condensation value is more accurate.
[0122] Implementation Method 2: Determine whether there is a specific need for defogging on the inside of the windshield based on the outside temperature of the vehicle and the number of users in the vehicle.
[0123] For example, the outside temperature of the vehicle is obtained through the vehicle's temperature sensor, and the number of users in the vehicle is obtained through the vehicle's in-vehicle camera.
[0124] For example, if the preset user threshold is 4 people and the preset temperature threshold is 10℃, when the fog concentration value is greater than the preset concentration threshold, the outside temperature of the vehicle is obtained as 6℃, which is less than the preset temperature threshold, and the number of users in the vehicle is obtained as 6, which is greater than the preset user threshold, then it is determined that the inside of the vehicle's windshield has a defogging requirement.
[0125] It should be noted that the above are examples of preset user thresholds and preset temperature thresholds, and this application does not impose any limitations on them.
[0126] In the embodiments of this application, the number of users in the vehicle and the outside temperature are used to identify whether there is a specific need for defogging on the inside of the vehicle's windshield, thereby improving the intelligence level of the defogging function.
[0127] Scenario 3: Determine the vehicle's exterior rearview mirror defrosting requirements.
[0128] Optionally, in one implementation, if the fog concentration value is greater than a preset concentration threshold, the vehicle's outside temperature and outside humidity are obtained. When the vehicle's outside temperature is detected to be less than a preset temperature threshold and the outside humidity is greater than a preset humidity threshold, it is determined that the vehicle's exterior rearview mirrors have a defogging requirement.
[0129] For example, if the vehicle's preset temperature threshold is 8℃ and the preset humidity threshold is 60%, when the detected outside temperature is 6℃, which is lower than the preset temperature threshold of 8℃, and the outside humidity is 65%, which is higher than the preset humidity threshold of 60%, it is determined that the vehicle's exterior rearview mirrors have a defogging requirement.
[0130] S240: If a vehicle is detected to require defogging, the system controls the target defogging device and warning lights in the vehicle to be activated.
[0131] For example, warning lights include hazard lights, fog lights, and side marker lights of a vehicle; target defogging devices include one or more of the following in a vehicle: air conditioning, windshield wipers, windows, and heating devices.
[0132] Optionally, in one implementation, if a vehicle is detected to have a defogging requirement, the target defogging device and warning lights in the vehicle are activated, including:
[0133] If a vehicle is detected to require defogging, obtain the vehicle's current speed;
[0134] Based on the current vehicle speed, identify the target defogging device;
[0135] Control the target to activate the defogging device and warning lights.
[0136] In the embodiments of this application, when a vehicle is detected to have a defogging need, the target defogging device to be activated is determined based on the vehicle's current speed. Since the urgency of the vehicle's defogging need is determined based on different vehicle speeds, different target defogging devices are activated accordingly, thereby improving the intelligence level of the vehicle's defogging device in activating the target defogging device.
[0137] Optionally, in one implementation, determining the target defogging device based on the current vehicle speed includes:
[0138] If the current vehicle speed is greater than the preset vehicle speed threshold, the target defogging device is determined to include the vehicle's air conditioning and windshield wipers.
[0139] If the current vehicle speed is less than or equal to a preset vehicle speed threshold, the target defogging device is determined to include the vehicle's air conditioning.
[0140] For example, the target defogging device for a vehicle is determined based on the vehicle's current speed. When the vehicle's current speed is greater than a preset speed threshold, the target defogging device can be the vehicle's air conditioning and windshield wipers. When the vehicle's current speed is less than or equal to the preset speed threshold, the target defogging device can be the vehicle's air conditioning.
[0141] For example, if the preset vehicle speed threshold is 80 km / h, and the vehicle's current speed is 100 km / h after detecting a need for defogging, and the vehicle's current speed is greater than the preset speed threshold, then the vehicle needs to defog quickly, and the vehicle's air conditioning and windshield wipers will be turned on. If the current vehicle speed is 60 km / h, then the vehicle's air conditioning will be turned on.
[0142] It should be noted that the above is an example illustrating the preset speed threshold and the vehicle's current speed, and this application does not impose any limitations on it. In the embodiments of this application, when a vehicle is detected to have a defogging need, the target defogging device to be activated is determined based on the vehicle's current speed; since different vehicle speeds determine the urgency of the vehicle's defogging need, different target defogging devices are activated, thereby improving the intelligence level of the vehicle's defogging device in activating the target defogging device.
[0143] Example 1: The target defogging device includes a windshield wiper unit.
[0144] In one implementation, when the target defogging device of the vehicle includes the vehicle's windshield wiper device, the vehicle determines the working efficiency of the windshield wiper device based on the current vehicle speed. The working efficiency of the windshield wiper device is divided into three levels: level one (slow speed), level two (medium speed), and level three (fast speed). When the vehicle speed is greater than a preset vehicle speed threshold, the vehicle's windshield wiper device is controlled to open at level three. When the vehicle speed is less than or equal to the preset vehicle speed threshold, the windshield wiper device is controlled to open at level one or level two.
[0145] Furthermore, when the current vehicle speed is detected to be greater than a preset speed threshold, the identified target defogging devices include the air conditioning and windshield wipers; when the current vehicle speed is less than or equal to the preset threshold, the identified defogging device includes the vehicle's air conditioning. Because controlling multiple target defogging devices to activate simultaneously at higher vehicle speeds enables rapid defogging, ensuring the vehicle can quickly defog and maintain normal operation even at high speeds. Conversely, controlling fewer target defogging devices to activate at lower vehicle speeds ensures that defogging is achieved in a more energy-efficient manner without compromising driving safety.
[0146] For example, if the preset speed threshold is 80 km / h, when the current vehicle speed is 100 km / h, which is greater than the preset speed threshold of 80 km / h, the third speed setting of the windshield wipers will be activated. When the current vehicle speed is 70 km / h, which is less than the preset speed threshold of 80 km / h, the first or second speed setting of the windshield wipers will be activated.
[0147] In the embodiments of this application, the wiper setting is determined based on the vehicle's current speed. Since the urgency of the vehicle's defogging need is determined based on different vehicle speeds, when the vehicle's current speed is greater than a preset speed threshold, the wiper is controlled to operate at level three, which can quickly defog the windshield. When the vehicle's current speed is less than or equal to the preset speed threshold, the wiper is controlled to operate at level one or two, which can achieve vehicle defogging in a more energy-efficient manner without affecting normal vehicle driving.
[0148] Example 2: The target defogging device includes an air conditioner.
[0149] Optionally, in the above implementation, when the target defogging device of the vehicle includes an air conditioner, the air conditioner in the vehicle is turned on, and the airflow mode of the air conditioner is controlled to be directed towards the windshield, so as to remove the fog on the inside of the windshield in the vehicle; or, the airflow and / or temperature of the air conditioner are controlled according to the area of the fog on the inside of the windshield, so as to remove the fog on the inside of the windshield in the vehicle.
[0150] For example, the air conditioning in a vehicle can have airflow modes such as blowing towards the user's face, blowing towards the windshield, or blowing towards the user's feet. In addition, the airflow mode can be controlled by a knob or soft switch. If the windshield is detected to require defogging, the air conditioning can be set to blow towards the windshield.
[0151] For example, the air volume of an air conditioner refers to the amount of air blown out by the air conditioner; for example, the air volume of an air conditioner includes: level 1 air volume (e.g., low air volume), level 2 air volume (e.g., medium air volume), level 3 air volume (e.g., high air volume), etc.; the temperature of an air conditioner includes: level 1 temperature (e.g., low temperature), level 2 temperature (e.g., medium temperature), level 3 temperature (e.g., high temperature), etc.; by controlling the air volume or the temperature of the air conditioner individually, the air volume and temperature of the air conditioner can also be combined to achieve the defogging effect; for example, controlling the air volume of the air conditioner to be high and the temperature of the air conditioner to be low, etc.
[0152] In the embodiments of this application, when the target defogging device is determined to be an air conditioner, the airflow mode of the air conditioner is controlled to be directed towards the direction of the windshield; thus, the speed of windshield defogging can be increased, thereby improving the vehicle's defogging efficiency; since the airflow and / or temperature of the air conditioner are controlled according to the fog area of the windshield when the target defogging device is determined to be an air conditioner, the intelligence of the defogging method is improved by controlling the airflow and / or temperature of the air conditioner.
[0153] Example 3: The target defogging device includes the vehicle window.
[0154] For example, when there is a need for defogging on the inside of the windshield in a vehicle, the target defogging device of the vehicle includes the vehicle window; the target defogging device is determined to be the target window in the vehicle based on the distance between each window in the vehicle and the windshield; wherein, the target window refers to the window that is closer to the windshield; optionally, the target window can be one window or multiple windows, and this application does not limit it in any way.
[0155] In the embodiments of this application, by opening the target window of the vehicle, the vehicle interior can be quickly defogged when there is a need for defogging, thereby ensuring that the vehicle can be quickly defogged and maintaining safe driving.
[0156] Example 4: The target defogging device includes a heating device.
[0157] For example, when a defogging requirement is detected in the vehicle's exterior rearview mirrors, the heating device of the vehicle's exterior rearview mirrors is turned on.
[0158] In one implementation, when a defogging requirement is detected on the rear windshield of the vehicle, the rear windshield heating device is activated.
[0159] In the embodiments of this application, when the vehicle's exterior rearview mirrors require defogging, the heating device of the exterior rearview mirrors is turned on; when the vehicle's rear windshield requires defogging, the heating device of the vehicle's rear windshield is turned on, thereby realizing the defogging function of the vehicle's exterior rearview mirrors and rear windshield, increasing the field of vision inside the vehicle, and ensuring normal driving of the vehicle.
[0160] It should be noted that the target defogging device may include one or more of Examples 1 to 4.
[0161] In one possible implementation, the above method includes:
[0162] When the fog concentration in the driving environment is detected to be greater than a preset concentration threshold, the vehicle's warning lights will be turned on.
[0163] In one implementation, the above method includes:
[0164] If the fog concentration is less than or equal to a preset concentration threshold, and the vehicle is detected to have no need for defogging, the target defogging device and warning light will be turned off.
[0165] In the embodiments of this application, when the fog concentration value is detected to be less than a preset concentration threshold and the vehicle does not have a defogging requirement, the target defogging device and warning light are controlled to turn off, reducing energy consumption during the defogging process. In addition, by controlling the target defogging device and warning light through judgment conditions, the vehicle's defogging and warning functions are made intelligent.
[0166] The above scheme acquires images of the vehicle's driving environment during operation, determines the fog concentration based on these images, and activates the target defogging device and warning lights when the fog concentration exceeds a preset threshold and the vehicle requires defogging. Activating the target defogging device prevents fog condensation on the windshield from interfering with the driver's vision, ensuring normal driving and preventing collisions with other vehicles. Simultaneously, activating the warning lights promptly alerts other vehicles, allowing them to see the vehicle's location and avoid collisions. Therefore, this approach ensures safe driving in dense fog and improves overall vehicle safety.
[0167] Figure 4 This is a flowchart illustrating another vehicle control method provided in an embodiment of this application.
[0168] like Figure 4 As shown, the control method 300 includes S301 to S311, which are described in detail below.
[0169] S301, if the vehicle is in motion, acquire an image of the vehicle's driving environment.
[0170] For example, if the vehicle control system detects that the vehicle is in motion, it will send a control command to the front-facing camera to control the front-facing camera to acquire images of the vehicle's driving environment in real time.
[0171] Among them, the driving environment image is an environmental image at a certain distance in front of the vehicle's direction of travel (e.g., 30m).
[0172] For example, in order to ensure the accuracy of S302 in determining the fog concentration value of the vehicle's driving environment based on the driving environment image, it is necessary to determine whether there is dust, obstructions or water droplets on the detection device (e.g., front camera) before acquiring the driving environment image.
[0173] Optionally, the above-mentioned method for judging the detection device can be found in [reference needed]. Figure 3 The relevant descriptions of S210 and S220 will not be repeated here.
[0174] S302, determine the fog concentration value of the driving environment based on the clarity of the acquired driving environment image.
[0175] For example, after the vehicle's front-facing camera acquires an image of the vehicle's driving environment, the vehicle control system analyzes the acquired image to determine the clarity of the image, thereby determining the fog concentration in the vehicle's driving environment.
[0176] Alternatively, the implementation of S302 can be found in [reference needed]. Figure 3 The relevant descriptions of the S220 are not repeated here.
[0177] S303, determine whether the fog concentration value of the driving environment is greater than the preset concentration threshold; if yes, execute S304; if no, execute S301.
[0178] For example, when the vehicle control system analyzes the acquired driving environment images to obtain the fog concentration of the driving environment, it further determines whether the fog concentration is greater than a preset concentration threshold. The preset concentration threshold is a maximum fog concentration value that ensures the driver's vision is not affected. When the fog concentration is less than or equal to the preset concentration threshold, it means that the fog is small and will not affect the normal driving of the vehicle. At this time, the vehicle's front camera continues to acquire images of the vehicle's driving environment. When the fog concentration is greater than the preset concentration threshold, it means that the fog concentration is large and may affect the normal driving of the vehicle. At this time, the vehicle control system further detects the vehicle's defogging needs through temperature and humidity sensors.
[0179] S304 obtains the vehicle's interior and exterior temperatures and humidity.
[0180] For example, the vehicle control system can obtain the temperature inside and outside the vehicle through the vehicle's temperature sensor, and obtain the humidity inside and outside the vehicle through the vehicle's humidity sensor.
[0181] S305 determines the condensation value inside and outside the vehicle based on the obtained inside and outside temperature and humidity.
[0182] For example, the condensation value outside the vehicle is determined based on the acquired inside and outside temperature and humidity outside the vehicle, and the condensation value inside the vehicle is determined based on the acquired inside and outside temperature and humidity inside the vehicle; in addition, the calculated condensation value is sent to the vehicle control system via a Controller Area Network (CAN) signal.
[0183] Alternatively, the implementation of S305 can be found in [reference needed]. Figure 3 The relevant descriptions of the S230 are not repeated here.
[0184] S306, determine whether the condensation value inside and outside the vehicle is greater than the preset condensation value; if yes, proceed to S307; if no, proceed to S304.
[0185] For example, after determining the condensation values inside and outside the vehicle based on the acquired inside and outside temperature and humidity, the vehicle control system will determine whether the condensation values inside and outside the vehicle are greater than a preset condensation value. The preset condensation value is the minimum condensation value at which fog can condense into water droplets. When the condensation value inside the vehicle is detected to be greater than the preset condensation value, it means that the air inside the vehicle will condense into water droplets on the inside of the windshield, that is, there is a need for defogging on the inside of the windshield. When the condensation value outside the vehicle is detected to be greater than the preset condensation value, it means that the fog outside the vehicle will condense into water droplets on the outside of the windshield, that is, there is a need for defogging on the outside of the windshield.
[0186] S307, obtain the vehicle's current speed.
[0187] For example, a vehicle control system can obtain the vehicle's current speed in real time by acquiring data from a Hall sensor; where a Hall sensor is a sensor element that can convert non-electrical, non-magnetic physical quantities into electrical quantities for detection and control, specifically referring to converting physical quantities such as speed and rotational speed into electrical quantities that can be detected by the vehicle.
[0188] S308, determine whether the current vehicle speed is greater than the preset vehicle speed threshold; if yes, execute S309; if no, execute S310.
[0189] For example, after obtaining the vehicle's current speed based on data from the Hall sensor, the vehicle's control system executes a judgment logic to determine whether the vehicle's current speed is greater than a preset speed threshold. When the vehicle's current speed is greater than the preset speed threshold, the vehicle's speed is relatively fast, so the vehicle needs to achieve rapid defogging, and at this time, multiple defogging devices and warning lights are controlled to turn on. When the vehicle's current speed is less than or equal to the preset speed threshold, the vehicle's speed is relatively slow, so the vehicle can control fewer defogging devices to turn on, thereby achieving defogging in a more energy-efficient way.
[0190] S309 controls the vehicle's air conditioning, windshield wipers, and hazard lights.
[0191] For example, when the vehicle's current speed exceeds a preset speed threshold, the vehicle control system controls the vehicle's air conditioning, windshield wipers, and warning lights to turn on, thereby quickly defogging and ensuring safe driving.
[0192] S310 controls the activation of the vehicle's air conditioning and warning lights.
[0193] For example, when the vehicle's current speed is less than or equal to a preset threshold, the vehicle's control device controls the vehicle's air conditioning and warning lights to turn on, thereby reducing energy consumption while ensuring the vehicle can perform its defogging function without affecting normal driving.
[0194] S311 If the detected fog concentration value is less than or equal to the preset concentration threshold, and the condensation value inside and outside the vehicle is less than or equal to the preset condensation value, control the vehicle's air conditioning, windshield wipers, and warning lights to turn off.
[0195] For example, after the vehicle control system controls the defogging device and warning lights to turn on, it continuously monitors the fog concentration of the vehicle and the temperature and humidity inside and outside the vehicle. When the fog concentration of the vehicle is less than or equal to a preset concentration threshold and the condensation value inside and outside the vehicle is less than or equal to a preset condensation value, it indicates that the vehicle does not need defogging. At this time, the vehicle control device controls the vehicle's air conditioning, windshield wipers and warning lights to turn off, saving resources during the defogging process. In addition, by controlling the target defogging device and warning lights based on the judgment conditions, the intelligentization of the vehicle's defogging and warning functions is realized.
[0196] For example, in order to ensure that the S311 vehicle can control the air conditioning, windshield wipers and warning lights to turn off when the fog concentration value is less than or equal to a preset concentration threshold and the condensation value inside and outside the vehicle is less than or equal to a preset condensation value, it is necessary to determine whether there is dust, obstructions or water droplets on the detection device (e.g., front camera) through the driving environment image before detecting the fog concentration value.
[0197] Optionally, the above-mentioned method for judging the detection device can be found in [reference needed]. Figure 3 The relevant descriptions of S210 and S220 will not be repeated here.
[0198] In one possible implementation, when a vehicle is detected to require defogging, the vehicle control system activates an assisted driving mode, enabling the vehicle to achieve autonomous or semi-autonomous driving according to a predetermined navigation trajectory, thereby improving driving safety in fog and ensuring normal vehicle operation.
[0199] In the embodiments of this application, the vehicle acquires environmental information of the interior and exterior of the vehicle through a front-facing camera, humidity sensor, and temperature sensor. The vehicle control system detects the fog concentration and defogging needs of the vehicle. When the fog concentration in the driving environment is detected to be greater than a preset concentration threshold and a defogging need is detected, the vehicle control system controls the vehicle's defogging device and warning lights to turn on. If, after controlling the defogging device and warning lights to turn on, the fog concentration is detected to be less than or equal to the preset fog concentration value and the vehicle does not need defogging, the vehicle's defogging device and warning lights are turned off. This achieves automatic detection of the vehicle's driving environment during vehicle operation, and when the conditions are met, controls the defogging device and warning lights to turn on, ensuring safe driving of the vehicle in foggy environments.
[0200] It should be understood that the above examples are provided to help those skilled in the art understand the embodiments of this application, and are not intended to limit the embodiments of this application to the specific values or scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of this application.
[0201] The above text combined Figures 1 to 4 The vehicle control method provided in the embodiments of this application is described in detail below; the following will be combined with Figures 5 to 6 The apparatus embodiments of this application are described in detail below. It should be understood that the apparatus in the embodiments of this application can execute the various control methods described in the foregoing embodiments of this application. That is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing control method embodiments.
[0202] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.
[0203] For example, such as Figure 5 As shown, the control device 400 includes:
[0204] The acquisition module 410 is used to acquire an image of the vehicle's driving environment if the vehicle is detected to be in motion.
[0205] The determination module 420 is used to determine the fog concentration value of the vehicle's driving environment based on the driving environment image;
[0206] The detection module 430 is used to detect whether the vehicle has a defogging requirement if the fog concentration value is greater than a preset concentration threshold.
[0207] The control module 440 is used to control the target defogging device and warning lights in the vehicle to turn on if a defogging requirement is detected in the vehicle.
[0208] Optionally, as an embodiment, the control module 440 is specifically used for:
[0209] If a vehicle is detected to require defogging, obtain the vehicle's current speed; based on the current speed, determine the target defogging device; and control the target defogging device and warning lights to turn on.
[0210] Optionally, as an embodiment, the determining module 420 is specifically used for:
[0211] If the current vehicle speed is greater than the preset vehicle speed threshold, the target defogging device is determined to include the vehicle's air conditioning and windshield wipers; if the current vehicle speed is less than or equal to the preset vehicle speed threshold, the target defogging device is determined to include the vehicle's air conditioning.
[0212] Optionally, as an embodiment, the determining module 420 is specifically used for:
[0213] The fog concentration value is determined based on the image clarity of the driving environment image.
[0214] Optionally, as an embodiment, the detection module 430 is specifically used for:
[0215] If the fog concentration value is greater than the preset concentration threshold, the vehicle's outside temperature, vehicle's inside temperature, and vehicle's outside humidity are obtained; based on the outside temperature, vehicle's inside temperature, and vehicle's outside humidity, the condensation value outside the vehicle is determined; if the condensation value outside the vehicle is greater than the preset condensation value, it is determined that the outside of the vehicle's windshield has a defogging requirement.
[0216] Optionally, as an embodiment, the detection module 430 is specifically used for:
[0217] If the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature, inside temperature, and inside humidity; determine the condensation value inside the vehicle based on the outside temperature, inside temperature, and inside humidity; if the condensation value inside the vehicle is greater than the preset condensation value, determine that the inside of the windshield in the vehicle has a defogging requirement; or, if the fog concentration value is greater than the preset concentration threshold, obtain the vehicle's outside temperature and the number of users in the vehicle; if the outside temperature is less than the preset temperature threshold and the number of users is greater than the preset user threshold, determine that the inside of the windshield in the vehicle has a defogging requirement.
[0218] Optionally, as an embodiment, the control module 440 is further configured to:
[0219] If the fog concentration is less than or equal to the preset concentration threshold, and the vehicle is detected to have no need for defogging, the target defogging device and warning light will be turned off.
[0220] It should be noted that the aforementioned control device 400 is embodied in the form of a functional unit. The term "module" here can be implemented in software and / or hardware, without specific limitations.
[0221] For example, a "module" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components that support the described functions.
[0222] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0223] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0224] For example, vehicle 500 includes processor 510, memory 520 and executable program code 530.
[0225] For example, vehicle 500 and Figure 1 Vehicle 110 in the text refers to the same vehicle.
[0226] For example, vehicle 500 includes one or more processors 510 that can support the vehicle control method in the method embodiment. The processor 510 can be a general-purpose processor or a special-purpose processor. For example, the processor 510 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0227] For example, processor 510 can be used to control vehicle 500, execute software programs, and process data from the software programs. Vehicle 500 may also include a communication unit for receiving and transmitting signals.
[0228] For example, the vehicle 500 may include one or more memories 520, on which executable program code 530 is stored. The executable program code 530 can be run by the processor 510 to generate instructions, causing the processor 510 to execute the methods described in the above method embodiments according to the instructions.
[0229] Optionally, the memory 520 may also store data. Optionally, the processor 510 may also read data stored in the memory 520, which may be stored at the same memory address as the executable program code 530, or the data may be stored at a different memory address than the executable program code 530.
[0230] For example, the processor 510 and memory 520 can be configured separately or integrated together, for example, integrated on the system on chip (SOC) of the terminal device.
[0231] For example, the memory 520 can be used to store related programs of the vehicle control method provided in the embodiments of this application, and the processor 520 can be used to call the executable program code 530 stored in the memory 520 when controlling the vehicle to execute the vehicle control method of the embodiments of this application; for example, if it is detected that the vehicle is in a driving state, the driving environment image of the vehicle is acquired; based on the driving environment image, the fog concentration value of the driving environment of the vehicle is determined; if the fog concentration value is greater than a preset concentration threshold, it is detected whether the vehicle has a defogging requirement; if it is detected that the vehicle has a defogging requirement, the target defogging device and warning light in the vehicle are controlled to turn on.
[0232] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the vehicle control method of any of the foregoing embodiments.
[0233] The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROM), microdrives, and magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), dynamic random access memory (DRAM), video random access memory (VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0234] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a vehicle control method as described in the above embodiments.
[0235] In addition, the vehicle provided in the embodiments of this application may specifically be a chip, component or module. The vehicle may include a connected processor and a memory. The memory is used to store instructions. When the vehicle is running, the processor may call and execute the instructions to make the chip execute a vehicle control method in the above embodiments.
[0236] The vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding control method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding control method provided above, and will not be repeated here.
[0237] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0238] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0239] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for controlling a vehicle, characterized in that, The method includes: If the vehicle is detected to be in motion, an image of the vehicle's driving environment is acquired; Based on the driving environment image, determine the fog concentration value of the driving environment of the vehicle; If the fog concentration value is greater than a preset concentration threshold, detect whether the vehicle has a defogging requirement; If the vehicle is detected to have the defogging requirement, obtain the vehicle's current speed; If the current vehicle speed is greater than a preset vehicle speed threshold, the target defogging device of the vehicle is determined to include the vehicle's air conditioning and windshield wiper devices; If the current vehicle speed is less than or equal to a preset vehicle speed threshold, it is determined that the target defogging device includes the vehicle's air conditioning. Control the target defogging device and the vehicle's warning lights to turn on.
2. The method according to claim 1, characterized in that, Determining the fog concentration value of the vehicle's driving environment based on the driving environment image includes: The fog concentration value is determined based on the image clarity of the driving environment image.
3. The method according to claim 1 or 2, characterized in that, If the fog concentration value is greater than a preset concentration threshold, the step of detecting whether the vehicle has a defogging requirement includes: If the fog concentration value is greater than the preset concentration threshold, the vehicle's outside temperature, vehicle's inside temperature, and vehicle's outside humidity are obtained. The condensation value outside the vehicle is determined based on the outside temperature, the inside temperature, and the outside humidity. If the condensation value outside the vehicle is greater than the preset condensation value, it is determined that the outer side of the windshield of the vehicle has the required defogging.
4. The method according to claim 1 or 2, characterized in that, If the fog concentration value is greater than a preset concentration threshold, the step of detecting whether the vehicle has a defogging requirement includes: If the fog concentration value is greater than the preset concentration threshold, the vehicle's outside temperature, vehicle's inside temperature, and vehicle's inside humidity are obtained. The condensation value inside the vehicle is determined based on the outside temperature, the inside temperature, and the inside humidity. If the condensation level inside the vehicle is greater than a preset condensation level, it is determined that the inside of the windshield in the vehicle has the required defogging function; or, If the fog concentration value is greater than the preset concentration threshold, obtain the outside temperature of the vehicle and the number of users in the vehicle; If the outside temperature is less than a preset temperature threshold and the number of users is greater than a preset user threshold, it is determined that the inside of the windshield of the vehicle has the defogging requirement.
5. The method according to claim 1 or 2, characterized in that, Also includes: If the fog concentration value is less than or equal to the preset concentration threshold, and it is detected that the vehicle does not have the defogging requirement, the target defogging device and the warning light are turned off.
6. A vehicle control device, characterized in that, The control device includes: The acquisition module is used to acquire an image of the vehicle's driving environment if the vehicle is detected to be in motion. The determination module is used to determine the fog concentration value of the driving environment of the vehicle based on the driving environment image; The detection module is used to detect whether the vehicle has a defogging requirement if the fog concentration value is greater than a preset concentration threshold. The control module is configured to, if a vehicle is detected to have the defogging requirement, obtain the current vehicle speed; if the current vehicle speed is greater than a preset vehicle speed threshold, determine that the target defogging device of the vehicle includes the vehicle's air conditioning and windshield wipers; if the current vehicle speed is less than or equal to the preset vehicle speed threshold, determine that the target defogging device includes the vehicle's air conditioning; and control the target defogging device and the vehicle's warning lights to turn on.
7. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle to perform the control method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the control method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Demisting control method, device and equipment for vehicle
CN105235646A
Demisting method, demisting device and vehicle
CN114103875A