-
Notifications
You must be signed in to change notification settings - Fork 59
08 Control State and Troubleshooting
Xnyle edited this page Oct 21, 2018
·
18 revisions
When connecting via BluOSEC or enabling diagnostics the controller reports its state via ui16_control_state. In the BluOSEC App you can watch the state field after swiping vertically over the "Trip monitor" pane which will switch through 3 views, "Trip monitor","Phase/Hall infos" and "Details"
Control state is to be considered bitwise.
When not braking, bits have the following meaning:
- 1 you are in torquesimulation and pedaling slower then ramp end
- 2 you are in torquesimulation and pedaling faster then ramp end
- 4 you are in torquesensor mode
- 8 throttle / torquesensor factor is influenced by speed (ui8_speedlimit_kph)
- 16 throttle / torquesensor currecntly overrides torque simulatiom / cadence
- 32 overspeed ramp down
- 64 max battery current limiting
- 128 phase current limiting
- 256 ui32_dutycycle is set to zero via ui16_aca_experimental_flags (experimental, dangerous, only for finding the correct motor angle while tudning the wheel by hand)
- 512 experimental PWM power of is enabled