Method and device for displaying remaining power of lithium battery for bicycle

By analyzing the data differences and trends during the lithium battery discharge process and combining it with dynamic Kalman filter gain adjustment, the noise interference problem in lithium battery power estimation is solved, and more accurate power measurement and display is achieved.

CN120370176BActive Publication Date: 2025-09-30HUIZHOU KEDIFEI AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510858578.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-25
Publication Date
2025-09-30
Estimated Expiration
2045-06-25

AI Technical Summary

Technical Problem

In the existing technology, the remaining power estimation method of lithium batteries causes inaccurate current measurement due to noise interference, and the traditional Kalman filter algorithm has incomplete filtering effect during different discharge periods, which affects the accuracy of the remaining power measurement of bicycle lithium batteries.

Method used

By acquiring the discharge loss data and current data of the lithium battery in real time during discharge, analyzing the data differences and trends, dynamically adjusting the gain in combination with the Kalman filter algorithm, and using the ampere-hour integration method to calculate the remaining power of the lithium battery, the current data is corrected to improve accuracy.

Benefits of technology

The accuracy of measuring the remaining power of the lithium battery is improved, the measurement error is reduced, and the reliability of the bicycle power information and the riding safety are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120370176B_ABST
    Figure CN120370176B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of lithium battery remaining capacity measurement, and specifically to a method and device for displaying the remaining capacity of a lithium battery for a bicycle. The method comprises: determining the discharge disorder by analyzing the difference between all discharge loss data and the corresponding fitting results; determining the discharge influence of the bicycle lithium battery at the current moment by analyzing the extreme distribution differences of all current data within the preset time period and combining the discharge disorder; determining the current disturbance of the bicycle lithium battery at the current moment by analyzing the changing trend of all current data within the preset time period and combining the discharge influence; and correcting the current data within the preset time period to determine the remaining capacity of the bicycle lithium battery at the current moment. The present application improves the accuracy of measuring the remaining capacity of a bicycle lithium battery by dynamically adjusting the Kalman filter gain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of lithium battery remaining power measurement, and in particular to a method and device for displaying the remaining power of a lithium battery for a bicycle. Background Art

[0002] A bicycle is a primarily human-powered vehicle, using pedaling to drive a chain and gear system, turning the wheels and enabling mobility. Simultaneously, with technological advancements, bicycles are becoming increasingly versatile, including app-based control for remote locking and unlocking, as well as real-time monitoring of vehicle status and location. Speed ​​can also be monitored during riding, allowing users to adjust their speed. Using smart features requires a lithium battery, and the remaining charge in the battery determines the usability of each function. Therefore, estimating the remaining charge in the battery is crucial.

[0003] The remaining capacity of a lithium battery is generally estimated by using the ampere-hour integration method using the current during lithium battery discharge. However, the discharge current will be interfered by noise, resulting in inaccurate current measurement. The traditional method is generally to process the current data through Kalman filtering. However, since the anti-interference ability of lithium batteries varies in different discharge periods, the use of a Kalman filtering algorithm with a fixed Kalman gain may result in incomplete filtering effect, reducing the accuracy of measuring the remaining capacity of a bicycle lithium battery. Summary of the Invention

[0004] In order to solve the above technical problems, the purpose of this application is to provide a method and device for displaying the remaining power of a lithium battery for a bicycle. The technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for displaying the remaining power of a lithium battery for a bicycle, the method comprising the following steps:

[0006] Real-time acquisition of discharge loss data and current data during the discharge process of bicycle lithium batteries;

[0007] Fit all discharge loss data within a preset time period before the current moment, and determine the discharge disorder degree of the bicycle lithium battery at the current moment by analyzing the differences between all discharge loss data and the corresponding fitting results;

[0008] By analyzing the extreme distribution differences of all current data within the preset time period, the current difference of the bicycle lithium battery at the current moment is determined, and combined with the discharge disorder degree, the discharge impact of the bicycle lithium battery at the current moment is determined;

[0009] By analyzing the change trend of all current data within the preset time period, the current change degree of the bicycle lithium battery at the current moment is determined, and combined with the discharge influence degree, the current disturbance degree of the bicycle lithium battery at the current moment is determined;

[0010] Based on the current disturbance degree, the current data within the preset time period is corrected to determine the remaining power of the bicycle lithium battery at the current moment.

[0011] Preferably, the process of acquiring the discharge loss data and current data is:

[0012] Two resistors are connected in series on the discharge path of the bicycle lithium battery, which are respectively denoted as the first resistor and the second resistor. The first resistor is located between the bicycle lithium battery and the second resistor. Current data flowing through the first resistor and the current data flowing through the second resistor are synchronously acquired in real time. The difference between the current data flowing through the first resistor and the current data flowing through the second resistor at each moment is used as discharge loss data, and the current data flowing through the first resistor is used as the current data of the bicycle lithium battery.

[0013] Preferably, the discharge disorder degree of the bicycle lithium battery at the current moment is the result of averaging the differences between all discharge loss data and corresponding fitting results within a preset time period before the current moment.

[0014] Preferably, the current difference of the bicycle lithium battery at the current moment is a result of taking the extreme difference of all current data within a preset time period before the current moment.

[0015] Preferably, the discharge influence degree of the bicycle lithium battery at the current moment is the ratio of the discharge disorder degree to the current difference degree of the bicycle lithium battery at the current moment.

[0016] Preferably, the method for determining the current variation of the bicycle lithium battery at the current moment is:

[0017] The first-order derivative definition is used to calculate the slope of the current data at each moment within a preset time period before the current moment, and the total number of positive results in the slope of the current data at all moments is used as the current change degree of the bicycle lithium battery at the current moment.

[0018] Preferably, the expression of the current disturbance degree of the bicycle lithium battery at the current moment is: Where, Indicates the current disturbance degree of the bicycle lithium battery at the current moment; It indicates the discharge impact of the bicycle lithium battery at the current moment; KM indicates the current change of the bicycle lithium battery at the current moment.

[0019] Preferably, the correcting of the current data within the preset time period includes:

[0020] All current data within a preset time period before the current moment is used as the input of the Kalman filter algorithm, wherein the normalized value of the current disturbance of the bicycle lithium battery at the current moment is used as the Kalman filter gain, and the correction value of all current data within the preset time period before the current moment is output.

[0021] Preferably, the determining of the remaining power of the bicycle lithium battery at the current moment includes:

[0022] The correction value of all current data within a preset time period before the current moment is used as the input of the ampere-hour integration method, and the state of charge of the bicycle lithium battery at the current moment is output. The state of charge is converted into a percentage format to obtain the remaining power of the bicycle lithium battery at the current moment.

[0023] In a second aspect, an embodiment of the present application also provides a lithium battery remaining power display device for a bicycle, comprising a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of any one of the above-mentioned methods for displaying the remaining power of a lithium battery for a bicycle are implemented.

[0024] This application has at least the following beneficial effects:

[0025] The present application constructs a discharge influence degree by analyzing the differences between all discharge loss data and the corresponding fitting results, as well as the extreme distribution differences of all current data. This can accurately correct the current data and effectively reduce measurement errors. Compared with traditional methods, it can more accurately reflect the actual remaining capacity of the lithium battery, provide users with reliable power information, and avoid riding difficulties caused by misjudgment of power. Furthermore, the present application determines the current variation of the bicycle lithium battery at the current moment by analyzing the change trend of all current data within the preset time period, and determines the current disturbance of the bicycle lithium battery in combination with the discharge influence degree. The current disturbance is a comprehensive indicator that takes into account the complexity of current variation and the degree of current disturbance. The Kalman filter gain is dynamically adjusted based on the current disturbance, which can specifically filter out current noise during the high interference period in the late discharge period, thereby improving the accuracy of the remaining capacity measurement of the bicycle lithium battery. Furthermore, the calibrated current data is calculated using the ampere-hour integration method to update the state of charge (SOC) of the bicycle lithium battery in real time, effectively reducing power measurement errors and improving the accuracy of the remaining capacity measurement of the bicycle lithium battery. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0027] Figure 1 A flowchart of a method for displaying the remaining power of a lithium battery in a bicycle according to an embodiment of the present application;

[0028] Figure 2 A schematic diagram of a current disturbance degree extraction process provided in one embodiment of the present application. DETAILED DESCRIPTION

[0029] To further illustrate the technical means and effectiveness of this application to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, describes in detail the specific implementation, structure, features, and effectiveness of the lithium battery remaining charge display method and device for bicycles proposed in this application. In the following description, different references to "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.

[0030] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0031] The specific scheme of the method and device for displaying the remaining power of a lithium battery for a bicycle provided by the present application is described in detail below with reference to the accompanying drawings.

[0032] See also Figure 1 , which shows a flowchart of a method for displaying the remaining power of a lithium battery for a bicycle provided by an embodiment of the present application, the method comprising the following steps:

[0033] Step S1: obtaining discharge loss data and current data of a bicycle lithium battery in a discharge process in real time.

[0034] Two resistors are connected in series on the discharge path of the bicycle's lithium battery, respectively denoted as the first resistor and the second resistor. The first resistor is placed closer to the bicycle's lithium battery than the second resistor, that is, the first resistor is located between the bicycle's lithium battery and the second resistor. In order to reduce the loss of electrical energy caused by the resistor, the resistance value of the resistor is usually very small. Therefore, an amplifier is used to amplify the voltage collected by the resistor, and the amplified voltage signal is input to the analog-to-digital converter (ADC) protection module of the microcontroller unit (MCU) to obtain the voltage value. The current data flowing through the first resistor and the second resistor during the discharge process of the bicycle's lithium battery are calculated based on Ohm's formula. The data acquisition frequency is set to f, and the current values ​​flowing through the two resistors are collected respectively, and the correct part is supplemented by interpolation.

[0035] It should be noted that the value of the data acquisition frequency f is set manually. In this embodiment, the value of the data acquisition frequency f is 10 Hz. In actual application, as other implementation methods, the implementer can also set it by himself according to the specific situation. This embodiment does not impose any special restrictions.

[0036] It should be noted that there are many commonly used interpolation methods. In this embodiment, the mean interpolation method is used to fill in the missing data. In actual application, as other implementation methods, the implementer may also use other difference methods such as regression interpolation method based on the specific situation. This embodiment does not impose any special restrictions.

[0037] Among them, the mean interpolation method is a well-known technology, and its specific principle will not be described in detail.

[0038] Furthermore, since it uses a series circuit and the current propagation speed in the circuit is the speed of light, the current propagation interval through the two resistors can be ignored. Without considering the line loss, the current through the two resistors should be the same. However, in actual use, the current passing through the first resistor will generate power loss in the circuit, making the current of the second resistor smaller than the current of the first resistor. Therefore, the current data of the first resistor at each moment within a preset time period before the current moment is subtracted from the current data of the second resistor at the corresponding moment, and the subtraction result is recorded as the discharge loss data at each moment. When measuring the remaining power of the bicycle lithium battery, since the first resistor is closer to the lithium battery, the current loss of the first resistor in the circuit is the lowest. Therefore, the current data at the first resistor is generally used to measure the remaining power of the bicycle lithium battery. Thus, the current data of the first resistor is used as the current data of the bicycle lithium battery during the discharge process.

[0039] Step S2: Fitting all discharge loss data within a preset time period before the current moment, and determining the discharge disorder degree of the bicycle lithium battery at the current moment by analyzing the differences between all discharge loss data and the corresponding fitting results.

[0040] During the use of bicycle lithium batteries, the electric energy in the lithium battery is continuously reduced, which causes the voltage in the lithium battery to decrease, and thus the output current of the lithium battery is also continuously reduced. The loss in the circuit is mainly composed of heat energy loss, which is , where Q represents heat loss, I represents the current in the circuit, and r represents the resistance in the circuit. From the formula, we can see that the heat loss of the circuit is determined by the current in the circuit.

[0041] During the use of a bicycle lithium battery, as the current continues to decrease, the heat loss in the circuit also continues to decrease. As the current decreases, the heat loss decreases more slowly, and the loss in the circuit exhibits a concave shape with the current value. Therefore, as an implementation, in this embodiment, a polynomial curve fitting algorithm is used to fit all discharge loss data within a preset time period before the current moment to obtain a fitting curve. Since the discharge loss exhibits a concave shape with the current value, the order of the polynomial is set to 2, which is more suitable for concave data.

