[go: up one dir, main page]

CN115224751A - Method, device, electronic device and medium for obtaining the remaining time of battery charging - Google Patents

Method, device, electronic device and medium for obtaining the remaining time of battery charging Download PDF

Info

Publication number
CN115224751A
CN115224751A CN202110831077.3A CN202110831077A CN115224751A CN 115224751 A CN115224751 A CN 115224751A CN 202110831077 A CN202110831077 A CN 202110831077A CN 115224751 A CN115224751 A CN 115224751A
Authority
CN
China
Prior art keywords
charging
power
rechargeable battery
current
remaining
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
Application number
CN202110831077.3A
Other languages
Chinese (zh)
Inventor
项宝庆
黄伟
鞠强
魏亮
朱诗严
潘博存
代冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Telai Big Data Co ltd
Qingdao Teld New Energy Technology Co Ltd
Original Assignee
Qingdao Telai Big Data Co ltd
Qingdao Teld New Energy Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Telai Big Data Co ltd, Qingdao Teld New Energy Technology Co Ltd filed Critical Qingdao Telai Big Data Co ltd
Priority to CN202110831077.3A priority Critical patent/CN115224751A/en
Publication of CN115224751A publication Critical patent/CN115224751A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION 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
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION 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/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION 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/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • B60L58/12Methods 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

本申请公开了一种电池充电剩余时长的获取方法、装置、电子设备及介质。该方法是在获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率后,将当前充电环境信息、当前电量和当前充电功率输入预设的充电时长预测模型,通过充电时长预测模型对当前充电环境信息、当前电量和当前充电功率进行分析,输出充电电池从当前电量至充电电池的总电量所需的充电时长;并将输出的充电时长确定为充电电池的充电剩余时长。该方法获取的充电剩余时长,与现有技术中BMS主动上报的剩余时长,以及通过充电功率和所需的充电电量获取的剩余时长相比,具有较高的准确率,提升了用户体验。

Figure 202110831077

The present application discloses a method, device, electronic device and medium for obtaining the remaining time of battery charging. The method is to input the current charging environment information, current power and current charging power into a preset charging duration prediction model after obtaining the current charging environment information, current electric quantity and current charging power corresponding to the rechargeable battery in the charging state, and predict the charging duration through the charging duration prediction model. The model analyzes the current charging environment information, current power and current charging power, and outputs the charging time required by the rechargeable battery from the current power to the total power of the rechargeable battery; and determines the output charging time as the remaining charging time of the rechargeable battery. Compared with the remaining time actively reported by the BMS in the prior art and the remaining time obtained through the charging power and the required charging power, the remaining charging time obtained by this method has a higher accuracy and improves the user experience.

Figure 202110831077

Description

电池充电剩余时长的获取方法、装置、电子设备及介质Method, device, electronic device and medium for obtaining the remaining time of battery charging

技术领域technical field

本申请涉及电池充电技术领域,尤其涉及一种电池充电剩余时长的获取方法、装置、电子设备及介质。The present application relates to the technical field of battery charging, and in particular, to a method, device, electronic device and medium for obtaining the remaining time of battery charging.

背景技术Background technique

随着社会的发展,人们的环保意识逐渐增强,越来越多人使用新能源车辆。目前,在我国新能源车辆多是电动车辆,其中,电动车辆主要由存储在动力电池内的电能为车辆的行驶提供动力,具有零污染、零排放的优点。但电动车辆的动力电池容量有限,在使用电动车辆时需要对该车辆进行充电。通常情况下,电池需要一段时间才能充满电,该时间段称为充电剩余时长,即该电池充电剩余时长为电池处于充电状态时从当前电量开始充电至充满所需的时长。With the development of society, people's awareness of environmental protection has gradually increased, and more and more people are using new energy vehicles. At present, most of the new energy vehicles in our country are electric vehicles. Among them, electric vehicles are mainly powered by the electric energy stored in the power battery to drive the vehicle, which has the advantages of zero pollution and zero emission. However, the power battery capacity of an electric vehicle is limited, and the vehicle needs to be charged when the electric vehicle is used. Normally, it takes a period of time for a battery to be fully charged, which is called the remaining charging time, that is, the remaining charging time of the battery is the time it takes to fully charge the battery from the current power level when the battery is in a charging state.

目前可以通过以下方式获取到电池充电剩余时长的方案:At present, you can obtain the solution of the remaining battery charging time in the following ways:

方案1,在电池管理系统(Battery Management System,BMS)主动上报充满剩余时长的情况下,将上报的充满剩余时间确定为电池充电剩余时长,其中,BMS主动上报的剩余时长是根据当前充满电池所需的充电电量W与电池充电电压和充电电流的乘积的比值确定的。Scheme 1: In the case that the battery management system (BMS) actively reports the remaining full time, the reported remaining full time is determined as the remaining battery charging time. The remaining time reported by the BMS is based on the current full battery. It is determined by the ratio of the required charging power W to the product of the battery charging voltage and charging current.

方案2,在电池管理系统(Battery Management System,BMS)没有主动上报充满剩余时长的情况下,根据电池的当前电量和BMS指示的电池总容量,计算出电池的荷电状态(State Of Charge,SOC)到100还需要的充电电量,之后根据车辆的当前充电功率和所需的充电电量,计算出电池充电剩余时长,即电池充电剩余时长t=所需的充电电量W/当前功率P。其中,SOC用于表示电池的剩余电量与相同条件下该电池的总电量的比值,当SOC=0时表示电池放电完全,当SOC=1时表示电池完全充满。Scheme 2: When the battery management system (BMS) does not actively report the remaining full time, calculate the state of charge (SOC) of the battery according to the current power of the battery and the total battery capacity indicated by the BMS. ) to 100 still needed charging power, then according to the current charging power of the vehicle and the required charging power, calculate the remaining battery charging time, that is, the remaining battery charging time t = required charging power W/current power P. The SOC is used to represent the ratio of the remaining power of the battery to the total power of the battery under the same conditions. When SOC=0, it means that the battery is fully discharged, and when SOC=1, it means that the battery is fully charged.

然而,由于在充电过程中充电电流的大小会随温度的变化发生变化,从而导致上述方案得到的电池充电剩余时长的准确性存在问题。However, since the magnitude of the charging current changes with the temperature during the charging process, there is a problem with the accuracy of the remaining battery charging time obtained by the above solution.

如图1所示,某电动车辆在一次充电过程中BMS上报的充电剩余时长与实际充电剩余时长对比示意图。As shown in Figure 1, a schematic diagram of the comparison between the remaining charging time reported by the BMS and the actual remaining charging time of an electric vehicle during one charging process.

该坐标系中横轴为实际时间,纵轴为充电剩余时长(分钟),曲线A表示各实际时间上实际充电剩余时长的曲线分布,曲线B表示各实际时间上BMS上报的充电剩余时长的曲线分布,若该次充电起始SOC=46%,结束SOC=100%。可以看到,BMS上报的各实际时间上剩余时长是一条折线,在19:03附近的误差较大。In this coordinate system, the horizontal axis is the actual time, the vertical axis is the remaining charging time (minutes), curve A represents the curve distribution of the actual remaining charging time at each actual time, and curve B represents the remaining charging time curve reported by the BMS at each actual time Distribution, if the charging start SOC=46%, end SOC=100%. It can be seen that the remaining duration of each actual time reported by the BMS is a broken line, and the error around 19:03 is large.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种电池充电剩余时长的获取方法、装置、电子设备及介质,解决了现有技术存在的上述问题,可获取到准确率较高的充电剩余时长 The embodiments of the present application provide a method, device, electronic device and medium for obtaining the remaining charging time of a battery, which solve the above problems in the prior art, and can obtain the remaining charging time with high accuracy .

第一方面,提供了一种电池充电剩余时长的获取方法,该方法可以包括:In a first aspect, a method for obtaining the remaining time of battery charging is provided, and the method may include:

获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率;Obtain the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state;

将所述当前充电环境信息、所述当前电量和所述当前充电功率输入预设的充电时长预测模型,通过所述充电时长预测模型对所述当前充电环境信息、所述当前电量和所述当前充电功率进行分析,输出所述充电电池从所述当前电量至所述充电电池的总电量所需的充电时长;其中,所述充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;Input the current charging environment information, the current power and the current charging power into a preset charging duration prediction model, and the current charging environment information, the current power and the current charging duration are determined by the charging duration prediction model. The charging power is analyzed, and the charging time required by the rechargeable battery from the current power to the total power of the rechargeable battery is output; wherein, the charging time prediction model is based on the charging environment information in the historical charging data, historical The current power and each charging power are obtained by iterative training of the neural network;

将输出的充电时长确定为所述充电电池的充电剩余时长。The output charging duration is determined as the remaining charging duration of the rechargeable battery.

在一个可能的实施方式中,所述充电时长预测模型的训练过程包括:In a possible implementation manner, the training process of the charging duration prediction model includes:

