2024-01-29 04:37 AM
I'm trying to set up a custom board based on the B-G431-ESC1, with the MC Workbench and the SDK Version 6.2.1.
My intention is to use sensorless for development and then have the option to switch to sensored (Hall, Encoder) in the future.
I set up the board accordingly in the Board Manager, here is the relating section of the config:
{
"name": "SpeedAndPositionSensing",
"type": "SpeedAndPositionSensing",
"hwVariants": [
{
"type": "HallEffectSensor",
"help": "SW 9 and 16 to consider",
"signals": {
"HALLSENSOR_H1": [
{
"name": "PB6",
"help": "",
"cost": 0
}
],
"HALLSENSOR_H2": [
{
"name": "PB7",
"help": "",
"cost": 0
}
],
"HALLSENSOR_H3": [
{
"name": "PB8-BOOT0",
"help": "",
"cost": 0
}
]
}
},
{
"type": "QuadratureEncoderRelative",
"help": "SW 9 and 16 to consider",
"signals": {
"QENC_A": [
{
"name": "PB6",
"help": "",
"cost": 0
}
],
"QENC_B": [
{
"name": "PB7",
"help": "",
"cost": 0
}
]
}
},
{
"type": "QuadratureEncoderAbsolute",
"help": "SW 9 and 16 to consider",
"signals": {
"QENC_A": [
{
"name": "PB6",
"help": "",
"cost": 0
}
],
"QENC_B": [
{
"name": "PB7",
"help": "",
"cost": 0
}
],
"QENC_Z": [
{
"name": "PB8-BOOT0",
"help": "",
"cost": 0
}
]
}
}
]
}
However, inside the MC Workbench I can only choose between the two observer option.
None of the hall options show up, neither as the main nor the auxiliary sensor (in this context they're greyed out and cannot be chosen).
There is no message as to why this is the case either.
Solved! Go to Solution.
2024-01-29 07:28 AM
2024-01-29 07:28 AM
2024-01-29 08:01 AM
Thanks, that worked!
So it depends on the motor configuration as well. Makes sense.
2024-02-14 06:22 AM
Even after selecting hall sensor option in motor section, iam unable to select hall sensor option in speed control , can anyone help me .
Iam using nucleo f030r8 with custom motor driver and a hall sensor based motor