Charger and control method thereof
By introducing a combination of battery pack interface, communication module, detection module and control module into the charger, the problems of high cost and unstable current control of existing chargers are solved, and stable and controllable current output is achieved, reducing production costs and improving production efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NANJING CHERVON IND
- Filing Date
- 2024-11-29
- Publication Date
- 2026-06-05
Smart Images

Figure CN122159451A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of tool and equipment technology, specifically to a charger and its control method. Background Technology
[0002] One type of charger in related technologies achieves constant voltage and constant current control through a hardware control scheme. Specifically, the hardware control scheme uses a voltage-current loop built with an operational amplifier. However, the scheme involving the operational amplifier and external components is costly. Furthermore, the charger uses a single-layer board, and the increased number of components affects the wiring layout and is prone to errors.
[0003] Another existing charger design integrates the operational amplifier and microcontroller unit into a single package, resulting in a simplified single-layer board layout and improved production efficiency. However, this design is too expensive and not conducive to cost savings.
[0004] There is another type of charger in the prior art that uses a voltage-current loop control scheme without operational amplifiers and employs software control to achieve constant voltage and constant current control. However, this scheme requires a constant voltage loop to implement the constant current loop, and because it lacks an operational amplifier, the detected current cannot be effectively controlled, thus failing to achieve stable current control.
[0005] This section provides background information related to this application, which is not necessarily prior art. Summary of the Invention
[0006] One object of this application is to solve or at least alleviate some or all of the aforementioned problems. Therefore, one object of this application is to provide a charger and a control method thereof.
[0007] To achieve the above objectives, this application adopts the following technical solution:
[0008] On one hand, this application provides a charger, including:
[0009] Battery pack interface, used to connect the battery pack so that the charger can charge the battery pack;
[0010] A communication module for communicating with the battery pack;
[0011] The detection module is configured to detect the actual current output by the charger;
[0012] The control module is electrically connected to the communication module and the detection module.
[0013] The control module is configured to: acquire current demand commands from the battery pack based on the communication module; acquire the actual current based on the detection module; adjust control parameters according to the current demand commands and the actual current; and use the control parameters to control the actual current output by the charger.
[0014] Secondly, this application provides a method for controlling a charger, comprising:
[0015] Obtain the current demand command of the battery pack; the current demand command includes an increase current command, a decrease current command, or a maintain current command;
[0016] Obtain the actual output current of the charger;
[0017] The control parameters are adjusted according to the current demand command and the actual current; the control parameters are used to control the output current of the charger.
[0018] When the current demand command is an increase current command, determine whether the expected output current of the charger is less than or equal to the preset current upper limit under the control of the first adjusted control parameters.
[0019] If so, the output current of the charger is controlled by the first adjusted control parameters.
[0020] Thirdly, this application provides a charger, including:
[0021] Battery pack interface, used to connect the battery pack so that the charger can charge the battery pack;
[0022] A communication module for communicating with the battery pack;
[0023] The detection module is configured to detect the operating parameters of the battery pack or charger;
[0024] The control module is electrically connected to the communication module and the detection module. The control module is configured to: acquire the voltage of the battery pack; and set the target output voltage of the charger based on the voltage of the battery pack and the detection error range of the detection module.
[0025] The advantage of this application lies in that the charger includes a battery pack interface, a communication module, a detection module, and a control module. The battery pack interface connects to the battery pack, enabling the charger to charge it. The communication module communicates with the battery pack to receive current demand commands from it. The detection module detects the actual output current of the charger. The control module is electrically connected to the communication module and the detection module, and is configured to adjust control parameters based on the current demand commands received from the battery pack via the communication module and the actual current received from the detection module, thereby controlling the charger's output current and ensuring its stability. This approach reduces the number of operational amplifiers and external components in the charger while maintaining a stable and controllable output current, which is beneficial for cost reduction. Attached Figure Description
[0026] Figure 1A circuit block diagram of a charger provided in an embodiment of this application;
[0027] Figure 2 A comparison diagram of the charging current curve of the charger provided in the embodiments of this application and the charging current curve of the charger in the prior art;
[0028] Figure 3 A flowchart illustrating the control method for a charger provided in this application embodiment;
[0029] Figure 4 A flowchart of another charger control method provided in an embodiment of the present invention. Detailed Implementation
[0030] Before explaining any implementation of this application in detail, it should be understood that this application is not limited to its application to the structural details and component arrangements set forth in the following description or shown in the above drawings.
[0031] In this application, the terms "comprising," "including," "having," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0032] In this application, the term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this application generally indicates that the preceding and following related objects have an "and / or" relationship.
[0033] In this application, the terms "connection," "combination," "coupling," and "installation" can refer to direct connection, combination, coupling, or installation, or indirect connection, combination, coupling, or installation. For example, a direct connection refers to two parts or components being connected together without the need for an intermediary, while an indirect connection refers to two parts or components each being connected to at least one intermediary, with the connection achieved through the intermediary. Furthermore, "connection" and "coupling" are not limited to physical or mechanical connections or couplings, but can also include electrical connections or couplings.
[0034] In this application, those skilled in the art will understand that relative terms (e.g., “about,” “approximately,” “basically,” etc.) used in conjunction with quantities or conditions are to include the values and have the meaning indicated by the context. For example, such relative terms include at least the degree of error associated with the measurement of a particular value, tolerances associated with the particular value due to manufacturing, assembly, use, etc. Such terms should also be considered as disclosing a range defined by the absolute values of the two endpoints. Relative terms may refer to a certain percentage (e.g., 1%, 5%, 10% or more) of the indicated value. Numerical values not using relative terms should also be disclosed as specific values with tolerances. Furthermore, “basically” when expressing relative angular relationships (e.g., substantially parallel, substantially perpendicular) may refer to a certain degree (e.g., 1 degree, 5 degrees, 10 degrees or more) added to or subtracted from the indicated angle.
[0035] In this application, those skilled in the art will understand that the function performed by a component can be performed by one component, multiple components, one part, or multiple parts. Similarly, the function performed by a part can also be performed by one part, one component, or a combination of multiple parts.
[0036] In this application, the directional terms "upper," "lower," "left," "right," "front," and "rear" are used to describe the orientation and positional relationships shown in the accompanying drawings and should not be construed as limiting the embodiments of this application. Furthermore, in the context, it should be understood that when an element is mentioned as being connected "upper" or "lower" to another element, it can be directly connected to the other element "upper" or "lower," or indirectly connected through an intermediate element. It should also be understood that directional terms such as upper side, lower side, left side, right side, front side, and rear side not only represent positive orientation but can also be understood as lateral orientation. For example, "below" can include directly below, lower left, lower right, lower front, and lower rear.
[0037] In this application, the terms "controller," "processor," "central processing unit," "CPU," and "MCU" are used interchangeably. When using the unit "controller," "processor," "central processing unit," "CPU," or "MCU" to perform a specific function, unless otherwise stated, these functions may be performed by a single or multiple of the aforementioned units.
[0038] In this application, the terms "device," "module," or "unit" are used to describe devices that can be implemented in hardware or software to perform a specific function.
[0039] In this application, the terms “calculation,” “judgment,” “control,” “determine,” “identify,” etc., refer to the operation and process of a computer system or similar electronic computing device (e.g., controller, processor, etc.).
[0040] Figure 1 A circuit block diagram of a charger provided in an embodiment of this application. (See reference...) Figure 1 As shown, the charger 100 includes an input plug 101, an electromagnetic interference (EMI) filter module 102, a rectifier module 103, a main power topology module 104, a charging switch 105, a main power control chip 106, a voltage loop 107, a control module 108, a detection module 109, a communication module 110, and a battery pack interface 111. The input plug 101 is used to connect to a power source, allowing the power source to provide electrical energy to the battery pack 200 through the charger 100. The other end of the input plug 101, the EMI filter module 102, the rectifier module 103, the main power topology module 104, the charging switch 105, and the positive terminal Battery+ of the battery pack interface 111 are sequentially electrically connected. The negative terminal Battery- of the battery pack interface 111, the detection module 109, the control module 108, the voltage loop 107, the main power control chip 106, and the main power topology module 104 are sequentially electrically connected. Voltage loop 107 is also electrically connected to the output of main power topology module 104, and is used to acquire the voltage output by main power topology module 104. Battery pack interface 111 is used to connect battery pack 200200 so that charger 100 can charge battery pack 200200. Communication module 110 is used to communicate with battery pack 200200. Detection module 109 is used to detect the actual current output by charger 100. Control module 108 is electrically connected to communication module 110 and detection module 109. In some embodiments, detection module 109 includes a current detection circuit. In some embodiments, main power topology module 104 includes a flyback topology circuit or an LLC topology circuit.
[0041] It should be noted that the charger 100 provided in this application embodiment is a low-power charger. In some embodiments, the output power of the charger 100 is less than or equal to 150W. In some embodiments, the output power of the charger 100 is less than or equal to 120W. In some embodiments, the output power of the charger 100 is less than or equal to 60W.
[0042] The control module 108 is configured to: acquire the current demand command issued by the battery pack 200 based on the communication module 110; acquire the actual current based on the detection module 109; and adjust the control parameters according to the current demand command and the actual current.
[0043] Among them, the control parameters are used to control the actual current output by the charger 100.
[0044] A current demand command can be understood as an instruction regarding the charging current requirement of the battery pack 200 when charging the battery pack 200. In some embodiments, the current demand command includes an increase current command, a decrease current command, or a maintain current command. An increase current command can be understood as an instruction to increase the charging current. A decrease current command can be understood as an instruction to decrease the charging current. A maintain current command can be understood as an instruction to maintain the charging current at its current value.
[0045] In some embodiments, the current demand command is represented by a pulse width modulation (PWM) signal. Specifically, the main power topology module 104 includes multiple MOSFET switches, and the actual current output by the charger 100 is controlled by adjusting the switching frequency of each MOSFET switch. When the battery pack 200 needs to increase the charging current, it can issue a command to increase the on-state ratio of the corresponding MOSFET switch, i.e., an command to increase the duty cycle of the PWM signal. When the battery pack 200 needs to decrease the charging current, it can issue a command to decrease the on-state ratio of the corresponding MOSFET switch, i.e., an command to decrease the duty cycle of the PWM signal.
[0046] In some embodiments, the battery pack 200 directly issues a current demand command. In some embodiments, the communication module 110 determines the current demand command based on the operating parameters of the battery pack 200.
[0047] The detection module 109 is used to detect the actual current output by the charger 100. The actual current output by the charger 100 is the charging current of the battery pack 200. In some embodiments, the detection module 109 includes a current detection circuit, which is used to obtain the actual current output by the charger 100.
[0048] In an optional embodiment, the control parameter is the output voltage of the charger 100. By adjusting the output voltage of the charger 100 according to the current demand command and the actual current, the actual current output by the charger 100 is stabilized near the target output current.
[0049] In this embodiment, the charger includes a battery pack interface, a communication module, a detection module, and a control module. The battery pack interface connects to the battery pack, enabling the charger to charge it. The communication module communicates with the battery pack to receive current demand commands from it. The detection module detects the actual output current of the charger. The control module is electrically connected to the communication and detection modules and is configured to adjust control parameters based on the current demand commands received from the battery pack and the actual current received from the detection module, thereby controlling the charger's output current and ensuring its stability. This approach reduces the number of operational amplifiers and external components in the charger while maintaining a stable and controllable output current, which helps reduce costs.
[0050] It should be noted that the charger 100 provided in this application does not include a current operational amplifier, and therefore the charger 100 does not need to be equipped with external components for the current operational amplifier, which helps to reduce the size and manufacturing cost of the charger 100.
[0051] Figure 2 A comparison chart of the charging current curve of the charger provided in this application embodiment and the charging current curve of a charger in the prior art. (Reference) Figure 2 As shown, the charger 100 provided in this embodiment outputs a stable current around the target current of 2.4A with minimal fluctuation. In contrast, the actual output current of chargers provided in the prior art fluctuates significantly.
[0052] In some embodiments, when the current demand command is an increase current command, the control module 108 is configured to: determine whether the expected output current of the charger 100 is less than or equal to a preset current upper limit under the control of the first adjusted control parameters; if so, control the actual current output by the charger 100 with the first adjusted control parameters.
[0053] The first adjusted control parameter can be understood as the adjusted control parameter based on the current demand command and the actual current when the current demand command is an increase current command.
[0054] In some embodiments, the first adjusted control parameter is the current control parameter minus a preset applied current parameter. The preset applied current parameter can be determined based on the stability requirements of the actual current output by the charger 100. In some embodiments, the preset applied current parameter is 1. Each adjustment is performed by a fixed amount, ensuring a stable and smooth adjustment process.
[0055] The expected output current of charger 100 can be understood as the theoretical output current of charger 100 under the control of the first adjusted control parameters.
[0056] The preset current limit can be determined based on the characteristics of the battery pack 200. In some embodiments, the preset current limit is less than or equal to the maximum charging current allowed by the battery pack 200.
[0057] In some embodiments, when the current demand command is an increase current command, the control module 108 is configured to: if the expected output current of the charger 100 is greater than the preset current upper limit under the control of the first adjusted control parameters, then control the actual current output by the charger 100 with the current control parameters.
[0058] Specifically, when the current demand command is increased, the added current parameter is set to equal the preset added current parameter, and the first adjusted control parameter is equal to the current control parameter minus the preset added current parameter. Then, it is determined whether the expected output current of the charger 100 under the control of the first adjusted control parameter is less than or equal to the preset current upper limit. If the expected output current of the charger 100 is less than or equal to the preset current upper limit, it means that under the control of the first adjusted control parameter, the output current of the charger 100 will not exceed the preset current upper limit. Therefore, the actual output current of the charger 100 can be controlled using the first adjusted control parameter to meet the current demand command of the battery pack 200. Conversely, if the expected output current of the charger 100 is greater than the preset current upper limit, it means that under the control of the first adjusted control parameter, the output current of the charger 100 will exceed the preset current upper limit. Therefore, by maintaining the current control parameter to control the actual current of the charger 100, damage to the battery pack 200 is prevented.
[0059] In some embodiments, when the current demand command is a current reduction command, the control module 108 is configured to: determine whether the actual current of the charger 100 is greater than a preset current lower limit; if so, control the actual current output by the charger 100 with the second adjusted control parameters.
[0060] In some embodiments, when the current demand command is a current reduction command, the control module 108 is configured to control the output current of the charger 100 with the current control parameters if the actual current of the charger 100 is less than or equal to a preset current lower limit.
[0061] The second adjusted control parameter can be understood as the adjusted control parameter based on the current demand command and the actual current when the current demand command is a current reduction command.
[0062] In some embodiments, the second adjusted control parameter is the current control parameter plus a preset current reduction parameter. The preset current reduction parameter can be determined based on the stability requirements of the actual current output by the charger 100. In some embodiments, the preset current reduction parameter is 1. Each adjustment is performed by a fixed amount, ensuring a stable and smooth adjustment process.
[0063] The preset current lower limit can be determined based on the characteristics of the battery pack 200. In some embodiments, the preset current lower limit is less than or equal to the minimum charging current allowed by the battery pack 200, thereby preventing the actual current output by the charger 100 from decreasing to the minimum resolution current value of the charger 100.
[0064] Specifically, when the current demand command is a current reduction command, it is determined whether the actual current of the charger 100 is greater than or equal to a preset lower current limit. If the actual current of the charger 100 is greater than the preset lower current limit, the actual current output of the charger 100 is controlled according to the second adjusted control parameters to meet the current demand command of the battery pack 200. Conversely, if the actual current of the charger 100 is less than or equal to the preset lower current limit, the actual current output of the charger 100 is controlled according to the current control parameters to prevent the actual current output of the charger 100 from falling below the minimum resolution current value of the charger 100.
[0065] In some embodiments, when the current demand command is a current reduction command, the control module 108 is configured to: determine whether the expected output current of the charger 100 is greater than or equal to a preset current lower limit under the control of the second adjusted control parameters; if so, control the actual current output by the charger 100 with the second adjusted control parameters.
[0066] In some embodiments, when the current demand command is a current reduction command, the control module 108 is further configured to: if the expected output current of the charger 100 is less than a preset current lower limit under the control of the second adjusted control parameters, then control the output current of the charger 100 with the current control parameters.
[0067] Specifically, when the current demand command is a current reduction command, the current reduction parameter is set to equal the preset current increase parameter, and the second adjusted control parameter is equal to the current control parameter plus the preset current reduction parameter. Then, it is determined whether the expected output current of the charger 100 is greater than or equal to the preset lower current limit under the control of the second adjusted control parameter. If the expected output current of the charger 100 is greater than or equal to the preset lower current limit, it means that under the control of the second adjusted control parameter, the output current of the charger 100 will not be lower than the preset lower current limit. Therefore, the actual output current of the charger 100 can be controlled by the second adjusted control parameter to meet the current demand command of the battery pack 200. Conversely, if the expected output current of the charger 100 is less than the preset lower current limit, it means that under the control of the second adjusted control parameter, the output current of the charger 100 will be lower than the preset lower current limit. Therefore, by maintaining the current control parameter to control the actual current of the charger 100, the actual output current of the charger 100 is prevented from falling below the minimum resolution current value of the charger 100.
[0068] In some embodiments, when the current demand command is to maintain the current current command, it means that the actual current output by the charger 100 at the current moment can meet the charging current demand of the battery pack 200. At this time, the control module 108 is configured to maintain the current control parameters, so that the actual current output by the charger 100 is stabilized at the target output current.
[0069] Based on the same concept, embodiments of this application also provide a method for controlling a charger. Figure 3 A flowchart illustrating a charger control method provided in an embodiment of this application. (See reference...) Figure 3 As shown, the control method for the charger 1 provided in this application includes:
[0070] S110, Obtain the current requirement of the battery pack.
[0071] The current demand command includes an increase current command, a decrease current command, or a maintain current command. In some embodiments, the current demand command is represented by a pulse width modulation signal.
[0072] In some embodiments, obtaining a current demand command includes: obtaining the operating parameters of the battery pack 200, and determining the current demand command based on the operating parameters of the battery pack 200. The operating parameters of the battery pack 200 may include, but are not limited to, the voltage, current, and / or temperature of the battery pack 200.
[0073] In some embodiments, obtaining a current demand command includes obtaining a current demand command issued by the battery pack 200 by the communication module 110 of the charger 100.
[0074] S120: Obtain the actual current output by the charger.
[0075] The charger 100 does not include a current operational amplifier. In some embodiments, the detection module 109 of the charger 100 acquires the actual current output by the charger 100.
[0076] It should be noted that the charger 100 provided in this application embodiment is a low-power charger. In some embodiments, the output power of the charger 100 is less than or equal to 150W. In some embodiments, the output power of the charger 100 is less than or equal to 120W. In some embodiments, the output power of the charger 100 is less than or equal to 60W.
[0077] S130. Adjust the control parameters according to the current demand command and the actual current.
[0078] Among them, the control parameters are used to control the output current of the charger.
[0079] Optionally, the control parameter is the output voltage.
[0080] S140. When the current demand command is an increase current command, determine whether the expected output current of the charger is less than or equal to the preset current limit under the control of the first adjusted control parameters; if yes, execute S150; if no, execute S180.
[0081] In one optional embodiment, the first adjusted control parameter is the current control parameter minus a preset current parameter. In some embodiments, the preset current parameter is 1.
[0082] S150, control the output current of the charger with the first adjusted control parameters.
[0083] S160. When the current demand command is a current reduction command, determine whether the actual current of the charger is greater than the preset current lower limit; if yes, execute S170; if no, execute S180.
[0084] The second adjusted control parameter is the current control parameter plus a preset current reduction parameter. In some embodiments, the preset current reduction parameter is 1.
[0085] S170, The output current of the charger is controlled by the second adjusted control parameters.
[0086] S180: Control the output current of the charger using the control parameters at the current moment.
[0087] In an optional embodiment, when the current demand command is to maintain the current current command, the output current of the charger 100 is also controlled with the control parameters at the current moment.
[0088] In this embodiment, control parameters are adjusted based on the current demand command and the actual current. When the current demand command is an increase current command, and the expected output current of the charger is less than or equal to a preset upper current limit under the control of the first adjusted control parameters, the charger's output current is controlled using the first adjusted control parameters. When the current demand command is a decrease current command, and the expected output current of the charger is greater than or equal to a preset lower current limit under the control of the second adjusted control parameters, the charger's output current is controlled using the second adjusted control parameters. When the current demand command is a maintain current command, the charger's output current is controlled using the control parameters at the current moment. In this way, while reducing the number of operational amplifiers and peripheral components in the charger, the actual output current of the charger can be maintained near the target output current, and the fluctuation range of the actual current is less than or equal to a preset value, where the preset value is 10% of the charger's target output current.
[0089] Based on the same concept, this embodiment also provides a charger. (Continue to refer to...) Figure 1As shown, the charger 100 includes a battery pack interface 111, a communication module 110, a detection module 109, and a control module 108. The battery pack interface 111 is used to connect to the battery pack 200 so that the charger 100 can charge the battery pack 200. The communication module 110 is used to communicate with the battery pack 200. The detection module 109 is configured to detect the operating parameters of the battery pack 200 or the charger 100. In some embodiments, the operating parameters of the battery pack 200 may include, but are not limited to, the voltage of the battery pack 200. In some embodiments, the operating parameters of the charger 100 may include, but are not limited to, the actual current output by the charger 100.
[0090] It should be noted that the charger 100 provided in this application embodiment is a low-power charger. In some embodiments, the output power of the charger 100 is less than or equal to 150W. In some embodiments, the output power of the charger 100 is less than or equal to 120W. In some embodiments, the output power of the charger 100 is less than or equal to 60W.
[0091] The control module 108 is electrically connected to the communication module 110 and the detection module 109. The control module 108 is configured to: acquire the voltage of the battery pack 200, and set the target output voltage of the charger 100 based on the voltage of the battery pack 200 and the detection error range of the detection module 109.
[0092] The detection module 109 is used to detect the operating parameters of the battery pack 200 or the charger 100. It inevitably incorporates multiple sampling devices, each with its own accuracy range. The accuracy error introduced by each sampling device can be understood as the detection error range of the detection module 109. In some embodiments, the detection error range is 0.2V.
[0093] The target output voltage of charger 100 can be understood as the expected output voltage of charger 100. Charger 100 operates with the target output voltage as its goal.
[0094] In some embodiments, the detection module 109 includes at least one sampling device, which includes a sampling switch. The detection error range may include, but is not limited to, the voltage division of the sampling switch and the accuracy of each sampling device.
[0095] In some embodiments, the detection error range is sent from the detection module 109 to the control module 108, and the detection error range is pre-stored in the control module 108.
[0096] It is understandable that during the charging process of the charger 100 for the battery pack 200, the detection module 109 needs to detect the actual current output by the charger 100 in real time. The detection module 109 is connected in parallel with the battery pack interface 111. The detection module 109 needs the charger 100 to supply power when it is working. Therefore, the output voltage of the charger 100 is divided in the branch of the detection module 109.
[0097] In some embodiments, by specifically configuring the control module 108 to set the sum of the voltage of the battery pack 200 and the detection error range as the target output voltage of the charger 100, the actual output voltage of the charger 100 is made closer to the voltage of the battery pack 200, thereby achieving an accuracy level of +0.01 for the actual output voltage of the charger 100.
[0098] In some embodiments, the charger 100 includes a charging switch. The control module 108 is configured to control the charging switch to turn on after a preset delay.
[0099] The charging switch controls whether the charger 100 charges the battery pack 200. When the charging switch is on, the charger 100 charges the battery pack 200. Conversely, when the charging switch is off, the charger 100 cannot charge the battery pack 200.
[0100] In some embodiments, the charging switch is a signal switch. Signal switches significantly reduce costs compared to high-current switches. However, signal switches cannot withstand large surge currents caused by voltage differences. By employing the control method of the charger 100 provided in this embodiment, the actual output current of the charger 100 is stabilized near the target output current, and the fluctuation range of the actual current is less than or equal to 10% of the target output current. Therefore, the charger 100 provided in this embodiment can use a signal switch as the charging switch, further reducing the cost of the charger 100.
[0101] The preset time can be set according to the characteristics of the charger 100. It is understood that the charger 100 includes hardware and software components, and both require a certain amount of time to respond to the control module 108 of the charger 100. Only after the hardware and software components of the charger 100 have fully responded can the charger 100 output a stable current to charge the battery pack 200.
[0102] In some embodiments, the preset time is greater than or equal to the sum of the software execution response time and the hardware execution response time of the charger 100. This ensures that both the software and hardware components of the charger 100 have fully responded before the charging switch is turned on, allowing the charger 100 to charge the battery pack 200. This improves the stability of the actual current output by the charger 100. In some embodiments, the preset time is 800ms.
[0103] Based on the same concept, this embodiment also provides another control method for the charger 100, which is used to control the charger 100 to charge the battery pack 200. Figure 4 A flowchart illustrating another charger control method provided in an embodiment of the present invention. (See reference...) Figure 4 As shown, the control method of the charger includes:
[0104] S210, Obtain the voltage of the battery pack.
[0105] S220. Set the target output voltage of the charger based on the voltage of the battery pack and the detection error range of the detection module.
[0106] S230, after a preset delay, controls the charging switch to turn on.
[0107] S240, Obtain the current requirement of the battery pack.
[0108] The current demand command includes an increase current command, a decrease current command, or a maintain current command. In some embodiments, the current demand command is represented by a pulse width modulation signal.
[0109] S250: Obtain the actual current output by the charger.
[0110] The charger 100 does not include a current operational amplifier.
[0111] S260: Adjust the control parameters according to the current demand command and the actual current.
[0112] S270. When the current demand command is an increase current command, determine whether the expected output current of the charger is less than or equal to the preset current limit under the control of the first adjusted control parameters; if yes, execute S280; if no, execute S2110.
[0113] In one optional embodiment, the first adjusted control parameter is the current control parameter minus a preset current parameter. In some embodiments, the preset current parameter is 1.
[0114] S280, control the output current of the charger with the first adjusted control parameters.
[0115] S290. When the current demand command is a current reduction command, determine whether the actual current of the charger is greater than the preset current lower limit; if yes, execute S2100; if no, execute S2110.
[0116] The second adjusted control parameter is the current control parameter plus a preset current reduction parameter. In some embodiments, the preset current reduction parameter is 1.
[0117] S2100: Control the output current of the charger with the second adjusted control parameters.
[0118] S2110. Control the output current of the charger using the control parameters at the current moment.
[0119] In an optional embodiment, when the current demand command is to maintain the current current command, the output current of the charger 100 is controlled using the control parameters at the current moment.
[0120] Since the charger control method provided in this embodiment can control the charger provided in any embodiment of the present invention to charge the battery pack, it has the beneficial effects of the charger provided in any embodiment of the present invention. The similarities are described above and will not be repeated here.
[0121] The foregoing has shown and described the basic principles, main features, and advantages of this application. Those skilled in the art should understand that the above embodiments do not limit this application in any way, and all technical solutions obtained by equivalent substitution or equivalent transformation fall within the protection scope of this application.
Claims
1. A charger, characterized in that, include: A battery pack interface is provided for connecting a battery pack so that the charger can charge the battery pack. A communication module for communicating with the battery pack; The detection module is configured to detect the actual current output by the charger; The control module is electrically connected to the communication module and the detection module; The control module is configured to: acquire the current demand command issued by the battery pack based on the communication module; and acquire the actual current based on the detection module. The control parameters are adjusted according to the current demand command and the actual current; the control parameters are used to control the actual current output by the charger.
2. The charger according to claim 1, characterized in that, The current demand command includes an increase current command, a decrease current command, or a maintain current command.
3. The charger according to claim 2, characterized in that, The current demand command is represented by a pulse width modulation signal.
4. The charger according to claim 2, characterized in that, When the current demand command is an increase current command, the control module is configured to: determine whether the expected output current of the charger is less than or equal to a preset current upper limit under the control of the first adjusted control parameters; If so, the actual current output by the charger is controlled by the first adjusted control parameters.
5. The charger according to claim 4, characterized in that, The control module is configured to: if the expected output current of the charger is greater than the preset current upper limit under the control of the first adjusted control parameters, then control the actual output current of the charger with the current control parameters.
6. The charger according to claim 4 or 5, characterized in that, The first adjusted control parameter is the current control parameter minus the preset current parameter.
7. The charger according to claim 2, characterized in that, When the current demand command is a current reduction command, the control module is configured to: determine whether the actual current of the charger is greater than a preset current lower limit; if so, control the actual current output by the charger with the second adjusted control parameters.
8. The charger according to claim 7, characterized in that, The control module is configured to control the output current of the charger with the current control parameters if the actual current of the charger is less than the preset lower current limit.
9. The charger according to claim 7 or 8, characterized in that, The second adjusted control parameter is the current control parameter plus a preset current reduction parameter.
10. The charger according to claim 2, characterized in that, When the current demand command is to maintain the current command, the control module is configured to control the output current of the charger with the current control parameters.
11. The charger according to claim 1, characterized in that, The control parameter is the output voltage.
12. The charger according to claim 1, characterized in that, Excluding current operational amplifiers.
13. The charger according to claim 1, characterized in that, The charger's output power is less than or equal to 150W.
14. A control method for a charger, characterized in that, include: Obtain the current demand command of the battery pack; the current demand command includes an increase current command, a decrease current command, or a maintain current command; Obtain the actual current output by the charger; The control parameters are adjusted according to the current demand command and the actual current; the control parameters are used to control the output current of the charger. When the current demand command is an increase current command, it is determined whether the expected output current of the charger is less than or equal to the preset current upper limit under the control of the first adjusted control parameters. If so, the output current of the charger is controlled using the first adjusted control parameters.
15. The control method for a charger according to claim 14, characterized in that, If, under the control of the first adjusted control parameters, the expected output current of the charger is greater than the preset current upper limit, then the output current of the charger is controlled with the current control parameters.
16. The control method for a charger according to claim 14, characterized in that, The first adjusted control parameter is the current control parameter minus the preset current parameter.
17. The control method for a charger according to claim 14, characterized in that, Also includes: When the current demand command is a current reduction command, it is determined whether the actual current of the charger is greater than the preset current lower limit; If so, the output current of the charger is controlled by the second adjusted control parameters; If not, the output current of the charger is controlled using the current control parameters.
18. The control method for a charger according to claim 17, characterized in that, The second adjusted control parameter is the current control parameter plus a preset current reduction parameter.
19. The control method for a charger according to claim 14, characterized in that, Also includes: When the current demand command is to maintain the current current command, the output current of the charger is controlled using the control parameters at the current moment.
20. The control method for a charger according to claim 14, characterized in that, The control parameter is the output voltage.
21. The control method for a charger according to claim 14, characterized in that, The charger does not include a current operational amplifier.
22. The control method for the charger according to claim 14, characterized in that, The charger's output power is less than or equal to 150W.
23. The control method for the charger according to claim 14, characterized in that, The fluctuation range of the actual current output by the charger is less than or equal to a preset value; the preset value is 10% of the target output current of the charger.
24. The control method for the charger according to claim 14, characterized in that, Obtaining the current demand command includes: Obtain the operating parameters of the battery pack; The current demand command is determined based on the operating parameters. or, The current demand command issued by the battery pack is obtained by the communication module of the charger.
25. A charger, characterized in that, include: A battery pack interface is provided for connecting a battery pack so that the charger can charge the battery pack. A communication module for communicating with the battery pack; The detection module is configured to detect the operating parameters of the battery pack or the charger; A control module, electrically connected to the communication module and the detection module, is configured to: acquire the voltage of the battery pack; and set the target output voltage of the charger based on the voltage of the battery pack and the detection error range of the detection module.
26. The charger according to claim 25, characterized in that, The detection error range is pre-stored in the control module.
27. The charger according to claim 25, characterized in that, The detection module includes at least one sampling device; the sampling device includes a sampling switch; the detection error range includes the voltage division of the sampling switch and the accuracy of each sampling device.
28. The charger according to claim 25, characterized in that, The control module is specifically configured to set the sum of the voltage of the battery pack and the detection error range as the target output voltage of the charger.
29. The charger according to claim 25, characterized in that, The charger includes a charging switch; the control module is configured to control the charging switch to turn on after a preset delay.
30. The charger according to claim 29, characterized in that, The charging switch is a signal switch.
31. The charger according to claim 29, characterized in that, The preset time is greater than or equal to the sum of the software execution response time and the hardware execution response time of the charger.
32. The charger according to claim 25, characterized in that, The charger's output power is less than or equal to 150W.