获取各充电电池的历史充电数据,所述历史充电数据包括充电电池在充电状态下的充电环境信息、历史的当前电量、充电功率和相应充电电池的实际充电剩余时长;所述实际充电剩余时长为从历史的当前电量充电至所述充电电池的总电量所需的真实时长;Obtain the historical charging data of each rechargeable battery, the historical charging data includes the charging environment information of the rechargeable battery in the charging state, the historical current power, charging power and the actual remaining charging time of the corresponding rechargeable battery; the actual remaining charging time is The real time required to charge from the historical current power to the total power of the rechargeable battery;

将所述各充电电池在充电状态下的所述充电环境信息、所述历史的当前电量和所述充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为所述训练样本的样本标签,对神经网络进行迭代训练,并将训练出的满足预设迭代条件的当前神经网络确定为充电时长预测模型。The charging environment information, the historical current power and the charging power of the rechargeable batteries in the charging state are used as training samples, and the actual remaining charging time corresponding to each training sample is used as a sample of the training sample label, perform iterative training on the neural network, and determine the current neural network that meets the preset iterative conditions as the charging duration prediction model.

在一个可能的实施方式中,所述历史充电数据还包括历史的充电结束电量;In a possible implementation manner, the historical charging data further includes historical charging end power;

获取各充电电池的历史充电数据,包括:Get historical charging data for each rechargeable battery, including:

获取各充电电池的候选的历史充电数据;Obtain the candidate historical charging data of each rechargeable battery;

对所述候选的历史充电数据进行筛选,得到满足预设筛选条件的历史充电数据;其中,所述预设筛选条件包括所述历史的充电结束电量为相应充电电池的总电量,且所述实际充电剩余时长大于预设时长。Screening the candidate historical charging data to obtain historical charging data that meets preset screening conditions; wherein the preset screening conditions include that the historical end-of-charge power is the total power of the corresponding rechargeable battery, and the actual The remaining charging time is longer than the preset time.

在一个可能的实施方式中,所述充电环境信息包括充电位置和相应的环境温度;In a possible implementation manner, the charging environment information includes a charging location and a corresponding ambient temperature;

所述充电功率包括所述充电电池对应的需求充电功率和实际充电功率。The charging power includes required charging power and actual charging power corresponding to the rechargeable battery.

在一个可能的实施方式中,所述当前电量的确定过程包括:In a possible implementation manner, the process of determining the current power level includes:

获取所述充电电池的荷电状态SOC;所述荷电状态SOC表示所述充电电池的剩余电量与相同条件下所述充电电池的总电量的比值;obtaining the state of charge SOC of the rechargeable battery; the state of charge SOC represents the ratio of the remaining power of the rechargeable battery to the total power of the rechargeable battery under the same conditions;

若所述充电电池位于电动车辆中,则根据所述电动车辆的车辆类型,查找预设的车辆类型与充电电池总电量的映射关系,确定所述车辆类型对应的充电电池的总电量;If the rechargeable battery is located in an electric vehicle, searching for a preset mapping relationship between the vehicle type and the total power of the rechargeable battery according to the vehicle type of the electric vehicle, and determining the total power of the rechargeable battery corresponding to the vehicle type;

将确定的所述充电电池的总电量与所述充电电池的荷电状态SOC的乘积,确定为所述充电电池的当前电量。The product of the determined total power of the rechargeable battery and the state of charge SOC of the rechargeable battery is determined as the current power of the rechargeable battery.

在一个可能的实施方式中,将输出的充电时长确定为所述充电电池的充电剩余时长之后,所述方法还包括:In a possible implementation manner, after determining the output charging duration as the remaining charging duration of the rechargeable battery, the method further includes:

向建立通信连接的终端发送所述剩余充电时长,以使所述终端展示所述剩余充电时长。The remaining charging duration is sent to the terminal that establishes the communication connection, so that the terminal displays the remaining charging duration.

在一个可能的实施方式中,将输出的充电时长确定为所述充电电池的充电剩余时长之后,所述方法还包括:In a possible implementation manner, after determining the output charging duration as the remaining charging duration of the rechargeable battery, the method further includes:

生成所述充电电池的时长预测日志,所述时长预测日志包括所述充电电池的本次充电的充电剩余时长。A duration prediction log of the rechargeable battery is generated, and the duration prediction log includes the remaining charging duration of the current charging of the rechargeable battery.

第二方面,提供了一种电池充电剩余时长的获取装置,该装置可以包括:In a second aspect, a device for obtaining the remaining time of battery charging is provided, and the device may include:

获取单元,用于获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率;an acquisition unit, used for acquiring the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state;

输入单元,用于将所述当前充电环境信息、所述当前电量和所述当前充电功率输入预设的充电时长预测模型,通过所述充电时长预测模型对所述当前充电环境信息、所述当前电量和所述当前充电功率进行分析,输出所述充电电池从所述当前电量至所述充电电池的总电量所需的充电时长;其中,所述充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;The input unit is used to input the current charging environment information, the current power and the current charging power into a preset charging duration prediction model, and the current charging environment information, the current charging duration prediction model The power and the current charging power are analyzed, and the charging time required by the rechargeable battery from the current power to the total power of the rechargeable battery is output; wherein, the charging duration prediction model is based on historical charging data. Environmental information, historical current power and charging power are obtained by iterative training of the neural network;

确定单元,用于将输出的充电时长确定为所述充电电池的充电剩余时长。A determining unit, configured to determine the output charging duration as the remaining charging duration of the rechargeable battery.

在一个可能的实施方式中,所述装置还包括训练单元;In a possible implementation, the apparatus further includes a training unit;

所述训练单元,用于执行以下步骤:The training unit is used to perform the following steps:

获取各充电电池的历史充电数据,所述历史充电数据包括充电电池在充电状态下的充电环境信息、历史的当前电量、充电功率和相应充电电池的实际充电剩余时长;所述实际充电剩余时长为从历史的当前电量充电至所述充电电池的总电量所需的真实时长;Obtain the historical charging data of each rechargeable battery, the historical charging data includes the charging environment information of the rechargeable battery in the charging state, the historical current power, charging power and the actual remaining charging time of the corresponding rechargeable battery; the actual remaining charging time is The real time required to charge from the historical current power to the total power of the rechargeable battery;

将所述各充电电池在充电状态下的所述充电环境信息、所述历史的当前电量和所述充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为所述训练样本的样本标签,对神经网络进行迭代训练,并将训练出的满足预设迭代条件的当前神经网络确定为充电时长预测模型。The charging environment information, the historical current power and the charging power of the rechargeable batteries in the charging state are used as training samples, and the actual remaining charging time corresponding to each training sample is used as a sample of the training sample label, perform iterative training on the neural network, and determine the current neural network that meets the preset iterative conditions as the charging duration prediction model.

在一个可能的实施方式中,所述历史充电数据还包括历史的充电结束电量;所述训练单元,还用于:In a possible implementation manner, the historical charging data further includes historical charging end power; the training unit is further configured to:

获取各充电电池的候选的历史充电数据;Obtain the candidate historical charging data of each rechargeable battery;

对所述候选的历史充电数据进行筛选,得到满足预设筛选条件的历史充电数据;其中,所述预设筛选条件包括所述历史的充电结束电量为相应充电电池的总电量,且所述实际充电剩余时长大于预设时长。Screening the candidate historical charging data to obtain historical charging data that meets preset screening conditions; wherein the preset screening conditions include that the historical end-of-charge power is the total power of the corresponding rechargeable battery, and the actual The remaining charging time is longer than the preset time.

在一个可能的实施方式中,所述充电环境信息包括充电位置和相应的环境温度;In a possible implementation manner, the charging environment information includes a charging location and a corresponding ambient temperature;

所述充电功率包括所述充电电池对应的需求充电功率和实际充电功率。The charging power includes required charging power and actual charging power corresponding to the rechargeable battery.

在一个可能的实施方式中,所述获取单元,还用于获取所述充电电池的荷电状态SOC;所述荷电状态SOC表示所述充电电池的剩余电量与相同条件下所述充电电池的总电量的比值;In a possible implementation manner, the obtaining unit is further configured to obtain the state of charge SOC of the rechargeable battery; the state of charge SOC indicates that the remaining power of the rechargeable battery is the same as that of the rechargeable battery under the same conditions. The ratio of total electricity;

所述确定单元,还用于若所述充电电池位于电动车辆中,则根据所述电动车辆的车辆类型,查找预设的车辆类型与充电电池总电量的映射关系,确定所述车辆类型对应的充电电池的总电量;The determining unit is further configured to, if the rechargeable battery is located in the electric vehicle, search for a preset mapping relationship between the vehicle type and the total power of the rechargeable battery according to the vehicle type of the electric vehicle, and determine the corresponding vehicle type. The total charge of the rechargeable battery;

以及,将确定的所述充电电池的总电量与所述充电电池的荷电状态SOC的乘积,确定为所述充电电池的当前电量。And, the product of the determined total power of the rechargeable battery and the state of charge SOC of the rechargeable battery is determined as the current power of the rechargeable battery.

在一个可能的实施方式中,所述装置还包括发送单元;In a possible implementation manner, the apparatus further includes a sending unit;

所述发送单元,用于向建立通信连接的终端发送所述剩余充电时长,以使所述终端展示所述剩余充电时长。The sending unit is configured to send the remaining charging duration to a terminal that establishes a communication connection, so that the terminal displays the remaining charging duration.

在一个可能的实施方式中,所述装置还包括日志生成单元;In a possible implementation manner, the apparatus further includes a log generating unit;

所述日志生成单元,用于生成所述充电电池的时长预测日志,所述时长预测日志包括所述充电电池的本次充电的充电剩余时长。The log generating unit is configured to generate a duration prediction log of the rechargeable battery, where the duration prediction log includes the remaining charging duration of the current charging of the rechargeable battery.

第三方面,提供了一种电子设备,该电子设备包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, an electronic device is provided, the electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

存储器,用于存放计算机程序;memory for storing computer programs;

处理器,用于执行存储器上所存放的程序时,实现上述第一方面中任一所述的方法步骤。The processor is configured to implement any one of the method steps described in the first aspect above when executing the program stored in the memory.

第四方面,提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中任一所述的方法步骤。In a fourth aspect, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps of any one of the above-mentioned first aspect are implemented.

本申请实施例提供的电池充电剩余时长的获取方法是在获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率后,将当前充电环境信息、当前电量和当前充电功率输入预设的充电时长预测模型,通过充电时长预测模型对当前充电环境信息、当前电量和当前充电功率进行分析,输出充电电池从当前电量至充电电池的总电量所需的充电时长;其中,充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;并将输出的充电时长确定为充电电池的充电剩余时长。该方法通过机器学习技术对充电大数据中的充电环境信息、当前电量和充电功率等多维度的特征信息进行分析,来获取充电电池的充电剩余时长,与现有技术中BMS主动上报的剩余时长,以及通过充电功率和所需的充电电量获取的剩余时长相比,具有较高的准确率,提升了用户体验。The method for obtaining the remaining battery charging time provided by the embodiment of the present application is: after obtaining the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state, input the current charging environment information, current power and current charging power into the preset The set charging duration prediction model analyzes the current charging environment information, current power and current charging power through the charging duration prediction model, and outputs the charging duration required by the rechargeable battery from the current power to the total power of the rechargeable battery; among them, the charging duration prediction The model is obtained by iterative training of the neural network according to the charging environment information in the historical charging data, the historical current power and the charging power; and the output charging time is determined as the remaining charging time of the rechargeable battery. The method uses machine learning technology to analyze the multi-dimensional feature information such as charging environment information, current power and charging power in the charging big data to obtain the remaining charging time of the rechargeable battery, which is the same as the remaining time actively reported by the BMS in the prior art. , and compared with the remaining time obtained through the charging power and the required charging power, it has a higher accuracy rate and improves the user experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, so It should not be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的一种BMS上报的充电剩余时长与实际充电剩余时长对比示意图;1 is a schematic diagram of a comparison between the remaining charging duration reported by a BMS and the actual remaining charging duration provided by an embodiment of the present application;

图2为本申请实施例提供的一种电池充电剩余时长的获取方法的流程示意图;FIG. 2 is a schematic flowchart of a method for obtaining a remaining battery charging time according to an embodiment of the present application;

图3为本申请实施例提供的一种充电时长预测模型的训练过程示意图;3 is a schematic diagram of a training process of a charging duration prediction model provided by an embodiment of the present application;

图4为本申请实施例提供的一种本申请实施例获取的充电剩余时长、BMS上报的充电剩余时长分别与实际充电剩余时长的对比示意图;FIG. 4 is a schematic diagram of the comparison of the remaining charging duration obtained by the embodiment of the present application, the remaining charging duration reported by the BMS, and the actual remaining charging duration, respectively, according to an embodiment of the present application;

图5为本申请实施例提供的一种电池充电剩余时长的获取装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for acquiring remaining battery charging time provided by an embodiment of the present application;

图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,并不是全部的实施例。基于本申请实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the protection of the present application.

在对充电电池进行充电时,使用者通常希望能看到电池的充电剩余时长,如使用电动车辆的用户,了解到该车辆的充电电池的充电剩余时长后,可以在该时长内做一些其他的事,且保证在充电电池充满时及时到达充电地点进行提车。因此,本申请实施例在充电电池开始充电时,获取到充电电池的充电剩余时长,并将该充电剩余充电时长告知用户,不仅可以给用户提供更好的便利,还可以大大提升用户体验。此外,还可以避免因充电时间过长对充电电池造成的损害。When charging a rechargeable battery, the user usually wants to see the remaining charging time of the battery. For example, a user of an electric vehicle, after knowing the remaining charging time of the rechargeable battery of the vehicle, can do some other tasks within that time. and ensure that you arrive at the charging location in time to pick up the car when the rechargeable battery is fully charged. Therefore, the embodiment of the present application acquires the remaining charging time of the rechargeable battery when the rechargeable battery starts to be charged, and informs the user of the remaining charging time, which not only provides better convenience for the user, but also greatly improves the user experience. In addition, damage to the rechargeable battery due to excessive charging time can be avoided.

本申请实施例提供的电池充电剩余时长的获取方法可以应用在为该电池进行充电的充电设备上。The method for obtaining the remaining charging time of the battery provided by the embodiment of the present application can be applied to a charging device for charging the battery.

该充电设备可以与用户的终端通信连接;其中,该终端可以是移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)等用户设备(UserEquipment,UE)、手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备、移动台(Mobile station,MS)、移动终端(Mobile Terminal)等。The charging device can be communicatively connected with a user's terminal; wherein, the terminal can be a user equipment (UserEquipment, UE) such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), etc. ), handheld devices, in-vehicle devices, wearable devices, computing devices or other processing devices connected to wireless modems, Mobile Stations (MS), Mobile Terminals, and the like.

考虑到相同的充电电池,在相同的环境温度、相同城市或相同充电站的条件下,具有一致的充电规律,即在上述特征条件下该充电电池在目标SOC时的两次充电剩余时长具有一致性的特点。本申请实施例通过充分利用历史统计的充电大数据,基于机器学习技术,获取多维度条件下的充电剩余时长。Considering the same rechargeable battery, under the conditions of the same ambient temperature, the same city or the same charging station, it has a consistent charging law, that is, under the above characteristic conditions, the rechargeable battery has the same remaining time for two charges at the target SOC. sexual characteristics. The embodiment of the present application obtains the remaining charging time under multi-dimensional conditions by making full use of the charging big data of historical statistics and based on the machine learning technology.

以下结合说明书附图对本申请的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本申请,并不用于限定本申请,并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The preferred embodiments of the present application will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not intended to limit the present application. The embodiments in and features in the embodiments can be combined with each other.

图2为本申请实施例提供的一种电池充电剩余时长的获取方法的流程示意图。如图2所示,该方法可以包括:FIG. 2 is a schematic flowchart of a method for obtaining a remaining battery charging time according to an embodiment of the present application. As shown in Figure 2, the method may include:

步骤S210、获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率。Step S210: Acquire current charging environment information, current electric quantity and current charging power corresponding to the rechargeable battery in the charging state.

对于当前充电环境信息的获取:For the acquisition of current charging environment information:

由于在不同环境温度下或在不同充电位置,如不同地点的充电站,对充电电池允许的充电电流不同,从而导致充电时长的改变,故当前充电环境信息可以包括充电位置,如充电站的位置和该充电位置对应的环境温度;Since the allowable charging current for the rechargeable battery is different at different ambient temperatures or at different charging locations, such as charging stations in different locations, the charging time is changed, so the current charging environment information can include the charging location, such as the location of the charging station The ambient temperature corresponding to the charging location;

且,不同的充电电流和/或不同的充电电压都会对充电电池的充电时长产生影响,故需要获取当前充电功率。Moreover, different charging currents and/or different charging voltages will affect the charging time of the rechargeable battery, so it is necessary to obtain the current charging power.

对于当前充电功率的获取:For the acquisition of the current charging power:

当前充电功率可以包括充电电池对应的需求充电功率和实际充电功率。The current charging power may include required charging power and actual charging power corresponding to the rechargeable battery.

其中,需求充电功率是指充电电池向充电设备请求的充电功率,其包括请求的需求充电电压和需求充电电流;实际充电功率是指充电设备向充电电池反馈的充电功率,其包括实际充电电压和实际充电电流。需求充电功率与实际充电功率相同或相近。Among them, the required charging power refers to the charging power requested by the rechargeable battery from the charging device, which includes the requested required charging voltage and the required charging current; the actual charging power refers to the charging power fed back by the charging device to the rechargeable battery, which includes the actual charging voltage and actual charging current. The required charging power is the same or similar to the actual charging power.

