Control method, device and equipment of vehicle-mounted wired charging cooling fan and medium
Through multi-coil quality factor detection and PING communication verification, the wired charging device is identified, and the target PWM duty cycle of the cooling fan is dynamically calculated based on USB charging information and vehicle speed, which solves the problem that the existing vehicle-mounted cooling system cannot identify wired charging devices and does not combine vehicle speed to optimize heat dissipation, and achieves dynamic optimization of heat dissipation efficiency and noise balance.
Patent Information
- Application Number
- CN202510334180.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-20
AI Technical Summary
The existing vehicle-mounted cooling system cannot identify wired charging devices on the wireless charging panel, and the traditional control strategy does not combine vehicle speed dynamic optimization of the cooling efficiency and noise balance, resulting in an imbalance between noise and heat dissipation during high-speed driving.
Through multi-coil quality factor detection and PING communication verification, the existence status of the wired charging device is accurately identified, and the target PWM duty cycle of the cooling fan is dynamically calculated based on the USB charging information obtained by the body domain controller and the current vehicle speed, so as to achieve smooth transition control.
Accurately identify wired charging equipment, realize cross-system coordination between charging status and heat dissipation control, dynamically optimize heat dissipation efficiency and noise balance, and improve system operation stability and user experience.
Smart Images

Figure CN120175666A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of in-vehicle mobile phone charging, and particularly to a control method, device, equipment and medium for a cooling fan of in-vehicle wired charging. Background Art
[0002] With the intelligence of in-vehicle electronic devices, the demand for mobile phone charging tends to be diversified. Modern cars generally are equipped with a combined solution of a wireless charging panel and a USB interface. The wireless charging module usually integrates an independent cooling fan, which dynamically adjusts the rotation speed by detecting parameters such as charging power and device temperature to balance the heat dissipation efficiency and energy consumption. Existing heat dissipation control strategies rely on the wireless charging protocol handshake signal and cannot identify USB wired charging devices, resulting in the failure to start the cooling fan. At the same time, the traditional model only adjusts the rotation speed based on the charging power and does not consider the influence of vehicle speed on the heat dissipation efficiency, resulting in poor balance between noise and heat dissipation during high-speed driving.
[0003] The current in-vehicle heat dissipation system has the following technical defects: First, the system cannot identify wired charging devices placed on the wireless charging panel, resulting in waste of heat dissipation resources. Second, the traditional control strategy does not establish a linkage relationship between the charging power and the vehicle driving state, and cannot effectively reduce the fan noise while ensuring the heat dissipation effect. In addition, the existing solutions lack a unified management mechanism for different charging scenarios. When users mix wireless charging and USB charging, the system cannot intelligently allocate heat dissipation resources, which may lead to local overheating or energy waste. This technical limitation not only affects the charging efficiency and device life, but also may reduce the user experience due to excessive fan noise, and at the same time cannot meet the design requirements of vehicle energy consumption optimization. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a control method, device, equipment and medium for a cooling fan of in-vehicle wired charging to solve the problem that the existing in-vehicle heat dissipation system cannot identify wired charging devices on the wireless charging panel and does not dynamically optimize the balance between heat dissipation efficiency and noise in combination with the vehicle speed.
[0005] In a first aspect, an embodiment of the present invention provides a control method for a cooling fan of in-vehicle wired charging, the method comprising:
[0006] Detect whether a mobile device without wireless charging function is placed on the wireless charging panel of the target vehicle;
[0007] When a mobile device is placed, obtain the USB charging information transmitted by the body domain controller in the target vehicle;
[0008] Detect the current vehicle speed of the target vehicle, and calculate the target PWM duty cycle of the cooling fan according to the USB charging information and the current vehicle speed;
[0009] Control the cooling fan to smoothly transition from the current PWM duty cycle to the target PWM duty cycle.
[0010] Further, detecting whether a mobile device without wireless charging function is placed in the wireless charging panel area of the target vehicle includes:
[0011] Synchronously detect the quality factor of the resonant circuit through multiple coils installed on the wireless charging panel;
[0012] Judge whether each quality factor is less than the first threshold and whether the difference between the quality factors is less than the second threshold;
[0013] When each quality factor is less than the first threshold and the difference between the quality factors is less than the second threshold, it is determined that there is a mobile device on the wireless charging panel;
[0014] Attempt to perform wireless PING communication with the mobile device. If the communication fails, it is determined that the mobile device is a mobile device without wireless charging function.
[0015] Further, dynamically calculating the target PWM duty cycle of the cooling fan according to the USB charging information and the current vehicle speed includes:
[0016] Judge whether the mobile device is in a charging state according to the USB charging information;
[0017] If it is in a charging state, extract the charging power in the USB charging information;
[0018] Based on a predefined mapping relationship, determine the target PWM duty cycle of the cooling fan that matches the current vehicle speed and the charging power.
[0019] Further, the process of determining the predefined mapping relationship includes:
[0020] Set multiple preset vehicle speed values and charging power ranges in the experimental environment;
[0021] For each preset vehicle speed value, conduct a heat dissipation efficiency test within the charging power range, and record the lowest PWM duty cycle that meets the heat dissipation requirements;
[0022] Use the PWM duty cycles under different combinations of preset vehicle speed values and charging powers to construct an initial parameter combination;
[0023] Conduct a noise perception test on the initial parameter combination to obtain a test result, and adjust the PWM duty cycles under different combinations of preset vehicle speed values and charging powers based on the test result until the preset noise reduction condition is met, and output the predefined mapping relationship.
[0024] Further, controlling the cooling fan to smoothly transition from the current PWM duty cycle to the target PWM duty cycle includes:
[0025] Comparing the current actual duty cycle with the target PWM duty cycle to obtain a comparison result;
[0026] Calculating an adjustment gradient of the cooling fan according to the comparison result;
[0027] Controlling the cooling fan to gradually adjust the PWM duty cycle according to the adjustment gradient until the target PWM duty cycle is reached.
[0028] Further, calculating the adjustment gradient of the cooling fan according to the comparison result includes:
[0029] When the comparison result is that the current PWM duty cycle is higher than the target PWM duty cycle, determining the adjustment gradient of the cooling fan as a first slow-down gradient; when the comparison result is that the current PWM duty cycle is lower than the target PWM duty cycle, determining the adjustment gradient of the cooling fan as a second slow-rise gradient, where the absolute value of the first slow-down gradient is greater than that of the second slow-rise gradient.
[0030] Further, the method further includes:
[0031] Monitoring the power output parameters of the USB charging module in the target vehicle;
[0032] When the power output parameter exceeds a preset overheat threshold, triggering an overheat protection mechanism for the mobile device;
[0033] Based on the overheat protection mechanism, forcibly setting the target PWM duty cycle to the maximum duty cycle and maintaining the maximum duty cycle until a charging completion signal is detected or the mobile device is removed from the wireless charging panel.
[0034] In a second aspect, an embodiment of the present invention provides a control device for an in-vehicle wired charging cooling fan, and the device includes:
[0035] A detection module, configured to detect whether a mobile device without wireless charging function is placed on the wireless charging panel of the target vehicle;
[0036] An acquisition module, configured to acquire USB charging information transmitted by a body domain controller in the target vehicle when a mobile device is placed;
[0037] A calculation module, configured to detect the current vehicle speed of the target vehicle and calculate the target PWM duty cycle of the cooling fan according to the USB charging information and the current vehicle speed;
[0038] A control module for controlling the cooling fan to smoothly transition from the current PWM duty cycle to the target PWM duty cycle.
[0039] In a third aspect, an embodiment of the present invention provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the method according to the first aspect or any corresponding implementation manner thereof.
[0040] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the method according to the first aspect or any corresponding implementation manner thereof.
[0041] The method provided by the embodiments of the present application has the following beneficial effects:
[0042] The method provided by the embodiments of the present application accurately identifies the presence status of a wired charging device through multi-coil quality factor detection and PING communication verification of a wireless charging panel, solving the technical defect that a traditional system cannot sense a non-wireless charging device; obtains information such as USB charging power and status through a body domain controller, establishes the ability to identify the cooling demand in a wired charging scenario, and realizes cross-system coordination between the charging state and cooling control; dynamically calculates the target PWM duty cycle through the mapping relationship between vehicle speed and charging power, reduces the fan noise during high-speed driving while ensuring the cooling effect, and optimizes the user experience; realizes the linear change of the fan speed through a gradient adjustment strategy, avoids mechanical shocks and noise mutations caused by traditional step control, and improves the operation stability and comfort of the system. Description of the Drawings
[0043] In order to more clearly illustrate the specific implementation manners of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the specific implementation manners or the description of the prior art. Obviously, the drawings in the following description are some implementation manners of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0044] Figure 1 is a schematic flowchart of a method for controlling a vehicle-mounted wired charging cooling fan according to an embodiment of the present invention;
[0045] Figure 2 is a schematic diagram of a predefined mapping relationship generation architecture according to an embodiment of the present invention;
[0046] Figure 3 is a control flowchart of a vehicle-mounted wired charging cooling fan according to an embodiment of the present invention;
[0047] Figure 4 It is a schematic structural diagram of a vehicle-mounted wired charging heat dissipation fan control system according to an embodiment of the present invention;
[0048] Figure 5 It is a block diagram of the structure of a control device of a vehicle-mounted wired charging heat dissipation fan according to an embodiment of the present invention;
[0049] Figure 6 It is a schematic hardware structure diagram of a computer device according to an embodiment of the present invention. Specific embodiments
[0050] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0051] According to an embodiment of the present invention, there are provided a control method, device, equipment and medium for a vehicle-mounted wired charging heat dissipation fan. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0052] In this embodiment, a control method for a vehicle-mounted wired charging heat dissipation fan is provided. Figure 1 It is a flowchart of a control method for a vehicle-mounted wired charging heat dissipation fan according to an embodiment of the present invention. As Figure 1 shown, the process includes the following steps:
[0053] Step S11, detecting whether a mobile device without wireless charging function is placed on the wireless charging panel of the target vehicle.
[0054] In an embodiment of the present application, step S11 includes the following steps A1-A4:
[0055] Step A1, synchronously detecting the quality factor of the resonance circuit through a plurality of coils installed on the wireless charging panel.
[0056] Specifically, the quality factors (Q-values) of the resonant circuits corresponding to multiple coils (such as a three-coil design) on the wireless charging panel are synchronously detected. The quality factor is an important parameter for measuring the characteristics of a resonant circuit, which describes the relative relationship between energy storage and energy consumption in the resonant circuit. The higher the Q-value, the stronger the energy storage ability of the resonant circuit, the smaller the energy consumption, and the better the selectivity and stability of the circuit. The coil calculates the Q-value by measuring the voltage, current or frequency response characteristics of the resonant circuit. For example, the sweep frequency method is used to analyze the resonant peak offset or indirectly deduced through impedance matching parameters. Synchronous detection of multiple coils can cover different areas of the panel to ensure comprehensive detection. For example, when no object is placed, the Q-values of the coils are relatively high and the differences are small (such as 68, 71, 70), while placing a mobile phone will cause a significant decrease in the Q-values of all coils due to electromagnetic coupling.
[0057] Step A2, determine whether each quality factor is less than the first threshold and whether the difference between the quality factors is less than the second threshold.
[0058] Specifically, double-threshold judgment is performed on the Q-values of multiple coils obtained in the above: First, determine whether all Q-values are less than the first threshold Q1 (such as Q1 = 50) to identify whether there is an object absorbing electromagnetic energy; secondly, calculate the difference value of the Q-values of each coil (such as the difference between the maximum value and the minimum value). If the difference values are all less than the second threshold Q2 (such as Q2 = 5), interference such as metal foreign objects is excluded (foreign objects usually cause a significant increase in the difference of the coil Q-values). This step filters non-mobile phone objects through combined thresholds. For example, a metal card may cause a sudden drop in the Q-value of a certain coil but the difference value exceeds the standard, while a mobile phone satisfies the double conditions because it evenly covers multiple coils.
[0059] In addition, when determining whether the Q-value is lower than Q1 and whether the difference value is less than Q2, the data of the vehicle cockpit temperature sensor can also be introduced to dynamically correct the threshold parameters. The specific method is as follows: First, define the basic thresholds Q1 base = 50, Q2 base = 5 (calibration value at 25°C); secondly, read the cockpit temperature T (°C) in real time and adjust the threshold according to linear compensation:
[0060] Q1 adj = Q1 base ×[1 + 0.005×(T - 25)]
[0061] Q2 adj = Q2 base ×[1 - 0.008×(T - 25)]
[0062] For example: when T = 40°C, Q1 is increased to 50 × 1.075 = 53.75, and Q2 is decreased to 5 × 0.88 = 4.4. The Q1 threshold is relaxed in a high-temperature environment (to compensate for the natural attenuation of the Q value caused by the temperature rise of the coil) to avoid misjudgment; the Q2 difference threshold is tightened synchronously (the Q value mutation effect of metal foreign objects is aggravated at high temperature) to enhance the ability to exclude foreign objects.
[0063] Step A3: When each quality factor is less than the first threshold and the difference between the quality factors is less than the second threshold, it is determined that there is a mobile device on the wireless charging panel.
[0064] Specifically, when both double-threshold conditions are met, it is determined that there is a mobile device (such as a mobile phone) on the wireless charging panel. To achieve accurate identification, the difference value threshold Q2 needs to be calibrated according to the electromagnetic characteristic experiments of typical mobile phone models. For example, the distribution differences of internal metal components in different mobile phones may affect the Q value change mode of the coil. The value of Q2 can be optimized through machine learning or statistical methods to ensure compatibility with mainstream mobile phones. This step avoids the limitation of traditional foreign object detection that only focuses on a single coil and improves the judgment reliability through multi-coil cooperation.
[0065] Step A4: Try to perform a wireless PING communication with the mobile device. If the communication fails, it is determined that the mobile device is a mobile device that does not support wireless charging.
[0066] Specifically, after determining that there is a mobile device, try to send a PING signal to the device through a wireless charging protocol (such as the Qi standard) to establish communication. If the device does not respond (for example, a mobile phone that does not support wireless charging cannot return a handshake signal), it is confirmed that it is a device that does not support wireless charging. This step uses the communication mechanism of the existing wireless charging module to distinguish the device type without increasing the hardware cost. For example, a device that supports wireless charging will trigger the normal charging process, while a device that does not support it will enter the wired charging heat dissipation mode. After the communication fails, the system records the device type and triggers the subsequent heat dissipation control logic.
[0067] The method provided by the embodiment of the present application improves the accuracy and comprehensiveness of device presence detection by synchronously detecting the quality factors of multiple coils; effectively eliminates environmental interference and accurately identifies the device presence status through double-threshold condition judgment (the quality factors are all lower than the first threshold and the difference is less than the second threshold); realizes the intelligent distinction between wireless charging and non-wireless charging devices through the wireless PING communication verification mechanism; through the above combined strategy, provides reliable device type and location information for subsequent heat dissipation control, and solves the technical problem that the traditional system cannot sense wired charging devices.
[0068] Step S12: When a mobile device is placed, obtain the USB charging information transmitted by the body domain controller in the target vehicle.
[0069] In the embodiment of the present application, after confirming the presence of a mobile device on the wireless charging panel, real-time interaction is carried out with the body domain controller through a communication module (such as a CAN bus) built in the in-vehicle wireless charging module to obtain the charging status data of the USB charging module. Specifically, it includes: parsing the messages periodically sent by the body domain controller, extracting charging information (such as charging current, voltage, real-time power), device power status (such as remaining power percentage), and temperature information (such as the temperature value of the mobile phone or charging interface), and verifying the data validity (such as check bits, data range filtering). By reusing the existing vehicle communication architecture (without adding new hardware), the system can monitor the dynamic parameters of USB charging in real time, providing input for subsequent heat dissipation control. For example, when it is detected that the charging power > 5W, it is marked as the "fast charging state", triggering the heat dissipation requirement in combination with the temperature exceeding the threshold, and at the same time using the protocol stack to filter out non-related signals (such as USB data transmission of non-charging devices) to ensure the accuracy of the data.
[0070] Step S13, detect the current vehicle speed of the target vehicle, and calculate the target PWM duty cycle of the cooling fan according to the USB charging information and the current vehicle speed.
[0071] In the embodiment of the present application, calculating the target PWM duty cycle of the cooling fan according to the USB charging information and the current vehicle speed includes the following steps B1 - B3:
[0072] Step B1, determine whether the mobile device is in a charging state according to the USB charging information.
[0073] Specifically, based on the USB charging information obtained from the body domain controller (such as the charging status flag bit, current / voltage value), the system determines whether the mobile device is in a charging state by parsing the charging activation flag in the CAN message (such as "Charging_Active = 1") or detecting whether the real-time charging current exceeds a threshold (such as > 100mA). For example, when the USB interface transmits a charging protocol handshake signal (such as QC2.0 / PD protocol) and the current continuously ≥ 500mA, it is determined to be in an effective charging state, and at the same time, interference scenarios such as only data transmission (such as file transfer) or standby (current < 10mA) are excluded to ensure the accurate triggering of heat dissipation control.
[0074] Step B2, if it is in a charging state, extract the charging power in the USB charging information.
[0075] Specifically, if it is determined that the device is in the charging state, the real-time charging power parameter is extracted from the USB charging information. Specifically, the instantaneous power value is obtained by calculating the product of the voltage (V) and the current (I) (P = V×I), and a moving average filter (such as a 10-second window) is used to eliminate the instantaneous fluctuations, such as the power step change that may occur during the fast charging stage. At the same time, the power accuracy is calibrated in combination with the protocol type (such as PD 18W, QC3.0 15W) to avoid overshoot or insufficiency of heat dissipation caused by sampling errors, and finally a stable and reliable charging power value is output as the core input for heat dissipation control.
[0076] Step B3, determine the target PWM duty cycle of the cooling fan that matches the current vehicle speed and charging power based on the predefined mapping relationship.
[0077] Specifically, based on the predefined two-dimensional mapping table (vehicle speed × charging power), the system determines the target PWM duty cycle through look-up table or interpolation calculation. For example, the mapping table has the vehicle speed (0 - 120 km / h) as the horizontal axis and the charging power (5 - 30 W) as the vertical axis, and the optimal duty cycle calibrated by experiments (such as 40% duty cycle when the vehicle speed is 20 km / h and the power is 15 W) is stored at each intersection point. When calculating, the discrete points of the actual vehicle speed and power are preferentially matched. If there is no exact match, the bilinear interpolation method is used to generate a smooth transition value to ensure that the duty cycle changes continuously with the vehicle speed and power, taking into account both the heat dissipation efficiency and the noise control.
[0078] The method provided by the embodiment of the present application ensures that the heat dissipation system is only started when the device is charging by real-time monitoring the USB charging state; realizes the dynamic matching of the heat dissipation intensity and the actual load by extracting the charging power parameter; balances the heat dissipation efficiency and the driving noise through the predefined mapping relationship between the vehicle speed and the charging power; and improves the system energy efficiency ratio and optimizes the user experience through the multi-parameter fusion control strategy.
[0079] In the embodiment of the present application, the process of determining the predefined mapping relationship includes the following steps C1 - C4:
[0080] Step C1, set multiple preset vehicle speed values and charging power ranges in the experimental environment.
[0081] Specifically, in the laboratory environment, multiple discrete vehicle speed values (such as 0 km / h, 20 km / h, 60 km / h, 100 km / h) and charging power ranges (such as 5 W, 10 W, 15 W, 20 W, 30 W) are set through a vehicle simulation bench to cover typical usage scenarios. During the experiment, the environmental temperature is fixed (such as 25°C ± 2°C), different charging power outputs are simulated through a programmable power supply, and a corresponding vehicle speed signal is generated by a vehicle speed simulator to ensure the standardization of the test conditions. For example, for a vehicle speed of 0 km / h (the vehicle is stationary), the heat dissipation requirements under charging powers from 5 W to 30 W are respectively tested to establish a basic data matrix.
[0082] Step C2: Conduct heat dissipation efficiency tests within the charging power range for each preset vehicle speed value, and record the minimum PWM duty cycle that meets the heat dissipation requirements.
[0083] Specifically, for each combination of preset vehicle speed and charging power, gradually increase the PWM duty cycle (starting from 10% and increasing by 5% each time), and monitor the surface temperature of the mobile phone in real time (through an infrared thermal imager or built-in sensor). When the temperature stabilizes within the safety threshold (e.g., ≤40°C) and shows no upward trend for 10 minutes, record the current duty cycle as the minimum valid value under this operating condition. For example, when the vehicle speed is 20 km / h and the charging power is 15 W, if a duty cycle of 30% can meet the heat dissipation requirements, stop the test and record it to avoid introducing redundant noise with too high a duty cycle.
[0084] Step C3: Construct an initial parameter combination using the PWM duty cycles under different combinations of preset vehicle speed values and charging powers.
[0085] Specifically, construct a two-dimensional look-up table (LUT) as the initial parameter combination using the minimum valid duty cycles corresponding to all vehicle speed-power combinations. For intermediate values that are not directly tested (such as vehicle speed 45 km / h and power 18 W), use the bilinear interpolation algorithm to generate transition values. For example, calculate the weighted average based on the measured duty cycles of adjacent vehicle speeds (40 km / h and 60 km / h) and powers (15 W and 20 W) to ensure full coverage of all operating conditions. At the same time, mark the upper limit of the duty cycle (such as 100%) for extreme operating conditions (such as vehicle speed 120 km / h and power 30 W).
[0086] Step C4: Conduct a noise perception test on the initial parameter combination to obtain the test results, and adjust the PWM duty cycles under different combinations of preset vehicle speed values and charging powers based on the test results until the preset noise reduction conditions are met, and output the predefined mapping relationship.
[0087] Specifically, run the cooling fan based on the initial parameter combination, conduct noise evaluations (such as a 1-10 score) at different duty cycles, and synchronously collect sound pressure level data. According to the test results, adjust the duty cycle to meet two conditions simultaneously: the noise score ≤ 3 points (representing "almost inaudible"); the sound pressure level increment < 2 dB(A) / s. For example, if the initial duty cycle of 50% results in a noise score of 4 points when the vehicle speed is 0 km / h and the power is 20 W, gradually reduce it to 45% and retest until it meets the standard, and finally output the optimized predefined mapping relationship.
[0088] The method provided by the embodiments of this application sets multiple groups of vehicle speed and charging power parameters through an experimental environment to cover different driving scenarios; obtains the minimum PWM duty cycle that meets the requirements through heat dissipation efficiency testing to balance heat dissipation and energy consumption; builds an initial parameter combination to achieve the basic framework of multi-parameter linkage control; optimizes the parameter combination through noise perception testing to ensure the balance between heat dissipation performance and user experience.
[0089] In the embodiments of this application, an online learning adaptive algorithm is implanted in the dynamic optimization of the predefined mapping relationship, and the implementation method is as follows: after outputting the predefined mapping relationship, an online learning module is deployed to continuously collect heat dissipation efficiency data during the actual operation of the vehicle (such as the temperature rise rate on the surface of the mobile phone, the actual duty cycle of the fan, and the change in ambient noise), and the duty cycle parameters in the mapping table are dynamically corrected through a reinforcement learning algorithm.
[0090] The specific method is: record the key parameters in each heat dissipation control cycle in real time: input variables (vehicle speed V, charging power P, ambient temperature T), output variables (actual duty cycle D actual , temperature rise rate noise value N (dB)); build a time series database to store one month of continuous operation data; define an optimization objective function (such as where α, β, and γ are weight coefficients, and by default, α = 0.6, β = 0.3, γ = 0.1); adopt the Q-learning algorithm to establish a state-action pair: state s = (V interval, P interval, T interval), action a = duty cycle adjustment amount ΔD (±5% step), reward r = -J (the goal is to minimize the comprehensive cost); perform a policy update every 24 hours, that is, extract the latest data from the database to generate a training set; update the state-action value evaluation in the Q-table; adjust the duty cycle recommended value of each node in the mapping table to maximize the Q value; set safety constraints, such as the single adjustment amplitude ≤ 10%, and the temperature rise rate shall not exceed the safety threshold (such as ).
[0091] The implantation of the online learning adaptive algorithm enables the heat dissipation control strategy to have the ability of self-evolution, adapts to the personalized heat dissipation requirements of different vehicle models and mobile phone models; dynamically balances the Pareto frontier between heat dissipation efficiency and noise control, breaking through the static optimization limitations of experimental calibration; through continuous learning of the thermal characteristics of new fast charging protocols (such as UFCS 200W), it avoids manual repeated calibration.
[0092] It should be noted that Figure 2 is a schematic diagram of the predefined mapping relationship generation architecture, such as Figure 2As shown, the working principle of this architecture includes: starting from the experimental environment setting (setting experimental parameters such as vehicle speed and charging power), through the heat dissipation efficiency test (testing the minimum PWM duty cycle that meets the heat dissipation requirements under various working conditions), constructing the initial parameter combination (generating a two-dimensional look-up table), optimizing through the noise perception test (adjusting the duty cycle by combining the noise score and sound pressure level), and completing the experimental calibration of the basic mapping relationship. Secondly, the actual operating data of the vehicle is obtained through online operation data collection, and the mapping relationship generated by the experiment is dynamically corrected using the reinforcement learning optimization algorithm to make up for the limitations of static experiments. Finally, the initial mapping relationship optimized by the experiment and the online reinforcement learning optimization results are uniformly summarized into the predefined mapping relationship repository to form a predefined mapping relationship that not only meets the heat dissipation requirements but also takes into account noise control, providing core data support for the calculation of the target PWM duty cycle in the future.
[0093] Step S14, control the cooling fan to smoothly transition from the current PWM duty cycle to the target PWM duty cycle.
[0094] In the embodiment of the present application, step S14 includes the following steps D1-D3:
[0095] Step D1, compare the current actual duty cycle with the target PWM duty cycle to obtain a comparison result.
[0096] Specifically, by reading the current PWM duty cycle of the cooling fan in real time (such as obtaining the current output value through the timer capture function of the microcontroller), and performing a difference operation with the calculated target duty cycle (ΔD = target duty cycle - current duty cycle). The comparison results are divided into three categories: ΔD>0 (need to upshift), ΔD<0 (need to downshift), ΔD = 0 (maintain). For example, if the current duty cycle is 30% and the target duty cycle is 50%, then ΔD = +20%, triggering the upshift logic; if the current duty cycle is 60% and the target duty cycle is 40%, then ΔD = -20%, triggering the downshift logic. This step lays the foundation for dynamic adjustment and ensures the real-time nature of control response.
[0097] Step D2, calculate the adjustment gradient of the cooling fan according to the comparison result.
[0098] In the embodiment of the present application, step D2 includes: when the comparison result is that the current PWM duty cycle is higher than the target PWM duty cycle, determine the adjustment gradient of the cooling fan as the first slow descent gradient; when the comparison result is that the current PWM duty cycle is lower than the target PWM duty cycle, determine the adjustment gradient of the cooling fan as the second slow ascent gradient, where the absolute value of the first slow descent gradient is greater than the second slow ascent gradient.
[0099] Specifically, according to the sign and absolute value of ΔD, a preset gradient strategy is selected: when ΔD > 0, a slow-rise gradient (such as +2% / s) is adopted to avoid sudden increase in noise; when ΔD < 0, a fast-slow-drop gradient (such as -50% / s) is adopted to quickly converge by taking advantage of the characteristic that the human ear is less sensitive to noise reduction. The gradient value is calibrated through experiments. For example, when ΔD = ±20%, it takes 10 seconds to complete the adjustment at a rate of 2% / s; when ΔD = -20%, it only takes 0.4 seconds at 50% / s. Nonlinear functions (such as exponential decay) can be introduced into the gradient calculation to make the initial adjustment fast and the final stage slow, further optimizing the perception experience.
[0100] The method provided by the embodiment of the present application accurately determines the adjustment direction of the fan speed by comparing the current and target PWM duty cycles in real time; through a differential gradient control strategy (the absolute value of the slow-drop gradient is greater than that of the slow-rise gradient), it takes into account both the heat dissipation response speed and the noise control requirements; through stepped duty cycle adjustment, it avoids mechanical shocks and noise mutations caused by traditional step control; through an adaptive adjustment algorithm, it realizes a smooth transition of the fan speed, improving the system operation stability and user comfort.
[0101] Step D3, gradually adjust the PWM duty cycle of the cooling fan according to the adjustment gradient until the target PWM duty cycle is reached.
[0102] Specifically, with a fixed period (such as 100 ms) as the stepping unit, the PWM duty cycle is gradually updated according to the gradient value. For example, when the target duty cycle is 50%, the current is 30%, and the gradient is +2% / s, 0.2% (2% × 0.1 s) is increased every 100 ms, and the target is reached after 100 steps (10 seconds). During the adjustment process, ΔD is continuously monitored. If the target value changes due to changes in working conditions (such as a sudden drop in vehicle speed), the gradient is recalculated immediately and the adjustment direction is switched. Finally, a smoothly changing square wave signal is output by the PWM generator to drive the fan motor for stepless speed change, ensuring a smooth speed transition and a noise change rate ≤ 2 dB(A) / s.
[0103] In the embodiment of the present application, the method further includes:
[0104] Step S21, monitor the power output parameters of the USB charging module in the target vehicle.
[0105] In the embodiments of the present application, the power output parameters of the USB charging module are monitored in real time, including the charging current, voltage, and the calculated real-time power (P = V × I). Meanwhile, the temperature data of the charging interface or the back of the mobile phone is collected through a temperature sensor. In a periodic polling manner (such as once per second) or an event-triggered manner (such as a power change rate > 5 W / s), a standardized message (such as ID 0x2A1 contains the charging status word and temperature value) is obtained from the body domain controller through the CAN bus. For example, when it is detected that the power ≥ 15 W and the temperature ≥ 45 °C for 30 consecutive seconds, it is marked as a potential overheating risk, providing a data basis for subsequent protection mechanisms.
[0106] Step S22, when the power output parameter exceeds the preset overheating threshold, trigger the overheating protection mechanism for the mobile device.
[0107] In the embodiments of the present application, a preset dynamic overheating threshold matrix is set differently according to the environmental temperature (such as summer / winter) and the charging protocol type (such as PD fast charging / ordinary charging). For example, in the PD 20W fast charging mode, the temperature threshold is set to 48 °C; for ordinary 5W charging, it is set to 52 °C. When the real-time temperature exceeds the threshold or the power continuously exceeds the limit (such as > 25 W for more than 10 seconds), trigger a hardware protection interrupt (such as a GPIO level jump of the MCU), forcefully suspend the original PWM control logic, and send an overheating warning event to the upper-layer system (through CAN message ID 0x3B5), and start the emergency heat dissipation plan.
[0108] Step S23, based on the overheating protection mechanism, forcefully set the target PWM duty cycle to the maximum duty cycle and maintain the maximum duty cycle until a charging completion signal is detected or the mobile device is removed from the wireless charging panel.
[0109] In the embodiments of the present application, in the overheating protection state, directly write the duty cycle register of the PWM controller to the maximum value (such as 100%), ignoring the conventional mapping relationship between the vehicle speed and power. Meanwhile, continuously monitor the USB charging status (such as judging the connection status by the CC line voltage) and the coil Q value. If it is detected that the charging current drops to < 100 mA (charging completed) or the Q value of the three coils returns to the level without an object placed (such as 68, 71, 70), then exit the protection mode and reset the fan duty cycle to the standby value (such as 0%). This process is managed by a state machine to ensure the maximization of heat dissipation efficiency under extreme heat conditions and prevent damage to the mobile phone battery or charging circuit.
[0110] The method provided by the embodiment of the present application realizes the dynamic perception of the device charging state by real-time monitoring the power output parameters of the USB charging module; triggers the protection mechanism through a preset overheat threshold to effectively prevent the performance degradation or safety hazards caused by high temperature of the device; quickly improves the heat dissipation efficiency in an emergency by forcibly setting the maximum duty cycle of the fan; ensures the full-process safety protection during the charging process by maintaining the extreme heat dissipation state until the charging is completed or the device is removed, and avoids system failures caused by local overheating.
[0111] Figure 3 is a control flowchart of an in-vehicle wired charging cooling fan according to an embodiment of the present invention. As Figure 3 shown, the process includes: first, detecting whether there is a mobile device on the wireless charging panel. If not, it loops for detection; when there is, it determines whether the device does not have the wireless charging function. If it does, it returns. After confirming that the device does not have the wireless charging function, it obtains the USB charging information and the current vehicle speed, and then determines whether the device is charging. If not, it returns. If in the charging state, it calculates the target PWM duty cycle and smoothly adjusts the fan speed; during the adjustment, it detects whether the overheat protection is triggered. If triggered, it forces the maximum fan speed. Finally, it determines whether the mobile device is charged or removed. If satisfied, the process ends; otherwise, it loops the above adjustment process until the end condition is met.
[0112] Figure 4 is a schematic architecture diagram of an in-vehicle wired charging cooling fan control system according to an embodiment of the present invention. As Figure 4 shown, the wireless charging panel detection module monitors the Q value of multiple coils and determines the device type, and transmits the result to the body domain controller communication module. This module then transmits the USB charging information and the vehicle speed to the target PWM calculation module; at the same time, the online learning and adaptive module dynamically optimizes the predefined mapping relationship database to provide data support for the target PWM calculation module. After the target PWM calculation module calculates the target PWM duty cycle, it sends it to the fan control module, and then adjusts the PWM duty cycle of the cooling fan execution module. The state of the cooling fan execution module is fed back to the target PWM calculation module and the overheat monitoring module. Once the overheat monitoring module detects an abnormality, it sends a protection instruction to the fan control module to ensure the stable operation of the system.
[0113] In this embodiment, a control device for an in-vehicle wired charging cooling fan is also provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0114] This embodiment provides a control device for an in-vehicle wired charging cooling fan, as Figure 5 shown, including:
[0115] A detection module 51, configured to detect whether a mobile device without wireless charging function is placed on the wireless charging panel of the target vehicle;
[0116] An acquisition module 52, configured to acquire USB charging information transmitted by the body domain controller in the target vehicle when a mobile device is placed;
[0117] A calculation module 53, configured to detect the current vehicle speed of the target vehicle, and calculate the target PWM duty ratio of the cooling fan according to the USB charging information and the current vehicle speed;
[0118] A control module 54, configured to control the cooling fan to smoothly transition from the current PWM duty ratio to the target PWM duty ratio.
[0119] Further, the detection module 51 is configured to synchronously detect the quality factor of the resonance circuit through a plurality of coils installed on the wireless charging panel; determine whether each quality factor is less than a first threshold and whether the difference between the quality factors is less than a second threshold; when each quality factor is less than the first threshold and the difference between the quality factors is less than the second threshold, determine that there is a mobile device on the wireless charging panel; attempt to perform wireless PING communication with the mobile device, and if the communication fails, determine that the mobile device is a mobile device without wireless charging function.
[0120] Further, the calculation module 53 is configured to determine whether the mobile device is in a charging state according to the USB charging information; if it is in a charging state, extract the charging power in the USB charging information; determine the target PWM duty ratio of the cooling fan matching the current vehicle speed and the charging power based on a predefined mapping relationship.
[0121] Further, the device further includes: a construction module, configured to set a plurality of preset vehicle speed values and a charging power range in an experimental environment; perform a heat dissipation efficiency test within the charging power range for each preset vehicle speed value, and record the lowest PWM duty ratio that meets the heat dissipation requirement; construct an initial parameter combination using the PWM duty ratios under different preset vehicle speed values and charging power combinations; perform a noise perception test on the initial parameter combination to obtain a test result, and adjust the PWM duty ratios under different preset vehicle speed values and charging power combinations based on the test result until the preset noise reduction condition is met, and output a predefined mapping relationship.
[0122] Further, the control module 54 is configured to compare the current actual duty ratio with the target PWM duty ratio to obtain a comparison result; calculate an adjustment gradient of the cooling fan according to the comparison result; control the cooling fan to gradually adjust the PWM duty ratio according to the adjustment gradient until the target PWM duty ratio is reached.
[0123] Further, the control module 54 further includes a determination sub-module, configured to determine that the adjustment gradient of the cooling fan is the first slow-down gradient when the comparison result is that the current PWM duty cycle is higher than the target PWM duty cycle; and determine that the adjustment gradient of the cooling fan is the second slow-up gradient when the comparison result is that the current PWM duty cycle is lower than the target PWM duty cycle, wherein the absolute value of the first slow-down gradient is greater than that of the second slow-up gradient.
[0124] Further, the device further includes: a trigger module, configured to monitor the power output parameter of the USB charging module in the target vehicle; trigger an overheat protection mechanism for the mobile device when the power output parameter exceeds a preset overheat threshold; and forcibly set the target PWM duty cycle to the maximum duty cycle based on the overheat protection mechanism, and maintain the maximum duty cycle until a charging completion signal is detected or the mobile device is removed from the wireless charging panel.
[0125] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a computer device provided by an alternative embodiment of the present invention. As Figure 6 shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system).
[0126] The processor 10 can be a central processing unit, a network processor, or a combination thereof. Among them, the processor 10 can further include a hardware chip. The above hardware chip can be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The above programmable logic device can be a complex programmable logic device, a field programmable gate array, a general array logic, or any combination thereof.
[0127] Among them, the memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiments.
[0128] The memory 20 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of a computer device for the display of a kind of mini-program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided relative to the processor 10, and these remote memories can be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] The memory 20 may include a volatile memory, for example, a random access memory; the memory may also include a non-volatile memory, for example, a flash memory, a hard disk, or a solid-state drive; the memory 20 may further include a combination of the above-mentioned types of memories.
[0130] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0131] Embodiments of the present invention further provide a computer-readable storage medium. The methods according to the embodiments of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the methods described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may further include a combination of the above-mentioned types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.
[0132] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A control method for a vehicle-mounted wired charging cooling fan, characterized in that: The method comprises: Detect whether a mobile device without wireless charging function is placed on the wireless charging panel of the target vehicle; When a mobile device is placed, obtaining USB charging information transmitted by a body domain controller in the target vehicle; Detecting the current speed of the target vehicle, and calculating the target PWM duty cycle of the cooling fan according to the USB charging information and the current speed; The cooling fan is controlled to smoothly transition from a current PWM duty cycle to a target PWM duty cycle.
2. The method according to claim 1, characterized in that The detecting whether a mobile device without a wireless charging function is placed in the wireless charging panel area of the target vehicle includes: The quality factor of the resonant circuit is synchronously detected by multiple coils installed on the wireless charging panel; Determine whether each quality factor is less than a first threshold and whether the differences between the quality factors are less than a second threshold; When each quality factor is less than a first threshold value and the difference between the quality factors is less than a second threshold value, it is determined that there is a mobile device on the wireless charging panel; An attempt is made to perform wireless PING communication with the mobile device. If the communication fails, it is determined that the mobile device is a mobile device that does not have a wireless charging function.
3. The method according to claim 1, characterized in that The dynamically calculating the target PWM duty cycle of the cooling fan according to the USB charging information and the current vehicle speed includes: Determining whether the mobile device is in a charging state according to the USB charging information; If it is in charging state, extracting the charging power in the USB charging information; A target PWM duty cycle of the cooling fan that matches the current vehicle speed and the charging power is determined based on a predefined mapping relationship.
4. The method according to claim 3, characterized in that The process of determining the predefined mapping relationship includes: Set multiple preset vehicle speed values and charging power ranges in the experimental environment; Perform a heat dissipation performance test within the charging power range for each preset vehicle speed value, and record the lowest PWM duty cycle that meets the heat dissipation requirements; The initial parameter combination is constructed using the PWM duty cycle under different preset vehicle speed values and charging power combinations; A noise perception test is performed on the initial parameter combination to obtain a test result, and based on the test result, the PWM duty cycle under different preset vehicle speed values and charging power combinations is adjusted until a preset noise reduction condition is met, and the predefined mapping relationship is output.
5. The method according to claim 1, characterized in that The step of controlling the cooling fan to smoothly transition from a current PWM duty cycle to a target PWM duty cycle includes: Comparing the current actual duty cycle with the target PWM duty cycle to obtain a comparison result; Calculating an adjustment gradient of the cooling fan according to the comparison result; The cooling fan is controlled to gradually adjust the PWM duty cycle according to the adjustment gradient until the target PWM duty cycle is reached.
6. The method according to claim 5, characterized in that The calculating the adjustment gradient of the cooling fan according to the comparison result includes: When the comparison result is that the current PWM duty cycle is higher than the target PWM duty cycle, the adjustment gradient of the cooling fan is determined to be a first slow-down gradient; when the comparison result is that the current PWM duty cycle is lower than the target PWM duty cycle, the adjustment gradient of the cooling fan is determined to be a second slow-up gradient, wherein the absolute value of the first slow-down gradient is greater than the second slow-up gradient.
7. The method according to claim 1, characterized in that The method further comprises: Monitoring power output parameters of a USB charging module in the target vehicle; When the power output parameter exceeds a preset overheating threshold, triggering an overheating protection mechanism for the mobile device; The target PWM duty cycle is forcibly set to a maximum duty cycle based on the overheat protection mechanism, and the maximum duty cycle is maintained until a charging completion signal is detected or the mobile device is moved out of the wireless charging panel.
8. A control device for a vehicle-mounted wired charging cooling fan, characterized in that: The device comprises: A detection module, used to detect whether a mobile device without a wireless charging function is placed on the wireless charging panel of the target vehicle; An acquisition module, used for acquiring USB charging information transmitted by a body domain controller in the target vehicle when a mobile device is placed thereon; A calculation module, used to detect the current speed of the target vehicle, and calculate the target PWM duty cycle of the cooling fan according to the USB charging information and the current speed; The control module is used to control the cooling fan to smoothly transition from the current PWM duty cycle to the target PWM duty cycle.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.