Run the oil pump for about a minute at full speed and
capture the log in short-run.ods. This allows various
status parameters to be graphed against time.
It looks like 30_Byte3 ramps up first and the graph
follows the pitch which can be heard from the motor.
Label this as Motor_Speed.
The 2A_Byte1 values ramp up next and this reflects the
observed behaviour when emptying the old oil out of
my drive unit where there was a perceptible delay
between the motor spinning up and the fluid flow. This
value ramps down with a lag after the Speed_Request
returns to 0.
The 2A_Byte2 value looks like the best guess for the
pump pressure. It peaks a bit after the flow and RPM
have stabilised and tails away steadily. This would
likely be expected in my drive unit which only has a
small amount of oil it it currently. No idea if the value is
from a sensor or some sort of clever fusion from the 3-
phase motor controller.
To allow easier analysis of the oil pump status fields output in
CSV. Also change the update to have no delay between requesting
each status value but maintain 100ms between each group of
requests.
Lots of fields had the same value after an overnight cold soak with a 40 degree offset from the drive-unit case temp. Running the pump causes some temps to increase but other stay the same.
Supply voltage and current tested with a bench power
supply. Values track measured values quite accurately.
This Arduino sketch connects to the oil pump over LIN using the
hardware serial on an ESP32. According to the captures taken of
the LIN of a running inverter there is 1 outgoing command and
4 status requests. The outgoing command appears to be the
desired speed of the pump. The incoming status messages are
currently not understood so are just printed out as hex values.
The speed can be changed by supplying a numeric value between
0 and 255 followed by CR/LF.
The isolated gate drive PSU centered around T1 reports
back when it is running via GPIO83. This signal shows
up on the opto-isolator U7 at TP28 and TP43 near the
MCU.
Also document TP133 and TP134 which relate to resolver exciter output.
Running a TI C2000 example transmitting using the CANA
peripheral (GPIO_5_CANRXA and GPIO_4_CANTXA) results in
output on the Vehicle CAN interface not Party CAN as
expected.
This swaps the pins in the PinMap spreadsheet but does not
update M3_TMS_PINOUTDIAG1.pdf
Tests:
- Cross-check official Tesla M3 wiring harness and connector
with wiring diagram 2019.1_Model3-SOP3-1LHDandRHD
from the Tesla Service Manual.
The pin for 12V DC supply monitoring is not ADCIN14 but
ADCINC4 instead.
It seems that ADCIN14 may be used for monitoring a 1.65V
mid-rail reference and calibrating ADCs (per TI
documentation). Not 100% certain so leaving this line blank
for now.
Tests:
- Power the inverter from a variable bench supply and load a
program to display the output of ADCINC4. Log values at
different supply voltages to determine the gain of 205.88
counts per volt.
This expands the rear inverter connector pinout to include the
wiring harness colours found on the Tesla harness (1067968-
02-E). Also, add details of the connector pin numbering and
physical layout. With these changes it is possible to test and
modify Tesla wiring harnesses more easily.
Add details of missing Stator Temp + and - signal.
Remove the PDF in favour of an ODS spreadsheet to allow
easier future revision.
Tests:
- Cross check against Tesla wiring harness with a multimeter
The change contains captures of the LIN interface connecting
the main M3 inverter to the oil pump. They were captured
with Saleae Logic 2.3.37 from power on of the inverter. The power supply was low (circa 11V) and the pump appeared stalled.
Startup_Oil_Pump_Disconnected - No oil pump connected
Startup_Oil_Pump_Connected - Normal operation from cold
Startup_Oil_Pump_Hairdrier-1 - Warm the oil pump casing
for about 30 seconds with a hair drier.
Startup_Oil_Pump_Hairdrier-2 - Warm the oil pump casing for 2-3 minutes with a hair drier.