具体实施中,针对当前电量,同一充电电池可以向不同充电设备请求相同的充电功率,即需求功率相同,但由于不同充电设备的型号或厂家不同,不同充电设备向充电电池反馈的充电功率可能不同,即实际功率可能不同,但满足需求充电功率与实际充电功率相同或相近的条件,因此,当前充电功率可以包括充电电池对应的需求充电功率和实际充电功率的组合功率;或者,当前充电功率可以为实际充电功率和实际充电功率中的任一充电功率。In the specific implementation, for the current power, the same rechargeable battery can request the same charging power from different charging devices, that is, the required power is the same, but due to the different models or manufacturers of different charging devices, the charging power fed back by different charging devices to the rechargeable battery may be different. , that is, the actual power may be different, but it satisfies the condition that the required charging power is the same as or similar to the actual charging power. Therefore, the current charging power can include the combined power of the required charging power and the actual charging power corresponding to the rechargeable battery; or, the current charging power can be Either the actual charging power or the actual charging power.

需要说明的是,为了获取到较准确的充电剩余时长,当前充电功率包括充电电池对应的需求充电功率和实际充电功率的组合功率。It should be noted that, in order to obtain a more accurate remaining charging time, the current charging power includes the combined power of the required charging power corresponding to the rechargeable battery and the actual charging power.

对于当前电量的获取:For the acquisition of current power:

具体实施中,获取充电电池的荷电状态SOC;(放电实验法、开路电压法、神经网络法、等);荷电状态SOC表示充电电池的剩余电量与相同条件下充电电池的总电量的比值;In the specific implementation, the state of charge SOC of the rechargeable battery is obtained; (discharge experiment method, open circuit voltage method, neural network method, etc.); the state of charge SOC represents the ratio of the remaining power of the rechargeable battery to the total power of the rechargeable battery under the same conditions ;

需要说明的是,可以通过开路电压法、神经网络法等方法,获取充电电池的荷电状态SOC,由于开路电压法、神经网络法对SOC的检测方法是现有技术,本申请实施例在此不作赘述。It should be noted that the state of charge SOC of the rechargeable battery can be obtained by methods such as the open circuit voltage method and the neural network method. Since the open circuit voltage method and the neural network method are methods for detecting SOC in the prior art, the embodiments of the present application are described here. I won't go into details.

之后,将该充电电池的总电量与充电电池的荷电状态SOC的乘积确定为充电电池的当前电量。其中,充电电池的总电量为充电电池的额定电量或最大放电容量。After that, the product of the total power of the rechargeable battery and the state of charge SOC of the rechargeable battery is determined as the current power of the rechargeable battery. The total power of the rechargeable battery is the rated power or the maximum discharge capacity of the rechargeable battery.

在一个例子中,若充电电池位于电动车辆中,即无法获知充电电池的总电量,则可以根据电动车辆的车辆类型,查找预设的车辆类型与充电电池总电量的映射关系,确定该车辆类型对应的充电电池的总电量;In one example, if the rechargeable battery is located in an electric vehicle, that is, the total power of the rechargeable battery cannot be known, and the mapping relationship between the preset vehicle type and the total power of the rechargeable battery can be searched according to the vehicle type of the electric vehicle to determine the vehicle type. The total power of the corresponding rechargeable battery;

其中,预设的车辆类型与充电电池总电量的映射关系是基于现有的车辆购买订单统计出来的,该车辆购买订单主要选择2019年后的订单。Among them, the mapping relationship between the preset vehicle type and the total power of the rechargeable battery is calculated based on the existing vehicle purchase order, and the vehicle purchase order mainly selects the order after 2019.

例如,预设的车辆类型与充电电池总电量的映射关系可以如表1所示:For example, the mapping relationship between the preset vehicle type and the total power of the rechargeable battery can be shown in Table 1:

表1Table 1

Figure BDA0003175579520000101
Figure BDA0003175579520000101

从表1可以,车辆类型为比亚迪E200 Pro时,相应的充电电池的总电量43千瓦时;车辆类型为比亚迪比亚迪e6时,相应的充电电池的总电量82千瓦时;车辆类型为特斯拉Model S时,相应的充电电池的总电量90千瓦时;车辆类型为长城C30EV时,相应的充电电池的总电量26.57千瓦时。From Table 1, when the vehicle type is BYD E200 Pro, the total power of the corresponding rechargeable battery is 43 kWh; when the vehicle type is BYD BYD e6, the total power of the corresponding rechargeable battery is 82 kWh; the vehicle type is Tesla Model When S, the total power of the corresponding rechargeable battery is 90 kWh; when the vehicle type is Great Wall C30EV, the total power of the corresponding rechargeable battery is 26.57 kWh.

综上,可以获取到充电状态下充电电池对应的充电城市、充电站位置、环境温度、充电电池所属的车辆类型、车辆类型对应的充电电池的总电量、荷电状态SOC、充电需求电压、充电需求电流、充电实际电压、充电实际电流共10个特征信息。In summary, the charging city corresponding to the rechargeable battery in the charging state, the location of the charging station, the ambient temperature, the vehicle type to which the rechargeable battery belongs, the total power of the rechargeable battery corresponding to the vehicle type, the state of charge SOC, the charging demand voltage, and the charging voltage can be obtained. Demand current, actual charging voltage, and charging actual current have a total of 10 characteristic information.

步骤S220、将当前充电环境信息、当前电量和当前充电功率输入预设的充电时长预测模型,得到充电电池从当前电量至该充电电池的总电量所需的充电时长。Step S220: Input the current charging environment information, current power and current charging power into a preset charging duration prediction model to obtain the charging duration required by the rechargeable battery from the current power to the total power of the rechargeable battery.

充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的。其中,充电时长预测模型可以包括3层网络层:输入层、隐藏层和输出层。The charging duration prediction model is obtained by iterative training of the neural network according to the charging environment information in the historical charging data, the historical current power and the charging power. Among them, the charging duration prediction model can include three network layers: input layer, hidden layer and output layer.

在一个例子中,输入层可以包括10个神经元(即与10个特征信息对应),隐藏层包括64个神经元,且采用线性整流函数(Rectified Linear Unit,ReLU)作为激活函数、采用小批量梯度下降(Mini-batch gradient descent,MBGD)函数作为梯度下降优化器,输出层包括1个神经元,可以采用均方差(Mean Square Error,MSE)算法作为模型的损失函数。In an example, the input layer may include 10 neurons (that is, corresponding to 10 feature information), the hidden layer includes 64 neurons, and a Rectified Linear Unit (ReLU) is used as the activation function and a mini-batch The Mini-batch gradient descent (MBGD) function is used as the gradient descent optimizer, the output layer includes one neuron, and the Mean Square Error (MSE) algorithm can be used as the loss function of the model.

之后,通过充电时长预测模型对当前充电环境信息、当前电量和所述当前充电功率进行分析,输出充电电池从当前电量至该充电电池的总电量所需的充电时长。After that, the current charging environment information, the current power and the current charging power are analyzed through the charging duration prediction model, and the charging duration required by the rechargeable battery from the current power to the total power of the rechargeable battery is output.

在一个实施例中,如图3所示,充电时长预测模型的训练过程包括:In one embodiment, as shown in Figure 3, the training process of the charging duration prediction model includes:

步骤S31、获取各充电电池的历史充电数据。Step S31 , acquiring historical charging data of each rechargeable battery.

具体实施中,获取各充电电池的候选的历史充电数据;该候选的历史充电数据可以包括充电电池在充电状态下的充电环境信息、历史的当前电量、充电功率、历史的充电结束电量和相应充电电池的实际充电剩余时长。其中,实际充电剩余时长为从历史的当前电量充电至该充电电池的总电量所需的真实时长。In the specific implementation, the candidate historical charging data of each rechargeable battery is obtained; the candidate historical charging data may include the charging environment information of the rechargeable battery in the charging state, the historical current power, the charging power, the historical charging end power and the corresponding charging The actual remaining time to charge the battery. Wherein, the actual remaining charging time is the real time required to charge from the historical current power to the total power of the rechargeable battery.

按照预设筛选条件,对候选的历史充电数据进行筛选,得到满足预设筛选条件的历史充电数据;预设筛选条件可以包括历史的充电结束电量为相应充电电池的总电量,且实际充电剩余时长大于预设时长。According to the preset screening conditions, the candidate historical charging data is screened to obtain the historical charging data that satisfies the preset screening conditions; the preset screening conditions may include that the historical charging end power is the total power of the corresponding rechargeable battery, and the actual remaining charging time longer than the preset duration.

具体的,从候选的历史充电数据中选取充电电池的充电结束电量为该充电电池的总电量的历史充电数据,即得到从历史的当前电量充电至充满,即该充电电池的总电量的第一历史充电数据,以确保训练出的模型的准确性;然后,从第一历史充电数据中选取充电剩余时长大于预设时长的历史充电数据,即从第一历史充电数据中删除较短的充电剩余时长,如10分钟的历史充电数据,进一步确保训练出的模型的准确性。Specifically, from the candidate historical charging data, select the historical charging data in which the end-of-charge power of the rechargeable battery is the total power of the rechargeable battery, that is, the charging from the historical current power to full, that is, the first charge of the total power of the rechargeable battery is obtained. historical charging data to ensure the accuracy of the trained model; then, select the historical charging data whose remaining charging time is greater than the preset time from the first historical charging data, that is, delete the short remaining charging time from the first historical charging data The duration, such as 10 minutes of historical charging data, further ensures the accuracy of the trained model.

需要说明的是,也可以先从候选的历史充电数据中选取充电剩余时长大于预设时长的历史充电数据,然后再选取充电结束电量为该充电电池的总电量的历史充电数据,本申请实施例对于历史充电数据的选取顺序在此不做限定。It should be noted that, the historical charging data whose remaining charging time is longer than the preset duration can also be selected from the candidate historical charging data, and then the historical charging data whose charging end power is the total power of the rechargeable battery can be selected. This is an embodiment of the present application. The selection sequence of the historical charging data is not limited here.

步骤S32、将各充电电池在充电状态下的充电环境信息、历史的当前电量和充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为训练样本的样本标签,对神经网络进行迭代训练。Step S32: Use the charging environment information, historical current power and charging power of each rechargeable battery in the charging state as a training sample, use the actual remaining charging time corresponding to each training sample as a sample label of the training sample, and iterate the neural network. train.

具体实施中,将各充电电池在充电状态下的充电环境信息、历史的当前电量和充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为训练样本的样本标签,对神经网络进行迭代训练,输出各训练样本对应的充电时长。该神经网络包括预设的模型参数。In the specific implementation, the charging environment information, historical current power and charging power of each rechargeable battery in the charging state are used as training samples, and the actual remaining charging time corresponding to each training sample is used as the sample label of the training sample. Iterative training, output the charging time corresponding to each training sample. The neural network includes preset model parameters.

迭代训练过程中,采用预设损失函数,如MSE算法,对任一训练样本对应的充电时长与相应训练样本的实际充电剩余时长进行损失计算,得到该训练样本的损失值,并基于该损失值对训练出的当前神经网络的模型参数进行更新。In the iterative training process, a preset loss function, such as the MSE algorithm, is used to calculate the loss of the charging duration corresponding to any training sample and the actual remaining charging duration of the corresponding training sample to obtain the loss value of the training sample, and based on the loss value Update the model parameters of the trained current neural network.

步骤S33、将训练出的满足预设迭代条件的当前神经网络确定为充电时长预测模型。Step S33 , determining the current neural network trained and satisfying the preset iteration condition as the charging duration prediction model.

若计算出的损失值不大于预设损失阈值,或迭代次数达到预设次数阈值,则将该损失值或该迭代次数对应的当前神经网络确定为充电时长预测模型。If the calculated loss value is not greater than the preset loss threshold, or the number of iterations reaches the preset number threshold, the loss value or the current neural network corresponding to the iteration number is determined as the charging duration prediction model.

其中,预设迭代条件还可以是其他迭代结束条件,本申请实施例在此不作限定。The preset iteration condition may also be other iteration end condition, which is not limited in this embodiment of the present application.

步骤S230、将充电时长预测模型输出的充电时长确定为充电电池的充电剩余时长。Step S230: Determine the charging duration output by the charging duration prediction model as the remaining charging duration of the rechargeable battery.

在一种可能的实现中,在获取到剩余充电时长后,可以向建立通信连接的终端发送获取的剩余充电时长,以使终端展示剩余充电时长,供用户观看。In a possible implementation, after obtaining the remaining charging time, the obtained remaining charging time may be sent to the terminal that establishes the communication connection, so that the terminal can display the remaining charging time for the user to watch.

在另一种可能的实现中,在获取到剩余充电时长后,可以生成该充电电池的时长预测日志,以用于线上效果评估,其中,时长预测日志可以包括该充电电池的本次充电的充电剩余时长。In another possible implementation, after obtaining the remaining charging duration, a duration prediction log of the rechargeable battery may be generated for online effect evaluation, wherein the duration prediction log may include the current charging time of the rechargeable battery. Remaining time for charging.

可以理解的是,时长预测日志还可以包括该充电电池充电过程中涉及的充电城市、充电站位置、环境温度、充电电池所属的车辆类型、车辆类型对应的充电电池的总电量、荷电状态SOC、充电需求电压、充电需求电流、充电实际电压、充电实际电流等信息。It can be understood that the duration prediction log may also include the charging city involved in the charging process of the rechargeable battery, the location of the charging station, the ambient temperature, the vehicle type to which the rechargeable battery belongs, the total power of the rechargeable battery corresponding to the vehicle type, and the state of charge SOC. , charging demand voltage, charging demand current, charging actual voltage, charging actual current and other information.

在一个例子中,如图4所示,某电动车辆在某电站充电时,本申请实施例获取的充电剩余时长、BMS上报的充电剩余时长分别与实际充电剩余时长的对比示意图。In an example, as shown in FIG. 4 , when an electric vehicle is charged at a power station, a schematic diagram of the comparison of the remaining charging time obtained by the embodiment of the present application, the remaining charging time reported by the BMS, and the actual remaining charging time, respectively.

如图4所示的坐标系中横轴表示实际时间,纵轴表示不同实际时间下的充电剩余时长,其中,曲线1为本申请实施例获取的充电剩余时长对应的曲线;曲线2为BMS上报的充电剩余时长对应的曲线;曲线3为实际充电剩余时长对应的曲线。In the coordinate system shown in FIG. 4 , the horizontal axis represents the actual time, and the vertical axis represents the remaining charging time at different actual times, wherein curve 1 is the curve corresponding to the remaining charging time obtained in the embodiment of the present application; curve 2 is the BMS report The curve corresponding to the remaining charging time of , and curve 3 is the curve corresponding to the actual remaining charging time.

由此可以看出,曲线1较平滑;曲线2不平滑,折点较多,即充电剩余时长总跳变;曲线1与曲线3较接近,即本申请实施例获取的充电剩余时长更接近实际充电剩余时长。It can be seen from this that curve 1 is relatively smooth; curve 2 is not smooth, with many breakpoints, that is, the total jump in the remaining charging time; curve 1 is closer to curve 3, that is, the remaining charging time obtained in the embodiment of the present application is closer to the actual Remaining time for charging.

本申请实施例提供的电池充电剩余时长的获取方法是在获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率后,将当前充电环境信息、当前电量和当前充电功率输入预设的充电时长预测模型,通过充电时长预测模型对当前充电环境信息、当前电量和当前充电功率进行分析,输出充电电池从当前电量至充电电池的总电量所需的充电时长;其中,充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;并将输出的充电时长确定为充电电池的充电剩余时长。The method for obtaining the remaining battery charging time provided by the embodiment of the present application is: after obtaining the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state, input the current charging environment information, current power and current charging power into the preset The set charging duration prediction model analyzes the current charging environment information, current power and current charging power through the charging duration prediction model, and outputs the charging duration required by the rechargeable battery from the current power to the total power of the rechargeable battery; among them, the charging duration prediction The model is obtained by iterative training of the neural network according to the charging environment information, historical current power and charging power in the historical charging data; and the output charging time is determined as the remaining charging time of the rechargeable battery.

该方法通过机器学习技术对充电大数据中的充电环境信息、当前电量和充电功率等多维度的特征信息进行分析,来获取充电电池的充电剩余时长,与现有技术中BMS主动上报的剩余时长,以及通过充电功率和所需的充电电量获取的剩余时长相比,具有较高的准确率,提升了用户体验。The method uses machine learning technology to analyze the multi-dimensional feature information such as charging environment information, current power and charging power in the charging big data to obtain the remaining charging time of the rechargeable battery, which is the same as the remaining time actively reported by the BMS in the prior art. , and compared with the remaining time obtained through the charging power and the required charging power, it has a higher accuracy rate and improves the user experience.

与上述方法对应的,本申请实施例还提供一种电池充电剩余时长的获取装置,如图5所示,该电池充电剩余时长的获取装置可以包括:获取单元510、输入单元520、确定单元530;Corresponding to the above method, an embodiment of the present application further provides a device for obtaining the remaining time of battery charging. As shown in FIG. 5 , the device for obtaining the remaining time for battery charging may include: an obtaining unit 510 , an input unit 520 , and a determining unit 530 ;

获取单元510,用于获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率;The obtaining unit 510 is configured to obtain the current charging environment information, current electric quantity and current charging power corresponding to the rechargeable battery in the charging state;

输入单元520,用于将所述当前充电环境信息、所述当前电量和所述当前充电功率输入预设的充电时长预测模型,通过所述充电时长预测模型对所述当前充电环境信息、所述当前电量和所述当前充电功率进行分析,输出所述充电电池从所述当前电量至该充电电池的总电量所需的充电时长;其中,所述充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;The input unit 520 is configured to input the current charging environment information, the current power and the current charging power into a preset charging duration prediction model, and the current charging environment information, the current charging duration prediction model is The current power and the current charging power are analyzed, and the charging duration required by the rechargeable battery from the current power to the total power of the rechargeable battery is output; wherein, the charging duration prediction model is based on the charging duration in the historical charging data. Environmental information, historical current power and charging power are obtained by iterative training of the neural network;

