bq76PL536A-Q1:适用于EV和HEV的电池监控与保护IC

需积分: 9 0 下载量 187 浏览量 更新于2024-06-30 4 收藏 1.95MB PDF 举报
"TI-BQ76PL536A-Q1.pdf" 是一款适用于电动车(EV)和混合动力电动车(HEV)的电池监控及二级保护集成电路单元,由德州仪器(Texas Instruments)制造。 该器件的主要特点包括: 1. 符合汽车应用的高标准:通过了AEC-Q100标准的2级认证,可在-40℃至+105℃的环境温度范围内稳定工作,同时具备HBM分类等级2和CDM分类等级C4B的抗静电能力。 2. 支持广泛的电池配置:支持3节到6节的锂离子电池串联,适用于各种化合物的电池组。 3. 热插拔功能:允许电池在系统运行时安全地插入或移除。 4. 高速SPI接口:采用SPI接口进行数据通信,支持高速传输,便于系统扩展和信息交互。 5. 垂直堆叠接口设计:器件之间无需额外隔离组件,简化了电路设计。 6. 高精度ADC:提供±1mV的典型精度,14位分辨率,快速6µs的转换时间和9个ADC输入,支持同步测量。 7. 内置ECC功能的OTP寄存器:用于存储配置数据,确保数据的可靠性和完整性。 8. 内置二级保护功能:包含过压和欠压保护、过热保护,并可编程设定阈值和延迟时间,提供专用故障信号。 9. 安全的电芯均衡控制:通过外部组件设置均衡电流,实现电池组的均衡充电,支持安全超时功能。 10. 宽泛的电源电压范围:连续工作电压7.2V至27V,峰值电压可达36V。 11. 低功耗设计:在休眠模式下典型电流仅为12µA,空闲模式下典型电流为45µA,降低系统能耗。 12. 集成高精度LDO:内建5V、3mA的低压差稳压器,为系统提供稳定电源。 这款集成电路广泛应用于电动车、混合动力电动车以及不间断电源系统(UPS)、电动自行车等需要高效电池管理的场合。其高精度的电池监控能力和强大的保护机制,确保了电池组的安全和性能稳定性,是电动汽车和能源存储系统中的关键组件。

ValueError Traceback (most recent call last) <ipython-input-54-536a68c200e5> in <module> 52 return model 53 # lstm network ---> 54 model = create_LSTM_model(X_train,n_steps,n_length, n_features) 55 # summary 56 print(model.summary()) <ipython-input-54-536a68c200e5> in create_LSTM_model(X_train, n_steps, n_length, n_features) 22 X_train = X_train.reshape((X_train.shape[0], n_steps, 1, n_length, n_features)) 23 ---> 24 model.add(ConvLSTM2D(filters=64, kernel_size=(1,3), activation='relu', 25 input_shape=(n_steps, 1, n_length, n_features))) 26 model.add(Flatten()) ~\anaconda3\lib\site-packages\tensorflow\python\trackable\base.py in _method_wrapper(self, *args, **kwargs) 203 self._self_setattr_tracking = False # pylint: disable=protected-access 204 try: --> 205 result = method(self, *args, **kwargs) 206 finally: 207 self._self_setattr_tracking = previous_value # pylint: disable=protected-access ~\anaconda3\lib\site-packages\keras\utils\traceback_utils.py in error_handler(*args, **kwargs) 68 # To get the full stack trace, call: 69 # `tf.debugging.disable_traceback_filtering()` ---> 70 raise e.with_traceback(filtered_tb) from None 71 finally: 72 del filtered_tb ~\anaconda3\lib\site-packages\keras\engine\input_spec.py in assert_input_compatibility(input_spec, inputs, layer_name) 233 ndim = shape.rank 234 if ndim != spec.ndim: --> 235 raise ValueError( 236 f'Input {input_index} of layer "{layer_name}" ' 237 "is incompatible with the layer: " ValueError: Input 0 of layer "conv_lstm2d_12" is incompatible with the layer: expected ndim=5, found ndim=3. Full shape received: (None, 10, 5)解决该错误

2023-05-26 上传

def create_LSTM_model(X_train,n_steps,n_length, n_features): # instantiate the model model = Sequential() model.add(Input(shape=(X_train.shape[1], X_train.shape[2]))) X_train = X_train.reshape((X_train.shape[0], n_steps, 1, n_length, n_features)) model.add(ConvLSTM2D(filters=64, kernel_size=(1,3), activation='relu', input_shape=(n_steps, 1, n_length, n_features))) model.add(Flatten()) # cnn1d Layers # 添加lstm层 model.add(LSTM(64, activation = 'relu', return_sequences=True)) model.add(Dropout(0.5)) #添加注意力层 model.add(LSTM(64, activation = 'relu', return_sequences=False)) # 添加dropout model.add(Dropout(0.5)) model.add(Dense(128)) # 输出层 model.add(Dense(1, name='Output')) # 编译模型 model.compile(optimizer='adam', loss='mse', metrics=['mae']) return model # lstm network model = create_LSTM_model(X_train,n_steps,n_length, n_features) # summary print(model.summary())修改该代码,解决ValueError Traceback (most recent call last) <ipython-input-54-536a68c200e5> in <module> 52 return model 53 # lstm network ---> 54 model = create_LSTM_model(X_train,n_steps,n_length, n_features) 55 # summary 56 print(model.summary()) <ipython-input-54-536a68c200e5> in create_LSTM_model(X_train, n_steps, n_length, n_features) 22 X_train = X_train.reshape((X_train.shape[0], n_steps, 1, n_length, n_features)) 23 ---> 24 model.add(ConvLSTM2D(filters=64, kernel_size=(1,3), activation='relu', 25 input_shape=(n_steps, 1, n_length, n_features))) 26 model.add(Flatten()) ~\anaconda3\lib\site-packages\tensorflow\python\trackable\base.py in _method_wrapper(self, *args, **kwargs) 203 self._self_setattr_tracking = False # pylint: disable=protected-access 204 try: --> 205 result = method(self, *args, **kwargs) 206 finally: 207 self._self_setattr_tracking = previous_value # pylint: disable=protected-access ~\anaconda3\lib\site-packages\keras\utils\traceback_utils.py in error_handler(*args, **kwargs) 68 # To get the full stack trace, call: 69 # tf.debugging.disable_traceback_filtering() ---> 70 raise e.with_traceback(filtered_tb) from None 71 finally: 72 del filtered_tb ~\anaconda3\lib\site-packages\keras\engine\input_spec.py in assert_input_compatibility(input_spec, inputs, layer_name) 233 ndim = shape.rank 234 if ndim != spec.ndim: --> 235 raise ValueError( 236 f'Input {input_index} of layer "{layer_name}" ' 237 "is incompatible with the layer: " ValueError: Input 0 of layer "conv_lstm2d_12" is incompatible with the layer: expected ndim=5, found ndim=3. Full shape received: (None, 10, 5)错误

2023-05-26 上传