Skip to content

Commit ea90775

Browse files
authored
Merge pull request #219 from seanauff/main
[Vehicle Profile] Jaguar I-PACE
2 parents 5a3d697 + c60cc7e commit ea90775

File tree

2 files changed

+269
-0
lines changed

2 files changed

+269
-0
lines changed

vehicle_profiles/jaguar/README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Profiles for Jaguar Vehicles
2+
3+
## I-PACE
4+
5+
This profile is based off the work of [dernotte](https://github.com/dernotte) for the [I-PACE component of OVMS3](https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/tree/master/vehicle/OVMS.V3/components/vehicle_jaguaripace). See [here](https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/blob/master/vehicle/OVMS.V3/components/vehicle_jaguaripace/src/ipace_obd_pids.h) for the list of indentified PIDs. This [OVMS forum thread](https://www.openvehicles.com/node/2423) shows some of the preliminary work prior to the OVMS component along with some other contributors.
6+
7+
Only the PIDs associated with the Battery Energy Control Module (BECM - header 7E4) are currently supported. Attempts to reach the other modules (e.g. HVAC, TPMS) results in a timeout error. The VIN PID on the BECM is also not supported - it is a multi frame message.
8+
9+
These are confirmed working on a model year 2019 I-PACE.
10+
11+
### PID Listing
12+
13+
|Supported|Name|PID|Module|Description|Notes|
14+
|:-------:|----|---|------|-----------|-----|
15+
||batterySoC|4910|BECM (7E4)| The "true" HV battery state of charge||
16+
||batterySoCMin|4911|BECM (7E4)|||
17+
||batterySoCMax|4914|BECM (7E4)|||
18+
||batterySoHCapacity|4918|BECM (7E4)|||
19+
||batterySoHCapacityMin|4919|BECM (7E4)|||
20+
||batterySoHCapacityMax|491A|BECM (7E4)|||
21+
||batterySoHPower|4915|BECM (7E4)|||
22+
||batterySoHPowerMin|4916|BECM (7E4)|||
23+
||batterySoHPowerMax|4917|BECM (7E4)|||
24+
||batteryCellMinVolt|4904|BECM (7E4)|Minimum voltage of any of the 108 HV battery cells||
25+
||batteryCellMaxVolt|4903|BECM (7E4)|Maximum voltage of any of the 108 HV battery cells||
26+
||batteryVolt|490F|BECM (7E4)|Voltage of HV battery||
27+
||batteryCurrent|490C|BECM (7E4)|Current of HV battery|Positive is discharging|
28+
||batteryTempMin|4906|BECM (7E4)|Minimum temperature of any of the 108 HV battery cells||
29+
||batteryTempMax|4905|BECM (7E4)|Maximum temperature of any of the 108 HV battery cells||
30+
||batteryTempAvg|4907|BECM (7E4)|Average temperature of any of the 108 HV battery cells||
31+
||batteryMaxRegen|4913|BECM (7E4)|Maximum allowed regen rate (kW)||
32+
||odometer|DD01|BECM (7E4)|||
33+
||cabinTemp|DD04|BECM (7E4)|||
34+
||vin|F190|BECM (7E4)|Vehicle Idenification Number|Multi frame message|

vehicle_profiles/jaguar/i-pace.json

+235
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
{
2+
"car_model": "Jaguar: I-PACE",
3+
"init": "ATSP6;ATST96;",
4+
"pids": [
5+
{
6+
"pid": "224910",
7+
"parameters": [
8+
{
9+
"name": "batterySoC",
10+
"pid_init": "ATSH7E4;",
11+
"expression": "[B4:B5]/100",
12+
"unit": "%",
13+
"class": "battery"
14+
}
15+
]
16+
},
17+
{
18+
"pid": "224911",
19+
"parameters": [
20+
{
21+
"name": "batterySoCMin",
22+
"pid_init": "ATSH7E4;",
23+
"expression": "[B4:B5]/100",
24+
"unit": "%",
25+
"class": "battery"
26+
}
27+
]
28+
},
29+
{
30+
"pid": "224914",
31+
"parameters": [
32+
{
33+
"name": "batterySoCMax",
34+
"pid_init": "ATSH7E4;",
35+
"expression": "[B4:B5]/100",
36+
"unit": "%",
37+
"class": "battery"
38+
}
39+
]
40+
},
41+
{
42+
"pid": "224918",
43+
"parameters": [
44+
{
45+
"name": "batterySoHCapacity",
46+
"pid_init": "ATSH7E4;",
47+
"expression": "B4/2",
48+
"unit": "%",
49+
"class": "battery"
50+
}
51+
]
52+
},
53+
{
54+
"pid": "224919",
55+
"parameters": [
56+
{
57+
"name": "batterySoHCapacityMin",
58+
"pid_init": "ATSH7E4;",
59+
"expression": "B4/2",
60+
"unit": "%",
61+
"class": "battery"
62+
}
63+
]
64+
},
65+
{
66+
"pid": "22491a",
67+
"parameters": [
68+
{
69+
"name": "batterySoHCapacityMax",
70+
"pid_init": "ATSH7E4;",
71+
"expression": "B4/2",
72+
"unit": "%",
73+
"class": "battery"
74+
}
75+
]
76+
},
77+
{
78+
"pid": "224915",
79+
"parameters": [
80+
{
81+
"name": "batterySoHPower",
82+
"pid_init": "ATSH7E4;",
83+
"expression": "B4/2",
84+
"unit": "%",
85+
"class": "battery"
86+
}
87+
]
88+
},
89+
{
90+
"pid": "224916",
91+
"parameters": [
92+
{
93+
"name": "batterySoHPowerMin",
94+
"pid_init": "ATSH7E4;",
95+
"expression": "B4/2",
96+
"unit": "%",
97+
"class": "battery"
98+
}
99+
]
100+
},
101+
{
102+
"pid": "224917",
103+
"parameters": [
104+
{
105+
"name": "batterySoHPowerMax",
106+
"pid_init": "ATSH7E4;",
107+
"expression": "B4/2",
108+
"unit": "%",
109+
"class": "battery"
110+
}
111+
]
112+
},
113+
{
114+
"pid": "224904",
115+
"parameters": [
116+
{
117+
"name": "batteryCellMinVolt",
118+
"pid_init": "ATSH7E4;",
119+
"expression": "[B4:B5]/1000",
120+
"unit": "V",
121+
"class": "voltage"
122+
}
123+
]
124+
},
125+
{
126+
"pid": "224903",
127+
"parameters": [
128+
{
129+
"name": "batteryCellMaxVolt",
130+
"pid_init": "ATSH7E4;",
131+
"expression": "[B4:B5]/1000",
132+
"unit": "V",
133+
"class": "voltage"
134+
}
135+
]
136+
},
137+
{
138+
"pid": "22490F",
139+
"parameters": [
140+
{
141+
"name": "batteryVolt",
142+
"pid_init": "ATSH7E4;",
143+
"expression": "[B4:B5]/100",
144+
"unit": "V",
145+
"class": "voltage"
146+
}
147+
]
148+
},
149+
{
150+
"pid": "22490C",
151+
"parameters": [
152+
{
153+
"name": "batteryCurrent",
154+
"pid_init": "ATSH7E4;",
155+
"expression": "([B4:B5]-32768)/40",
156+
"unit": "A",
157+
"class": "current"
158+
}
159+
]
160+
},
161+
{
162+
"pid": "224906",
163+
"parameters": [
164+
{
165+
"name": "batteryTempMin",
166+
"pid_init": "ATSH7E4;",
167+
"expression": "(B4/2)-40",
168+
"unit": "°C",
169+
"class": "temperature"
170+
}
171+
]
172+
},
173+
{
174+
"pid": "224905",
175+
"parameters": [
176+
{
177+
"name": "batteryTempMax",
178+
"pid_init": "ATSH7E4;",
179+
"expression": "(B4/2)-40",
180+
"unit": "°C",
181+
"class": "temperature"
182+
}
183+
]
184+
},
185+
{
186+
"pid": "224907",
187+
"parameters": [
188+
{
189+
"name": "batteryTempAvg",
190+
"pid_init": "ATSH7E4;",
191+
"expression": "(B4/2)-40",
192+
"unit": "°C",
193+
"class": "temperature"
194+
}
195+
]
196+
},
197+
{
198+
"pid": "224913",
199+
"parameters": [
200+
{
201+
"name": "batteryMaxRegen",
202+
"pid_init": "ATSH7E4;",
203+
"expression": "[B4:B5]/100",
204+
"unit": "%",
205+
"class": "battery"
206+
}
207+
]
208+
},
209+
{
210+
"pid": "22dd01",
211+
"parameters": [
212+
{
213+
"name": "odometer",
214+
"pid_init": "ATSH7E4;",
215+
"expression": "[B4:B6]",
216+
"unit": "km",
217+
"class": "distance"
218+
}
219+
]
220+
},
221+
{
222+
"pid": "22dd04",
223+
"parameters": [
224+
{
225+
"name": "cabinTemp",
226+
"pid_init": "ATSH7E4;",
227+
"expression": "B4-40",
228+
"unit": "°C",
229+
"class": "temperature"
230+
}
231+
]
232+
}
233+
]
234+
}
235+

0 commit comments

Comments
 (0)