确定单元530,用于将输出的充电时长确定为所述充电电池的充电剩余时长。The determining unit 530 is configured to determine the output charging duration as the remaining charging duration of the rechargeable battery.

在一个可能的实施方式中,所述装置还包括训练单元540;In a possible implementation manner, the apparatus further includes a training unit 540;

训练单元540,用于执行以下步骤:The training unit 540 is configured to perform the following steps:

获取各充电电池的历史充电数据,所述历史充电数据包括充电电池在充电状态下的充电环境信息、历史的当前电量、充电功率和相应充电电池的实际充电剩余时长;所述实际充电剩余时长为从历史的当前电量充电至该充电电池的总电量所需的真实时长;Obtain the historical charging data of each rechargeable battery, the historical charging data includes the charging environment information of the rechargeable battery in the charging state, the historical current power, charging power and the actual remaining charging time of the corresponding rechargeable battery; the actual remaining charging time is The real time required to charge from the historical current power to the total power of the rechargeable battery;

将所述各充电电池在充电状态下的所述充电环境信息、所述历史的当前电量和所述充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为所述训练样本的样本标签,对神经网络进行迭代训练,并将训练出的满足预设迭代条件的当前神经网络确定为充电时长预测模型。The charging environment information, the historical current power and the charging power of the rechargeable batteries in the charging state are used as training samples, and the actual remaining charging time corresponding to each training sample is used as a sample of the training sample label, perform iterative training on the neural network, and determine the current neural network that meets the preset iterative conditions as the charging duration prediction model.

在一个可能的实施方式中,所述历史充电数据还包括历史的充电结束电量;训练单元540,还用于:In a possible implementation manner, the historical charging data further includes historical charging end power; the training unit 540 is further configured to:

获取各充电电池的候选的历史充电数据;Obtain the candidate historical charging data of each rechargeable battery;

对所述候选的历史充电数据进行筛选,得到满足预设筛选条件的历史充电数据;其中,所述预设筛选条件包括所述历史的充电结束电量为相应充电电池的总电量,且所述实际充电剩余时长大于预设时长。Screening the candidate historical charging data to obtain historical charging data that meets preset screening conditions; wherein the preset screening conditions include that the historical end-of-charge power is the total power of the corresponding rechargeable battery, and the actual The remaining charging time is longer than the preset time.

在一个可能的实施方式中,所述充电环境信息包括充电位置和相应的环境温度;In a possible implementation manner, the charging environment information includes a charging location and a corresponding ambient temperature;

所述充电功率包括所述充电电池对应的需求充电功率和实际充电功率。The charging power includes required charging power and actual charging power corresponding to the rechargeable battery.

在一个可能的实施方式中,获取单元510,还用于获取所述充电电池的荷电状态SOC;所述荷电状态SOC表示所述充电电池的剩余电量与相同条件下所述充电电池的总电量的比值;In a possible implementation manner, the obtaining unit 510 is further configured to obtain the state of charge SOC of the rechargeable battery; the state of charge SOC represents the remaining power of the rechargeable battery and the total power of the rechargeable battery under the same conditions The ratio of electricity;

确定单元530,还用于若所述充电电池位于电动车辆中,则根据所述电动车辆的车辆类型,查找预设的车辆类型与充电电池总电量的映射关系,确定所述车辆类型对应的充电电池的总电量;The determining unit 530 is further configured to, if the rechargeable battery is located in an electric vehicle, search for a preset mapping relationship between the vehicle type and the total power of the rechargeable battery according to the vehicle type of the electric vehicle, and determine the charging corresponding to the vehicle type the total charge of the battery;

以及,将确定的所述充电电池的总电量与所述充电电池的荷电状态SOC的乘积,确定为所述充电电池的当前电量。And, the product of the determined total power of the rechargeable battery and the state of charge SOC of the rechargeable battery is determined as the current power of the rechargeable battery.

在一个可能的实施方式中,所述装置还包括发送单元550;In a possible implementation manner, the apparatus further includes a sending unit 550;

发送单元550,用于向建立通信连接的终端发送所述剩余充电时长,以使所述终端展示所述剩余充电时长。The sending unit 550 is configured to send the remaining charging duration to a terminal that establishes a communication connection, so that the terminal displays the remaining charging duration.

在一个可能的实施方式中,所述装置还包括日志生成单元560;In a possible implementation manner, the apparatus further includes a log generating unit 560;

日志生成单元560,用于生成所述充电电池的时长预测日志,所述时长预测日志包括所述充电电池的本次充电的充电剩余时长。The log generating unit 560 is configured to generate a duration prediction log of the rechargeable battery, where the duration prediction log includes the remaining charging duration of the current charging of the rechargeable battery.

本申请上述实施例提供的电池充电剩余时长的获取装置的各功能单元的功能,可以通过上述各方法步骤来实现,因此,本申请实施例提供的电池充电剩余时长的获取装置中的各个单元的具体工作过程和有益效果,在此不复赘述。The functions of each functional unit of the apparatus for obtaining the remaining battery charging time provided by the above embodiments of the present application can be implemented through the above method steps. Therefore, the functions of each unit in the apparatus for obtaining the remaining battery charging time provided by the embodiments of the present application The specific working process and beneficial effects will not be repeated here.

本申请实施例还提供了一种电子设备,如图6所示,包括处理器610、通信接口620、存储器630和通信总线640,其中,处理器610,通信接口620,存储器630通过通信总线640完成相互间的通信。An embodiment of the present application also provides an electronic device, as shown in FIG. 6 , including a processor 610 , a communication interface 620 , a memory 630 and a communication bus 640 , wherein the processor 610 , the communication interface 620 , and the memory 630 pass through the communication bus 640 complete communication with each other.

存储器630,用于存放计算机程序;a memory 630 for storing computer programs;

处理器610,用于执行存储器630上所存放的程序时,实现如下步骤:When the processor 610 is used to execute the program stored in the memory 630, the following steps are implemented:

获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率;Obtain the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state;

将所述当前充电环境信息、所述当前电量和所述当前充电功率输入预设的充电时长预测模型,通过所述充电时长预测模型对所述当前充电环境信息、所述当前电量和所述当前充电功率进行分析,输出所述充电电池从所述当前电量至该充电电池的总电量所需的充电时长;其中,所述充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;Input the current charging environment information, the current power and the current charging power into a preset charging duration prediction model, and the current charging environment information, the current power and the current charging duration are determined by the charging duration prediction model. The charging power is analyzed, and the charging time required by the rechargeable battery from the current power to the total power of the rechargeable battery is output; wherein, the charging time prediction model is based on the charging environment information in the historical charging data and the historical current The electricity and each charging power are obtained by iterative training of the neural network;

将输出的充电时长确定为所述充电电池的充电剩余时长。The output charging duration is determined as the remaining charging duration of the rechargeable battery.

在一个可能的实施方式中,所述充电时长预测模型的训练过程包括:In a possible implementation manner, the training process of the charging duration prediction model includes:

获取各充电电池的历史充电数据,所述历史充电数据包括充电电池在充电状态下的充电环境信息、历史的当前电量、充电功率和相应充电电池的实际充电剩余时长;所述实际充电剩余时长为从历史的当前电量充电至该充电电池的总电量所需的真实时长;Obtain the historical charging data of each rechargeable battery, the historical charging data includes the charging environment information of the rechargeable battery in the charging state, the historical current power, charging power and the actual remaining charging time of the corresponding rechargeable battery; the actual remaining charging time is The real time required to charge from the historical current power to the total power of the rechargeable battery;

将所述各充电电池在充电状态下的所述充电环境信息、所述历史的当前电量和所述充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为所述训练样本的样本标签,对神经网络进行迭代训练,并将训练出的满足预设迭代条件的当前神经网络确定为充电时长预测模型。The charging environment information, the historical current power and the charging power of the rechargeable batteries in the charging state are used as training samples, and the actual remaining charging time corresponding to each training sample is used as a sample of the training sample label, perform iterative training on the neural network, and determine the current neural network that meets the preset iterative conditions as the charging duration prediction model.

在一个可能的实施方式中,所述历史充电数据还包括历史的充电结束电量;In a possible implementation manner, the historical charging data further includes historical charging end power;

获取各充电电池的历史充电数据,包括:Get historical charging data for each rechargeable battery, including:

获取各充电电池的候选的历史充电数据;Obtain the candidate historical charging data of each rechargeable battery;

对所述候选的历史充电数据进行筛选,得到满足预设筛选条件的历史充电数据;其中,所述预设筛选条件包括所述历史的充电结束电量为相应充电电池的总电量,且所述实际充电剩余时长大于预设时长。Screening the candidate historical charging data to obtain historical charging data that meets preset screening conditions; wherein the preset screening conditions include that the historical end-of-charge power is the total power of the corresponding rechargeable battery, and the actual The remaining charging time is longer than the preset time.

在一个可能的实施方式中,所述充电环境信息包括充电位置和相应的环境温度;In a possible implementation manner, the charging environment information includes a charging location and a corresponding ambient temperature;

