念慈菴

YoungFOC-SimpleFOC verification board (Arduino-based)

 
Overview

####Already launched on Xianyu####
Two products have been launched, namely YoungFOC v1.1 and 2804 brushless motor with integrated AS5600.
 
①YoungFOC V1.1 is the first version of YoungFOC to be launched.
The demonstration video is in the attachment of this open source project. You can check
all the information you can get after purchase, including ①Instructions for use, ②Schematic diagram, ③Routine program, ④Development environment and host computer.
Brushless motor + magnetic encoder + brushless motor driver + master microcontroller + USB-TTL downloader in one, supports Simplefoc Studio host computer parameter adjustment.
Click the link to open directly or use Xianyu to scan the code to view details.
 
(【Xianyu】https://m.tb.cn/h.UEZeOtg?tk=wjRpdnVtEao "I posted [SimpleFOC driver board integrated board simple foc Yo] on Xianyu" Click the link to open directly)
 
 
②SimpleFOC brushless motor, with built-in magnetic encoder AS5600, 2804 brushless motor integrated with AS5600
 
is suitable for various SimpleFOC projects. Brushless motor module with magnetic encoder.
Click the link to open directly or use Xianyu to scan the code to view details.
【Xianyu】https://m.tb.cn/h.UFRm2bI?tk=p0dUdnVHDhy "I posted [SimpleFOC Brushless Motor Magnetic Encoder AS5600 Circuit Board] on Xianyu" Click the link to open directly
####The following is open source content####
1. Introduction to SimpleFOC
      FOC (Field-Oriented-Control) is an advanced brushless motor control solution. For DIY enthusiasts, its entry threshold is high from both software and hardware perspectives. SimpleFOC is an Arduino library that is fully compatible with Arduino. The complete code and documentation are available on github. With SimpleFOC, we can achieve FOC control of brushless motors with only simple hardware circuit connections and Arduino code with good readability.
     The reason why SimpleFOC is described as "Simple" is that, on the one hand, it is a complete library that is easy to get started with; on the other hand, SimpleFOC can not only implement the complete FOC technology, but also "castrate" the FOC technology to make it have lower hardware requirements, simpler circuit design, and simpler code design. SimpleFOC is supporting more "motor + sensor + current detection + driver + microcontroller". I hope more and more people will know and love SimpleFOC.
    After getting in touch with this project, you can learn about SimpleFOC and brushless motor control through many ways. Here I will introduce you to several ways I learned.
    ① This is the Chinese official website of SimpleFOC (the content is comprehensive and detailed):
http://simplefoc.cn/ 
    ② "Deng Ge Open Source" on Station B, the Chinese official website of SimpleFOC is translated by Deng Ge, and he also opened up the driver board he designed and many interesting projects. You can go to Station B and Github to learn about Deng Ge's projects, and the driver board designed by Deng Ge is simple and practical, and can be directly used in Deng Ge's brushless balance car and self-balancing Lello triangle projects. The following is the link to Dengge's B station homepage:
https://space.bilibili.com/493192058
    ③"loop222" in the CSDN community, whether you are using native Arduino, ESP32, or using STM32 for code porting. You can find the answer here at loop222. The link to loop222's CSDN homepage: https://blog.csdn.net/loop222?type=blog
    ④This project mainly refers to the project "FICO-28L——2204 Brushless FOC Driver". This project is very popular on B Station and LiChuang Open Source, and is available on Taobao. You can learn about it through the following link.
https://oshwhub.com/zhang_sai/2204-qu-dong
2. The original intention of this project
      The FOC project that attracted me at the beginning was the gimbal pod type of work. On various open source platforms, there are many open source works related to FOC, each with its own advantages. And the authors have kindly attached various technical documents and various operation steps. I have been paying attention to FOC for a year, but I only browsed and collected videos and articles. People are becoming more and more impetuous, and they always need to calm down and do it carefully. Then do this project according to your own ideas.
     I hope that ① the cost of this project will not be too high. ② The performance does not need to be too good, just enough for elementary learning and research. ③ The hardware should be as simple as possible, and the software operations should be as few as possible, with fewer pitfalls.
     Then let's take a look at V1.0.
3. Project Introduction
3.1 Main Control Chip
      The main control chip uses ATMEGA328P, which is the chip of Arduino Nano. The performance of 8-bit microcontrollers is extremely limited, and the memory is extremely limited. But for one motor, and there is no current loop, it is enough. And ATMEGA328P is a native Arduino chip, and it will not get stuck with some strange BUGs. Although it is now seriously overpriced, I still chose it. (Because I have it on hand). Friends who want to save money can switch to LGT8F328P, but they need to add this chip package in the Arduino compiler.
3.2 Input voltage range
      8-24V. The specific input voltage depends on the brushless motor you are using.
3.3 Download method
      Use the serial port download method most commonly used by Arduino. To download using this method, you need to write the Bootloader boot program in the chip in advance. You can do some research on Baidu. In order to facilitate program download and parameter adjustment, a USB to TTL board based on CH340C is designed separately. The project link is attached below without explanation. Using this small board to connect to the computer, you can easily use Arduino IDE programming and write programs to the board. And you can communicate through the serial port.
https://oshwhub.com/yourallo/usb-ttl_for_youngfoc
3.4 PCB size
      The PCB is a 36mm×36mm rounded rectangle with a distance of 16mm between the two center holes. It is suitable for a variety of motors with a fixing hole of 16mm. If the size of the fixing hole is not suitable, you can just modify the size and distance of the two fixing holes on the board, re-modify a small part of the routing and lay copper, and you can adapt to more types of pan-tilt motors. Currently, two motors, 2804 and 2210, are used
 
.
      Because all the basic hardware supported by Arduino and simpleFOC is used, SimpleFOC studio parameter adjustment is also fully supported. For the configuration, installation and usage suggestions of SimpleFOC studio, please go to CSDN and B station to check it yourself.
The link below is the simpleFOC studio usage tutorial recorded by Dengge.
https://www.bilibili.com/video/BV1864y1B7sP/?spm_id_from=333.337.search-card.all.click&vd_source=71ddddd93c75d53c808210241df47eee
The link below is loop222's related blog post on CSDN
https://blog.csdn.net/loop222/article/details/122647643?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167739547416782425633050%2522%252C%2522s cm%2522%253A%252220140713.130102334..%2522%257D&request_id=167739547416782425633050&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default- 1-122647643-null-null.142^v73^insert_down2,201^v4^add_ask,239^v2^insert_chatgpt&utm_term=simplefoc%20studio&spm=1018.2226.3001.4187
5. Physical picture
 
参考设计图片
×
 
Related Devices
Devices Class introduce Datasheet
FRC0603J103TS SMD resistor Download
DRV8313PWPR Other integrated circuit (IC);The signal circuit Download
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-14 23:31:46

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号