The PCB size of this project is just right to fit the 4010 and 4008 gimbal motors sold on Taobao. You can also change the PCB size to accommodate more brushless motors according to your needs.
Voltage-based speed loop and angle loop control are now implemented.
I used automatic routing for PCB routing, and only thickened the power supply routing, so the routing would appear messy and unreasonable. But it does not affect normal use, and you can also wire it yourself as needed.
The transplant document written by the big guy that this project refers to: SimpleFOC (7) - Application of STM32 (Bluepill)_loop222's blog-CSDN blog_bluepill
The board only provides serial port downloading. Each time you download a program, you need to toggle the switch to pull BOOT0 high and then press the reset button. After the download is completed, BOOT0 needs to be pulled low to run the program normally.
The cost of a set should be between 20 and 30 yuan (if all common components are available)
The pid parameters of the speed loop and angle loop can be modified in the software program
The maximum voltage value in the main program must not be set too high, preferably below 5, otherwise the motor may burn (directly -50)
The picture below shows the brushless motor of the gimbal suitable for this project (available on Taobao)
The back of the board is as shown below, mainly the 12-3.3 LDO buck chip and the magnetic encoder as5600
Below is the overall picture, the copper pillars are M2*6+4
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet