Searching for a Tiny Driver Board w/ Encoder

Hello,

I’m searching for a tiny form factor driver board that is compatible with SimpleFOC for a very small robot arm project. Ideally, the board size is 20x20 or smaller so that it can fit within the footprint of 220X Gimbal motors or smaller. Very low current draw requirements. I think I need current sensing for it to work well in the robot arm application, where the loads are constantly changing. It could be multiple stacked boards if needed.

I haven’t really found any boards that meet these requirements. I have seen the Mosquito board, that has a 20x20mm footprint, but it seems that some of the source files have been taken down? Also, the board did not include current sensing. I would be willing to spend the time (or resources) to develop a miniature board, but I don’t really know where to start. I think my requirements aren’t really out of the ordinary for SimpleFOC applications, so I’m surprised that nothing exists yet.

List of desired features of the tiny driver board:

  • 20x20mm footprint or smaller. Can be 20mm diameter for a bit extra board space. At least 2 mounting holes required.
  • 1-2A current
  • 12-24V operating voltage
  • On-board SPI encoder (AS5047 or similar)
  • Current sensing
  • Integrated MCU
  • CAN communication and step/dir input

Can anyone point me in the right direction as far as current best practices for component selection and board design? I’m not sure which MCU and driver chip to use to ensure best compatibility and design simplicity.

Thanks in advance.

Here’s the inspiration for this project: Singularity crossing with the world’s smallest industrial robot arm

Mosquito probably is the closest to what you want, but you are correct that it doesn’t have current sense. Valentine took all his designs down some years ago, but there’s an alternate version here to see the components MosquiNo - Yukon concept

The STM32G031 is a little slow for SimpleFOC, though it would probably be fine for the low RPM of a robot arm. G431 is luxury, but the smallest package is 5x5mm instead of 4x4, and a little more expensive.

For the driver, MAX22213 is excellent for small size with current sense, but LCSC doesn’t carry it so you’ll probably have to do the assembly yourself. I use it on my stepstick. And if you’re assembling it yourself, then there’s a better chance you’ll be able to fit a CAN transceiver since you can do full double-sided rather than just the encoder on the back.

Step/dir can be problematic with long wire runs due to the possibility of electrical noise causing false steps, which never get corrected since it’s a purely relative protocol. I2C could work for sending absolute positions without taking up any board space, though it is of course more vulnerable to noise than CAN. But probably fine for a mini-arm.