Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Non sei obbligato a fare il lavoro che non ti piace.

Uncategorized
3 3 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    High Performance Motor Control With FOC From the Ground UpTesting the FOC-based motor controller. (Credit: Excessive Overkill, YouTube)Vector Control, also known as Field Oriented Control or FOC is an AC motor control scheme that enables fine-grained control over a connected motor, through the precise control of its phases. In a recent video [Excessive Overkill] goes through the basics and then the finer details of how FOC works, as well as how to implement it. These controllers generally uses a proportional integral (PI) loop, capable of measuring and integrating the position of the connected motor, thus allowing for precise adjustments of the applied vector.If this controller looks familiar, it is because we featured it previously in the context of reviving old industrial robotic arms. Whether you are driving the big motors on an industrial robot, or a much smaller permanent magnet AC (PMAC) motor, FOV is very likely the control mechanism that you want to use for the best results. Of note is that most BLDC motors are actually also PMACs with ESC to provide a DC interface.The actual driving is done with two MOSFETs per phase, forming a half-bridge, switching between the two rails to create the requisite PWM signal for each phase. Picking the right type of MOSFET was somewhat hard, especially due to the high switching currents and the high frequency at 25 kHz. The latter was picked to prevent audible noise while driving a robot. Ultimately SiC MOSFETs were picked, specially the GeneSiC G3R30MT12K. Of note here are the four legs, with a fourth Kelvin Source pin added. This is to deal with potential gate drive issues that are explained in the video.With the hardware in place, whether following the [Excessive Overkill] GitHub projects or not, what makes all of it work is the software. This is where the microcontroller aspect is essential, as it has to do all the heavy lifting of calculating the new optimal vector and thus the current levels per phase. In this controller an STM32F413 is used, which generates the PWM signals to drive the half-bridges, while reading the measurements from the motors with its ADC.As can be seen in the resulting use of this controller with old industrial robots, the FOC controller works quite well, with quiet and smooth operation. This performance is why weโ€™re likely to see FOC and PMAC motors used in applications like 3D printers in the future, though the rule of โ€˜good enoughโ€™ makes the cost of an FOC controller still a tough upsell over a simple open loop stepper-based system.youtube.com/embed/ujofKWmGChw?โ€ฆhackaday.com/2025/10/20/high-pโ€ฆ
  • A laser pointer at 2B FPS [video]

    Uncategorized
    1
    0 Votes
    1 Posts
    0 Views
    A laser pointer at 2B FPS [video]Link: https://www.youtube.com/watch?v=o4TdHrMi6doDiscussion: https://news.ycombinator.com/item?id=45632429
  • 0 Votes
    2 Posts
    0 Views
    @Natasha_Jayrortfl!
  • 0 Votes
    24 Posts
    5 Views
    @floreana Idem.๐Ÿ˜… @Yaku