A lithium iron phosphate battery charging curve drawing method

By controlling the charger through a host computer to perform charge and discharge tests, calculating the capacity of the lithium iron phosphate battery, and plotting current-voltage curves, the problems of battery damage and low efficiency in existing technologies are solved, and the effects of simplifying equipment and reducing costs are achieved.

CN120652306BActive Publication Date: 2026-11-20ROYPOW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510684555.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2026-11-20
Estimated Expiration
2045-05-26

AI Technical Summary

Technical Problem

Existing technologies cannot effectively adjust the current during the constant current main charging stage of lithium iron phosphate batteries, leading to battery damage or reduced charging efficiency. Furthermore, they rely on hardware testing equipment and complex algorithms, increasing production costs.

Method used

The charger is controlled by a host computer to perform charge and discharge tests, calculate the capacity of the lithium iron phosphate battery, determine the current and time of the constant current main charging stage, and plot the current-voltage curve, simplifying the hardware and algorithm requirements.

Benefits of technology

It enables precise adjustment of the charging curve of lithium iron phosphate batteries without increasing the cost of hardware and complex algorithms, thereby protecting the battery, improving charging efficiency, and reducing production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120652306B_ABST
    Figure CN120652306B_ABST
Patent Text Reader

Abstract

The application discloses a lithium iron phosphate battery charging curve drawing method, which comprises the following steps: performing charging and discharging test on a lithium iron phosphate battery; recording the charging and discharging time of the lithium iron phosphate battery under the condition that the charging current and the discharging current are the same; and calculating the capacity of the lithium iron phosphate battery. According to the characteristics of the lithium iron phosphate battery, the current of the constant-current main charging stage is determined, and the time of the constant-current pre-charging to the constant-current main charging stage is calculated according to the charging voltage U1 of the constant-current pre-charging, the voltage U2 of the constant-current main charging, the capacity Q of the lithium iron phosphate battery and the current of the constant-current pre-charging stage. Thus, the time Tpre of the constant-current pre-charging to the constant-current main charging stage can be obtained without using a complex algorithm, and the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of new energy battery technology, specifically to a method for plotting the charging curve of a lithium iron phosphate battery. Background Technology

[0002] Lithium iron phosphate (LFP) batteries are charged in three stages: constant current pre-charge (CC), constant current main charge (CC), and constant voltage charge (CV). First, in the constant current pre-charge (CC) stage, a smaller current is used to activate the lithium ions within the LFP battery, preventing damage to unactivated cells from a large current. After a period of time, the current is increased to transition to the constant current main charge stage, accelerating charging efficiency. As the LFP battery approaches full charge, due to its characteristics, excessive current can lead to lithium plating. To prevent damage from a large current, the current is gradually reduced. Once the current in the constant current main charge stage decreases, the process transitions from constant current main charge (CC) to constant voltage charge (CV). Simultaneously, a constant voltage is maintained to continue slowly charging the LFP battery until it is fully charged.

[0003] To better protect lithium iron phosphate batteries, based on the three charging stages of constant current pre-charge (CC), constant current main charge (CC), and constant voltage charge (CV), and considering the battery characteristics of lithium iron phosphate batteries, voltage curves corresponding to the constant voltage stage and current curves corresponding to the constant current pre-charge and constant current main charge stages are set. The following parameters are needed to plot the current curves: constant current pre-charge current, time from constant current pre-charge to constant current main charge, constant current main charge current, and time from constant current main charge to constant voltage charge; the following parameters are needed to plot the voltage curves: constant current pre-charge voltage, constant current main charge voltage, and constant voltage charge voltage.

[0004] When charging lithium iron phosphate (LFP) batteries, the charger's output voltage and current are adjusted based on voltage and current curves to protect the batteries. However, as batteries age, their capacity changes, making the transition time from constant current pre-charging to constant current main charging uncertain. This makes it impossible to regulate the current during the constant current main charging phase. Excessive constant current during main charging can damage the LFP battery, while insufficient current reduces charging efficiency. Therefore, updating the charging curve is necessary. However, updating the charging curve requires hardware testing equipment such as coulomb counters to obtain the parameters, increasing the production cost of this equipment. Furthermore, designing complex algorithms to calculate the transition time from constant current pre-charging to constant current main charging further increases production costs. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method for plotting the charging curve of a lithium iron phosphate battery. The objective of this invention is achieved through the following methods: A method for plotting a charging curve of a lithium iron phosphate battery, comprising the following steps: S1: electrically connecting a charger to the lithium iron phosphate battery by using a host computer; S2: primary charging phase; the host computer controls the charger to output a current I1 to perform constant-current charging for the lithium iron phosphate battery, the host computer detects that the output voltage of the charger when the output current is I1 is U1, the host computer detects that the current of the lithium iron phosphate battery during the charging process is I2, and when I2 is less than i, the host computer determines that the lithium iron phosphate battery is in a fully charged state, and controls the charger to stop charging; where i is the current threshold in the charging phase of the lithium iron phosphate battery; S3: primary discharging phase; the host computer controls the charger to make the charger discharge the fully charged lithium iron phosphate battery in step S1 at the current I1 and feed back power to the power grid, the host computer detects that when the discharge current I1 of the lithium iron phosphate battery is equal to 0, the discharge time of the lithium iron phosphate battery is t1, the lithium iron phosphate battery completes discharging, the capacity Q1 of the lithium iron phosphate battery is calculated, and the capacity Q1 of the lithium iron phosphate battery is equal to I1 multiplied by t1; S4: secondary charging phase: the host computer controls the charger to perform constant-current charging again on the lithium iron phosphate battery obtained in step S3 at the current I1, the host computer detects that when I2 is less than i, the charging time of the lithium iron phosphate battery is t2, determines that the lithium iron phosphate battery is fully charged, calculates the capacity Q2 of the lithium iron phosphate battery, and the capacity Q2 of the lithium iron phosphate battery is equal to I1 multiplied by t2; S5: the host computer calculates the average value Q of Q1 and Q2, that is, Q=(Q1+Q2) / 2=(I1t1+I1t2) / 2, where Q is the capacity of the lithium iron phosphate battery; S6: secondary discharging phase: the host computer controls the charger to discharge the lithium iron phosphate battery obtained in step S4 again at I1 and feed back power to the power grid, and the host computer detects that when the discharge current I1 of the lithium iron phosphate battery is equal to 0, it indicates that the electric quantity of the lithium iron phosphate battery is completely discharged; S7: the host computer controls the charger to perform constant-current pre-charging on the lithium iron phosphate battery in step S6, the current in the constant-current pre-charging phase is I1, and the voltage of the lithium iron phosphate battery at the initial moment of entering the constant-current pre-charging phase is U1; when the host computer detects that the voltage of the lithium iron phosphate battery rises from U1 to U2, the host computer controls the charging of the lithium iron phosphate battery by the charger to switch from the constant-current pre-charging phase to the constant-current main charging phase, the current in the constant-current main charging phase is I, and I=C Q, where C is the charging rate of the lithium iron phosphate battery, and U2 is the trickle charging voltage threshold of the lithium iron phosphate battery; S8. During the constant current main charging stage of the lithium iron phosphate battery, the host computer detects the voltage change of the lithium iron phosphate battery. When the host computer detects that the voltage of the lithium iron phosphate battery gradually increases from U2 and reaches U3 at time t3 and remains constant, the host computer controls the charger to enter the constant voltage charging stage for the lithium iron phosphate battery. The host computer controls the output current of the charger to gradually decrease from I to 0, and the constant voltage charging stage of the lithium iron phosphate battery ends. S9. Based on the lithium iron phosphate battery capacity Q calculated in step S5, the current I1 and voltage U1 and U2 determined in step S7 during the constant current pre-charge stage, the current I during the constant current main charge stage, the t3 detected in step S8, and the current change during the process of the charger's output current decreasing from I to 0, plot the current curve; based on the lithium iron phosphate battery capacity Q calculated in step S5, the voltage U1 and U2 in step S7, the voltage U3 in step S8, and time t3, plot the voltage curve.

