Decode oil pump operating status fields
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.
This commit is contained in:
@@ -77,11 +77,11 @@ static void PrintHeader()
|
||||
Serial.print("Speed_Request, ");
|
||||
|
||||
// PumpMessages::Status1
|
||||
Serial.print("2A_Byte0, 2A_Byte1, 2A_Byte2, Fluid_Temp, ");
|
||||
Serial.print("2A_Byte0, Flow, Pressure, Fluid_Temp, ");
|
||||
Serial.print("2A_Byte4, Pump_Temp, 2A_Byte6, 2A_Byte7, ");
|
||||
|
||||
// PumpMessages::Status2
|
||||
Serial.print("32_Byte0, 32_Byte1, 32_Byte2, 32_Byte3, ");
|
||||
Serial.print("32_Byte0, 32_Byte1, 32_Byte2, Motor_Speed, ");
|
||||
Serial.print("32_Byte4, 32_Byte5, 32_Byte6, 32_Byte7, ");
|
||||
|
||||
// PumpMessages::Status3
|
||||
@@ -106,9 +106,9 @@ static void PrintMessage(PumpMessages id, const MessageData& data)
|
||||
case PumpMessages::Status1:
|
||||
Serial.print(data[0]);
|
||||
Serial.print(", ");
|
||||
Serial.print(data[1]);
|
||||
Serial.print(data[1]); // Flow
|
||||
Serial.print(", ");
|
||||
Serial.print(data[2]);
|
||||
Serial.print(data[2]); // Pressure
|
||||
Serial.print(", ");
|
||||
Serial.print(data[3] - TempOffset); // Fluid_Temp
|
||||
Serial.print(", ");
|
||||
@@ -148,7 +148,7 @@ static void PrintMessage(PumpMessages id, const MessageData& data)
|
||||
Serial.print(", ");
|
||||
Serial.print(data[2]);
|
||||
Serial.print(", ");
|
||||
Serial.print(data[3]);
|
||||
Serial.print(data[3]); // Motor_Speed
|
||||
Serial.print(", ");
|
||||
Serial.print(data[4]);
|
||||
Serial.print(", ");
|
||||
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user