% 提取电池中放电等压降的时间
% load('B0005.mat');
% j = 0 ; % 记录等压降放电时间总次数
% B0005_DisCharge_Voltage_Time = []; % 设置存储等压降时间的容器
% for i=1:length(B0005.cycle)
% cycle_type = B0005.cycle(i).type; % 读取cycle结构体中type字段的值
% data_type = 'discharge';
% value = strcmp(cycle_type,data_type); % 判断两个字符串是否相同
%
% if value
% j = j + 1 ;
% B0005_Voltage_measured = B0005.cycle(i).data.Voltage_measured; % 将读取到的电压存储到新的数组中
% B0005_Voltage_Data_Time = B0005.cycle(i).data.Time; % 将读取到的时间存储到新的数组中
% [m,n] = size(B0005_Voltage_measured);
% for i=1:n
% if B0005_Voltage_measured(:,i) < 3.8
% B0005_Time_high = B0005_Voltage_Data_Time(:,i-1);
% break;
% end
% end
%
% for i=1:n
% if B0005_Voltage_measured(:,i) < 3.5
% B0005_Time_low = B0005_Voltage_Data_Time(:,i-1);
% break;
% end
% end
% B0005_DisCharge_Voltage_Time(j,:)=B0005_Time_low - B0005_Time_high;
% end
% end
% plot(B0005_DisCharge_Voltage_Time);
% legend('B0005实际放电等压降放时间');
% load('B0006.mat');
% j = 0 ; % 记录等压降放电时间总次数
% B0006_DisCharge_Voltage_Time = []; % 设置存储等压降时间的容器
% for i=1:length(B0006.cycle)
%
% cycle_type = B0006.cycle(i).type; % 读取cycle结构体中type字段的值
% data_type = 'discharge';
% value = strcmp(cycle_type,data_type); % 判断两个字符串是否相同
%
% if value
%
% j=j+1;
% B0006_Voltage_measured = B0006.cycle(i).data.Voltage_measured; % 将读取到的电压存储到新的数组中
% B0006_Voltage_Data_Time = B0006.cycle(i).data.Time; % 将读取到的时间存储到新的数组中
% [m,n] = size(B0006_Voltage_measured);
%
% for i=1:n
% if B0006_Voltage_measured(:,i) < 3.8 % 如果小于3.8V,记录时间
% B0006_Time_high = B0006_Voltage_Data_Time(:,i-1);
% break;
% end
% end
%
% for i=1:n
% if B0006_Voltage_measured(:,i) < 3.5 % 如果小于3.5V,记录时间
% B0006_Time_low = B0006_Voltage_Data_Time(:,i-1);
% break;
% end
% end
%
% B0006_DisCharge_Voltage_Time(j,:)=B0006_Time_low - B0006_Time_high; % 将每一组数据中等压降时间存入数组中
%
% end
%
% end
% plot(B0006_DisCharge_Voltage_Time);
% legend('B0006实际放电等压降放时间');
% load('B0007.mat');
% j = 0 ;
% B0007_DisCharge_Voltage_Time = []; % 设置存储等压降时间的容器
% for i=1:length(B0007.cycle)
% cycle_type = B0007.cycle(i).type; % 读取cycle结构体中type字段的值
% data_type = 'discharge';
% value = strcmp(cycle_type,data_type); % 判断两个字符串是否相同
%
% if value
% j = j + 1 ;
% B0007_Voltage_measured = B0007.cycle(i).data.Voltage_measured; % 将读取到的电压存储到新的数组中
% B0007_Voltage_Data_Time = B0007.cycle(i).data.Time; % 将读取到的时间存储到新的数组中
% [m,n] = size(B0007_Voltage_measured);
% for i=1:n
% if B0007_Voltage_measured(:,i) < 3.8
% B0007_Time_high = B0007_Voltage_Data_Time(:,i-1);
% break;
% end
% end
%
% for i=1:n
% if B0007_Voltage_measured(:,i) < 3.5
% B0007_Time_low = B0007_Voltage_Data_Time(:,i-1);
% break;
% end
% end
% B0007_DisCharge_Voltage_Time(j,:)=B0007_Time_low - B0007_Time_high;
% end
% end
% plot(B0007_DisCharge_Voltage_Time);
% legend('B0007实际放电等压降放时间');
% load('B0018.mat');
% j = 0 ;
% B0018_DisCharge_Voltage_Time = []; % 设置存储等压降时间的容器
% for i=1:length(B0018.cycle)
% cycle_type = B0018.cycle(i).type; % 读取cycle结构体中type字段的值
% data_type = 'discharge';
% value = strcmp(cycle_type,data_type); % 判断两个字符串是否相同
%
% if value
% j = j + 1 ;
% B0018_Voltage_measured = B0018.cycle(i).data.Voltage_measured; % 将读取到的电压存储到新的数组中
% B0018_Voltage_Data_Time = B0018.cycle(i).data.Time; % 将读取到的时间存储到新的数组中
% [m,n] = size(B0018_Voltage_measured);
% for i=1:n
% if B0018_Voltage_measured(:,i) < 3.8
% B0018_Time_high = B0018_Voltage_Data_Time(:,i-1); % 将每次循环中放电至高电压对应的放电时间赋值给新变量
% break;
% end
% end
%
% for i=1:n
% if B0018_Voltage_measured(:,i) < 3.5
% B0018_Time_low = B0018_Voltage_Data_Time(:,i-1); % 将每次循环中放电至低电压对应的放电时间赋值给新变量
% break;
% end
% end
% B0018_DisCharge_Voltage_Time(j,:)=B0018_Time_low - B0018_Time_high;
% end
% end
% plot(B0018_DisCharge_Voltage_Time);
% legend('B0018实际放电等压降放时间');
没有合适的资源?快使用搜索试试~ 我知道了~
锂电池剩余寿命预测数据提取.rar
共10个文件
mat:8个
m:2个
需积分: 36 31 下载量 47 浏览量
2021-02-09
00:03:40
上传
评论 9
收藏 107.66MB RAR 举报
温馨提示
用于间接预测锂电池剩余寿命
资源详情
资源评论
资源推荐
收起资源包目录
锂电池剩余寿命预测数据提取.rar (10个子文件)
锂电池剩余寿命预测数据提取
提取放电容量的代码
B0005.mat 15.22MB
B0007.mat 15.31MB
B0018.mat 8.11MB
B0006.mat 15.29MB
Extraction_Capacity.m 3KB
提取等压降放电时间代码
B0005.mat 15.22MB
B0007.mat 15.31MB
B0018.mat 8.11MB
B0006.mat 15.29MB
Extraction_DisVoltage_Time.m 5KB
共 10 条
- 1
犀首HYQ
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0