A fast charging circuit role control method, protocol processing system and circuit
By calculating the battery capacity and remaining power of the mobile power supply, determining the role and adjusting the role, the problem of role uncertainty during fast charging between mobile power supplies is solved, more reasonable charging management is achieved, and repeated switching of roles is avoided.
Patent Information
- Application Number
- CN202110353838.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-01
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-04-01
AI Technical Summary
When fast charging between power banks, role uncertainty leads to the problem of repeated switching of roles, making it impossible to accurately determine the charging and discharging roles.
By randomly assigning roles, the battery capacity and remaining power of the mobile power supply are calculated, the handshake time and fast charging power are used to calculate the proportional relationship, the final role is determined, and the role is adjusted through software control methods.
Without adding hardware or communication circuits, the problem of role uncertainty during fast charging between mobile power sources is solved. Large power is given priority to charge small power, which is consistent with the actual situation and realizes role determination and charging management.
Smart Images

Figure CN113078709B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of fast charging technology, and specifically relates to a fast charging circuit role control method, a fast charging processing system and a circuit. Background Art
[0002] The mobile power supplies in the prior art are all equipped with fast charging circuits. The fast charging roles generally include source and sink. Source represents the charging party, which is the source; sink represents the receiving party, which is the load. For ordinary loads, the roles are clear and the protocol is accurately identified. According to the voltage and power of the protocol, normal fast charging and fast discharging functions are achieved.
[0003] However, when a mobile power bank is connected to another mobile power bank, the role uncertainty problem will arise. For example, when a power bank or mobile power bank is connected to another power bank or mobile power bank, in theory both are sources, but at this time there is a role uncertainty problem, which causes the source to become a sink, and the sink to become a source, which is not in line with the actual situation, and even causes the problem of repeated role switching. Summary of the invention
[0004] To this end, the present invention provides a fast charging circuit role control method, a fast charging protocol processing system and a circuit to make up for the defects in the above-mentioned prior art.
[0005] In a first aspect, the present invention provides a fast charging circuit role control method, when mobile power source A and mobile power source B are connected through a bidirectional fast charging interface to start charging, the following steps are performed:
[0006] Randomly assign the roles of the power banks to perform charging work; assuming that power bank A is configured as a source and power bank B is configured as a load, power bank A charges power bank B;
[0007] After working for the set time, stop charging;
[0008] Interchange the roles of the mobile power supplies so that mobile power supply B charges mobile power supply A;
[0009] After working for another set time, stop charging;
[0010] Calculate the battery capacity of each of mobile power source A and mobile power source B and the remaining battery capacity after stopping charging as a source;
[0011] The roles of the mobile power source A and the mobile power source B are finally determined according to the respective battery capacities of the mobile power source A and the mobile power source B and the remaining power of the batteries.
[0012] Preferably, the calculation of the battery capacity of each of the mobile power source A and the mobile power source B and the remaining battery capacity after stopping charging as a source is specifically calculated in the following manner:
[0013] The first handshake time between power bank A and power bank B is recorded as t0. After the handshake is successful, they start working. The fast charging output power of power bank A is P1. After the working setting time t1, power bank A stops outputting. The roles of the power banks are swapped. Then power bank A and power bank B shake hands again. The handshake time is recorded as t2. After the handshake is successful, they start working. The fast charging output power of power bank B is P2. After working for another setting time t3, power bank B stops outputting.
[0014] t1 is in proportional relationship m to the battery capacity E1 of the mobile power source A. The battery capacity of the mobile power source A is calculated by the proportional relationship m.
[0015] P1 is in proportional relationship n to the remaining battery power LFE1 of the mobile power source A. The remaining battery power of the mobile power source A is calculated by the proportional relationship n.
[0016] t3 is in proportional relationship m to the battery capacity E2 of the mobile power source B. The battery capacity of the mobile power source B is calculated by the proportional relationship m.
[0017] P2 is in proportional relationship n to the remaining battery power LFE2 of the mobile power source B. The remaining battery power of the mobile power source B is calculated through the proportional relationship n.
[0018] Preferably, the specific judgment logic for determining the roles of the mobile power source A and the mobile power source B is as follows:
[0019] When E1>E2, if LFE1-LFE2 is greater than or equal to a certain set value Eset1, then E1 is the source and E2 is the load;
[0020] When E1<E2, if LFE2-LFE1 is greater than or equal to a certain set value Eset2, then E2 is the source and E1 is the load;
[0021] When E1=E2 and LFE1>LFE2, E1 is the source and E2 is the load;
[0022] When E1=E2 and LFE2>LFE1, E2 is the source and E1 is the load.
[0023] Preferably, when E1>E2, if LFE1-LFE2 is greater than or equal to a certain set value Eset1, the two mobile power supplies determine their roles and work normally according to the determined roles; if LFE1-LFE2 is less than a certain set value Eset1, the two mobile power supplies stop working.
[0024] Preferably, when E1<E2, if LFE2-LFE1 is greater than or equal to a certain set value Eset2, the two mobile power supplies determine their roles and work normally according to the determined roles; if LFE2-LFE1 is less than a certain set value Eset2, the two mobile power supplies stop working.
[0025] Preferably, when E1=E2 and LFE1>LFE2, if LFE1-LFE2 is greater than or equal to a certain set value Eset3, the two mobile power supplies work normally according to the determined roles; if LFE1-LFE2 is less than a certain set value Eset3, the two mobile power supplies stop working;
[0026] When E1=E2 and LFE2>LFE1, if LFE2-LFE1 is greater than or equal to a certain set value Eset3, the two mobile power supplies work normally according to the determined roles; if LFE2-LFE1 is less than a certain set value Eset3, the two mobile power supplies stop working.
[0027] In a second aspect, the present invention provides a fast charging protocol processing system, comprising the following modules:
[0028] The first allocation module is used to randomly allocate the roles of the mobile power supplies for charging. Assuming that the mobile power supply A is configured as a source and the mobile power supply B is configured as a load, the mobile power supply A charges the mobile power supply B.
[0029] The first charging control module is used to control the mobile power supply A to stop charging after the mobile power supply A has worked for a set time;
[0030] A secondary distribution module, used to interchange the roles of the mobile power supplies so that the mobile power supply B charges the mobile power supply A;
[0031] The second charging control module is used to control the mobile power supply B to stop charging after working for another set time;
[0032] A calculation module, used to calculate the battery capacity of each of the mobile power source A and the mobile power source B and the remaining battery capacity after stopping charging as a source;
[0033] The role determination module is used to finally determine the roles of the mobile power source A and the mobile power source B according to the respective battery capacities of the mobile power source A and the mobile power source B and the remaining power of the batteries.
[0034] Preferably, the calculation of the battery capacity of each of the mobile power source A and the mobile power source B and the remaining battery capacity after stopping charging as a source is specifically calculated in the following manner:
[0035] The first handshake time between power bank A and power bank B is recorded as t0. After the handshake is successful, they start working. The fast charging output power of power bank A is P1. After the working setting time t1, power bank A stops outputting. The roles of the power banks are swapped. Then power bank A and power bank B shake hands again. The handshake time is recorded as t2. After the handshake is successful, they start working. The fast charging output power of power bank B is P2. After working for another setting time t3, power bank B stops outputting.
[0036] t1 is in proportional relationship m to the battery capacity E1 of the mobile power source A. The battery capacity of the mobile power source A is calculated by the proportional relationship m.
[0037] P1 is in proportional relationship n to the remaining battery power LFE1 of the mobile power source A. The remaining battery power of the mobile power source A is calculated by the proportional relationship n.
[0038] t3 is in proportional relationship m to the battery capacity E2 of the mobile power source B. The battery capacity of the mobile power source B is calculated by the proportional relationship m.
[0039] P2 is in proportional relationship n to the remaining battery power LFE2 of the mobile power source B. The remaining battery power of the mobile power source B is calculated through the proportional relationship n.
[0040] Preferably, the specific judgment logic for determining the roles of the mobile power source A and the mobile power source B is as follows:
[0041] When E1>E2, if LFE1-LFE2 is greater than or equal to a certain set value Eset1, then E1 is the source and E2 is the load;
[0042] When E1<E2, if LFE2-LFE1 is greater than or equal to a certain set value Eset2, then E2 is the source and E1 is the load;
[0043] When E1=E2 and LFE1>LFE2, E1 is the source and E2 is the load;
[0044] When E1=E2 and LFE2>LFE1, E2 is the source and E1 is the load.
[0045] In a third aspect, the present invention provides a fast charging protocol circuit, including a logic circuit, which implements a fast charging circuit role control method as described in claim 1 when the logic circuit starts running.
[0046] The present invention has the following beneficial effects:
[0047] The present invention, without adding any hardware circuits or communication circuits and interfaces, relies on the original fast charging circuit, and judges and controls the capacity configuration and the remaining power of the mobile power supply through the working time and the fast charging power after the software is started, so as to determine who is the source and who is the load. This is achieved through a software control method based on the original circuit without increasing the hardware cost. At the same time, it solves the uncertainty when the fast charging ports of different mobile power supplies are interconnected, and gives priority to charging a small amount of power with a large amount of power. Under the same battery capacity, a large amount of power is charged to a small amount of power, which is more in line with the actual situation. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0049] Figure 1 This is a schematic diagram of the interconnection of two mobile power banks for fast charging;
[0050] Figure 2 It is a flow chart of the mobile power interconnection of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] The present invention does not add any hardware circuit or communication circuit and interface. With the help of the original fast charging circuit, the capacity configuration and the remaining power of the mobile power supply are judged by the working time and the fast charging power after the software is started, and then who acts as the source and who acts as the sink are determined.
[0053] The present invention is now described in detail with reference to the accompanying drawings:
[0054] Figure 1 This is the schematic diagram of the interconnection of two mobile power supplies. Figure 2 It is a flow chart of the mobile power supply interconnection of the present invention, such as Figure 1 , 2As shown: Power bank A and power bank B are connected via a bidirectional fast charging interface. The fast charging protocol configuration roles of the two can be either source or sink, and there is randomness. Assume that power bank A is randomly assigned to source and power bank B is sink, and vice versa. The handshake time between the two is t0. After the handshake is successful, they start working normally. The fast charging power is P1. After working for a certain time t1, power bank A stops outputting and adjusts its role to sink, and power bank B changes its role to source. The two shake hands again, and the handshake time is t2. After the handshake is successful, they start working. The fast charging power is P2. After working for a certain time t3, power bank B stops outputting. According to the following logic, power banks A and B determine their respective roles
[0055] t1: working time of mobile power source A, which has a certain proportional relationship m to the battery capacity E1 of mobile power source A. The battery capacity of mobile power source A can be calculated through the proportional relationship m.
[0056] P1: The fast charging output power of mobile power supply A is in a certain proportional relationship n to the remaining battery power LFE1 of mobile power supply A. The remaining battery power of mobile power supply A can be calculated through the proportional relationship n.
[0057] t3: The working time of the mobile power source B is in a certain proportional relationship m to the battery capacity E2 of the mobile power source B. The battery capacity of the mobile power source B can be calculated through the proportional relationship m.
[0058] P2: The fast charging output power of mobile power supply B is in a certain proportional relationship n with the remaining battery power LFE2 of mobile power supply B. Through the proportional relationship n, the remaining battery power of mobile power supply B can be calculated.
[0059] Where the ratios n are equal, exemplarily:
[0060] LFE=(P*n)*E
[0061] For example, P2 = 10W, n = 1 / 10, E2 = 200Wh
[0062] LFE2=(P2 / 10)*E2=(10 / 10)*200=200Wh
[0063] P1=5W, n=1 / 10, E1=100Wh
[0064] LFE2=(P1 / 10)*E1=(5 / 10)*100=50Wh.
[0065] The time t1 and t3 are proportional to the battery power configuration, and the battery capacity of the mobile power supply A and the mobile power supply B can be calculated through t1 and t3.
[0066] The fast charging power P1 and P2 are proportional to the current remaining power. The remaining power of mobile power A and mobile power B can be calculated through P1 and P2.
[0067] Among them, t1 and t3 represent the electric quantity of power source A and power source B. Because the electric quantity is not necessarily equal, t1 and t3 may be greater than, less than, or equal to each other. However, the proportional coefficient m is the same.
[0068] For example: A works at t1=1s, the proportional coefficient m is 100, which means E1=1*100=100Wh of electricity; C works at t3=2s, the proportional coefficient is also 100, which means E2=2*100=200Wh of electricity.
[0069] E1>E2
[0070] If LFE1-LFE2 is greater than or equal to a certain set value Eset1, E1 is the source and E2 is the sink. After the two power supplies determine their roles, they work normally according to the determined roles.
[0071] If LFE1-LFE2 is less than a certain set value Eset1, the two power supplies stop working.
[0072] E1<E2,
[0073] If LFE2-LFE1 is greater than or equal to a certain set value Eset2, E2 is the source and E1 is the sink. After the two power supplies determine their roles, they work normally according to the determined roles.
[0074] If LFE2-LFE1 is less than a certain set value Eset2, the two power supplies stop working.
[0075] E1=E2
[0076] LFE1>LFE2, E1 is source, E2 is sink
[0077] If LFE1-LFE2 is greater than or equal to a certain set value Eset3, the system operates normally according to the determined role.
[0078] If LFE1-LFE2 is less than a certain set value Eset3, the two power supplies stop working.
[0079] LFE2>LFE1, E2 is source, E1 is sink
[0080] If LFE2-LFE1 is greater than or equal to a certain set value Eset3, the system operates normally according to the determined role.
[0081] If LFE2-LFE1 is less than a certain set value Eset3, the two power supplies stop working.
[0082] In summary, the above embodiments explain in detail how to compensate for the defects and the working principle at work (or when the product is in operation), and are implemented through a software control method based on the original circuit without increasing the hardware cost, solving the uncertainty when different mobile power fast charging ports are interconnected, and giving priority to charging large batteries to small batteries. Under the same battery capacity, more batteries are charged with less batteries, which is more in line with the actual situation.
[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A fast charging circuit role control method, characterized in that: When mobile power source A and mobile power source B are connected through a bidirectional fast charging interface to start charging, the following steps are performed: randomly assign the roles of the mobile power sources to perform charging; assuming that mobile power source A is configured as a source and mobile power source B is configured as a load, mobile power source A charges mobile power source B; after working for a set time, the charging work is stopped; the roles of the mobile power sources are swapped so that mobile power source B charges mobile power source A; after working for another set time, the charging work is stopped; the battery capacity of each mobile power source A and mobile power source B and the remaining battery power after stopping charging as a source are calculated; the roles of mobile power source A and mobile power source B are finally determined according to the battery capacity of each mobile power source A and mobile power source B and the remaining battery power; The calculation of the battery capacity of each of mobile power supply A and mobile power supply B and the remaining battery capacity after stopping charging as a source is specifically calculated in the following manner: the first handshake time between mobile power supply A and mobile power supply B is recorded as t0, and the mobile power supply A starts working after the handshake is successful. The fast charging output power of mobile power supply A is P1. After the working setting time t1, mobile power supply A stops outputting and swaps the roles of the mobile power supplies. Then mobile power supply A and mobile power supply B shake hands again, and the handshake time is recorded as t2. After the handshake is successful, the mobile power supply B starts working, and the fast charging output power of mobile power supply B is P2. After working for another setting time t3, mobile power supply A stops outputting and swaps the roles of the mobile power supplies. Then mobile power supply A shakes hands with mobile power supply B again, and the handshake time is recorded as t2. After the handshake is successful, the mobile power supply B starts working, and the fast charging output power of mobile power supply B is P2. After working for another setting time t3, mobile power supply A stops outputting and swaps the roles of the mobile power supplies. B stops outputting; t1 is in proportional relationship m to the battery capacity E1 of mobile power supply A, and the battery capacity of mobile power supply A is calculated through proportional relationship m; P1 is in proportional relationship n to the remaining battery power LFE1 of mobile power supply A, and the remaining battery power of mobile power supply A is calculated through proportional relationship n; t3 is in proportional relationship m to the battery capacity E2 of mobile power supply B, and the battery capacity of mobile power supply B is calculated through proportional relationship m; P2 is in proportional relationship n to the remaining battery power LFE2 of mobile power supply B, and the remaining battery power of mobile power supply B is calculated through proportional relationship n.
2. A fast charging circuit role control method according to claim 1, characterized in that: The specific judgment logic for determining the roles of the mobile power supply A and the mobile power supply B is as follows: when E1>E2, if LFE1-LFE2 is greater than or equal to a set value Eset1, E1 is the source and E2 is the load; when E1<E2, if LFE2-LFE1 is greater than or equal to a set value Eset2, E2 is the source and E1 is the load; when E1=E2 and LFE1>LFE2, E1 is the source and E2 is the load; when E1=E2 and LFE2>LFE1, E2 is the source and E1 is the load.
3. A fast charging circuit role control method according to claim 2, characterized in that: When E1>E2, if LFE1-LFE2 is greater than or equal to a certain set value Eset1, the two mobile power supplies determine their roles and work normally according to the determined roles; if LFE1-LFE2 is less than a certain set value Eset1, the two mobile power supplies stop working.
4. A fast charging circuit role control method according to claim 2, characterized in that: When E1<E2, if LFE2-LFE1 is greater than or equal to a certain set value Eset2, the two mobile power supplies determine their roles and work normally according to the determined roles; if LFE2-LFE1 is less than a certain set value Eset2, the two mobile power supplies stop working.
5. A fast charging circuit role control method according to claim 2, characterized in that: When E1=E2 and LFE1>LFE2, further if LFE1-LFE2 is greater than or equal to a set value Eset3, the two mobile power supplies work normally according to the determined roles; if LFE1-LFE2 is less than a set value Eset3, the two mobile power supplies stop working; when E1=E2 and LFE2>LFE1, further if LFE2-LFE1 is greater than or equal to a set value Eset3, the two mobile power supplies work normally according to the determined roles; if LFE2-LFE1 is less than a set value Eset3, the two mobile power supplies stop working.
6. A fast charging protocol processing system, characterized in that: The invention comprises the following modules: a first allocation module, which is used to randomly allocate the roles of mobile power supplies to perform charging work; assuming that mobile power supply A is configured as a source and mobile power supply B is configured as a load, mobile power supply A charges mobile power supply B; a first charging control module, which is used to control mobile power supply A to stop charging after working for a set time; a second allocation module, which is used to interchange the roles of mobile power supplies so that mobile power supply B charges mobile power supply A; The second charging control module is used to control the mobile power supply B to stop charging after working for another set time; A calculation module, used to calculate the battery capacity of each of mobile power supply A and mobile power supply B and the remaining battery power after stopping charging as a source; a role determination module, used to finally determine the roles of mobile power supply A and mobile power supply B according to the battery capacity of each of mobile power supply A and mobile power supply B and the remaining battery power; The calculation of the battery capacity of each of mobile power supply A and mobile power supply B and the remaining battery capacity after stopping charging as a source is specifically calculated in the following manner: the first handshake time between mobile power supply A and mobile power supply B is recorded as t0, and the mobile power supply A starts working after the handshake is successful. The fast charging output power of mobile power supply A is P1. After the working setting time t1, mobile power supply A stops outputting and swaps the roles of the mobile power supplies. Then mobile power supply A and mobile power supply B shake hands again, and the handshake time is recorded as t2. After the handshake is successful, the mobile power supply B starts working, and the fast charging output power of mobile power supply B is P2. After working for another setting time t3, mobile power supply A stops outputting and swaps the roles of the mobile power supplies. Then mobile power supply A shakes hands with mobile power supply B again, and the handshake time is recorded as t2. After the handshake is successful, the mobile power supply B starts working, and the fast charging output power of mobile power supply B is P2. After working for another setting time t3, mobile power supply A stops outputting and swaps the roles of the mobile power supplies. B stops outputting; t1 is in proportional relationship m to the battery capacity E1 of mobile power supply A, and the battery capacity of mobile power supply A is calculated through proportional relationship m; P1 is in proportional relationship n to the remaining battery power LFE1 of mobile power supply A, and the remaining battery power of mobile power supply A is calculated through proportional relationship n; t3 is in proportional relationship m to the battery capacity E2 of mobile power supply B, and the battery capacity of mobile power supply B is calculated through proportional relationship m; P2 is in proportional relationship n to the remaining battery power LFE2 of mobile power supply B, and the remaining battery power of mobile power supply B is calculated through proportional relationship n.
7. A fast charging protocol processing system according to claim 6, characterized in that: The specific judgment logic for determining the roles of the mobile power supply A and the mobile power supply B is as follows: when E1>E2, if LFE1-LFE2 is greater than or equal to a set value Eset1, E1 is the source and E2 is the load; when E1<E2, if LFE2-LFE1 is greater than or equal to a set value Eset2, E2 is the source and E1 is the load; when E1=E2 and LFE1>LFE2, E1 is the source and E2 is the load; when E1=E2 and LFE2>LFE1, E2 is the source and E1 is the load.
8. A fast charging protocol circuit, comprising a logic circuit, characterized in that: When the logic circuit starts running, the fast charging circuit role control method described in claim 1 is implemented.
