Updated 2023/07/20: Added link to SuperFlux Reference - Motor Setup Values
Updated 7/23
A Cheat Sheet / Guide to config a motor in VESCtool 6. This guide discusses motor values to be adjusted, it does not replace basic understanding of settings. This guide shows desktop VESC Tool, but APP version is similar
This is a written version of Dado’s Motor Config video with additional information, I recomend you watch it at least once. VESC 5.3 Hub Motor Configuration using the Wizard - YouTube
Always back up MTR and APP Config to maintain a base if you need to go back.
1. Welcome & Wizards - Set up Motor FOC
Load Default Parameters = No
EUC
(Hypercore MTR)
Large Outrunner
Max Power Loss = 400W
Open Loop ERPD = 700
Sensorless ERPM = 2000
Motor Poles = 30
(SuperFlux & Cannon Core MTR)
Large Outrunner
Max Power Loss = 700W
Open Loop ERPD = 1500
Sensorless ERPM = 1500
Motor Poles = 30
Motor Selection = Yes
Battery Type = LIIION 3_0_4_2
Battery Cells = Stock XR (64V) =15, TORque Pack (80V) = 19, CBCSO (84V)= 20
Battery Capacity = StockXR, TORque Pack, CBCSO or Custom?
Battery Settings = OK
Direct Drive = Checked
Wheel Diameter = 280 (for speed calculation)
Motor Poles = 30
Run Detection (Allow wheel to free spin)
Correct Results Range. Consider re-running Motor Wizard if you get number drastically different than below when configuring HyperCore Motor. For Common SuperFlux Values see SuperFlux Reference - Motor Setup Values
2. MOTOR SETTING - GENERAL (LEFT MENU):
GENERAL TAB:
Invert Motor Direction = Only if motor runs in reverse
CURRENT TAB:
Motor Current Max = 150A
Motor Current Max Brake = 150A
Absolute Max Current = 225A+
Battery Current Max = 30A (you can use 50-60A for Molicel 2p packs, like TORque pack)
Battery Current Max Regen = -30A (you can use 50-60A for Molicel 2p packs, like TORque pack)
VOLTAGE TAB: (Dependent on Battery)
Battery Voltage Cutoff Start = 2.7V per Cell (54V for 20s battery)
Battery Voltage Cutoff End = 2.5V per Cell (50V for 20s battery)
TEMPERATURE TAB: (Activates Pushback for Overtemps) should be set correctly by default
MOSFET Temp Cutoff Start = 75C
MOSFET Temp Cutoff End = 80C
Motor Temp Cutoff Start = 80C
Motor Temp Cutoff End = 90C
3. MOTOR SETTINGS - FOC (LEFT MENU)
These settings should be set by Wizard, but some may need to be adjusted for “crunch”.
GENERAL TAB:(Crunch)
Motor Resistance (R) = 87 - 105
Observer Gain= ½ wizard value (0.6 - 0.7)
**HALL SENSORS TAB:(Crunch)
Sensorless ERPMv = 2000
Hall Inerpolation ERPM = 200/250
FIELD WEAKENING TAB: (Default should be fine, but can adjust to personal preference)
Max Start= 30A - 50A
Duty Start= 50% (some prefer 60%+)
Ramp Time= 500
Q Axis= 2% (don’t touch!)
Motor “Crunch”
Follow this guide to troubleshoot. Reminder to make one change at a time. Motor crunch troubleshooting
Common Causes in this Order:
- Observer gain (FOC-General) = HALF of wizard value
- Sensorless ERPM (FOC-Hall Sensors) = 2000
- Sensor Interpolation ERPM (FOC-Hall Sensors) = 200
- Zero Vector Frequency (FOC-Advanced) = Increase up to 30 max
- Motor Resistance (FOC-General) = increase to 105 can help.
- Matching KI- KI factor to match their now higher Motor Resistance value.
- (Last resort) switching to the original (ORTEGA) observer. Select that in FOC-Advanced and start over. Ortega Lambda-Comp is also a great option to try out.
Backup and save Motor Config when successful.
*Comment if you see any errors or something needs to be added