CN115524621A - Electric quantity detection method and device for electric bicycle - Google Patents
Electric quantity detection method and device for electric bicycle Download PDFInfo
- Publication number
- CN115524621A CN115524621A CN202210901722.9A CN202210901722A CN115524621A CN 115524621 A CN115524621 A CN 115524621A CN 202210901722 A CN202210901722 A CN 202210901722A CN 115524621 A CN115524621 A CN 115524621A
- Authority
- CN
- China
- Prior art keywords
- time
- electric quantity
- target
- battery
- battery output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L58/00—Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
- B60L58/10—Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
- B60L58/12—Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to state of charge [SoC]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Sustainable Development (AREA)
- Sustainable Energy (AREA)
- Power Engineering (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides an electric quantity detection method and device of an electric bicycle, and the electric quantity detection method of the electric bicycle comprises the following steps: acquiring battery output power corresponding to a plurality of target moments from an initial moment to a current moment; determining accumulated consumed electric quantity based on battery output power corresponding to a plurality of target moments from an initial moment to a current moment; and sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment. According to the electric quantity detection method and device for the electric bicycle, the accumulated consumed electric quantity of the battery is determined according to the battery output powers at the target moments by obtaining the battery output powers at the target moments, the residual electric quantity of the electric bicycle is obtained by using the server, the electric quantity can be detected in a targeted manner aiming at the batteries with different initial electric quantities, the detection error of the residual electric quantity is reduced, and the accuracy is improved.
Description
Technical Field
The invention relates to the technical field of battery energy storage, in particular to a method and a device for detecting electric quantity of an electric bicycle.
Background
With the popularization of new energy technology, the application of electric bicycles is more and more common, and batteries play an important role as energy supply components of the electric bicycles. In view of cost, batteries of most electric vehicles adopt hard control batteries, that is, the battery management system is a hard control board without communication function. Whether the electric quantity of the electric bicycle is accurate or not only affects the operation and efficiency of an operator in actual operation and maintenance, but also seriously affects the experience of a user.
At present, the electric quantity detection method of the electric bicycle mainly calculates the residual electric quantity of the battery by detecting the voltage of the battery, however, for the discharge curve of partial batteries, the voltage has a phenomenon of steep drop, which is not a linear relation, the electric quantity is estimated by detecting the voltage, the conditions of battery deficiency and electricity jump exist, and the detected residual electric quantity has larger error and lower accuracy due to the mixed use of batteries with different specifications and the attenuation of the batteries.
Disclosure of Invention
The invention provides an electric quantity detection method and device of an electric bicycle, which are used for solving the problems that in the prior art, the voltage of a battery is detected to calculate the residual electric quantity of the battery, however, the voltage of a discharge curve of a part of batteries is steeply reduced and is not in a linear relation, the electric quantity is estimated by detecting the voltage, the battery is in a virtual state and in a jumping state, and the detected residual electric quantity has the defects of larger error and lower accuracy due to the mixed use of the batteries with different specifications and the attenuation of the batteries, so that the electric quantity is detected in a targeted manner aiming at the batteries with different initial electric quantities, the detection error of the residual electric quantity is reduced, and the accuracy is improved.
The invention provides an electric quantity detection method of an electric bicycle, which comprises the following steps: acquiring battery output power corresponding to a plurality of target moments from an initial moment to a current moment; determining accumulated consumed electric quantity based on the battery output power corresponding to a plurality of target moments from the initial moment to the current moment; and sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
According to the electric power detection method for an electric bicycle of the present invention, the determining of the accumulated consumed electric power based on the battery output powers corresponding to the plurality of target times from the initial time to the current time includes: determining the accumulated consumed electric quantity based on the battery output powers corresponding to a plurality of target times from the initial time to the current time and a time difference between the target time and a previous time, wherein the previous time is a time corresponding to the battery output power acquired most closely before the target time.
According to the electric power detection method for an electric bicycle of the present invention, the determining the accumulated consumed electric power based on the battery output powers corresponding to the plurality of target times from the initial time to the current time and the time difference between the target time and the previous time includes: multiplying the battery output power corresponding to the plurality of target times from the initial time to the current time by a time difference between the target time and a previous time to obtain target power consumption corresponding to the plurality of target times from the initial time to the current time; and adding the target power consumption corresponding to the plurality of target times from the initial time to the current time to obtain the accumulated power consumption.
According to the electric power detection method for an electric bicycle of the present invention, the determining of the accumulated electric power consumption based on the battery output powers corresponding to the plurality of target times from the initial time to the current time includes: determining a power variation function over time based on the battery output power corresponding to a plurality of the target moments from the initial moment to the current moment; and determining the fixed integral of the power variation function along with the time in the interval from the initial moment to the current moment as the accumulated consumed electric quantity.
According to the electric quantity detection method of the electric bicycle provided by the invention, the interval time between every two adjacent target moments is equal.
According to the electric quantity detection method of the electric bicycle, the battery output power corresponding to a plurality of target moments from the initial moment to the current moment is acquired, and the method comprises the following steps: acquiring battery output voltages and battery output currents corresponding to a plurality of target moments from an initial moment to a current moment in real time; and determining the battery output power corresponding to the target moments on the basis of the battery output voltage and the battery output current corresponding to the target moments.
According to the electric quantity detection method of the electric bicycle provided by the invention, before the step of acquiring the battery output powers corresponding to a plurality of target moments from the initial moment to the current moment, the method further comprises the following steps: and sending a battery identifier to a server so that the server can determine the battery capacity at the initial moment based on the battery identifier.
The present invention also provides an electric quantity detection device for an electric bicycle, comprising: the acquisition module is used for acquiring the battery output power corresponding to a plurality of target moments from an initial moment to a current moment; the determining module is used for determining accumulated consumed electric quantity based on the battery output power corresponding to a plurality of target moments from the initial moment to the current moment; and the sending module is used for sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the electric quantity detection method of the electric bicycle is realized.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the electric quantity detection method of an electric bicycle as described in any one of the above.
The present invention also provides a computer program product comprising a computer program, which when executed by a processor implements the method for detecting electric quantity of an electric bicycle as described in any of the above.
According to the electric quantity detection method and device for the electric bicycle, the accumulated consumed electric quantity of the battery is determined according to the battery output powers at the target moments by obtaining the battery output powers at the target moments, the residual electric quantity of the electric bicycle is obtained by using the server, the electric quantity can be detected in a targeted manner aiming at the batteries with different initial electric quantities, the detection error of the residual electric quantity is reduced, and the accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for detecting electric quantity of an electric bicycle according to the present invention;
FIG. 2 is a schematic structural diagram of an electric quantity detecting device of an electric bicycle according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The method and apparatus for detecting electric quantity of an electric bicycle according to the present invention will be described with reference to fig. 1-3.
The invention provides an electric quantity detection method of an electric bicycle, the electric bicycle can be provided with a battery and a vehicle-mounted controller, the battery can be electrically connected with the vehicle-mounted controller, the battery is used for supplying power to various electric elements of the electric bicycle, the vehicle-mounted controller is a logic control center of the electric bicycle, the vehicle-mounted controller can detect the output voltage and the output current of the battery, and an execution main body of the electric quantity detection method of the electric bicycle can be the vehicle-mounted controller.
As shown in fig. 1, the method for detecting electric quantity of an electric bicycle includes: as follows from step 110 to step 130.
In step 110, battery output powers corresponding to a plurality of target times from an initial time to a current time are obtained.
It is understood that the electric bicycle can be replaced with a full battery before use, or can be recharged to obtain the full battery, and the time when the electric bicycle starts to be used from the full state can be referred to as the initial time, and the battery of the electric bicycle can be full at the initial time. It is worth mentioning that the initial charge of different brands, types or attenuation of the batteries is different.
The electric bicycle can continuously consume the electric quantity of the battery in the using process, a plurality of target moments are extracted from a time period from an initial moment to a current moment, and at each target moment, the vehicle-mounted controller collects the battery output power of the electric bicycle, wherein the battery output power can also be called battery discharging power.
It is noted that the battery output power here is an instantaneous discharge power of the battery at a target time, which may include an initial time and a current time.
And step 120, determining the accumulated consumed electric quantity based on the battery output powers corresponding to a plurality of target moments from the initial moment to the current moment.
It can be understood that, after the battery output powers corresponding to the target times from the initial time to the current time are obtained, the accumulated power consumption in the interval from the initial time to the current time may be determined according to the battery output powers corresponding to the target times in the interval from the initial time to the current time, where the accumulated power consumption is the total power consumption of the electric bicycle from the initial time to the current time.
Since the power multiplied by the time is equal to the power consumption, the accumulated power consumption can be obtained through various calculation methods when the time values of the target times and the battery output powers corresponding to the target times and the time length from the initial time to the current time are obtained, for example, the average power can be obtained from the battery output powers, and the accumulated power consumption can be obtained by multiplying the average power and the time length from the initial time to the current time. Of course, the function of the change over time of the battery output power may be constructed from the battery output powers corresponding to a plurality of times within the interval from the initial time to the current time, the constant integral of the function of the change over time of the battery output power within the interval from the initial time to the current time may be obtained, and the constant integral may be used as the accumulated power consumption.
It is not limited how to determine the accumulated consumed power according to the battery output powers corresponding to a plurality of target times from the initial time to the current time, and those skilled in the art can solve the problem in a manner not limited to the above-mentioned manner.
And step 130, sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
It can be understood that the vehicle-mounted controller of the electric bicycle can be in communication connection with the server, the server can also be in communication connection with a user terminal such as a mobile phone, a tablet computer or a notebook computer, the vehicle-mounted controller can send the accumulated consumed electric quantity to the server after obtaining the accumulated consumed electric quantity, and the server can obtain the residual electric quantity of the electric bicycle according to the stored battery electric quantity at the initial moment and the received accumulated consumed electric quantity, so that the detection of the residual electric quantity of the electric bicycle is realized.
The remaining capacity of the electric bicycle can be represented by SOC, the accumulated consumed capacity can be represented by W, and the battery capacity at the initial moment can be represented by W 0 And (4) showing.
Then, the calculation formula of the remaining capacity of the electric bicycle may be:
SOC=(W 0 -W)/W 0 ×100%。
after the server obtains the residual electric quantity of the electric bicycle, the server can calculate the residual mileage of the electric bicycle, and can also send the residual electric quantity or the residual mileage of the electric bicycle to the user terminal for the user terminal to check.
Remaining mileage L = SOC L 0 Wherein, L 0 Refers to the mileage, L, corresponding to the battery power at the initial time 0 Is a preset parameter of the electric bicycle.
It is worth mentioning that, in the actual process of riding the electric bicycle, the weight, acceleration and deceleration habits and the up-down slope state of the user all affect the discharging power of the battery. The vehicle-mounted controller of the embodiment can periodically read the output power of the battery, can obtain the accumulated consumed electric quantity of the electric bicycle, and can calculate the residual electric quantity SOC of the electric bicycle according to the accumulated consumed electric quantity and the battery electric quantity at the initial moment through the server.
According to the electric quantity detection method of the electric bicycle, the accumulated consumed electric quantity of the battery is determined according to the battery output powers at the target moments by obtaining the battery output powers at the target moments, and the residual electric quantity of the electric bicycle is obtained by using the server, so that the electric quantity can be detected in a targeted manner aiming at the batteries with different initial electric quantities, the detection error of the residual electric quantity is reduced, and the accuracy is improved.
In some embodiments, the obtaining 110 battery output powers corresponding to a plurality of target times from an initial time to a current time includes: acquiring battery output voltages and battery output currents corresponding to a plurality of target moments from an initial moment to a current moment in real time; and determining the battery output power corresponding to the target moments on the basis of the battery output voltages and the battery output currents corresponding to the target moments.
It can be understood that the battery output powers acquired at the target moments may not be directly acquired, and the battery output voltages and the battery output currents corresponding to the target moments from the initial moment to the current moment of the battery may be acquired in real time through a voltmeter, an ammeter, or other detection devices, where the battery output voltages are voltages at two ends of the battery during the discharging process of the battery, and the battery output currents are currents directly flowing out of electrodes of the battery during the discharging process of the battery.
After the battery output voltage and the battery output current corresponding to the target time are obtained, the battery output power corresponding to the target time can be obtained according to the corresponding battery output voltage and the corresponding battery output current, for example, the battery output power at the target time may be equal to the battery output voltage at the target time multiplied by the battery output current at the target time.
By detecting the output voltage and the output current of the battery, the obtained output power of the battery is more visual and accurate, and the measurement cost is lower.
In some embodiments, the determining 120 of the accumulated power consumption based on the output powers of the batteries corresponding to the target moments from the initial moment to the current moment includes: and determining the accumulated consumed electric quantity based on the battery output powers corresponding to a plurality of target moments from the initial moment to the current moment and the time difference between the target moments and a previous moment, wherein the previous moment is a moment corresponding to the most adjacent acquisition of the battery output power before the target moment.
It can be understood that, in the process of calculating the accumulated consumed electric quantity, the time difference between the target time and the previous time may be determined, for example, the battery output power is collected for the first time at the initial time, the initial time is 0, the time for collecting for the second time is 1 st second, the time for collecting for the third time is 2 nd second, if the target time is 2 nd second, the previous time is the time for collecting for the second time, that is, 1 st second, and the time difference between the target time and the previous time is 1 second. Here, the accumulated power consumption may be obtained from the battery output powers corresponding to the plurality of target times and the time difference between the target time and the previous time.
In some embodiments, determining the accumulated amount of power consumed based on the battery output powers corresponding to a plurality of target times from the initial time to the current time and a time difference between the target time and a previous time includes: multiplying the battery output power corresponding to a plurality of target moments from the initial moment to the current moment by the time difference between the target moment and the previous moment to obtain target power consumption corresponding to the plurality of target moments from the initial moment to the current moment; and adding the target power consumption corresponding to a plurality of target times from the initial time to the current time to obtain the accumulated power consumption.
It can be understood that, in the process of determining the accumulated power consumption according to the battery output powers corresponding to the target times and the time difference between the target time and the previous time, a differential summation principle may be used to multiply the battery output power corresponding to each target time and the time difference between the target time and the previous time, so as to obtain the target power consumptions corresponding to the target times, and further add the target power consumptions corresponding to the target times from the initial time to the current time, so as to obtain the accumulated power consumption.
Specifically, the initial time may be denoted as T 0 The current time may be denoted as T N ,P 0 Can represent the battery output power at the initial moment, P N Can indicate the battery output power, Q, at the current moment 0 May represent the power consumption at the initial time, Q N The power consumption amount at the present time can be expressed.
Then:
Q 0 =P 0 ×(T 0 -T 0 );
Q N =P N ×(T N -T N-1 );
W=Q 0 +Q 1 +Q 2 +Q 3 +…+Q N 。
in some embodiments, the determining 120 of the accumulated consumed power based on the output powers of the batteries corresponding to the target times from the initial time to the current time includes: determining a power time-varying function based on battery output powers corresponding to a plurality of target moments from an initial moment to a current moment; and determining the fixed integral of the time-varying power function in the interval from the initial moment to the current moment as the accumulated consumed electric quantity.
It is understood that, in the process of determining the accumulated consumed electric energy from the battery output powers corresponding to the plurality of target times, the time difference between the target time and the previous time may not be obtained. The method can determine a power time-varying function according to the battery output power corresponding to a plurality of target moments, wherein the independent variable of the power time-varying function is the target moment, the dependent variable of the power time-varying function is the battery output power, namely, a relatively universal power time-varying function is obtained through a plurality of discrete data, and after the power time-varying function is obtained, the fixed integral of the power time-varying function on the interval from the initial moment to the current moment can be directly obtained, so that the accumulated consumed electric quantity can be directly obtained.
For example, a reference coordinate system can be established, the target time is taken as an abscissa axis, the battery output power is taken as a center axis, the values of the battery output power corresponding to the target times are marked in the reference coordinate system in the form of discrete points, and the discrete points are connected in sequence, so that a relatively smooth curve can be obtained, the curve can represent the time-varying function of the power, the area of the curve, which is surrounded by the abscissa axis in the interval from the initial time to the current time, can be obtained, and the area can represent the accumulated consumed electric quantity.
In some embodiments, the interval between each two adjacent target time instants is equal.
It can be understood that the time period from the initial time to the current time can be divided averagely, the interval time between every two adjacent target times is equal, the interval time can be called as a sampling period, and the sampling period is divided equally, so that sampling nodes of the output power of the battery are more uniform, the time difference between the target time and the previous time is equal, the accumulated consumed electric quantity can be calculated more conveniently, and the calculation result is more accurate.
In some embodiments, in step 110, obtaining the output power of the battery corresponding to a plurality of target time instants from the initial time instant to the current time instant further includes: and sending the battery identification to the server so that the server can determine the battery capacity at the initial moment based on the battery identification.
It can be understood that the two-dimensional code can be pasted on the battery, the two-dimensional code corresponds to a battery identifier, the battery identifier is used for distinguishing each battery, and the battery identifiers can be uniformly managed by the server. When the battery is put in and taken out of the warehouse and the battery is replaced, a user can use the user terminal to scan the battery to confirm the specification and the model of the battery according to the battery identification, the vehicle-mounted controller can also identify the battery identification of the battery and send the battery identification to the server, the battery identification and the battery electric quantity at the initial moment of the battery are stored in the server in advance, and the server can obtain the battery electric quantity at the initial moment according to the battery identification after receiving the battery identification.
It is worth mentioning that, by adopting the mode, when the battery is installed on the electric bicycle, the server can confirm the brand, specification, voltage, capacity and other parameters of the battery, and can obtain the battery electric quantity at the initial moment according to the battery identification, so that the problem of inaccurate battery electric quantity caused by the mixed use of batteries of different manufacturers, batteries with different capacities and new and old batteries can be avoided. By adopting the scheme of the embodiment, the accurate accumulated consumed electric quantity can be obtained without additionally arranging hardware equipment such as a coulometer and the like, so that the residual electric quantity and the residual mileage of the battery can be accurately calculated.
The following describes the electric quantity detection device for an electric bicycle, and the electric quantity detection device for an electric bicycle described below and the electric quantity detection method for an electric bicycle described above can be referred to in correspondence.
As shown in fig. 2, the present invention provides an electric quantity detecting device for an electric bicycle, including: an acquisition module 210, a determination module 220, and a sending module 230.
The obtaining module 210 is configured to obtain battery output powers corresponding to a plurality of target times from an initial time to a current time.
The determining module 220 is configured to determine the accumulated consumed power based on the output powers of the batteries corresponding to a plurality of target moments from the initial moment to the current moment.
The sending module 230 is configured to send the accumulated consumed power to the server, so that the server determines the remaining power of the electric bicycle based on the accumulated consumed power and the battery power at the initial time.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor) 310, a communication Interface (communication Interface) 320, a memory (memory) 330 and a communication bus 340, wherein the processor 310, the communication Interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call logic instructions in the memory 330 to perform a method of detecting a power level of an electric bicycle, the method comprising: acquiring battery output power corresponding to a plurality of target moments from an initial moment to a current moment; determining accumulated consumed electric quantity based on battery output power corresponding to a plurality of target moments from an initial moment to a current moment; and sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is capable of executing the method for detecting electric quantity of an electric bicycle, the method comprising: acquiring battery output power corresponding to a plurality of target moments from an initial moment to a current moment; determining accumulated consumed electric quantity based on battery output power corresponding to a plurality of target moments from an initial moment to a current moment; and sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
In still another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements a method for detecting an amount of power of an electric bicycle provided by performing the above methods, the method including: acquiring battery output power corresponding to a plurality of target moments from an initial moment to a current moment; determining accumulated consumed electric quantity based on battery output power corresponding to a plurality of target moments from an initial moment to a current moment; and sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. An electric quantity detection method of an electric bicycle is characterized by comprising the following steps:
acquiring battery output power corresponding to a plurality of target moments from an initial moment to a current moment;
determining accumulated consumed electric quantity based on the battery output power corresponding to a plurality of target moments from the initial moment to the current moment;
and sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
2. The method of detecting electric power of an electric bicycle according to claim 1, wherein determining an accumulated consumed electric power based on the battery output powers corresponding to the plurality of target times from the initial time to the current time includes:
determining the accumulated consumed electric quantity based on the battery output powers corresponding to a plurality of target times from the initial time to the current time and a time difference between the target time and a previous time, wherein the previous time is a time corresponding to the battery output power acquired most closely before the target time.
3. The method of detecting an amount of power of an electric bicycle according to claim 2, wherein the determining the accumulated amount of power consumption based on the battery output powers corresponding to the plurality of target times from the initial time to the current time and a time difference between the target time and a previous time includes:
multiplying the battery output power corresponding to the target moments from the initial moment to the current moment by the time difference between the target moment and the previous moment to obtain target power consumption corresponding to the target moments from the initial moment to the current moment;
and adding the target power consumption corresponding to the plurality of target times from the initial time to the current time to obtain the accumulated power consumption.
4. The method of detecting electric power of an electric bicycle according to claim 1, wherein determining an accumulated consumed electric power based on the battery output powers corresponding to the plurality of target times from the initial time to the current time includes:
determining a power variation function over time based on the battery output power corresponding to a plurality of the target moments from the initial moment to the current moment;
and determining the fixed integral of the power variation function along with the time in the interval from the initial moment to the current moment as the accumulated consumed electric quantity.
5. The method for detecting electric quantity of an electric bicycle according to any one of claims 1 to 4, wherein the interval time between every two adjacent target time instants is equal.
6. The method for detecting electric quantity of an electric bicycle according to claim 1, wherein the obtaining of battery output powers corresponding to a plurality of target times from an initial time to a current time includes:
acquiring battery output voltages and battery output currents corresponding to a plurality of target moments from an initial moment to a current moment in real time;
and determining the battery output power corresponding to the target moments on the basis of the battery output voltage and the battery output current corresponding to the target moments.
7. The method for detecting electric quantity of an electric bicycle according to claim 1, wherein before the obtaining battery output powers corresponding to a plurality of target times from an initial time to a current time, further comprising:
and sending a battery identifier to a server so that the server can determine the battery capacity at the initial moment based on the battery identifier.
8. An electric quantity detection device of an electric bicycle, characterized by comprising:
the acquisition module is used for acquiring the battery output power corresponding to a plurality of target moments from the initial moment to the current moment;
the determining module is used for determining accumulated consumed electric quantity based on the battery output power corresponding to a plurality of target moments from the initial moment to the current moment;
and the sending module is used for sending the accumulated consumed electric quantity to a server so that the server can determine the residual electric quantity of the electric bicycle based on the accumulated consumed electric quantity and the battery electric quantity at the initial moment.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for detecting the amount of power of an electric bicycle according to any one of claims 1 to 6 when executing the program.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method for detecting the amount of power of an electric bicycle according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210901722.9A CN115524621A (en) | 2022-07-28 | 2022-07-28 | Electric quantity detection method and device for electric bicycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210901722.9A CN115524621A (en) | 2022-07-28 | 2022-07-28 | Electric quantity detection method and device for electric bicycle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115524621A true CN115524621A (en) | 2022-12-27 |
Family
ID=84696157
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210901722.9A Pending CN115524621A (en) | 2022-07-28 | 2022-07-28 | Electric quantity detection method and device for electric bicycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115524621A (en) |
-
2022
- 2022-07-28 CN CN202210901722.9A patent/CN115524621A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102998623B (en) | The estimation on line method and system of storage battery charge state | |
CN104698388B (en) | The cell degradation detection method and its device of a kind of mobile terminal | |
CN108287312B (en) | Sorting method, system and device for retired batteries | |
JP2003508881A (en) | Method and apparatus for assessing the amount of charge in an electrochemical cell or battery | |
CN101535827A (en) | Apparatus and method for determination of the state-of-charge of a battery when the battery is not in equilibrium | |
CN102203626A (en) | Apparatus and method for cell balancing using the voltage variation behavior of battery cell | |
CN115616410A (en) | Battery abnormal self-discharge early warning method and system, electronic equipment and storage medium | |
CN107015163A (en) | The acquisition methods and device of a kind of battery capacity | |
KR20140066394A (en) | Measuring device for state of charging of battery and measuring method the same | |
CN115542186B (en) | Method, device, equipment and medium for evaluating state and consistency of energy storage battery | |
CN110133515B (en) | Method and device for determining remaining energy of battery | |
CN105738811A (en) | Measuring method and apparatus for residual electricity of lithium battery, and electronic device | |
CN107884718A (en) | Remaining battery capacity calculation method, mobile terminal and storage device | |
CN110687458A (en) | Terminal battery electric quantity determination method and device | |
CN111142032A (en) | Method, device and equipment for determining battery electric quantity and storage medium | |
CN110554329A (en) | battery internal resistance measuring method and device | |
CN113093027A (en) | Battery SOC calibration method, device, system, medium and program product | |
CN114137415B (en) | Method and device for detecting heating value of battery pack, vehicle and storage medium | |
CN109802463B (en) | Charging circuit, electric quantity obtaining method and terminal | |
CN115524621A (en) | Electric quantity detection method and device for electric bicycle | |
CN115327391B (en) | Detection method and device based on echelon battery utilization | |
CN115923592A (en) | Battery state detection method and device for electric vehicle | |
CN116559693A (en) | Battery SOC evaluation method and device, electronic equipment and storage medium | |
CN110824401A (en) | Reliability monitoring method, system, equipment and storage medium of BBU (baseband unit) electricity meter | |
CN115856655A (en) | New energy automobile battery real-time state evaluation method, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |