Hi all.
I have made a long run at 'human flight level'.
The machine is basically EasyStar with FLEXIPILOT but the discussion applies to anybody using typical hobby grade ESC. The plane is equipped with RAY 2845 inrunner motor and RAY 25 ESC, same as JETI ECO 25. Runs on Kokam 4Ah SPLB 30C. The plane is equipped with humidity and external temperature sensor, as well as additional temperature sensor for barometer compensation.
The flight took place with average cruise speed 12m/s (46km/h), the wind was around 1m/s (4km/h) and took place late afternoon.
On one hand the humidity was increasing, very slightly decreasing lift conditions:
At the same time the temperature was dropping, making air thicker, improving lift conditions:
This meant that while Standard Altitude depending only on pressure was contant,
density altitude decreased by negligible 50m (lower is better, less is more and time is infinite):
Overall, thanks to very calm weather and excellent PID tuning also, long term altihold was within one meter (slightly above my head). The spike at the middle was temporary switch to RETHOME for pilot's amusement (got bored).
As time passed by, battery voltage was dropping
And total energy of the plane (kinetic+potential divided by mass) was like this (constant):
This meant, that with constant plane geometry and aerodynamics, roughly the same amount of power had to be injected to the engine - it was autopilot's job.
Indeed the PWM throttle output signal (10000=1ms) was rising gradually, 'ordering more ESC output' in order to compensate for dropping voltage:
Power injected is P=U*I, and one would expect P to be constant, yet... here comes the surprise
Looks like electric power input to the motor was jagged, because the ESC could command only larger jumps of throttle... You can see amperage sensor confirming the stepped amperage increase, compensating for smooth voltage drop:
As a final confirmation, the RPM sensor revealed that the throttle was basically jumping +/-60RPM what could be even heard (now I know where does this sound comes from)
if we assume that the whole span of RPM control of this ESC is some 0-15000RPM, you get 15000/60=barely 250 steps, what is some 8 bits! To be more precise, I would describe the situation, it is not ESC having problem with RPM hold (which is not even trying to do) but rather having stepped amperage output control that also drifts a little with voltage. Since this UAV flies only between 10000 and 14000 RPM (below 9000RPM the motor generates only a tiny thrust) you actually have 4/15*250=67 possible and useful output amperage values.
By sounds that I hear from the propeller, probably all popular ESC brands behave less or more like this (what few people have witnessed because few ppl are doing routine loiters that low). .
Now since you are at the end of this analysis, a question for 10 intergalactic points:
Which ESC behave like this and how to identify those that do better?