An energized flap anti-pinch intelligent control method and device, a vehicle, and a storage medium
Patent Information
- Application Number
- CN202611101922.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-23
- Publication Date
- 2026-10-20
AI Technical Summary
然而,在实际使用过程中,充电口盖的驱动状态容易受到多种因素影响,例如,不同运行工况、零部件磨损、机构阻力变化以及长期使用等因素,均可能导致充电口盖驱动特性发生变化,从而容易导致防夹判断与充电口盖实际运行状态不匹配,影响充电口盖防夹判断的准确性及可靠性,进而影响用户体验
[0021]本发明的充能口盖防夹智能控制方法及装置、车辆、存储介质的有益效果是:本发明在确定充能口盖当前对应的预设基础防夹电流阈值的基础上,进一步结合充能口盖的历史正常运行数据对预设基础防夹电流阈值进行校准,以获得更加符合当前充能口盖实际运行状态的目标防夹电流阈值,再基于目标防夹电流阈值执行防夹控制过程。由此,形成基于动态防夹电流阈值的防夹控制机制,使防夹判断能够更加匹配充能口盖不同运行工况及长期使用过程中的驱动状态变化,避免因充能口盖长期使用过程中相关零部件磨损、机构阻力变化等导致对应预设基础防夹电流阈值与充能口盖实际运行状态不匹配的情况发生,从而降低因防夹电流阈值不匹配导致误触发防夹或防夹响应不准确的风险,提高充能口盖驱动过程中防夹控制的准确性和可靠性,提高车辆充能口盖运行的安全性及可靠性,同时提高充能口盖防夹控制的自适应能力和智能化水平,并进一步提升用户使用体验。
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more specifically, to a smart control method and device for preventing the charging port cover from being pinched, a vehicle, and a storage medium. Background Technology
[0002] With the development of vehicle-related technologies, vehicle charging port covers are gradually adopting motor-driven methods to achieve automatic opening and closing, thereby improving the convenience of vehicle use.
[0003] To prevent the charging port cover from pinching people or colliding with obstacles during automatic closing, related technologies employ anti-pinch control functions in vehicles to stop the charging port cover's movement if it becomes clamped during operation, ensuring its safety. However, in actual use, the charging port cover's driving state is easily affected by various factors, such as different operating conditions, component wear, changes in mechanism resistance, and long-term use. These factors can all cause changes in the charging port cover's driving characteristics, potentially leading to a mismatch between the anti-pinch judgment and the actual operating state of the charging port cover. This affects the accuracy and reliability of the anti-pinch judgment, ultimately impacting the user experience. Summary of the Invention
[0004] The problem this invention addresses is: how to improve the accuracy and reliability of anti-pinch control during the charging port cover driving process.
[0005] To address the aforementioned problems, this invention provides a smart control method and device for preventing the charging port cover from being pinched, a vehicle, and a storage medium.
[0006] In a first aspect, the present invention provides an intelligent control method for preventing pinching of a charging port cover, comprising: Acquire actual operating data during the charging port cover driving process; Determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data; Based on the historical normal operation data of the charging port cover, the preset basic anti-pinch current threshold is calibrated to determine the target anti-pinch current threshold currently applicable to the charging port cover. When the actual operating data meets the anti-pinch control conditions regarding the target anti-pinch current threshold, the charging port cover is controlled to perform an anti-pinch control process.
[0007] Optionally, the actual operating data includes the driving current of the driving mechanism for driving the charging port cover during the driving process. The anti-pinch control condition includes the driving current in the actual operating data being greater than or equal to the target anti-pinch current threshold.
[0008] Optionally, the actual operating data also includes the power supply voltage and ambient temperature of the drive mechanism during the process of driving the charging port cover; determining the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data includes: Based on the power supply voltage and ambient temperature in the actual operating data, and combined with the correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current threshold, the preset basic anti-pinch current threshold corresponding to the actual operating data is determined. And / or, the intelligent control method for preventing pinching of the charging port cover further includes: The driving current of the driving mechanism under different power supply voltages and different ambient temperatures is calibrated, the preset basic anti-pinch current threshold corresponding to the driving current under different power supply voltages and different ambient temperatures is determined, and the correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current threshold is established.
[0009] Optionally, the step of calibrating the preset basic anti-pinch current threshold based on the historical normal operation data of the charging port cover to determine the target anti-pinch current threshold currently applicable to the charging port cover includes: Based on the driving current corresponding to the driving process of the driving mechanism driving the charging port cover to operate normally in the first preset number of times, the average value of the first historical normal driving current is calculated to determine the average value of the driving current. Based on the first historical average driving current and the driving current corresponding to the current driving process, determine the adjustment range for the preset basic anti-pinch current threshold. Based on the preset basic anti-pinch current threshold and the adjustment range, the preset basic anti-pinch current threshold is compensated to determine the target anti-pinch current threshold currently applicable to the charging port cover.
[0010] Optionally, the actual operating data may also include the current position of the charging port cover; the anti-pinch control conditions may also include the current position of the charging port cover being located within a preset anti-pinch working range, wherein the preset anti-pinch working range is located between the fully closed position and the fully open position corresponding to the charging port cover.
[0011] Optionally, the intelligent control method for preventing pinching of the charging port cover further includes: Obtain the working status of the windshield wipers of the vehicle where the charging port cover is located, and / or obtain the weather conditions of the vehicle. When the wiper is in working condition and / or the weather condition is rainy or snowy, the target anti-pinch current threshold is increased according to the first preset compensation value.
[0012] Optionally, the intelligent control method for preventing pinching of the charging port cover further includes: Obtain environmental information within a preset range of the charging port cover; In response to the detection of an obstacle within a preset range of the charging port cover, the target anti-pinch current threshold is reduced according to a second preset compensation value, and / or the charging port cover drive is paused and an alarm message is generated.
[0013] Optionally, the intelligent control method for preventing pinching of the charging port cover further includes: The trend of the driving current variation is determined based on the historical normal operation data of the charging port cover; When the trend of the drive current change meets the preset maintenance early warning conditions, maintenance prompt information for the drive mechanism is generated.
[0014] Optionally, determining the trend of the driving current based on the historical normal operation data of the charging port cover includes: The average value of the initial normal driving current is determined based on the historical normal operation data corresponding to the second preset number of times the charging port cover is installed. The actual operating data corresponding to the charging port cover is continuously acquired to determine the second historical normal driving current average value corresponding to each driving process of the charging port cover; wherein, the second historical normal driving current average value is the historical normal driving current average value determined based on the historical normal operating data of the charging port cover before the current driving process of the second preset number of times. The trend of the driving current change is determined based on the initial average normal driving current and a series of consecutive averages of the second historical normal driving current.
[0015] Optionally, the preset maintenance early warning conditions include: The growth rate of the second historical average normal drive current relative to the initial average normal drive current is greater than a preset ratio threshold.
[0016] Optionally, the intelligent control method for preventing pinching of the charging port cover further includes: In response to the drive mechanism driving the charging port cover from the fully closed position to perform an opening operation, and the drive mechanism stalling, the drive mechanism is controlled to enter the ice-breaking drive mode; The ice-breaking driving mode includes: After controlling the drive mechanism to cycle for a preset number of times according to the method of driving for a first preset duration and stopping for a second preset duration, the drive mechanism is controlled to normally drive the charging port cover to open.
[0017] Optionally, the process of controlling the charging port cover to perform anti-pinch control includes: Control the drive motor to stop driving the charging port cover; And / or, control the drive motor to drive the charging port cover in reverse a preset distance or preset angle.
[0018] Secondly, the present invention provides an intelligent control device for preventing pinching of a charging port cover, comprising: The acquisition unit is used to acquire actual operating data during the charging port cover driving process; The calculation unit is used to determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data. The calibration unit is used to calibrate the preset basic anti-pinch current threshold based on the historical normal operation data of the charging port cover, and determine the target anti-pinch current threshold currently applicable to the charging port cover. An execution unit is configured to control the charging port cover to perform an anti-pinch control process in response to the actual operating data meeting the anti-pinch control conditions regarding the target anti-pinch current threshold.
[0019] Thirdly, the present invention provides a vehicle including a memory and a processor; The memory is used to store computer programs; The processor is configured to implement the intelligent control method for preventing pinching of the charging port cover as described in the first aspect when executing the computer program.
[0020] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when read and executed by a processor, implements the intelligent control method for preventing pinching of the charging port cover as described in the first aspect.
[0021] The beneficial effects of the intelligent anti-pinch control method and device for the charging port cover, vehicle, and storage medium of the present invention are as follows: Based on determining the current preset basic anti-pinch current threshold corresponding to the charging port cover, the present invention further calibrates the preset basic anti-pinch current threshold by combining historical normal operation data of the charging port cover to obtain a target anti-pinch current threshold that better matches the current actual operating state of the charging port cover. Then, the anti-pinch control process is executed based on the target anti-pinch current threshold. This forms an anti-pinch control mechanism based on a dynamic anti-pinch current threshold, enabling the anti-pinch judgment to better match different operating conditions of the charging port cover and changes in the driving state during long-term use. This avoids situations where the corresponding preset basic anti-pinch current threshold does not match the actual operating state of the charging port cover due to wear of related components, changes in mechanical resistance, etc., during long-term use. This reduces the risk of false triggering of anti-pinch or inaccurate anti-pinch response due to mismatched anti-pinch current thresholds, improves the accuracy and reliability of anti-pinch control during the driving process of the charging port cover, improves the safety and reliability of the vehicle's charging port cover operation, enhances the adaptive capability and intelligence level of the charging port cover's anti-pinch control, and further improves the user experience. Attached Figure Description
[0022] Figure 1This is a flowchart illustrating an intelligent control method for preventing pinching of the charging port cover in an embodiment of the present invention. Figure 2 This is a sub-flowchart of step 300 in an embodiment of the present invention; Figure 3 This is a schematic diagram showing the positional relationship between the movement stroke of the charging port cover and the preset anti-pinch working area in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the relationship between power supply voltage, ambient temperature, and preset basic anti-pinch current threshold in an embodiment of the present invention. Figure 5 This is a structural block diagram of the intelligent control device for preventing pinching of the charging port cover in an embodiment of the present invention; Figure 6 This is a schematic diagram of the communication connection between the vehicle's memory and processor in an embodiment of the present invention. Detailed Implementation
[0023] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.
[0025] Combination Figure 1 As shown, an embodiment of the present invention provides an intelligent control method for preventing pinching of a charging port cover, comprising: Step 100: Obtain the actual operating data during the charging port cover driving process.
[0026] The method described in this embodiment can be applied to devices with charging port covers (such as charging port covers or fuel filler covers on vehicles) or other movable cover structures that use motor-driven opening and closing and have anti-pinch control requirements, such as new energy vehicles.
[0027] Specifically, in this embodiment, during the charging port cover driving process (i.e., the process of the driving mechanism driving the charging port cover to perform opening or closing actions), the actual operating data corresponding to the charging port cover (such as the driving current, supply voltage, ambient temperature, and other operating data of the driving mechanism corresponding to the charging port cover) is acquired in real time. The actual operating data is used to characterize the current operating state of the driving mechanism corresponding to the charging port cover. Since the driving characteristics of the driving mechanism corresponding to the charging port cover may differ under different operating states (such as different operating conditions, different usage stages, etc.), acquiring the actual operating data can accurately characterize the current operating state of the charging port cover, providing a data basis for subsequently determining the anti-pinch current threshold applicable to the current operating state and implementing anti-pinch control.
[0028] Step 200: Determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data.
[0029] Specifically, after acquiring the actual operating data, a preset basic anti-pinch current threshold corresponding to the actual operating data is determined for the charging port cover. This preset basic anti-pinch current threshold is a pre-set basic anti-pinch judgment criterion corresponding to the operating state of the charging port cover, used as the basic judgment standard for anti-pinch judgment of the charging port cover under the corresponding operating state.
[0030] For example, the operating data corresponding to the charging port cover includes the supply voltage, drive current, and ambient temperature. A preset basic anti-pinch current threshold can be pre-calibrated. For instance, the drive current corresponding to the driving mechanism of the charging port cover under different supply voltages and ambient temperatures can be pre-acquired, establishing a mapping relationship between different supply voltages, different ambient temperatures, and corresponding drive currents. Based on this mapping relationship, the basic anti-pinch current threshold corresponding to the driving mechanism under different operating states can be configured. Subsequently, the correspondence between the basic anti-pinch current threshold and the corresponding operating data is stored in non-volatile memory (NVM). Therefore, in practical applications, the preset basic anti-pinch current threshold corresponding to the current operating state can be quickly determined based on the currently acquired actual operating data. In some embodiments, an operating model can be established to characterize the driving characteristics of the corresponding driving mechanism of the charging port cover based on the mapping relationship between different power supply voltages, different ambient temperatures and corresponding driving currents. The basic anti-pinch current threshold corresponding to different operating states can be determined based on the operating model. Subsequently, the operating model parameters are stored in non-volatile memory. In actual application, the operating model is called according to the currently acquired actual operating data to quickly determine the corresponding preset basic anti-pinch current threshold.
[0031] Step 300: Based on the historical normal operation data of the charging port cover, calibrate the preset basic anti-pinch current threshold and determine the target anti-pinch current threshold applicable to the charging port cover.
[0032] Specifically, considering that the driving characteristics of the charging port cover may gradually change during long-term use due to component wear, changes in mechanism resistance, and changes in operating conditions, using only a pre-calibrated preset basic anti-pinch current threshold for anti-pinch judgment may lead to a deviation between the anti-pinch judgment and the actual operating state of the charging port cover. Therefore, in this embodiment, the method further acquires historical normal operating data corresponding to the charging port cover and calibrates the preset basic anti-pinch current threshold based on this data to determine the current applicable anti-pinch current threshold for the charging port cover (denoted as the target anti-pinch current threshold). By dynamically correcting (calibrating) the basic anti-pinch current threshold using historical normal operating data, the target anti-pinch current threshold can be made more closely aligned with the current actual operating state of the charging port cover, thereby improving the matching degree between the anti-pinch judgment and the actual operating state.
[0033] The historical normal operation data of the charging port cover includes operational data collected from the corresponding drive mechanism during past normal opening and / or normal closing processes. Normal operation refers to the operating state where the drive mechanism drives the charging port cover to complete the corresponding opening or closing action without triggering the anti-pinch control process. This historical normal operation data reflects the actual drive characteristics of the charging port cover during long-term normal use. By calibrating the preset basic anti-pinch current threshold using this data, the target anti-pinch current threshold can be dynamically adjusted according to changes in the driving characteristics of the charging port cover, thereby improving the matching degree between the target anti-pinch current threshold and the current actual operating state of the charging port cover. For example, the historical normal operation data may include operational data such as drive current, supply voltage, and ambient temperature collected from the corresponding drive mechanism during past normal opening and / or normal closing processes, and may also include information such as the corresponding collection time and number of operations.
[0034] Step 400: When the actual operating data meets the anti-pinch control conditions regarding the target anti-pinch current threshold, control the charging port cover to execute the anti-pinch control process.
[0035] Specifically, during the current charging port cover driving process (e.g., the charging port cover opening and closing constitutes one complete driving process), based on the determined target anti-pinch current threshold, when the actual operating data meets the anti-pinch control conditions related to the target anti-pinch current threshold, it indicates that there is a risk of clamping or collision during the current driving process of the charging port cover. At this time, the charging port cover is controlled to execute the anti-pinch control process to prevent the charging port cover from continuing to move and causing clamping or collision. Since the target anti-pinch current threshold is obtained by calibration based on a preset basic anti-pinch current threshold and combined with the historical normal operating data of the charging port cover, the target anti-pinch current threshold can better match the current actual driving characteristics of the charging port cover, making the anti-pinch judgment and the actual operating state have a higher degree of matching, thereby improving the accuracy and reliability of the charging port cover anti-pinch control.
[0036] In summary, this embodiment, based on determining the current preset basic anti-pinch current threshold corresponding to the charging port cover, further calibrates the preset basic anti-pinch current threshold by combining historical normal operation data of the charging port cover to obtain a target anti-pinch current threshold that better matches the current actual operating state of the charging port cover. Then, the anti-pinch control process is executed based on the target anti-pinch current threshold. This forms an anti-pinch control mechanism based on a dynamic anti-pinch current threshold, enabling anti-pinch judgment to better match different operating conditions of the charging port cover and changes in drive state during long-term use. It avoids situations where the preset basic anti-pinch current threshold does not match the actual operating state of the charging port cover due to wear of related components, changes in mechanism resistance, etc., during long-term use. This reduces the risk of false triggering of anti-pinch or inaccurate anti-pinch response due to mismatched anti-pinch current thresholds, improves the accuracy and reliability of anti-pinch control during the driving process of the charging port cover, enhances the safety and reliability of vehicle charging port cover operation, improves the adaptive capability and intelligence level of the charging port cover's anti-pinch control, and further enhances the user experience.
[0037] Optionally, the actual operating data includes the drive mechanism used to drive the charging port cover, and the drive current during the process of driving the charging port cover.
[0038] Specifically, the charging port cover is driven by a drive mechanism to open or close. Actual operating data includes the drive current of the drive mechanism during the operation of the charging port cover; that is, the drive current is acquired in real time during the charging port cover's operation. This drive current directly reflects the changes in the drive load during the charging port cover's operation. When the charging port cover encounters external obstructions (such as clamping objects or obstacles) during its movement, the resistance that the drive mechanism needs to overcome increases, leading to changes in the drive current. Therefore, acquiring the drive current provides a data basis for determining whether the charging port cover currently meets the anti-pinch conditions.
[0039] The anti-pinch control conditions include that the drive current in the actual operating data is greater than or equal to the target anti-pinch current threshold.
[0040] Specifically, after determining the target anti-pinch current threshold applicable to the charging port cover, the drive current in the actual operating data can be compared with the target anti-pinch current threshold. When the drive current is greater than or equal to the target anti-pinch current threshold, it indicates that the drive resistance of the drive mechanism driving the charging port cover has reached or exceeded the preset anti-pinch judgment standard, and there is a risk of the charging port cover being clamped or colliding. Therefore, the charging port cover is controlled to perform an anti-pinch control process (such as controlling the drive mechanism to stop driving the charging port cover to move, controlling the drive mechanism to drive the charging port cover to move in the opposite direction, or performing other preset anti-pinch processing methods) to avoid the charging port cover continuing to move and causing clamping or collision.
[0041] Therefore, the method in this embodiment obtains the driving current during the charging port cover driving process and uses whether the driving current is greater than or equal to the target anti-pinch current threshold as the anti-pinch control condition. This enables the anti-pinch judgment to fully combine the current operating state of the charging port cover and the actual driving state, thereby improving the accuracy and reliability of the anti-pinch judgment and further enhancing the safety of the charging port cover operation.
[0042] Optionally, the actual operating data also includes the power supply voltage and ambient temperature of the drive mechanism during the process of driving the charging port cover.
[0043] Specifically, the actual operating data includes the drive current of the drive mechanism during the process of driving the charging port cover, as well as the power supply voltage and ambient temperature during the same process. The power supply voltage reflects the current power supply status of the drive mechanism, while the ambient temperature reflects the impact of the current operating environment on the driving characteristics of the charging port cover. Since changes in both the power supply voltage and ambient temperature affect the corresponding drive current of the charging port cover, and also the corresponding anti-pinch current threshold, comprehensively acquiring operating data such as power supply voltage and ambient temperature allows for accurate determination of the current operating status. Based on this, a preset basic anti-pinch current threshold corresponding to the current operating status can be determined. Furthermore, this provides a data basis for subsequent calibration of the preset basic anti-pinch current threshold using historical normal operating data, thereby accurately determining the target anti-pinch current threshold applicable to the charging port cover.
[0044] The preset basic anti-pinch current threshold for the charging port cover, corresponding to the actual operating data, includes: Based on the power supply voltage and ambient temperature in the actual operating data, and combined with the correspondence between power supply voltage, ambient temperature, and preset basic anti-pinch current threshold, the preset basic anti-pinch current threshold corresponding to the actual operating data is determined.
[0045] Specifically, during the charging port cover driving process, based on the power supply voltage and ambient temperature in the current actual operating data of the driving mechanism, and combined with the pre-established correspondence between power supply voltage, ambient temperature, and preset basic anti-pinch current threshold, the corresponding preset basic anti-pinch current threshold can be found or calculated. For example, when the current power supply voltage and ambient temperature are consistent with the calibration conditions, the corresponding preset basic anti-pinch current threshold can be directly read; when the current power supply voltage or ambient temperature is between adjacent calibration conditions, the corresponding preset basic anti-pinch current threshold can be determined by linear interpolation, bilinear interpolation, or surface fitting.
[0046] In this way, by pre-calibrating the driving characteristics of the drive mechanism under different power supply voltages and ambient temperatures, and establishing the correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current threshold, the influence of power supply voltage fluctuations and ambient temperature changes on the drive current can be fully considered. This makes the preset basic anti-pinch current threshold determined in actual operation more consistent with the current operating conditions, providing a reliable basis for accurately determining the anti-pinch current threshold in the future. This reduces the risk of misjudgment or missed judgment of anti-pinch due to mismatch between the preset basic anti-pinch current threshold and the actual operating state caused by environmental changes or power supply fluctuations, thereby improving the accuracy, reliability and environmental adaptability of the charging port cover anti-pinch control.
[0047] In some embodiments, besides directly determining the preset basic anti-pinch current threshold by looking up a table based on the correspondence between power supply voltage, ambient temperature, and preset basic anti-pinch current threshold, a mathematical model can also be established based on the above correspondence to characterize the operating characteristics of the corresponding drive mechanism of the charging port cover. The currently acquired power supply voltage and ambient temperature are then input into the mathematical model to calculate the corresponding preset basic anti-pinch current threshold. The mathematical model can be a linear model, a nonlinear model, a polynomial fitting model, a machine learning model, or other models capable of characterizing the relationship between power supply voltage, ambient temperature, and the preset basic anti-pinch current threshold.
[0048] Optionally, the intelligent control method for preventing the charging port cover from being pinched also includes: The driving current of the drive mechanism under different power supply voltages and ambient temperatures is calibrated. The preset basic anti-pinch current threshold corresponding to the driving current under different power supply voltages and ambient temperatures is determined, and the correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current threshold is established.
[0049] Specifically, since the driving current of the drive mechanism during the opening or closing of the charging port cover is affected not only by the resistance of the charging port cover's movement but also by changes in the power supply voltage and ambient temperature, in order to improve the accuracy of the anti-pinch current threshold, in this embodiment, the driving current of the drive mechanism under different power supply voltages and different ambient temperatures (e.g., full-temperature and full-pressure conditions, i.e., covering various calibration conditions within the design operating voltage range and design operating ambient temperature range of the drive mechanism) can be calibrated first. For example, during the product development stage or factory calibration stage corresponding to the charging port cover, multiple sets of drive tests are conducted on the drive mechanism under different power supply voltages and / or different ambient temperatures. The driving current during the normal opening or closing of the charging port cover under each condition (which is used to characterize the actual working conditions of the drive mechanism; different conditions can correspond to different power supply voltages and / or ambient temperatures, i.e., different power supply voltages, different ambient temperatures, or both can be considered different conditions) is collected. Based on the normal operating current of the drive mechanism and the anti-pinch requirements under the corresponding conditions, the corresponding preset basic anti-pinch current threshold is determined. Subsequently, a correspondence is established between different power supply voltages, different ambient temperatures and the corresponding preset basic anti-pinch current thresholds, forming a correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current thresholds. This correspondence can be stored using a two-dimensional lookup table, database, function model, fitting model or other data mapping methods.
[0050] For example, the determination of the preset basic anti-pinch current threshold under the corresponding operating condition can be based on the collected drive current during the process of the drive mechanism driving the charging port cover under that operating condition, combined with the statistical results of the drive current under each operating condition, the normal drive current fluctuation range, and the anti-pinch triggering requirements. For instance, the drive current under that operating condition can be used as a base value, and a preset safety margin can be added to this base value to obtain the preset basic anti-pinch current threshold under the corresponding operating condition. The preset safety margin can be determined based on at least one of the following: drive current fluctuation range, drive mechanism consistency error, sensor sampling error, anti-pinch response requirements, and system control margin, to ensure that anti-pinch is not falsely triggered during normal driving, and that anti-pinch control can be triggered in a timely manner when clamping resistance occurs at the charging port cover.
[0051] For example, combined Figure 4 As shown, Figure 4A schematic diagram illustrating the correspondence between supply voltage, ambient temperature, and preset basic anti-pinch current threshold for the drive mechanism is shown. The X-axis represents the supply voltage, the Y-axis represents the ambient temperature, and the Z-axis represents the preset basic anti-pinch current threshold. By pre-obtaining the drive current of the drive mechanism corresponding to the charging port cover under different supply voltages and ambient temperatures, and combining this with the anti-pinch calibration results under corresponding operating conditions, a correspondence between supply voltage, ambient temperature, and the anti-pinch current threshold can be established, thus forming a mapping relationship or operating model for determining the preset basic anti-pinch current threshold. Figure 4 It can be seen that, under the same ambient temperature, as the supply voltage increases, the anti-pinch current threshold (i.e., the preset basic anti-pinch current threshold) of the drive mechanism gradually increases; while under the same supply voltage, as the ambient temperature increases, the anti-pinch current threshold of the drive mechanism gradually decreases. This is because when the supply voltage increases, the drive mechanism can output greater driving capability, and the driving current under normal operating conditions increases accordingly, thus increasing the corresponding anti-pinch current threshold. Conversely, as the ambient temperature increases, the operating resistance of the drive mechanism and related transmission mechanisms usually decreases, and the driving current under normal operating conditions decreases accordingly, thus decreasing the corresponding anti-pinch current threshold.
[0052] Optionally, combined Figure 1 , Figure 2 As shown, based on the historical normal operation data of the charging port cover, the preset basic anti-pinch current threshold is calibrated to determine the target anti-pinch current threshold currently applicable to the charging port cover, including: Step 310: Calculate the average value of the first historical normal driving current based on the driving current corresponding to the driving process of the driving mechanism driving the charging port cover to operate normally for the first preset number of times. Step 320: Determine the adjustment range for the preset basic anti-pinch current threshold based on the average value of the first historical normal driving current and the driving current corresponding to the current driving process. Step 330: Based on the preset basic anti-pinch current threshold and adjustment range, compensate the preset basic anti-pinch current threshold to determine the target anti-pinch current threshold applicable to the charging port cover.
[0053] Because the mechanical wear, transmission resistance, lubrication status, and assembly clearance of the drive mechanism may change during long-term use, the drive current during normal operation may deviate from the factory calibration. Therefore, simply using the preset basic anti-pinch current threshold obtained from pre-calibration may not fully reflect the current actual operating state of the drive mechanism. To address this, the method in this embodiment further dynamically calibrates the current preset basic anti-pinch current threshold based on the historical normal operation data corresponding to the charging port cover, in order to determine the target anti-pinch current threshold applicable to the charging port cover.
[0054] Specifically, in this embodiment, the method can obtain the driving current corresponding to the driving process of the charging port cover operating normally for a preset number of times (denoted as the first preset number; the first preset number is the first preset number before the current driving process) of the driving mechanism, and calculate the average value of the driving current to obtain the average value of the driving current (denoted as the first historical average value of normal driving current). The first preset number can be set according to actual needs, for example, it can be the previous 10, 20, 50 or 100 normal driving processes of the driving mechanism on the charging port cover, so as to take into account the stability of historical operating characteristics and the real-time performance of the current operating status.
[0055] Subsequently, the drive current corresponding to the current driving process is compared with the average value of the first historical normal drive current. The adjustment range for the preset basic anti-pinch current threshold can be determined based on the difference between the two. For example, when the current drive current is higher than the average value of the first historical normal drive current, the preset basic anti-pinch current threshold can be appropriately increased; when the current drive current is lower than the average value of the first historical normal drive current, the preset basic anti-pinch current threshold can be appropriately decreased.
[0056] Finally, based on the preset basic anti-pinch current threshold and the adjustment range, the preset basic anti-pinch current threshold is compensated to obtain the target anti-pinch current threshold currently applicable to the charging port cover.
[0057] In this way, by using the normal operation data of the first preset number of times to dynamically correct the preset basic anti-pinch current threshold, the target anti-pinch current threshold can be adaptively adjusted according to the changes in the actual operating state of the drive mechanism. This not only reduces the risk of false and missed anti-pinch judgments caused by aging, wear or environmental changes of the drive mechanism, but also improves the accuracy, stability and long-term operational reliability of anti-pinch control.
[0058] For example, compensation for the preset basic anti-pinch current threshold can be achieved using absolute compensation, proportional compensation, or other compensation methods. For instance, the difference between the current driving current and the average historical normal driving current can be used as the adjustment range to directly compensate the preset basic anti-pinch current threshold. Alternatively, the change ratio of the current normal operating driving current relative to the preset basic driving current can be determined based on historical normal operating data, and the adjustment range can be determined accordingly to proportionally compensate the preset basic anti-pinch current threshold. Furthermore, the adjustment range can be adaptively determined by comprehensively considering factors such as the driving current change trend, the wear degree of the driving mechanism, the statistical results of historical normal operating data, and the preset compensation strategy, and the preset basic anti-pinch current threshold can be compensated accordingly to obtain the target anti-pinch current threshold applicable to the charging port cover.
[0059] Optionally, combined Figure 3As shown, the actual operating data also includes the current position of the charging port cover; the anti-pinch control conditions also include that the current position of the charging port cover is within the preset anti-pinch working range, which is located between the fully closed position and the fully open position of the charging port cover.
[0060] Specifically, because the charging port cover corresponds to different operating states at different positions during the opening or closing process, the drive current of the drive mechanism will vary due to the mechanical structure characteristics. For example, when the charging port cover just begins to open or close, the drive mechanism needs to overcome static friction and mechanism starting resistance; when the charging port cover is close to the fully closed position, the drive mechanism also needs to overcome the sealing force, locking mechanism resistance, or limiting mechanism buffering resistance; when the charging port cover is close to the fully open position, the drive current may also increase normally due to the action of the limiting mechanism. The above positions are all areas where current fluctuations are likely to occur during the normal operation of the drive mechanism, and are not abnormal current changes caused by the charging port cover being clamped. If anti-pinch judgment is performed throughout the entire opening or closing stroke, the current fluctuations during the above normal operation process may be misjudged as clamping, thereby causing the anti-pinch function to be falsely triggered, affecting the normal opening or closing of the charging port cover. In this regard, the method of this embodiment uses the current position of the charging port cover as part of the actual operating data, and uses the current position of the charging port cover being within a preset anti-pinch working range as one of the anti-pinch control conditions. The preset anti-pinch working range is set between the fully closed and fully open positions of the charging port cover. Within this working range, the driving current of the drive mechanism is less affected by changes in normal mechanical resistance such as starting resistance, sealing force, and limit mechanism resistance. It is more able to reflect the load changes caused by clamping during the operation of the charging port cover, and is therefore suitable as the working range for anti-pinch judgment.
[0061] For example, during the opening or closing of the charging port cover by the drive mechanism, the current position of the charging port cover is acquired in real time, and it is determined whether the current position is within a preset anti-pinch working range. When the current position of the charging port cover is within the preset anti-pinch working range, the drive current corresponding to the current drive process is further compared with a target anti-pinch current threshold. When the drive current is greater than or equal to the target anti-pinch current threshold, it is determined that the charging port cover may be clamped, and the drive mechanism is controlled to execute the corresponding anti-pinch control process. When the drive current is less than the target anti-pinch current threshold, the drive mechanism continues to drive the charging port cover to move. When the current position of the charging port cover is not within the preset anti-pinch working range, the anti-pinch judgment is not executed, and the drive mechanism continues to drive the charging port cover to move according to the preset control strategy.
[0062] Thus, this embodiment constructs a dual judgment mechanism based on both position and current conditions by using the current position of the charging port cover and the drive current as anti-pinch control conditions. The current position of the charging port cover defines the effective working range for anti-pinch judgment, triggering the judgment only within a preset anti-pinch working range where the drive current accurately reflects changes in the load of the charging port cover. The drive current characterizes the current load state of the charging port cover to determine whether it is being clamped. Through their coordinated operation, this avoids misjudgments caused by increased drive current due to changes in normal mechanical resistance such as static friction, sealing force, and limit mechanism resistance during the start-up phase, near the fully closed position, and near the fully open position. It also improves the accuracy, reliability, and stability of anti-pinch control, reducing the impact of false triggering of the anti-pinch function on the normal opening or closing process of the charging port cover.
[0063] Feasibly, the current position of the charging port cover can be determined by a position sensor, Hall sensor, encoder, drive mechanism displacement detection device, or by the number of drive revolutions and running time of the drive mechanism.
[0064] Optionally, combined Figure 3 As shown, the preset anti-pinch working range is located between the first preset opening degree and the second preset opening degree of the charging port cover. The first preset opening degree is close to the preset opening degree after the charging port cover leaves the fully closed position, and the second preset opening degree is close to the preset opening degree before the charging port cover reaches the fully open position. That is, the preset anti-pinch working range is located within the middle opening range of the charging port cover's opening or closing stroke, and is located between the corresponding fully closed and fully open positions of the charging port cover. The first and second preset opening degrees can be calibrated and determined based on the structural dimensions of the charging port cover, the characteristics of the drive mechanism, the characteristics of the drive current variation, and the anti-pinch performance requirements. In some embodiments, deceleration zones are formed between the preset anti-pinch working range and the fully closed position, and between the preset anti-pinch working range and the fully open position, respectively. When the drive mechanism drives the charging port cover into the deceleration zone, the drive mechanism is controlled to reduce the opening speed and / or closing speed of the charging port cover, so that the charging port cover moves to the fully open and / or fully closed positions at a lower speed. By implementing deceleration control when the charging port cover approaches the fully open or fully closed position, the inertia and opening / closing impact during the charging port cover's movement are reduced, improving the smoothness of the opening and closing process. Furthermore, because the charging port cover operates at a lower speed, even if clamping or collision occurs, the clamping force and impact are reduced, further enhancing the safety and reliability of the anti-pinch control. The deceleration range can be calibrated and determined based on the structural dimensions of the charging port cover, the characteristics of the drive mechanism, the opening and closing speed, and the smoothness requirements.
[0065] For example, the opening degree corresponding to the fully closed position of the charging port cover can be defined as 0%, and the opening degree corresponding to the fully open position of the charging port cover can be defined as 100%. Then, the first preset opening degree can be 5%, and the second preset opening degree can be 95%, that is, the opening degree range of the charging port cover from 5% to 95% is used as the preset anti-pinch working range. Correspondingly, the opening degree range of 0% to 5% and the opening degree range of 95% to 100% of the charging port cover are respectively the deceleration ranges.
[0066] Optionally, the intelligent control method for preventing the charging port cover from being pinched also includes: Get the working status of the windshield wipers of the vehicle where the charging port cover is located, and / or get the weather conditions of the vehicle. When the wipers are in operation and / or the weather is rainy or snowy, the target anti-pinch current threshold is increased according to the first preset compensation value.
[0067] Specifically, in rainy or snowy weather, rainwater, snow, or ice may adhere to the surface of the charging port cover, the corresponding connecting mechanism (such as the hinge mechanism), and the area around the drive mechanism. This increases the operating resistance during the opening or closing of the charging port cover by the drive mechanism, resulting in an increase in the drive current under normal operating conditions compared to sunny weather. If the target anti-pinch current threshold corresponding to the weather conditions before rain or snow is still used for anti-pinch judgment, the normal increase in drive current caused by rain or snow may be misjudged as a clamping state, causing the anti-pinch function to be falsely triggered and affecting the normal opening or closing of the charging port cover.
[0068] Therefore, the method in this embodiment further obtains the working status of the windshield wipers and / or the weather conditions of the vehicle where the charging port cover is located. The windshield wipers being in working condition typically indicates that the vehicle is currently in a rainy or snowy environment; the weather conditions can be determined through weather information acquired by the vehicle, rain sensors, environmental sensors, vehicle networking services, or other means. When the windshield wipers are detected to be in working condition and / or the weather conditions are rainy or snowy, the target anti-pinch current threshold is increased according to a preset compensation value (denoted as the first preset compensation value). This causes the anti-pinch control strategy to enter a lower sensitivity state to compensate for the increased normal drive current caused by rainy or snowy weather, avoiding misjudging normal current fluctuations caused by increased drive resistance in rainy or snowy environments as a clamping state. This reduces the risk of false triggering of the anti-pinch function and improves the accuracy, reliability, and environmental adaptability of the anti-pinch control under different weather conditions. The first preset compensation value can be determined based on at least one of the following: rain / snow level, ambient temperature, historical calibration data, experimental calibration results, or empirical data. It can be a fixed compensation value, a proportional compensation value, or an adaptive compensation value. In some embodiments, an adaptive compensation value is adopted, such as a smaller first preset compensation value in light rain conditions and a larger first preset compensation value in heavy rain or snow conditions, so that the target anti-pinch current threshold can adapt to the changes in the normal operating current of the drive mechanism under different rain and snow conditions.
[0069] In this way, by compensating the target anti-pinch current threshold according to the wiper working status and / or weather conditions, the target anti-pinch current threshold can be adaptively adjusted according to the vehicle's environment, effectively reducing the anti-pinch misjudgment and false triggering caused by increased normal operating resistance in rainy and snowy weather. While ensuring the normal opening and closing of the charging port cover, it improves the accuracy, reliability and environmental adaptability of anti-pinch control.
[0070] Optionally, the intelligent control method for preventing the charging port cover from being pinched also includes: Obtain environmental information within a preset range of the charging port cover; In response to the detection of an obstacle within a preset range of the charging port cover, the target anti-pinch current threshold is reduced according to a second preset compensation value, and / or the charging port cover drive is paused and an alarm message is generated.
[0071] Specifically, in addition to determining the anti-pinch effect based on the driving current, the method in this embodiment can further acquire environmental information within a preset range of the charging port cover to detect in advance whether there are obstacles around the charging port cover that may affect the opening or closing process. The environmental information can be acquired by millimeter-wave radar, ultrasonic sensors, cameras, infrared sensors, lidar, or other environmental sensing devices. The preset range can be set based on the opening trajectory, closing trajectory, movement space, and anti-pinch protection range of the charging port cover.
[0072] When an obstacle is detected within a preset range of the charging port cover, it indicates an increased likelihood of clamping during subsequent opening or closing. To address this, the target anti-pinch current threshold can be reduced based on a preset compensation value (denoted as the second preset compensation value), allowing the anti-pinch control strategy to enter a higher sensitivity state earlier. When the drive current corresponding to the operation of the charging port cover by the drive mechanism reaches the reduced target anti-pinch current threshold, clamping can be detected relatively early, and the corresponding anti-pinch control process can be executed promptly.
[0073] And / or, when an obstacle is detected within a preset range of the charging port cover, the charging port cover drive can be directly paused to avoid clamping that may occur if the charging port cover continues to drive; at the same time, an alarm message is generated to alert the user that there is an obstacle around the charging port cover. The alarm message can be output in the form of an audible alarm, a light alarm, a vehicle display screen prompt, a mobile terminal push, or a combination thereof.
[0074] Thus, the method of this embodiment obtains environmental information within a preset range of the charging port cover, detects obstacles in advance before or during the driving mechanism drives the charging port cover, and combines this with reducing the target anti-pinch current threshold and / or pausing the driving of the charging port cover to achieve coordinated cooperation between environmental perception and anti-pinch control. This not only improves the response capability of anti-pinch control to potential clamping risks, but also reduces the possibility of the charging port cover coming into contact with or even clamping obstacles, further improving the safety, reliability and active protection capability of the charging port cover anti-pinch control.
[0075] Optionally, the intelligent control method for preventing the charging port cover from being pinched also includes: Based on the historical normal operation data of the charging port cover, the trend of drive current variation was determined; When the trend of the drive current change meets the preset maintenance early warning conditions, a maintenance prompt message for the drive mechanism is generated.
[0076] With prolonged use of the charging port cover, the transmission mechanism, connecting mechanism, or other moving parts corresponding to the drive mechanism may experience a gradual increase in operating resistance due to insufficient lubrication, wear, or accumulation of foreign matter. This, in turn, causes the drive current corresponding to the drive mechanism to gradually increase during normal operation of the charging port cover. Since the aforementioned changes in drive current usually occur gradually, it is difficult to determine the cause of a fault based on a single drive current reading. Therefore, the method in this embodiment further determines the trend of drive current changes based on the historical normal operating data of the charging port cover, so as to continuously monitor the operating status of the drive mechanism and provide preventative maintenance warnings accordingly.
[0077] Specifically, historical normal operation data corresponding to each driving process of the charging port cover is continuously acquired, and the driving current change trend is determined based on this data. This driving current change trend characterizes the long-term changes in driving current as the number of times the charging port cover is used increases, such as a continuous increase, a continuous decrease, or a stable state. When the driving current change trend meets preset maintenance warning conditions, a maintenance prompt message for the driving mechanism is generated. This message prompts the user to maintain the driving mechanism, such as checking its operating status, lubricating the charging port cover track, removing foreign objects, or replacing relevant components. For example, preset maintenance warning conditions include: a continuously increasing driving current trend, and the magnitude of the driving current change reaching a preset threshold. For instance, when the driving current continuously increases with the number of times the charging port cover is used, and the increase relative to the initial normal operation state reaches a preset proportion, it can be determined that the driving mechanism's operating resistance is increasing, and a driving mechanism maintenance prompt message is generated.
[0078] Thus, by continuously analyzing the trend of drive current changes corresponding to the historical normal operation data of the charging port cover, the method of this embodiment can identify the deterioration trend of the driving mechanism's operating status in a timely manner before the driving mechanism fails or affects the normal operation of the charging port cover, and generate maintenance prompts in advance to guide users to perform preventive maintenance. This reduces the impact of the performance degradation of the driving mechanism caused by long-term operation on the normal opening and closing process of the charging port cover, and improves the reliability and service life of the driving mechanism.
[0079] Optionally, the trend of drive current variation is determined based on historical normal operation data of the charging port cover, including: The average value of the initial normal drive current is determined based on the historical normal operation data corresponding to the second preset number of times before the charging port cover is installed. The actual operating data corresponding to the charging port cover is continuously acquired to determine the average value of the second historical normal driving current when the charging port cover is in each driving process; wherein, the average value of the second historical normal driving current is the average value of the historical normal driving current determined based on the historical normal operating data of the second preset number of times before the current driving process of the charging port cover. The trend of drive current variation is determined by the average initial normal drive current and the average of multiple consecutive second historical normal drive currents.
[0080] Specifically, to avoid the influence of occasional fluctuations in the drive current during a single drive process on the judgment of the drive mechanism's operating status, this embodiment uses the average drive current corresponding to historical normal operating data as the evaluation basis for the drive mechanism's operating status. First, based on the historical normal operating data corresponding to the second preset number of times the charging port cover was driven, an initial average normal drive current is determined as the benchmark average drive current under normal operating conditions. Then, based on the continuous acquisition of actual operating data corresponding to the charging port cover, during each charging port cover drive process, the second historical average normal drive current corresponding to each drive process is determined based on the historical normal operating data of the second preset number of times the charging port cover was driven before that current drive process. The second historical average normal drive current can be determined using a sliding window method; that is, after each normal drive process of the charging port cover is completed, the historical normal operating data corresponding to that normal drive process is added to the data set used to calculate the second historical average normal drive current, and the earliest historical normal operating data in the data set is removed, ensuring that the data set always includes the historical normal operating data of the second preset number of times the charging port cover was driven before that current drive process. Therefore, with each additional drive cycle of the charging port cover, the historical normal operation data used to calculate the average of the second historical normal drive current is updated synchronously, thereby continuously obtaining multiple consecutive averages of the second historical normal drive current. The trend of the historical normal drive current average is determined based on the initial average normal drive current and the multiple consecutive averages of the second historical normal drive current, serving as the drive current trend. Using historical normal operation data corresponding to the second preset number of cycles to determine the average of the second historical normal drive current can reduce the impact of abnormal drive current changes caused by environmental changes, power supply fluctuations, or accidental factors during a single drive cycle on the judgment result. Furthermore, continuously updating the average of the second historical normal drive current using a sliding window method allows the drive current trend to more accurately reflect the recent changes in the drive mechanism's operating status, improving the real-time performance and reliability of long-term monitoring of the drive mechanism's operating status.
[0081] Optionally, preset maintenance warning conditions include: The growth rate of the second historical average normal drive current relative to the initial average normal drive current is greater than the preset ratio threshold.
[0082] Specifically, when the trend of the drive current change meets the preset maintenance warning conditions, a maintenance prompt message for the drive mechanism is generated. The preset maintenance warning conditions include a growth rate of the second historical average normal drive current relative to the initial average normal drive current exceeding a preset percentage threshold. For example, the second preset number of times could be 100, and the preset percentage threshold could be 50%. When the growth rate of the second historical average normal drive current relative to the initial average normal drive current exceeds 50%, it can be considered that the long-term operating resistance of the drive mechanism has a significant increasing trend. At this time, a drive mechanism maintenance prompt message is generated, such as prompting the user that "the charging port cover track may need lubrication" or "it is recommended to check the operating status of the drive mechanism," to remind the user to perform timely maintenance.
[0083] Thus, the method in this embodiment establishes an initial average normal drive current and continuously updates the second historical average normal drive current based on a sliding window. It dynamically tracks and analyzes the changing trend of the drive current during the long-term operation of the drive mechanism. This allows for the early identification of the deterioration trend of the drive mechanism's operating status before the drive mechanism malfunctions or affects the normal operation of the charging port cover. It also generates maintenance prompts in a timely manner to guide users to perform preventive maintenance, thereby reducing the risk of drive abnormalities caused by insufficient lubrication, wear, or foreign matter accumulation, and improving the reliability and service life of the drive mechanism.
[0084] Optionally, the intelligent control method for preventing the charging port cover from being pinched also includes: In response to the drive mechanism driving the charging port cover from the fully closed position to perform an opening operation, and the drive mechanism stalls, the drive mechanism is controlled to enter the ice-breaking drive mode; Icebreaking drive modes include: After the control drive mechanism cycles through a preset number of times according to the first preset driving time and the second preset stopping time, the control drive mechanism normally drives the charging port cover to open.
[0085] Specifically, when the charging port cover is opened from the fully closed position, the seals, locking mechanisms, rotating connections, or other moving parts may experience significantly increased operating resistance during the initial opening due to environmental factors, foreign object jamming, insufficient lubrication, mechanical adhesion, icing, or frost formation. This can cause the drive mechanism to stall during the initial opening phase. If the drive mechanism continues to operate in the normal driving mode, it will not only struggle to overcome the aforementioned resistance but may also remain stalled for an extended period, leading to increased heat generation, increased mechanical impact, and potentially affecting its lifespan. Therefore, in this embodiment, when the drive mechanism opens the charging port cover from the fully closed position and a stall is detected, the drive mechanism is controlled to enter an ice-breaking drive mode (or pulse drive mode). The ice-breaking drive mode includes controlling the drive mechanism to cycle for a preset number of times according to a first preset driving duration and a second preset stopping duration. Within a first preset duration, the drive mechanism outputs driving force to overcome the initial resistance of the charging port cover opening. Within a second preset duration, the drive mechanism stops outputting force, allowing it to recover properly and preventing excessive temperature rise or mechanical load due to continuous stalling. By alternating between driving and stopping, the opening resistance can be gradually reduced, increasing the success rate of the charging port cover unblocking and opening normally. For example, the first preset duration can be 800ms, the second preset duration can be 3s, and the preset number of cycles can be 5. After completing the preset number of cycles, the drive mechanism switches to normal driving mode (which refers to continuously driving the charging port cover according to preset driving parameters until the charging port cover reaches the target position or receives a stop command), and continues to drive the charging port cover to open.
[0086] Thus, the method in this embodiment enters the ice-breaking drive mode when the charging port cover stalls at the initial stage of opening. By using an alternating cycle of driving and stopping, it gradually overcomes the abnormal resistance at the initial stage of opening the charging port cover. Compared with continuous stall drive, it can reduce the heat generation and mechanical impact of the drive mechanism, reduce the risk of damage to the drive mechanism, and improve the success rate of opening the charging port cover under various working conditions such as icing, mechanism adhesion, foreign object jamming, and insufficient lubrication. It also improves the environmental adaptability and operational reliability of the charging port cover control system.
[0087] For example, a stall in the drive mechanism can be determined by detecting its operating status. For instance, if, after the drive mechanism outputs a drive command, the motor speed is detected to be lower than a preset speed threshold or zero within a preset time, and the drive current reaches or exceeds a preset stall current threshold, then the drive mechanism can be determined to be stalled. Alternatively, if it is detected that the drive mechanism continuously outputs drive force while the current position of the charging port cover does not change or the change is less than a preset position change threshold, then the drive mechanism can also be determined to be stalled.
[0088] Optionally, controlling the charging port cover to perform the anti-pinch control process includes: Control the drive motor to stop driving the charging port cover; And / or, control the drive motor to drive the charging port cover in reverse at a preset distance or preset angle.
[0089] Specifically, when the actual operating data meets the anti-pinch control conditions, it is determined that the charging port cover (may) be clamped. To prevent the drive mechanism from continuously outputting driving force and further squeezing the clamped object, the charging port cover is controlled to perform an anti-pinch control process. The anti-pinch control process may include controlling the drive motor to stop driving the charging port cover, and / or controlling the drive motor to reverse the driving of the charging port cover by a preset distance or preset angle.
[0090] For example, when the drive motor stops driving the charging port cover, the drive control signal output to the drive motor can be stopped immediately, causing the drive motor to stop driving the charging port cover to move, thereby promptly terminating the continued opening or closing of the charging port cover to avoid further increase in clamping force and reduce the risk of damage to the clamped object. In addition to stopping the drive, the drive motor can also be controlled to reverse the drive of the charging port cover by a preset distance or preset angle. The preset distance or preset angle can be calibrated and determined based on the structural dimensions of the charging port cover, the opening stroke, anti-pinch requirements, and the performance of the drive mechanism, etc., and this application does not limit this. By controlling the reverse movement of the charging port cover, the clamping space between the charging port cover and the clamped object can be actively released, allowing the clamped object to detach from the charging port cover in a timely manner, further reducing the clamping risk and improving the anti-pinch control effect. Controlling the drive motor to stop driving and controlling the drive motor to reverse driving can be performed individually or in combination. For example, the drive motor can be controlled to stop driving first, and then controlled to reverse driving by a preset distance or preset angle; or, after determining that clamping has occurred, the drive motor can be directly controlled to reverse drive.
[0091] Thus, the method of this embodiment, by adopting an anti-pinch control method that combines stop driving and / or reverse driving, can promptly terminate the driving mechanism from continuing to apply clamping force when it detects that the charging port cover may be clamped, and actively release the clamping space as needed. This not only reduces the risk of personal injury or object damage caused by clamping, but also improves the safety, reliability, and user experience of the anti-pinch control of the charging port cover.
[0092] Combination Figure 5 As shown, another embodiment of the present invention provides a smart control device for preventing pinching of a charging port cover, comprising: The acquisition unit is used to acquire actual operating data during the charging port cover driving process; The calculation unit is used to determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data. The calibration unit is used to calibrate the preset basic anti-pinch current threshold based on the historical normal operation data of the charging port cover, and determine the target anti-pinch current threshold applicable to the charging port cover. The execution unit is used to control the charging port cover to perform the anti-pinch control process in response to the actual operating data meeting the anti-pinch control conditions regarding the target anti-pinch current threshold.
[0093] The charging port cover anti-pinch intelligent control device in this embodiment is used to implement the above-mentioned charging port cover anti-pinch intelligent control method. Its advantages over the prior art are the same as the advantages of the above-mentioned charging port cover anti-pinch intelligent control method over the prior art, and will not be repeated here.
[0094] Combination Figure 6 As shown, another embodiment of the present invention provides a vehicle, including a memory 601 and a processor 602; Memory 601 is used to store computer programs; The processor 602 is used to implement the above-mentioned intelligent control method for preventing the charging port cover from being pinched when executing a computer program.
[0095] Alternatively, a vehicle includes a memory 601 and a processor 602 coupled to the memory 601; the memory 601 is configured to store a computer program; the processor 602 is configured to perform the following operations when the computer program is executed: Acquire actual operating data during the charging port cover driving process; Determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data; Based on the historical normal operation data of the charging port cover, the preset basic anti-pinch current threshold is calibrated to determine the target anti-pinch current threshold applicable to the charging port cover. When the actual operating data meets the anti-pinch control conditions regarding the target anti-pinch current threshold, the charging port cover is controlled to perform the anti-pinch control process.
[0096] Another embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is read and executed by a processor, it implements the above-mentioned intelligent control method for preventing the charging port cover from being pinched.
[0097] Alternatively, a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the following operations: Acquire actual operating data during the charging port cover driving process; Determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data; Based on the historical normal operation data of the charging port cover, the preset basic anti-pinch current threshold is calibrated to determine the target anti-pinch current threshold applicable to the charging port cover. When the actual operating data meets the anti-pinch control conditions regarding the target anti-pinch current threshold, the charging port cover is controlled to perform the anti-pinch control process.
[0098] The technical solutions of the embodiments of the present invention, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, external hard drives, ROM, RAM, magnetic disks, or optical disks.
[0099] The computer-readable storage medium of this embodiment can be used to implement the above-described intelligent control method for preventing pinching of the charging port cover. Its advantages over the prior art are the same as those of the above-described intelligent control method for preventing pinching of the charging port cover compared to the prior art, and will not be repeated here.
[0100] While the present invention has been disclosed above, its scope of protection is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and all such changes and modifications will fall within the scope of protection of the present invention.
Claims
1. A smart control method for preventing pinching of a charging port cover, characterized in that, include: Acquire actual operating data during the charging port cover driving process; Determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data; Based on the historical normal operation data of the charging port cover, the preset basic anti-pinch current threshold is calibrated to determine the target anti-pinch current threshold currently applicable to the charging port cover. When the actual operating data meets the anti-pinch control conditions regarding the target anti-pinch current threshold, the charging port cover is controlled to perform an anti-pinch control process.
2. The intelligent control method for preventing pinching of the charging port cover as described in claim 1, characterized in that, The actual operating data includes the drive mechanism used to drive the charging port cover, and the drive current during the process of driving the charging port cover. The anti-pinch control condition includes the driving current in the actual operating data being greater than or equal to the target anti-pinch current threshold.
3. The intelligent control method for preventing pinching of the charging port cover as described in claim 2, characterized in that, The actual operating data also includes the power supply voltage and ambient temperature of the drive mechanism during the process of driving the charging port cover; The step of determining the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data includes: Based on the power supply voltage and ambient temperature in the actual operating data, and combined with the correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current threshold, the preset basic anti-pinch current threshold corresponding to the actual operating data is determined. And / or, the intelligent control method for preventing pinching of the charging port cover further includes: The driving current of the driving mechanism under different power supply voltages and different ambient temperatures is calibrated, the preset basic anti-pinch current threshold corresponding to the driving current under different power supply voltages and different ambient temperatures is determined, and the correspondence between power supply voltage, ambient temperature and preset basic anti-pinch current threshold is established.
4. The intelligent control method for preventing pinching of the charging port cover as described in claim 2, characterized in that, The step of calibrating the preset basic anti-pinch current threshold based on the historical normal operation data of the charging port cover, and determining the target anti-pinch current threshold currently applicable to the charging port cover, includes: Based on the driving current corresponding to the driving process of the driving mechanism driving the charging port cover to operate normally in the first preset number of times, the average value of the first historical normal driving current is calculated to determine the average value of the driving current. Based on the first historical average driving current and the driving current corresponding to the current driving process, determine the adjustment range for the preset basic anti-pinch current threshold. Based on the preset basic anti-pinch current threshold and the adjustment range, the preset basic anti-pinch current threshold is compensated to determine the target anti-pinch current threshold currently applicable to the charging port cover.
5. The intelligent control method for preventing pinching of the charging port cover as described in claim 2, characterized in that, The actual operating data also includes the current position of the charging port cover; the anti-pinch control conditions also include the current position of the charging port cover being located within a preset anti-pinch working range, which is located between the fully closed position and the fully open position of the charging port cover.
6. The intelligent control method for preventing pinching of the charging port cover as described in any one of claims 1-5, characterized in that, The intelligent control method for preventing pinching of the charging port cover also includes: Obtain the working status of the windshield wipers of the vehicle where the charging port cover is located, and / or obtain the weather conditions of the vehicle. When the wiper is in working condition and / or the weather condition is rainy or snowy, the target anti-pinch current threshold is increased according to the first preset compensation value.
7. The intelligent control method for preventing pinching of the charging port cover as described in any one of claims 1-5, characterized in that, The intelligent control method for preventing pinching of the charging port cover also includes: Obtain environmental information within a preset range of the charging port cover; In response to the detection of an obstacle within a preset range of the charging port cover, the target anti-pinch current threshold is reduced according to a second preset compensation value, and / or the charging port cover drive is paused and an alarm message is generated.
8. The intelligent control method for preventing pinching of the charging port cover as described in any one of claims 1-5, characterized in that, The intelligent control method for preventing pinching of the charging port cover also includes: The trend of the driving current variation is determined based on the historical normal operation data of the charging port cover; When the trend of the drive current change meets the preset maintenance early warning conditions, maintenance prompt information for the drive mechanism is generated.
9. The intelligent control method for preventing pinching of the charging port cover as described in claim 8, characterized in that, The step of determining the driving current variation trend based on the historical normal operation data of the charging port cover includes: The average value of the initial normal driving current is determined based on the historical normal operation data corresponding to the second preset number of times the charging port cover is installed. The actual operating data corresponding to the charging port cover is continuously acquired to determine the second historical normal driving current average value corresponding to each driving process of the charging port cover; wherein, the second historical normal driving current average value is the historical normal driving current average value determined based on the historical normal operating data of the charging port cover before the current driving process of the second preset number of times. The trend of the driving current change is determined based on the initial average normal driving current and a series of consecutive averages of the second historical normal driving current.
10. The intelligent control method for preventing pinching of the charging port cover as described in claim 9, characterized in that, The preset maintenance early warning conditions include: The growth rate of the second historical average normal drive current relative to the initial average normal drive current is greater than a preset ratio threshold.
11. The intelligent control method for preventing pinching of the charging port cover as described in any one of claims 1-5, characterized in that, The intelligent control method for preventing pinching of the charging port cover also includes: In response to the drive mechanism driving the charging port cover from the fully closed position to perform an opening operation, and the drive mechanism stalling, the drive mechanism is controlled to enter the ice-breaking drive mode; The ice-breaking driving mode includes: After controlling the drive mechanism to cycle for a preset number of times according to the method of driving for a first preset duration and stopping for a second preset duration, the drive mechanism is controlled to normally drive the charging port cover to open.
12. The intelligent control method for preventing pinching of the charging port cover as described in any one of claims 1-5, characterized in that, The process of controlling the charging port cover to perform anti-pinch control includes: Control the drive motor to stop driving the charging port cover; And / or, control the drive motor to drive the charging port cover in reverse a preset distance or preset angle.
13. A smart control device for preventing pinching of a charging port cover, characterized in that, include: The acquisition unit is used to acquire actual operating data during the charging port cover driving process; The calculation unit is used to determine the preset basic anti-pinch current threshold for the charging port cover corresponding to the actual operating data. The calibration unit is used to calibrate the preset basic anti-pinch current threshold based on the historical normal operation data of the charging port cover, and determine the target anti-pinch current threshold currently applicable to the charging port cover. An execution unit is configured to control the charging port cover to perform an anti-pinch control process in response to the actual operating data meeting the anti-pinch control conditions regarding the target anti-pinch current threshold.
14. A vehicle, characterized in that, Including memory and processor; The memory is used to store computer programs; The processor is configured to implement the intelligent control method for preventing pinching of the charging port cover as described in claims 1-12 when executing the computer program.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is read and executed by a processor to implement the intelligent control method for preventing pinching of the charging port cover as described in claims 1-12.