[0006] In one embodiment, in steps S3 and S6, the lithium iron phosphate battery discharges and feeds back to the grid by using an inverter to feed back the lithium iron phosphate battery's electrical energy to the grid.

[0007] In one embodiment, the current curve plotting in step S9 includes: Calculate the time required for voltage U1 to rise to U2: Tpre = Q(U2-U1) / I1; Based on the current I1 and Tpre of the constant current precharge stage determined in step S7, plot the current curve of the lithium iron phosphate battery during the constant current precharge stage. Based on the current I determined in step S7 during the constant current main charging stage and the time t3 detected in step S8, the current curve of the lithium iron phosphate battery during the constant current main charging stage is plotted. Plot the current curve for the constant voltage charging stage based on the current change during the process of the charger's output current decreasing from I to 0 in step S8.

[0008] In one embodiment, the voltage curve plotting in step S9 includes: Based on the voltage change of the lithium iron phosphate battery during the process of voltage rise from U1 to U2 detected in step S7 and Tpre, the voltage curve of the lithium iron phosphate battery in the constant current pre-charge stage is plotted. Based on the voltage change process of the lithium iron phosphate battery from U2 to U3 at time t3 in step S8, the voltage curve of the lithium iron phosphate battery during the constant current main charging stage is plotted. Plot the voltage curve of the lithium iron phosphate battery during the constant voltage charging stage based on the voltage U3 in step S8.

[0009] In one embodiment, the charger includes a control unit and a charging unit. The control unit is electrically connected to a host computer; the charging unit is electrically connected to the control unit. When the lithium iron phosphate battery is charging, the charging unit is connected to the power grid and the lithium iron phosphate battery. The host computer controls the control unit of the charger, which controls the AC current from the power grid to flow into the charging unit. The charging unit rectifies the AC current from the power grid into DC current, and the DC current flows into the lithium iron phosphate battery to charge it. When the lithium iron phosphate battery is discharging, the charging unit is connected to the power grid and the lithium iron phosphate battery. The current from the lithium iron phosphate battery flows into the charging unit. The host computer controls the control unit, which controls the charging unit to invert the DC current into AC current, and the AC current is fed back to the power grid.

[0010] In one embodiment, the charging unit includes a first H-bridge section, an LLC section, and a second H-bridge section. The first H-bridge section, LLC section, and second H-bridge section each have a terminal 1, a terminal 2, and a terminal 3, respectively. Terminal 1 of the first H-bridge section 21 is electrically connected to the power grid. Terminal 2 of the first H-bridge section is electrically connected to terminal 1 of the LLC section. Terminal 2 of the LLC section is electrically connected to terminal 1 of the second H-bridge section. Terminal 2 of the second H-bridge section is electrically connected to the lithium iron phosphate battery. Terminals 3 of the first H-bridge section, LLC section, and second H-bridge section are respectively electrically connected to the control unit. When charging the lithium iron phosphate battery, the control unit controls the first H-bridge section, LLC section and the second H-bridge section to work. The AC power from the grid is rectified and filtered into DC power by the first H-bridge section, and then inverted into AC power by the LLC section and stepped down. The stepped-down AC power is rectified into DC power by the second H-bridge section to charge the lithium iron phosphate battery. When discharging the lithium iron phosphate battery, the control unit controls the operation of the first H-bridge section, LLC section and the second H-bridge section. The DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section, enters the LLC section for boosting into high-voltage DC power for phase adjustment, and finally passes through the first H-bridge section for inversion and feedback to the grid.

[0011] In one embodiment, the first H-bridge section includes a first filter module, an energy storage module, and a first H-bridge. The first filter module is electrically connected to the power grid and the energy storage module, respectively. The energy storage module is electrically connected to the first H-bridge, and the first H-bridge is electrically connected to terminal 1 of the LLC section and the control unit, respectively. When charging the lithium iron phosphate battery, the AC power is filtered and noise is eliminated by the first filter module and the energy storage module. The control unit controls the first H bridge to rectify the AC power. After the AC power is rectified into DC power, the DC power is input into the LLC section to be inverted into AC power and stepped down. When discharging the lithium iron phosphate battery, the high-voltage DC power output by the LLC section is boosted and passed through the first H-bridge. The control unit controls the first H-bridge to invert the high-voltage DC power into square wave AC power. Then, the square wave AC power is smoothed into a sine wave AC power by the first filter module and the energy storage module and fed back to the grid to reduce the interference of harmonics on the grid.

[0012] In one embodiment, the LLC section includes a second filter module, a transformation H-bridge, and a transformer module. The second filter module is electrically connected to terminal 2 of the first H-bridge section and the transformation H-bridge, respectively. The transformation H-bridge is electrically connected to the transformer module and the control unit, respectively. The transformer module is electrically connected to terminal 1 of the second H-bridge section. When charging the lithium iron phosphate battery, the AC power from the grid is rectified and filtered into DC power by the first H-bridge section, and then noise is eliminated by the second filter module. The control unit controls the H-bridge to invert the DC power into AC power and uses a transformer module to step down the voltage. The stepped-down AC power is rectified into DC power by the second H-bridge section to charge the lithium iron phosphate battery. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section, and then enters the transformer module for voltage boosting. The control unit controls the H-bridge to rectify into high-voltage DC power, which is then phase-adjusted by the second filter module. Finally, the high-voltage DC power is inverted and fed back to the grid by the first H-bridge section.

[0013] In one embodiment, the transformer module includes a resonant cavity, a transformer Tr, and a third filter module. The resonant cavity is electrically connected to the H-bridge and the transformer Tr, respectively. The transformer Tr is electrically connected to the third filter module and the second H-bridge, respectively. When charging the lithium iron phosphate battery, the control unit controls the H-bridge to invert the DC power into AC power. The resonant current is generated through the resonant cavity, and the circuit operates at the resonant frequency. This improves the efficiency of the transformer module in stepping down the voltage. The stepped-down AC power is filtered by the third filter module and then rectified into DC power by the second H-bridge to charge the lithium iron phosphate battery. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section, and then enters the third filter module to filter out noise. The transformer module boosts the AC power, and the boosted AC power passes through the resonant cavity to eliminate AC harmonics before entering the conversion H-bridge for inversion.

[0014] In one embodiment, the second H-bridge section includes a second H-bridge, a fourth filter module, and a protection module. The second H-bridge is electrically connected to the LLC section, the fourth filter module, the protection module, and the control unit, respectively. The fourth filter module is electrically connected to the lithium iron phosphate battery and the protection module, respectively. The protection module is electrically connected to the second H-bridge and the fourth filter module, respectively. When charging the lithium iron phosphate battery, the LLC section outputs stepped-down AC power. The stepped-down AC power is rectified into DC power by the second H bridge and then filtered by the fourth filter module to charge the lithium iron phosphate battery. The protection module limits the current to prevent the output DC power from being too large and damaging the lithium iron phosphate battery. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is noise-reduced by the fourth filter module, and then the DC power is inverted into AC power by the second H bridge. After entering the LLC section, it is boosted to a high voltage DC power and phase-adjusted. The protection module prevents the DC power from damaging the second H bridge.

