13.3. Battery Thermal System Compressor Speed Request - BatThermSysCmprSpdReq
Id |
BatThermSysCmprSpdReq |
Title |
Battery Thermal System Compressor Speed Request |
System |
Thermal |
Document Type |
Application Software Component Specification Preview |
13.3.1. Overview
This component calculates the compressor speed request for the battery thermal system based on the coolant temperature error between the requested and actual coolant temperatures. It uses a PI controller with anti-windup to generate the speed request. The speed request is limited based on minimum and maximum values. The compressor is only turned on if the battery thermal system state is COOLING and the speed request is above a minimum threshold.
13.3.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Calculate Compressor Speed Request |
Calculates the compressor speed request in % based on the coolant temperature error using a PI controller with anti-windup. Limits the speed request between 0-100%. Turns on compressor only if battery thermal system state is COOLING and speed request is above a minimum threshold, else sets speed request to 0%. |
13.3.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
HighestAverageMDTemp |
Incoming |
int16 |
[-1] |
inherit |
2 |
HighestAverageMDTemp_valid |
Incoming |
boolean |
[-1] |
inherit |
3 |
BTSSystemState |
Incoming |
Enum: VtSig_BTSSystemState_t |
[-1] |
inherit |
4 |
BTSSystemState_valid |
Incoming |
boolean |
[-1] |
inherit |
5 |
CooltTReq |
Incoming |
single |
[-1] |
inherit |
6 |
CooltTAct |
Incoming |
single |
[-1] |
inherit |
7 |
CmprSpdReq |
Outgoing |
single |
[-1] |
inherit |
13.3.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
BtscsrCmprTurnOnSpdReqMin |
single |
[1,1] |
Min: 0, Max: 100 |
% |
Minimum speed request to turn on compressor |
2 |
BtscsrSpdReqIntglGain |
single |
[1,1] |
Min: -10, Max: 10 |
Integral gain factor of the PI controller for the compressor speed request |
|
3 |
BtscsrSpdReqMax |
single |
[1,1] |
Min: 0, Max: 100 |
% |
Maximum allowable compressor pump speed |
4 |
BtscsrSpdReqPropGain |
single |
[1,1] |
Min: -10, Max: 10 |
Proportional gain factor of the PI controller for the compressor speed request |
|
5 |
BtscsrSpdReqTblCooltTErr |
single |
[1,9] |
Min: , Max: |
degC |
Breakpoint values for 1-D table for speed request vs coolant temp error |
6 |
BtscsrSpdReqTblAxis |
single |
[1,9] |
Min: , Max: |
% |
Table values for 1-D table for speed request vs coolant temp error |