As some seen over the past few months we are building a “small” wind turbine that utilise SimpleFOC to actuate two stepper motors, which in turn controls the pitch of the blades. I/we developed a custom board, which we have been super stoked about! The SimpleFOC library has been really helpful.
Currently we are using a VESC 4.20 Mini from Flipsky as ESC. This is controlled over serial from an ESP32.
I would like to investigate the option to replace the VESC mainly to reduce cost, but we might also eventually try to gain additional performance from lower control latency & optimised speed tracking.
The requirements to the controller is that it’s able to work with DC voltages between 10 and 40V nominal.
The motor current requirement is 15 Amp continuous.
The electric rpm is 19000 eRPM.
I’m thinking that it’s best to measure at least two phase currents, but I’m not really sure about the performance difference between 1 and 2 current sensors.
Ideally based on ESP32 (since we are most familiar with that platform and we want wifi connectivity anyway).
Currently I’m inclined to use 3 standard hall sensors as it’s fairly cheap to get those sensors included in the skateboard motor/generator we buy. Would perhaps upgrade the code to use timing for improved angle estimation. Alternatively the two linear hall sensors mounted off axis outside of the motor could be used in an improved version.
I’m currently thinking about basing the design off DRV8313PWPR since it’s currently in stock on JLCPCB and has over the past year been reasonable available.
For the layout I would probably start by looking at the HackJammer.
For the current sensing we would probably use the ACS712ELCTR-20A-T.
Cost wise the goal is to hit max 50 USD (with the current sourcing prices) - of cause the cheaper the better
I would be curious if you have any input or alternative routes you feel I should consider.