[0015] Compared with the prior art, the present invention has at least the following advantages: The lithium iron phosphate (LFP) battery is subjected to charge-discharge tests. By recording the charging and discharging times under the same charging and discharging current, the battery capacity is calculated. Based on the characteristics of the LFP battery, the calculated battery capacity is used to determine the current during the constant current main charging stage. This method is simple and does not require hardware such as a coulomb counter to measure the current during the constant current main charging stage, thus reducing hardware costs. Simultaneously, the time Tpre for the transition from constant current pre-charge to constant current main charging is calculated using the constant current pre-charge voltage U1, the measured constant current main charging voltage U2, the LFP battery capacity Q, and the current during the constant current pre-charge stage. This eliminates the need for complex algorithms to determine the time Tpre for the transition from constant current pre-charge to constant current main charging, further reducing production costs. Attached Figure Description

[0016] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a charging curve diagram from Example 1; Figure 2 This is a diagram of the charger module in Embodiment 2; Figure 3 for Figure 2 The specific circuit structure diagram is shown in the figure. In the attached diagram, the reference numerals are: 1. Control unit; 2. Charging unit; 21. First H-bridge section; 211. First filter module; 212. Energy storage module; 213. First H-bridge; 22. LLC section; 221. Second filter module; 222. Transformer H-bridge; 223. Transformer module; 2231. Resonant cavity; 2232. Transformer Tr; 2233. Third filter module; 23. Second H-bridge unit; 231. Second H-bridge; 232. Fourth filtering module; 233. Protection module. DETAILED DESCRIPTION

[0017] A plurality of embodiments of the present invention will be disclosed below with reference to the accompanying drawings. For the purpose of clear illustration, numerous practical details will be set forth in the following description. However, it should be understood that these practical details shall not be used to limit the present invention. That is, in some embodiments of the present invention, these practical details are unnecessary. In addition, for the purpose of simplifying the accompanying drawings, some well-known structures and components will be illustrated in a simple schematic manner in the drawings.

[0018] It should be noted that all directional indications such as up, down, left, right, front, rear... in the embodiments of the present invention are only used to explain the relative positional relationship, movement conditions, and the like between the various components under a specific posture as shown in the accompanying drawings. If the specific posture changes, the directional indication will change accordingly.

[0019] In addition, in the present invention, descriptions referring to "first", "second" and the like are for descriptive purposes only, and do not denote any order or sequence in particular, nor are they used to limit the present invention. They are merely used to distinguish components or operations described with the same technical terms, and cannot be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions of the various embodiments may be combined with each other, but must be based on the realization by a person of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, such a combination of technical solutions shall be regarded as non-existent and not within the scope of protection claimed by the present invention.

[0020] To further understand the content, features and effects of the present invention, the following embodiments are cited and described in detail in conjunction with the accompanying drawings as follows: Embodiment 1 This embodiment provides a method for drawing a charging curve of a lithium iron phosphate battery, which includes the following steps: S1. An upper computer is used to electrically connect a charger to the lithium iron phosphate battery.

[0021] S2. Primary charging phase; the upper computer controls the charger to output a current I1 to perform constant-current charging on the lithium iron phosphate battery, the upper computer detects that the output voltage of the charger when the output current is I1 is U1, the upper computer detects that the current of the lithium iron phosphate battery during the charging process is I2, and when I2 < i, the upper computer judges that the lithium iron phosphate battery is in a fully charged state and controls the charger to stop charging; where i is the current threshold in the charging phase of the lithium iron phosphate battery; It should be noted that the charger output current I1 is the minimum output current of the charger. The charger output current is divided into minimum output current, maximum output current, and the current between the minimum and maximum output current range. Because the AC power input from the mains will fluctuate, it will produce ripple and noise. When the charger selects a current output between the minimum and maximum current range, the ripple and noise of the AC power will also cause ripple in the DC power output from the charger to the battery. These ripples will generate surge current, causing the internal temperature of the battery to rise, which will damage the lithium iron phosphate battery. When the charger uses the maximum output current to charge the lithium iron phosphate battery, the capacity and internal resistance of the lithium iron phosphate battery are unknown, and using the maximum output current of the charger will cause damage to the lithium iron phosphate battery. When the charger uses the minimum output current to charge the lithium iron phosphate battery, the output power of the charger is also the minimum, and the frequency of switching on and off of the internal components of the charger is also the lowest. The internal components will not consume a lot of power. Therefore, the filtering efficiency of the internal components of the charger can be maximized to better filter the AC power, resulting in less ripple and noise in the DC power output of the charger. Therefore, when the charger uses its minimum current output, noise suppression at low current is better, the output current is smoother, and the fluctuation of the minimum output current of the charger is lower, thus protecting the lithium iron phosphate battery to the greatest extent.

[0022] During the continuous charging process of a lithium iron phosphate battery, the internal chemical reaction gradually approaches saturation, rendering it unable to absorb any more charge. Therefore, the current I2 of the lithium iron phosphate battery gradually decreases during charging. When I2 drops to the current threshold i, it indicates that the lithium iron phosphate battery is nearing full charge, and continuing to charge may lead to overcharging; therefore, charging must be stopped. In this embodiment, based on the chemical characteristics of the lithium iron phosphate battery, the current threshold i is the current threshold when the lithium iron phosphate battery reaches saturation.

[0023] S3, First discharge stage; The host computer controls the charger to discharge the lithium iron phosphate battery, which was fully charged in step S1, with a current I1 to feed it back to the grid. The host computer detects that when the discharge current I1 of the lithium iron phosphate battery is 0, the discharge time of the lithium iron phosphate battery is t1, the lithium iron phosphate battery has completed the discharge, and the capacity of the lithium iron phosphate battery Q1 is calculated. The capacity of the lithium iron phosphate battery Q1 = I1t1. It should be noted that if the discharge current of the lithium iron phosphate battery is greater than the current I1, the excessive current will cause the temperature of the lithium iron phosphate battery to rise, further change the internal resistance of the lithium iron phosphate battery, affect the actual discharge current value, and lead to inaccurate calculation of the capacity of the lithium iron phosphate battery. Therefore, in the primary discharge stage, the lithium iron phosphate battery is still discharged at I1. Since the capacity of the lithium iron phosphate battery in the primary charging stage is unknown, the capacity of the lithium iron phosphate battery cannot be determined according to the product of the charging time and the charging current. In this way, by discharging the fully charged lithium iron phosphate battery at I1, after time t1, the upper computer detects that I1=0 of the lithium iron phosphate battery indicates that the battery is completely discharged, so as to determine the capacity of the lithium iron phosphate battery.

[0024] S4. Secondary charging stage: The upper computer controls the charger to perform constant-current charging on the lithium iron phosphate battery in step S3 again at the current I1, and the upper computer detects that when I2<i the charging time of the lithium iron phosphate battery is t2, it is judged that the lithium iron phosphate battery is fully charged, and the capacity Q2 of the lithium iron phosphate battery is calculated, where the capacity Q2 of the lithium iron phosphate battery is Q2=I1t2; It should be noted that it is necessary to completely discharge the lithium iron phosphate battery 3, and then perform constant-current charging at the charging current I1, detect the time t2 from the fully discharged state to the fully charged state of the lithium iron phosphate battery, so as to recalculate the capacity of the lithium iron phosphate battery.

[0025] S5. The upper computer calculates the average value Q of Q1 and Q2, that is, Q=(Q1+Q2) / 2=(I1t1+I1t2) / 2, where Q is the capacity of the lithium iron phosphate battery; It should be noted that through the two calculated capacities Q1 and Q2 of the lithium iron phosphate battery, the average value Q of the capacity of the lithium iron phosphate battery 3 can be obtained. By taking the average value of the capacities Q1 and Q2, the current capacity Q of the lithium iron phosphate battery can be determined more accurately.

