This is the K-Scale Motor Controller design document.
Requirements
- Microcontroller
- STM
- Other:
- Integrated motor control MCUs
- For high-precision and complex control tasks with an emphasis on real-time networking and performance, the Infineon XMC4800 is suitable, especially if you need robust communication features like EtherCAT for interconnected device control.
- If budget and simplicity are key considerations, and less intensive processing is required, the NXP LPC1549 offers a good balance. It provides essential capabilities for motor control without the complexities of advanced networking, making it ideal for straightforward applications.
- For a balance between performance and ecosystem support, with flexibility in hardware and software, the STM32F405RG is an excellent choice. It offers a powerful ARM Cortex-M4 processor and a rich development ecosystem, suitable for developers looking for extensive community support and flexibility.
- When high-end communication like EtherCAT isn't a necessity but robust control capabilities are still required, the Infineon XMC4500 is a strong contender. It provides similar processing power and peripheral support as the XMC4800 but without the integrated networking capabilities, which can be advantageous for applications focusing solely on control tasks without the need for complex network communications.
- MCUs (without integrated motor control)
- RP2040
- Power supply
- Assume we will have 48 volt power to the board
- Communication
- CAN bus
- Other
- Texas Instruments ISO1050DUBR [5]
- Other
- 1 Mbps
- CAN bus
- Sensing
- Programming port
- USB C
Design
References
- ↑ https://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-arm-cortex-m/32-bit-xmc4000-industrial-microcontroller-arm-cortex-m4/xmc4800/
- ↑ https://www.digikey.com/en/products/detail/infineon-technologies/XMC4500F100K1024ACXQSA1/4807912
- ↑ https://www.digikey.com/en/products/detail/nxp-usa-inc/LPC1549JBD64QL/4696352?utm_adgroup=&utm_source=google&utm_medium=cpc&utm_campaign=PMax%20Shopping_Product_Medium%20ROAS%20Categories&utm_term=&utm_content=&utm_id=go_cmp-20223376311_adg-_ad-__dev-c_ext-_prd-_sig-Cj0KCQjw_-GxBhC1ARIsADGgDjuYk7Hf3F-L_hoQ_4E-fPfjELknu3EAmm9IstEnc92wSAbIMEt0UZAaAsneEALw_wcB&gad_source=1&gclid=Cj0KCQjw_-GxBhC1ARIsADGgDjuYk7Hf3F-L_hoQ_4E-fPfjELknu3EAmm9IstEnc92wSAbIMEt0UZAaAsneEALw_wcB
- ↑ https://www.lcsc.com/product-detail/Microcontroller-Units-MCUs-MPUs-SOCs_STMicroelectronics-STM32F405RGT6_C15742.html
- ↑ https://www.lcsc.com/product-detail/Isolated-CAN-Transceivers_Texas-Instruments-ISO1050DUBR_C16428.html
- ↑ https://www.lcsc.com/product-detail/Temperature-Sensors_Maxim-Integrated-DS18B20-T-R_C880672.html
- ↑ https://www.lcsc.com/product-detail/Position-Sensor_Infineon-Technologies-TLE5012B-E3005_C539928.html
- ↑ https://www.lcsc.com/product-detail/Position-Sensor_AMS-AS5047P-ATSM_C962063.html
- ↑ https://www.lcsc.com/product-detail/Current-Sensors_Allegro-MicroSystems-LLC-ACS770LCB-050U-PFF-T_C696104.html