所述充电功率包括所述充电电池对应的需求充电功率和实际充电功率。The charging power includes required charging power and actual charging power corresponding to the rechargeable battery.

在一个可能的实施方式中,所述当前电量的确定过程包括:In a possible implementation manner, the process of determining the current power level includes:

获取所述充电电池的荷电状态SOC;所述荷电状态SOC表示所述充电电池的剩余电量与相同条件下所述充电电池的总电量的比值;obtaining the state of charge SOC of the rechargeable battery; the state of charge SOC represents the ratio of the remaining power of the rechargeable battery to the total power of the rechargeable battery under the same conditions;

若所述充电电池位于电动车辆中,则根据所述电动车辆的车辆类型,查找预设的车辆类型与充电电池总电量的映射关系,确定所述车辆类型对应的充电电池的总电量;If the rechargeable battery is located in an electric vehicle, searching for a preset mapping relationship between the vehicle type and the total power of the rechargeable battery according to the vehicle type of the electric vehicle, and determining the total power of the rechargeable battery corresponding to the vehicle type;

将确定的所述充电电池的总电量与所述充电电池的荷电状态SOC的乘积,确定为所述充电电池的当前电量。The product of the determined total power of the rechargeable battery and the state of charge SOC of the rechargeable battery is determined as the current power of the rechargeable battery.

在一个可能的实施方式中,将输出的充电时长确定为所述充电电池的充电剩余时长之后,所述方法还包括:In a possible implementation manner, after determining the output charging duration as the remaining charging duration of the rechargeable battery, the method further includes:

向建立通信连接的终端发送所述剩余充电时长,以使所述终端展示所述剩余充电时长。The remaining charging duration is sent to the terminal that establishes the communication connection, so that the terminal displays the remaining charging duration.

在一个可能的实施方式中,将输出的充电时长确定为所述充电电池的充电剩余时长之后,所述方法还包括:In a possible implementation manner, after determining the output charging duration as the remaining charging duration of the rechargeable battery, the method further includes:

生成所述充电电池的时长预测日志,所述时长预测日志包括所述充电电池的本次充电的充电剩余时长。A duration prediction log of the rechargeable battery is generated, and the duration prediction log includes the remaining charging duration of the current charging of the rechargeable battery.

上述提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The above-mentioned communication bus may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above electronic device and other devices.

存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; may also be a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

由于上述实施例中电子设备的各器件解决问题的实施方式以及有益效果可以参见图2所示的实施例中的各步骤来实现,因此,本申请实施例提供的电子设备的具体工作过程和有益效果,在此不复赘述。Since the implementation manners and beneficial effects of each component of the electronic device in the above-mentioned embodiment to solve the problem can be achieved by referring to the steps in the embodiment shown in FIG. 2 , the specific working process and beneficial effects of the electronic device provided by the embodiment of the present application The effect will not be repeated here.

在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的电池充电剩余时长的获取方法。In yet another embodiment provided by the present application, a computer-readable storage medium is also provided, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is made to execute any one of the foregoing embodiments. The method for obtaining the remaining battery charging time.

在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的电池充电剩余时长的获取方法。In yet another embodiment provided by the present application, a computer program product including instructions is also provided, which, when running on a computer, enables the computer to execute the method for obtaining the remaining battery charging time in any of the foregoing embodiments .

本领域内的技术人员应明白,本申请实施例中的实施例可提供为方法、系统、或计算机程序产品。因此,本申请实施例中可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例中可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments in the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein .

本申请实施例中是参照根据本申请实施例中实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of the present application are described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本申请实施例中的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例中范围的所有变更和修改。Although the preferred embodiments of the embodiments of the present application have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

显然,本领域的技术人员可以对本申请实施例中实施例进行各种改动和变型而不脱离本申请实施例中实施例的精神和范围。这样,倘若本申请实施例中实施例的这些修改和变型属于本申请实施例中权利要求及其等同技术的范围之内,则本申请实施例中也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments in the embodiments of the present application without departing from the spirit and scope of the embodiments in the embodiments of the present application. In this way, if these modifications and variations of the embodiments in the embodiments of the present application fall within the scope of the claims in the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include these modifications and variations.

Claims (10)

1.一种电池充电剩余时长的获取方法,其特征在于,所述方法包括:1. A method for obtaining the remaining duration of battery charging, wherein the method comprises: 获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率;Obtain the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state; 将所述当前充电环境信息、所述当前电量和所述当前充电功率输入预设的充电时长预测模型,通过所述充电时长预测模型对所述当前充电环境信息、所述当前电量和所述当前充电功率进行分析,输出所述充电电池从所述当前电量至所述充电电池的总电量所需的充电时长;其中,所述充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;Input the current charging environment information, the current power and the current charging power into a preset charging duration prediction model, and the current charging environment information, the current power and the current charging duration are determined by the charging duration prediction model. The charging power is analyzed, and the charging time required by the rechargeable battery from the current power to the total power of the rechargeable battery is output; wherein, the charging time prediction model is based on the charging environment information in the historical charging data, historical The current power and each charging power are obtained by iterative training of the neural network; 将输出的充电时长确定为所述充电电池的充电剩余时长。The output charging duration is determined as the remaining charging duration of the rechargeable battery. 2.如权利要求1所述的方法,其特征在于,所述充电时长预测模型的训练过程包括:2. The method of claim 1, wherein the training process of the charging duration prediction model comprises: 获取各充电电池的历史充电数据,所述历史充电数据包括充电电池在充电状态下的充电环境信息、历史的当前电量、充电功率和相应充电电池的实际充电剩余时长;所述实际充电剩余时长为从历史的当前电量充电至所述充电电池的总电量所需的真实时长;Obtain the historical charging data of each rechargeable battery, the historical charging data includes the charging environment information of the rechargeable battery in the charging state, the historical current power, charging power and the actual remaining charging time of the corresponding rechargeable battery; the actual remaining charging time is The real time required to charge from the historical current power to the total power of the rechargeable battery; 将所述各充电电池在充电状态下的所述充电环境信息、所述历史的当前电量和所述充电功率作为训练样本,将每个训练样本对应的实际充电剩余时长作为所述训练样本的样本标签,对神经网络进行迭代训练,并将训练出的满足预设迭代条件的当前神经网络确定为充电时长预测模型。The charging environment information, the historical current power and the charging power of the rechargeable batteries in the charging state are used as training samples, and the actual remaining charging time corresponding to each training sample is used as a sample of the training sample label, perform iterative training on the neural network, and determine the current neural network that meets the preset iterative conditions as the charging duration prediction model. 3.如权利要求2所述的方法,其特征在于,所述历史充电数据还包括历史的充电结束电量;3. The method according to claim 2, wherein the historical charging data further comprises historical charging end power; 获取各充电电池的历史充电数据,包括:Get historical charging data for each rechargeable battery, including: 获取各充电电池的候选的历史充电数据;Obtain the candidate historical charging data of each rechargeable battery; 对所述候选的历史充电数据进行筛选,得到满足预设筛选条件的历史充电数据;其中,所述预设筛选条件包括所述历史的充电结束电量为相应充电电池的总电量,且所述实际充电剩余时长大于预设时长。Screening the candidate historical charging data to obtain historical charging data that meets preset screening conditions; wherein the preset screening conditions include that the historical end-of-charge power is the total power of the corresponding rechargeable battery, and the actual The remaining charging time is longer than the preset time. 4.如权利要求1或2所述的方法,其特征在于,所述充电环境信息包括充电位置和相应的环境温度;4. The method according to claim 1 or 2, wherein the charging environment information comprises a charging position and a corresponding ambient temperature; 所述充电功率包括所述充电电池对应的需求充电功率和实际充电功率。The charging power includes required charging power and actual charging power corresponding to the rechargeable battery. 5.如权利要求1或2所述的方法,其特征在于,所述当前电量的确定过程包括:5. The method according to claim 1 or 2, wherein the determination process of the current electric quantity comprises: 获取所述充电电池的荷电状态SOC;所述荷电状态SOC表示所述充电电池的剩余电量与相同条件下所述充电电池的总电量的比值;obtaining the state of charge SOC of the rechargeable battery; the state of charge SOC represents the ratio of the remaining power of the rechargeable battery to the total power of the rechargeable battery under the same conditions; 若所述充电电池位于电动车辆中,则根据所述电动车辆的车辆类型,查找预设的车辆类型与充电电池总电量的映射关系,确定所述车辆类型对应的充电电池的总电量;If the rechargeable battery is located in an electric vehicle, searching for a preset mapping relationship between the vehicle type and the total power of the rechargeable battery according to the vehicle type of the electric vehicle, and determining the total power of the rechargeable battery corresponding to the vehicle type; 将确定的所述充电电池的总电量与所述充电电池的荷电状态SOC的乘积,确定为所述充电电池的当前电量。The product of the determined total power of the rechargeable battery and the state of charge SOC of the rechargeable battery is determined as the current power of the rechargeable battery. 6.如权利要求1所述的方法,其特征在于,将输出的充电时长确定为所述充电电池的充电剩余时长之后,所述方法还包括:6. The method of claim 1, wherein after determining the output charging duration as the remaining charging duration of the rechargeable battery, the method further comprises: 向建立通信连接的终端发送所述剩余充电时长,以使所述终端展示所述剩余充电时长。The remaining charging duration is sent to the terminal that establishes the communication connection, so that the terminal displays the remaining charging duration. 7.如权利要求1所述的方法,其特征在于,将输出的充电时长确定为所述充电电池的充电剩余时长之后,所述方法还包括:7. The method of claim 1, wherein after determining the output charging duration as the remaining charging duration of the rechargeable battery, the method further comprises: 生成所述充电电池的时长预测日志,所述时长预测日志包括所述充电电池的本次充电的充电剩余时长。A duration prediction log of the rechargeable battery is generated, and the duration prediction log includes the remaining charging duration of the current charging of the rechargeable battery. 8.一种电池剩余充电时长的获取装置,其特征在于,所述装置包括:8. A device for obtaining the remaining charging time of a battery, wherein the device comprises: 获取单元,用于获取充电状态下充电电池对应的当前充电环境信息、当前电量和当前充电功率;an acquisition unit, used for acquiring the current charging environment information, current power and current charging power corresponding to the rechargeable battery in the charging state; 输入单元,用于将所述当前充电环境信息、所述当前电量和所述当前充电功率输入预设的充电时长预测模型,通过所述充电时长预测模型对所述当前充电环境信息、所述当前电量和所述当前充电功率进行分析,输出所述充电电池从所述当前电量至所述充电电池的总电量所需的充电时长;其中,所述充电时长预测模型是根据历史充电数据中各充电环境信息、历史的当前电量和各充电功率,对神经网络进行迭代训练得到的;The input unit is used to input the current charging environment information, the current power and the current charging power into a preset charging duration prediction model, and the current charging environment information, the current charging duration prediction model The power and the current charging power are analyzed, and the charging time required by the rechargeable battery from the current power to the total power of the rechargeable battery is output; wherein, the charging duration prediction model is based on historical charging data. Environmental information, historical current power and charging power are obtained by iterative training of the neural network; 确定单元,用于将输出的充电时长确定为所述充电电池的充电剩余时长。A determining unit, configured to determine the output charging duration as the remaining charging duration of the rechargeable battery. 9.一种电子设备,其特征在于,所述电子设备包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;9. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 存储器,用于存放计算机程序;memory for storing computer programs; 处理器,用于执行存储器上所存储的程序时,实现权利要求1-7任一所述的方法步骤。The processor is configured to implement the method steps of any one of claims 1-7 when executing the program stored in the memory. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7任一所述的方法步骤。10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps of any one of claims 1-7 are implemented.
CN202110831077.3A 2021-07-22 2021-07-22 Method, device, electronic device and medium for obtaining the remaining time of battery charging Pending CN115224751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110831077.3A CN115224751A (en) 2021-07-22 2021-07-22 Method, device, electronic device and medium for obtaining the remaining time of battery charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110831077.3A CN115224751A (en) 2021-07-22 2021-07-22 Method, device, electronic device and medium for obtaining the remaining time of battery charging