[0042] It should be noted that the value of the preset time length is set manually. In this embodiment, the value of the preset time length is 10s. In actual application, as other implementation methods, the implementer can also set it by himself based on the specific situation. This embodiment does not impose any special restrictions.

[0043] The polynomial curve fitting algorithm is a well-known technology, and the specific process of fitting the discharge loss is not described in detail.

[0044] Furthermore, the greater the difference between the fitting value on the fitting curve and the discharge loss data, the less accurate the measured current data is, and the more necessary it is to correct the current data output by the lithium battery in order to improve the estimation of the remaining power of the bicycle lithium battery.

[0045] Therefore, by analyzing the differences between all discharge loss data and the corresponding fitting results, the discharge disorder degree of the bicycle lithium battery at the current moment is determined, specifically:

[0046] As an implementation mode, in this embodiment, the average value of the difference between all discharge loss data within a preset time period before the current moment and the corresponding fitting value on the fitting curve is used as the discharge disorder degree of the bicycle lithium battery at the current moment.

[0047] It should be noted that there are many methods for measuring the difference between data. In this embodiment, the absolute value of the difference between all discharge loss data within a preset time period before the current moment and the corresponding fitting value on the fitting curve is taken as the difference between all discharge loss data within a preset time period before the current moment and the corresponding fitting value on the fitting curve. In actual application, as other implementation methods, the implementer can also set it by himself according to the specific situation, and this embodiment does not impose any special restrictions.

[0048] Based on the current discharge disorder of the bicycle's lithium-ion battery, it can be understood that the greater the difference between the discharge loss data and the corresponding fitted value on the fitted curve, the greater the likelihood that the current was disturbed during the bicycle's lithium-ion battery discharge process. This disturbance can be caused by various factors, such as capacitance effects in the circuit and electromagnetic interference. Due to this interference, the lithium-ion battery current value obtained through resistance measurement becomes inaccurate, leading to an increase in the discharge disorder. In this case, to improve the accuracy of the bicycle's lithium-ion battery remaining charge estimation, the current needs to be corrected to reduce measurement errors, thereby providing users with more reliable remaining charge information and ensuring the safety and reliability of the bicycle during driving.

[0049] Step S3: determining the current difference of the bicycle lithium battery at the current moment by analyzing the extreme distribution differences of all current data within the preset time period, and determining the discharge influence of the bicycle lithium battery at the current moment in combination with the discharge disorder degree.

[0050] At different discharge stages of a bicycle lithium battery, the degree of attenuation of the lithium battery's discharge voltage per unit time is different. Therefore, the current that can be released by the lithium battery in the same time is different, resulting in the same discharge disorder having different effects on the discharge of different lithium batteries at different stages. During the period when the lithium battery has sufficient remaining power, the discharge current of the lithium battery is larger, and during the period when the lithium battery has insufficient remaining power, the discharge current of the lithium battery is smaller. The same discharge disorder has a greater impact on the period when the lithium battery has insufficient remaining power. Therefore, this embodiment determines the current difference of the bicycle lithium battery at the current moment by analyzing the extreme distribution differences of all current data within the preset time length, and determines the discharge impact of the bicycle lithium battery at the current moment in combination with the discharge disorder, specifically:

[0051] As an implementation mode, in this embodiment, the range difference of all current data within a preset time period before the current moment is taken as the current difference of the bicycle lithium battery at the current moment;

[0052] Furthermore, the ratio of the discharge disorder degree to the current difference degree of the bicycle lithium battery at the current moment is used as the discharge influence degree of the bicycle lithium battery at the current moment.

[0053] According to the discharge influence of the bicycle lithium battery at the current moment, it can be understood that the greater the discharge influence of the bicycle lithium battery, the more disordered its discharge state is and the more intense the current fluctuation is. At this time, when the current drop amplitude of the bicycle lithium battery is fixed, that is, the current difference is fixed, the greater the value of its discharge disorder, the stronger the interference to the detection current value, the more complex the current change during the battery discharge process, and the greater the measurement error.

[0054] Step S4: determining the current variation of the bicycle lithium battery at the current moment by analyzing the variation trend of all current data within the preset time period, and determining the current disturbance degree of the bicycle lithium battery at the current moment in combination with the discharge influence degree.

[0055] During discharge, the current of a bicycle lithium battery decreases as the amount of discharge increases. In the early stages of discharge, the current decreases slowly, but in the later stages, the current decreases more rapidly. Therefore, in this embodiment, by analyzing the changing trends of all current data within the preset time period, the degree of current variation of the bicycle lithium battery at the current moment is determined. Combined with the discharge impact, the degree of current disturbance of the bicycle lithium battery at the current moment is determined, specifically:

[0056] As an implementation method, in this embodiment, the first-order derivative definition is used to calculate the slope of the current data at each moment within a preset time period before the current moment, and the total number of positive results in the slope of the current data at all moments is used as the current change degree of the bicycle lithium battery at the current moment.

[0057] The definition of the first-order derivative is a well-known technology, and the specific principle and process of calculating the slope using the first-order derivative definition will not be repeated here.

[0058] Furthermore, this embodiment determines the current disturbance degree of the bicycle lithium battery at the current moment based on the current variation degree of the bicycle lithium battery at the current moment and in combination with the discharge influence degree, specifically:

[0059] As an implementation method, in this embodiment, the current disturbance degree of the bicycle lithium battery at the current moment is The expression is: Where, Indicates the discharge impact of the bicycle lithium battery at the current moment; KM indicates the number of positive values ​​in the slope of all current data within a preset time period before the current moment.

[0060] Preferably, the current disturbance degree extraction process diagram provided in this embodiment is as follows: Figure 2 shown.

[0061] Based on the current disturbance level of the bicycle at this moment, it can be understood that the higher the current disturbance level of the bicycle's lithium battery, the more severe the disturbance during the discharge process. Under normal circumstances, due to the continuous discharge of the bicycle's lithium battery, its output current continuously decreases, resulting in a negative slope in the current data. When the slope becomes positive, it indicates that the current data is disturbed. The larger the value, the greater the disorder in the data, which also increases the degree of influence of the bicycle's lithium battery discharge. This disordered interference can distort the current value measured by the resistor, causing the current data slope to change dramatically and increasing the measurement error. Therefore, it is necessary to correct the current data to reduce the influence of interference, improve the accuracy of the remaining power enrichment, and ensure the safety and reliability of bicycle operation.

[0062] Step S5: Based on the current disturbance degree, the current data within the preset time period is corrected to determine the remaining power of the bicycle lithium battery at the current moment.

[0063] Based on the current disturbance degree obtained in step S4 above, the current data within a preset time period before the current moment is corrected to determine the remaining power of the bicycle lithium battery at the current moment, specifically:

[0064] In this embodiment, all current data within a preset time period before the current moment is used as the input of the Kalman filter algorithm, wherein the normalized value of the current disturbance degree of the bicycle lithium battery at the current moment is used as the Kalman filter gain, and the correction value of all current data within the preset time period before the current moment is output. The Kalman filter algorithm with dynamic Kalman gain can more effectively suppress noise, improve the accuracy and stability of current measurement, and thereby improve the reliability of the estimation of the remaining power of the lithium battery.

[0065] The Kalman filter algorithm is a well-known technology, and the specific process of correcting the current data will not be described in detail.

[0066] Furthermore, the correction value of all current data within a preset time period before the current moment is used as the input of the ampere-hour integration method, and the state of charge (SOC) of the bicycle lithium battery at the current moment is output. The SOC is converted into a percentage format to obtain the remaining power of the bicycle lithium battery at the current moment.

[0067] It should be noted that when the ampere-hour integration method is used for calculation, since the capacity of lithium batteries will decrease as the number of charging times increases during use, the initial capacity of the battery needs to be multiplied by the attenuation coefficient after each charge to update the initial capacity. The value of the attenuation coefficient is: .

[0068] The calculation steps of the ampere-hour integration method are well-known techniques, and the specific calculation process will not be repeated here.

