Zombieverter Parameters and Spot Values: Difference between revisions
(foramt sucks) |
Rstevens81 (talk | contribs) (added note on timer) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 14: | Line 14: | ||
| | | | ||
|| || 0|| 8|| 0 | || || 0|| 8|| 0 | ||
| ||'''Selected Inverter to be controlled'''0 | | ||'''Selected Inverter to be controlled''' | ||
0=None - No inverter to be controlled<br> | |||
1=Leaf_Gen1 - Nissan Leaf Gen1, 2 or 3 control via CAN<br> | |||
2=GS450H - Lexus GS450h via Clocked Serial<br> | |||
3=UserCAN - ''Not Used''<br> | |||
4=OpenI - Open Inverter control board via CAN<br> | |||
5=Prius_Gen3 - Toyota Prius via Clocked Serial<br> | |||
6=Outlander - ''Outlander PHEV !!!Depreciated''<br> | |||
7=GS300H - Lexus IS300h via Clocked Serial<br> | |||
8=RearOutlander - Misubishi Outlander PHEV via CAN<br> | |||
|- | |- | ||
|6 | |6 | ||
Line 33: | Line 33: | ||
|0 | |0 | ||
| | | | ||
|'''Vehicle to Integrate with'''0=BMW_E46 - BMW E46 via CAN and digital IO | |'''Vehicle to Integrate with'''<br> | ||
1=BMW_E6x+ - BMW E6x and E9x and derivatives via CAN | 0=BMW_E46 - BMW E46 via CAN and digital IO<br> | ||
2=Classic - Digital IO | 1=BMW_E6x+ - BMW E6x and E9x and derivatives via CAN<br> | ||
3=None - No vehicle support functions | 2=Classic - Digital IO <br> | ||
5=BMW_E39 - BMW E39 via CAN and digital IO | 3=None - No vehicle support functions<br> | ||
6=VAG ''- Tbc which supported vehicles'' | 5=BMW_E39 - BMW E39 via CAN and digital IO<br> | ||
7=Subaru ''- Tbc which supported vehicles'' | 6=VAG ''- Tbc which supported vehicles''<br> | ||
8=BMW_E31 - BMW E31 via CAN and digital IO | 7=Subaru ''- Tbc which supported vehicles''<br> | ||
8=BMW_E31 - BMW E31 via CAN and digital IO<br> | |||
|- | |- | ||
|108 | |108 | ||
Line 51: | Line 52: | ||
| | | | ||
|'''Connected Gear Selector via CAN'''0=None - No CAN based gear selector used | |'''Connected Gear Selector via CAN'''0=None - No CAN based gear selector used | ||
1=BMW_F30 - [[BMW F-Series Gear Lever|BMW F series shifter]] via CAN | 1=BMW_F30 - [[BMW F-Series Gear Lever|BMW F series shifter]] via CAN<br> | ||
2=JLR_G1 - [[Land Rover Gear Selector|Jaguar Landrover Circular shifter]] via CAN | 2=JLR_G1 - [[Land Rover Gear Selector|Jaguar Landrover Circular shifter]] via CAN<br> | ||
3=JLR_G2 - [[Land Rover Gear Selector|Jaguar Landrover Circular shifter]] via CAN<br> | |||
3=JLR_G2 - [[Land Rover Gear Selector|Jaguar Landrover Circular shifter]] via CAN | 4=BMW_E65 - BMW E65 shifter via CAN<br> | ||
4=BMW_E65 - BMW E65 shifter via CAN | |||
|- | |- | ||
|78 | |78 | ||
Line 65: | Line 65: | ||
|0 | |0 | ||
|BMW E31, E39, E46 | |BMW E31, E39, E46 | ||
|'''Type of gearbox for vehicle intergration'''0=Manual | |'''Type of gearbox for vehicle intergration'''<br> | ||
1=Auto | 0=Manual<br> | ||
1=Auto<br> | |||
|- | |- | ||
|39|| interface | |39|| interface | ||
| || ||0||4||0 | | || ||0||4||0 | ||
| || '''Type of CAN bus based charging interface used'''0=Unused - None Used | | || '''Type of CAN bus based charging interface used'''<br> | ||
1=i3LIM - [[BMW I3 Fast Charging LIM Module|BMW I3 LIM]] | 0=Unused - None Used<br> | ||
2=Chademo - [[Chademo with Zombieverter|Chademo via CAN]] | 1=i3LIM - [[BMW I3 Fast Charging LIM Module|BMW I3 LIM]]<br> | ||
3=CPC - [https://citini.com/product/evs-charge-port-controller/ Charge Port Interface] (Volt Influx Ltd) | 2=Chademo - [[Chademo with Zombieverter|Chademo via CAN]]<br> | ||
4=Focci - [[Foccci|Foccci CCS controller]] | 3=CPC - [https://citini.com/product/evs-charge-port-controller/ Charge Port Interface] (Volt Influx Ltd)<br> | ||
4=Focci - [[Foccci|Foccci CCS controller]]<br> | |||
|- | |- | ||
|37|| chargemodes | |37|| chargemodes | ||
| || ||0||6||0 | | || ||0||6||0 | ||
| || '''Charger Used'''0=Off - None | | || '''Charger Used'''<br> | ||
1=EXT_DIGI - Digital signal control | 0=Off - None<br> | ||
2=Volt_Ampera - [[Chevrolet Volt Charger|Gen 1 Ampera/Volt Charger]] via CAN | 1=EXT_DIGI - Digital signal control<br> | ||
2=Volt_Ampera - [[Chevrolet Volt Charger|Gen 1 Ampera/Volt Charger]] via CAN<br> | |||
3=Leaf_PDM - Gen 1, 2 or 3 Nissan Leaf PDM via CAN | 3=Leaf_PDM - Gen 1, 2 or 3 Nissan Leaf PDM via CAN<br> | ||
4=TeslaOI - [[Tesla Model S/X GEN2 Charger|Run Gen 2]] or [[Tesla Model S/X GEN3 Charger|Gen 3 Tesla charger]] with OI board via CAN | 4=TeslaOI - [[Tesla Model S/X GEN2 Charger|Run Gen 2]] or [[Tesla Model S/X GEN3 Charger|Gen 3 Tesla charger]] with OI board via CAN<br> | ||
5=Out_lander - [[Mitsubishi Outlander DCDC OBC|Outlander PHEV Charger DCDC]] via CAN<br> | |||
5=Out_lander - [[Mitsubishi Outlander DCDC OBC|Outlander PHEV Charger DCDC]] via CAN | 6=Elcon - Elcon/TC charger protocol via CAN<br> | ||
6=Elcon - Elcon/TC charger protocol via CAN | |||
|- | |- | ||
|90|| BMS_Mode | |90|| BMS_Mode | ||
| || ||0||5||0 | | || ||0||5||0 | ||
| ||'''Connected BMS over CAN'''0=Off - No BMS implementated | | ||'''Connected BMS over CAN'''<br> | ||
1=SimpBMS - SimpBMS/Victron via CAN | 0=Off - No BMS implementated<br> | ||
2=TiDaisychainSingle - via CAN | 1=SimpBMS - SimpBMS/Victron via CAN<br> | ||
3=TiDaisychainDual - via CAN | 2=TiDaisychainSingle - via CAN<br> | ||
4=LeafBms - Stock Nissan Leaf Gen1,2 or 3 BMS via CAN | 3=TiDaisychainDual - via CAN<br> | ||
5=RenaultKangoo33 | 4=LeafBms - Stock Nissan Leaf Gen1,2 or 3 BMS via CAN<br> | ||
5=RenaultKangoo33<br> | |||
|- | |- | ||
|88|| ShuntType | |88|| ShuntType | ||
| || ||0||3|| 0 | | || ||0||3|| 0 | ||
| ||'''Current Shunt type used, also allows use of CAN based contactor boxes'''0=None - No Current Shunt Used | | ||'''Current Shunt type used, also allows use of CAN based contactor boxes'''<br> | ||
1=ISA - Isabelleheute Current Shunt Used | 0=None - No Current Shunt Used<br> | ||
2=SBOX | 1=ISA - Isabelleheute Current Shunt Used<br> | ||
3=VAG | 2=SBOX<br> | ||
3=VAG<br> | |||
|- | |- | ||
|70|| InverterCan | |70|| InverterCan | ||
Line 146: | Line 149: | ||
|129|| MotActive | |129|| MotActive | ||
| || ||0||3||0 | | || ||0||3||0 | ||
|Toyota or Lexus Inverters only||'''Potnom to Torque Translation'''0=Mg1and2 - Both motors get same percentage request | |Toyota or Lexus Inverters only||'''Potnom to Torque Translation'''0=Mg1and2 - Both motors get same percentage request<br> | ||
1=Mg1 - Only use MG1 | 1=Mg1 - Only use MG1<br> | ||
2=Mg2 - Only use MG2 | 2=Mg2 - Only use MG2<br> | ||
3=BlendingMG2and1 - Use MG2 upto 50% Potnom then taper in MG1 | 3=BlendingMG2and1 - Use MG2 upto 50% Potnom then taper in MG1<br> | ||
|- | |- | ||
| colspan="9" |'''- Throttle''' | | colspan="9" |'''- Throttle''' | ||
|- | |- | ||
| | |7 || potmin | ||
| | | | ||
|dig | | "dig" | ||
|0 | |0 | ||
|4095 | |4095 | ||
Line 162: | Line 165: | ||
|Value of "pot" when pot isn't pressed at all | |Value of "pot" when pot isn't pressed at all | ||
|- | |- | ||
| | | 8|| potmax | ||
| | | | ||
|dig | | "dig" | ||
|0 | |0 | ||
|4095 | |4095 | ||
Line 171: | Line 174: | ||
|Value of "pot" when pot is pushed all the way in | |Value of "pot" when pot is pushed all the way in | ||
|- | |- | ||
| | | 9||pot2min | ||
| | | | ||
|dig | | "dig" | ||
|0 | |0 | ||
|4095 | |4095 | ||
Line 180: | Line 183: | ||
|Value of "pot2" when regen pot is in 0 position | |Value of "pot2" when regen pot is in 0 position | ||
|- | |- | ||
| | |10|| pot2max | ||
| | | | ||
|dig | | "dig" | ||
|0 | |0 | ||
|4095 | |4095 | ||
Line 189: | Line 192: | ||
| Value of "pot2" when regen pot is in full on position | | Value of "pot2" when regen pot is in full on position | ||
|- | |- | ||
| | |60||regenrpm | ||
| ||rpm||100||10000||1500 | | || "rpm"||100||10000||1500 | ||
| || | | ||The motor rpm at which regenmax is used as the regen limit. Under this rpm the regen limit is tapered to 0% at 100 rpm. This is applied to both Regenmax and regenBrake | ||
|- | |- | ||
| | |126||regenendrpm | ||
| ||rpm||100|| 10000||100 | | ||rpm||100|| 10000||100 | ||
| || | | ||Below this motor RPM the regen is 0 | ||
|- | |- | ||
| | |61||regenmax | ||
| || %||- | | || "%"||-35||0||-10 | ||
| || | | ||The maximum allow regen in ''potnom'' percentage, always negative or 0. Ramps down based on motor rpm | ||
|- | |- | ||
| | |122||regenBrake | ||
| || % ||- | | || "%" ||-35 ||0||-10 | ||
| || | | ||Brake pedal based negative ''potnom'' request, always negative or 0. Ramps down based on motor rpm | ||
|- | |- | ||
| | |68|| regenramp | ||
| || %/10ms || 0. | | || "%/10ms" || 0.1||100||1 | ||
| ||Ramp speed when entering regen. E.g. when you set brkmax to -30% and regenramp to 1, it will take 300ms to arrive at brake force of -60% | | ||Ramp speed when entering regen. E.g. when you set brkmax to -30% and regenramp to 1, it will take 300ms to arrive at brake force of -60% | ||
|- | |- | ||
| | |11||potmode | ||
| 31 GND | | 31 GND | ||
Line 218: | Line 221: | ||
34 +5v | 34 +5v | ||
| ||0||1||0 | | ||0||1||0 | ||
| ||0=Single Channel | | ||'''Type of Throttle input'''0=Single Channel | ||
1=Dual Channel - Preferred setting | 1=Dual Channel - Preferred setting | ||
|- | |- | ||
| | |12||dirmode | ||
| 53 Rev | | 53 Rev | ||
54 Fwd | 54 Fwd | ||
| ||0||4||1 | | ||0||4||1 | ||
| ||Button | | When not using CAN shifter||'''Type of gear switch input'''Button | ||
Switch | Switch | ||
Line 235: | Line 238: | ||
DefaultForward | DefaultForward | ||
|- | |- | ||
| | |127||reversemotor | ||
| || ||0||1||0 | | || ||0||1||0 | ||
| || | | Outlander Rear Motor ONLY||Reverse motor rotation | ||
|- | |- | ||
| | |13||throtramp | ||
| || %/10ms|| | | || "%/10ms"||1||100|| 10 | ||
| || | | ||The amount of allowed ''potnom'' change per %/10ms | ||
|- | |- | ||
| | |14||throtramprpm | ||
| ||rpm||0||20000||20000 | | ||rpm||0||20000||20000 | ||
| || | | ||Above this motor rpm Throtramp is no longer applied | ||
|- | |- | ||
| | |15||revlim | ||
| ||rpm||0||20000 || 6000 | | || "rpm"||0||20000 || 6000 | ||
| || | | || | ||
|- | |- | ||
| | |137||revRegen | ||
| || | | || ONOFF||0||1||0 | ||
| || | | ||Regen enabled in reverse | ||
|- | |- | ||
| | |19||udcmin | ||
| || | | || "V"|| 0||1000||450 | ||
| || | | ||Minimum battery voltage derate | ||
|- | |- | ||
| | |20||udclim | ||
| ||V||0||1000|| | | || "V"||0||1000|| 520 | ||
| || | | ||Maximum battery voltage derate | ||
|- | |- | ||
| | |21||idcmax | ||
| || | | || "A"||0||5000||5000 | ||
| || | | ||Maximum DC input current '''(regen current)''' | ||
|- | |- | ||
| | |22||idcmin | ||
| ||A|| | | || "A"||-5000||0||-5000 | ||
| ||Maximum DC | | ||Maximum DC output current '''(drive/discharge current)''' | ||
|- | |- | ||
| | |23||tmphsmax | ||
| || | | || "°C"||50|| 150||85 | ||
| || | | ||Inverter Temp derate | ||
|- | |- | ||
| | |24||tmpmmax | ||
| ||°C|| | | || "°C"||70|| 300||300 | ||
| || | | ||Motor Temp derate | ||
|- | |- | ||
| | |25 | ||
| | |throtmax | ||
| || | | || "%"||0|| 100||100 | ||
| || | | ||Maximum allow positve ''potnom'' request in the forward direction | ||
|- | |- | ||
| | |26||throtmin | ||
| || %|| | | || "%"||-100||0||-100 | ||
| || | | ||Minimum (most negative) allowed ''potnom'' at all times | ||
|- | |- | ||
| | |123||throtmaxRev | ||
| || "%"||0||100||30 | |||
| ||Maximum allow positive ''potnom'' request in the reverse direction | |||
| || %||0||100||30 | |||
| || | |||
|- | |- | ||
| | |76||throtdead | ||
| || %||0||50||10 | | || "%"||0||50||10 | ||
| || | | ||''-TBC'' | ||
|- | |- | ||
| | |128||RegenBrakeLight | ||
| || %||-100 ||0||-15 | | || "%"||-100||0||-15 | ||
| || | | ||Under this Potnom the brake light output turns on | ||
|- | |- | ||
| | |131||throtrpmfilt | ||
| ||rpm/10ms ||0. | | || "rpm/10ms"||0.1 ||200||15 | ||
|200 ||15 | | ||Change of speed fed into the dynamic speed based throttle map. High value is slower response to rapid speed change. If you have low speed judder increase this value. | ||
| || | |||
|- | |- | ||
| colspan="9" |'''- Gearbox Control''' | | colspan="9" |'''- Gearbox Control''' | ||
|- | |- | ||
| | |27||Gear | ||
| || ||0|| | | || ||0||3||0 | ||
| || | | Lexus GS450h only||'''Control of the GS450h gears'''0=LOW - always low gear | ||
1=HIGH - always high gear | |||
2=AUTO - Auto shifting between low and high based on speed | |||
3=HIGHFWDLOWREV - reverse always low gear and forward always high gear | |||
|- | |- | ||
| | |28 ||OilPump | ||
| || %||0||100||50 | | || %||0||100||50 | ||
| || | | Lexus GS450h only||Oil pump PWM duty cycle run setpoint | ||
|- | |- | ||
| colspan="9" |'''- Cruise Control''' | | colspan="9" |'''- Cruise Control''' | ||
|- | |- | ||
| | |29 ||cruisestep | ||
| ||rpm||1||1000||200 | | ||rpm||1||1000||200 | ||
| || | | ||''-TBC'' | ||
|- | |- | ||
| | |30 ||cruiseramp | ||
| ||rpm/100ms||1||1000||20 | | ||rpm/100ms||1||1000||20 | ||
| || | | ||''-TBC'' | ||
|- | |- | ||
| | |31 || regenlevel | ||
| || ||0||3||2 | | || ||0||3||2 | ||
| || | | ||''-TBC'' | ||
|- | |- | ||
| colspan="9" |'''- Contactor Control''' | | colspan="9" |'''- Contactor Control''' | ||
|- | |- | ||
| | |32||udcsw | ||
| ||V||0||1000||330 | | ||V||0||1000||330 | ||
| || | | ||Voltage point at which precharge is considered finished | ||
|- | |- | ||
| | |33||cruiselight | ||
| || ||0||1||0 | | || ||0||1||0 | ||
| ||Off | | ||Off | ||
Line 355: | Line 348: | ||
na | na | ||
|- | |- | ||
| | |34|| errlights | ||
| || ||0||255 | | || ||0||255 | ||
|0 | |0 | ||
Line 366: | Line 359: | ||
| colspan="9" |'''- Communication''' | | colspan="9" |'''- Communication''' | ||
|- | |- | ||
| | |77||CAN3Speed | ||
| |25 L | | |25 L | ||
Line 379: | Line 372: | ||
| colspan="9" |'''- Charger Control''' | | colspan="9" |'''- Charger Control''' | ||
|- | |- | ||
| | |38|| BattCap | ||
| ||kWh||0. | | || "kWh"||0.1||250||22 | ||
| || | | || | ||
|- | |- | ||
| | |40|| Voltspnt | ||
| ||V||0||1000||395 | | || "V"||0||1000||395 | ||
| || | | ||Max charge voltage for battery | ||
|- | |- | ||
| | |41 | ||
|Pwrspnt | | Pwrspnt | ||
| ||W||0||12000||1500 | | || "W"||0||12000||1500 | ||
| || | | ||Maximum power draw by charger. Manipulated automatically by a Charging Interface | ||
|- | |- | ||
| | |56|| IdcTerm | ||
| ||A||0||150||0 | | || "A"||0||150||0 | ||
| || | | ||Ending charge current, if current is below this value charging session is stopped and requires restarting to resume. | ||
|- | |- | ||
| | |42|| CCS_ICmd | ||
| ||A||0||150||0 | | || "A"||0||150||0 | ||
| || | | ||''NOT USED - superseded by automation'' | ||
|- | |- | ||
| | |43|| CCS_ILim | ||
| ||A||0||350||100 | | || "A"||0||350||100 | ||
| || | | ||Maximum allowed Current during fast charging | ||
|- | |- | ||
| | |44|| CCS_SOCLim | ||
| || %||0||100||80 | | || "%"||0||100||80 | ||
| || | | ||NOT USED | ||
|- | |- | ||
| | |79|| SOCFC | ||
| || %||0||100|| 50 | | || "%"||0||100|| 50 | ||
| || | | ||Sent during DCFC | ||
|- | |- | ||
| | |45|| Chgctrl | ||
| || ||0||2||0 | | || ||0||2||0 | ||
| ||Enable | | ||'''Type of Charging Control'''Enable - Always allow charging | ||
Disable | Disable - No charging | ||
Timer | Timer - Time based charging | ||
|- | |||
|120|| ChgAcVolt | |||
| || "Vac"||0||250||240 | |||
| ||Expected AC voltage into charger - used for Control Pilot power limiting | |||
|- | |- | ||
| | |121|| ChgEff | ||
| || | | || "%"||0||100||90 | ||
| || | | ||Expected charger effiecency - used for Control Pilot power limiting | ||
|- | |- | ||
| | |133 | ||
| || | | ConfigFocci | ||
| | | | ||
| | |||
|0 | |||
|1 | |||
|0 | |||
|FOCCCI only | |||
|Toggle to have the Zombie configure the Foccci CAN map | |||
|- | |- | ||
| colspan="9" |'''- DC-DC Converter''' | | colspan="9" |'''- DC-DC Converter''' | ||
|- | |- | ||
| | |105||DCdc_Type | ||
| || ||0||1||0 | | || ||0||1||0 | ||
| ||No DCDC | | ||No DCDC | ||
Line 436: | Line 439: | ||
TeslaG2 | TeslaG2 | ||
|- | |- | ||
| | |106||DCSetPnt | ||
| ||V||9||15 ||14 | | ||V||9||15 ||14 | ||
| || | | ||''NOT USED'' | ||
|- | |- | ||
| colspan="9" |'''- Battery Management''' | | colspan="9" |'''- Battery Management''' | ||
|- | |- | ||
| | |91||BMS_Timeout | ||
| ||sec||1||120||10 | | ||sec||1||120||10 | ||
| || | | SimpBMS, Kangoo, Daisy BMS||Time before BMS data is set to all 0 | ||
|- | |- | ||
| | |92||BMS_VminLimit | ||
| ||V||0||10||3 | | ||V||0||10||3 | ||
| || | | SimpBMS, Kangoo, Daisy BMS||Allow min cell voltage, forces zero charge current limit | ||
|- | |- | ||
| | |93||BMS_VmaxLimit | ||
| ||V||0||10||4.18 | | ||V||0||10||4.18 | ||
| || | | SimpBMS, Kangoo, Daisy BMS||Allow max cell voltage, forces zero charge current limit | ||
|- | |- | ||
| | |94||BMS_TminLimit | ||
| ||°C||-100||100||5 | | ||°C||-100||100||5 | ||
| || | | SimpBMS, Kangoo, Daisy BMS||Allow min cell temp, forces zero charge current limit | ||
|- | |- | ||
| | |95||BMS_TmaxLimit | ||
| ||°C||-100 | | ||°C||-100 | ||
|100||50 | |100||50 | ||
| || | | SimpBMS, Kangoo, Daisy BMS||Allow max cell temp, forces zero charge current limit | ||
|- | |- | ||
| colspan="9" | | | colspan="9" | | ||
'''- Heater Module''' | '''- Heater Module''' | ||
|- | |- | ||
| | |57||Heater | ||
| || ||0||2||0 | | || ||0||2||0 | ||
| ||None | | ||'''Selected Heater Type'''0=None | ||
1=Ampera - [[Chevrolet Volt Water Heater|Ampera Heater via SW CAN]] | |||
Ampera | 2=VW - [[Volkswagen Heater|VW Coolant Heater via LIN]] | ||
3=OutlanderCan - [[Mitsubishi Outlander Water Heater|Outlander Coolant Heater via CAN]] | |||
|- | |- | ||
| | |58||Control | ||
| || ||0||2||0 | | || ||0||2||0 | ||
| ||Disable | | ||'''Heater Controls Enabled'''0=Disable - OFF | ||
1=Enable - ON | |||
Enable | 2=Timer - NOT USED | ||
Timer | |||
|- | |- | ||
| | | 59||HeatPwr | ||
| ||W||0||6500||0 | | ||W||0||6500||0 | ||
| || | | ||''NOT USED'' | ||
|- | |- | ||
| | |124||HeatPercnt | ||
| || %||0||100||0 | | || %||0||100||0 | ||
| || | | || | ||
Line 505: | Line 495: | ||
|Set_Day | |Set_Day | ||
| || ||0||6||0 | | || ||0||6||0 | ||
| || | | || rowspan="4" |1.Ensure Chgctrl is set to disable, save to flash | ||
2.Enter time under Set_Day, Set_Hour, Set_Min to appropriate values, Hit save | |||
3.Return Chgctrl to desired state, hit save | |||
|- | |- | ||
| 78||Set_Hour | | 78||Set_Hour | ||
| ||Hours||0||23||0 | | ||Hours||0||23||0 | ||
| | |||
|- | |- | ||
|79||Set_Min | |79||Set_Min | ||
| ||Mins||0||59||0 | | ||Mins||0||59||0 | ||
| | |||
|- | |- | ||
|80 | |80 | ||
|Set_Sec | |Set_Sec | ||
| ||Secs||0||59||0 | | ||Secs||0||59||0 | ||
| | |||
|- | |- | ||
| 81 | | 81 | ||
|Chg_Hrs | |Chg_Hrs | ||
| ||Hours||0||23||0 | | ||Hours||0||23||0 | ||
| || | | || rowspan="2" |Set to disable to set (similar to above) | ||
|- | |- | ||
| 82 | | 82 | ||
|Chg_Min | |Chg_Min | ||
| ||Mins||0||59||0 | | ||Mins||0||59||0 | ||
| | |||
|- | |- | ||
| 83||Chg_Dur | | 83||Chg_Dur | ||
| ||Mins||0||600||0 | | ||Mins||0||600||0 | ||
| || | | ||Needs to be >0 and Chgctrl set to timer to work | ||
|- | |- | ||
|84 | |84 | ||
Line 550: | Line 543: | ||
| colspan="9" |'''- General Purpose I/O''' | | colspan="9" |'''- General Purpose I/O''' | ||
|- | |- | ||
| | |135|| PumpPWM | ||
| || ||0|| | | || PumpOutType||0||1 | ||
| | |0 | ||
| || | | ||[[ZombieVerter IO|see IO Function Page]] for more details | ||
|- | |- | ||
| | |80|| Out1Func | ||
|4|| ||0|| | |4|| PINFUNCS||0||15||6 | ||
| || | | ||[[ZombieVerter IO|see IO Function Page]] for more details | ||
|- | |- | ||
| | |81|| Out2Func | ||
|3|| ||0|| | |3|| PINFUNCS||0||15||7 | ||
| || | | ||[[ZombieVerter IO|see IO Function Page]] for more details | ||
|- | |- | ||
| | |82|| Out3Func | ||
|39 | |39 | ||
| ||0||13||0 | | PINFUNCS||0||15||3 | ||
| || | | ||[[ZombieVerter IO|see IO Function Page]] for more details | ||
|- | |||
|83|| SL1Func | |||
|38 || PINFUNCS||0||15||0 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|84 || SL2Func | |||
|7|| PINFUNCS||0||15||0 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|85|| PWM1Func | |||
| 6|| PINFUNCS||0||18||0 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|86|| PWM2Func | |||
|5|| PINFUNCS||0||18 ||4 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|87|| PWM3Func | |||
|50|| PINFUNCS||0||18||2 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|98|| GP12VInFunc | |||
|51|| PINFUNCS||0|| 13||12 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|99|| HVReqFunc | |||
| 36|| PINFUNCS||0||13||12 | |||
| ||[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |||
|140 | |||
| PB1InFunc | |||
| | |||
| PINFUNCS | |||
|0 | |||
|13 | |||
|12 | |||
| | |||
|[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |- | ||
| | |141 | ||
| | | PB2InFunc | ||
| | | | | ||
| PINFUNCS | |||
|0 | |||
|13 | |||
|12 | |||
| | |||
|[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |- | ||
| | |142 | ||
| | | PB3InFunc | ||
| | | | | ||
| PINFUNCS | |||
|0 | |||
|13 | |||
|12 | |||
| | |||
|[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |- | ||
| | |110 | ||
| | | GPA1Func | ||
| | | | | ||
| APINFUNCS | |||
|0 | |||
|2 | |||
|0 | |||
| | |||
|[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |- | ||
| | |111|| GPA2Func | ||
| | |35|| APINFUNCS||0||2||0 | ||
| || | | ||[[ZombieVerter IO|see IO Function Page]] for more details | ||
|- | |- | ||
| | |114|| ppthresh | ||
| | | || "dig"||0||4095||2500 | ||
| || | | ||[[ZombieVerter IO|see IO Function Page]] for more details | ||
|- | |- | ||
| | |115 | ||
| | | BrkVacThresh | ||
| | | | | ||
|dig | |||
|0 | |||
|4095 | |||
|2500 | |||
| | |||
|[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |- | ||
| | |116 | ||
| | | BrkVacHyst | ||
| | | | | ||
|"dig" | |||
|0 | |||
|4095 | |||
|2500 | |||
| | |||
|[[ZombieVerter IO|see IO Function Page]] for more details | |||
|- | |- | ||
| | |117 | ||
| | | DigiPot1Step | ||
| | | | | ||
|dig | |||
|0 | |||
|255 | |||
|0 | |||
| | |||
|Set resistance level of POT 1 pin to ground, steps from 0-255 0-10kOhm | |||
|- | |- | ||
| | |118 | ||
| DigiPot2Step | |||
| | | | ||
|dig | |||
|0 | |||
|255 | |||
|0 | |||
| | |||
|Set resistance level of POT 2 pin to ground, steps from 0-255 0-10kOhm | |||
|- | |- | ||
| | |134|| FanTemp | ||
| || | | || "°C" || 0||100||40 | ||
| || | | ||tmphs or chagtemp above this will have the Fan Output come on | ||
|- | |- | ||
| | |136 || TachoPPR | ||
| || | | || "PPR"||0||100||2 | ||
| || | | ||Pulses per rotation for RPM generation | ||
|- | |- | ||
| colspan="9" |'''- ISA Shunt Control''' | | colspan="9" |'''- ISA Shunt Control''' | ||
|- | |- | ||
| | |75||IsaInit | ||
| || ||0||1|| 0 | | || ||0||1|| 0 | ||
| || | | ||toggle to start ISA shunt initi | ||
|- | |- | ||
| colspan="9" |'''- PWM Control''' | | colspan="9" |'''- PWM Control''' | ||
|- | |- | ||
| | |100|| Tim3_Presc | ||
| || ||1||72000||719 | | || ||1||72000||719 | ||
| || | | ||Only used if CP Spoof and GS450h Oil pump output is not used | ||
|- | |- | ||
| | |101|| Tim3_Period | ||
| || || 1|| 100000||7200 | | || || 1|| 100000||7200 | ||
| || | | ||Only used if CP Spoof and GS450h Oil pump output is not used | ||
|- | |- | ||
| | |102|| Tim3_1_OC | ||
| || ||1|| 100000||3600 | | || ||1|| 100000||3600 | ||
| || | | ||Only used if CP Spoof and GS450h Oil pump output is not used | ||
|- | |- | ||
| | |103|| Tim3_2_OC | ||
| || ||1||100000||3600 | | || ||1||100000||3600 | ||
| || | | ||Only used if CP Spoof and GS450h Oil pump output is not used | ||
|- | |- | ||
| | |104|| Tim3_3_OC | ||
| || ||1||100000||3600 | | || ||1||100000||3600 | ||
| || | | ||Only used if CP Spoof and GS450h Oil pump output is not used | ||
|- | |||
|132 | |||
| CP_PWM | |||
| | |||
| | |||
|1 | |||
|100 | |||
|10 | |||
|Only with Charging Interfaces | |||
|''NOT USED'' | |||
|} | |} | ||
'''Spot Values''' | '''Spot Values''' | ||
{| class="wikitable" | {| class="wikitable" | ||
!Name | !Name!!Unit!!Values | ||
!Required!!Description | |||
|- | |- | ||
| version | | version || -|| | ||
| || | | ||Version Number of Firmware | ||
|- | |- | ||
|opmode | |opmode|| -|| 0=Off | ||
1=Run | |||
| ||Off|| || || || || || | 2=Precharge | ||
3=PchFail | |||
4=Charge | |||
| ||Main Software States | |||
|- | |||
|chgtyp|| -|| 0=Off | |||
1=AC | |||
2=DCFC | |||
| ||Type of Charging Active | |||
|- | |- | ||
| | |lasterr|| -|| | ||
| || | | || | ||
|- | |- | ||
| | |status|| -|| | ||
| || | |||
| || | |||
|- | |- | ||
| | |TorqDerate | ||
| || | | - | ||
| | |||
| | |||
|Reasons for limiting Potnom, resets after key cycle | |||
|- | |- | ||
|udc | |udc||V|| | ||
|Shunt/Inverter/Charger||HV Bus Voltage - From Shunt or other HV component | |||
|- | |- | ||
|udc2 | |udc2||V|| | ||
|Shunt/BMS||HV Battery Voltage - From Shunt or BMS | |||
|- | |- | ||
|udc3 | |udc3||V|| | ||
|Shunt/BMS||ISA Shunt HV 3 Voltage | |||
|- | |- | ||
|deltaV | |deltaV||V|| | ||
|ISA Shunt||Unused - Old ISA Shunt calc | |||
|- | |- | ||
|INVudc | |INVudc||V|| | ||
|Inverter||HV Voltage feedback from Inverter | |||
|- | |- | ||
|power | |power||kW|| | ||
| | | |Shunt/BMS||HV Power - From Shunt or BMS | ||
| || | |||
|- | |- | ||
| idc | | idc||A|| | ||
|Shunt/BMS||HV Current - From Shunt or BMS ''(A negative current is discharging out of the battery, positive is charging in to the battery)'' | |||
|- | |- | ||
|KWh | |KWh||kwh|| | ||
| | | |Shunt/BMS||Battery energy - From Shunt or BMS | ||
| || | |||
|- | |- | ||
|AMPh | |AMPh||Ah|| | ||
|ISA Shunt||Battery energy - From Shunt or BMS | |||
|- | |- | ||
|SOC | |SOC || %|| | ||
|Shunt/BMS||Battery State of Charge - From Shunt or BMS | |||
|- | |- | ||
| BMS_Vmin | | BMS_Vmin||V|| | ||
|BMS||Min Cell Voltage - From BMS | |||
|- | |- | ||
|BMS_Vmax | |BMS_Vmax|| V|| | ||
|BMS||Max Cell Voltage - From BMS | |||
|- | |- | ||
|BMS_Tmin | |BMS_Tmin||°C|| | ||
|BMS||Min Cell Temp - From BMS | |||
|- | |- | ||
|BMS_Tmax | |BMS_Tmax||°C|| | ||
|BMS||Max Cell Temp - From BMS | |||
|- | |- | ||
|BMS_ChargeLim | |BMS_ChargeLim||A|| | ||
|BMS||Max Charging Current Limit - From BMS | |||
|- | |- | ||
|speed | |speed|| rpm|| | ||
| Inverter||Motor Speed | |||
|- | |- | ||
|Veh_Speed | |Veh_Speed||kph|| | ||
| Vehicle||Speed provided from CAN bus | |||
|- | |- | ||
|torque | |torque||dig|| | ||
| Inverter||Torque is translated from Potnom for most inverters | |||
|- | |- | ||
|pot | |pot||dig | ||
| | |||
| || | | ||Pedal signal 1 - digital value not voltage | ||
|- | |- | ||
| pot2 | | pot2 ||dig|| | ||
| ||Pedal signal 2 - digital value not voltage | |||
|- | |- | ||
|potbrake | |potbrake ||dig|| | ||
| ||''NOT USED'' | |||
|- | |- | ||
|brakepressure | |brakepressure||dig|| | ||
| ||''NOT USED'' | |||
|- | |- | ||
|potnom | |potnom|| %|| | ||
| ||Calculated from Pot and Pot2 | |||
|- | |- | ||
| dir | | dir|| ||1=Forward | ||
0=Neutral | |||
| ||Neutral|| | | -1=Reverse | ||
| ||Selected Direction | |||
|- | |- | ||
|tmphs | |tmphs||°C|| | ||
| Inverter/analogue in||Inverter temperature | |||
|- | |- | ||
|tmpm | |tmpm||°C|| | ||
| | | | Inverter/analogue in||Motor temperature | ||
| || | |||
|- | |- | ||
|tmpaux | |tmpaux||°C|| | ||
| Shunt||ISA Shunt Temp | |||
|- | |- | ||
|uaux | |uaux||V|| | ||
| ||12V In measurement/rough | |||
|- | |- | ||
|canio | |canio || || | ||
| || || || | | ||CANIO values | ||
|- | |- | ||
|FrontRearBal | |FrontRearBal|| %|| | ||
| ||''NOT TO BE USED - Will be changed'' | |||
|- | |- | ||
|cruisespeed | |cruisespeed||rpm|| | ||
| ||Cruise Speed Target | |||
|- | |- | ||
|cruisestt | |cruisestt|| || | ||
| ||Cruise State | |||
| || | |||
|- | |- | ||
|din_cruise | |din_cruise | ||
| || | | || | ||
| || | | ||Cruise input signal - ''NOT USED'' | ||
|- | |- | ||
|din_start | |din_start | ||
| || | | || | ||
| || | | ||Start input signal | ||
|- | |- | ||
| din_brake | | din_brake|| || | ||
| || | | ||Brake input signal - (if applied = no Potnom = no drive) | ||
|- | |- | ||
|din_forward | |din_forward || || | ||
| || | | ||Forward input signal | ||
|- | |- | ||
| din_reverse | | din_reverse|| || | ||
| || | | ||Reverse input signal | ||
|- | |- | ||
|din_bms | |din_bms | ||
| || | | || | ||
| || | | ||BMS input signal - ''NOT USED'' | ||
|- | |- | ||
|din_12Vgp | |din_12Vgp|| || | ||
| || | | ||12V GP input signal | ||
|- | |- | ||
|handbrk | |handbrk|| || | ||
| || | | ||''NOT USED'' | ||
|- | |- | ||
|Gear1 | |Gear1|| || | ||
| || | | GS450h||PB1 input signal | ||
|- | |- | ||
|Gear2 | |Gear2|| || | ||
| || | | GS450h||PB2 input signal | ||
|- | |- | ||
| Gear3 | | Gear3 | ||
| || | | || | ||
| || | | GS450h||PB3 input signal | ||
|- | |- | ||
|T15Stat | |T15Stat|| || | ||
| || | | Vehicle||Ignition on signal from Vehicle class | ||
|- | |- | ||
| InvStat | | InvStat || || | ||
| || | | Inverter Toyota/Lexus||Comms status | ||
|- | |- | ||
|GearFB | |GearFB | ||
| || | | ||High/Low | ||
| | | GS450h|| | ||
|- | |- | ||
|CableLim | |CableLim||A|| | ||
| Charge interface||Proximity signal based current limit | |||
|- | |- | ||
|PilotLim | |PilotLim||A|| | ||
| Charge interface||Control Pilot signal based current limit | |||
|- | |- | ||
|PlugDet | |PlugDet|| || | ||
| || | | Charge interface/Nissan PDM||Charge Plug detected | ||
|- | |- | ||
|PilotTyp | |PilotTyp|| || | ||
| || | | Charge interface||Control Pilot type | ||
|- | |- | ||
|CCS_I_Avail | |CCS_I_Avail||A|| | ||
| CCS/Chademo Charging||Available Charge Current | |||
|- | |- | ||
| CCS_V_Avail | | CCS_V_Avail||V|| | ||
| CCS/Chademo Charging||Available Charge Voltage | |||
|- | |- | ||
|CCS_I | |CCS_I||A | ||
| | |||
| || | | CCS/Chademo Charging||Charging Current offboard charger | ||
|- | |- | ||
|CCS_Ireq | |CCS_Ireq||A|| | ||
| CCS/Chademo Charging||Request Charging Current | |||
|- | |- | ||
|CCS_V | |CCS_V||V|| | ||
| CCS/Chademo Charging||Charging Voltage offboard charger | |||
|- | |- | ||
|CCS_V_Min | |CCS_V_Min||V|| | ||
| CCS/Chademo Charging||Minimum Available charging voltage | |||
|- | |- | ||
| CCS_V_Con | | CCS_V_Con||V|| | ||
| CCS||Voltage at the connector | |||
|- | |- | ||
|hvChg | |hvChg || || | ||
| || | | ||NOT USED | ||
|- | |- | ||
|CCS_COND | |CCS_COND | ||
| || | | || | ||
| || | | I3 LIM||Internal State | ||
|- | |- | ||
|CCS_State | |CCS_State ||s|| | ||
| I3 LIM||LIM state | |||
|- | |- | ||
| CP_DOOR | | CP_DOOR || || | ||
| || | | I3 LIM||Reported Charge Port Door State | ||
|- | |- | ||
|CCS_Contactor | |CCS_Contactor|| || | ||
| || | | I3 LIM||CCS Contactor state | ||
|- | |- | ||
|Day | |Day|| || | ||
| || | | ||Time | ||
|- | |- | ||
|Hour | |Hour|| H|| | ||
| ||Time | |||
|- | |- | ||
| Min | | Min||M|| | ||
| ||Time | |||
|- | |- | ||
|Sec | |Sec||S|| | ||
| ||Time | |||
|- | |- | ||
|ChgT | |ChgT||M|| | ||
| ||Charge timer - to confirm functionality | |||
|- | |- | ||
|HeatReq | |HeatReq|| | ||
| | |||
| || | | ||Cabin Heater Request signal | ||
|- | |- | ||
|U12V | |U12V||V|| | ||
| Tesla DCDC/Outlander DCDC||12V Output voltage | |||
|- | |- | ||
|I12V | |I12V||A|| | ||
| Tesla DCDC/Outlander DCDC||12V Output Current | |||
|- | |- | ||
| ChgTemp | | ChgTemp||°C|| | ||
| Tesla DCDC/Outlander Charger||Component temperature | |||
|- | |- | ||
|AC_Volts | |AC_Volts||V|| | ||
| Nissan PDM/Outlander Charger||Charger Input Voltage | |||
|- | |- | ||
|AC_Amps | |AC_Amps||A|| | ||
| Outlander Charger||AC input current | |||
|- | |- | ||
|canctr | |canctr||dig|| | ||
| RUN mode||Can Counter | |||
|- | |- | ||
|cpuload | |cpuload|| %|| | ||
| || | |||
|- | |- | ||
| PPVal | | PPVal||dig|| | ||
| ||Analogue input Pilot Signal translation | |||
|- | |- | ||
| BrkVacVal | | BrkVacVal|| dig|| | ||
| ||Analogue input Brake Vacuum Signal translation | |||
|- | |- | ||
| tmpheater | | tmpheater||°C|| | ||
| Heater||Heater temperature | |||
|- | |- | ||
|udcheater | |udcheater||V|| | ||
| Heater||Heater HV voltage | |||
|- | |- | ||
|powerheater | |powerheater||W|| | ||
| Heater||Heater Power | |||
|- | |- | ||
|serial | |serial|| || | ||
| || | | || | ||
|} | |} | ||
https://github.com/damienmaguire/Stm32-vcu/blob/master/include/param_prj.h | https://github.com/damienmaguire/Stm32-vcu/blob/master/include/param_prj.h | ||
[[Category:ZombieVerter]] |
Latest revision as of 15:20, 22 April 2025
*note: this page is a work in progress.
**Note: This is up to date for the 2.20A release
Parameters
Id | Name | VCU Pin | Unit | Min | Max | Default | Utilisation | Description |
---|---|---|---|---|---|---|---|---|
- General Setup | ||||||||
5 | Inverter | 0 | 8 | 0 | Selected Inverter to be controlled
0=None - No inverter to be controlled | |||
6 | Vehicle | 0 | 8 | 0 | Vehicle to Integrate with 0=BMW_E46 - BMW E46 via CAN and digital IO | |||
108 | GearLvr | 0 | 4 | 0 | Connected Gear Selector via CAN0=None - No CAN based gear selector used
1=BMW_F30 - BMW F series shifter via CAN | |||
78 | Transmission | 0 | 1 | 0 | BMW E31, E39, E46 | Type of gearbox for vehicle intergration 0=Manual | ||
39 | interface | 0 | 4 | 0 | Type of CAN bus based charging interface used 0=Unused - None Used | |||
37 | chargemodes | 0 | 6 | 0 | Charger Used 0=Off - None | |||
90 | BMS_Mode | 0 | 5 | 0 | Connected BMS over CAN 0=Off - No BMS implementated | |||
88 | ShuntType | 0 | 3 | 0 | Current Shunt type used, also allows use of CAN based contactor boxes 0=None - No Current Shunt Used | |||
70 | InverterCan | 0 | 1 | 0 | If CAN inverter used | CAN bus used for Inverter0=CAN1, 1=CAN2 | ||
71 | VehicleCan | 0 | 1 | 1 | If Vehicle used | CAN bus used for Vehicle Functions0=CAN1, 1=CAN2 | ||
72 | ShuntCan | 0 | 1 | 0 | If Shunt used | CAN bus used for Shunt and or Contactors0=CAN1, 1=CAN2 | ||
73 | LimCan | 0 | 1 | 0 | If Charge Interface used | CAN bus used for Charging Interface0=CAN1, 1=CAN2 | ||
74 | ChargerCan | 0 | 1 | 1 | If Charger used | CAN bus used for Onboard Charger0=CAN1, 1=CAN2 | ||
89 | BMSCan | 0 | 1 | 1 | If BMS used | CAN bus used for BMS0=CAN1, 1=CAN2 | ||
96 | OBD2Can | 0 | 1 | 0 | CAN bus used for OBD2 comms0=CAN1, 1=CAN2 | |||
97 | CanMapCan | 0 | 1 | 0 | CAN bus used for CANmap parameters0=CAN1, 1=CAN2 | |||
107 | DCDCCan | 0 | 1 | 1 | If DCDC used | CAN bus used for DCDC0=CAN1, 1=CAN2 | ||
138 | HeaterCan | 0 | 1 | 1 | If CAN heater selected | CAN bus used for Heater0=CAN1, 1=CAN2 | ||
129 | MotActive | 0 | 3 | 0 | Toyota or Lexus Inverters only | Potnom to Torque Translation0=Mg1and2 - Both motors get same percentage request 1=Mg1 - Only use MG1 | ||
- Throttle | ||||||||
7 | potmin | "dig" | 0 | 4095 | 0 | Value of "pot" when pot isn't pressed at all | ||
8 | potmax | "dig" | 0 | 4095 | 4095 | Value of "pot" when pot is pushed all the way in | ||
9 | pot2min | "dig" | 0 | 4095 | 4095 | Value of "pot2" when regen pot is in 0 position | ||
10 | pot2max | "dig" | 0 | 4095 | 4095 | Value of "pot2" when regen pot is in full on position | ||
60 | regenrpm | "rpm" | 100 | 10000 | 1500 | The motor rpm at which regenmax is used as the regen limit. Under this rpm the regen limit is tapered to 0% at 100 rpm. This is applied to both Regenmax and regenBrake | ||
126 | regenendrpm | rpm | 100 | 10000 | 100 | Below this motor RPM the regen is 0 | ||
61 | regenmax | "%" | -35 | 0 | -10 | The maximum allow regen in potnom percentage, always negative or 0. Ramps down based on motor rpm | ||
122 | regenBrake | "%" | -35 | 0 | -10 | Brake pedal based negative potnom request, always negative or 0. Ramps down based on motor rpm | ||
68 | regenramp | "%/10ms" | 0.1 | 100 | 1 | Ramp speed when entering regen. E.g. when you set brkmax to -30% and regenramp to 1, it will take 300ms to arrive at brake force of -60% | ||
11 | potmode | 31 GND
32 Thr2 33 Thr1 34 +5v |
0 | 1 | 0 | Type of Throttle input0=Single Channel
1=Dual Channel - Preferred setting | ||
12 | dirmode | 53 Rev
54 Fwd |
0 | 4 | 1 | When not using CAN shifter | Type of gear switch inputButton
Switch ButtonReversed SwitchReversed DefaultForward | |
127 | reversemotor | 0 | 1 | 0 | Outlander Rear Motor ONLY | Reverse motor rotation | ||
13 | throtramp | "%/10ms" | 1 | 100 | 10 | The amount of allowed potnom change per %/10ms | ||
14 | throtramprpm | rpm | 0 | 20000 | 20000 | Above this motor rpm Throtramp is no longer applied | ||
15 | revlim | "rpm" | 0 | 20000 | 6000 | |||
137 | revRegen | ONOFF | 0 | 1 | 0 | Regen enabled in reverse | ||
19 | udcmin | "V" | 0 | 1000 | 450 | Minimum battery voltage derate | ||
20 | udclim | "V" | 0 | 1000 | 520 | Maximum battery voltage derate | ||
21 | idcmax | "A" | 0 | 5000 | 5000 | Maximum DC input current (regen current) | ||
22 | idcmin | "A" | -5000 | 0 | -5000 | Maximum DC output current (drive/discharge current) | ||
23 | tmphsmax | "°C" | 50 | 150 | 85 | Inverter Temp derate | ||
24 | tmpmmax | "°C" | 70 | 300 | 300 | Motor Temp derate | ||
25 | throtmax | "%" | 0 | 100 | 100 | Maximum allow positve potnom request in the forward direction | ||
26 | throtmin | "%" | -100 | 0 | -100 | Minimum (most negative) allowed potnom at all times | ||
123 | throtmaxRev | "%" | 0 | 100 | 30 | Maximum allow positive potnom request in the reverse direction | ||
76 | throtdead | "%" | 0 | 50 | 10 | -TBC | ||
128 | RegenBrakeLight | "%" | -100 | 0 | -15 | Under this Potnom the brake light output turns on | ||
131 | throtrpmfilt | "rpm/10ms" | 0.1 | 200 | 15 | Change of speed fed into the dynamic speed based throttle map. High value is slower response to rapid speed change. If you have low speed judder increase this value. | ||
- Gearbox Control | ||||||||
27 | Gear | 0 | 3 | 0 | Lexus GS450h only | Control of the GS450h gears0=LOW - always low gear
1=HIGH - always high gear 2=AUTO - Auto shifting between low and high based on speed 3=HIGHFWDLOWREV - reverse always low gear and forward always high gear | ||
28 | OilPump | % | 0 | 100 | 50 | Lexus GS450h only | Oil pump PWM duty cycle run setpoint | |
- Cruise Control | ||||||||
29 | cruisestep | rpm | 1 | 1000 | 200 | -TBC | ||
30 | cruiseramp | rpm/100ms | 1 | 1000 | 20 | -TBC | ||
31 | regenlevel | 0 | 3 | 2 | -TBC | |||
- Contactor Control | ||||||||
32 | udcsw | V | 0 | 1000 | 330 | Voltage point at which precharge is considered finished | ||
33 | cruiselight | 0 | 1 | 0 | Off
On na | |||
34 | errlights | 0 | 255 | 0 | Off
EPC engine | |||
- Communication | ||||||||
77 | CAN3Speed | 25 L
26 H |
0 | 2 | 0 | k33.3
k500 k100 | ||
- Charger Control | ||||||||
38 | BattCap | "kWh" | 0.1 | 250 | 22 | |||
40 | Voltspnt | "V" | 0 | 1000 | 395 | Max charge voltage for battery | ||
41 | Pwrspnt | "W" | 0 | 12000 | 1500 | Maximum power draw by charger. Manipulated automatically by a Charging Interface | ||
56 | IdcTerm | "A" | 0 | 150 | 0 | Ending charge current, if current is below this value charging session is stopped and requires restarting to resume. | ||
42 | CCS_ICmd | "A" | 0 | 150 | 0 | NOT USED - superseded by automation | ||
43 | CCS_ILim | "A" | 0 | 350 | 100 | Maximum allowed Current during fast charging | ||
44 | CCS_SOCLim | "%" | 0 | 100 | 80 | NOT USED | ||
79 | SOCFC | "%" | 0 | 100 | 50 | Sent during DCFC | ||
45 | Chgctrl | 0 | 2 | 0 | Type of Charging ControlEnable - Always allow charging
Disable - No charging Timer - Time based charging | |||
120 | ChgAcVolt | "Vac" | 0 | 250 | 240 | Expected AC voltage into charger - used for Control Pilot power limiting | ||
121 | ChgEff | "%" | 0 | 100 | 90 | Expected charger effiecency - used for Control Pilot power limiting | ||
133 | ConfigFocci | 0 | 1 | 0 | FOCCCI only | Toggle to have the Zombie configure the Foccci CAN map | ||
- DC-DC Converter | ||||||||
105 | DCdc_Type | 0 | 1 | 0 | No DCDC
TeslaG2 | |||
106 | DCSetPnt | V | 9 | 15 | 14 | NOT USED | ||
- Battery Management | ||||||||
91 | BMS_Timeout | sec | 1 | 120 | 10 | SimpBMS, Kangoo, Daisy BMS | Time before BMS data is set to all 0 | |
92 | BMS_VminLimit | V | 0 | 10 | 3 | SimpBMS, Kangoo, Daisy BMS | Allow min cell voltage, forces zero charge current limit | |
93 | BMS_VmaxLimit | V | 0 | 10 | 4.18 | SimpBMS, Kangoo, Daisy BMS | Allow max cell voltage, forces zero charge current limit | |
94 | BMS_TminLimit | °C | -100 | 100 | 5 | SimpBMS, Kangoo, Daisy BMS | Allow min cell temp, forces zero charge current limit | |
95 | BMS_TmaxLimit | °C | -100 | 100 | 50 | SimpBMS, Kangoo, Daisy BMS | Allow max cell temp, forces zero charge current limit | |
- Heater Module | ||||||||
57 | Heater | 0 | 2 | 0 | Selected Heater Type0=None
1=Ampera - Ampera Heater via SW CAN 2=VW - VW Coolant Heater via LIN 3=OutlanderCan - Outlander Coolant Heater via CAN | |||
58 | Control | 0 | 2 | 0 | Heater Controls Enabled0=Disable - OFF
1=Enable - ON 2=Timer - NOT USED | |||
59 | HeatPwr | W | 0 | 6500 | 0 | NOT USED | ||
124 | HeatPercnt | % | 0 | 100 | 0 | |||
- RTC Module | ||||||||
77 | Set_Day | 0 | 6 | 0 | 1.Ensure Chgctrl is set to disable, save to flash
2.Enter time under Set_Day, Set_Hour, Set_Min to appropriate values, Hit save 3.Return Chgctrl to desired state, hit save | |||
78 | Set_Hour | Hours | 0 | 23 | 0 | |||
79 | Set_Min | Mins | 0 | 59 | 0 | |||
80 | Set_Sec | Secs | 0 | 59 | 0 | |||
81 | Chg_Hrs | Hours | 0 | 23 | 0 | Set to disable to set (similar to above) | ||
82 | Chg_Min | Mins | 0 | 59 | 0 | |||
83 | Chg_Dur | Mins | 0 | 600 | 0 | Needs to be >0 and Chgctrl set to timer to work | ||
84 | Pre_Hrs | Hours | 0 | 59 | 0 | |||
85 | Pre_Min | Mins | 0 | 59 | 0 | |||
86 | Pre_Dur | Mins | 0 | 60 | 0 | |||
- General Purpose I/O | ||||||||
135 | PumpPWM | PumpOutType | 0 | 1 | 0 | see IO Function Page for more details | ||
80 | Out1Func | 4 | PINFUNCS | 0 | 15 | 6 | see IO Function Page for more details | |
81 | Out2Func | 3 | PINFUNCS | 0 | 15 | 7 | see IO Function Page for more details | |
82 | Out3Func | 39 | PINFUNCS | 0 | 15 | 3 | see IO Function Page for more details | |
83 | SL1Func | 38 | PINFUNCS | 0 | 15 | 0 | see IO Function Page for more details | |
84 | SL2Func | 7 | PINFUNCS | 0 | 15 | 0 | see IO Function Page for more details | |
85 | PWM1Func | 6 | PINFUNCS | 0 | 18 | 0 | see IO Function Page for more details | |
86 | PWM2Func | 5 | PINFUNCS | 0 | 18 | 4 | see IO Function Page for more details | |
87 | PWM3Func | 50 | PINFUNCS | 0 | 18 | 2 | see IO Function Page for more details | |
98 | GP12VInFunc | 51 | PINFUNCS | 0 | 13 | 12 | see IO Function Page for more details | |
99 | HVReqFunc | 36 | PINFUNCS | 0 | 13 | 12 | see IO Function Page for more details | |
140 | PB1InFunc | PINFUNCS | 0 | 13 | 12 | see IO Function Page for more details | ||
141 | PB2InFunc | PINFUNCS | 0 | 13 | 12 | see IO Function Page for more details | ||
142 | PB3InFunc | PINFUNCS | 0 | 13 | 12 | see IO Function Page for more details | ||
110 | GPA1Func | APINFUNCS | 0 | 2 | 0 | see IO Function Page for more details | ||
111 | GPA2Func | 35 | APINFUNCS | 0 | 2 | 0 | see IO Function Page for more details | |
114 | ppthresh | "dig" | 0 | 4095 | 2500 | see IO Function Page for more details | ||
115 | BrkVacThresh | dig | 0 | 4095 | 2500 | see IO Function Page for more details | ||
116 | BrkVacHyst | "dig" | 0 | 4095 | 2500 | see IO Function Page for more details | ||
117 | DigiPot1Step | dig | 0 | 255 | 0 | Set resistance level of POT 1 pin to ground, steps from 0-255 0-10kOhm | ||
118 | DigiPot2Step | dig | 0 | 255 | 0 | Set resistance level of POT 2 pin to ground, steps from 0-255 0-10kOhm | ||
134 | FanTemp | "°C" | 0 | 100 | 40 | tmphs or chagtemp above this will have the Fan Output come on | ||
136 | TachoPPR | "PPR" | 0 | 100 | 2 | Pulses per rotation for RPM generation | ||
- ISA Shunt Control | ||||||||
75 | IsaInit | 0 | 1 | 0 | toggle to start ISA shunt initi | |||
- PWM Control | ||||||||
100 | Tim3_Presc | 1 | 72000 | 719 | Only used if CP Spoof and GS450h Oil pump output is not used | |||
101 | Tim3_Period | 1 | 100000 | 7200 | Only used if CP Spoof and GS450h Oil pump output is not used | |||
102 | Tim3_1_OC | 1 | 100000 | 3600 | Only used if CP Spoof and GS450h Oil pump output is not used | |||
103 | Tim3_2_OC | 1 | 100000 | 3600 | Only used if CP Spoof and GS450h Oil pump output is not used | |||
104 | Tim3_3_OC | 1 | 100000 | 3600 | Only used if CP Spoof and GS450h Oil pump output is not used | |||
132 | CP_PWM | 1 | 100 | 10 | Only with Charging Interfaces | NOT USED |
Spot Values
Name | Unit | Values | Required | Description |
---|---|---|---|---|
version | - | Version Number of Firmware | ||
opmode | - | 0=Off
1=Run 2=Precharge 3=PchFail 4=Charge |
Main Software States | |
chgtyp | - | 0=Off
1=AC 2=DCFC |
Type of Charging Active | |
lasterr | - | |||
status | - | |||
TorqDerate | - | Reasons for limiting Potnom, resets after key cycle | ||
udc | V | Shunt/Inverter/Charger | HV Bus Voltage - From Shunt or other HV component | |
udc2 | V | Shunt/BMS | HV Battery Voltage - From Shunt or BMS | |
udc3 | V | Shunt/BMS | ISA Shunt HV 3 Voltage | |
deltaV | V | ISA Shunt | Unused - Old ISA Shunt calc | |
INVudc | V | Inverter | HV Voltage feedback from Inverter | |
power | kW | Shunt/BMS | HV Power - From Shunt or BMS | |
idc | A | Shunt/BMS | HV Current - From Shunt or BMS (A negative current is discharging out of the battery, positive is charging in to the battery) | |
KWh | kwh | Shunt/BMS | Battery energy - From Shunt or BMS | |
AMPh | Ah | ISA Shunt | Battery energy - From Shunt or BMS | |
SOC | % | Shunt/BMS | Battery State of Charge - From Shunt or BMS | |
BMS_Vmin | V | BMS | Min Cell Voltage - From BMS | |
BMS_Vmax | V | BMS | Max Cell Voltage - From BMS | |
BMS_Tmin | °C | BMS | Min Cell Temp - From BMS | |
BMS_Tmax | °C | BMS | Max Cell Temp - From BMS | |
BMS_ChargeLim | A | BMS | Max Charging Current Limit - From BMS | |
speed | rpm | Inverter | Motor Speed | |
Veh_Speed | kph | Vehicle | Speed provided from CAN bus | |
torque | dig | Inverter | Torque is translated from Potnom for most inverters | |
pot | dig | Pedal signal 1 - digital value not voltage | ||
pot2 | dig | Pedal signal 2 - digital value not voltage | ||
potbrake | dig | NOT USED | ||
brakepressure | dig | NOT USED | ||
potnom | % | Calculated from Pot and Pot2 | ||
dir | 1=Forward
0=Neutral -1=Reverse |
Selected Direction | ||
tmphs | °C | Inverter/analogue in | Inverter temperature | |
tmpm | °C | Inverter/analogue in | Motor temperature | |
tmpaux | °C | Shunt | ISA Shunt Temp | |
uaux | V | 12V In measurement/rough | ||
canio | CANIO values | |||
FrontRearBal | % | NOT TO BE USED - Will be changed | ||
cruisespeed | rpm | Cruise Speed Target | ||
cruisestt | Cruise State | |||
din_cruise | Cruise input signal - NOT USED | |||
din_start | Start input signal | |||
din_brake | Brake input signal - (if applied = no Potnom = no drive) | |||
din_forward | Forward input signal | |||
din_reverse | Reverse input signal | |||
din_bms | BMS input signal - NOT USED | |||
din_12Vgp | 12V GP input signal | |||
handbrk | NOT USED | |||
Gear1 | GS450h | PB1 input signal | ||
Gear2 | GS450h | PB2 input signal | ||
Gear3 | GS450h | PB3 input signal | ||
T15Stat | Vehicle | Ignition on signal from Vehicle class | ||
InvStat | Inverter Toyota/Lexus | Comms status | ||
GearFB | High/Low | GS450h | ||
CableLim | A | Charge interface | Proximity signal based current limit | |
PilotLim | A | Charge interface | Control Pilot signal based current limit | |
PlugDet | Charge interface/Nissan PDM | Charge Plug detected | ||
PilotTyp | Charge interface | Control Pilot type | ||
CCS_I_Avail | A | CCS/Chademo Charging | Available Charge Current | |
CCS_V_Avail | V | CCS/Chademo Charging | Available Charge Voltage | |
CCS_I | A | CCS/Chademo Charging | Charging Current offboard charger | |
CCS_Ireq | A | CCS/Chademo Charging | Request Charging Current | |
CCS_V | V | CCS/Chademo Charging | Charging Voltage offboard charger | |
CCS_V_Min | V | CCS/Chademo Charging | Minimum Available charging voltage | |
CCS_V_Con | V | CCS | Voltage at the connector | |
hvChg | NOT USED | |||
CCS_COND | I3 LIM | Internal State | ||
CCS_State | s | I3 LIM | LIM state | |
CP_DOOR | I3 LIM | Reported Charge Port Door State | ||
CCS_Contactor | I3 LIM | CCS Contactor state | ||
Day | Time | |||
Hour | H | Time | ||
Min | M | Time | ||
Sec | S | Time | ||
ChgT | M | Charge timer - to confirm functionality | ||
HeatReq | Cabin Heater Request signal | |||
U12V | V | Tesla DCDC/Outlander DCDC | 12V Output voltage | |
I12V | A | Tesla DCDC/Outlander DCDC | 12V Output Current | |
ChgTemp | °C | Tesla DCDC/Outlander Charger | Component temperature | |
AC_Volts | V | Nissan PDM/Outlander Charger | Charger Input Voltage | |
AC_Amps | A | Outlander Charger | AC input current | |
canctr | dig | RUN mode | Can Counter | |
cpuload | % | |||
PPVal | dig | Analogue input Pilot Signal translation | ||
BrkVacVal | dig | Analogue input Brake Vacuum Signal translation | ||
tmpheater | °C | Heater | Heater temperature | |
udcheater | V | Heater | Heater HV voltage | |
powerheater | W | Heater | Heater Power | |
serial |
https://github.com/damienmaguire/Stm32-vcu/blob/master/include/param_prj.h