Publications (1)

Publication Number Publication Date
CN115224751A true CN115224751A (en) 2022-10-21

Family

ID=83606851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110831077.3A Pending CN115224751A (en) 2021-07-22 2021-07-22 Method, device, electronic device and medium for obtaining the remaining time of battery charging

Country Status (1)

Country Link
CN (1) CN115224751A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115805841A (en) * 2022-11-18 2023-03-17 长城汽车股份有限公司 Remaining charging time prediction method, device, vehicle and storage medium
CN116154910A (en) * 2023-02-20 2023-05-23 深圳市正浩创新科技股份有限公司 Charging control method and device, electronic equipment and storage medium
CN117110895A (en) * 2023-10-19 2023-11-24 武汉船用电力推进装置研究所(中国船舶集团有限公司第七一二研究所) Marine lithium ion power battery residual energy estimation method, equipment and medium
CN117277519A (en) * 2023-11-21 2023-12-22 深圳鹏城新能科技有限公司 Method, system and medium for protecting energy storage inverter battery from overcharge
CN118487352A (en) * 2024-07-09 2024-08-13 深圳市美富达电子有限公司 Wireless charging method and device for intelligent equipment, vehicle and medium
CN118944249A (en) * 2024-09-29 2024-11-12 深圳市德兰明海新能源股份有限公司 A method, device, battery and storage medium for calculating remaining charging time

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115244A1 (en) * 2012-02-01 2013-08-08 日本電気株式会社 Charging-time-predicting device, charging-time-predicting method, and program
CN110010987A (en) * 2019-04-12 2019-07-12 苏州正力蔚来新能源科技有限公司 A kind of remaining charging time prediction technique of the electric car based on big data
CN110674569A (en) * 2019-08-30 2020-01-10 蜂巢能源科技有限公司 Method and system for estimating remaining charging time based on decision tree

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115244A1 (en) * 2012-02-01 2013-08-08 日本電気株式会社 Charging-time-predicting device, charging-time-predicting method, and program
CN110010987A (en) * 2019-04-12 2019-07-12 苏州正力蔚来新能源科技有限公司 A kind of remaining charging time prediction technique of the electric car based on big data
CN110674569A (en) * 2019-08-30 2020-01-10 蜂巢能源科技有限公司 Method and system for estimating remaining charging time based on decision tree

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115805841A (en) * 2022-11-18 2023-03-17 长城汽车股份有限公司 Remaining charging time prediction method, device, vehicle and storage medium
CN116154910A (en) * 2023-02-20 2023-05-23 深圳市正浩创新科技股份有限公司 Charging control method and device, electronic equipment and storage medium
CN117110895A (en) * 2023-10-19 2023-11-24 武汉船用电力推进装置研究所(中国船舶集团有限公司第七一二研究所) Marine lithium ion power battery residual energy estimation method, equipment and medium
CN117110895B (en) * 2023-10-19 2024-01-05 武汉船用电力推进装置研究所(中国船舶集团有限公司第七一二研究所) Marine lithium ion power battery residual energy estimation method, equipment and medium
CN117277519A (en) * 2023-11-21 2023-12-22 深圳鹏城新能科技有限公司 Method, system and medium for protecting energy storage inverter battery from overcharge
CN117277519B (en) * 2023-11-21 2024-02-02 深圳鹏城新能科技有限公司 Method, system and medium for protecting energy storage inverter battery from overcharge
CN118487352A (en) * 2024-07-09 2024-08-13 深圳市美富达电子有限公司 Wireless charging method and device for intelligent equipment, vehicle and medium
CN118944249A (en) * 2024-09-29 2024-11-12 深圳市德兰明海新能源股份有限公司 A method, device, battery and storage medium for calculating remaining charging time
CN118944249B (en) * 2024-09-29 2024-12-10 深圳市德兰明海新能源股份有限公司 A method, device, battery and storage medium for calculating remaining charging time

Similar Documents

Publication Publication Date Title
CN115224751A (en) Method, device, electronic device and medium for obtaining the remaining time of battery charging
US10613149B2 (en) Managing apparatus, computer-readable storage medium, management method and production method
CN103969585B (en) Assess method and apparatus, related system and the vehicle of the behaviour in service of battery
WO2021208079A1 (en) Method and apparatus for obtaining power battery life data, computer device, and medium
CN113884905B (en) State-of-charge estimation method and system for power battery based on deep learning
CN106772064A (en) A kind of health state of lithium ion battery Forecasting Methodology and device
CN111537884B (en) Method, device, computer equipment and medium for obtaining power battery life data
CN112881921A (en) Battery equivalent circuit model parameter identification method, device, equipment and storage medium
CN115219919A (en) Battery health state prediction method, device, electronic device and readable storage medium
CN115221795A (en) Training method, prediction method, device, equipment and medium of capacity prediction model
CN114545272A (en) Battery life prediction method, device and equipment
CN115166532A (en) Method and device for predicting capacity of nickel-metal hydride battery, electronic device and storage medium
CN114966452A (en) Battery state determination method and related device
CN117031292A (en) Battery health state prediction method, device, computer equipment and storage medium
CN115700717A (en) Power distribution analysis method based on electric automobile power consumption demand
CN115856695A (en) Battery health state prediction method and device and electronic equipment
CN113687237B (en) Lithium battery residual charging time prediction method for guaranteeing electrical safety
CN109738808B (en) A method for estimating SOC based on BP neural network optimized by simulated annealing algorithm
CN115293083B (en) Integrated circuit time sequence prediction method and device, electronic equipment and storage medium
CN117594893A (en) Management method, system, equipment and medium for battery quick charge strategy
CN113673157B (en) Training method and device of battery capacity prediction model, electronic equipment and medium
CN118425794A (en) Method, device and equipment for estimating health of single battery
CN115236512A (en) Battery health state evaluation method and device, electronic equipment and readable storage medium
CN114598000A (en) Vehicle wireless charging control method, device, medium and electronic device
EP4113777A1 (en) Method and apparatus for predicting charging progress of battery

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