[0026] S6. Secondary discharge stage: The upper computer controls the charger to discharge the lithium iron phosphate battery in step S4 again at I1 and feed back power to the grid. The upper computer detects that when the discharge current I1 of the lithium iron phosphate battery is 0, it indicates that the electric quantity of the lithium iron phosphate battery is completely discharged; It should be noted that after the capacity Q of the lithium iron phosphate battery is determined, the lithium iron phosphate battery needs to be completely discharged, and the lithium iron phosphate battery is charged again to determine the charging curve.

[0027] S7. The upper computer controls the charger to perform constant-current pre-charging on the lithium iron phosphate battery in step S6. The current in the constant-current pre-charging stage is I1, and the voltage of the lithium iron phosphate battery at the initial moment of entering the constant-current pre-charging stage is U1; when the upper computer detects that the voltage of the lithium iron phosphate battery rises from U1 to U2, the upper computer controls the charging of the lithium iron phosphate battery by the charger to switch from the constant-current pre-charging stage to the constant-current main charging stage, and the current in the constant-current main charging stage is I, where I=C Q and C are the charging rates of the lithium iron phosphate battery, and U2 is the trickle charging voltage threshold of the lithium iron phosphate battery. It should be noted that constant current pre-charging is required when charging lithium iron phosphate batteries to activate them and prevent damage from high current applied to an unactivated battery. Once the lithium ions inside the battery are activated during the constant current pre-charging stage, the battery can withstand the impact of high current. If the battery were continuously charged using the current from the constant current pre-charging stage, the charging speed would be slower. Therefore, the charging current I1 during the constant current pre-charging stage is increased to I, thus transitioning from the constant current pre-charging stage to the constant current main charging stage. During this transition, as the charger continuously charges the lithium iron phosphate battery, the voltage inside the battery increases from U1 at the initial moment of the constant current pre-charging stage to U2, where U2 is the trickle charging voltage threshold of the lithium iron phosphate battery.

[0028] S8. During the constant current main charging stage of the lithium iron phosphate battery, the host computer detects the voltage change of the lithium iron phosphate battery. When the host computer detects that the voltage of the lithium iron phosphate battery gradually increases from U2 and reaches U3 at time t3 and remains constant, the host computer controls the charger to enter the constant voltage charging stage for the lithium iron phosphate battery. The host computer controls the output current of the charger to gradually decrease from I to 0, and the constant voltage charging stage of the lithium iron phosphate battery ends. It should be noted that when the lithium iron phosphate battery transitions from the constant current pre-charge stage to the constant current main charge stage, the battery voltage rises from U1 to U2. During the constant current main charge stage, the battery voltage continues to rise from U2 to U3 and remains constant at U3. U3 is directly determined by the chemical characteristics of the lithium iron phosphate battery and is its cutoff voltage. Voltage U3 corresponds to the equilibrium potential between the positive and negative electrodes within the battery. When the host computer detects that the battery voltage has gradually increased from U2 and reached U3 at time t3, and then remains constant, the host computer controls the charger to enter the constant voltage charging stage. At this time, the host computer gradually reduces the charger's output current from I to 0, ending the constant voltage charging stage of the lithium iron phosphate battery.

[0029] S9. Based on the lithium iron phosphate battery capacity Q calculated in step S5, the current I1 and voltage U1 and U2 determined in step S7 during the constant current pre-charge stage, the current I during the constant current main charge stage, the t3 detected in step S8, and the current change during the process of the charger's output current decreasing from I to 0, plot the current curve; based on the lithium iron phosphate battery capacity Q calculated in step S5, the voltage U1 and U2 in step S7, the voltage U3 in step S8, and time t3, plot the voltage curve.

[0030] It should be noted that the current curves are plotted based on the current I1 during the constant current pre-charge stage, the current I during the constant current main charge stage, and the current change as the charger's output current decreases from I to 0 at time t3; the current curves are plotted based on the voltage U1 during the constant current pre-charge stage, the voltage U2 during the constant current main charge stage, and the fact that the voltage U2 remains constant after reaching voltage U3 at time t3.

[0031] Specifically, in steps S3 and S6 of this embodiment, the method of feeding the lithium iron phosphate battery discharge back to the grid is as follows: the lithium iron phosphate battery's electrical energy is fed back to the grid using an inverter. When the lithium iron phosphate battery discharges, it is inverted into AC power by the charger and fed back to the grid. During operation, the charger absorbs some electrical energy and converts it into heat energy, resulting in energy waste. By feeding this electrical energy back to the grid, energy reuse is achieved, thereby reducing energy loss.

[0032] Specifically, in step S9 of this embodiment, the current curve plotting includes: Calculate the time required for voltage U1 to rise to U2: Tpre = Q(U2-U1) / I1; Based on the current I1 and Tpre of the constant current precharge stage determined in step S7, plot the current curve of the lithium iron phosphate battery during the constant current precharge stage. Based on the current I determined in step S7 during the constant current main charging stage and the time t3 detected in step S8, the current curve of the lithium iron phosphate battery during the constant current main charging stage is plotted. Plot the current curve for the constant voltage charging stage based on the current change during the process of the charger's output current decreasing from I to 0 in step S8.

[0033] It should be noted that time Tpre is the time required for voltage U1 to rise to U2. By calculating time Tpre, the current curve from the constant current pre-charge stage to the constant current main charge stage can be plotted more accurately. The current curve is plotted as follows: the current during the pre-charge stage is I1. When time Tpre is reached, the current rises from I1 to I and remains constant after transitioning from the constant current pre-charge stage to the constant current main charge stage. After reaching time t3, the current I gradually decreases. When the current I decreases to 0, charging ends, and the current curve is plotted.

[0034] Specifically, in this embodiment, step S9 of plotting the voltage curve includes: Based on the voltage change of the lithium iron phosphate battery detected in step S7 as the voltage rises from U1 to U2, and Tpre, the voltage curve of the lithium iron phosphate battery during the constant current pre-charge stage is plotted. Based on the voltage change process of the lithium iron phosphate battery from U2 to U3 in step S8, the voltage curve of the lithium iron phosphate battery during the constant current main charging stage is plotted. Plot the voltage curve of the lithium iron phosphate battery during the constant voltage charging stage based on the voltage U3 in step S8.

[0035] It should be noted that the voltage curve is plotted as follows: based on the voltage U1 of the lithium iron phosphate battery during the pre-charge stage, when the time reaches Tpre, the voltage rises from U1 to U2 as the constant current pre-charge stage transitions to the constant current main charge stage. During the constant current main charge stage, the voltage U2 gradually increases, reaching U3 after time t3. The voltage U3 remains constant after time t3. When the current I drops to 0, the voltage curve is plotted.

[0036] In summary, as Figure 1 As shown, the current curve of the charging curve is plotted as follows: First, determine the constant current charging current I1 in the constant current pre-charging stage, the constant current main charging current I, and the time for the constant current pre-charging stage to switch to the constant current main charging stage as Tpre=Q(U2-U1) / I1. When the constant current pre-charging stage reaches Tpre, the constant current pre-charging stage switches to the constant current main charging stage, and the current rises from I1 to I. When the time reaches t3, the current I begins to gradually decrease. When I drops to 0, the charging is completed. Thus, the current curve of the charging curve is plotted.

[0037] The voltage curve of the charging curve is plotted as follows: the voltage U1 starts to rise from the constant current pre-charge stage. When it reaches Tpre, the constant current pre-charge stage switches to the main charging stage, and the voltage rises from U1 to U2. U2 continues to rise. At time t3, the voltage U2 reaches U3 and remains constant. At this time, the constant current main charging stage switches to the constant voltage charging stage, and the current I gradually decreases to 0. When I is 0, the charging is completed. Thus, the voltage curve of the charging curve is plotted.

