Motor Detection in VESC_TOOL Step by Step Guide.
For motor run correctly, it is very important to set correct parameters in VESC_TOOL, follow below steps.
Preparations before detection:
- Please detect motor without any load.
- Make sure that no other input such as PPM is used. If it is, it will stop the motor immediately when the detection tries to start it and the detection will fail.
- Make sure you have proper VESC_TOOL software is download in your computer.
- Connect your VESC to your computer.
BLDC Mode: suggest to detect in BLDC mode first.
- Step1: Choose BLDC mode in VESC_TOOL.
Suggest to detect in BLDC mode first
- Step 2: Adjust current limits and Battery Type
-Motor Current Max: set the current that you want to run, do not higher than motor max current.
-Motor Current Max Brake: It should be lower than current that battery BMS can absorb, it depends on BMS, the lower value is 80%.
-Battery Current Max: Max Current that battery can release, should be higher than motor current max brake.
-Battery Current Max Regen: Suggest to set same value as “motor current max brake”.
About "battery current max regen" (former) and "motor current max brake" (later) relationship, if former value is same as later value, brake force is not obvious; If you need stronger brake force, then suggest to set a little higher value of later value, but do not set too high value, otherwise the would easy burn controller.
- Step 3: Set voltage limits
-First choose your battery type and cells, make sure type and cells is correct.
-Battery voltage cutoff start and end value will be counted automatically, you don’t need to set manually.
- Setp 4: Choose sensor mode:
-If you want to use sensorless mode, then choose sensorless mode, and then can go next step.
-If you want to use sensored mode, then choose sensored mode.
Please noted if you use sensored mode, you need to detect hall sequence and find suitable hall sequence.
- Step 5: Set BLDC settings.
-Cycle integrator limit: use default value
-BEMF Coupling: use default value
Please noted it is very important for the below values:
Detect BLDC Parameters:
I: For electric skateboard 50mm and 63mm motor, suggest to set 5A, for bigger motor, suggest to set 10A
W: According to your KV, no specific value, the smaller size of your motor, suggest to set higher value, the larger size of your motor, suggest to set lower value, if this value is not proper, motor would easy been stuck, if the motor stuck, do not keep run the motor, adjust the parameter and detect again.
D: Suggest to set this value under 0.3. (the smaller size of your motor, suggest higher value, the larger size of your motor, suggest lower value)
Then click this button, the motor will start detect.
After detection, please must click apply.
If detection is successful, will show detection result:
If detection is failed, show show detection failed, and you need to adjust parameters and detect again.
FOC mode detection:
The detection page is different from BLDC mode, and if you use sensored mode, there's 2 detections.
In FOC mode, if you use V4 VESC, do not suggest to use this mode, if you need to use this mode, then voltage shouldn't be over 20V.
If you use V6 VESC, ERPM can't over 50000.
ERPM= motor pole pairs number * KV * Voltage
1. Motor Detection:
- Former 4 steps is same as BLDC mode, from step 5 is as below:
First adjust parameters (BLDC mode Step 5), and follow below detection steps:
First Click "RL", and detect 4 values first (as the green color values in below picture)
Then click button , and detect motor.
After detection, please must click apply.
If detection is failed, adjust parameters and detect again.
2. Hall Sensor Detection:
- If you choose sensorless mode, then you don’t need to do this step.
- If you choose sensored mode, then you also need to detect hall sensor as follow:
You don't need to adjust parameters, click button , and detect hall sensor.
After detection, please must click to save.
Simple motor detection instruction:
When you do detection next time, please must click read ↑M.
And every time after detection, please must click and ↓M to save parameters.
BLDC Mode Detection Video:
FOC Mode Detection Video:
Maytech Brushless Sensored Motors: