Charging control method, device and circuit, electronic equipment and chip
By comparing the input and output voltage difference of the target device in real time and communicating with the adapter to adjust the input voltage, the existing fast charging solution is solved, and a more efficient charging process and lower heating conditions are achieved.
Patent Information
- Application Number
- CN202510057830.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-04-25
AI Technical Summary
The existing fast charging solution is complex and has limited improvement in charging efficiency.
By obtaining the output voltage and input voltage of the target device in real time, calculating the difference between the two, comparing it with the preset target threshold, communicating with the adapter based on the comparison results, adjusting the input voltage of the target device to make it close to the output voltage.
Simple and effective improvement of charging efficiency, reduce heating during the charging process, and ensure the safety of the charging system.
Smart Images

Figure CN119891453A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of charging technology, and in particular relates to a charging control method, device, circuit, electronic device and chip. Background Art
[0002] Batteries that support repeated charging and discharging are widely used in various electronic devices, such as mobile phones, computers, cameras, mobile power supplies, etc. With the development of fast charging technology, more and more electronic devices are compatible with fast charging function.
[0003] Current fast charging solutions are generally more complicated and have limited effect on improving charging efficiency. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a charging control method, device, circuit, electronic device and chip, which can simply and effectively improve the charging efficiency.
[0005] In a first aspect, the present application provides a charging control method, the method comprising:
[0006] When the target device is connected to the adapter, obtaining a first output voltage and a first input voltage of the target device, and determining a difference between the first output voltage and the first input voltage;
[0007] The difference between the first output voltage and the first input voltage is compared with a preset target threshold, and according to the comparison result, the adapter is communicated to adjust the input voltage of the target device.
[0008] According to the charging control method of the present application, by acquiring the first output voltage and the first input voltage of the target device in real time, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, communicating with an adapter that supports fast charging, and adjusting the input voltage of the target device, so that the input and output voltages of the target device are close, the charging efficiency can be improved simply and effectively.
[0009] According to an embodiment of the present application, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, and communicating with the adapter to adjust the input voltage of the target device according to the comparison result, includes:
[0010] When the difference between the first output voltage and the first input voltage is greater than a first target threshold, communicating with the adapter to raise the input voltage of the target device;
[0011] Alternatively, when the difference between the first output voltage and the first input voltage is smaller than a second target threshold, the device communicates with the adapter to reduce the input voltage of the target device.
[0012] According to one embodiment of the present application, the first target threshold is greater than the second target threshold.
[0013] According to an embodiment of the present application, a single adjustment amount of the input voltage of the target device is smaller than a difference between the first target threshold and the second target threshold.
[0014] According to one embodiment of the present application, the first target threshold is determined based on the charging efficiency and the safety temperature threshold of the target device.
[0015] According to an embodiment of the present application, the second target threshold is determined based on a current battery voltage of the target device and a duty cycle range of a power module in the target device.
[0016] According to one embodiment of the present application, when the target device operates in the buck mode, the formula is applied:
[0017] N=[VOUT*(1-D MAX ) / D MAX ]+S
[0018] determining the second target threshold;
[0019] Wherein, N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin;
[0020] or,
[0021] In the case where the target device is operating in boost mode, apply the formula
[0022] N=VOUT*D MAX +S
[0023] determining the second target threshold;
[0024] Wherein, N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin.
[0025] In a second aspect, the present application provides a charging control device, comprising:
[0026] A first processing module, configured to obtain a first output voltage and a first input voltage of the target device when the target device is connected to the adapter, and determine a difference between the first output voltage and the first input voltage;
[0027] The second processing module is used to compare the difference between the first output voltage and the first input voltage with a preset target threshold, and communicate with the adapter to adjust the input voltage of the target device according to the comparison result.
[0028] In a third aspect, the present application provides a charging control circuit, comprising:
[0029] A protocol application module, the protocol application module is communicatively connected with the adapter;
[0030] a voltage comparison module, the voltage comparison module being connected to the protocol application module and being further connected to a battery module of a target device, the voltage comparison module acquiring a first output voltage and a first input voltage of the target device and determining a difference between the first output voltage and the first input voltage when the target device is connected to an adapter, the protocol application module being used to communicate with the adapter and adjust the input voltage of the target device according to a comparison result between the difference between the first output voltage and the first input voltage and a preset target threshold;
[0031] A power module, the power module is connected to the protocol application module and the voltage comparison module, and the power module is used to receive a signal from the protocol application module and adjust a working state to adapt to an input voltage of the target device.
[0032] According to the charging control circuit of the present application, by acquiring the first output voltage and the first input voltage of the target device in real time, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, communicating with an adapter that supports fast charging, and adjusting the input voltage of the target device, the input and output voltages of the target device are close, thereby simply and effectively improving the charging efficiency.
[0033] According to an embodiment of the present application, the power module includes at least one of a boost circuit and a buck circuit.
[0034] In a fourth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the charging control method as described in the first aspect above when executing the computer program.
[0035] In a fifth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the charging control method as described in the first aspect above is implemented.
[0036] In a sixth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the charging control method as described in the first aspect.
[0037] In a seventh aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the charging control method as described in the first aspect above.
[0038] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0040] Figure 1 This is one of the flow charts of the charging control method provided in the embodiment of the present application;
[0041] Figure 2 This is the second flow chart of the charging control method provided in the embodiment of the present application;
[0042] Figure 3 is a schematic diagram of the structure of a charging control device provided in an embodiment of the present application;
[0043] Figure 4 is a schematic diagram of the structure of a charging control circuit provided in an embodiment of the present application;
[0044] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0045] Reference numerals:
[0046] The first processing module 310, the second processing module 320,
[0047] Charging control circuit 400, protocol application module 410, voltage comparison module 420, power module 430,
[0048] Battery module 600 , adapter 700 . DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0050] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0051] The charging control method, charging control device, charging control circuit 400, electronic device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0052] The charging control method may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.
[0053] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).
[0054] It should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse and joystick.
[0055] The charging control method provided in the embodiment of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the charging control method. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, and wearable devices. The charging control method provided in the embodiment of the present application is described below using the electronic device as an example of the execution subject.
[0056] like Figure 1 As shown, the charging control method includes: step 110 and step 120.
[0057] Step 110: When the target device is connected to the adapter 700, obtain a first output voltage and a first input voltage of the target device, and determine a difference between the first output voltage and the first input voltage.
[0058] It is understandable that the target device is an electronic device that performs charging control, and the target device may be a mobile phone, a tablet computer, a computer, a camera, a wearable device, and the like.
[0059] Adapter 700 can provide fast charging function for the target device. Adapter 700 can be a device compatible with multiple fast charging protocols, such as QC3.0, QC4.0, PPS, UFCS and other protocols. Adapter 700 can also have overvoltage protection, overcurrent protection and other functions to ensure the safety of the charging process.
[0060] In this step, when the target device is connected to the adapter 700, the output and input voltage data of the target device, ie, the first output voltage and the first input voltage, are acquired in real time, and the difference between the first output voltage and the first input voltage is calculated.
[0061] It can be understood that the output and input voltage data of the target device are acquired in real time, that is, the first output voltage at different times may be different, and the first input voltage at different times may also be different.
[0062] It should be noted that the difference between the first output voltage and the first input voltage may be a voltage difference obtained by subtracting the first input voltage from the first output voltage.
[0063] For example, the first output voltage is VOUT, the first input voltage is VIN, and the difference between the first output voltage and the first input voltage may be VOUT-VIN.
[0064] Step 120: compare the difference between the first output voltage and the first input voltage with a preset target threshold, and communicate with the adapter 700 to adjust the input voltage of the target device according to the comparison result.
[0065] In this embodiment, a target threshold value corresponding to a preset voltage difference is used, and the difference between the first output voltage and the first input voltage is compared with the preset target threshold value. Based on the comparison result of the size relationship between the difference between the first output voltage and the first input voltage and the preset target threshold value, the adjustment direction (boost or buck) of the input voltage of the target device is determined, and the adapter 700 is communicated to adjust the input voltage of the target device.
[0066] In actual implementation, according to the comparison result, the target device communicates with the adapter 700 and applies for a corresponding input voltage from the adapter 700. The adapter 700 adjusts the voltage output to the target device to adjust the input voltage of the target device.
[0067] It is understandable that when the input voltage of the target device is adjusted, the power module 430 that performs power conversion during charging in the target device adjusts its working state accordingly.
[0068] It should be noted that after the adapter 700 completes its own voltage adjustment, it can obtain the first output voltage and the first input voltage of the target device again, and determine the difference between the new first output voltage and the first input voltage, and compare the difference between the new first output voltage and the first input voltage with the preset target threshold value. According to the new comparison result, it communicates with the adapter 700 and adjusts the input voltage of the target device again.
[0069] In actual implementation, there are at least two situations for communicating with the adapter 700 and adjusting the input voltage of the target device:
[0070] First, increase the input voltage of the target device.
[0071] In this embodiment, when the difference between the first output voltage and the first input voltage satisfies a preset condition with a preset target threshold, communication is performed with the adapter 700, an application is made to the adapter 700 to increase the input voltage, the adapter 700 increases the voltage, the input voltage of the target device increases, and after the adapter 700 completes the voltage increase, the steps of obtaining the voltage and comparing the voltage difference (i.e., step 110 and step 120) are repeated.
[0072] Second, lower the input voltage of the target device.
[0073] In this embodiment, when the difference between the first output voltage and the first input voltage and the preset target threshold value meet a preset condition, communication is carried out with the adapter 700, and an application is made to the adapter 700 to reduce the input voltage. The adapter 700 reduces the voltage, and the input voltage of the target device is reduced. After waiting for the adapter 700 to complete the voltage reduction, the steps of obtaining the voltage and comparing the voltage difference are repeated.
[0074] It should be noted that, based on the comparison result, the input voltage of the target device is adjusted so that the input voltage and output voltage of the target device are close, which can be manifested as a small difference between the first output voltage and the first input voltage. When the input and output voltages of the target device are close, the power conversion efficiency is higher.
[0075] In the related art, the fast charging input application method is mostly to apply for the highest fixed voltage level, and use the fixed input voltage to convert different output voltages. Although it is simple, it is not efficient. A small number of methods can apply for step-by-step adjustment. This type of input application method is relatively complex to implement, and often requires simultaneous detection of input and output voltage, current and other parameters. The identification mechanism is cumbersome and has limited improvement in charging efficiency.
[0076] In an embodiment of the present application, by comparing the difference between the first output voltage and the first input voltage with a preset target threshold, using whether the input and output voltages meet a specific difference as a condition for applying for a fast charging voltage, communicating with the adapter 700, and adjusting the input voltage of the target device, the input and output voltages of the target device can be kept close to each other, the charging conversion efficiency, and the loss of the switching conversion can be reduced, the charging efficiency can be simply and effectively improved, and the heat generation of the target device and the adapter 700 can be reduced, thereby improving the charging efficiency as much as possible without damaging the charging system.
[0077] According to the charging control method provided in the embodiment of the present application, by acquiring the first output voltage and the first input voltage of the target device in real time, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, communicating with the adapter 700 that supports fast charging, and adjusting the input voltage of the target device, so that the input and output voltages of the target device are close, the charging efficiency can be improved simply and effectively.
[0078] In some embodiments, step 120, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, and communicating with the adapter 700 to adjust the input voltage of the target device according to the comparison result, may include:
[0079] When the difference between the first output voltage and the first input voltage is greater than the first target threshold, the adapter 700 is communicated to increase the input voltage of the target device.
[0080] In this embodiment, when the difference between the first output voltage and the first input voltage is greater than the preset first target threshold, it indicates that the input and output voltages of the target device differ greatly. At this time, by raising the input voltage of the target device, the difference between the first output voltage and the first input voltage will decrease, thereby narrowing the gap between the input and output voltages of the target device, making the input and output voltages of the target device gradually approach, thereby increasing the power conversion efficiency and improving the charging efficiency.
[0081] For example, the first output voltage is VOUT, the first input voltage is VIN, the difference between the first output voltage and the first input voltage may be VOUT-VIN, and the first target threshold is M.
[0082] Obtain the calculated difference between VOUT and VIN. When the condition VOUT-VIN>M is met, apply the input voltage as the current input voltage+K, where K is the single adjustment amount of the input voltage of the target device. Wait for the adapter 700 to complete the voltage boost and then compare the voltage again.
[0083] In some embodiments, step 120, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, and communicating with the adapter 700 to adjust the input voltage of the target device according to the comparison result, may include:
[0084] When the difference between the first output voltage and the first input voltage is smaller than the second target threshold, the adapter 700 is communicated with to reduce the input voltage of the target device.
[0085] It should be noted that the output voltage of the target device is related to the current battery voltage of the battery module 600 in the target device, and the output voltage may be equal to the current battery voltage of the battery module 600 .
[0086] In this embodiment, when the difference between the first output voltage and the first input voltage is less than the preset second target threshold, it indicates that the input voltage of the target device is relatively high, resulting in a large difference between the input and output voltages of the target device. The difference between the first output voltage and the first input voltage may also be negative. At this time, if the input voltage of the target device is lowered, the difference between the first output voltage and the first input voltage will decrease, narrowing the gap between the input and output voltages of the target device, so that the input and output voltages of the target device gradually approach each other, the power conversion efficiency is increased, and the charging efficiency is improved.
[0087] For example, the first output voltage is VOUT, the first input voltage is VIN, the difference between the first output voltage and the first input voltage may be VOUT-VIN, and the second target threshold is N.
[0088] Obtain the calculated difference between VOUT and VIN. When the condition of VOUT-VIN<N is met, the input voltage is applied as the current input voltage-K, where K is the single adjustment amount of the input voltage of the target device. Wait for the adapter 700 to complete the voltage reduction and then compare the voltage again.
[0089] Among them, K, M, and N can be any different voltages.
[0090] In some embodiments, the first target threshold is greater than the second target threshold.
[0091] In this embodiment, when the difference between the first output voltage and the first input voltage is greater than the first target threshold, the input voltage of the target device is raised; when the difference between the first output voltage and the first input voltage is less than the second target threshold, the input voltage of the target device is lowered; when the difference between the first output voltage and the first input voltage is in the voltage difference range from the second target threshold to the first target threshold (including the case where the first target threshold and the second target threshold are equal), the input voltage of the target device may not be adjusted.
[0092] In some embodiments, the single adjustment amount of the input voltage of the target device is less than the difference between the first target threshold and the second target threshold.
[0093] In this embodiment, the single adjustment amount of the input voltage of the target device being less than the difference between the first target threshold and the second target threshold can ensure that each time boosting or bucking is triggered, the difference between the adjusted input voltage and the output voltage is between the first target threshold and the second target threshold.
[0094] Hereinafter, taking the power module 430 as a boost circuit and a buck circuit as an example, the embodiments of the present application will be specifically described.
[0095] For example, the first target threshold is M, the second target threshold is N, and the single adjustment amount of the input voltage of the target device is K.
[0096] For the boost circuit, the boost circuit has higher efficiency when the input-output pressure difference is small, and does not allow the situation where the input voltage is higher than the output voltage, otherwise it will cause the output current limit to fail.
[0097] When the battery voltage of the target device drops, the input voltage gradually approaches the battery voltage. When the difference between the input voltage and the battery voltage is less than a specific threshold N, the input voltage is decreased by voltage K to avoid out-of-control output current limit.
[0098] When the battery voltage gradually rises, the input voltage gradually moves away from the battery voltage. At this time, the efficiency will decrease as the difference between the input voltage and the battery voltage increases. When the difference between the input voltage and the battery voltage is greater than a specific threshold M, the input voltage is increased by voltage K to avoid too much reduction in charging efficiency, resulting in excessive heat generation and damage to components.
[0099] When boosting and charging through the boost circuit, M > N. The value of N can ensure that the boost circuit does not have a current limit failure, and the value of M can be selected according to the requirements for charging efficiency and heat generation.
[0100] Among them, K < M - N to ensure that after each triggering of boosting by K or bucking by K, the difference between the input voltage and the battery voltage is between M and N.
[0101] For the buck circuit, the buck circuit has higher efficiency when the input-output pressure difference is small, and does not allow the situation where the input voltage is lower than the output voltage, otherwise it will cause abnormal charging and the inability to continue charging.
[0102] When the battery voltage of the target device gradually rises, the input voltage gradually approaches the battery voltage. When the difference between the input voltage and the battery voltage is less than a specific threshold N, the input voltage is increased by voltage K to avoid abnormal charging and the inability to continue charging.
[0103] When the battery voltage gradually decreases and the input voltage gradually moves away from the battery voltage, the efficiency will decrease as the difference between the input voltage and the battery voltage increases. When the difference between the input voltage and the battery voltage is greater than a specific threshold M, the input voltage needs to be reduced by voltage K to avoid too much reduction in charging efficiency, resulting in excessive heat generation and damage to components.
[0104] When performing step-down charging through a step-down circuit, M > N, and the value of N can ensure that the step-down circuit does not have abnormal charging and cannot continue charging. The value of M can be selected according to the requirements for charging efficiency and heat generation.
[0105] Among them, K < M - N to ensure that after each triggering of step-up K or step-down K, the difference between the input voltage and the battery voltage is between M and N.
[0106] In some embodiments, the first target threshold is determined based on the charging efficiency of the target device and the safe temperature threshold.
[0107] Among them, the charging efficiency refers to the ability of the battery to effectively convert and store electrical energy during the charging process, and the charging efficiency is affected by the charging rate and temperature.
[0108] It can be understood that the dissipated power during the charging process may cause the components of the target device to heat up. For example, components such as power switch tubes, voltages, or chips. When the heat reaches the maximum junction temperature of the component, the component may be damaged. The thermal resistance of the component describes the relationship between the dissipated power and the temperature rise of the component.
[0109] The safe temperature threshold is the temperature critical value for the safe operation of the component. The component is designed to ensure that under the maximum power operating condition, the component temperature is lower than the safe temperature threshold. The safe temperature threshold can be determined based on the maximum junction temperature of the component.
[0110] In actual implementation, the safe temperature threshold can be equal to the product of the maximum junction temperature of the component and a preset proportionality coefficient. The preset proportionality coefficient is a value less than 1. For example, the safe temperature threshold = maximum junction temperature * 0.7.
[0111] The dissipated power and heat generation during the charging process can be expressed by the following formula:
[0112] (T - T A ) * R J = P CHG * (1 - η CHG ) * F
[0113] Among them, T is the safe temperature threshold, T A is the ambient temperature, R J is the thermal resistance of the component, P CHG is the charging power, η CHG is the charging efficiency, and F is the proportion of the dissipated power of the component in the total dissipated charging power.
[0114] Through the above formula, the minimum charging efficiency that meets the temperature conditions can be calculated, and the corresponding first target threshold is set according to the minimum charging efficiency, so that when the input-output voltage difference of the target device is equal to the first target threshold, the charging efficiency of the target device is not lower than the minimum charging efficiency that meets the temperature conditions.
[0115] In some embodiments, the second target threshold is determined based on a current battery voltage of the target device and a duty cycle range of the power module 430 in the target device.
[0116] It is understandable that the duty cycle of the power module 430 in the target device is related to the ratio of the output voltage to the input voltage. During the charging process, the power module 430 operates within a certain duty cycle range to avoid control abnormalities or device damage.
[0117] For the boost circuit and the buck circuit, the duty cycle cannot reach 100% and 0. For the boost circuit, when VIN=VOUT, the duty cycle is infinitely close to 0, which may cause the power module 430 to work abnormally. For the buck circuit, when VIN=VOUT, the duty cycle is infinitely close to 100%, which may also cause the power module 430 to work abnormally.
[0118] The duty cycle of the boost circuit is D=1-VIN / VOUT, and the duty cycle of the buck circuit is D=VOUT / VIN, wherein VIN is the first input voltage, VOUT is the first output voltage, and VOUT can be equal to the current battery voltage of the target device during charging.
[0119] Taking the buck circuit as an example, the maximum duty cycle of the buck circuit for normal operation is D MAX ,VIN>(VOUT / D MAX ), N>(VOUT*(1-D MAX ) / D MAX ), a second target threshold is set according to the current battery voltage of the target device and the maximum duty cycle in the duty cycle range of the power module 430.
[0120] In some embodiments, when the target device is operating in buck mode, the formula is applied
[0121] N=[VOUT*(1-D MAX ) / D MAX ]+S
[0122] determining a second target threshold;
[0123] Where N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin.
[0124] In this embodiment, the target device may include a buck circuit.
[0125] In some embodiments, when the target device operates in a boost mode, the formula
[0126] N = VOUT * D MAX + S
[0127] is used to determine the second target threshold;
[0128] where N is the second target threshold, VOUT is the current battery voltage of the target device, D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin. In this embodiment, the target device may include a boost circuit.
[0129] In actual implementation, the value of N is reserved with a certain safety margin S on the basis of VOUT * (1 - D MAX ) / D MAX to avoid control anomalies or device damage caused by individual device differences.
[0130] A specific embodiment is introduced below.
[0131] As Figure 2 shown, a fast-charging adapter 700 is connected to the target device. The target device performs a protocol handshake with the adapter 700 and charges at 5V according to the battery specification of the target device. The first output voltage VOUT and the first input voltage VIN are obtained in real time. The preset first target threshold is M, the second target threshold is N, and the single adjustment amount of the input voltage of the target device is K.
[0132] For example, the first output voltage is VOUT, the first input voltage is VIN, and the difference between the first output voltage and the first input voltage can be VOUT - VIN, and the second target threshold is N.
[0133] Start comparing M < VOUT - VIN and N > VOUT - VIN.
[0134] If M < VOUT - VIN is satisfied, the input voltage is requested to be increased by K from the current input voltage, and then wait for the adapter 700 to complete the boost and compare the voltage again.
[0135] If N > VOUT - VIN is satisfied, the input voltage is requested to be decreased by K from the current input voltage, and then wait for the adapter 700 to complete the boost and compare the voltage again.
[0136] When the input voltage is 5V, N > VOUT - VIN is not judged.
[0137] In this embodiment, whether the input and output voltages meet a specific difference is used as a condition for applying for fast charging voltage, and the input voltage is adjusted so that the input and output voltages of the target device are close, thereby simply and effectively improving the charging efficiency and reducing the heat generated during the charging process.
[0138] The charging control method provided in the embodiment of the present application can be executed by a charging control device. In the embodiment of the present application, the charging control device provided in the embodiment of the present application is described by taking the charging control method executed by the charging control device as an example.
[0139] The embodiment of the present application also provides a charging control device.
[0140] like Figure 3 As shown, the charging control device includes:
[0141] The first processing module 310 is used to obtain a first output voltage and a first input voltage of the target device and determine a difference between the first output voltage and the first input voltage when the target device is connected to the adapter 700;
[0142] The second processing module 320 is used to compare the difference between the first output voltage and the first input voltage with a preset target threshold, and communicate with the adapter 700 to adjust the input voltage of the target device according to the comparison result.
[0143] According to the charging control device provided in the embodiment of the present application, by acquiring the first output voltage and the first input voltage of the target device in real time, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, communicating with the adapter 700 that supports fast charging, and adjusting the input voltage of the target device, the input and output voltages of the target device are close, thereby simply and effectively improving the charging efficiency.
[0144] In some embodiments, the second processing module 320 is used to compare the difference between the first output voltage and the first input voltage with a preset target threshold, and communicate with the adapter 700 to adjust the input voltage of the target device according to the comparison result, including:
[0145] When the difference between the first output voltage and the first input voltage is greater than the first target threshold, the adapter 700 is communicated to increase the input voltage of the target device.
[0146] In some embodiments, the second processing module 320 is used to compare the difference between the first output voltage and the first input voltage with a preset target threshold, and communicate with the adapter 700 to adjust the input voltage of the target device according to the comparison result, including:
[0147] When the difference between the first output voltage and the first input voltage is smaller than the second target threshold, the adapter 700 is communicated with to reduce the input voltage of the target device.
[0148] In some embodiments, the first target threshold is greater than the second target threshold.
[0149] In some embodiments, a single adjustment amount of the input voltage of the target device is smaller than a difference between the first target threshold and the second target threshold.
[0150] In some embodiments, the first target threshold is determined based on a charging efficiency and a safety temperature threshold of the target device.
[0151] In some embodiments, the second target threshold is determined based on a current battery voltage of the target device and a duty cycle range of the power module 430 in the target device.
[0152] In some embodiments, when the target device is operating in buck mode, the formula is applied
[0153] N=[VOUT*(1-D MAX ) / D MAX ]+S
[0154] determining a second target threshold;
[0155] Where N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin.
[0156] In some embodiments, when the target device is operating in boost mode, the formula is applied
[0157] N=VOUT*D MAX +S
[0158] determining a second target threshold;
[0159] Where N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin. In this embodiment, the target device may include a boost circuit.
[0160] The charging control device in the embodiment of the present application may be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than a terminal.
[0161] Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiments of the present application.
[0162] The charging control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0163] The charging control device provided in the embodiment of the present application can implement each process implemented in the above-mentioned charging control method embodiment, and will not be described again here to avoid repetition.
[0164] The embodiment of the present application also provides a charging control circuit 400 .
[0165] like Figure 4 As shown, the charging control circuit 400 includes a protocol application module 410 , a voltage comparison module 420 and a power module 430 .
[0166] The protocol application module 410 is in communication connection with the adapter 700 , and the protocol application module 410 is used to implement communication between the target device and the adapter 700 .
[0167] The voltage comparison module 420 is connected to the protocol application module 410, and the voltage comparison module 420 is also connected to the battery module 600 of the target device. When the target device is connected to the adapter 700, the voltage comparison module 420 obtains the first output voltage and the first input voltage of the target device and determines the difference between the first output voltage and the first input voltage.
[0168] The protocol application module 410 is used to communicate with the adapter 700 and adjust the input voltage of the target device according to the comparison result between the difference between the first output voltage and the first input voltage and the preset target threshold.
[0169] In actual implementation, when the adapter 700 supporting fast charging is connected to the target device, a protocol handshake is performed through the protocol application module 410 to disconnect the protocol type supported by the adapter 700.
[0170] The voltage comparison module 420 is started when the adapter 700 is connected, and continuously monitors the input voltage and output voltage. When the output result of the voltage comparison module 420 meets the conditions, the protocol application module 410 communicates with the adapter 700 and applies for the fast charging protocol supported by the adapter 700 to adjust the input voltage of the target device.
[0171] It is understandable that the power module 430 is a device for realizing electric energy conversion, and the power module 430 converts the electric energy input from the adapter 700 to the target device to charge the battery module 600 of the target device.
[0172] In this embodiment, the power module 430 is connected to the protocol application module 410 and the voltage comparison module 420. The power module 430 is used to receive the signal of the protocol application module 410 and adjust the working state to adapt to the input voltage of the target device.
[0173] The voltage comparison module 420 monitors the input voltage and output voltage of the target device in real time by connecting to the power module 430 and the battery module 600. When the protocol application module 410 applies for input voltage from the adapter 700, the power module 430 adjusts its own working state so that the working state of the power module 430 is adapted to the input voltage to charge the battery module 600 of the target device.
[0174] According to the charging control circuit 400 provided in the embodiment of the present application, by acquiring the first output voltage and the first input voltage of the target device in real time, comparing the difference between the first output voltage and the first input voltage with a preset target threshold, communicating with the adapter 700 that supports fast charging, and adjusting the input voltage of the target device, the input and output voltages of the target device are close, thereby simply and effectively improving the charging efficiency.
[0175] In some embodiments, the power module 430 includes at least one of a voltage step-up circuit and a voltage step-down circuit.
[0176] In some embodiments, Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor 501. When the program is executed by the processor 501, each process of the above-mentioned charging control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0177] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0178] The embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned charging control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0179] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0180] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned charging control method when executed by a processor.
[0181] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0182] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned charging control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0183] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0184] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0185] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0186] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0187] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0188] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A charging control method, characterized in that: include: When the target device is connected to the adapter, obtaining a first output voltage and a first input voltage of the target device, and determining a difference between the first output voltage and the first input voltage; The difference between the first output voltage and the first input voltage is compared with a preset target threshold, and according to the comparison result, the adapter is communicated to adjust the input voltage of the target device.
2. The charging control method according to claim 1, characterized in that: The step of comparing the difference between the first output voltage and the first input voltage with a preset target threshold, and communicating with the adapter to adjust the input voltage of the target device according to the comparison result includes: When the difference between the first output voltage and the first input voltage is greater than a first target threshold, communicating with the adapter to raise the input voltage of the target device; Alternatively, when the difference between the first output voltage and the first input voltage is smaller than a second target threshold, the device communicates with the adapter to reduce the input voltage of the target device.
3. The charging control method according to claim 2, characterized in that: The first target threshold is greater than the second target threshold.
4. The charging control method according to claim 2, characterized in that: A single adjustment amount of the input voltage of the target device is smaller than a difference between the first target threshold and the second target threshold.
5. The charging control method according to any one of claims 2 to 4, characterized in that: The first target threshold is determined based on a charging efficiency and a safety temperature threshold of the target device.
6. The charging control method according to any one of claims 2 to 4, characterized in that: The second target threshold is determined based on a current battery voltage of the target device and a duty cycle range of a power module in the target device.
7. The charging control method according to claim 6, characterized in that: In the case where the target device is operating in buck mode, apply the formula N=[VOUT*(1-D MAX ) / D MAX ]+S determining the second target threshold; Wherein, N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin; or, In the case where the target device is operating in boost mode, apply the formula N=VOUT*D MAX +S determining the second target threshold; Wherein, N is the second target threshold, VOUT is the current battery voltage of the target device, and D MAX is the maximum value of the duty cycle range of the power module in the target device, and S is the safety margin.
8. A charging control device, characterized in that: include: A first processing module, configured to obtain a first output voltage and a first input voltage of the target device when the target device is connected to the adapter, and determine a difference between the first output voltage and the first input voltage; The second processing module is used to compare the difference between the first output voltage and the first input voltage with a preset target threshold, and communicate with the adapter to adjust the input voltage of the target device according to the comparison result.
9. A charging control circuit, characterized in that: include: A protocol application module, the protocol application module is communicatively connected with the adapter; a voltage comparison module, the voltage comparison module being connected to the protocol application module and being further connected to a battery module of a target device, the voltage comparison module acquiring a first output voltage and a first input voltage of the target device and determining a difference between the first output voltage and the first input voltage when the target device is connected to an adapter, the protocol application module being used to communicate with the adapter and adjust the input voltage of the target device according to a comparison result between the difference between the first output voltage and the first input voltage and a preset target threshold; A power module, the power module is connected to the protocol application module and the voltage comparison module, and the power module is used to receive a signal from the protocol application module and adjust a working state to adapt to an input voltage of the target device.
10. The charging control circuit according to claim 9, characterized in that: The power module includes at least one of a voltage step-up circuit and a voltage step-down circuit.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the charging control method according to any one of claims 1 to 7 is implemented.
12. A chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, characterized in that: The processor is used to run a program or instruction to implement the charging control method according to any one of claims 1 to 7.