Control method and system of charging port cover
By monitoring the feedback voltage and temperature of the charging port cover in real time, a driving pulse width modulation signal is generated that adapts to different stroke sections, which solves the problem of unsmooth movement and incomplete closing of the charging port cover, achieving smoother operation and normal operation in low-temperature environments.
Patent Information
- Application Number
- CN202510439374.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-05-23
Smart Images

Figure CN120024294A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a control method and system for a charging port cover. Background Art
[0002] With the popularity of electric vehicles in the market, charging port covers have also changed from traditional mechanical charging port covers to electric charging port covers. The electric charging port cover control solutions available on the market are basically through HMI soft switch, mobile phone APP, charging port cover hard switch, automatic connection between charging pile and vehicle to control the port cover, etc.
[0003] However, the electric charging port covers on the market do not move smoothly during the opening or closing process and are prone to shaking when opening or closing. In addition, there will be a gap when the charging port cover is closed, which may further cause water leakage, ice, etc. at the charging port cover. Summary of the invention
[0004] In view of the shortcomings of the prior art described above, the object of the present invention is to provide a control method and system for a charging port cover, so as to solve the problems in the prior art that the electric charging port cover is not smooth during opening or closing, is prone to shaking when opening or closing, and leaves a gap when the charging port cover is closed, which further leads to water leakage, ice and the like at the charging port cover.
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a control method for a charging port cover, comprising: obtaining a feedback voltage and a current temperature of the charging port cover; obtaining the current travel section of the charging port cover according to the feedback voltage of the charging port cover; obtaining a driving pulse width modulation signal corresponding to the current travel section of the charging port cover according to the current travel section and the current temperature of the charging port cover; wherein the driving pulse width modulation signals corresponding to different current travel sections are not exactly the same; and driving the charging port cover according to the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.
[0006] In one embodiment of the present invention, the current travel section of the charging port cover is obtained according to the feedback voltage of the charging port cover, including: obtaining the feedback voltage interval corresponding to the charging port cover according to the feedback voltage of the charging port cover; obtaining the current travel section of the charging port cover according to the feedback voltage interval corresponding to the charging port cover.
[0007] In one embodiment of the present invention, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained according to the current travel section and the current temperature of the charging port cover, including: obtaining a segment pulse width modulation signal corresponding to the current travel section according to the current travel section of the charging port cover; obtaining a driving pulse width modulation signal corresponding to the current travel section of the charging port cover according to the current temperature of the charging port cover and the segment pulse width modulation signal corresponding to the current travel section.
[0008] In one embodiment of the present invention, the current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position; according to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including: when the current travel section of the charging port cover is one of the first section and the fifth section, a first section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained; wherein the first section pulse width modulation signal is smaller than the pulse width modulation signal corresponding to the second section, the pulse width modulation signal corresponding to the third section, and the pulse width modulation signal corresponding to the fifth section.
[0009] In one embodiment of the present invention, it also includes: when the charging port cover reaches the fifth section corresponding to the closed position, the voltage change and the operating current of the charging port cover within the preset time of the fifth section are monitored, so that when the voltage change and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is closed in place.
[0010] In one embodiment of the present invention, the voltage change and the operating current of the charging port cover within the preset time of the fifth section are monitored, so that when the voltage change and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is fully closed, including: obtaining the voltage change of the charging port cover within the preset time of the fifth section according to the feedback voltage of the charging port cover within the preset time of the fifth section; monitoring the voltage change and the operating current of the charging port cover within the preset time of the fifth section; when the voltage change of the charging port cover within the preset time of the fifth section is less than a preset threshold value, and the operating current of the charging port cover is greater than a preset stall current threshold value, it is determined that the charging port cover corresponding to the fifth section is fully closed.
[0011] In one embodiment of the present invention, before monitoring the voltage change and the operating current of the charging port cover within a preset time, it also includes: calculating the locked rotor current of the charging port cover by interpolation method according to the current temperature and driving voltage of the charging port cover; monitoring the current temperature of the charging port cover; when the current temperature of the charging port cover exceeds the second set temperature, using the locked rotor current of the charging port cover calculated by the interpolation method as the preset locked rotor current threshold; when the current temperature of the charging port cover does not exceed the second set temperature, obtaining the preset locked rotor current threshold according to the locked rotor current of the charging port cover calculated by the interpolation method and the operating current of the charging port cover.
[0012] In one embodiment of the present invention, the current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position; according to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including: when the current travel section of the charging port cover is the third section, a second section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained.
[0013] In one embodiment of the present invention, the current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position; according to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including: when the current travel section of the charging port cover is one of the second section and the fourth section, a third section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained; wherein the third section pulse width modulation signal is a changing pulse width modulation signal with a preset slope.
[0014] In one embodiment of the present invention, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained according to the current temperature of the charging port cover and the segment pulse width modulation signal corresponding to the current travel section, and it also includes: monitoring the current temperature of the charging port cover; when the current temperature of the charging port cover exceeds the first set temperature, the segment pulse width modulation signal corresponding to the current travel section is used as the driving pulse width modulation signal; when the current temperature of the charging port cover does not exceed the first set temperature, according to the temperature range where the current temperature of the charging port cover is located, to obtain the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.
[0015] To achieve the above-mentioned purpose and other related purposes, the present invention also provides a control system for a charging port cover, including: an acquisition unit, used to acquire the feedback voltage and current temperature of the charging port cover; a section query unit, used to obtain the current travel section of the charging port cover according to the feedback voltage of the charging port cover; a pulse calculation unit, used to obtain a driving pulse width modulation signal corresponding to the current travel section of the charging port cover according to the current travel section and current temperature of the charging port cover; wherein the driving pulse width modulation signals corresponding to different current travel sections are not exactly the same; and a driving unit, driving the charging port cover according to the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.
[0016] As described above, a control method and system of a charging port cover of the present invention has the following beneficial effects: by utilizing the slow start and slow stop strategy of the electric charging port cover, different PWMs are used to control the opening and closing of the charging port cover in sections according to the travel section where the charging port cover is located, so that the operation of the charging port cover is smoother. Moreover, the PWM of each travel section can be flexibly set as needed, and the PWM corresponding to the opening and closing travel of the charging port cover can be designed to be relatively small, so that the problem of shaking when the charging port cover is opened and closed can be effectively solved, and by adaptively adjusting the PWM in combination with the temperature, the charging port cover can still have sufficient driving voltage to ensure the normal opening and closing of the charging port cover in a low temperature environment. Moreover, when the charging port cover is closed, the feedback voltage of the charging port cover can be used to determine that the charging port cover has reached the closing section, and then the voltage change of the charging port cover within a certain period of time and the blocking current threshold of the operating current are further monitored, and the blocking current threshold can also be adjusted in real time according to the current temperature change to ensure that the charging port cover can be closed in place. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic flow chart of a method for controlling a charging port cover provided in an embodiment of the present invention.
[0018] Figure 2 A schematic diagram of the control process of the vehicle body controller and the charging port cover motor provided in an embodiment of the present invention.
[0019] Figure 3 A schematic diagram of a table of measured data of a charging port cover provided in an embodiment of the present invention.
[0020] Figure 4 A schematic diagram of driving pulse width modulation signals corresponding to various travel sections at different times provided by an embodiment of the present invention.
[0021] Figure 5 Shown is a structural block diagram of a control system of a charging port cover provided by an embodiment of the present invention.
[0022] Figure 6 Shown is a structural schematic diagram of an electronic device according to an embodiment of the present invention.
[0023] Component number description
[0024] Electronic device 1; control system 11; memory 12; processor 13; acquisition unit 111; section query unit 112; pulse calculation unit 113; drive unit 114. DETAILED DESCRIPTION
[0025] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0026] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0027] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0028] See also Figure 1 The present invention provides a control method for a charging port cover, which is applied to an execution module of the charging port cover, comprising:
[0029] Step S10: Obtaining the feedback voltage and current temperature of the charging port cover;
[0030] Step S20: obtaining the current travel section of the charging port cover according to the feedback voltage of the charging port cover;
[0031] Step S30: obtaining a driving pulse width modulation signal corresponding to the current travel section of the charging port cover according to the current travel section of the charging port cover and the current temperature; wherein the driving pulse width modulation signals corresponding to different current travel sections are not completely the same;
[0032] Step S40: driving the charging port cover according to the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.
[0033] It is not difficult to find from the above content that in the process of controlling the charging port cover, that is, in the process of opening or closing the charging port cover, the feedback voltage and current temperature of the charging port cover are monitored in real time, so as to determine the current travel section of the charging port cover by utilizing the feedback voltage of the charging port cover. And further, according to the current travel section and current temperature of the charging port cover, a driving pulse width modulation signal corresponding to the current travel section can be generated to drive the charging port cover, so that when the charging port cover is opened or closed, the opening and closing of the charging port cover can be controlled in sections by outputting different driving pulse width modulation signals, so that the charging port cover can be slowly started and stopped, and the operation is smoother. And by adding temperature parameters, when the charging port cover is opened and closed in a low temperature environment, the driving pulse width modulation signal can be further adjusted based on the current temperature, so that the driving voltage of the charging port cover can be increased to ensure the normal opening and closing of the charging port cover.
[0034] The following will be combined Figure 1 The technical solution of this application will be described in detail.
[0035] First, step S10 is executed to obtain the feedback voltage and current temperature of the charging port cover.
[0036] In this embodiment, the main control module receives a request instruction for opening or closing the charging port cover, and outputs the request instruction for opening or closing to the execution module of the charging port cover in combination with whether the current charging port cover is in a plug-in connection and other conditions, so as to drive the charging port cover to open or close. For example, when the main control module receives a request instruction for closing the charging port cover and detects that the current charging port cover is not plugged in, the request instruction for closing will be sent to the execution module, and the execution module will execute the closing action of driving the charging port cover according to the request instruction. In addition, when the execution module executes the opening or closing action on the charging port cover, the execution module obtains the feedback voltage and current temperature of the driving charging port cover, and further determines the current travel section of the charging port cover according to the feedback voltage of the driving charging port cover, and executes the slow start and slow stop driving strategy of the charging port cover in combination with the current temperature.
[0037] Next, step S20 is executed to obtain the current travel section of the charging port cover according to the feedback voltage of the charging port cover.
[0038] The current section of the charging port cover can be determined by collecting the feedback voltage of the charging port cover, so as to control the opening or closing of the charging port cover according to the current section.
[0039] In step S20, according to the feedback voltage of the charging cover, the current travel section of the charging cover is obtained, which may further include:
[0040] According to the feedback voltage of the charging port cover, a feedback voltage interval corresponding to the charging port cover is obtained;
[0041] According to the feedback voltage interval corresponding to the charging port cover, the current travel section of the charging port cover is obtained.
[0042] In this embodiment, when determining the current travel section of the charging port cover, the feedback voltage of the charging port cover can be obtained in real time, and the feedback voltage interval corresponding to the charging port cover can be determined according to the feedback voltage of the charging port cover. Each feedback voltage interval corresponds to the travel section of the charging port cover, so that the current travel section of the charging port cover can be further determined through the feedback voltage interval corresponding to the charging port cover, so as to realize the segmented control of the closing action of the charging port cover according to the current travel section of the charging port cover.
[0043] Next, step S30 is executed to obtain a driving pulse width modulation signal corresponding to the current travel section of the charging port cover according to the current travel section and the current temperature of the charging port cover; wherein the driving pulse width modulation signals corresponding to different current travel sections are not completely the same.
[0044] After obtaining the current travel section and current temperature of the charging port cover, the driving pulse width modulation signal corresponding to the current travel section of the charging port cover can be determined by combining the current travel section of the charging port cover with the current temperature, so as to drive the action of the charging port cover in the current travel section through the driving pulse width modulation signal. Moreover, since the driving pulse width modulation signals corresponding to different current travel sections are not exactly the same, the opening and closing actions of the charging port cover can be flexibly controlled according to the specific usage scenario, thereby achieving the slow start and stop requirements of the charging port cover, making the entire control process smoother.
[0045] In step S30, according to the current travel section and current temperature of the charging port cover, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained, including:
[0046] According to the current travel section of the charging port cover, a segment pulse width modulation signal corresponding to the current travel section is obtained; wherein the current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position.
[0047] According to the current temperature of the charging port cover and the segment pulse width modulation signal corresponding to the current travel segment, a driving pulse width modulation signal corresponding to the current travel segment of the charging port cover is obtained.
[0048] In this embodiment, in the process of using the current travel section of the charging port cover in combination with the current temperature to generate the driving pulse width modulation signal corresponding to the current travel section of the charging port cover, the current travel section of the charging port cover is first used to determine the segment pulse width modulation signal corresponding to the current travel section. For example, when the current travel section of the charging port cover is the first section corresponding to the open position of the charging port cover, the segment pulse width modulation signal corresponding to the first section is obtained, and when the current travel section of the charging port cover is the second section corresponding to the open position of the charging port cover to the intermediate operation stage, the segment pulse width modulation signal corresponding to the second section is obtained, and so on, the segment pulse width modulation signal acquisition can be realized when the current travel section of the charging port cover is the third section, the fourth section, and the fifth section. After obtaining the segment pulse width modulation signal corresponding to the current travel segment, the current temperature is further combined to obtain the driving pulse width modulation signal corresponding to the current travel segment of the charging port cover, thereby achieving optimized compensation for the segment pulse width modulation signal when affected by temperature, so as to ensure the normal opening and closing of the charging port cover when affected by temperature.
[0049] like Figure 2 As shown, the execution module can be a body controller, which collects the feedback voltage of the charging port cover motor in real time through the body controller to determine the current travel section of the charging port cover. After determining the current travel section of the charging port cover, the body controller will generate a driving pulse width modulation signal corresponding to the current travel section, and use the driving pulse width modulation signal to drive the charging port cover motor to operate.
[0050] In one embodiment, according to the current travel section of the charging port cover, obtaining the segment pulse width modulation signal corresponding to the current travel section may further include:
[0051] When the current travel section of the charging port cover is one of the first section and the fifth section, a first section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained;
[0052] The pulse width modulation signal of the first section is smaller than the pulse width modulation signal corresponding to the second section, the pulse width modulation signal corresponding to the third section, and the pulse width modulation signal corresponding to the fifth section.
[0053] In this embodiment, in the process of obtaining the segment pulse width modulation signal corresponding to the current travel segment according to the current travel segment of the charging port cover, when the current travel segment of the charging port cover is the first segment corresponding to the open position of the charging port cover or the fifth segment corresponding to the closed position, a first pulse width modulation signal, that is, a first segment pulse width modulation signal, can be obtained, and the first segment pulse width modulation signal is used to drive the charging port cover.
[0054] In one embodiment, the present invention provides a method for controlling a charging port cover, which may further include: when the charging port cover reaches the fifth section corresponding to the closed position, the voltage change and the operating current of the charging port cover within the preset time of the fifth section are monitored, so that when the voltage change and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is closed in place.
[0055] In this embodiment, when it is obtained from the feedback voltage of the charging port cover that the current travel section of the charging port cover is the fifth section corresponding to the closed position, the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section can also be used to determine whether the charging port cover corresponding to the fifth section is closed in place. Specifically, by monitoring the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section, when the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is closed in place; and when the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section do not meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is not closed in place, and the charging port cover can be driven to close in place by, for example, increasing the operating current, thereby solving the problem of a gap left after the charging port cover is closed.
[0056] In one embodiment, the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section are monitored, so that when the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is fully closed, including:
[0057] According to the feedback voltage of the charging port cover in the fifth section preset time, obtaining the voltage change amount of the charging port cover in the fifth section preset time;
[0058] Monitor the voltage change and operating current of the charging port cover within the preset time of the fifth section;
[0059] When the voltage change of the charging port cover within the preset time in the fifth section is less than the preset threshold, and the operating current of the charging port cover is greater than the preset stall current threshold, it is determined that the charging port cover corresponding to the fifth section is fully closed.
[0060] In this embodiment, in the process of determining whether the charging port cover corresponding to the fifth section is closed in place, the voltage change of the charging port cover within the preset time of the fifth section can be obtained based on the feedback voltage of the charging port cover within the preset time of the fifth section. That is, the voltage change of the charging port cover within the preset time of the fifth section is obtained by calculating the difference between the feedback voltage at the start time and the end time of the preset time of the fifth section. Then, the voltage change and the operating current of the charging port cover within the preset time of the fifth section are monitored, and when the voltage change of the charging port cover within the preset time of the fifth section is less than the preset threshold value, and the operating current of the charging port cover is greater than the preset stall current threshold value, it is determined that the charging port cover corresponding to the fifth section is closed in place. For example, the preset threshold value can be 0.15V, and the preset time can be 0.5s, that is, when the voltage change of the charging port cover within 0.5s of the fifth section is less than 0.15V and the operating current of the charging port cover is greater than the preset stall current threshold value, and it lasts for a certain time such as 0.5s, it can be determined that the charging port cover corresponding to the fifth section is closed in place. By using the above-mentioned stall threshold judgment strategy to drive the charging port cover to close in place, the problem of a gap left after the charging port cover is closed can be effectively solved.
[0061] In one embodiment, before monitoring the voltage change and the operating current of the charging port cover within a preset time, the method further includes:
[0062] According to the current temperature and driving voltage of the charging port cover, the locked-rotor current of the charging port cover is calculated by interpolation method;
[0063] Monitor the current temperature of the charging port cover;
[0064] When the current temperature of the charging port cover exceeds the second set temperature, the locked-rotor current of the charging port cover calculated by the interpolation method is used as the preset locked-rotor current threshold;
[0065] When the current temperature of the charging port cover does not exceed the second set temperature, a preset locking current threshold is obtained according to the locking current of the charging port cover and the running current of the charging port cover calculated by the interpolation method.
[0066] In this embodiment, multiple groups of measured data at different driving voltages and temperatures can be collected through actual vehicles to make a preset locked-rotor current table; Figure 3The example of the measured data table of the charging port cover is given, and the measured data such as temperature, driving voltage, opening voltage, closing voltage, opening operating current, closing operating current, opening stall current and closing stall current are obtained through actual vehicle collection. And in the actual driving process, the stall current of the charging port cover can be calculated by interpolation method based on the driving voltage of the charging port cover for the preset stall current table. And then the current temperature of the charging port cover is monitored. When the current temperature of the charging port cover exceeds the second set temperature, the stall current of the charging port cover calculated by the interpolation method is used as the preset stall current threshold; when the current temperature of the charging port cover does not exceed the second set temperature, the preset stall current threshold is obtained based on the stall current of the charging port cover calculated by the interpolation method and the operating current of the charging port cover.
[0067] Since the operating current and the stalled rotor current are relatively large in a low temperature environment, the preset stalled rotor current threshold can be compensated by a low temperature compensation strategy. Specifically, when the second set temperature is 0°C and the current temperature is monitored to be below 0°C, the preset stalled rotor current threshold can be calculated by the formula: (0.25×operating current+0.75×stalled rotor current); when the current temperature is above 0°C, the stalled rotor current value in the preset stalled rotor current table can be directly applied as the preset stalled rotor current threshold.
[0068] In one embodiment, according to the current travel section of the charging port cover, obtaining the section pulse width modulation signal corresponding to the current travel section may further include:
[0069] When the current travel section of the charging port cover is the third section, a second section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained.
[0070] In this embodiment, when it is determined based on the feedback voltage of the charging port cover that the current travel section of the charging port cover is the third section corresponding to the intermediate operation stage, a second pulse width modulation signal, that is, a second section pulse width modulation signal, can be obtained, and by utilizing the second section pulse width modulation signal in combination with the temperature, a driving pulse width modulation signal for driving the charging port cover to move is further generated.
[0071] In one embodiment, according to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including:
[0072] When the current travel section of the charging port cover is one of the second section and the fourth section, a third section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained;
[0073] The third section pulse width modulation signal is a variable pulse width modulation signal with a preset slope.
[0074] In this embodiment, when the current travel section of the charging port cover is determined to be the second section corresponding to the open position to the intermediate operation stage or the fourth section corresponding to the intermediate operation stage to the closed position according to the feedback voltage of the charging port cover, a third pulse width modulation signal, that is, a third section pulse width modulation signal, can be obtained, and the third section pulse width modulation signal is combined with the temperature to further generate a driving pulse width modulation signal for driving the charging port cover to move. In addition, the third section pulse width modulation signal is a variable pulse width modulation signal with a preset slope, so that the slow start and slow stop control of the charging port cover can be realized by using the variable pulse width modulation signal.
[0075] See also Figure 4 , Figure 4 In one embodiment, TBD1% and TBD2% represent different PWM (pulse width modulation signal) duty cycles; Pv1 and Pv2 represent different charging port cover positions; △T1 and △T2 represent different slopes. The first section is 0-1.17V, the second section is 1.5% / 40ms change rate from 1.17V to 2.127V, the third section is 2.127V-3.083V, the fourth section is 1.5% / 40ms change rate from 3.083V to 3.564V, and the fifth section is 3.564V-3.9V.
[0076] In one embodiment, according to the current temperature of the charging port cover and the segment pulse width modulation signal corresponding to the current travel segment, a driving pulse width modulation signal corresponding to the current travel segment of the charging port cover is obtained, which also includes:
[0077] Monitor the current temperature of the charging port cover;
[0078] When the current temperature of the charging port cover exceeds the first set temperature, the section pulse width modulation signal corresponding to the current travel section is used as the driving pulse width modulation signal;
[0079] When the current temperature of the charging port cover does not exceed the first set temperature, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained according to the temperature interval of the current temperature of the charging port cover.
[0080] In this embodiment, after obtaining the segment pulse width modulation signal corresponding to the current travel section, by combining the current temperature, the driving pulse width modulation signal corresponding to the current travel section of the charging port cover can be further obtained. Specifically, by monitoring the current temperature of the charging port cover, and when the current temperature of the charging port cover exceeds the first set temperature, the segment pulse width modulation signal corresponding to the current travel section can be directly used as the driving pulse width modulation signal; and when the current temperature does not exceed the first set temperature, the driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained according to the temperature range where the current temperature of the charging port cover is located, so that it can be achieved by combining the temperature factor to ensure that the charging port cover can still ensure normal opening and closing actions in a low temperature environment.
[0081] For example, multiple PWM values may be set for the first segment pulse width modulation signal (PWM1) corresponding to the first segment and the fifth segment according to actual measurement conditions, as shown in the following table:
[0082]
[0083] When measuring the current temperature, it can be obtained through the temperature sensor. And for PWM1, the duty cycle of PWM1 can be determined according to the current temperature output by the temperature sensor. For example, when the current temperature is monitored to be greater than 0°C, it can be driven according to 42% PWM; if it is a temperature environment below 0°C, the temperature range can be further determined. When the temperature is -20°C-0°C, it can be driven according to 45% PWM, and when the temperature is ≤-20°C, it can be driven according to 50% PWM.
[0084] Next, step S40 is executed to drive the charging port cover according to the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.
[0085] By driving the charging port cover to move through the driving pulse width modulation signal corresponding to each current travel section, the purpose of slow start and slow stop can be achieved, thereby ensuring the smoothness of the charging port cover when opening and closing.
[0086] Please refer to 5. The present invention further provides a control system 11 of a charging port cover, including: an acquisition unit 111, used to acquire the feedback voltage and current temperature of the charging port cover; a segment query unit 112, used to obtain the current travel segment of the charging port cover according to the feedback voltage of the charging port cover; a pulse calculation unit 113, used to obtain a driving pulse width modulation signal corresponding to the current travel segment of the charging port cover according to the current travel segment and current temperature of the charging port cover; wherein the driving pulse width modulation signals corresponding to different current travel segments are not exactly the same; and a driving unit 114, driving the charging port cover according to the driving pulse width modulation signal corresponding to the current travel segment of the charging port cover.
[0087] It should be noted that the control system 11 of the charging port cover provided in the above embodiment and the control method of the charging port cover provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the control system 11 of the charging port cover provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0088] See also Figure 6 The electronic device 1 may include a memory 12, a processor 13 and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a control program for a charging cover.
[0089] Among them, the memory 12 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 12 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 12 can also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 12 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code for controlling the charging cover, etc., but also can be used to temporarily store data that has been output or is to be output.
[0090] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 13 is the control core (Control Unit) of the electronic device 1, and uses various interfaces and lines to connect the various components of the entire electronic device 1, and executes or executes the programs or modules stored in the memory 12 (such as the control program of the charging cover, etc.), and calls the data stored in the memory 12 to execute various functions of the electronic device 1 and process data.
[0091] The processor 13 executes the operating system and various installed applications of the electronic device 1. The processor 13 executes the applications to implement the steps in the above-mentioned charging port cover control method.
[0092] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 12 and executed by the processor 13 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into various units of the control system 11 of the charging port cover.
[0093] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium, and the computer-readable storage medium can be non-volatile or volatile. The above-mentioned software function module is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the control method of the charging port cover described in each embodiment of the present application.
[0094] In summary, the control method and system of the charging port cover disclosed in the present invention utilizes the slow start and slow stop strategy of the electric charging port cover, and uses different PWM to control the opening and closing of the charging port cover in sections according to the travel section where the charging port cover is located, so that the operation of the charging port cover is smoother. Moreover, the PWM of each travel section can be flexibly set according to needs, and the PWM corresponding to the opening and closing travel of the charging port cover can be designed to be relatively small, so that the problem of shaking when the charging port cover is opened and closed can be effectively solved, and by adaptively adjusting the PWM in combination with the temperature, it can be achieved that in a low temperature environment, the charging port cover can still have sufficient driving voltage to ensure the normal opening and closing of the charging port cover. Moreover, when the charging port cover is closed, the feedback voltage of the charging port cover can be used to determine that the charging port cover has reached the closing section, and then the voltage change of the charging port cover within a certain period of time and the blocking current threshold of the operating current are further monitored, and the blocking current threshold can also be adjusted in real time according to the current temperature change to ensure that the charging port cover can be closed in place. Therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.
[0095] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for controlling a charging port cover, characterized in that: include: Obtaining the feedback voltage and current temperature of the charging port cover; According to the feedback voltage of the charging port cover, obtaining the current travel section of the charging port cover; According to the current travel section of the charging port cover and the current temperature, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained; wherein the driving pulse width modulation signals corresponding to different current travel sections are not completely the same; The charging port cover is driven according to the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.
2. The method for controlling the charging port cover according to claim 1, characterized in that: Obtaining the current travel section of the charging port cover according to the feedback voltage of the charging port cover, including: According to the feedback voltage of the charging port cover, obtaining a feedback voltage interval corresponding to the charging port cover; The current travel section of the charging port cover is obtained according to the feedback voltage interval corresponding to the charging port cover.
3. The method for controlling the charging port cover according to claim 1, characterized in that: According to the current travel section of the charging port cover and the current temperature, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained, including: According to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained; According to the current temperature of the charging port cover and the segment pulse width modulation signal corresponding to the current travel segment, a driving pulse width modulation signal corresponding to the current travel segment of the charging port cover is obtained.
4. The method for controlling the charging port cover according to claim 3, characterized in that: The current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position; According to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including: When the current travel section of the charging port cover is one of the first section and the fifth section, a first section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained; The first-segment pulse width modulation signal is smaller than the pulse width modulation signal corresponding to the second segment, the pulse width modulation signal corresponding to the third segment, and the pulse width modulation signal corresponding to the fifth segment.
5. The method for controlling the charging port cover according to claim 1 or 4, characterized in that: Also includes: When the charging port cover reaches the fifth section corresponding to the closed position, the voltage change and the operating current of the charging port cover within the preset time of the fifth section are monitored, so that when the voltage change and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is closed in place.
6. The method for controlling the charging port cover according to claim 5, characterized in that: The voltage change amount and the operating current of the charging port cover within the preset time of the fifth section are monitored, so that when the voltage change amount and the operating current of the charging port cover within the preset time of the fifth section meet the set requirements, it is determined that the charging port cover corresponding to the fifth section is fully closed, including: According to the feedback voltage of the charging port cover in the fifth section preset time, obtaining the voltage change amount of the charging port cover in the fifth section preset time; Monitoring the voltage change and the operating current of the charging port cover within the preset time in the fifth section; When the voltage change of the charging port cover within the preset time in the fifth section is less than a preset threshold, and the operating current of the charging port cover is greater than a preset stall current threshold, it is determined that the charging port cover corresponding to the fifth section is closed.
7. The method for controlling the charging port cover according to claim 6, characterized in that: Before monitoring the voltage change of the charging port cover and the operating current within the preset time, the method further includes: According to the current temperature and driving voltage of the charging port cover, the locked-rotor current of the charging port cover is calculated by interpolation method; Monitoring the current temperature of the charging port cover; When the current temperature of the charging port cover exceeds a second set temperature, the locked-rotor current of the charging port cover calculated by the interpolation method is used as the preset locked-rotor current threshold; When the current temperature of the charging port cover does not exceed the second set temperature, the preset locking current threshold is obtained according to the locking current of the charging port cover and the running current of the charging port cover calculated by the interpolation method.
8. The method for controlling the charging port cover according to claim 3, characterized in that: The current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position; According to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including: When the current travel section of the charging port cover is the third section, a second section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained.
9. The method for controlling the charging port cover according to claim 3, characterized in that: The current travel section of the charging port cover includes a first section corresponding to the open position of the charging port cover, a second section corresponding to the open position to the intermediate operation stage, a third section corresponding to the intermediate operation stage, a fourth section corresponding to the intermediate operation stage to the closed position, and a fifth section corresponding to the closed position; According to the current travel section of the charging port cover, a section pulse width modulation signal corresponding to the current travel section is obtained, including: When the current travel section of the charging port cover is one of the second section and the fourth section, a third section pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained; The third section pulse width modulation signal is a variable pulse width modulation signal with a preset slope.
10. The method for controlling the charging port cover according to claim 3, characterized in that: According to the current temperature of the charging port cover and the segment pulse width modulation signal corresponding to the current travel segment, a driving pulse width modulation signal corresponding to the current travel segment of the charging port cover is obtained, further comprising: Monitoring the current temperature of the charging port cover; When the current temperature of the charging port cover exceeds a first set temperature, the segment pulse width modulation signal corresponding to the current travel segment is used as the driving pulse width modulation signal; When the current temperature of the charging port cover does not exceed the first set temperature, a driving pulse width modulation signal corresponding to the current travel section of the charging port cover is obtained according to the temperature range of the current temperature of the charging port cover.
11. A control system for a charging port cover, characterized in that: include: An acquisition unit, used for acquiring a feedback voltage and a current temperature of the charging port cover; a section query unit, used for obtaining the current travel section of the charging port cover according to the feedback voltage of the charging port cover; a pulse calculation unit, for obtaining a driving pulse width modulation signal corresponding to the current travel section of the charging port cover according to the current travel section of the charging port cover and the current temperature; wherein the driving pulse width modulation signals corresponding to different current travel sections are not completely the same; as well as The driving unit drives the charging port cover according to the driving pulse width modulation signal corresponding to the current travel section of the charging port cover.