Vehicle defogging method, device, controller, vehicle, and storage medium
By automatically determining windshield fogging using image acquisition equipment and environmental parameters, and controlling the air vents to deliver air in a directional manner, this method solves the delays and safety hazards of traditional vehicle defogging methods, achieving automated and precise defogging treatment and improving driving safety and comfort.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHUHAI GUANGTONG AUTOMOBILE
- Filing Date
- 2025-11-06
- Publication Date
- 2026-07-24
Smart Images

Figure CN121404175B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle defogging technology, and more specifically, to a vehicle defogging method, apparatus, controller, vehicle, and storage medium. Background Technology
[0002] During vehicle operation, a clear view of the road ahead is a crucial factor in ensuring driving safety. As the primary observation window, the windshield's transparency and clarity directly impact the driver's ability to judge road conditions, traffic signals, pedestrians, and other vehicles. Any obstruction of vision, even partially or temporarily, can lead to delayed reaction times, increasing the risk of collisions or lane departures, especially at high speeds, in inclement weather, or at night with insufficient lighting. Therefore, keeping the windshield clear at all times is not only essential for enhancing driving comfort but also a core element of ensuring active safety.
[0003] Currently, most vehicles still rely on driver intervention to defog the windshield. Typically, when a driver notices fog on the inside of the glass obstructing their vision, they need to manually activate the air conditioning system's defogger function and adjust the airflow parameters to accelerate the evaporation of moisture from the glass surface.
[0004] However, these traditional defogging methods have obvious limitations. Since the entire process relies on manual judgment of the fogging situation and defogging operation, there may be certain safety hazards due to the driver's subjective perception delay or distraction. Summary of the Invention
[0005] In view of this, the purpose of this application is to provide a vehicle defogging method, device, controller, vehicle and storage medium to automatically and timely defog the windshield of the vehicle during driving, thereby ensuring driving safety.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:
[0007] In a first aspect, this application provides a vehicle defogging method, applied to a controller in a vehicle, wherein the vehicle is also equipped with an image acquisition device and multiple air vents, and the controller is communicatively connected to the image acquisition device and each of the air vents, the method comprising:
[0008] The windshield image captured by the image acquisition device is acquired in real time. If the windshield image indicates that the windshield of the vehicle is fogged up, the current internal and external environmental parameters of the vehicle are acquired.
[0009] The current degree of fogging and airflow parameters of the windshield are determined based on the current internal and external environmental parameters of the vehicle.
[0010] The fogging area of the windshield is determined based on the degree of fogging and the windshield image, and the target air outlet and target air outlet angle corresponding to the fogging area are determined based on the degree of fogging.
[0011] The target air outlet is controlled to discharge air according to the target air outlet angle and the air outlet parameters in order to defog the fogged area.
[0012] In an optional implementation, the controller stores the correspondence between internal and external environmental parameters and the degree of fogging and airflow parameters; determining the current degree of fogging and airflow parameters of the windshield based on the vehicle's current internal and external environmental parameters includes:
[0013] Based on the vehicle's current internal and external environmental parameters and the corresponding relationship, the current fogging degree and airflow parameters of the windshield are determined; wherein, the internal and external environmental parameters include the outside temperature, the inside temperature, and the inside humidity; the fogging degree includes light fogging, moderate fogging, and heavy fogging; and the airflow parameters include airflow temperature, airflow speed, and airflow humidity.
[0014] In an optional implementation, the correspondence includes a first correspondence and a second correspondence, wherein the outlet air temperature and outlet air humidity in the first correspondence are determined based on the defogging efficiency, and the outlet air temperature and outlet air humidity in the second correspondence are determined based on the human body's comfortable temperature and humidity.
[0015] The step of determining the current fogging level and airflow parameters of the windshield based on the vehicle's current internal and external environmental parameters and the corresponding relationship includes:
[0016] Determine whether to enable Comfort Defogging Mode;
[0017] Without activating the comfort defogging mode, the current degree of fogging and airflow parameters of the windshield are determined based on the vehicle's current internal and external environmental parameters and the first correspondence.
[0018] When the comfort defogging mode is activated, the current degree of fogging and airflow parameters of the windshield are determined based on the vehicle's current internal and external environmental parameters and the second correspondence.
[0019] In an optional embodiment, the windshield includes a front windshield, and the vehicle is further equipped with an outside temperature sensor, a temperature and humidity sensor at the top of the A-pillar, a temperature and humidity sensor at the bottom of the A-pillar, and a temperature and humidity sensor on the dashboard. The outside temperature sensor is used to acquire the outside temperature, and the temperature and humidity sensors at the top of the A-pillar, the bottom of the A-pillar, and the dashboard are all used to acquire the inside temperature and the inside humidity.
[0020] In an optional implementation, determining the fogging area of the windshield based on the degree of fogging and the windshield image, and determining the target air outlet and the target air outlet angle corresponding to the fogging area based on the degree of fogging, includes:
[0021] The windshield image is divided into regions based on the degree of fogging to obtain multiple grid regions, and the air outlet and air outlet angle corresponding to each grid region are determined according to the degree of fogging; wherein, the higher the degree of fogging, the fewer grid regions corresponding to the windshield image.
[0022] At least one grid area where fogging occurs is identified as the fogging area, and the target air outlet and target air outlet angle corresponding to the fogging area are determined.
[0023] In an optional implementation, each target air outlet corresponds to at least one fogging area; controlling the target air outlet to discharge air according to the target air outlet angle and the air outlet parameters to defog the fogging area includes:
[0024] The priority and defogging time of each fogging area are determined based on the degree of fogging; the priority represents the visual importance of the fogging area.
[0025] For each target air outlet, the target air outlet angles corresponding to each fogging area are sorted according to the priority of each fogging area corresponding to the target air outlet.
[0026] According to the order of the target air outlet angles, the defogging time corresponding to each fogging area, and the air outlet parameters, the air outlet of the target air outlet is controlled to defog the fogging areas corresponding to the target air outlet.
[0027] In an optional embodiment, the vehicle is further equipped with an onboard air conditioner, and the method further includes:
[0028] The vehicle's interior temperature, interior air pressure, interior humidity, and exterior temperature are obtained.
[0029] The current dew point of the vehicle interior environment is determined based on the vehicle interior temperature, the vehicle interior air pressure, and the vehicle interior relative humidity.
[0030] If the outside temperature is lower than the dew point inside the vehicle, the vehicle air conditioner is turned on to prevent fogging of the windshield.
[0031] Secondly, this application provides a vehicle defogging device, applied to a controller in a vehicle, wherein the vehicle is also equipped with an image acquisition device and multiple air vents, and the controller is communicatively connected to the image acquisition device and each of the air vents, the device comprising:
[0032] The acquisition module is used to acquire the windshield image captured by the image acquisition device in real time. If the windshield image indicates that the windshield of the vehicle is fogged up, the current internal and external environmental parameters of the vehicle are acquired.
[0033] The determination module is used to determine the current degree of fogging and airflow parameters of the windshield based on the current internal and external environmental parameters of the vehicle.
[0034] The determining module is further configured to determine the fogging area of the windshield based on the degree of fogging and the windshield image, and to determine the target air outlet and target air outlet angle corresponding to the fogging area based on the degree of fogging.
[0035] The control module is used to control the target air outlet to discharge air according to the target air outlet angle and the air outlet parameters in order to defog the fogged area.
[0036] Thirdly, this application provides a controller, including a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the method described in any of the foregoing embodiments.
[0037] Fourthly, this application provides a vehicle including the controller described in the foregoing embodiments. The vehicle is also provided with an image acquisition device and a plurality of air outlets, and the controller is communicatively connected to the image acquisition device and each of the air outlets.
[0038] Fifthly, this application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any of the foregoing embodiments.
[0039] The vehicle defogging method, apparatus, controller, vehicle, and storage medium provided in this application embodiment first acquire windshield images captured by an image acquisition device in real time, and determine whether fogging exists based on the windshield images. When the image indicates that fogging has occurred on the windshield, the controller immediately triggers the acquisition of current internal and external environmental parameters of the vehicle. These internal and external environmental parameters can be used to determine the current degree of fogging and the corresponding airflow parameters. Based on this, the controller can combine the determined degree of fogging with the specific content of the windshield image to further analyze and delineate the actual fogging area on the glass surface, and determine the target air outlet to be activated and its target airflow angle according to the degree of fogging. This allows the controller to control the target air outlet to deliver air in a directional manner according to the predetermined airflow angle and airflow parameters, and to perform precise defogging on the identified fogging area. In this way, the windshield can be identified and defogging can be carried out in a timely manner through images, avoiding the delay caused by relying on the driver's subjective perception. At the same time, by dynamically judging the internal and external environmental parameters, the fogging situation can be accurately assessed, thereby allocating appropriate air outlets, air outlet angles and air outlet parameters for the fogging process, improving defogging efficiency and ensuring driving safety.
[0040] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0041] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 A block diagram of a vehicle provided in an embodiment of this application is shown;
[0043] Figure 2 A block diagram of a controller provided in an embodiment of this application is shown;
[0044] Figure 3 This paper illustrates a flowchart of a vehicle defogging method provided in an embodiment of this application.
[0045] Figure 4 A structural diagram of the vehicle's windshield is shown.
[0046] Figure 5 A schematic diagram of the grid area corresponding to light fogging is shown;
[0047] Figure 6 A schematic diagram of the grid area corresponding to moderate fogging is shown;
[0048] Figure 7 A schematic diagram of the grid region corresponding to severe fogging is shown;
[0049] Figure 8 A schematic diagram of the air outlet elevation angle control is shown;
[0050] Figure 9 This diagram illustrates the field of view division corresponding to the national standard.
[0051] Figure 10 A functional block diagram of a vehicle defogging device provided in an embodiment of this application is shown. Detailed Implementation
[0052] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can be arranged and designed in various different configurations.
[0053] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0054] It should be noted that relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0055] Figure 1 For a block diagram of the vehicle provided in the embodiments of this application, please refer to... Figure 1 The vehicle includes a controller, an image acquisition device, and multiple air outlets, with the controller communicating with both the image acquisition device and each air outlet.
[0056] Alternatively, the image acquisition device can be a high-definition camera used to capture images of the vehicle's windshield.
[0057] In this embodiment, the vehicle is also equipped with an air outlet stepper motor for adjusting the air outlet angle. Furthermore, the vehicle is also equipped with sensors and an onboard air conditioner to acquire internal and external environmental parameters via the sensors and to regulate the temperature and humidity inside the vehicle via the onboard air conditioner.
[0058] exist Figure 1 On this basis, Figure 2 For a block diagram of the controller provided in the embodiments of this application, please refer to [link / reference]. Figure 2 The controller includes a memory, a processor, and a communication module. These components are electrically connected directly or indirectly to enable data transmission or interaction. For example, they can be electrically connected via one or more communication buses or signal lines.
[0059] The memory is used to store computer programs or data that can be executed by the processor. The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc.
[0060] The processor is used to read / write data or computer programs stored in the memory, and execute the computer program to implement the vehicle defogging method provided in the embodiments of this application.
[0061] The communication module is used to establish communication connections between the controller and other communication terminals via the network, and to send and receive data via the network.
[0062] It should be understood that, Figure 2 The structure shown is only a schematic diagram of the controller; the controller may also include a ratio Figure 2 The more or fewer components shown, or having the same Figure 2 The different configurations shown. Figure 2 The components shown can be implemented using hardware, software, or a combination thereof.
[0063] The following is based on the above. Figure 1 The controller in the diagram is the execution entity. The vehicle defogging method provided in this application embodiment will be described executively with reference to the flowchart. Specifically, Figure 3 For a schematic flowchart of a vehicle defogging method provided in an embodiment of this application, please refer to [link / reference]. Figure 3 The method includes:
[0064] Step S20: Acquire the windshield image captured by the image acquisition device in real time. If the windshield image indicates that the windshield of the vehicle is fogged up, then acquire the current internal and external environmental parameters of the vehicle.
[0065] Optionally, the controller can continuously receive images of the windshield area captured by a high-definition image camera, the image data reflecting the current visual clarity and surface condition of the windshield.
[0066] During the execution of the above steps, the controller performs image processing and analysis on the image to identify whether fog features appear. For example, by comparing visual features such as blurriness, decreased contrast, or halo diffusion in local areas of the image, and combining them with preset image recognition algorithms or machine learning models, it determines whether fog has formed on the windshield.
[0067] In practical applications, this machine learning model can be trained using a large number of windshield image samples under both foggy and fog-free conditions to improve recognition accuracy and response speed. When the image analysis results indicate that the windshield is fogged, the controller can immediately obtain the vehicle's current internal and external environmental parameters for further processing.
[0068] This demonstrates that this step enables direct and proactive perception of fogging conditions, avoiding the delays and uncertainties caused by relying on manual judgment by the driver. It ensures that the system can respond promptly in the early stages of fogging, providing a reliable prerequisite for subsequent precise defogging control based on environmental parameters.
[0069] Step S21: Determine the current degree of fogging on the windshield and the airflow parameters based on the current internal and external environmental parameters of the vehicle.
[0070] Optionally, the degree of fogging is a quantitative or classification index reflecting the severity of water vapor condensation on the windshield surface, and the air supply parameters refer to a set of adjustable physical quantities used to control the air supply status of the vehicle's air conditioning system outlets. These are specific air supply parameters set to achieve effective defogging.
[0071] In this embodiment, the controller can dynamically determine the current fogging level and air outlet parameters based on the vehicle's current internal and external environmental parameters. Therefore, it can autonomously select the optimal response scheme under different environmental conditions, ensuring that the air outlet parameters of each air outlet meet the current environmental conditions during defogging. This improves the adaptability of the air outlet parameters to the environment and the defogging efficiency, while also avoiding frequent operation by the driver, further improving driving safety.
[0072] Step S22: Determine the fogging area of the windshield based on the degree of fogging and the windshield image, and determine the target air outlet and target air outlet angle corresponding to the fogging area based on the degree of fogging.
[0073] Step S23: Control the target air outlet to discharge air according to the target air outlet angle and air outlet parameters in order to defog the fogged area.
[0074] During the execution of the above steps, the controller can first acquire real-time images of the windshield through the image acquisition device, and identify the specific location of the fog layer by combining the determined degree of fogging. Then, it determines the target air outlet and target air outlet angle required for defogging at the specific location, and controls the target air outlet to discharge air according to the target air outlet angle and the previously determined air outlet parameters, so as to perform targeted defogging on the fogged area.
[0075] Understandably, through this method, the controller can determine the specific target air outlet and target air outlet angle according to the actual fogging situation and deliver targeted air to the specific fogging area on demand. Therefore, it can improve the targeting and responsiveness of the defogging process and reduce energy consumption while ensuring the defogging effect.
[0076] The vehicle defogging method provided in this application embodiment involves a controller first acquiring real-time images of the windshield from an image acquisition device. Based on these images, the controller determines whether fogging exists. When the image indicates windshield fogging, it triggers the acquisition of current internal and external environmental parameters. These parameters determine the degree of fogging and corresponding airflow parameters. Furthermore, the controller combines the determined fogging degree with the specific content of the windshield image to further analyze and delineate the actual fogging area on the glass surface. Based on the fogging degree, the controller determines the target air outlet and its target airflow angle to be activated. This allows the target air outlet to deliver air in a directional manner according to the predetermined airflow angle and parameters, precisely defogging the identified fogging area. This allows for timely identification and defogging of the windshield through images, avoiding delays caused by relying on the driver's subjective perception. Simultaneously, dynamic judgment using internal and external environmental parameters allows for accurate assessment of the fogging situation, enabling the allocation of appropriate air outlets, airflow angles, and airflow parameters to improve defogging efficiency and ensure driving safety.
[0077] The following section provides a possible approach to determining the current degree of fogging on the windshield and the airflow parameters based on the vehicle's current internal and external environmental parameters.
[0078] Specifically, the controller can store the correspondence between internal and external environmental parameters and fogging degree and air outlet parameters. The controller can then determine the current fogging degree and air outlet parameters of the windshield based on the vehicle's current internal and external environmental parameters and the corresponding relationship.
[0079] Among them, the internal and external environmental parameters include the outside temperature, the inside temperature and the inside humidity, the degree of fogging includes light fogging, moderate fogging and heavy fogging, and the air outlet parameters include the air outlet temperature, the air outlet speed and the air outlet humidity.
[0080] In this embodiment, a mapping logic based on multi-dimensional environmental input can be established by establishing the correspondence between internal and external environmental parameters and fogging degree and air outlet parameters, so as to realize automated decision control of the defogging process.
[0081] During the execution of the above steps, the controller, as the core unit of the system, can pre-store a dataset relating internal and external environmental parameters such as in-vehicle temperature, outside temperature, and in-vehicle humidity to the degree of fogging and corresponding airflow parameters. In one possible implementation, this correspondence can be obtained through experimental calibration or simulation modeling, reflecting the severity of possible fogging on the windshield under different temperature and humidity combinations and the optimal airflow strategy required to match it.
[0082] In this embodiment, the internal and external environmental parameters include outside temperature, inside temperature, and inside humidity. These parameters are collected in real time by sensors distributed inside and outside the vehicle and transmitted to the controller. The inside temperature and humidity refer to the temperature and humidity at the windshield, which can be determined according to the above... Figure 2 The temperature and humidity sensors at the top and bottom of the A-pillar, as well as the temperature and humidity sensor on the dashboard, are used to determine, for example, the average value of the parameters collected by these sensors.
[0083] When fogging is detected in the windshield image, the controller can immediately call the currently collected internal and external environmental parameters as input variables, and perform pattern matching or table lookup operations in combination with the internally stored corresponding relationships, thereby outputting the corresponding fogging degree judgment result and the matching air outlet parameter combination. Therefore, the accuracy of parameter setting can be improved, avoiding the problem of inaccurate parameters caused by user-set parameters in the existing technology.
[0084] The degree of fogging here can be divided into three levels: light fogging, moderate fogging, and heavy fogging. These levels are used to characterize the current fog coverage area and visual impact on the windshield surface. The air supply parameters cover three control dimensions: air supply temperature, air supply speed, and air supply humidity, to ensure that the air supply conditions can effectively cope with fogging conditions of different intensities.
[0085] Optionally, the outlet air temperature can be in the range of 16℃ to 30℃, the outlet air velocity can be in the range of 0m / s to 8m / s, and the outlet air humidity can be in the range of 10% to 50%.
[0086] In one possible implementation, mild fogging refers to slight condensation of water vapor in localized areas of the windshield, manifested as a few scattered fog spots or slight blurring on the glass surface, which has not yet significantly affected the overall light transmittance and image clarity; moderate fogging refers to an expanded fog coverage area, forming a continuous thin fog on the glass surface, resulting in enhanced light scattering and a significant decrease in the driver's long-distance visual clarity, especially at night or in low-light conditions; severe fogging refers to a large area or even the entire area of the windshield being covered by a dense fog layer, significantly reducing light transmittance, severely obstructing the driver's forward vision, and only allowing the driver to perceive blurry halos or outlines.
[0087] Understandably, mild fogging usually occurs in the initial stage of a temperature and humidity difference and can be eliminated with only localized low-intensity airflow. Moderate fogging typically corresponds to a further condensation process caused by the continuous contact of warm, humid air inside the vehicle with the cold glass surface, requiring the activation of multiple air vents and an increase in airflow temperature and speed for effective removal. Severe fogging often occurs under conditions of large temperature differences between the inside and outside of the vehicle and extremely high humidity inside the vehicle, necessitating the activation of a full-area high-power airflow mode and a rapid increase in airflow temperature to accelerate moisture evaporation.
[0088] In practical applications, the above correspondence can be represented in the form of a structured data table, where each combination of outside temperature, inside temperature and inside humidity corresponds to a clear fogging risk level and the corresponding air outlet temperature range, fan speed level and air outlet humidity setting.
[0089] For example, when the outside temperature is below 8°C, the inside temperature is 10-15°C, and the relative humidity inside the vehicle exceeds 60%, the controller can determine a slight risk of fogging and configure operating parameters such as an air outlet temperature between 18-25°C, a fan speed of level one, and an air outlet relative humidity of 50%. In this embodiment, it is considered that different users may have significant differences in behavioral preferences when facing fogging: some users are more concerned about the speed of defogging response and hope that the system can quickly clear the fog layer with maximum efficiency to ensure that the visibility is restored as soon as possible; while other users pay more attention to the driving comfort during the defogging process and tend to avoid problems such as facial dryness and physical discomfort caused by high temperature and strong wind. The above differences stem from the different trade-offs between safety and comfort priorities, which constitute the diverse needs in actual use scenarios.
[0090] Based on this, the defogging function in the vehicle can be set to two defogging modes, namely comfort defogging mode and normal defogging mode. The correspondence can include a first correspondence and a second correspondence. In the first correspondence, the air outlet temperature and air outlet humidity are determined according to the defogging efficiency, and in the second correspondence, the air outlet temperature and air outlet humidity are determined according to the human body's comfortable temperature and humidity.
[0091] Understandably, the first correspondence takes defogging efficiency as its core objective, and its configuration strategy for air outlet temperature and humidity focuses on shortening the fog removal time, which is suitable for users who are sensitive to response speed. The second correspondence is set based on the human body's comfortable temperature and humidity range. By controlling the air supply temperature and relative humidity within the range that the human body can perceive, the negative impact of the defogging process on the in-vehicle microenvironment is reduced, thereby meeting the needs of users who value comfort.
[0092] In this situation, the controller can determine whether the user has activated the comfort defogging mode. If the comfort defogging mode is not activated, it determines the current degree of fogging on the windshield and the airflow parameters based on the vehicle's current internal and external environmental parameters and the first correspondence. If the comfort defogging mode is activated, it determines the current degree of fogging on the windshield and the airflow parameters based on the vehicle's current internal and external environmental parameters and the second correspondence.
[0093] In one example, the first correspondence can be represented as Table 1 below, and the second correspondence can be represented as Table 2 below.
[0094] Table 1
[0095]
[0096] Table 2
[0097]
[0098] Understandably, by setting two different correspondences and dynamically calling them according to the mode selection, a flexible balance between defogging performance and driving comfort can be achieved.
[0099] In this embodiment, the above steps not only solve the problem that the traditional defogging process can easily cause the deterioration of the in-vehicle environment, but also give users the right to choose the operating strategy according to their actual preferences or environmental conditions, thereby further improving the level of intelligence of human-computer interaction and the quality of user experience while ensuring driving safety.
[0100] In one possible implementation, in this embodiment, since the road conditions ahead, the dynamics of vehicles approaching from both sides, and the traffic conditions behind all depend on the light transmittance and surface cleanliness of the windshield, side windows, and rear windshield, the windshield here can include the windshield, side windows, and rear windshield.
[0101] In this embodiment, Figure 4 Please refer to the structural diagram of the vehicle's windshield. Figure 4The vehicle is equipped with a high-definition camera on the windshield area to capture images of the windshield, and a thermal imaging camera to help detect the temperature distribution on the windshield surface, thus aiding in the assessment of the internal and external environment. In addition, multiple air vents can be positioned in different areas of the dashboard to defog different areas of the windshield.
[0102] In this embodiment, multiple sensors can be installed inside and outside the vehicle to acquire environmental parameters of the vehicle's interior and exterior. For example, an exterior temperature sensor can be installed outside the vehicle, and temperature and humidity sensors can be installed inside the vehicle, such as the temperature and humidity sensor at the top of the A-pillar, the temperature and humidity sensor at the bottom of the A-pillar, the temperature and humidity sensor on the dashboard, and the temperature and humidity sensor at the driver's side.
[0103] Among them, the temperature and humidity sensors at the top and bottom of the A-pillar, and the temperature and humidity sensor on the dashboard can be used together to determine the temperature and humidity inside the vehicle at the windshield. For example, the average value of the parameters obtained by these three sensors can be used to determine the interior temperature and humidity at the windshield. The temperature and humidity sensor at the driver's location can be used to determine the driver's comfort level and control the vehicle's air conditioning to adjust the interior environment when the driver may be in a state of excessive cold, heat, humidity, or dryness.
[0104] The following provides a possible implementation method for determining the fogged area of the windshield based on the degree of fogging and the windshield image, and for determining the target air outlet and target air outlet angle corresponding to the fogged area based on the degree of fogging.
[0105] In this embodiment, the controller can divide the windshield image into regions according to the degree of fogging to obtain multiple grid regions, and determine the air outlet and air outlet angle corresponding to each grid region according to the degree of fogging; wherein, the higher the degree of fogging, the fewer grid regions corresponding to the windshield image; at least one grid region with fogging is determined as a fogging region, and the target air outlet and target air outlet angle corresponding to the fogging region are determined.
[0106] During the above steps, the controller can first divide the windshield into m*n regions, obtaining multiple grid areas. It should be noted that this region division method is not static, but is adjusted according to changes in the degree of fogging.
[0107] Specifically, when the fog level is low, the controller divides the windshield into more grid areas to achieve fine-grained identification and response to localized minor fogging. As the fog level increases, the system correspondingly reduces the number of grid areas, thereby expanding the coverage of a single grid, improving control efficiency, and ensuring rapid response to large-area fogging. This division strategy matches the granularity of image processing with the actual defogging control requirements, balancing recognition accuracy and system response speed.
[0108] In one example Figure 5 This is a schematic diagram of the grid area corresponding to light fogging. Figure 6 This is a schematic diagram of the grid area corresponding to moderate fog. Figure 7 For a schematic diagram of the grid area corresponding to severe fogging, please refer to [link / reference]. Figures 5-7 For light fogging, the windshield can be divided into a 4x5 grid area; for moderate fogging, it can be divided into a 3x3 grid area; and for heavy fogging, it can be divided into a 2x1 grid area.
[0109] In this embodiment, the controller also stores the correspondence between each grid area and the air outlet and air outlet angle under different fogging levels.
[0110] Optionally, each air outlet may correspond to multiple grid areas, and the specific correspondence between the air outlet and each grid area can be achieved by adjusting the air outlet angle. In addition, each area may also correspond to multiple air outlets, and efficient defogging can be achieved by coordinating the airflow from multiple air outlets.
[0111] In one example, the vehicle can be equipped with 5 air outlets, and the correspondence between each grid area and each air outlet and air outlet angle is shown in Table 3 below.
[0112] Table 3
[0113]
[0114] Please refer to Table 3. For example, in the case of light fogging, air outlet I can correspond to four areas: A1, A2, A3 and A4. Air outlet I can be adjusted to defog any of the A1, A2, A3 or A4 areas by adjusting the air outlet angle. For example, when the upward angle is 40°-50°, air outlet I can defog the A1 area.
[0115] Figure 8 Please refer to the schematic diagram for the air outlet tilt angle control. Figure 8 The controller can adjust the air outlet angle by adjusting the upward tilt of the air outlet, thereby achieving defogging for different areas of the windshield.
[0116] In this embodiment, after completing the region division, the controller can further analyze whether fog exists in each grid region. For example, based on the windshield image acquired by the image acquisition device, areas with decreased light transmittance or blurred texture are identified through image comparison, blur analysis, or machine learning models. One or more grid regions with fogging are determined as fogging regions, and combined with a pre-set mapping relationship, the target air outlet corresponding to each fogging region and its corresponding target air outlet angle range are determined.
[0117] For example, in the case of light fogging, the controller can divide the windshield into the aforementioned areas. Figure 5 As shown in the multiple grid cells, when area B3 is identified as having a fog layer, the controller can determine that outlet II is the target outlet with a target air outlet angle of 5°~25°. Then, outlet II is triggered to blow air at an angle of 5°~25° so that the airflow is accurately blown to the area. Other grid areas where fog has not formed will not trigger the operation of the corresponding outlet, thereby achieving on-demand air supply.
[0118] Therefore, the core of the above steps lies in establishing a dynamic relationship between the degree of fogging and the granularity of image segmentation, and on this basis, achieving precise matching between the fogging area and the air outlet actuator.
[0119] Understandably, different areas of the windshield have significantly different levels of importance to the driver's field of vision while the vehicle is in motion. Figure 9 Please refer to the diagram showing the field of view division corresponding to the national standard. Figure 9 The core area (Area A or Area AB) located directly in front of the driver is the key visual channel for observing road conditions, recognizing traffic signals, and determining the driving route. Its clarity is directly related to driving safety.
[0120] In practical applications, there may be situations where one air outlet corresponds to at least one fogging area. Considering that different fogging areas may be located within different fields of vision, and these different fields of vision may have different importance to the driver while driving, it is necessary to prioritize defogging of the corresponding locations to ensure clarity within the driver's core field of vision. In this embodiment, the controller can first determine the priority and defogging time of each fogging area based on the degree of fogging. Then, for each target air outlet, the controller sorts the target air outlet angles corresponding to each fogging area according to the priority of the fogging areas corresponding to that target air outlet. Based on the order of the target air outlet angles, the defogging time of each fogging area, and the air outlet parameters, the controller controls the airflow from the target air outlet to defog the fogging areas corresponding to the target air outlet.
[0121] Understandably, priority characterizes the visibility importance of foggy areas.
[0122] Optionally, the defogging time for each grid area under different fog levels can be set according to the actual application. For example, the defogging time for each grid area can be set to be the same, 5 minutes, or under the same fog level, the defogging time for grid areas with higher priority can be set to be longer, and the defogging time for grid areas with lower priority can be set to be shorter.
[0123] In one possible implementation, the controller can store the correspondence between each fogging area and its priority under various fogging levels. In one example, Table 4 shows the priority of each air outlet for defogging each grid area under different fogging risks; please refer to Table 4.
[0124] Table 4
[0125]
[0126] For example, if the fogging level is light and the fogging areas are A1, A2, A3, A4 and B1, B2, B3, B4, then the controller can determine the air outlet sequence as A3, A2, A4, A1 for outlet I according to Tables 3 and 4 above, thereby determining the air outlet angles of outlet I as 5°-25°, 25°-40°, -10°-5°, 40°-50° respectively, and determine the air outlet sequence as B3, B2, B4, B1 for outlet II, thereby determining the air outlet angles of outlet II as 5°-25°, 25°-40°, -10°-5°, 40°-50° respectively. Based on this, the controller can control air outlets I and II to discharge air in the above-mentioned angle sequence according to the defogging time corresponding to A1, A2, A3, A4 and B1, B2, B3, B4 and the previously determined air outlet parameters, thereby defogging A3, A2, A4, A1 and B3, B2, B4, B1 in sequence.
[0127] Understandably, the above steps effectively solve the problem of unreasonable airflow resource allocation in multi-area fogging scenarios by introducing linkage control logic between priority and defogging sequence. Especially when the number of air outlets is limited or there is overlapping coverage, it can still ensure that key visual areas receive timely and sufficient airflow coverage, avoiding the technical defect of continuous blurring of the main field of view due to defogging of non-critical areas first.
[0128] Considering that even after fogging is confirmed, defogging may still obstruct vision and pose a safety hazard, preventative measures can be taken. Specifically, the controller can acquire the vehicle's interior temperature, humidity, air pressure, and outside temperature. Based on these parameters, it determines the current dew point inside the vehicle. If the outside temperature is lower than the dew point, the vehicle's air conditioning is activated to prevent fogging on the windshield.
[0129] In this embodiment, the dew point of the vehicle interior environment refers to the temperature value corresponding to the air being cooled to saturation (relative humidity reaching 100%) under constant air pressure conditions. It can be determined by standard thermodynamic formulas or a preset lookup table method. During this process, the controller can use multiple temperature and humidity sensors distributed throughout the vehicle to collect real-time data to improve the accuracy and representativeness of parameter sampling.
[0130] The controller then compares the calculated dew point inside the vehicle with the outside temperature obtained from the outside temperature sensor. If the outside temperature is lower than the dew point inside the vehicle, it indicates that when the low-temperature outside environment comes into contact with the high-humidity air inside the vehicle, water vapor is highly likely to condense on the inner surface of the windshield, thus triggering the risk of fogging. Based on this judgment logic, the controller can automatically turn on the vehicle's air conditioning, adjust the airflow mode and air humidity, reduce the absolute humidity inside the vehicle, or adjust the microclimate near the glass surface to avoid the formation of water vapor condensation conditions.
[0131] To perform the corresponding steps in the above embodiments and various possible methods, an implementation of a vehicle defogging device is given below. Optionally, the vehicle defogging device can adopt the above-described... Figure 2 The device structure of the controller is shown. Further, please refer to... Figure 10 , Figure 10 This is a functional block diagram of a vehicle defogging device provided in an embodiment of this application. It should be noted that the basic principle and technical effects of the vehicle defogging device provided in this embodiment are the same as those in the above embodiments. For the sake of brevity, any parts not mentioned in this embodiment can be referred to the corresponding content in the above embodiments. The vehicle defogging device includes: an acquisition module, a determination module, and a control module.
[0132] The acquisition module is used to acquire windshield images captured by the image acquisition device in real time. If the windshield image indicates that the windshield of the vehicle is fogged up, the module acquires the current internal and external environmental parameters of the vehicle.
[0133] Understandably, this acquisition module can be used to perform the above step S20.
[0134] This determining module is used to determine the current degree of fogging and airflow parameters of the windshield based on the current internal and external environmental parameters of the vehicle.
[0135] Understandably, this determining module can be used to perform step S21 described above.
[0136] The determining module is also used to determine the fogging area of the windshield based on the degree of fogging and the windshield image, and to determine the target air outlet and the target air outlet angle corresponding to the fogging area based on the degree of fogging.
[0137] Understandably, this determining module can be used to perform step S22 described above.
[0138] The control module is used to control the target air outlet to discharge air according to the target air outlet angle and the air outlet parameters in order to defog the fogged area.
[0139] Understandably, this control module can be used to perform the above step S23.
[0140] Optionally, the determining module is also used to determine the current degree of fogging and air outlet parameters of the windshield based on the current internal and external environmental parameters and their corresponding relationships; wherein, the internal and external environmental parameters include the outside temperature, the inside temperature and the inside humidity, the degree of fogging includes light fogging, moderate fogging and heavy fogging, and the air outlet parameters include the air outlet temperature, the air outlet speed and the air outlet humidity.
[0141] Optionally, the determining module is also used to determine whether the comfort defogging mode is activated; when the comfort defogging mode is not activated, the current degree of fogging and airflow parameters of the windshield are determined based on the current internal and external environmental parameters of the vehicle and the first correspondence; when the comfort defogging mode is activated, the current degree of fogging and airflow parameters of the windshield are determined based on the current internal and external environmental parameters of the vehicle and the second correspondence.
[0142] Optionally, the determining module is further configured to divide the windshield image into regions based on the degree of fogging, obtain multiple grid regions, and determine the air outlet and air outlet angle corresponding to each grid region based on the degree of fogging; wherein, the higher the degree of fogging, the fewer grid regions corresponding to the windshield image; at least one grid region with fogging is determined as a fogging region, and the target air outlet and target air outlet angle corresponding to the fogging region are determined.
[0143] Optionally, the control module is also used to determine the priority and defogging time of each fogging area according to the degree of fogging; the priority represents the visibility importance of the fogging area; for each target air outlet, the target air outlet angle corresponding to each fogging area is sorted according to the priority of each fogging area corresponding to the target air outlet; and the air outlet is controlled to defog according to the order of each target air outlet angle, the defogging time corresponding to each fogging area and the air outlet parameters, so as to defog each fogging area corresponding to the target air outlet.
[0144] Optionally, the determining module is further configured to acquire the vehicle's interior temperature, interior air pressure, interior humidity, and exterior temperature; determine the current interior dew point based on the interior temperature, interior air pressure, and interior humidity; and if the exterior temperature is lower than the interior dew point, turn on the vehicle's air conditioning to prevent fogging on the windshield.
[0145] Optionally, the above modules can be stored in the form of software or firmware. Figure 3 The memory shown is either stored in or embedded in the operating system (OS) of the controller, and can be accessed by... Figure 2The processor executes the commands. Meanwhile, the data and program code required to execute these modules can be stored in memory.
[0146] This application also provides a storage medium storing a computer program thereon, which, when executed by a processor, can implement the vehicle defogging method provided in this application.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0148] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0149] If a function is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0150] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A vehicle defogging method, characterized in that, A controller used in a vehicle, the vehicle also being equipped with an image acquisition device and multiple air vents, the controller being communicatively connected to the image acquisition device and each of the air vents, the method comprising: The windshield image captured by the image acquisition device is acquired in real time. If the windshield image indicates that the windshield of the vehicle is fogged up, the current internal and external environmental parameters of the vehicle are acquired. Determine the current degree of fogging on the windshield and the airflow parameters based on the current internal and external environmental parameters of the vehicle. The windshield image is divided into regions based on the degree of fogging to obtain multiple grid regions. The air outlet and air outlet angle corresponding to each grid region are determined based on the degree of fogging. Each air outlet corresponds to multiple grid regions, and the air outlet angle is an upward angle. The higher the degree of fogging, the fewer grid regions the windshield image corresponds to. At least one grid area where fogging occurs is identified as a fogging area, and the target air outlet and target air outlet angle corresponding to the fogging area are determined. The target air outlet is controlled to discharge air according to the target air outlet angle and the air outlet parameters in order to defog the fogged area.
2. The method according to claim 1, characterized in that, The controller stores the correspondence between internal and external environmental parameters and the degree of fogging and air outlet parameters; The step of determining the current degree of fogging and airflow parameters of the windshield based on the current internal and external environmental parameters of the vehicle includes: Based on the vehicle's current internal and external environmental parameters and the corresponding relationship, the current fogging degree and airflow parameters of the windshield are determined; wherein, the internal and external environmental parameters include the outside temperature, the inside temperature, and the inside humidity; the fogging degree includes light fogging, moderate fogging, and heavy fogging; and the airflow parameters include airflow temperature, airflow speed, and airflow humidity.
3. The method according to claim 2, characterized in that, The correspondence includes a first correspondence and a second correspondence, wherein the outlet air temperature and outlet air humidity in the first correspondence are determined based on the defogging efficiency, and the outlet air temperature and outlet air humidity in the second correspondence are determined based on the human body's comfortable temperature and humidity. The step of determining the current fogging level and airflow parameters of the windshield based on the vehicle's current internal and external environmental parameters and the corresponding relationship includes: Determine whether to enable Comfort Defogging Mode; Without activating the comfort defogging mode, the current degree of fogging and airflow parameters of the windshield are determined based on the vehicle's current internal and external environmental parameters and the first correspondence. When the comfort defogging mode is activated, the current degree of fogging and airflow parameters of the windshield are determined based on the vehicle's current internal and external environmental parameters and the second correspondence.
4. The method according to claim 2, characterized in that, The windshield includes the front windshield. The vehicle is also equipped with an outside temperature sensor, a temperature and humidity sensor at the top of the A-pillar, a temperature and humidity sensor at the bottom of the A-pillar, and a temperature and humidity sensor on the dashboard. The outside temperature sensor is used to obtain the outside temperature, and the temperature and humidity sensors at the top of the A-pillar, the bottom of the A-pillar, and the dashboard are all used to obtain the inside temperature and the inside humidity.
5. The method according to claim 4, characterized in that, Each target air outlet corresponds to at least one fogging area; controlling the target air outlet to discharge air according to the target air outlet angle and the air outlet parameters to defog the fogging area includes: The priority and defogging time of each fogging area are determined based on the degree of fogging; the priority represents the visual importance of the fogging area. For each target air outlet, the target air outlet angles corresponding to each fogging area are sorted according to the priority of each fogging area corresponding to the target air outlet. According to the order of the target air outlet angles, the defogging time corresponding to each fogging area, and the air outlet parameters, the air outlet of the target air outlet is controlled to defog the fogging areas corresponding to the target air outlet.
6. The method according to claim 1, characterized in that, The vehicle is also equipped with an onboard air conditioner, and the method further includes: The vehicle's interior temperature, interior air pressure, interior humidity, and exterior temperature are obtained. The current dew point of the vehicle interior environment is determined based on the vehicle interior temperature, the vehicle interior air pressure, and the vehicle interior humidity. If the outside temperature is lower than the dew point inside the vehicle, the vehicle air conditioner is turned on to prevent fogging of the windshield.
7. A vehicle defrosting device, characterized in that, A controller for use in a vehicle, the vehicle also being equipped with an image acquisition device and multiple air vents, the controller being communicatively connected to the image acquisition device and each of the air vents, the device comprising: The acquisition module is used to acquire the windshield image captured by the image acquisition device in real time. If the windshield image indicates that the windshield of the vehicle is fogged up, the current internal and external environmental parameters of the vehicle are acquired. The determination module is used to determine the current degree of fogging on the windshield and the airflow parameters based on the current internal and external environmental parameters of the vehicle. The determining module is further configured to divide the windshield image into regions based on the degree of fogging, obtain multiple grid regions, and determine the air outlet and air outlet angle corresponding to each grid region based on the degree of fogging; wherein, each air outlet corresponds to multiple grid regions, the air outlet angle is an upward angle, and the higher the degree of fogging, the fewer grid regions corresponding to the windshield image; at least one grid region with fogging is determined as a fogging region, and the target air outlet and target air outlet angle corresponding to the fogging region are determined; The control module is used to control the target air outlet to discharge air according to the target air outlet angle and the air outlet parameters in order to defog the fogged area.
8. A controller, characterized in that, It includes a processor and a memory, the memory storing a computer program executable by the processor, the processor being able to execute the computer program to implement the method of any one of claims 1-6.
9. A vehicle, characterized in that, The vehicle includes the controller as described in claim 8, and is further provided with an image acquisition device and multiple air outlets, wherein the controller is communicatively connected to the image acquisition device and each of the air outlets.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-6.