[0038] Thus, the beneficial effects of this embodiment are as follows: by conducting charge-discharge tests on the lithium iron phosphate battery and recording the charging and discharging times under the condition that the charging and discharging currents are the same, the capacity of the lithium iron phosphate battery can be calculated. Furthermore, based on the characteristics of the lithium iron phosphate battery, the current of the constant current main charging stage is determined using the calculated battery capacity. This operation is simple and does not require hardware such as a coulomb counter for current measurement, reducing the cost of hardware equipment. Simultaneously, the time Tpre for the transition from constant current pre-charge to constant current main charge is calculated from the constant current pre-charge voltage U1, the measured constant current main charge voltage U2, the lithium iron phosphate battery capacity Q, and the current of the constant current pre-charge stage. In this way, the time Tpre for the transition from constant current pre-charge to constant current main charge can be obtained without using complex algorithms, reducing production costs.

[0039] Example 2 This embodiment provides a charger, such as Figure 2 As shown. Figure 2The diagram shows a charger module. The charger includes a control unit 1 and a charging unit 2. The control unit 1 is electrically connected to a host computer. The charging unit 2 is electrically connected to the control unit 1. The control unit 1 can control the charging unit 1. When the lithium iron phosphate battery is being charged, the charging unit 2 is connected to the power grid and the lithium iron phosphate battery. The host computer controls the control unit 1 of the charger. The control unit 1 controls the AC current from the power grid to enter the charging unit 2. The charging unit 2 rectifies the AC current from the power grid into DC current, and the DC current is supplied to the lithium iron phosphate battery to charge it. When the lithium iron phosphate battery discharges, the charging unit 2 is connected to the power grid and the lithium iron phosphate battery. The current from the lithium iron phosphate battery flows into the charging unit 2. The host computer controls the control unit 1, which inverts the DC power into AC power and feeds the AC power back to the power grid.

[0040] Furthermore, such as Figure 2 As shown, the charging unit 2 includes a first H-bridge section 21, an LLC section 22, and a second H-bridge section 23. The first H-bridge section 21, the LLC section, and the second H-bridge section 23 have terminals 1, 2, and 3, respectively. Terminal 1 of the first H-bridge section 21 is electrically connected to the power grid. Terminal 2 of the first H-bridge section 21 is electrically connected to terminal 1 of the LLC section 22. Terminal 2 of the LLC section 22 is electrically connected to terminal 1 of the second H-bridge section 23. Terminal 2 of the second H-bridge section 23 is electrically connected to the lithium iron phosphate battery 3. Terminals 3 of the first H-bridge section 21 and the second H-bridge section 23 are electrically connected to the control unit 1, respectively. When charging the lithium iron phosphate battery, the control unit 1 controls the first H-bridge section 21, LLC section 22 and the second H-bridge section 23 to work. The AC power from the grid is rectified and filtered into DC power by the first H-bridge section 21, and then inverted into AC power by the LLC section 22 and stepped down. The stepped-down AC power is rectified into DC power by the second H-bridge section 23 and then used to charge the lithium iron phosphate battery 3. When discharging the lithium iron phosphate battery, the control unit 1 controls the first H-bridge section 21, LLC section 22 and the second H-bridge section 23 to work. The DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section 23, enters the LLC section 22 to be boosted into high voltage DC power for phase adjustment, and finally is inverted and fed back to the grid by the first H-bridge section 21.

[0041] It should be noted that the first H-bridge section 21, LLC section 22 and the second H-bridge section 23 can all rectify AC power into DC power, and can all invert DC power into AC power.

[0042] Specifically, such as Figure 3As shown, the first H-bridge section 21 includes a first filter module 211, an energy storage module 212 and a first H-bridge 213. The first filter module 211 is electrically connected to the power grid and the energy storage module 212 respectively. The energy storage module 212 is electrically connected to the first H-bridge 213. The first H-bridge 213 is electrically connected to terminal 1 of LLC section 22 and control unit 1 respectively. When charging the lithium iron phosphate battery, the AC power is filtered and noise is eliminated by the first filter module 211 and the energy storage module 212. The control unit 1 controls the first H bridge 213 to rectify the AC power. After the AC power is rectified into DC power, the DC power is input into the LLC section 22 to be inverted into AC power and stepped down. When the lithium iron phosphate battery is discharged, the high-voltage DC power output by the LLC section 22 is boosted and passed through the first H-bridge 213. The control unit 1 controls the first H-bridge 213 to invert the high-voltage DC power into square wave AC power. Then, the square wave AC power is smoothed into sinusoidal AC power by the first filter module 211 and the energy storage module 212 and fed back to the grid to reduce the interference of harmonics on the grid.

[0043] It should be noted that, as Figure 3 As shown, the first filter module 211 includes a capacitor C, the energy storage module 212 includes inductors L1 and L2, and the first H-bridge 213 includes NMOS transistors Q1-Q4. The capacitor C, inductors L1 and L2 each have a terminal 1 and a terminal 2. The NMOS transistors Q1-Q4 each have a gate G, a source S, and a drain D. Terminals 1 and 2 of the capacitor C are electrically connected to an AC power supply and are also electrically connected to terminal 1 of inductors L1 and L2. Inductor L1 is electrically connected to the source S of NMOS transistor Q1 and the drain D of NMOS transistor Q2. Terminal 2 of inductor L2 is electrically connected to the source (S) of NMOS transistor Q3 and the drain (D) of NMOS transistor Q4, respectively. The gates (G) of NMOS transistors Q1-Q4 are electrically connected to the control unit, the drains (D) of NMOS transistors Q1 and Q3 are electrically connected and also electrically connected to LLC section 22, the sources (S) of NMOS transistors Q2 and Q4 are electrically connected and also electrically connected to LLC section 22, the source (S) of NMOS transistor Q1 is electrically connected to the drain (D) of NMOS transistor Q2, and the source (S) of NMOS transistor Q3 is electrically connected to the drain (D) of NMOS transistor Q4.

[0044] During charging, capacitor C decouples the AC power and filters out high-frequency noise, inductors L1 and L2 smooth the AC power waveform and eliminate ripple, NMOS transistors Q1-Q4 form an H-bridge, and control unit 1 controls NMOS transistors Q1 and Q4, and NMOS transistors Q2 and Q3 to conduct alternately to rectify the AC power into DC power. During discharge, control unit 1 controls NMOS transistors Q1 and Q4, and NMOS transistors Q2 and Q3 to alternately conduct, inverting the high-voltage DC power into square-wave AC power. This square-wave AC power is then smoothed into a sinusoidal AC power by capacitor C, inductor L1, and inductor L2 to feed back to the power grid, reducing harmonic interference. Capacitor C, inductor L1, and inductor L2 act as filters to shape the square-wave AC power, converting it into a sinusoidal wave for feedback to the power grid. However, because the square-wave AC power generates a large number of high-frequency components during transmission, it results in additional energy loss and electromagnetic interference, affecting the stability of the power grid feedback.

[0045] Specifically, such as Figure 3 As shown, LLC section 22 includes a second filter module 221, a transformation H-bridge 222 and a transformer module 223. The second filter module 221 is electrically connected to terminal 2 of the first H-bridge section 21 and the transformation H-bridge 222, respectively. The transformation H-bridge 222 is electrically connected to the transformer module 223 and the control unit 1, respectively. The transformer module 223 is electrically connected to terminal 1 of the second H-bridge section 23. When charging the lithium iron phosphate battery, the AC power from the grid is rectified and filtered into DC power by the first H-bridge section 21, and then noise is eliminated by the second filter module 221. The control unit 1 controls the conversion H-bridge 222 to invert the DC power into AC power and uses the transformer module 223 to step down the voltage. The stepped-down AC power is rectified into DC power by the second H-bridge section 23 to charge the lithium iron phosphate battery 3. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section 23, and then enters the transformer module 223 for voltage boosting. The control unit 1 controls the H-bridge 222 to rectify into high-voltage DC power, which is then phase-adjusted by the second filter module 221. Finally, the high-voltage DC power is inverted and fed back to the grid by the first H-bridge section 21.

