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.