Detection method for blockage of vehicle skylight drain pipe, vehicle, medium and product
By using liquid level sensors and rainfall sensors to monitor the liquid level and rainfall in the drain pipe in real time, calculating the degree of blockage and automatically cleaning it, the problem of real-time and targeted detection of blockage in vehicle sunroof drain pipes is solved, improving the reliability and intelligence of the vehicle sunroof system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-07
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, the detection of blockages in vehicle sunroof drain pipes relies on subjective discovery by users or periodic manual inspections, which cannot be monitored in real time and lacks targeted handling methods. This can lead to serious blockage problems causing damage to the vehicle interior and safety hazards.
The system monitors the drain pipe level and external rainfall in real time using level and rainfall sensors, calculates the degree of blockage, and automatically selects a cleaning solution based on the degree of blockage, including automatic or manual cleaning operations, and uses negative pressure airflow to clear the blockage.
It enables automatic and accurate detection and timely cleaning of blocked sunroof drain pipes, avoiding water ingress into the vehicle caused by water accumulation in the drain pan, improving the reliability and intelligence of the sunroof system, and reducing user maintenance costs.
Smart Images

Figure CN121822086A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of vehicles, in particular to a method for detecting clogging of a vehicle sunroof drain pipe, a vehicle, a medium and a product. BACKGROUND
[0002] As an important configuration for improving the lighting and ventilation experience in the vehicle, the sunroof of the vehicle is usually connected to the roof in a non-sealed manner. The core purpose of this design is to ensure that in the case of rain or car washing, external rainwater can enter the sunroof rail area through the gap between the sunroof and the roof, and then flow into the pre-set sunroof water tank, and finally be guided to the outside of the vehicle through the drain pipe connected to the water tank, so as to realize the orderly discharge of rainwater and avoid the direct penetration of rainwater into the vehicle. Figures 2-3 . However, during the daily use of the vehicle, dust, fallen leaves, sand, fibers and other debris in the external environment are easily blown into the sunroof drain hole and the interior of the drain pipe along with the air flow or during the driving of the vehicle. With the increase of use time, these debris will gradually accumulate in the drain pipe, thereby causing the clogging problem of the drain pipe.
[0003] In view of different situations after the clogging of the drain pipe, in the case of rain or rainwater immersion such as car washing, three typical states are presented: first, when the drain pipe is not clogged, rainwater can be smoothly discharged along the water tank and the drain pipe, and there is no water accumulation in the water tank; second, when the drain pipe is slightly clogged, the drain pipe still has a certain drainage capacity, and the drainage capacity is greater than the rainwater immersion amount, so there is also no water accumulation in the water tank, only the drainage efficiency is reduced; third, when the drain pipe is severely clogged, the drainage capacity of the drain pipe is greatly lost, the drainage capacity is less than the rainwater immersion amount, which causes the rainwater to quickly accumulate in the sunroof water tank, when the accumulated water exceeds the water tank capacity or overflows the water tank sealing boundary, it will penetrate into the vehicle, causing the interior of the vehicle to be damp, the electrical components to malfunction, and other problems, which seriously affects the user experience and the safety of the vehicle. In the prior art, the detection and treatment of the clogging of the sunroof drain pipe mainly rely on the subjective discovery of the user or regular manual inspection. For example, the user usually needs to detect the clogging of the drain pipe after the water penetration phenomenon occurs in the vehicle, at this time, the clogging has usually developed to a serious stage, which easily causes irreversible damage to the vehicle. Even through regular inspection, the user needs to manually open the sunroof, check the state of the drain hole and the drain pipe, which is tedious and cannot realize real-time monitoring. At the same time, the existing treatment method lacks pertinence, whether it is slight clogging or severe clogging, manual intervention or direct return to the factory for repair is required, which not only increases the time and economic cost of the user, but also cannot realize timely and automatic treatment of the clogging. SUMMARY
[0004] Based on the above problems, the present application provides a vehicle sunroof drain pipe blockage detection method, vehicle, medium and product, which can automatically and accurately detect the sunroof drain pipe blockage degree, and automatically perform targeted unblocking and cleaning operation according to the blockage degree, fundamentally avoid the water in the vehicle caused by the water tank waterlogging problem, improve the reliability and intelligent level of the vehicle sunroof system, and reduce the user maintenance cost.
[0005] The present application provides a vehicle sunroof drain pipe blockage detection method, comprising: obtaining the liquid level value of the left and right side drain pipes of the sunroof front cross beam; obtaining the rainfall value outside; obtaining the vehicle speed value of the vehicle; calculating the sunroof drain pipe blockage degree proportion value according to the liquid level value and the rainfall value; selecting different cleaning blockage schemes according to the sunroof drain pipe blockage degree proportion value and the vehicle speed value.
[0006] In addition, the formula for calculating the sunroof drain pipe blockage degree proportion value K according to the liquid level value and the rainfall value is: Delta Z=X-Y*(100%-K); Wherein, X is the rainfall value, Y is the drainage capacity of the sunroof drain pipe, Z is the liquid level value of the sunroof drain pipe inlet, Delta Z is the liquid level change amount, which is obtained by subtracting the liquid level value of the former time point from the latter time point.
[0007] In addition, the liquid level change speed Delta Z' is calculated according to the liquid level change amount Delta Z, and the liquid level change speed Delta Z' is obtained by dividing Z by the absolute value of the time difference between the two time points.
[0008] In addition, when Delta Z is greater than 0, it is judged that there is a risk of water entering the vehicle room, and the expected water entering time T is calculated according to Delta Z' and Z, and the expected water entering time T is sent to the reminding module of the vehicle or the electronic equipment connected with the vehicle. T=(Z0-Z) / Delta Z', wherein Z0 is the critical liquid level, which is the liquid level threshold value of the vehicle indoor water entering.
[0009] In addition, the different cleaning blockage schemes according to the sunroof drain pipe blockage degree proportion value and the vehicle speed value include: If the sunroof drain pipe blockage degree proportion value is less than the preset coefficient, the automatic blockage processing mode is entered, and if the sunroof drain pipe blockage degree proportion value is greater than or equal to the preset coefficient, the manual cleaning or maintenance is prompted.
[0010] In addition, the automatic blockage processing mode includes: The sunroof is opened to a preset angle, if the vehicle speed is less than a preset vehicle speed, one side window or both side windows are opened according to a first preset opening ratio, otherwise one side window or both side windows are opened according to a second preset opening ratio; When the sunroof and the window are opened, air flows from the window to the sunroof through the vehicle interior, a negative pressure airflow is formed near the water inlet of the sunroof drain pipe, under the guidance of the negative pressure airflow, a flow-through airflow is formed in the sunroof drain pipe, and flows from the water outlet at the front cabin position to the water inlet at the sunroof position, and foreign matters at the sunroof drain pipe are discharged out of the vehicle along with the airflow.
[0011] The application further provides a vehicle adopting the detection method for the sunroof drain pipe blockage of any one of the above. The rain sensor, the liquid level sensor and the blockage processor; The rain sensor is used to acquire the rain value outside, the liquid level sensor is used to acquire the liquid level value near the water inlet of the left and right side drain pipes of the sunroof front cross beam, the vehicle speed value is acquired from the vehicle instrument, and the blockage processor is used to receive the rain value signal, the liquid level value signal and the vehicle speed value signal transmitted by the rain sensor, the liquid level sensor and the vehicle instrument respectively, and to control the sunroof motor and the window motor to perform the opening or closing action after judgment.
[0012] In addition, the liquid level sensor is arranged at the inlet of the drain pipe. The rain sensor is an automatic rain sensor. The blockage processor is a sunroof controller or other controller.
[0013] The application further provides a storage medium, which stores computer instructions, and when the computer executes the computer instructions, the detection method for the sunroof drain pipe blockage of any one of the above is executed.
[0014] The application further provides a computer program product, which comprises computer programs / instructions, and when the computer programs / instructions are executed by a processor, the detection method for the sunroof drain pipe blockage of any one of the above is realized.
[0015] The application can automatically and accurately detect the blockage degree of the sunroof drain pipe, and can automatically perform targeted unblocking and cleaning operation according to the blockage degree, fundamentally avoids the water inlet problem in the vehicle caused by water accumulation in the water tank, improves the reliability and intelligent level of the sunroof system of the vehicle, and reduces the maintenance cost of the user. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 A flow chart of the detection method for the sunroof drain pipe blockage of the vehicle is provided for an embodiment of the application. Figure 2 A schematic view of the sunroof drain pipe blockage of the vehicle in the prior art is provided. Figure 3 Fig. 1 is a schematic view of a vehicle sunroof with debris in the prior art; Figure 4 Fig. 2 is a flow chart of a method for detecting clogging of a vehicle sunroof drain pipe according to an embodiment of the present application; Figure 5 Fig. 3 is a flow chart of a method for detecting clogging of a vehicle sunroof drain pipe according to another embodiment of the present application; Figure 6 Fig. 4 is a schematic view of various parameters in a method for detecting clogging of a vehicle sunroof drain pipe according to another embodiment of the present application; Figure 7 Fig. 5 is a schematic view of a hardware architecture of a vehicle employing a method for detecting clogging of a vehicle sunroof drain pipe according to another embodiment of the present application. DETAILED DESCRIPTION
[0017] The present application will be further described in conjunction with the specific embodiments and the accompanying drawings. It is intended to be merely illustrative of the specific embodiments of the present application and does not impose any limitation on the present application, and the scope of protection of the present application is subject to the claims.
[0018] Reference Figure 1 The present application proposes a method for detecting clogging of a vehicle sunroof drain pipe, comprising: Step S001, obtaining a liquid level value of a water inlet of a left side drain pipe of a sunroof front cross beam; Step S002, obtaining an external rainfall value; Step S003, obtaining a vehicle speed value of the vehicle; Step S004, calculating a clogging degree proportion value of the sunroof drain pipe according to the liquid level value and the rainfall value; Step S005, selecting different clogging cleaning schemes according to the clogging degree proportion value of the sunroof drain pipe and the vehicle speed value.
[0019] In step S001, the liquid level value of the water inlet of the left side drain pipe of the sunroof front cross beam is obtained. Optionally, the liquid level value is detected by a liquid level sensor arranged near the water inlet of the left side drain pipe of the sunroof front cross beam.
[0020] In step S002, the external rainfall value is obtained. Optionally, the external rainfall value is detected by a rainfall sensor arranged on a wiper.
[0021] In step S003, the vehicle speed value of the vehicle is obtained. Optionally, the vehicle speed value of the vehicle is obtained from a vehicle instrument via LIN, which is an abbreviation of Local Interconnect Network, i.e. local internet.
[0022] In step S004, the clogging degree proportion value of the sunroof drain pipe is calculated according to the liquid level value and the rainfall value. Optionally, the formula for calculating the skylight drain pipe blockage degree proportion value K according to the liquid level value and the rainfall value is: ΔZ = X - Y * (100% - K); Wherein, X is the rainfall value, Y is the drainage capacity of the skylight drain pipe, Z is the liquid level value of the water inlet of the skylight drain pipe, and ΔZ is the liquid level change amount, which is obtained by subtracting the liquid level value of the later time point from the liquid level value of the earlier time point.
[0023] The core calculation method of the liquid level change amount ΔZ is: the difference between the liquid level values measured at the same monitoring position at two different time points, that is, the liquid level value at the later time point minus the liquid level value at the earlier time point.
[0024] Specifically, the liquid level value is obtained by the liquid level sensor, and the liquid level values of the water inlet of the drain pipe at two time points (for example, "time 1" and "time 2") are recorded as Z1 (the liquid level value at time 1) and Z2 (the liquid level value at time 2); the liquid level value at the later time point is subtracted from the liquid level value at the earlier time point to obtain the liquid level change amount, and the formula is: ΔZ = Z2 - Z1. When ΔZ is positive, it indicates that the liquid level is rising between the two time points; if it is negative, it indicates that the liquid level is falling. Combined with the formula ΔZ = X - Y * (100% - K) in the process, the skylight drain pipe blockage degree proportion value K can be deduced, and the skylight blockage risk can be judged according to the value of K.
[0025] Optionally, the liquid level change speed ΔZ' is calculated according to the liquid level change amount ΔZ, and the liquid level value Z is divided by the absolute value of the time difference between the two time points to obtain the liquid level change speed ΔZ'.
[0026] When calculating the liquid level change speed ΔZ', the liquid level change amount ΔZ is divided by the time interval to obtain the formula: ΔZ' = ΔZ / Δt (Δt is the absolute value of the time difference between the two times of measuring the liquid level, such as 5 minutes), and because ΔZ > 0 (there is a risk of water entering), ΔZ' is positive, representing the rising speed of the liquid level per minute or per hour.
[0027] By calculating the liquid level change speed, a foundation is laid for subsequent prediction of the water entering time.
[0028] Optionally, when ΔZ is greater than 0, it is judged that there is a risk of water entering the vehicle indoors, and the predicted water entering time T is calculated according to ΔZ' and Z, and the predicted water entering time T is sent to the reminding module of the vehicle or the electronic device connected with the vehicle; T = (Z0 - Z) / ΔZ', wherein Z0 is the critical liquid level, which is the liquid level threshold value at which water enters the vehicle indoors.
[0029] Optionally, the critical liquid level is set according to the skylight design and the pipe capacity of the skylight drain pipe.
[0030] For example, if Z0=10cm (critical liquid level), the current Z=6cm, and ΔZ'=0.5cm / min, then T=(10-6) / 0.5=8min, that is, it is predicted that water may enter 8 minutes later.
[0031] Optionally, if the clogging degree proportion value of the sunroof drain pipe is less than a preset coefficient, an automatic clogging processing mode is entered, and if the clogging degree proportion value of the sunroof drain pipe is greater than or equal to the preset coefficient, manual cleaning or maintenance is prompted.
[0032] The preset coefficient is, for example, 80%, when the clogging degree proportion value of the sunroof drain pipe is less than the preset coefficient, the automatic clogging processing mode is entered, and when the clogging degree proportion value of the sunroof drain pipe is greater than or equal to the preset coefficient, manual cleaning or maintenance is prompted, at this time, manual intervention is required, and therefore the user is prompted to perform manual intervention.
[0033] Optionally, the automatic clogging processing mode comprises: Opening the sunroof to a preset angle, if the vehicle speed is less than a preset vehicle speed, opening one side window or both side windows according to a first preset opening proportion, otherwise opening one side window or both side windows according to a second preset opening proportion; When the vehicle is driving, after the sunroof and the window are opened, air flows from the window to the sunroof through the vehicle interior, a negative pressure airflow is formed near the water inlet of the sunroof drain pipe, under the guidance of the negative pressure airflow, a circulating airflow is formed in the sunroof drain pipe, and flows from the water outlet at the front cabin position to the water inlet at the sunroof position, and the foreign matter at the sunroof drain pipe is discharged out of the vehicle along with the airflow.
[0034] The first preset opening proportion is greater than the second preset opening proportion, for example, the first preset opening proportion is 30%, and the second preset opening proportion is 10%.
[0035] When the vehicle speed is low, if the window is opened small, the negative pressure airflow generated is small, and it may not be possible to discharge the sundries and foreign matter out of the vehicle, and therefore the window needs to be opened larger.
[0036] The method provided by the application can automatically detect whether the sunroof drain is clogged, and can automatically clean the clogged drain pipe, when the clogging is slight, water will not accumulate when the vehicle continues to drive, and the vehicle can start the clogging cleaning function by itself, when the clogging is serious, water will accumulate when the vehicle continues to drive, and the user is prompted to manually clean or manually maintain.
[0037] The application can automatically and accurately detect the clogging degree of the sunroof drain pipe, and can automatically perform targeted clogging cleaning operation according to the clogging degree, fundamentally avoiding the problem of water entering the vehicle caused by water accumulation in the sink, improving the reliability and intelligent level of the vehicle sunroof system, and reducing the user maintenance cost.
[0038] Reference Figure 4In one of the embodiments, the formula for calculating the skylight drain pipe blockage degree proportion value K according to the liquid level value and the rainfall value is: ΔZ = X - Y * (100% - K); Wherein, X is the rainfall value, Y is the drainage capacity of the skylight drain pipe, Z is the liquid level value of the skylight drain pipe inlet, and ΔZ is the liquid level change amount, which is obtained by subtracting the liquid level value of the later time point from the liquid level value of the earlier time point.
[0039] The core calculation method of the liquid level change amount ΔZ is: the difference between the liquid level values measured at the same monitoring position at two different time points, that is, the liquid level value at the later time point minus the liquid level value at the earlier time point.
[0040] Specifically, the liquid level value is obtained by the liquid level sensor, and the liquid level values of the drain pipe inlet at two time points (for example, "time 1" and "time 2") are recorded as Z1 (the liquid level value at time 1) and Z2 (the liquid level value at time 2); the liquid level value at the later time point is subtracted from the liquid level value at the earlier time point to obtain the liquid level change amount, and the formula is: ΔZ = Z2 - Z1. When ΔZ is positive, it indicates that the liquid level is rising between the two time points; if it is negative, it indicates that the liquid level is falling. Combined with the formula ΔZ = X - Y * (100% - K) in the process, the skylight drain pipe blockage degree proportion value K can be deduced, and the skylight blockage risk can be judged according to the K value.
[0041] In one of the embodiments, the liquid level change speed ΔZ' is calculated according to the liquid level change amount ΔZ, and Z is divided by the absolute value of the time difference between the two time points to obtain the liquid level change speed ΔZ'.
[0042] When calculating the liquid level change speed ΔZ', ΔZ is divided by the time interval to obtain, and the formula is: ΔZ' = ΔZ / Δt (Δt is the absolute value of the time difference between the two times of measuring the liquid level, such as 5 minutes), and because ΔZ > 0 (there is a risk of water entering), ΔZ' is positive, representing the rising speed of the liquid level per minute or per hour.
[0043] Through the calculation of the liquid level change speed, the foundation is laid for the subsequent prediction of the water entering time.
[0044] Referring to Figure 4 In one of the embodiments, when ΔZ is greater than 0, it is judged that there is a risk of water entering the vehicle indoor, the predicted water entering time T is calculated according to ΔZ' and Z, and the predicted water entering time T is sent to the reminding module of the vehicle or the electronic device connected with the vehicle; T = (Z0 - Z) / ΔZ', wherein Z0 is the critical liquid level, which is the liquid level threshold value of the water entering the vehicle indoor.
[0045] Optionally, the critical liquid level is set according to the skylight design and the pipe capacity of the skylight drain pipe.
[0046] For example: if Z0 = 10cm (critical liquid level), the current Z = 6cm, ΔZ' = 0.5cm / minute, then T = (10-6) / 0.5 = 8 minutes, that is, water ingress is expected to occur after 8 minutes.
[0047] Optionally, this calculation is based on the assumption of "uniform rise in liquid level". If the actual precipitation X changes (such as a sudden increase in rainfall) or the blockage degree ratio K worsens, ΔZ' needs to be recalculated to update the expected inflow time T to ensure the accuracy of the prediction.
[0048] A reminder module that calculates the estimated time T before water ingress and sends this time T to the vehicle or an electronic device connected to the vehicle can alert the user to how much longer the water will be ingress, allowing the user to take different actions based on the time T.
[0049] Reference Figure 5 In one embodiment, selecting different de-clogging schemes based on the degree of blockage in the sunroof drain pipe and the vehicle speed includes: If the degree of blockage in the sunroof drain pipe is less than the preset coefficient, the system will enter automatic blockage handling mode. If the degree of blockage in the sunroof drain pipe is greater than or equal to the preset coefficient, the system will prompt for manual cleaning or maintenance.
[0050] For example, if the preset coefficient is 80%, and the percentage of blockage in the skylight drain pipe is less than the preset coefficient, the automatic blockage handling mode will be activated. If the blockage is not severe, it will be resolved automatically. If the percentage of blockage in the skylight drain pipe is greater than or equal to the preset coefficient, manual cleaning or maintenance will be prompted. In this case, manual intervention is required, so the user is prompted to intervene manually.
[0051] Reference Figure 5 In one embodiment, the automatic congestion handling mode includes: Open the sunroof to the preset angle. If the vehicle speed is less than the preset speed, one or both windows will be opened according to the first preset opening ratio. Otherwise, one or both windows will be opened according to the second preset opening ratio. When the vehicle is in motion, after the sunroof and windows are opened, air flows from the windows through the vehicle interior to the sunroof, creating a negative pressure airflow near the sunroof drain pipe inlet. Guided by this negative pressure airflow, a circulating airflow is formed inside the sunroof drain pipe and flows from the outlet in the front compartment of the vehicle to the inlet in the sunroof. Foreign objects in the sunroof drain pipe are discharged outside the vehicle through the sunroof with the airflow.
[0052] The first preset activation ratio is greater than the second preset activation ratio. For example, the first preset activation ratio is 30%, and the second preset activation ratio is 10%.
[0053] When the vehicle speed is small, if the window is small, the negative pressure airflow generated is small, and it may not be able to discharge the sundries and foreign matters outside the vehicle, so the window needs to be opened larger.
[0054] By automatically processing the clogging of the sunroof drain, the user can conveniently clean it.
[0055] Optionally, the sunroof and the vehicle need to ask the user for permission through voice or text before opening or closing the sunroof.
[0056] Optionally, the sunroof and the window are automatically closed after a certain time, for example, 10 minutes.
[0057] Reference Figures 6-7 The application also provides a vehicle adopting the detection method of the clogging of the sunroof drain of any one of the above. A rain sensor, a liquid level sensor, and a clogging processor; The rain sensor is used to obtain the rain value outside, the liquid level sensor is used to obtain the liquid level value near the water inlet of the left and right side drain pipes of the sunroof front cross beam, the vehicle speed value is obtained from the vehicle instrument, and the clogging processor is used to receive the rain value signal, the liquid level value signal, and the vehicle speed value signal transmitted by the rain sensor, the liquid level sensor, and the vehicle instrument respectively, and to control the sunroof motor and the window motor to perform the opening or closing action after judgment.
[0058] The application can automatically and accurately detect the clogging degree of the sunroof drain, and can automatically perform targeted cleaning operation according to the clogging degree, fundamentally avoids the water inlet problem caused by water accumulation in the sink, improves the reliability and intelligent level of the sunroof system of the vehicle, and reduces the maintenance cost of the user.
[0059] In one embodiment, the liquid level sensor is arranged at the inlet of the drain pipe. The rain sensor adopts an automatic rain wiper rain sensor. The clogging processor adopts a sunroof controller or other controller.
[0060] Only one liquid level sensor is added, and the problem of clogging detection and cleaning of the sunroof drain can be solved through software modification, and the cost is low.
[0061] An embodiment of the application provides a storage medium, which stores computer instructions, and when a computer executes the computer instructions, all steps of the detection method of the clogging of the sunroof drain of the vehicle are executed.
[0062] In the context of the present disclosure, the storage medium can be a tangible medium which can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The storage medium can be a machine-readable signal medium or a machine-readable storage medium. Alternatively, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0063] The present application can automatically and accurately detect the degree of clogging of the sunroof drain pipe, and can automatically perform targeted unclogging and cleaning operations according to the degree of clogging, thereby fundamentally avoiding water in the sink from causing water in the vehicle, improving the reliability and intelligent level of the sunroof system of the vehicle, and reducing the maintenance cost of the user.
[0064] The present application also provides a computer program product comprising computer programs / instructions which, when executed by a processor, implement the detection method of clogging of the sunroof drain pipe of the vehicle according to any one of the above.
[0065] The present application can automatically and accurately detect the degree of clogging of the sunroof drain pipe, and can automatically perform targeted unclogging and cleaning operations according to the degree of clogging, thereby fundamentally avoiding water in the sink from causing water in the vehicle, improving the reliability and intelligent level of the sunroof system of the vehicle, and reducing the maintenance cost of the user.
[0066] According to the needs, the above-mentioned technical solutions can be combined to achieve the best technical effect.
[0067] The above only describes the principles and preferred embodiments of the present application. It should be noted that for those skilled in the art, on the basis of the principles of the present application, a number of other variations can also be made, which should also be considered as the protection scope of the present application.
Claims
1. A method for detecting blockage in a vehicle sunroof drain pipe, characterized in that, include: Obtain the liquid level values of the drain pipe inlets on the left and right sides of the front beam of the sunroof; Obtain external rainfall data; Obtain the vehicle's speed value; Calculate the degree of blockage in the skylight drain pipe based on the liquid level and rainfall values. Choose different blockage removal methods based on the degree of blockage in the sunroof drain pipe and the vehicle speed.
2. The method for detecting blockage in the sunroof drain pipe of a vehicle according to claim 1, characterized in that, The formula for calculating the degree of blockage K in the skylight drain pipe based on the liquid level and rainfall values is as follows: ΔZ = XY * (100% - K); Where X is the rainfall value, Y is the drainage volume of the skylight drain pipe, Z is the liquid level value of the skylight drain pipe inlet, and ΔZ is the liquid level change, which is obtained by subtracting the liquid level value of the latter time point from the former time point.
3. The method for detecting blockage in the sunroof drain pipe of a vehicle according to claim 2, characterized in that, The rate of change of liquid level ΔZ' is calculated based on the amount of liquid level change ΔZ. The rate of change of liquid level ΔZ' is obtained by dividing Z by the absolute value of the time difference between the two time points.
4. The method for detecting blockage in a vehicle sunroof drain pipe according to claim 3, characterized in that, When ΔZ is greater than 0, it is determined that there is a risk of water entering the vehicle's interior. Based on ΔZ' and Z, the estimated water ingress time T is calculated and sent to the vehicle or the reminder module of the electronic device connected to the vehicle. T = (Z0 - Z) / ΔZ', where Z0 is the critical liquid level, which is the threshold liquid level at which water enters the vehicle's interior.
5. The method for detecting blockage in the sunroof drain pipe of a vehicle according to claim 1, characterized in that, The selection of different de-clogging solutions based on the degree of blockage in the sunroof drain pipe and vehicle speed includes: If the degree of blockage in the sunroof drain pipe is less than the preset coefficient, the system will enter automatic blockage handling mode. If the degree of blockage in the sunroof drain pipe is greater than or equal to the preset coefficient, the system will prompt for manual cleaning or maintenance.
6. The method for detecting blockage in a vehicle sunroof drain pipe according to claim 5, characterized in that, The automatic congestion handling mode includes: Open the sunroof to the preset angle. If the vehicle speed is less than the preset speed, one or both windows will be opened according to the first preset opening ratio. Otherwise, one or both windows will be opened according to the second preset opening ratio. When the vehicle is in motion, after the sunroof and windows are opened, air flows from the windows through the vehicle interior to the sunroof, creating a negative pressure airflow near the sunroof drain pipe inlet. Guided by this negative pressure airflow, a circulating airflow is formed inside the sunroof drain pipe and flows from the outlet in the front compartment of the vehicle to the inlet in the sunroof. Foreign objects in the sunroof drain pipe are expelled from the sunroof outside the vehicle with the airflow.
7. A vehicle employing the method for detecting blockage of the sunroof drain pipe according to any one of claims 1-6, characterized in that, include: Rain gauge, liquid level sensor, and blockage processor; The rain sensor is used to obtain the external rainfall value, the liquid level sensor is used to obtain the liquid level value near the drain pipe inlet on the left and right sides of the sunroof front crossbeam, and the vehicle speed value is obtained from the vehicle instrument. The blockage processor is used to receive the rainfall value signal, liquid level value signal and vehicle speed value signal from the rain sensor, liquid level sensor and vehicle instrument respectively, and after judgment, control the sunroof motor and window motor to perform the opening or closing action.
8. The vehicle according to the method for detecting blockage in the sunroof drain pipe of a vehicle as described in claim 7, characterized in that, The liquid level sensor is located at the inlet of the drain pipe; The rain sensor is the same as the rain sensor used in automatic windshield wipers; The congestion processor uses a sunroof controller or other controllers.
9. A storage medium, characterized in that, The storage medium stores computer instructions, which, when executed by the computer, are used to perform the detection method for blocked sunroof drain pipes as described in any one of claims 1 to 6.
10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method for detecting blockage of the vehicle sunroof drain pipe as described in any one of claims 1 to 6.