[0046] It should be noted that, as Figure 3 As shown, the second filter module 221 includes a capacitor C1, and the H-bridge 222 includes NMOS transistors Q5-Q8. The capacitor C1 has a terminal 1 and a terminal 2. The NMOS transistors Q5-Q8 each have a gate G, a source S, and a drain D. Terminals 1 and 2 of the capacitor C1 are electrically connected to the first H-bridge section 21, the drain D of NMOS transistor Q5, and the source S of NMOS transistor Q6, respectively. The gate G of NMOS transistors Q5-Q8 is electrically connected to the control unit 1. The drain D of NMOS transistors Q5 and Q7 is electrically connected. The source S of NMOS transistors Q6 and Q8 is electrically connected and also electrically connected to the first H-bridge section 21. The source S of NMOS transistor Q5 is electrically connected to the drain D of NMOS transistor Q6 and the transformer module 223, respectively. The source S of NMOS transistor Q7 is electrically connected to the drain D of NMOS transistor Q8 and the transformer module 223, respectively. When charging the lithium iron phosphate battery, the AC power from the grid is rectified and filtered into DC power by the first H-bridge section 21, and then noise is eliminated by capacitor C1. The control unit 1 controls NMOS transistors Q5 and Q8, and NMOS transistors Q6 and Q7 to conduct alternately to invert the DC power into AC power and use transformer module 223 to step down the voltage. The stepped-down AC power is rectified into DC power by the second H-bridge section 23 and then used to charge the lithium iron phosphate battery 3. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H bridge section 23 and then enters the transformer module 223 for voltage boosting. The control unit 1 controls NMOS transistors Q5 and Q8, and NMOS transistors Q6 and Q7 to conduct alternately to rectify into high-voltage DC power. The phase is adjusted by capacitor C1, and the high-voltage DC power is finally inverted and fed back to the grid by the first H bridge section 21.

[0047] Specifically, such as Figure 3 As shown, the transformer module 223 includes a resonant cavity 2231, a transformer Tr2232 and a third filter module 2233. The resonant cavity 2231 is electrically connected to the H-bridge 222 and the transformer Tr2232 respectively. The transformer Tr2232 is electrically connected to the third filter module 2233 and the second H-bridge 23 respectively. When charging the lithium iron phosphate battery, the control unit 1 controls the H-bridge 222 to invert the DC power into AC power. The resonant current is generated through the resonant cavity 2231, and the circuit operates at the resonant frequency. This improves the efficiency of the transformer module 223 in stepping down the voltage. The stepped-down AC power is filtered by the third filter module 2233 and then rectified into DC power by the second H-bridge 23 to charge the lithium iron phosphate battery 3. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section 23, and then enters the third filter module 2233 to filter out noise. The transformer module 223 boosts the AC power, and the boosted AC power then passes through the resonant cavity 2231 to eliminate the harmonics of the AC power, and then enters the conversion H-bridge 222 for inversion.

[0048] It should be noted that, as Figure 3As shown, the resonant cavity 2231 includes a capacitor Cr1 and an inductor Lr, the third filter module 2233 includes a capacitor Cr2, the transformer Tr 2232 has terminals 1-4, and the capacitors Cr1, Lr, and Cr2 have terminals 1 and 2 respectively. Terminal 1 of capacitor Cr1 is electrically connected to the H-bridge 222, terminal 2 of capacitor Cr1 is electrically connected to terminal 1 of inductor Lr, terminal 2 of inductor Lr is electrically connected to terminal 1 of transformer Tr 2232, terminal 2 of transformer Tr 2232 is electrically connected to the H-bridge 222, terminal 3 of transformer Tr 2232 is electrically connected to terminal 2 of capacitor Cr2, terminal 4 of transformer Tr 2232 is electrically connected to the second H-bridge section 23, and terminal 2 of capacitor Cr2 is electrically connected to the second H-bridge section 23.

[0049] It should be noted that when the AC current passes through the capacitor Cr1 and inductor Lr of the resonant cavity 2231, the resonant cavity 2231 can output the fundamental frequency AC current as a sine wave to the transformer Tr 2232 in order to balance the magnetic flux of the transformer Tr 2232 and prevent the transformer Tr 2232 from saturating. During charging, the control unit 1 controls the H-bridge 222 to invert DC power into AC power. Resonance is generated through the action of capacitor Cr1 and inductor Lr, and the circuit operates at the resonant frequency. This improves the efficiency of transformer Tr 2232 in stepping down the voltage. The number of turns at terminals 1 and 2 of transformer Tr 2232 is greater than the number of turns at terminals 3 and 4. Transformer Tr 2232 acts as a step-down transformer during charging. The stepped-down AC power is filtered by capacitor Cr2 and then rectified into DC power by the second H-bridge section 23 to charge the lithium iron phosphate battery 3. During discharge, the DC power output from the lithium iron phosphate battery is inverted into AC power by the second H-bridge section 23. Noise is filtered out by capacitor Cr2. The number of turns at terminals 1 and 2 of transformer Tr 2232 is greater than the number of turns at terminals 3 and 4. At this time, transformer Tr 2232 is a step-up transformer. Transformer Tr 2232 steps up the AC power. The stepped-up AC power is then converted into AC power by inductor Lr and capacitor Cr1 to eliminate AC harmonics before entering the H-bridge 222 for inversion.

[0050] Specifically, such as Figure 3 As shown, the second H-bridge section 23 includes a second H-bridge 231, a fourth filter module 232, and a protection module 233. The second H-bridge 231 is electrically connected to the LLC section 22, the fourth filter module 232, the protection module 233, and the control unit 1, respectively. The fourth filter module 232 is electrically connected to the lithium iron phosphate battery 3 and the protection module 233, respectively. The protection module 233 is electrically connected to the second H-bridge 231 and the fourth filter module 232, respectively. When charging the lithium iron phosphate battery, the LLC section 22 outputs stepped-down AC power. The stepped-down AC power is rectified into DC power by the second H bridge 231 and then filtered by the fourth filter module 232 to charge the lithium iron phosphate battery 3. The protection module 233 performs current limiting to prevent the output DC power from being too large and damaging the lithium iron phosphate battery 3. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is noise-reduced by the fourth filter module 232, and then the DC power is inverted into AC power by the second H bridge 231. After entering the LLC section 22, it is boosted into high-voltage DC power and phase-adjusted. The protection module 233 prevents the DC power from damaging the second H bridge 231.

