CN109669629B - Battery charge and discharge data storage method and terminal device - Google Patents
Battery charge and discharge data storage method and terminal device Download PDFInfo
- Publication number
- CN109669629B CN109669629B CN201811400353.5A CN201811400353A CN109669629B CN 109669629 B CN109669629 B CN 109669629B CN 201811400353 A CN201811400353 A CN 201811400353A CN 109669629 B CN109669629 B CN 109669629B
- Authority
- CN
- China
- Prior art keywords
- charge
- data
- discharge
- charging
- discharging
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
Description
技术领域technical field
本发明属于电池技术领域,尤其涉及电池充放电数据存储方法及终端设备。The invention belongs to the technical field of batteries, and in particular relates to a battery charging and discharging data storage method and terminal equipment.
背景技术Background technique
电池系统的详细数据是研究电池物理特性,提高电池性能及寿命的重要依据,电池系统的详细数据对电池技术的创新突破有着重要价值。The detailed data of the battery system is an important basis for studying the physical characteristics of the battery and improving the performance and life of the battery. The detailed data of the battery system is of great value to the innovation and breakthrough of the battery technology.
但是,电池系统不同于其他设备,往往需要监控的单体电池设备节数较多,如果不做筛选时刻完整保存所有电池组的详细数据,一定会涉及到监控数据量过大的问题,并且过多的电池数据中存在对电池性能不具有参考价值的数据,电池数据的利用率较低。However, the battery system is different from other equipment, and the number of single battery equipment that needs to be monitored is often large. If the detailed data of all battery packs are completely saved at the time of screening, the problem of excessive monitoring data will be involved, and the excessive amount of monitoring data will be involved. There are many battery data that have no reference value for battery performance, and the utilization rate of battery data is low.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供了电池充放电数据存储方法及终端设备,以解决现有技术中电池数据占用空间太大,电池数据的利用率较低的问题。In view of this, the embodiments of the present invention provide a battery charging and discharging data storage method and a terminal device, so as to solve the problem that the battery data occupies too much space and the utilization rate of the battery data is low in the prior art.
本发明实施例的第一方面提供了电池充放电数据存储方法,适用于对电池系统产生的充放电数据进行判断存储,包括:A first aspect of the embodiments of the present invention provides a method for storing battery charge and discharge data, which is suitable for judging and storing charge and discharge data generated by a battery system, including:
获取第一预设时间段内电池系统产生的充放电数据,并根据所述充放电数据,确定所述充放电数据是否满足所述电池系统的一个充电/放电周期;Acquiring charge-discharge data generated by the battery system within a first preset time period, and determining, according to the charge-discharge data, whether the charge-discharge data satisfies one charge/discharge cycle of the battery system;
在确定所述充放电数据满足所述电池系统的一个充电/放电周期时,检测位于所述充电/放电周期内的充放电数据是否满足预设充电/放电条件,若位于所述充电/放电周期内的充放电数据满足预设充电/放电条件,则根据满足所述预设充电/放电条件的充放电数据进行电池系统的充放电数据存储。When it is determined that the charge/discharge data satisfies a charge/discharge cycle of the battery system, it is detected whether the charge/discharge data within the charge/discharge cycle meets a preset charge/discharge condition, if the charge/discharge cycle is within the charge/discharge cycle If the internal charge and discharge data satisfies the preset charge/discharge condition, then the charge and discharge data of the battery system is stored according to the charge and discharge data satisfying the preset charge/discharge condition.
本发明实施例的第二方面提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述电池充放电数据存储方法的步骤。A second aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program Implement the steps of the battery charging and discharging data storage method as described above.
本发明实施例的第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上所述电池充放电数据存储方法的步骤。A third aspect of the embodiments of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned method for storing battery charge and discharge data is implemented. step.
本发明实施例与现有技术相比存在的有益效果是:本发明实施例获取第一预设时间段内电池系统产生的充放电数据,并根据所述充放电数据,确定所述充放电数据是否满足所述电池系统的一个充电/放电周期;在确定所述充放电数据满足所述电池系统的一个充电/放电周期时,检测位于所述充电/放电周期内的充放电数据是否满足预设充电/放电条件,若位于所述充电/放电周期内的充放电数据满足预设充电/放电条件,则根据满足所述预设充电/放电条件的充放电数据进行电池系统的充放电数据存储。由于充电/放电周期内的数据是研究电池物理特性的重要依据,所以本发明实施例仅存储满足预设充电/放电条件的充电/放电周期的充放电数据,从而既能够减少需要存储的电池数据量,节省系统空间,又能够提高电池数据的整体利用率。Compared with the prior art, the embodiment of the present invention has the beneficial effect that: the embodiment of the present invention acquires the charge and discharge data generated by the battery system within the first preset time period, and determines the charge and discharge data according to the charge and discharge data Whether a charge/discharge cycle of the battery system is satisfied; when it is determined that the charge/discharge data meets a charge/discharge cycle of the battery system, it is detected whether the charge/discharge data within the charge/discharge cycle meets a preset Charge/discharge conditions, if the charge/discharge data within the charge/discharge cycle satisfies the preset charge/discharge conditions, then perform the charge/discharge data storage of the battery system according to the charge/discharge data satisfying the preset charge/discharge conditions. Since the data in the charging/discharging cycle is an important basis for studying the physical characteristics of the battery, the embodiment of the present invention only stores the charging/discharging data of the charging/discharging cycle that meets the preset charging/discharging conditions, thereby reducing the battery data that needs to be stored It can save system space and improve the overall utilization of battery data.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明实施例提供的电池充放电数据存储方法的实现流程示意图;FIG. 1 is a schematic diagram of an implementation flowchart of a battery charge-discharge data storage method provided by an embodiment of the present invention;
图2是本发明实施例提供的图1中S101的实现流程示意图;FIG. 2 is a schematic flowchart of the implementation of S101 in FIG. 1 according to an embodiment of the present invention;
图3是本发明实施例提供的图1中S102的实现流程示意图;3 is a schematic flowchart of the implementation of S102 in FIG. 1 according to an embodiment of the present invention;
图4是本发明实施例提供的图3中S302的实现流程示意图;FIG. 4 is a schematic flowchart of the implementation of S302 in FIG. 3 according to an embodiment of the present invention;
图5是本发明实施例提供的图4中S403的实现流程示意图;FIG. 5 is a schematic flowchart of the implementation of S403 in FIG. 4 according to an embodiment of the present invention;
图6是本发明实施例提供的图1中S102的实现流程示意图;FIG. 6 is a schematic flowchart of the implementation of S102 in FIG. 1 according to an embodiment of the present invention;
图7是本发明实施例提供的图3中S302的实现流程示意图;FIG. 7 is a schematic flowchart of the implementation of S302 in FIG. 3 according to an embodiment of the present invention;
图8是本发明实施例提供的图7中S703的实现流程示意图;FIG. 8 is a schematic flowchart of the implementation of S703 in FIG. 7 according to an embodiment of the present invention;
图9是本发明实施例提供的一种电池充放电数据存储方法的实现流程框图;9 is a block diagram of an implementation flow of a method for storing battery charge and discharge data provided by an embodiment of the present invention;
图10为本发明实施例提供的电池充放电数据存储装置的结构示意图;10 is a schematic structural diagram of a battery charging and discharging data storage device provided by an embodiment of the present invention;
图11是本发明实施例提供的终端设备的示意图。FIG. 11 is a schematic diagram of a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are set forth in order to provide a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
本发明的说明书和权利要求书及上述附图中的术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含一系列步骤或单元的过程、方法或系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。The term "comprising" and any variations thereof in the description and claims of the present invention and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method or system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes Other steps or units inherent in these processes, methods, products or devices. Also, the terms "first," "second," and "third," etc. are used to distinguish between different objects, rather than to describe a particular order.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, the following specific embodiments are used for description.
实施例1:Example 1:
图1示出了本发明的一个实施例提供的电池充放电数据存储方法的实现流程,其过程详述如下:FIG. 1 shows the implementation process of a battery charge and discharge data storage method provided by an embodiment of the present invention, and the process is described in detail as follows:
在S101中,获取第一预设时间段内电池系统产生的充放电数据,并根据所述充放电数据,确定所述充放电数据是否满足所述电池系统的一个充电/放电周期。In S101, the charge and discharge data generated by the battery system within a first preset time period are acquired, and according to the charge and discharge data, it is determined whether the charge and discharge data satisfies one charge/discharge cycle of the battery system.
在S102中,在确定所述充放电数据满足所述电池系统的一个充电/放电周期时,检测位于所述充电/放电周期内的充放电数据是否满足预设充电/放电条件,若位于所述充电/放电周期内的充放电数据满足预设充电/放电条件,则根据满足所述预设充电/放电条件的充放电数据进行电池系统的充放电数据存储。In S102, when it is determined that the charge/discharge data satisfies one charge/discharge cycle of the battery system, it is detected whether the charge/discharge data within the charge/discharge cycle meets a preset charge/discharge condition, and if it is within the charge/discharge cycle If the charge/discharge data in the charge/discharge cycle satisfies the preset charge/discharge condition, then the charge/discharge data of the battery system is stored according to the charge/discharge data satisfying the preset charge/discharge condition.
在本实施例中,电池数据分为统计类信息、事件状态信息及详细模拟量信息。其中统计类信息为进行归类统计并反应系统总体情况的信息,比如发电量,收益,总功率等,统计类信息可以按照一定的采集频率采集并保存。事件状态量信息能非常直观地反应出当前系统的整体运行状态,该类信息需要在事件发生及取消的时刻进行即时保存。详细模拟量信息的数据量较大,需要制定相应的存储策略对信息存储的业务流程进行优化。本申请的详细模拟量数据为充放电数据,电池的充放电数据是研究电池物理特性、提高电池性能及寿命的重要依据,是电池性能数据分析中的代表性数据,对电池技术的创新突破有着重要价值。In this embodiment, battery data is classified into statistical information, event status information and detailed analog information. Among them, statistical information is information that is classified into statistics and reflects the overall situation of the system, such as power generation, income, total power, etc. The statistical information can be collected and saved according to a certain collection frequency. The event state quantity information can very intuitively reflect the overall running state of the current system, and this type of information needs to be saved immediately at the moment of the occurrence and cancellation of the event. The data volume of detailed analog information is large, and corresponding storage strategies need to be formulated to optimize the business process of information storage. The detailed analog data in this application is the charge and discharge data. The charge and discharge data of the battery is an important basis for studying the physical characteristics of the battery and improving the performance and life of the battery. It is the representative data in the analysis of the battery performance data. important value.
在本实施例中,在第一预设时间段内按照预设时间间隔采集电池系统产生的充放电数据,其中第一预设时间段可以为36个小时,即缓存36个小时内的电池充放电数据,预设时间间隔可以为30秒。In this embodiment, the charge and discharge data generated by the battery system are collected at preset time intervals within a first preset time period, wherein the first preset time period may be 36 hours, that is, the battery charge and discharge data within 36 hours are cached Discharge data, the preset time interval can be 30 seconds.
在本实施例中,将采集到的充放电数据按照数据记录时间缓存,数据记录时间为该充放电数据的采集时间。In this embodiment, the collected charge and discharge data are buffered according to the data recording time, and the data recording time is the collection time of the charge and discharge data.
在本实施例中,按照预设周期查找充放电数据中是否存在完整的充电/放电周期,预设周期可以为12个小时,每12个小时执行充电/放电周期查找流程,查找流程查找12个小时内是否存在充电/放电周期,若不存在充电/放电周期则不存储该预设周期内的任何数据。若存在充电/放电周期,则检测充电/放电周期内的所有的充放电数据是否满足预设充电/放电条件,并根据预设充放电条件的充放电数据进行电池系统的充放电数据存储。In this embodiment, whether there is a complete charge/discharge cycle in the charge-discharge data is searched according to a preset cycle, the preset cycle may be 12 hours, the charge/discharge cycle search process is performed every 12 hours, and the search process finds 12 Whether there is a charge/discharge cycle within an hour, if there is no charge/discharge cycle, no data in the preset cycle will be stored. If there is a charge/discharge cycle, check whether all the charge/discharge data in the charge/discharge cycle meet the preset charge/discharge condition, and store the charge/discharge data of the battery system according to the charge/discharge data of the preset charge/discharge condition.
从上述实施例可知,本发明实施例获取第一预设时间段内电池系统产生的充放电数据,并根据所述充放电数据,确定所述充放电数据是否满足所述电池系统的一个充电/放电周期;在确定所述充放电数据满足所述电池系统的一个充电/放电周期时,检测位于所述充电/放电周期内的充放电数据是否满足预设充电/放电条件,若位于所述充电/放电周期内的充放电数据满足预设充电/放电条件,则根据满足所述预设充电/放电条件的充放电数据进行电池系统的充放电数据存储。由于充电/放电周期内的数据是研究电池物理特性的重要依据,所以本发明实施例仅存储满足预设充电/放电条件的充电/放电周期的充放电数据,从而既能够减少需要存储的电池数据量,节省系统空间,又能够提高电池数据的整体利用率。It can be seen from the above embodiments that the embodiment of the present invention acquires the charge and discharge data generated by the battery system within the first preset time period, and determines whether the charge and discharge data satisfies a charge/discharge requirement of the battery system according to the charge and discharge data. a discharge cycle; when it is determined that the charge and discharge data satisfies a charge/discharge cycle of the battery system, detect whether the charge and discharge data within the charge/discharge cycle meet a preset charge/discharge condition, if the charge/discharge data is in the charge/discharge cycle The charge/discharge data in the /discharge cycle satisfies the preset charge/discharge condition, and then the charge/discharge data of the battery system is stored according to the charge/discharge data that meets the preset charge/discharge condition. Since the data in the charging/discharging cycle is an important basis for studying the physical characteristics of the battery, the embodiment of the present invention only stores the charging/discharging data of the charging/discharging cycle that meets the preset charging/discharging conditions, thereby reducing the battery data that needs to be stored It can save system space and improve the overall utilization of battery data.
在本发明的一个实施例中,图1中S101的具体实现流程包括:In an embodiment of the present invention, the specific implementation process of S101 in FIG. 1 includes:
在所述充放电数据中存在小于预设剩余电量下限值且同时存在大于或等于预设剩余电量上限值的充放电数据时,则确定所述充放电数据满足所述电池系统的一个充电/放电周期。When there is charge and discharge data smaller than the preset lower limit value of remaining power and at the same time greater than or equal to the preset upper limit value of remaining power in the charge and discharge data, it is determined that the charge and discharge data satisfies one charge of the battery system /discharge cycle.
如图2所示,在本发明的一个实施例中,上述S101的具体实现流程还包括:As shown in FIG. 2, in an embodiment of the present invention, the specific implementation process of the above S101 further includes:
在S201中,将所述充放电数据按照时间顺序排列,In S201, the charge and discharge data are arranged in chronological order,
在S202中,若任意两个小于或等于预设剩余电量下限值的充放电数据之间存在至少一个大于或等于预设剩余电量上限值的充放电数据,则确定所述任意两个小于预设剩余电量下限值的充放电数据之间存在满足所述电池系统的一个充电/放电周期的充放电数据;或In S202, if there is at least one charge and discharge data greater than or equal to the preset upper limit value of remaining power between any two charge and discharge data less than or equal to the preset lower limit value of remaining power, determine that the any two are less than or equal to the preset upper limit value of remaining power. There is charge and discharge data satisfying one charge/discharge cycle of the battery system between the charge and discharge data of the preset remaining power lower limit value; or
在S203中,若任意两个大于或等于预设剩余电量上限值的充放电数据之间存在至少一个小于或等于预设剩余电量下限值的充放电数据,则确定所述任意两个大于或等于预设剩余电量上限值的充放电数据之间存在满足所述电池系统的一个充电/放电周期的充放电数据。In S203, if there is at least one charge and discharge data less than or equal to the preset lower limit of remaining power between any two charge and discharge data greater than or equal to the preset upper limit of remaining power, determine that the any two are greater than or equal to the preset lower limit of remaining power or between the charge and discharge data equal to the preset upper limit value of remaining power, there is charge and discharge data that satisfies one charge/discharge cycle of the battery system.
在本实施例中,充放电数据可以为电池系统的剩余电量,筛选充放电数据中大于预设剩余电量上限值的充放电数据作为上限数据,将充放电数据中小于剩余电量下限值的充放电数据作为下限数据。以一个具体的应用场景为例,预设剩余电量上限值可以为95%,剩余电量下限值可以为5%,也就是说,可以将数值小于5%的充放电数据作为下限数据,将数值大于95%的充放电数据作为上限数据。In this embodiment, the charge and discharge data may be the remaining power of the battery system, and the charge and discharge data that is larger than the preset upper limit of the remaining power in the charge and discharge data is selected as the upper limit data, and the charge and discharge data that is less than the lower limit of the remaining power are selected as the upper limit data. The charge and discharge data are used as the lower limit data. Taking a specific application scenario as an example, the preset upper limit of the remaining power can be 95%, and the lower limit of the remaining power can be 5%. Charge and discharge data with a value greater than 95% are used as upper limit data.
在本实施例中,每个充放电数据对应一个数据记录时间,数据记录时间为采集充放电数据的时间。按照数据记录时间对所有的充放电数据进行排序。得到充放电数据序列,在充放电数据序列中查找两个下限数据之间是否存在上限数据,若存在上限数据,说明预设时间段内的电池系统存在充电-放电的过程,则证明这两个下限数据之间存在充电/放电周期。In this embodiment, each charge and discharge data corresponds to a data recording time, and the data recording time is the time for collecting the charge and discharge data. Sort all charge and discharge data by data logging time. Obtain the charge and discharge data sequence, and find out whether there is upper limit data between the two lower limit data in the charge and discharge data sequence. There are charge/discharge cycles between the lower limit data.
在本实施例中,查找充电/放电周期的方法还可以为:在充放电数据序列中查找两个上限数据之间是否存在下限数据,若存在下限数据,则说明预设时间段内的电池系统存在放电-充电的过程,则也可以确定两个上限数据之间存在充电/放电周期。In this embodiment, the method for finding the charging/discharging cycle may also be: finding whether there is lower limit data between two upper limit data in the charge and discharge data sequence, and if there is lower limit data, it indicates the battery system within the preset time period If there is a discharge-charge process, it can also be determined that there is a charge/discharge cycle between the two upper limit data.
从上述实施例可知,通过上述方法可以有效的检测出第一预设时间段内的充放电数据是否存在充电/放电周期,并存储充电/放电周期内的充放电数据,从而提高存储数据的利用率,减少系统占用空间。It can be seen from the above embodiments that the above method can effectively detect whether there is a charge/discharge cycle in the charge/discharge data in the first preset time period, and store the charge/discharge data in the charge/discharge cycle, thereby improving the utilization of the stored data rate and reduce system space.
如图3所示,在本发明的一个实施例中,图3示出了图1中S102的具体实现流程,其过程详述如下:As shown in FIG. 3, in an embodiment of the present invention, FIG. 3 shows a specific implementation process of S102 in FIG. 1, and the process is described in detail as follows:
在S301中,将所述充放电数据按照时间顺序排列。In S301, the charge and discharge data are arranged in time sequence.
在S302中,比对当前时刻的充放电数据与前一时刻的充放电数据,在当前时刻的充放电数据大于前一时刻的充放电数据时,将当前时刻的充放电数据作为有效充放电数据。In S302, compare the charge and discharge data at the current time with the charge and discharge data at the previous time, and when the charge and discharge data at the current time is greater than the charge and discharge data at the previous time, use the charge and discharge data at the current time as valid charge and discharge data .
在S303中,判断当前时刻的充放电数据是否大于或等于预设剩余电量上限值。In S303, it is determined whether the charge and discharge data at the current moment is greater than or equal to a preset upper limit value of remaining power.
在S304中,若当前时刻的充放电数据小于预设剩余电量上限值,则将当前时刻的充放电数据作为前一时刻的充放电数据,将下一时刻的充放电数据作为当前时刻的充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;若当前时刻的充放电数据大于或等于预设剩余电量上限值,则根据所有有效充放电数据进行电池系统的充放电数据存储。In S304, if the charge and discharge data at the current moment is less than the preset remaining power upper limit, the charge and discharge data at the current moment are used as the charge and discharge data at the previous moment, and the charge and discharge data at the next moment are used as the charge and discharge data at the current moment. discharge data, and perform the step of comparing the charge and discharge data at the current moment with the charge and discharge data at the previous moment; if the charge and discharge data at the current moment is greater than or equal to the preset upper limit of the remaining power, the The data is used for charging and discharging data storage of the battery system.
在本实施例中,充电/放电周期可以包括充电周期,预设充电/放电条件包括预设充电条件。将充电周期内第一个下限数据作为充电起点数据,将充电起点数据之后的第一个上限数据作为充电周期的充电终点数据,从而获取一个初始的充电周期,进而对初始的充电周期内的充放电数据进行进一步筛选。In this embodiment, the charge/discharge cycle may include a charge cycle, and the preset charge/discharge conditions include preset charge conditions. The first lower limit data in the charging cycle is used as the charging starting point data, and the first upper limit data after the charging starting point data is used as the charging end point data in the charging cycle, so as to obtain an initial charging cycle, and then charge the charging in the initial charging cycle. Discharge data for further screening.
在本实施例中,由于电池系统的剩余电量存在波动,为了更好的获取真正的充电周期,对充电周期内的充放电数据进行两两比对,以充电起点数据作为当前数据,将充电起点数据与前一时刻的充放电数据进行比对,比对当前时刻的充放电数据与前一时刻的充放电数据,在当前时刻的充放电数据大于前一时刻的充放电数据时,将当前时刻的充放电数据作为有效充放电数据。In this embodiment, since the remaining power of the battery system fluctuates, in order to better obtain the real charging cycle, the charging and discharging data in the charging cycle are compared in pairs, and the charging starting point data is used as the current data. The data is compared with the charge and discharge data at the previous moment, and the charge and discharge data at the current moment is compared with the charge and discharge data at the previous moment. When the charge and discharge data at the current moment is greater than the charge and discharge data at the previous moment, the current moment The charge and discharge data of , as valid charge and discharge data.
若当前时刻的充放电数据大于前一时刻的充放电数据,则判断当前时刻的充放电数据是否大于或等于预设剩余电量上限值,若当前时刻的充放电数据大于或等于预设剩余电量上限值,则说明充电完成,可根据所有有效充放电数据进行电池系统的充放电存储。If the charge and discharge data at the current moment is greater than the charge and discharge data at the previous moment, it is determined whether the charge and discharge data at the current moment is greater than or equal to the upper limit of the preset remaining power; if the charge and discharge data at the current moment is greater than or equal to the preset remaining power The upper limit value indicates that the charging is completed, and the charging and discharging storage of the battery system can be performed according to all valid charging and discharging data.
若当前时刻的充放电数据大于或等于预设剩余电量上限值小于预设剩余电量上限值,则说明充放电数据符合充电趋势,且仍在充电过程中,则重复当前时刻的充放电数据与前一时刻的充放电数据的步骤,直到更新后的当前时刻的充放电数据大于或等于预设剩余电量上限值。If the charge and discharge data at the current moment is greater than or equal to the preset upper limit of remaining power and less than the preset upper limit of remaining power, it means that the charge and discharge data conforms to the charging trend, and the charge and discharge data are still in the process of charging, and the charge and discharge data at the current moment are repeated. Step with the charge and discharge data at the previous moment until the updated charge and discharge data at the current moment is greater than or equal to the preset upper limit of the remaining power.
如图4所示,在本发明的一个实施例中,图4示出了图1中S102的具体实现流程,其过程详述如下:As shown in FIG. 4, in an embodiment of the present invention, FIG. 4 shows a specific implementation process of S102 in FIG. 1, and the process is described in detail as follows:
在S401中,在当前时刻的充放电数据小于或等于前一时刻的充放电数据时,判断当前时刻的充放电数据是否小于或等于预设剩余电量下限值。In S401, when the charge and discharge data at the current moment is less than or equal to the charge and discharge data at the previous moment, it is determined whether the charge and discharge data at the current moment is less than or equal to a preset lower limit of remaining power.
在S402中,若当前时刻的充放电数据小于或等于预设剩余电量下限值,则将当前时刻的充放电数据作为充电周期内的第一个有效充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤。In S402, if the charge and discharge data at the current moment is less than or equal to the preset lower limit value of remaining power, the charge and discharge data at the current moment is taken as the first valid charge and discharge data in the charging cycle, and the comparison of the current charge and discharge data is performed. The procedure of charging and discharging data at the time and the charging and discharging data at the previous time.
在S403中,若当前时刻的充放电数据大于预设剩余电量下限值,则检测当前时刻的充放电数据是否满足预设波动条件。In S403, if the charge and discharge data at the current moment is greater than the preset lower limit value of the remaining power, it is detected whether the charge and discharge data at the current moment satisfies the preset fluctuation condition.
在S404中,在当前时刻的充放电数据满足预设波动条件时,将当前时刻的充放电数据作为有效充放电数据。In S404, when the charge and discharge data at the current moment satisfies the preset fluctuation condition, the charge and discharge data at the current moment is used as valid charge and discharge data.
在S405中,在当前时刻的充放电数据不满足预设波动条件时,检测当前时刻的充放电数据之后是否存在小于或等于预设剩余电量下限值的充放电数据,若存在小于或等于预设剩余电量下限值的充放电数据,则将该充放电数据作为充电周期内的第一个有效充放电数据,若不存在小于或等于预设剩余电量下限值的充放电数据,则判定充电周期内的充放电数据不满足预设充电条件。In S405, when the charge and discharge data at the current moment does not meet the preset fluctuation condition, it is detected whether there is charge and discharge data less than or equal to the preset lower limit value of remaining power after the charge and discharge data at the current moment, if there is charge and discharge data less than or equal to the preset lower limit value of remaining power Set the charge and discharge data of the lower limit of the remaining power, then use the charge and discharge data as the first valid charge and discharge data in the charging cycle, if there is no charge and discharge data less than or equal to the preset lower limit of the remaining power, then determine The charge and discharge data in the charge cycle do not meet the preset charge conditions.
在本实施例中,在充电周期内,若当前时刻的充放电数据小于或等于前一时刻的充放电数据,则判断当前时刻的充放电数据是否小于或等于预设剩余电量下限值。In this embodiment, during the charging cycle, if the charge and discharge data at the current moment is less than or equal to the charge and discharge data at the previous moment, it is determined whether the charge and discharge data at the current moment is less than or equal to the preset remaining power lower limit.
若当前时刻的充放电数据小于或等于预设剩余电量下限值,则说明电池的剩余电量存在波动,且波动到预设剩余电量下限值以下,此时,可更新当前时刻的充放电数据作为充电周期的第一个有效充放电数据,以更新后的第一个有效充放电数据作为起点重新开始充放电数据的检测流程。If the charge and discharge data at the current moment is less than or equal to the preset lower limit of remaining power, it means that the remaining power of the battery fluctuates and fluctuates below the preset lower limit of remaining power. At this time, the charge and discharge data at the current moment can be updated. As the first valid charge and discharge data of the charging cycle, the first valid charge and discharge data after the update is taken as the starting point to restart the detection process of the charge and discharge data.
若当前时刻的充放电数据大于预设剩余电量的下限值,则说明电池的剩余电量存在波动,为了获取更加优质的电池充放电数据,需再次检查当前时刻的充放电数据是否满足预设波动条件,若满足预设波动条件,则证明充放电数据虽存在波动,但电池充放电数据波动不大,可较好的放映整个充电过程,因此,仍可获取当前时刻的充放电数据作为有效充放电数据,并将当前时刻的充放电数据作为前一时刻的充放电数据,将下一时刻的充放电数据作为当前时刻的充放电数据,重复当前时刻的充放电数据的前一时刻的充放电数据的比对步骤。If the charge and discharge data at the current moment is greater than the lower limit of the preset remaining capacity, it means that the remaining capacity of the battery fluctuates. In order to obtain better battery charge and discharge data, it is necessary to check again whether the charge and discharge data at the current moment meets the preset fluctuation. If the preset fluctuation conditions are met, it proves that although the charge and discharge data fluctuates, the battery charge and discharge data fluctuates little, and the entire charging process can be better displayed. Therefore, the charge and discharge data at the current moment can still be obtained as a valid charge. Discharge data, use the charge and discharge data of the current time as the charge and discharge data of the previous time, use the charge and discharge data of the next time as the charge and discharge data of the current time, and repeat the charge and discharge of the charge and discharge data of the current time at the previous time Data comparison steps.
从上述实施例可知,通过有效存储数据表示电池系统的整个充电过程,能够有效的利用每一个存储的有效存储数据,提高有效存储数据的整体利用率。It can be seen from the above embodiments that the entire charging process of the battery system is represented by the effective stored data, each stored effective stored data can be effectively used, and the overall utilization rate of the effective stored data can be improved.
如图5所示,在本发明的一个实施例中,图5示出了图4中S403的具体实现流程,其过程详述如下:As shown in FIG. 5, in an embodiment of the present invention, FIG. 5 shows a specific implementation process of S403 in FIG. 4, and the process is described in detail as follows:
在S501中,检测当前时刻的充放电数据是否满足预设单次波动条件。In S501, it is detected whether the charge and discharge data at the current moment satisfies a preset single fluctuation condition.
在S502中,若当前时刻的充放电数据满足预设单次波动条件,则判定当前时刻的充放电数据满足预设波动条件。In S502, if the charge and discharge data at the current moment satisfies the preset single fluctuation condition, it is determined that the charge and discharge data at the current moment meets the preset fluctuation condition.
在S503中,若当前时刻的充放电数据不满足预设单次波动条件,再检测当前时刻的充放电数据是否满足预设累计波动条件,在当前时刻的充放电数据满足预设累计波动条件时,判定当前时刻的充放电数据满足预设波动条件;在当前时刻的充放电数据不满足预设累计波动条件时,判定当前时刻的充放电数据不满足预设波动条件。In S503, if the charge and discharge data at the current moment does not meet the preset single fluctuation condition, then check whether the charge and discharge data at the current moment meets the preset cumulative fluctuation condition, and when the charge and discharge data at the current moment meets the preset cumulative fluctuation condition , it is determined that the charge and discharge data at the current moment satisfies the preset fluctuation condition; when the charge and discharge data at the current moment does not meet the preset cumulative fluctuation condition, it is determined that the charge and discharge data at the current moment does not meet the preset fluctuation condition.
在本实施例中,预设波动条件包括单次波动条件和累计波动条件。In this embodiment, the preset fluctuation conditions include single fluctuation conditions and cumulative fluctuation conditions.
在本实施例中,若当前时刻的充放电数据大于预设剩余电量下限值,说明电池系统在充电过程中存在波动,判断当前时刻的充放电数据是否满足单次波动条件,单次波动条件可以为波动幅度不大于2%。单次波动条件的波动幅度可以为当前时刻的充放电数据和前一时刻的充放电数据的差值,当当前时刻的充放电数据满足单次波动条件时,查看当前时刻的充放电数据是否满足累计波动条件,累计波动条件可以为波动幅度不大于5%,累计波动条件的累计次数可以为2、3或其他累计次数。当累计次数为2时,累计波动幅度为当前时刻的充放电数据与前一时刻的充放电数据的前一时刻充放电数据的差值,当累计波动幅度不大于5%时,说明当前时刻的充放电数据的波动幅度不大,可以将当前时刻的充放电数据作为有效充放电数据。In this embodiment, if the charge and discharge data at the current moment is greater than the preset lower limit value of the remaining power, it means that the battery system fluctuates during the charging process, and it is judged whether the charge and discharge data at the current moment satisfies the single fluctuation condition. The fluctuation range can be no more than 2%. The fluctuation range of the single fluctuation condition can be the difference between the charge and discharge data at the current moment and the charge and discharge data at the previous moment. When the charge and discharge data at the current moment satisfies the single fluctuation condition, check whether the charge and discharge data at the current moment meet the requirements. The cumulative fluctuation condition, the cumulative fluctuation condition can be that the fluctuation range is not more than 5%, and the cumulative number of cumulative fluctuation conditions can be 2, 3 or other cumulative times. When the cumulative number of times is 2, the cumulative fluctuation range is the difference between the charge and discharge data at the current moment and the charge and discharge data at the previous moment. The fluctuation range of the charge and discharge data is not large, and the charge and discharge data at the current moment can be used as the effective charge and discharge data.
当当前时刻的充放电数据不满足单次波动条件时,说明电池系统剩余电量的波动幅度较大,此时检查在当前时刻的充放电数据之后是否存在下限数据,若存在下限数据,则说明电池系统的剩余电量波动到预设剩余电量下限值以下,在此情况下,需将充电周期的第一个有效存放电数据更新为当前时刻之后的第一个下限数据,并从更新后的第一个有效存放电数据开始,重启整个检测流程。When the charge and discharge data at the current moment does not meet the single fluctuation condition, it means that the remaining power of the battery system fluctuates greatly. At this time, check whether there is lower limit data after the charge and discharge data at the current moment. If there is a lower limit data, it means that the battery The remaining power of the system fluctuates below the preset lower limit of remaining power. In this case, it is necessary to update the first valid stored power data of the charging cycle to the first lower limit data after the current moment, and from the updated first data. A valid storage of electrical data begins, restarting the entire detection process.
当在当前时刻的充放电数据之后没有查找到下限数据时,则说明该充电周期的剩余电量波动较大,该充电周期的充放电数据不能很好的反映电池的完整充电过程,因此,可以直接舍弃该充电周期的所有充放电数据。When the lower limit data is not found after the charge and discharge data at the current moment, it means that the remaining power of the charging cycle fluctuates greatly, and the charge and discharge data of the charging cycle cannot well reflect the complete charging process of the battery. Therefore, it is possible to directly Discard all charge and discharge data for this charge cycle.
当当前时刻的充放电数据满足单次波动条件但不满足累计波动条件时,同样的,需要查找当前时刻的充放电数据之后是否存在下限数据,若存在下限数据,则说明电池系统的剩余电量波动到剩余电量下限值以下,在此情况下,需将充电周期的第一个有效数据更新为当前时刻的充放电数据之后的第一个下限数据,并从更新后的第一个有效充放电数据开始,重启整个检测流程。When the charge and discharge data at the current moment satisfies the single fluctuation condition but not the cumulative fluctuation condition, similarly, it is necessary to find out whether there is lower limit data after the charge and discharge data at the current moment. Below the lower limit of the remaining power, in this case, the first valid data of the charging cycle needs to be updated to the first lower limit data after the current charge and discharge data, and the updated first valid charge and discharge The data starts, and the entire detection process is restarted.
当在当前时刻的充放电数据之后没有查找到下限数据时,则说明该充电周期的剩余电量波动较大,该充电周期的初始数据不能很好的反映电池的完整充电过程,因此,可以直接舍弃该充电周期的所有初始数据。When the lower limit data is not found after the charging and discharging data at the current moment, it means that the remaining power of the charging cycle fluctuates greatly, and the initial data of the charging cycle cannot well reflect the complete charging process of the battery. Therefore, it can be directly discarded. All initial data for this charge cycle.
如图6所示,在本发明的一个实施例中,图6示出了图1中S102的具体实现流程,其过程详述如下:As shown in FIG. 6, in an embodiment of the present invention, FIG. 6 shows a specific implementation process of S102 in FIG. 1, and the process is described in detail as follows:
在S601中,将所述充放电数据按照时间顺序排列。In S601, the charge and discharge data are arranged in time sequence.
在S602中,比对当前时刻的充放电数据与前一时刻的充放电数据,在当前时刻的充放电数据小于前一时刻的充放电数据时,将当前时刻的充放电数据作为有效充放电数据。In S602, compare the charge and discharge data at the current time with the charge and discharge data at the previous time, and when the charge and discharge data at the current time is smaller than the charge and discharge data at the previous time, use the charge and discharge data at the current time as valid charge and discharge data .
在S603中,判断当前时刻的充放电数据是否小于或等于预设剩余电量下限值。In S603, it is determined whether the charge and discharge data at the current moment is less than or equal to a preset lower limit value of remaining power.
在S604中,若当前时刻的充放电数据大于预设剩余电量下限值,则将当前时刻的充放电数据作为前一时刻的充放电数据,将下一时刻的充放电数据作为当前时刻的充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;若当前时刻的充放电数据小于或等于预设剩余电量下限值,则根据所有有效充放电数据进行电池系统的充放电数据存储。In S604, if the charge and discharge data at the current moment is greater than the preset lower limit value of remaining power, the charge and discharge data at the current moment is used as the charge and discharge data at the previous moment, and the charge and discharge data at the next moment is regarded as the charge and discharge data at the current moment. discharge data, and perform the step of comparing the charge and discharge data at the current moment with the charge and discharge data at the previous moment; The data is used for charging and discharging data storage of the battery system.
在本实施例中,充电/放电周期还包括放电周期,预设充电/放电条件还包括预设放电条件。与上述获取充电周期的有效充放电数据的方法相同,根据预设放电条件获取放电周期的有效充放电数据。In this embodiment, the charge/discharge cycle further includes a discharge cycle, and the preset charge/discharge condition further includes a preset discharge condition. In the same way as the above-mentioned method for obtaining valid charge and discharge data of a charge cycle, the valid charge and discharge data of a discharge cycle is obtained according to a preset discharge condition.
如图7所示,在本发明的一个实施例中,图7示出了图1中S102的具体实现流程,其过程详述如下:As shown in FIG. 7, in an embodiment of the present invention, FIG. 7 shows a specific implementation process of S102 in FIG. 1, and the process is described in detail as follows:
在S701中,在当前时刻的充放电数据大于或等于前一时刻的充放电数据时,判断当前时刻的充放电数据是否大于或等于预设剩余电量上限值;In S701, when the charge-discharge data at the current moment is greater than or equal to the charge-discharge data at the previous moment, determine whether the charge-discharge data at the current moment is greater than or equal to a preset upper limit of the remaining power;
在S702中,若当前时刻的充放电数据大于或等于预设剩余电量上限值,则将当前时刻的充放电数据作为放电周期内的第一个有效充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;In S702, if the charge and discharge data at the current moment is greater than or equal to the preset upper limit of remaining power, the charge and discharge data at the current moment is taken as the first valid charge and discharge data in the discharge cycle, and the comparison of the current charge and discharge data is performed. Steps of charging and discharging data at the moment and charging and discharging data at the previous moment;
在S703中,若当前时刻的充放电数据小于预设剩余电量上限值,则检测当前时刻的充放电数据是否满足预设波动条件;In S703, if the charge and discharge data at the current moment is less than the preset upper limit value of the remaining power, it is detected whether the charge and discharge data at the current moment satisfies the preset fluctuation condition;
在S704中,在当前时刻的充放电数据满足预设波动条件时,将当前时刻的充放电数据作为有效充放电数据;In S704, when the charge and discharge data at the current moment satisfies the preset fluctuation condition, the charge and discharge data at the current moment is used as valid charge and discharge data;
在当前时刻的充放电数据不满足预设波动条件时,检测当前时刻的充放电数据之后是否存在大于或等于预设剩余电量上限值的充放电数据,若存在大于或等于预设剩余电量上限值的充放电数据,则将该充放电数据作为放电周期内的第一个有效充放电数据,若不存在大于或等于预设剩余电量上限值的充放电数据,则判定放电周期内的充放电数据不满足预设放电条件。When the charge and discharge data at the current moment does not meet the preset fluctuation condition, check whether there is charge and discharge data greater than or equal to the preset upper limit of remaining power after the charge and discharge data at the current moment. If there is no charge and discharge data that is greater than or equal to the preset upper limit of remaining power, it is determined that the charge and discharge data in the discharge cycle is the first valid charge and discharge data in the discharge cycle. The charge and discharge data do not meet the preset discharge conditions.
如图8所示,在本发明的一个实施例中,图8示出了图7中S703的具体实现流程,其过程详述如下:As shown in FIG. 8, in an embodiment of the present invention, FIG. 8 shows a specific implementation process of S703 in FIG. 7, and the process is described in detail as follows:
在S801中,检测当前时刻的充放电数据是否满足预设单次波动条件;In S801, it is detected whether the charge and discharge data at the current moment satisfies a preset single fluctuation condition;
在S802中,若当前时刻的充放电数据满足预设单次波动条件,则判定当前时刻的充放电数据满足预设波动条件;In S802, if the charge and discharge data at the current moment satisfies the preset single fluctuation condition, it is determined that the charge and discharge data at the current moment meets the preset fluctuation condition;
在S803中,若当前时刻的充放电数据不满足预设单次波动条件,再检测当前时刻的充放电数据是否满足预设累计波动条件,在当前时刻的充放电数据满足预设累计波动条件时,判定当前时刻的充放电数据满足预设波动条件;在当前时刻的充放电数据不满足预设累计波动条件时,判定当前时刻的充放电数据不满足预设波动条件。In S803, if the charge and discharge data at the current moment does not meet the preset single fluctuation condition, then check whether the charge and discharge data at the current moment meets the preset cumulative fluctuation condition, and when the charge and discharge data at the current moment meets the preset cumulative fluctuation condition , it is determined that the charge and discharge data at the current moment satisfies the preset fluctuation condition; when the charge and discharge data at the current moment does not meet the preset cumulative fluctuation condition, it is determined that the charge and discharge data at the current moment does not meet the preset fluctuation condition.
在本发明的一个实施例中,图1中S102的实现流程还包括:In an embodiment of the present invention, the implementation process of S102 in FIG. 1 further includes:
在一个实施例中,将充电/放电周期内的第一个有效充放电数据之前第二预设时间段内的充放电数据作为充电/放电周期对应的充电/放电起始数据;将充电/放电周期内的最后一个有效充放电数据之后第二预设时间段内的充放电数据作为充电/放电周期对应的充电/放电末尾数据;将充电/放电起始数据、所有有效充放电数据和充电/放电末尾数据作为电池系统的充电/放电周期数据进行存储。In one embodiment, the charge/discharge data in the second preset time period before the first valid charge/discharge data in the charge/discharge cycle is used as the charge/discharge start data corresponding to the charge/discharge cycle; The charge/discharge data in the second preset time period after the last valid charge/discharge data in the cycle is taken as the charge/discharge end data corresponding to the charge/discharge cycle; the charge/discharge start data, all valid charge/discharge data and the charge/discharge data The end-of-discharge data is stored as charge/discharge cycle data for the battery system.
在本实施例中,第二预设时间段可以取1个小时,充电/放电周期包括充电周期、放电周期,也可以包括充放电周期。当充电/放电周期为充放电周期时,保存充放电周期第一个有效充放电数据之前1个小时内的充放电数据作为充放电起点数据,及最后一个有效充放电数据之后1个小时内的充放电数据作为充放电末尾数据,在本实施例中,充放电周期为包括充电-放电过程的周期,也可以为包括放电-充电过程的周期。In this embodiment, the second preset time period may be 1 hour, and the charge/discharge cycle includes a charge cycle, a discharge cycle, and may also include a charge and discharge cycle. When the charge/discharge cycle is a charge/discharge cycle, the charge/discharge data within 1 hour before the first valid charge/discharge data of the charge/discharge cycle is stored as the charge/discharge starting point data, and the charge/discharge data within 1 hour after the last valid charge/discharge data is saved. The charge-discharge data is used as the charge-discharge end data. In this embodiment, the charge-discharge cycle is a cycle including a charge-discharge process, and may also be a cycle including a discharge-charge process.
在本实施例中,当充电/放电周期为充电周期时,还可以保存充电周期的第一个有效充放电数据之前第二预设时间段内的充放电数据作为充电起点数据,并保存充电周期的最后一个有效充放电数据之后第二预设时间段内的充放电数据作为充电末尾数据。In this embodiment, when the charging/discharging cycle is a charging cycle, the charging and discharging data within the second preset time period before the first effective charging and discharging data of the charging cycle can also be saved as the charging starting point data, and the charging cycle is also saved. The charge-discharge data within the second preset time period after the last valid charge-discharge data of , is taken as the charge-end data.
在本实施例中,当充电/放电周期为放电周期时,还可以保存放电周期的第一个有效充放电数据之前第二预设时间段内的充放电数据作为放电起点数据,并保存放电周期的最后一个有效充放电数据之后第二预设时间段内的充放电数据作为放电末尾数据。In this embodiment, when the charge/discharge cycle is a discharge cycle, the charge and discharge data in the second preset time period before the first valid charge and discharge data of the discharge cycle can also be saved as the discharge starting point data, and the discharge cycle can also be saved The charge and discharge data within the second preset time period after the last valid charge and discharge data of , are regarded as discharge end data.
通过保存充电/放电周期前后两端一个小时内的充放电数据,可以根据前后两端一个小时内的充放电数据研究剩余电量不足的电池系统的性能及电池系统满电状态下的性能。By saving the charge and discharge data within one hour at both ends of the charge/discharge cycle, the performance of the battery system with insufficient remaining power and the performance of the battery system in a fully charged state can be studied based on the charge and discharge data within one hour at both ends of the charge/discharge cycle.
本发明提供的电池充放电数据存储方法还包括:The battery charging and discharging data storage method provided by the present invention further includes:
当预设存储周期内已存储预设数量的充电/放电周期对应的充电/放电周期数据时,每新增存储一个充电/放电周期对应的充电/放电周期数据,则删除所述预设存储周期内最早的充电/放电周期对应的充电/放电周期数据。When charge/discharge cycle data corresponding to a preset number of charge/discharge cycles have been stored within the preset storage period, the preset storage cycle will be deleted each time a new charge/discharge cycle corresponding to charge/discharge cycle data is stored. The charge/discharge cycle data corresponding to the earliest charge/discharge cycle in the
在本实施例中,预设存储周期可以取90天,预设数量可以取5个,充电/放电周期数据按照充电/放电周期的时间先后进行存储。在90天内只存储电池系统的5个完整的充电/放电周期的充电/放电周期数据,并在新增充电/放电周期时,将新增的充电/放电周期的充电/放电周期数据覆盖最早的充放电周期的充电/放电周期数据。In this embodiment, the preset storage period may be 90 days, the preset number may be 5, and the charge/discharge cycle data are stored in sequence according to the time of the charge/discharge cycle. Only the charge/discharge cycle data of 5 complete charge/discharge cycles of the battery system is stored within 90 days, and when a new charge/discharge cycle is added, the charge/discharge cycle data of the newly added charge/discharge cycle will be overwritten with the earliest charge/discharge cycle data. Charge/discharge cycle data for charge and discharge cycles.
从上述实施例可知,通过将新增的充电/放电周期的充电/放电周期数据覆盖最早的充电/放电周期的充电/放电周期数据,使电池监控系统能获取足够的充放电数据以研究电池的性能,又能节省监控系统的空间,提高监控系统的整体稳定性。It can be seen from the above embodiment that by covering the charge/discharge cycle data of the newly added charge/discharge cycle with the charge/discharge cycle data of the earliest charge/discharge cycle, the battery monitoring system can obtain enough charge and discharge data to study the battery's charge/discharge cycle data. It can save the space of the monitoring system and improve the overall stability of the monitoring system.
如图11所示,以一个具体的应用场景为例,充电周期内有效充放电数据的提取过程包括:As shown in Figure 11, taking a specific application scenario as an example, the process of extracting valid charge and discharge data during a charging cycle includes:
步骤1:从充电周期内的第一个有效充放电数据开始检测,跳转至步骤2;Step 1: Start the detection from the first valid charge and discharge data in the charging cycle, and jump to step 2;
步骤2:取前一时刻的充放电数据为SOC1,跳转至步骤3;Step 2: Take the charge and discharge data at the previous moment as SOC1, and jump to step 3;
步骤3:取当前时刻的充当的数据为SOC2,跳转至步骤4;Step 3: Take the data acting at the current moment as SOC2, and jump to Step 4;
步骤4:比较SOC1和SOC2的大小,若SOC1<SOC2,跳转至步骤5,若SOC1≥SOC2,跳转至步骤6;Step 4: Compare the size of SOC1 and SOC2, if SOC1<SOC2, jump to step 5, if SOC1≥SOC2, jump to step 6;
步骤5:将SOC2标记为有效充放电数据,并跳转至步骤13;Step 5: mark SOC2 as valid charge and discharge data, and jump to step 13;
步骤6:判断SOC2是否为下限数据,若是,则跳转至步骤7,若否,则跳转至步骤8;Step 6: determine whether SOC2 is the lower limit data, if so, jump to step 7, if not, jump to step 8;
步骤7:将SOC2作为更新后的充电周期的第一个有效充放电数据,并跳转至步骤12;Step 7: take SOC2 as the first valid charge and discharge data of the updated charge cycle, and jump to step 12;
步骤8,判断SOC2是否满足单次波动条件,若是,跳转至步骤10,若否,跳转至步骤9;
步骤9:判断SOC2是否满足累计波动条件,若是,跳转至步骤5,若否,跳转至步骤10;Step 9: Determine whether SOC2 satisfies the cumulative fluctuation condition, if yes, go to
步骤10:判断SOC2之后的充放电数据中是否存在下限数据,若是,跳转至步骤11,若否,调准至步骤13;Step 10: Determine whether there is lower limit data in the charge and discharge data after SOC2, if yes, jump to Step 11, if not, adjust to Step 13;
步骤11:取SOC2之后的第一个下限数据为更新后的第一个有效充放电数据,并跳转至步骤12;Step 11: Take the first lower limit data after SOC2 as the updated first valid charge and discharge data, and jump to step 12;
步骤12:清除更新后的充电周期内的第一个有效充放电数据之前的有效充放电数据的标记;Step 12: Clear the mark of the valid charge and discharge data before the first valid charge and discharge data in the updated charging cycle;
步骤13:判断SOC2是否为上限数据,若是,跳转至步骤14,若否,跳转至步骤2;Step 13: Determine whether SOC2 is the upper limit data, if yes, go to
步骤14:结束流程。Step 14: End the process.
在本实施例中,当判断为上述SOC1和SOC2之后,若SOC2为有效充放电数据,且SOC2不是上限数据,则继续判断SOC2和SOC3,SOC3为SOC2之后的充放电数据,重复上个过程,直至检测完充电周期内所有的充放电数据。In this embodiment, after judging the above SOC1 and SOC2, if SOC2 is valid charge and discharge data, and SOC2 is not the upper limit data, then continue to judge SOC2 and SOC3, SOC3 is the charge and discharge data after SOC2, repeat the previous process, Until all the charge and discharge data in the charge cycle are detected.
从上述实施例可知,通过依次比对两个相邻充放电数据,能够准确的查找到充电周期的第一个有效充放电数据,并直接清除波动幅度较大的充电周期的充放电数据,使获取的有效充放电数据更能准确的反映电池系统的完整的充电周期,提高有效存储数据的利用率。It can be seen from the above embodiment that by sequentially comparing two adjacent charge and discharge data, the first effective charge and discharge data of the charge cycle can be accurately found, and the charge and discharge data of the charge cycle with a large fluctuation range can be directly cleared, so that the The acquired effective charge and discharge data can more accurately reflect the complete charging cycle of the battery system, and improve the utilization rate of the effectively stored data.
从上述实施例可知,通过本实施例提供的存储方法,能有效记录电池的充电及放电周期的完整数据,有利于后续对于电池充放电性能研究的数据分析,并排除掉大部分价值较低的数据,提高电池数据分析的有效利用率,更能有效减少单体电池的信息存储量,提高系统整体性能及稳定性。It can be seen from the above embodiment that the storage method provided by this embodiment can effectively record the complete data of the charging and discharging cycle of the battery, which is beneficial to the subsequent data analysis of the research on the charging and discharging performance of the battery, and eliminates most of the low-value batteries. Data, improve the effective utilization of battery data analysis, can effectively reduce the information storage capacity of the single battery, and improve the overall performance and stability of the system.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
实施例2:Example 2:
如图10所示,本发明的一个实施例提供的电池充放电数据存储装置100,用于执行图1所对应的实施例中的方法步骤,其包括:As shown in FIG. 10 , a battery charging and discharging
充电/放电周期获取模块110,用于获取第一预设时间段内电池系统产生的充放电数据,并根据所述充放电数据,确定所述充放电数据是否满足所述电池系统的一个充电/放电周期;The charging/discharging
充放电数据存储模块120,用于在确定所述充放电数据满足所述电池系统的一个充电/放电周期时,检测位于所述充电/放电周期内的充放电数据是否满足预设充电/放电条件,若位于所述充电/放电周期内的充放电数据满足预设充电/放电条件,则根据满足所述预设充电/放电条件的充放电数据进行电池系统的充放电数据存储。The charge-discharge
从上述实施例可知,本发明实施例获取第一预设时间段内电池系统产生的充放电数据,并根据所述充放电数据,确定所述充放电数据是否满足所述电池系统的一个充电/放电周期;在确定所述充放电数据满足所述电池系统的一个充电/放电周期时,检测位于所述充电/放电周期内的充放电数据是否满足预设充电/放电条件,若位于所述充电/放电周期内的充放电数据满足预设充电/放电条件,则根据满足所述预设充电/放电条件的充放电数据进行电池系统的充放电数据存储。由于充电/放电周期内的数据是研究电池物理特性的重要依据,所以本发明实施例仅存储满足预设充电/放电条件的充电/放电周期的充放电数据,从而既能够减少需要存储的电池数据量,节省系统空间,又能够提高电池数据的整体利用率。It can be seen from the above embodiments that the embodiment of the present invention acquires the charge and discharge data generated by the battery system within the first preset time period, and determines whether the charge and discharge data satisfies a charge/discharge requirement of the battery system according to the charge and discharge data. a discharge cycle; when it is determined that the charge and discharge data satisfies a charge/discharge cycle of the battery system, detect whether the charge and discharge data within the charge/discharge cycle meet a preset charge/discharge condition, if the charge/discharge data is in the charge/discharge cycle The charge/discharge data in the /discharge cycle satisfies the preset charge/discharge condition, and then the charge/discharge data of the battery system is stored according to the charge/discharge data that meets the preset charge/discharge condition. Since the data in the charging/discharging cycle is an important basis for studying the physical characteristics of the battery, the embodiment of the present invention only stores the charging/discharging data of the charging/discharging cycle that meets the preset charging/discharging conditions, thereby reducing the battery data that needs to be stored It can save system space and improve the overall utilization of battery data.
在本发明的一个实施例中,图10所对应的实施例中的充电/放电周期获取模块110还包括:在所述充放电数据中存在小于预设剩余电量下限值且同时存在大于或等于预设剩余电量上限值的充放电数据时,则确定所述充放电数据满足所述电池系统的一个充电/放电周期。In an embodiment of the present invention, the charge/discharge
在本发明的一个实施例中,图10中充电/放电周期获取模块110还包括用于执行图2所对应的实施例中的方法步骤的结构,其包括:In an embodiment of the present invention, the charge/discharge
顺序排列单元,用于将所述充放电数据按照时间顺序排列;a sequential arranging unit for arranging the charge and discharge data in chronological order;
第一充电/放电周期获取单元,用于若任意两个小于或等于预设剩余电量下限值的充放电数据之间存在至少一个大于或等于预设剩余电量上限值的充放电数据,则确定所述任意两个小于预设剩余电量下限值的充放电数据之间存在满足所述电池系统的一个充电/放电周期的充放电数据;或The first charge/discharge cycle acquisition unit is configured to, if there is at least one charge and discharge data greater than or equal to the preset upper limit of remaining power between any two charge and discharge data less than or equal to the preset lower limit of remaining power, then It is determined that there is charge and discharge data that satisfies one charge/discharge cycle of the battery system between any two charge and discharge data that is less than a preset lower limit value of remaining power; or
第二充电/放电周期获取单元,用于若任意两个大于或等于预设剩余电量上限值的充放电数据之间存在至少一个小于或等于预设剩余电量下限值的充放电数据,则确定所述任意两个大于或等于预设剩余电量上限值的充放电数据之间存在满足所述电池系统的一个充电/放电周期的充放电数据。The second charge/discharge cycle acquisition unit is configured to, if there is at least one charge and discharge data less than or equal to the preset lower limit of remaining power between any two charge and discharge data greater than or equal to the preset upper limit of remaining power, then It is determined that there is charge and discharge data satisfying one charge/discharge cycle of the battery system between any two charge and discharge data greater than or equal to a preset upper limit value of remaining power.
从上述实施例可知,通过上述方法可以有效的检测出预设时间段内的充放电数据是否存在充电/放电周期,并存储充电/放电周期的充放电数据,从而提高存储的数据的利用率,减少系统占用空间。It can be seen from the above embodiment that the above method can effectively detect whether there is a charging/discharging cycle in the charging/discharging data within a preset time period, and store the charging/discharging data of the charging/discharging cycle, thereby improving the utilization rate of the stored data, Reduce system footprint.
在本发明的一个实施例中,图10中充放电数据存储模块120还包括用于执行图3所对应的实施例中的方法步骤的结构,其包括:In one embodiment of the present invention, the charge-discharge
第一数据排列单元,用于将所述充放电数据按照时间顺序排列;a first data arranging unit, used for arranging the charging and discharging data in chronological order;
第一数据比对单元,用于比对当前时刻的充放电数据与前一时刻的充放电数据,在当前时刻的充放电数据大于前一时刻的充放电数据时,将当前时刻的充放电数据作为有效充放电数据;The first data comparison unit is used to compare the charge and discharge data at the current moment with the charge and discharge data at the previous moment, and when the charge and discharge data at the current moment is greater than the charge and discharge data at the previous moment, compare the charge and discharge data at the current moment as valid charge and discharge data;
第一上限判断单元,用于判断当前时刻的充放电数据是否大于或等于预设剩余电量上限值;a first upper limit judgment unit, used for judging whether the charge and discharge data at the current moment is greater than or equal to the preset upper limit of the remaining power;
第一数据存储单元,用于若当前时刻的充放电数据小于预设剩余电量上限值,则将当前时刻的充放电数据作为前一时刻的充放电数据,将下一时刻的充放电数据作为当前时刻的充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;若当前时刻的充放电数据大于或等于预设剩余电量上限值,则根据所有有效充放电数据进行电池系统的充放电数据存储。The first data storage unit is configured to use the charge and discharge data at the current moment as the charge and discharge data at the previous moment, and the charge and discharge data at the next moment as charge and discharge data at the current moment, and perform the step of comparing the charge and discharge data at the current moment with the charge and discharge data at the previous moment; if the charge and discharge data at the current moment is greater than or equal to the preset upper limit of remaining power, the All valid charge and discharge data are stored for battery system charge and discharge data.
在本发明的一个实施例中,图10中充放电数据存储模块120还包括用于执行图4所对应的实施例中的方法步骤的结构,其包括:In an embodiment of the present invention, the charge-discharge
第一下限判断单元,用于在当前时刻的充放电数据小于或等于前一时刻的充放电数据时,判断当前时刻的充放电数据是否小于或等于预设剩余电量下限值;a first lower limit judgment unit, configured to judge whether the charge and discharge data at the current moment is less than or equal to the preset remaining power lower limit value when the charge and discharge data at the current moment is less than or equal to the charge and discharge data at the previous moment;
第一比对更新单元,用于若当前时刻的充放电数据小于或等于预设剩余电量下限值,则将当前时刻的充放电数据作为充电周期内的第一个有效充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;The first comparison and update unit is configured to use the charge and discharge data at the current moment as the first valid charge and discharge data in the charging cycle if the charge and discharge data at the current moment is less than or equal to the preset lower limit of remaining power, and execute the the step of comparing the charge and discharge data at the current moment with the charge and discharge data at the previous moment;
第一波动条件判断单元,用于若当前时刻的充放电数据大于预设剩余电量下限值,则检测当前时刻的充放电数据是否满足预设波动条件;a first fluctuation condition judging unit, configured to detect whether the charge and discharge data at the current moment satisfies the preset fluctuation condition if the charge and discharge data at the current moment is greater than the preset lower limit of the remaining power;
第一有效数据判断单元,用于在当前时刻的充放电数据满足预设波动条件时,将当前时刻的充放电数据作为有效充放电数据;a first valid data judging unit, configured to use the charge and discharge data at the current moment as valid charge and discharge data when the charge and discharge data at the current moment meets a preset fluctuation condition;
第二有效数据确定单元,用于在当前时刻的充放电数据不满足预设波动条件时,检测当前时刻的充放电数据之后是否存在小于或等于预设剩余电量下限值的充放电数据,若存在小于或等于预设剩余电量下限值的充放电数据,则将该充放电数据作为充电周期内的第一个有效充放电数据,若不存在小于或等于预设剩余电量下限值的充放电数据,则判定充电周期内的充放电数据不满足预设充电条件。The second valid data determination unit is configured to detect whether there is charge and discharge data less than or equal to the preset lower limit of remaining power after the charge and discharge data at the current moment when the charge and discharge data at the current moment does not meet the preset fluctuation condition, and if If there is charge and discharge data less than or equal to the preset lower limit of remaining power, the charge and discharge data will be regarded as the first valid charge and discharge data in the charging cycle. If there is no charge and discharge data less than or equal to the preset lower limit of remaining power. discharge data, then it is determined that the charge and discharge data in the charging cycle does not meet the preset charging conditions.
从上述实施例可知,通过有效存储数据表示电池系统的整个充电过程,能够有效的利用每一个存储的有效存储数据,提高有效存储数据的整体利用率。It can be seen from the above embodiments that the entire charging process of the battery system is represented by the effective stored data, each stored effective stored data can be effectively used, and the overall utilization rate of the effective stored data can be improved.
在本发明的一个实施例中,波动条件判断单元还包括用于执行图5所对应的实施例中的方法步骤的结构,其包括:In an embodiment of the present invention, the fluctuation condition determination unit further includes a structure for performing the method steps in the embodiment corresponding to FIG. 5 , including:
第一单次波动判断子单元,用于检测当前时刻的充放电数据是否满足预设单次波动条件;The first single fluctuation judging subunit is used to detect whether the charge and discharge data at the current moment satisfies the preset single fluctuation condition;
第一波动条件判断子单元,用于若当前时刻的充放电数据满足预设单次波动条件,则判定当前时刻的充放电数据满足预设波动条件;a first fluctuation condition determination subunit, configured to determine that the charge and discharge data at the current moment satisfies the preset fluctuation condition if the charge and discharge data at the current moment satisfies the preset single fluctuation condition;
第二波动条件判断子单元,用于若当前时刻的充放电数据不满足预设单次波动条件,再检测当前时刻的充放电数据是否满足预设累计波动条件,在当前时刻的充放电数据满足预设累计波动条件时,判定当前时刻的充放电数据满足预设波动条件;在当前时刻的充放电数据不满足预设累计波动条件时,判定当前时刻的充放电数据不满足预设波动条件。The second fluctuation condition judging subunit is used to detect whether the charge and discharge data at the current moment satisfies the preset cumulative fluctuation condition if the charge and discharge data at the current moment does not meet the preset single fluctuation condition, and the charge and discharge data at the current moment satisfy the preset single fluctuation condition. When the accumulated fluctuation condition is preset, it is determined that the charge and discharge data at the current moment satisfies the preset fluctuation condition; when the charge and discharge data at the current moment does not meet the preset accumulated fluctuation condition, it is determined that the charge and discharge data at the current moment does not meet the preset fluctuation condition.
在本发明的一个实施例中,图10中充放电数据存储模块120还包括用于执行图6所对应的实施例中的方法步骤的结构,其包括:In an embodiment of the present invention, the charge-discharge
第二数据排列单元,用于将所述充放电数据按照时间顺序排列;a second data arranging unit, configured to arrange the charge and discharge data in chronological order;
第二数据比对单元,用于比对当前时刻的充放电数据与前一时刻的充放电数据,在当前时刻的充放电数据小于前一时刻的充放电数据时,将当前时刻的充放电数据作为有效充放电数据;The second data comparison unit is used to compare the charge and discharge data at the current moment with the charge and discharge data at the previous moment, and when the charge and discharge data at the current moment is smaller than the charge and discharge data at the previous moment, compare the charge and discharge data at the current moment as valid charge and discharge data;
第二下限判断单元,用于判断当前时刻的充放电数据是否小于或等于预设剩余电量下限值;The second lower limit judgment unit is used for judging whether the charge and discharge data at the current moment is less than or equal to the preset lower limit of the remaining power;
第二数据存储单元,用于若当前时刻的充放电数据大于预设剩余电量下限值,则将当前时刻的充放电数据作为前一时刻的充放电数据,将下一时刻的充放电数据作为当前时刻的充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;若当前时刻的充放电数据小于或等于预设剩余电量下限值,则根据所有有效充放电数据进行电池系统的充放电数据存储。The second data storage unit is configured to use the charge and discharge data at the current moment as the charge and discharge data at the previous moment, and the charge and discharge data at the next moment as charge and discharge data at the current moment, and perform the step of comparing the charge and discharge data at the current moment with the charge and discharge data at the previous moment; if the charge and discharge data at the current moment is less than or equal to the preset lower limit of remaining power, the All valid charge and discharge data are stored for battery system charge and discharge data.
在本发明的一个实施例中,图10中充放电数据存储模块120还包括用于执行图7所对应的实施例中的方法步骤的结构,其包括:In an embodiment of the present invention, the charge-discharge
第二上限判断单元,用于在当前时刻的充放电数据大于或等于前一时刻的充放电数据时,判断当前时刻的充放电数据是否大于或等于预设剩余电量上限值;The second upper limit judgment unit is configured to judge whether the charge and discharge data at the current moment is greater than or equal to the preset remaining power upper limit when the charge and discharge data at the current moment is greater than or equal to the charge and discharge data at the previous moment;
第二比对更新单元,用于若当前时刻的充放电数据大于或等于预设剩余电量上限值,则将当前时刻的充放电数据作为放电周期内的第一个有效充放电数据,并执行所述比对当前时刻的充放电数据与前一时刻的充放电数据的步骤;The second comparison and update unit is configured to use the charge and discharge data at the current moment as the first valid charge and discharge data in the discharge cycle if the charge and discharge data at the current moment is greater than or equal to the preset upper limit of the remaining power, and execute the step of comparing the charge and discharge data at the current moment with the charge and discharge data at the previous moment;
第二波动条件判断单元,用于若当前时刻的充放电数据小于预设剩余电量上限值,则检测当前时刻的充放电数据是否满足预设波动条件;a second fluctuation condition judgment unit, configured to detect whether the charge and discharge data at the current moment satisfies the preset fluctuation condition if the charge and discharge data at the current moment is less than the preset upper limit of the remaining power;
第三有效数据判断单元,用于在当前时刻的充放电数据满足预设波动条件时,将当前时刻的充放电数据作为有效充放电数据;a third valid data determination unit, configured to use the charge and discharge data at the current moment as the valid charge and discharge data when the charge and discharge data at the current moment meets the preset fluctuation condition;
第四有效数据判断单元,用于在当前时刻的充放电数据不满足预设波动条件时,检测当前时刻的充放电数据之后是否存在大于或等于预设剩余电量上限值的充放电数据,若存在大于或等于预设剩余电量上限值的充放电数据,则将该充放电数据作为放电周期内的第一个有效充放电数据,若不存在大于或等于预设剩余电量上限值的充放电数据,则判定放电周期内的充放电数据不满足预设放电条件。The fourth valid data judging unit is used to detect whether there is charge and discharge data greater than or equal to the preset upper limit of remaining power after the charge and discharge data at the current moment when the charge and discharge data at the current moment does not meet the preset fluctuation condition, if If there is charge and discharge data that is greater than or equal to the preset upper limit of remaining power, the charge and discharge data will be regarded as the first valid charge and discharge data in the discharge cycle. If there is no charge that is greater than or equal to the preset upper limit of remaining power discharge data, it is determined that the charge and discharge data in the discharge cycle do not meet the preset discharge conditions.
在本发明的一个实施例中,第二波动条件判断单元还包括用于执行图8所对应的实施例中的方法步骤的结构,其包括:In an embodiment of the present invention, the second fluctuation condition determination unit further includes a structure for performing the method steps in the embodiment corresponding to FIG. 8 , including:
第二单次波动判断子单元,用于检测当前时刻的充放电数据是否满足预设单次波动条件;The second single fluctuation judging subunit is used to detect whether the charge and discharge data at the current moment satisfies the preset single fluctuation condition;
第三波动条件判断子单元,用于若当前时刻的充放电数据满足预设单次波动条件,则判定当前时刻的充放电数据满足预设波动条件;a third fluctuation condition judgment subunit, configured to determine that the charge and discharge data at the current moment satisfies the preset fluctuation condition if the charge and discharge data at the current moment satisfies the preset single fluctuation condition;
第四波动条件判断子单元,用于若当前时刻的充放电数据不满足预设单次波动条件,再检测当前时刻的充放电数据是否满足预设累计波动条件,在当前时刻的充放电数据满足预设累计波动条件时,判定当前时刻的充放电数据满足预设波动条件;在当前时刻的充放电数据不满足预设累计波动条件时,判定当前时刻的充放电数据不满足预设波动条件。The fourth fluctuation condition judging subunit is used for, if the charge and discharge data at the current moment does not meet the preset single fluctuation condition, then detect whether the charge and discharge data at the current moment meets the preset cumulative fluctuation condition, and the charge and discharge data at the current moment satisfy the preset single fluctuation condition. When the accumulated fluctuation condition is preset, it is determined that the charge and discharge data at the current moment satisfies the preset fluctuation condition; when the charge and discharge data at the current moment does not meet the preset accumulated fluctuation condition, it is determined that the charge and discharge data at the current moment does not meet the preset fluctuation condition.
在本发明的一个实施例中,图10中充放电数据存储模块120还包括:In an embodiment of the present invention, the charge-discharge
充电/放电起点数据获取单元,用于将充电/放电周期内的第一个有效充放电数据之前第二预设时间段内的充放电数据作为充电/放电周期对应的充电/放电起始数据;a charge/discharge start point data acquisition unit, configured to use the charge/discharge data in the second preset time period before the first valid charge/discharge data in the charge/discharge cycle as the charge/discharge start data corresponding to the charge/discharge cycle;
充电末尾数据获取单元,用于将充电/放电周期内的最后一个有效充放电数据之后第二预设时间段内的充放电数据作为充电/放电周期对应的充电/放电末尾数据;an end-of-charge data acquisition unit, configured to use the charge-discharge data in the second preset time period after the last valid charge-discharge data in the charge/discharge cycle as the charge/discharge end-of-charge data corresponding to the charge/discharge cycle;
充电数据存储单元,用于将充电/放电起始数据、所有有效充放电数据和充电/放电末尾数据作为电池系统的充电/放电周期数据进行存储。The charge data storage unit is used for storing charge/discharge start data, all valid charge/discharge data, and charge/discharge end data as charge/discharge cycle data of the battery system.
在本发明的一个实施例中,电池充放电数据存储装置还包括:In an embodiment of the present invention, the battery charge and discharge data storage device further includes:
周期存储模块,用于当预设存储周期内已存储预设数量的充电/放电周期对应的充电/放电周期数据时,每新增存储一个充电/放电周期对应的充电/放电周期数据,则删除所述预设存储周期内最早的充电/放电周期对应的充电/放电周期数据。The cycle storage module is used to delete the charge/discharge cycle data corresponding to a new charge/discharge cycle when the charge/discharge cycle data corresponding to a preset number of charge/discharge cycles have been stored within the preset storage cycle. Charge/discharge cycle data corresponding to the earliest charge/discharge cycle in the preset storage cycle.
在一个实施例中,电池充放电数据存储装置100还包括其他功能模块/单元,用于实现实施例1中各实施例中的方法步骤。In one embodiment, the battery charge-discharge
实施例3:Example 3:
如图11所示,本发明实施例还提供了一种终端设备11,包括存储器111、处理器113以及存储在存储器111中并可在处理器113上运行的计算机程序112,处理器113执行所述计算机程序112时实现如实施例1中所述的各实施例中的步骤,例如图1所示的步骤S101至步骤S102。或者,所述处理器113执行所述计算机程序112时实现如实施例2中所述的各装置实施例中的各模块的功能,例如图10所示的模块110至120的功能。As shown in FIG. 11 , an embodiment of the present invention further provides a
所述终端设备11可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备11可包括,但不仅限于,处理器113、存储器111。例如所述终端设备11还可以包括输入输出设备、网络接入设备、总线等。The
所称处理器113可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器113也可以是任何常规的处理器113等。The so-called
所述存储器111可以是所述终端设备11的内部存储单元,例如终端设备11的硬盘或内存。所述存储器111也可以是所述终端设备11的外部存储设备,例如所述终端设备11上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器111还可以既包括终端设备11的内部存储单元也包括外部存储设备。所述存储器111用于存储所述计算机程序112以及所述终端设备11所需的其他程序和数据。所述存储器111还可以用于暂时地存储已经输出或者将要输出的数据。The
实施例4:Example 4:
本发明实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序112,计算机程序112被处理器113执行时实现如实施例1中所述的各实施例中的步骤,例如图1所示的步骤S101至步骤S102。或者,所述计算机程序112被处理器113执行时实现如实施例2中所述的各装置实施例中的各模块的功能,例如图10所示的模块110至120的功能。This embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a
所述的计算机程序112可存储于一计算机可读存储介质中,该计算机程序112在被处理器113执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序112包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。The
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be adjusted, combined and deleted in sequence according to actual needs.
本发明实施例系统中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the system of the embodiment of the present invention may be combined, divided and deleted according to actual needs.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811400353.5A CN109669629B (en) | 2018-11-22 | 2018-11-22 | Battery charge and discharge data storage method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811400353.5A CN109669629B (en) | 2018-11-22 | 2018-11-22 | Battery charge and discharge data storage method and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109669629A CN109669629A (en) | 2019-04-23 |
CN109669629B true CN109669629B (en) | 2022-05-10 |
Family
ID=66142142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811400353.5A Active CN109669629B (en) | 2018-11-22 | 2018-11-22 | Battery charge and discharge data storage method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669629B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119596181A (en) * | 2024-11-19 | 2025-03-11 | 广东工业大学 | Lithium battery health state and residual life prediction method and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7612472B2 (en) * | 2004-01-23 | 2009-11-03 | American Power Conversion Corporation | Method and apparatus for monitoring energy storage devices |
EP2191532A4 (en) * | 2008-03-27 | 2015-03-04 | Lsi Corp | Device and method for improved battery condition learn cycle |
US10192184B2 (en) * | 2012-03-30 | 2019-01-29 | Sony Corporation | Energy storage |
CN103499794B (en) * | 2013-10-14 | 2016-05-11 | 北京华电天仁电力控制技术有限公司 | A kind of energy-storage battery Residual capacity prediction method and device |
CN107426424B (en) * | 2017-07-25 | 2019-07-26 | 维沃移动通信有限公司 | A charge and discharge control method and mobile terminal |
-
2018
- 2018-11-22 CN CN201811400353.5A patent/CN109669629B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109669629A (en) | 2019-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110429672B (en) | Battery charging management method, terminal device and storage medium | |
CN109991545B (en) | A method, device and terminal device for detecting the power of a battery pack | |
CN107093775A (en) | A kind of method for evaluating consistency and device of cascaded structure battery pack | |
CN114839556B (en) | Power battery abnormality detection method and device, storage medium and electronic device | |
CN110161425A (en) | A kind of prediction technique of the remaining life divided based on lithium battery catagen phase | |
JP2012168728A (en) | Protection module and state information management method in protection module | |
CN111913113A (en) | Method and device for identifying short circuit in electric core, storage medium and electronic equipment | |
CN107179930B (en) | Method and device for recommending application uninstallation | |
CN103023075B (en) | A kind of battery charge-discharge control method and electronic equipment | |
CN108061863A (en) | Method and device for detecting battery, computer readable storage medium and battery management system | |
CN112886671B (en) | Method and device for detecting state of charge of battery and charging device | |
CN115389954A (en) | Method for estimating battery capacity, electronic device and readable storage medium | |
CN114764600A (en) | Service life prediction method and device for new energy vehicle battery pack and electronic equipment | |
CN110244236A (en) | A Lithium-ion battery pack SOC estimation method, device and terminal equipment | |
WO2024060539A1 (en) | Annual carbon emission amount estimation method and device for power battery | |
CN109669629B (en) | Battery charge and discharge data storage method and terminal device | |
CN115056682B (en) | Abnormal single cell detection method, device, electric vehicle and medium | |
CN115742751A (en) | Method, device, server and storage medium for detecting storage battery replacement | |
CN112255550B (en) | A method for detecting a degraded lithium battery in an energy storage system | |
CN113740732A (en) | Method and device for detecting cell outlier and electronic equipment | |
CN115825790A (en) | Early warning method, device and system for battery insulation fault and computer equipment | |
WO2023044875A1 (en) | Method and device for determining display state of charge and battery management chip | |
CN116323288A (en) | Method and device for determining display state of charge and battery management chip | |
CN118673085A (en) | Task execution method, equipment, energy storage equipment analysis system, medium and product | |
KR20220128828A (en) | Battery SOH prediction device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province Applicant after: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd. Applicant after: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd. Address before: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province Applicant before: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd. Applicant before: XIAMEN KEHUA HENGSHENG Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province Patentee after: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Patentee after: Kehua Data Co.,Ltd. Address before: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province Patentee before: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China Patentee before: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd. |