2017-12-19 07:45 PM
For Motor controller design using FOC sensorless prototype, there are 3 B-EMF signals need to be monitored by MCU. So I shall config 3 ADC channels for this purpose. But with ST MC WB there is no way to do this. what can I do?
Bellow is my schematic.
U, V, W are 3-phase output to drive motor directly. R6, R8 and R10 provide B-EMF signals, and distribute voltages on R8, R13 and R21 seperately , filtered and smoothed by C1, C5, and C12, clamped on 0.6V by D4�D6�D7,finally connect to Pin 18, 19 and 22 of STM32F302C8, to detect the 0-cross of 3 B-EMF signals.
2017-12-19 11:56 PM
There are 3 B-EMF signal need to monitored by MCU - STM32F302C8. So I need to config 3 ADCs for this purpose.
So why not using a F303 with 3 or 4 ADCs ?
2017-12-20 10:55 PM
I've updated my question that it is sofware tool problem. But thanks anyway.
2017-12-21 12:42 AM
I've updated my question that it is sofware tool problem.
This is not good style, because it puts the answers seemingly out of context.
Rather post your refined question as follow-up.
So I shall config 3 ADC channels for this purpose. But with ST MC WB there is no way to do this.
Don't know 'ST MC WB', presumably a 'motor control workbench'.
And I'm not sure if the F3 is the right choice.
This ADC peripherals of this series can only be coupled to a dual-mode.
The F4 series features a triple mode, where all three ADC's virtually operate as one.
That comes into play if you need full speed of more than 1 Msps.
If you stay significantly below the ADC's limit, you could get away with one ADC, and a sequential conversion of three channels.
For Motor controller design using FOC sensorless prototype, there are 3 B-EMF signals need to be monitored by MCU.
The usual precautions (hardware design) apply, or you might destroy the controller.
But for the software, you can either try ST's HAL/Cube, or consult the reference manuals and write it yourself.
I don't comment on the former.