[0051] It should be noted that, as Figure 3 As shown, the second H-bridge 23 includes NMOS transistors Q9-Q12, the fourth filter module 232 includes capacitor C2, and the protection module 233 includes resistor R0. NMOS transistors Q9-Q12 each have a gate G, a source S, and a drain D. Capacitor C2 and resistor R0 each have terminals 1 and 2, respectively. The gates G of NMOS transistors Q9-Q12 are electrically connected to control unit 1, and the drains D of NMOS transistors Q9 and Q11 are electrically connected. The drain D of NMOS transistor Q11 is connected to terminal 1 of capacitor C2 and the lithium iron phosphate battery 3, respectively. Electrical connections are made as follows: the source terminals (S) of NMOS transistors Q10 and Q12 are electrically connected, and the source terminal (S) of NMOS transistor Q12 is electrically connected to terminal 1 of resistor R0; the source terminal (S) of NMOS transistor Q9 is electrically connected to the drain terminal (D) of NMOS transistor Q10 and transformer module 223 respectively; the source terminal (S) of NMOS transistor Q11 is electrically connected to the drain terminal (D) of NMOS transistor Q12 and transformer module 223 respectively; terminal 2 of capacitor C2 is electrically connected to terminal 2 of resistor R0 and lithium iron phosphate battery 3 respectively; and terminal 0 of resistor R0 is electrically connected to lithium iron phosphate battery 3. When charging the lithium iron phosphate battery, the LLC section 22 outputs stepped-down AC power, and the control unit 1 controls NMOS transistors Q9 and Q12, and NMOS transistors Q10 and Q11 to conduct alternately to rectify the AC power into DC power. The DC power is filtered by capacitor C2 and finally charges the lithium iron phosphate battery. Resistor R0 limits the current to prevent the output DC power from being too large and damaging the lithium iron phosphate battery. When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery passes through capacitor C2 to eliminate noise. The control unit 1 controls NMOS transistors Q9 and Q12, and NMOS transistors Q10 and Q11 to conduct alternately to invert the DC power into AC power. After that, it enters LLC section 22 to boost the voltage to a high voltage DC power and perform phase adjustment. Resistor R0 prevents the DC power from damaging NMOS transistors Q9-Q1.

[0052] In summary, as Figure 3As shown, during charging, AC power from the mains is input to the charger. The AC power is decoupled and filtered to remove high-frequency noise by capacitor C. Inductors L1 and L2 smooth the AC waveform and eliminate ripple. When the AC power passes through NMOS transistors Q1-Q4, control unit 1 controls NMOS transistors Q1 and Q3, and NMOS transistors Q2 and Q4 to alternately conduct, thereby rectifying the AC power into DC power. After being filtered by capacitor C1, the DC power is converted back into AC power by the alternating conduction of NMOS transistors Q5 and Q8, and NMOS transistors Q6 and Q7. This AC power then enters transformer Tr 2232 for voltage reduction. The resonant cavity 2231 outputs the fundamental frequency AC power as a sine wave to transformer Tr 2232, balancing the magnetic flux of transformer Tr 2232. The stepped-down AC power is converted into DC power by the alternating conduction of NMOS transistors Q9 and Q12, and NMOS transistors Q10 and Q11 to charge the lithium iron phosphate battery 3. The noise in the DC power is filtered out by resistor C2 to prevent damage to the lithium iron phosphate battery 3. During discharge, the DC power from the lithium iron phosphate battery 3 is filtered by capacitor C2. The control unit 1 controls the alternating conduction of NMOS transistors Q9 and Q12, and NMOS transistors Q10 and Q11 to convert it into square wave AC power. After the AC power is boosted by transformer Tr 2232, the control unit 1 controls the alternating conduction of NMOS transistors Q5 and Q8, and NMOS transistors Q6 and Q7 to synchronously rectify it into high-voltage DC power. Finally, the control unit 1 controls the alternating conduction of NMOS transistors Q1 and Q4, and NMOS transistors Q2 and Q3 to convert it into square wave DC power. Through the filtering effect of capacitor C and inductors L1 and L2, the square wave is shaped into a sine wave and fed back to the grid. In this way, the discharge is completed.

[0053] The above are merely embodiments of the present invention and are not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A method for plotting the charging curve of a lithium iron phosphate battery, characterized in that, comprising the following steps: S1, electrically connecting a charger to a lithium iron phosphate battery by using a host computer; S2, a primary charging phase: the host computer controls the charger to output a current I1 to perform constant-current charging on the lithium iron phosphate battery, the host computer detects that the output voltage of the charger when the output current is I1 is U1, the host computer detects that the current of the lithium iron phosphate battery during the charging process is I2, and when I2 is less than i, the host computer determines that the lithium iron phosphate battery is in a fully charged state, and controls the charger to stop charging; where i is the current threshold of the lithium iron phosphate battery during the charging phase; S3, a primary discharging phase: the host computer controls the charger, so that the charger discharges the fully charged lithium iron phosphate battery in step S1 at the current I1 and feeds back the power to the power grid, the host computer detects that when the discharge current I1 of the lithium iron phosphate battery is equal to 0, the discharge duration of the lithium iron phosphate battery is t1, the lithium iron phosphate battery completes discharging, the capacity Q1 of the lithium iron phosphate battery is calculated, and Q1=I1t1; S4, a secondary charging phase: the host computer controls the charger to perform constant-current charging again on the lithium iron phosphate battery obtained in step S3 at the current I1, the host computer detects that when I2 is less than i, the charging duration of the lithium iron phosphate battery is t2, determines that the lithium iron phosphate battery is fully charged, calculates the capacity Q2 of the lithium iron phosphate battery, and Q2=I1t2; S5, the host computer calculates the average value Q of Q1 and Q2, that is, Q=(Q1+Q2) / 2=(I1t1+I1t2) / 2, where Q is the capacity of the lithium iron phosphate battery; S6, a secondary discharging phase: the host computer controls the charger to discharge the lithium iron phosphate battery obtained in step S4 again at I1 and feed back the power to the power grid, and the host computer detects that when the discharge current I1 of the lithium iron phosphate battery is equal to 0, it indicates that the electric quantity of the lithium iron phosphate battery is completely discharged; S7. The host computer controls the charger to perform constant current pre-charging on the lithium iron phosphate battery from step S6. The current during the constant current pre-charging stage is I1, and the initial voltage of the lithium iron phosphate battery at the moment of entering the constant current pre-charging stage is U1. When the host computer detects that the voltage of the lithium iron phosphate battery rises from U1 to U2, the host computer controls the charger to switch the charging of the lithium iron phosphate battery from the constant current pre-charging stage to the constant current main charging stage. The current during the constant current main charging stage is I, where I=C. Q and C are the charging rates of the lithium iron phosphate battery, and U2 is the trickle charging voltage threshold of the lithium iron phosphate battery. S8, when the lithium iron phosphate battery is in the constant-current main charging phase, the host computer detects the voltage change of the lithium iron phosphate battery, when the host computer detects that the voltage of the lithium iron phosphate battery gradually rises from U2 and remains constant after reaching U3 at time t3, the host computer controls the charger to make the charging of the lithium iron phosphate battery enter a constant-voltage charging phase, the host computer controls the output current of the charger to gradually decrease from I to 0, and the constant-voltage charging phase of the lithium iron phosphate battery ends; S9, drawing a current curve according to the capacity Q of the lithium iron phosphate battery calculated in step S5, the current I1, voltage U1 and U2 of the constant-current pre-charging phase determined in step S7, the t3 detected in step S8, and the current change during the process in which the output current of the charger decreases from I to 0; and drawing a voltage curve according to the capacity Q of the lithium iron phosphate battery calculated in step S5, the voltages U1 and U2 in step S7, the voltage U3 in step S8, and the time t3.

2. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 1, characterized in that, In steps S3 and S6, the manner for the lithium iron phosphate battery to discharge and feed power back to the power grid is: feeding the electric energy of the lithium iron phosphate battery back to the power grid in an inversion manner.

3. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 1, characterized in that, In step S9, the drawing of the current curve comprises: calculating the time Tpre required for the voltage to rise from U1 to U2, where Tpre=Q(U2-U1) / I1; Based on the current I1 and Tpre of the constant current precharge stage determined in step S7, plot the current curve of the lithium iron phosphate battery during the constant current precharge stage. Based on the current I determined in step S7 during the constant current main charging stage and the time t3 detected in step S8, the current curve of the lithium iron phosphate battery during the constant current main charging stage is plotted. Plot the current curve for the constant voltage charging stage based on the current change during the process of the charger's output current decreasing from I to 0 in step S8.

4. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 3, characterized in that, Step S9, which involves plotting the voltage curve, includes: Based on the voltage change of the lithium iron phosphate battery during the process of voltage rise from U1 to U2 detected in step S7 and Tpre, the voltage curve of the lithium iron phosphate battery in the constant current pre-charge stage is plotted. Based on the voltage change process of the lithium iron phosphate battery from U2 to U3 at time t3 in step S8, the voltage curve of the lithium iron phosphate battery during the constant current main charging stage is plotted. Plot the voltage curve of the lithium iron phosphate battery during the constant voltage charging stage based on the voltage U3 in step S8.

5. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 1, characterized in that, The charger includes a control unit (1) and a charging unit (2). The control unit (1) is electrically connected to the host computer. The charging unit (2) is electrically connected to the control unit (1). When the lithium iron phosphate battery is being charged, the charging unit (2) is connected to the power grid and the lithium iron phosphate battery. The host computer controls the control unit (1) of the charger. The control unit (1) controls the AC current from the power grid to flow into the charging unit (2). The charging unit (2) rectifies the AC current from the power grid into DC current. The DC current flows into the lithium iron phosphate battery to charge it. When the lithium iron phosphate battery is being discharged, the charging unit is connected to the power grid and the lithium iron phosphate battery. The current from the lithium iron phosphate battery flows into the charging unit (2). The host computer controls the control unit (1). The control unit (1) controls the charging unit (2) to invert the DC current into AC current. The AC current is fed back to the power grid.

6. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 5, characterized in that, The charging unit (2) includes a first H-bridge section (21), an LLC section (22) and a second H-bridge section (23). The first H-bridge section (21), the LLC section (22) and the second H-bridge section (23) have a terminal 1, a terminal 2 and a terminal 3 respectively. The terminal 1 of the first H-bridge section (21) is electrically connected to the power grid. The terminal 2 of the first H-bridge section (21) is electrically connected to the terminal 1 of the LLC section (22). The terminal 2 of the LLC section (22) is electrically connected to the terminal 1 of the second H-bridge section (23). The terminal 2 of the second H-bridge section (23) is electrically connected to the lithium iron phosphate battery (3). The terminals 3 of the first H-bridge section (21), the LLC section (22) and the second H-bridge section (23) are electrically connected to the control unit (1) respectively. When charging the lithium iron phosphate battery, the control unit (1) controls the first H-bridge section (21), LLC section (22) and the second H-bridge section (23) to work. The AC power from the grid is rectified and filtered by the first H-bridge section (21) to become DC power, and then inverted by the LLC section (22) to become AC power and stepped down. The stepped-down AC power is rectified by the second H-bridge section (23) to become DC power and then used to charge the lithium iron phosphate battery (3). When discharging the lithium iron phosphate battery, the control unit (1) controls the first H-bridge section (21), LLC section (22) and the second H-bridge section (23) to work. The DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section (23), enters the LLC section (22) to be boosted into high voltage DC power for phase adjustment, and finally is inverted and fed back to the grid by the first H-bridge section (21).

7. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 6, characterized in that, The first H-bridge section (21) includes a first filter module (211), an energy storage module (212) and a first H-bridge (213). The first filter module (211) is electrically connected to the power grid and the energy storage module (212) respectively. The energy storage module (212) is electrically connected to the first H-bridge (213). The first H-bridge (213) is electrically connected to terminal 1 of the LLC section (22) and the control unit (1) respectively. When charging the lithium iron phosphate battery, the AC power is filtered and noise is eliminated by the first filter module (211) and the energy storage module (212). The control unit (1) controls the first H bridge (213) to rectify the AC power. After the AC power is rectified into DC power, the DC power is input into the LLC section (22) to be inverted into AC power and stepped down. When the lithium iron phosphate battery is discharged, the high-voltage DC power output by the LLC section (22) is boosted and output through the first H bridge (213). The control unit (1) controls the first H bridge (213) to invert the high-voltage DC power into square wave AC power. Then, the square wave AC power is smoothed into sine wave AC power by the first filter module (211) and the energy storage module (212) to be fed back to the power grid, so as to reduce the interference of harmonics on the power grid.

8. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 6, characterized in that, The LLC section (22) includes a second filter module (221), a transformation H-bridge (222), and a transformer module (223). The second filter module (221) is electrically connected to terminal 2 of the first H-bridge section (21) and the transformation H-bridge (222). The transformation H-bridge (222) is electrically connected to the transformer module (223) and the control unit (1). The transformer module (223) is electrically connected to terminal 1 of the second H-bridge section (23). When charging the lithium iron phosphate battery, the AC power from the grid is rectified and filtered by the first H-bridge section (21) to become DC power, and then the noise is eliminated by the second filter module (221). The control unit (1) controls the conversion H-bridge (222) to invert the DC power into AC power and use the transformer module (223) to step down the voltage. After stepping down the AC power, it is rectified into DC power by the second H-bridge section (23) and then used to charge the lithium iron phosphate battery (3). When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section (23) and then enters the transformer module (223) for voltage boosting. The control unit (1) controls the conversion H-bridge (222) to rectify into high voltage DC power. The phase is adjusted by the second filter module (221). Finally, the high voltage DC power is inverted and fed back to the grid by the first H-bridge section (21).

9. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 8, characterized in that, The transformer module (223) includes a resonant cavity (2231), a transformer Tr (2232), and a third filter module (2233). The resonant cavity (2231) is electrically connected to the H-bridge (222) and the transformer Tr (2232), respectively. The transformer Tr (2232) is electrically connected to the third filter module (2233) and the second H-bridge (23), respectively. When charging the lithium iron phosphate battery, the control unit (1) controls the H-bridge (222) to invert the DC power into AC power, and generates a resonant current through the resonant cavity (2231). The circuit then operates at the resonant frequency, thereby improving the efficiency of the transformer module (223) in stepping down the voltage. After stepping down, the AC power is filtered by the third filter module (2233) and then rectified into DC power by the second H-bridge (23) to charge the lithium iron phosphate battery (3). When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is inverted into AC power by the second H-bridge section (23), and then enters the third filter module (2233) to filter out noise. The transformer module (223) boosts the AC power, and the boosted AC power passes through the resonant cavity (2231) to eliminate the harmonics of the AC power, and then enters the conversion H-bridge (222) for inversion.

10. The method for plotting the charging curve of a lithium iron phosphate battery according to claim 6, characterized in that, The second H-bridge section (23) includes a second H-bridge (231), a fourth filter module (232), and a protection module (233). The second H-bridge (231) is electrically connected to the LLC section (22), the fourth filter module (232), the protection module (233), and the control unit (1), respectively. The fourth filter module (232) is electrically connected to the lithium iron phosphate battery (3) and the protection module (233), respectively. The protection module (233) is electrically connected to the second H-bridge (231) and the fourth filter module (232), respectively. When charging the lithium iron phosphate battery, the LLC section (22) outputs a stepped-down AC power. The stepped-down AC power is rectified into DC power by the second H bridge (231) and then charged by the fourth filter module (232). The protection module (233) performs current limiting to prevent the output DC power from being too large and causing damage to the lithium iron phosphate battery (3). When the lithium iron phosphate battery is discharged, the DC power output by the lithium iron phosphate battery is noise-reduced by the fourth filter module (232), and the DC power is inverted into AC power by the second H bridge (231) and then enters the LLC section (22) for boosting to high voltage DC power and phase adjustment. The protection module (233) prevents the DC power from damaging the second H bridge (231).

Citation Information

Patent Citations

  • Intelligent charging system of lead acid batteries and charging method

    CN102157975A

  • Intelligent charging control method

    CN109787309A