I tested only on the bike, also at lower speeds and compared to previous hex versions (I did not test version 12 because I was away for a long time) it works much better, I will upload my settings, I did not change anything in config, i.e. foc was default, all the parameters that I changed were only in java config, it was not necessary to change acc or dec because there was no jerking/wavering of the engine, in reference to the email I hardly tested throttle because I rarely use it myself, I will pay attention to that, however when pedaling it was already more or less ok. I will test it again and let you know.
I will try to resume what your tested. Please say me if I am wrong.
- your tested version 13 in 3 ways
- 1 : on the home trainer at full throttle and with different loads and foc multipliers.
- 2 : on a bike with a previous java configuration (and so acceleration/deceleration was not the default values)
- 3 : on a bike with default values in javaconfigurator.
- In test 1 I noticed that the actual current remains always lower than the target current. It means that the firmware does not regulate the power because actual duty cycle remains 254 (with full thottle). Changes I made in version 13 (averaging current over a whole electrical rotation) should not have any impact. So result should be similar as with some oldier versions (except version 11 that underestimated the current and so the FOC angle). This test seems to show that when load/current is high, increasing the FOC multiplier gives better efficiency. Still you could not test values above 30 for FOC multiplier because uc_probe did not allow it (furthermore, current firmware limits the FOC angle to 13). In a future version, I could remove those limit to see if a value above 30 would be better.
- in test 2 and 3, I expect that the current target is much lower than in test1 (due to the assist level). So I expect that the actual current can reach the target current and therefore the duty cycle would be lower than 254. In those conditions, the firmware adapts the duty cycle in order to keep the actual current close to the target current. 2 factors can influence the way the regulation acts: the acceleration/deceleration rate on ne side and the way actual current is measured (using more or less averaging).
In test2 you still noticed more flinkering than in test 3: So I expect that acceleration/deceleration rates play an important role (because this is the only changed between the 2 tests, averaging current measurement being unchanged). Perhaps that averaging current method introduced in version 13 helps also but it was not enough).
Please note that in tests 2 and 3, the foc multiplier was 14 and so efficiency was not optimum (at least when current increases where FOC angle become important).
Please confirm if my statements are correct are correct or not.
I could then propose some more changes and test process.