[0069] The MCU transmits the calculated state of charge (SOC) of the bicycle's lithium-ion battery at the current moment to the remaining battery charge display via a GPIO (general-purpose input / output) pin or a dedicated communication interface, such as SPI or I²C. The display converts the SOC to a percentage format to display the remaining battery charge to the user.

[0070] Based on the same inventive concept as the above method, an embodiment of the present application also provides a lithium battery remaining power display device for a bicycle, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of any one of the above-mentioned methods for displaying the remaining power of a lithium battery for a bicycle are implemented.

[0071] It should be noted that the order in which the embodiments of the present application are presented is for illustrative purposes only and does not necessarily represent the superiority or inferiority of the embodiments. Furthermore, the foregoing descriptions of specific embodiments of this specification are provided. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential sequence shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0072] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.

[0073] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for displaying the remaining power of a lithium battery for a bicycle, characterized in that: The method comprises the following steps: Real-time acquisition of discharge loss data and current data during the discharge process of bicycle lithium batteries; Fit all discharge loss data within a preset time period before the current moment, and determine the discharge disorder degree of the bicycle lithium battery at the current moment by analyzing the differences between all discharge loss data and the corresponding fitting results; By analyzing the extreme distribution differences of all current data within the preset time period, the current difference of the bicycle lithium battery at the current moment is determined, and combined with the discharge disorder degree, the discharge impact of the bicycle lithium battery at the current moment is determined; By analyzing the change trend of all current data within the preset time period, the current change degree of the bicycle lithium battery at the current moment is determined, and combined with the discharge influence degree, the current disturbance degree of the bicycle lithium battery at the current moment is determined; Based on the current disturbance degree, the current data within the preset time period is corrected to determine the remaining power of the bicycle lithium battery at the current moment.

2. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The process of obtaining the discharge loss data and current data is as follows: Two resistors are connected in series on the discharge path of the bicycle lithium battery, which are respectively denoted as the first resistor and the second resistor. The first resistor is located between the bicycle lithium battery and the second resistor. Current data flowing through the first resistor and the current data flowing through the second resistor are synchronously acquired in real time. The difference between the current data flowing through the first resistor and the current data flowing through the second resistor at each moment is used as discharge loss data, and the current data flowing through the first resistor is used as the current data of the bicycle lithium battery.

3. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The discharge disorder degree of the bicycle lithium battery at the current moment is the result of averaging the differences between all discharge loss data within a preset time period before the current moment and the corresponding fitting results.

4. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The current difference of the bicycle lithium battery at the current moment is a result of taking the extreme difference of all current data within a preset time period before the current moment.

5. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The discharge influence degree of the bicycle lithium battery at the current moment is the ratio of the discharge disorder degree to the current difference degree of the bicycle lithium battery at the current moment.

6. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The method for determining the current variation of the bicycle lithium battery at the current moment is: The first-order derivative definition is used to calculate the slope of the current data at each moment within a preset time period before the current moment, and the total number of positive results in the slope of the current data at all moments is used as the current change degree of the bicycle lithium battery at the current moment.

7. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The expression of the current disturbance degree of the bicycle lithium battery at the current moment is: Where, Indicates the current disturbance degree of the bicycle lithium battery at the current moment; It indicates the discharge impact of the bicycle lithium battery at the current moment; KM indicates the current change of the bicycle lithium battery at the current moment.

8. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: The correcting the current data within the preset time period includes: All current data within a preset time period before the current moment is used as the input of the Kalman filter algorithm, wherein the normalized value of the current disturbance of the bicycle lithium battery at the current moment is used as the Kalman filter gain, and the correction value of all current data within the preset time period before the current moment is output.

9. The method for displaying the remaining power of a lithium battery for a bicycle according to claim 1, wherein: Determining the remaining power of the bicycle lithium battery at the current moment includes: The correction value of all current data within a preset time period before the current moment is used as the input of the ampere-hour integration method, and the state of charge of the bicycle lithium battery at the current moment is output. The state of charge is converted into a percentage format to obtain the remaining power of the bicycle lithium battery at the current moment.

10. A lithium battery remaining capacity display device for a bicycle, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method for displaying the remaining power of a lithium battery for a bicycle as described in any one of claims 1 to 9 are implemented.