Lately I have been riding all the time with OSF_TSDZ8_860C_SPIDER_3_V00_01.35.hex.
To start testing the new OSF OSF_TSDZ8_860C_SPIDER_3_V00_02.01.hex, do I need to change anything in the 860C display settings?
No there is no real change.
Still In previous version, it was possible to specify the foc multiplier from the display reusing a field named coast brake threshold. This version does not use anymore the foc multiplier because the best lead angle should be calculated automatically.
Therefore, I reuse the field coast brake threshold in order to monitor how lead angle is now calculated.
The lead angle is now the sum of several parameters:
- a part depending on the motor speed (rotation per min); this part increases when rpm increases. The relation is not linear and use a table with severals entries. This part can vary from 0 up to 14° (with existing set up)
- a part depending on the battery current; this part increases when current increases. The relation is linear in this firmware. This part can vary from 0 up to 15° (with existing setup).
- the sum of those 2 parameters makes the "base lead angle". It is calculated at quite high frequency. If the parameters used in the calculation are good, the base lead angle should be very closed to the best value.
- In order to further optimise (and to compensate some deviations in the used parameters), OSF calculates a correction. This correction is calculated in order to minimise the "unproductive" current (usually named Id in FOC algorithm). This correction can vary from -5° up to +5° (or perhaps from -10° up to +10° - I do not remember). It is adapted much slowlier the base lead angle.
Ideally the correction should remain quite small. If it is not the case, it means that the parameters used for based lead angle are not good enough.
I made some tests with a trainer to set up some parameters but I am not sure they are the best one specially for high current.
In order to check the result, I reused the field named coast brake threshold from the display in order to let the user selects which lead angle must be displayed as FOC angle.
Here the values you can fill in coast brake threshold
// 10 = total lead angle,
// 11 = part of base lead angle depending on rpm
// 12 = part of base lead angle depending on current
// 13 = base lead angle (sum of 2 parts)
// 14 = correction based on Id
To check if the parameters used curently are good, you could set coast brake threshold to 14 to display the correction
On the 860C, you can then display simultanously RPM, battery current and FOC.
You can check that FOC (= correction) remains quite small (e.g. between -5° and +5°).
If it is not the case, when the values are stable, note the set of 3 values (RPM, battery current and correction) for different RPM and current. This would allow to further adapt the parameters I predefined.
Important note: 860C can't display negative values but correction (and so total lead angle) can be negative. To solve this issue without changing the 860C display firmware, OSF will display negative value above 200. So 201 means -1°, 202 means -2°, 203 = -3° etc...