BLHeli 32 Manual ARM Rev32.x
User Manual:
Open the PDF directly: View PDF .
Page Count: 15
Download | ![]() |
Open PDF In Browser | View PDF |
Operation manual for BLHeli_32 ARM Rev32.x BLHeli_32 firmware is the third generation BLHeli, following base BLHeli and BLHeli_S. BLHeli_32 is designed for superior functionality and performance, primarily in multirotors and runs on ARM 32bit MCUs. All codes implement damped light mode as default. Damped light does regenerative braking, causing very fast motor retardation, and inherently also does active freewheeling. The code supports features to prevent sync loss. There are tuneable parameters that can make the code run well even in the most demanding situations, although default settings will work excellently in normal operating environments. The code supports regular 1-2ms pulse width input, as well as Oneshot125 (125-250us), Oneshot42 (41.7-83.3us) and Multshot (525us). Dshot is supported at any rate up to at least Dshot1200 and Proshot at least up to Proshot1000. The input signal is automatically detected by the ESC upon power up. The code also supports a beacon functionality, where the ESC will start beeping after a given time of zero throttle. This can be very useful for finding lost crafts. Document rev 32.x Programming parameters: Rampup Power: Rampup power can be set to relative values from 3% to 150%. This is the maximum power that is allowed when ramping up at low rpms and during startup. For low rpms, the maximum power to the motor is limited, in order to facilitate detection of low BEMF voltages. Rampup power also affects bidirectional operation, as the parameter is used to limit the power applied during direction reversal. During startup, the actual applied power depends on throttle input, and can be lower than the maximum level set by the rampup power parameter, but the minimum level is a quarter of the maximum level. Motor Timing: Motor timing can be set between approximately 10 and approximately 310 in approximately 10 increments (actual accurate values here are 15/16ths of a degree). Typically a medium setting will work fine, but if the motor stutters it can be beneficial to increase timing. Some motors with high inductance can have a very long commutation demagnetization time. This can result in motor stop or stutter upon quick throttle increase, particularly when running at a low rpm. Setting timing higher will allow more time for demagnetization, and often helps. This parameter can also be set to auto. I this case the code monitors demagnetization time, and keeps timing as low as possible without having issues with demag. On well behaved motors, timing can be low in the entire power range, and thereby max power can be reduced. On not so well behaved motors, timing is increased as needed, and thereby improves margins against sync loss. PWM frequency: Motor pwm frequency can be programmed between 16kHz and 48kHz. Higher pwm frequency can run motors smoother. Programmable frequency also allows for moving of small but potentially disturbing humps in the throttle response. All ESCs have these bumps, with BLHeli_32 they can be moved in the rpm range, to a place where the system has low sensitivity to them. Demag Compensation: Demag compensation is a feature to protect from motor stalls caused by long winding demagnetization time after commutation. The typical symptom is motor stop or stutter upon quick throttle increase, particularly when running at a low rpm. As mentioned above, setting high commutation timing normally helps, but at the cost of efficiency. Document rev 32.x Demag compensation is an alternative way of combating the issue. First of all, it detects when a demag situation occurs. - In this situation, there is no info on motor timing, and commutation proceeds blindly with a predicted timing. - In addition to this, motor power is cut off some time before the next commutation. A metric is calculated that indicates how severe the demag situation is. The more severe the situation, the more power is cut off. When demag compensation is set to off, power is never cut. When setting it to low or high, power is cut. For a high setting, power is cut more aggressively. Generally, a higher value of the compensation parameter gives better protection. If demag compensation is set too high, maximum power can be somewhat reduced for some motors. Sine Modulation Mode: Sine modulation mode can give a few percent more efficient running, as well as smoother running. It is a pretty subtle effect. Power is modulated with a sine shape, following the top of a sine wave through the commutation cycle so that the power when commutating shall be ideal for a motor with sine shaped BEMF. Power is varied between sin(60deg)=87% when commutating to sin(90deg)=100% in the middle of a commutation cycle, and then down again to sin(120deg)= 87% at the end of the commutation cycle. Maximum power is the same for sine mode as for regular mode, as when approaching full power the ESC will transition smoothly into regular mode. Varying power can only be done by varying pwm, so a high pwm frequency is preferable for accurate sine mode operation. Still, even with 48kHz pwm frequency, a reasonable accuracy of the sine modulation can only be achieved up to some 100k erpm. At higher erpms, the motor still runs fine, but the quality of the sine modulation is degraded. Due to the increased MCU processing for sine mode, max erpms is lower for sine mode than for regular mode. Still it will generally be more than 300k erpm even for sine mode. Sine mode is implemented from Rev32.6. Maximum Acceleration: Maximum acceleration can be set between 0.1%/ms and 25.5%/ms. It can also be set to maximum, in which case acceleration is not limited. Limiting acceleration is primarily intended as a backup parameter that can be used in cases where too hard acceleration gives desyncs. When setting to e.g. 10%/ms, it means that the power applied to the motor is not allowed to increase by more than 10% per millisecond. Document rev 32.x Motor Direction: Motor direction can be set to fwd, rev, bidirectional 3D, bidirectional 3D rev, bidirectional soft and bidirectional soft rev. In bidirectional mode, center throttle is zero and above is fwd rotation and below is reverse rotation. When bidirectional operation is selected, throttle calibration is disabled. There are two bidirectional modes from Rev32.6, bidirectional 3D and bidirectional soft. The 3D mode applies more power when reversing direction, and also limits minimum throttle to 6%. The soft mode applies less power when reversing, and does not limit minimum throttle. Startup Beep Volume: Sets the volume of beeps during powerup. Beacon/Signal Volume: Sets the volume of beeps when beeping beacon beeps. The ESC will start beeping beacon beeps if the throttle signal has been zero for a given time. Note that setting a high volume can cause hot motors or ESCs! Also sets the volume used for Dshot/Proshot initiated signal tones. Beacon Delay: Beacon delay sets the delay before beacon beeping starts. Throttle Cal Enable: If disabled, throttle calibration is disabled. Minimum throttle, maximum throttle and center throttle: These settings set the throttle range of the ESC. Center throttle is only used for bidirectional operation. The values given for these settings are for a normal 1000us to 2000us input signal, and for the other input signals, the values must be scaled. For Dshot/Proshot input signal, these settings have no effect. Temperature Protection: Temperature protection can be enabled or disabled. And the temperature threshold can be programmed. The programmable threshold is primarily meant as a support for hardware manufacturers to use, as different hardwares can have different tolerances on the max temperatures of the various components used. Document rev 32.x Low RPM Power Protect: Power limiting for low RPMs can be enabled or disabled. Disabling it can be necessary in order to achieve full power on some low kV motors running on a low supply voltage. However, disabling it increases the risk of sync loss, with the possibility of toasting motor or ESC. Low Voltage Protection: Low voltage protection can be set between 2.5V and 4.0V per lipo cell. Or it can be disabled. When enabled, it will limit power applied to the motor if the battery voltage drops below the programmed threshold. This feature is primarily intended for fixed wing crafts. Current Protection: Current protection can be enabled to limit current. If enabled, then current will be limited to maximum the programmed value. The reaction time of the current limiting is quite fast, so current will also be limited during accelerations. The value given for current protection, is per ESC. So if setting limit to e.g. 40A for each of the ESCs in a quad (using BLHeliSuite32), then the total current limit for the four ESCs will be 160A. Brake On Stop: Brake on stop can be set between 1% and 100%, or disabled. When not disabled, the given brake force will be applied when throttle is zero. For nonzero throttle, this setting has no effect. This feature is primarily intended for fixed wing crafts with folding props. On some ESCs this setting is not linearly programmable, it will just be enabled (at 100% force for any setting 1%-100%) or disabled (this applies to ESCs that have “EN/PWM” style fet drivers). Auto Telemetry: When auto telemetry is enabled, the ESC will autonomously output telemetry at 32ms intervals, regardless of whether or not there are telemetry requests from the input signal. Autonomous telemetry is implemented from Rev32.6. LED Control: LEDs can be controlled on ESCs that support it. Up to 4 LEDs can be turned on or off. Document rev 32.x Arming sequence: The figure below shows an example of throttle value versus time. 100% Power on 3 beeps Arm end 1 high beep Run Arm start 1 low beep 0% Time At power on, an activated ESC beeps 3 beeps. When throttle signal is detected, it beeps one low tone beep. This signals that input signal is detected. Then, when or if throttle is zero, it beeps one high tone beep. This signals the end of the arming sequence, and the ESC is ready to run. Also, if more than 50% throttle is detected at arm start, the ESC starts throttle calibration. If the esc is armed and sees zero throttle for a given time, it beeps beacon beeps, which are approximately one beep per three seconds. Input signal: Available throttle calibration range is from 1000us to 2000us, and the difference between minimum and maximum throttle must be more than 140us (70us in bidirectional mode). If a calibration is done where the difference is less than 140us (70us), the maximum will be shifted so that the difference is 140us (70us). Oneshot125 mode works just the same as regular 1-2ms mode, the only difference is that all timing is divided by 8. And the same for Oneshot42, where all timing is further divided by 3. Multishot also works similarly, except the input signal range is 5-25us. Dshot is supported at any rate, up to at least Dshot1200 and Proshot at least up to Proshot1000. When the input signal is Dshot or Proshot, throttle calibration is disabled, and the throttle calibration values are ignored. Input signal rates up to at least 32kHz are supported. But please note that higher input signal rates put a heavier load on the MCU, and will reduce the maximum erpm that the ESC can handle. For a 48MHz clock MCU, the minimum input signal rates are about 40Hz for 1-2ms PWM, about 1000Hz for Proshot and about 300Hz for all other input signal types. Document rev 32.x Thermal protection: The ESC measures temperature within the MCU and limits motor power if the temperature is too high. Motor power is limited over a range: - If the temperature is above the threshold, motor power begins to be limited. - If the temperature is above the threshold plus approximately 150C, motor power is limited to 25%. Motor power is not limited below 25%. Stall protection: If the motor has attempted to start but not succeeded for a few seconds, it will stop attempting and wait for throttle to be zeroed before attempting again. Regenerative braking / active freewheeling: Damped light mode is implemented by doing regenerative braking, and inherently active freewheeling is also implemented. Then losses due to braking are counteracted by the reduced losses of active freewheeling. From code revision 32.4 and onwards, it is possible to select nondamped operation (for most ESCs). This will degrade performance in multirotor applications, but can be desirable for fixed wing environments. Motor PWM: The motor PWM frequency can be programmed between 16kHz and 48kHz. The resolution is 2048 steps for MCUs running at 48MHz for a pwm frequency of 24kHz. Telemetry: From code revision 32.1 and onwards, telemetry is supported. Telemetry is designed to be compatible with the specifications from KISS 24A (except that telemetry can only be requested by Dshot or Proshot), and delivers the following data: - Temperature [0C] - Voltage [V] - Current [A] - Temperature [Ah] - Rotation speed [electrical rpm] Temperatures below 00C are not supported, they will be shown as 00C. For conversion from electrical rpm to mechanical rpm, divide by (motor poles)/2. Note that rotation speed measurements are erroneous below 1000 electrical rpm. Document rev 32.x Input signal statistics: From code revision 32.4 and onwards, input signal statistics can be read out using BLHeliSuite32. This can be used to diagnose potential noisy input signal. The number of good frames and bad frames are reported. Note that good frames is limited to 32bit (4294967295 maximum), and that activation of beacon will generate bad frames. Maximum supported speeds: For a 48MHz ST MCU, the maximum speeds are approximately: - Multishot at 8kHz: 510k erpm - Multishot at 16kHz: 450k erpm - Multishot at 32kHz: 420k erpm - Dshot at 8kHz: - Dshot at 16kHz: - Dshot at 32kHz: 470k erpm 420k erpm 310k erpm - Proshot at 8kHz: - Proshot at 16kHz: - Proshot at 32kHz: 480k erpm 430k erpm 330k erpm - Dshot at 16kHz with sine: 280k erpm For a 72MHz GigaDevice MCU, these speeds are approximately doubled (increased clock speed and no flash memory wait states). A 14 pole 2300kv motor on 4S will theoretically run up to (14/2)*2300*4*4.2 erpm = 270k erpm Document rev 32.x Beeps - Normal operation: Power up: Once Throttle signal detected (arming sequence start): Once Zero throttle detected (arming sequence end): Once After this, the motor will run. Document rev 32.x Beeps - Throttle calibration: Power up: Once Throttle signal detected (arming sequence start): Once When throttle is above midstick (measuring max throttle): While measuring If throttle is above midstick for 3 seconds: Once This beep sequence indicates that max throttle has been stored When throttle is below midstick (measuring min throttle): While measuring If throttle is below midstick for 3 seconds: Once This beep sequence indicates that min throttle has been stored At this point throttle calibration values are stored. You may remove power from the ESC, or just continue running your ESC. Please note that for some ESCs, throttle calibration beeps are different from the above. If you are in doubt, consult the manual of your specific ESC. Document rev 32.x Beeps - Not activated ESC: All ESCs shall be activated during manufacturing. If for some reason this is not done, the ESC will beep like this upon powerup, before the normal operation beep sequence starts: Beeps - Activation failed ESC: All ESCs shall be activated during manufacturing. If for some reason activation has failed and the ESC is not regarded as a valid BLHeli_32 unit, the ESC will beep like this upon powerup, before the normal operation beep sequence starts: In this case the ESC will only accept 1-2ms pwm input signal. Document rev 32.x Telemetry port: Telemetry port versus firmware version is given below: Airbot_Wraith32_Plus_ST Airbot_Wraith32_ST Airbot_Wraith32_Mini_ST X_Racer_35A X_Racer_25A Betaflight_ESC_BL32_35A Mantis_ST BLARM_HK_6530 Siskin_ST FVT_Littlebee_Summer_30A FVT_Littlebee_Summer_35A Emax_Formula_45A Aikon_AK32_35A KS_BLHeli_32_30A Spedix_GS30A_V1_1 Spedix_GS35A_V1_1 Hobbywing_XRotor_BLHeli32 iFlight_Force32 DYS_Aria_32 Siskin_ST_32_Plus Siskin_GD_32_Plus FVT_Littlebee_Summer_25A T_Motor_F30A_BLHeli32_V1_1 T_Motor_F35A_BLHeli32_V1_1 Typhoon32 Ori32 Spedix_GS35A_4IN1_4S_V1_1 Spedix_GS35A_4IN1_6S_V1_1 Flycolor_X_Cross_BL_32 Spedix_GS20A_4IN1_4S_V1_1 Gemfan_Maverick AGF_BLHeli_32 TYPHEERX FVT_CloudPhoenix_12AX4 Aikon_AK32_4S_V1_0 NOX_ESC DALRC_ENGINE_40A FVT_CloudPhoenix_35A MARS32_35A HGLRC_T-REX_60A_ST HGLRC_DinoShot_40A_ST Flycolor_X_Cross_BL_32_35A Exuav_FishDrone Aikon_AK32_4IN1_35A_6S_V1_0 YGRC_32 RobotDOG_ST MARS32_40A PB6 PB6 PB6 PB6 PB6 PB6 PA14 PA14 PA14 PB6 PA14 PA14 PB6 PB6 PB6 PB6 PB6 PA14 (PB6 for Rev32.1) PB6 PB6 PB6 PB6 PB6 PB6 PA14 PB6 PB6 PB6 PA14 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PA14 PB6 PB6 PB6 PB6 PB6 Document rev 32.x HAKRC_30A HAKRC_35A KS_BLHeli_32_40A Airbot_Wraith32_Metal_ST RF1.h JHE_Aria_32 Siskin_Lite Tmotor_32Bit FrESC_80A KS_40A_4IN1_4S HGLRC_DinoShot_60A_ST FrESC_35A_32 HGLRC_T-REX_35A_ST KS_BLHeli_32_35A_V1 KS_BLHeli_32_50A_V1 FVT_CloudPhoenix_50A Spedix_GS40A_4IN1_V1_1 GetFPV Furling32 HAKRC_E45A HAKRC_E50A Airbot_Wraith32_Metal_Rev1_ST GEPRC_BL32_PRO GEPRC_BL32_4IN1 iFlight_BL32_PRO iFlight_BL32_4IN1 Bardwell32 Makerfire_30A_BLHeli_32 Crazepony_30A_BLHeli_32 Dake_30A_BLHeli_32 Emax_6S_STSPIN32F0_V21 Atom32_35A ALIENTEK_BLHeli32 FVT_MachineDog_20A HTIRC_Hummingbird_32 PB6 PB6 PB6 PB6 PA14 PB6 PB6 PA14 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PA14 PA14 PB6 PB6 PB6 PB6 PB6 PB6 PB6 PA14 PB6 PB6 PB6 PB6 PA14 PB6 PB6 PB6 Programmable brake force and nondamped mode: Programmable brake force and nondamped mode (from code revision 32.4) is supported by most ESCs. But some ESCs have deadtime controlled by the driver, and for these ESCs programmable brake force and nondamped mode is not supported: BLARM_HK_6530 Gemfan_Maverick Document rev 32.x Revision history: - Rev32.0 Started - Rev32.1 Added telemetry Tuned gain of current sensor - Rev32.2 Withdrawn - Rev32.3 Added support for Dshot programming commands Greatly improved reliability of bidirectional direction reversals Improved reliability of startup (lower probability of stuttering) - Rev32.4 Added programmable current sensor calibration Added programmable nondamped mode Added support for ProShot input signal Added input signal status reporting Added programmable startup music Changed default throttle range to 1040-1960 Some smaller fixes - Rev32.5 Withdrawn - Rev32.6 Added programmable sine modulation mode Added programmable soft bidirectional mode Added programmable autonomous periodic (every 32ms) telemetry mode Activated hardware noise filter on the signal input Fixed issue of corrupted telemetry CRC, and speeded up generation of CRC Fixed issue in bidirectional mode where motor would twitch before stopping Improved input signal detection, particularly for Proshot and also for Dshot at high input signal frequency Some smaller fixes Document rev 32.x Errata: - Rev32.0: Setting temperature protection to off causes maximum power to be very limited. Direction reversals in bidirectional mode are not reliable. - Rev32.1: Setting temperature protection to off causes maximum power to be very limited. Direction reversals in bidirectional mode are not reliable. Stalled motor protection does not work as intended, starting is attempted indefinitely, even if motor is stalled. - Rev32.2: Withdrawn as in some cases it could beep very loud when disconnecting after a flash to this revision. - Rev32.3: Dshot/Proshot save settings command (command no 12) does not always work. The telemetry reported erpm can have some percent error. - Rev32.4: Telemetry data has a high CRC error rate. Motor can twitch when stopping in bidirectional mode. Proshot sometimes does not detect input signal, particularly at high input signal frequencies. - Rev32.5: Withdrawn due to random failures during flashing and setting changes. Document rev 32.x
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.7 Linearized : No Author : Create Date : 2018:08:18 08:28:26+02:00 Modify Date : 2018:11:05 14:04:05-05:00 XMP Toolkit : XMP Core 5.5.0 Creator : Subject : Description : Title : Format : application/pdf Creator Tool : Keywords : Producer : Foxit Reader PDF Printer Version 9.2.0.1151 Document ID : uuid:5b2033d6-55fe-4679-98ad-bd23b0fe5c55 Instance ID : uuid:b2631423-8c32-48ce-91c3-5a26daa49993 Page Count : 15EXIF Metadata provided by EXIF.tools