GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • SimpleFOC Boards
  • SimpleFOCShield
  • Getting Started
  • Soldering pads
  • Soldering Pads v1.x
  • Soldering Pads v2.x
  • Soldering Pads v3.x
  • Connecting the hardware
  • Writing the code
  • Board Fabrication
  • Shield v1.x
  • Shield v2.x
  • Shield v3.x

This view

  • Original page
  • New address

GeezerVison is showing docs.simplefoc.com — Getting Started Guide

SimpleFOCDocs
  • Home
  • GitHub
  • Discord
  • Community
  • Shop
  • Contact
★ Loading...
Helpful?

How can we improve this page?

✓ Thank you! Your feedback helps improve SimpleFOC docs.
On this page
  • Getting Started Guides
    • Before You Start
    • Foundation Steps (All Users)
      • 1. Test Your Sensor
      • 2. Test Your Driver
      • 3. Motor + Driver Test (Open-Loop)
      • 4. Closed-Loop Control (Voltage-Based Torque)
    • Advanced Steps (Optional)
      • A. Estimated Current Control (No Current Sensing)
      • B. FOC Current Control (With Sensors)
    • Full Reference Documentation

Getting Started Guides

Here is an attempt to guide you through testing and configuring your motor control system step-by-step. It is designed to be practical and fast - you should be able to get a working motor control system in around an hour by following these steps. Each step is self-contained and testable, guiding you through the configuration, expected behavior, and troubleshooting. And if you want to go further, there are clear next steps based on your hardware setup.

Before You Start

  • You have installed SimpleFOC
  • You are familiar with the library structure
  • You have the necessary hardware

Foundation Steps (All Users)

Follow these 4 guides in order. Each takes 10-15 minutes and builds on the previous one:

1. Test Your Sensor

~10 min - Validate that your position sensor is working
➜ Output angle and velocity values in serial monitor

2. Test Your Driver

~10 min - Verify motor driver can output PWM signals
➜ See “Driver ready!” message, no motors spinning yet

3. Motor + Driver Test (Open-Loop)

~15 min - Test motor and driver together
➜ Motor spins, you discover correct pole pair count

4. Closed-Loop Control (Voltage-Based Torque)

~15 min - First closed-loop FOC using sensor feedback
➜ Closed loop torque control working, motor follows torque/velocity/angle targets

For many users the foundation steps are all you need to get a working motor control system. Voltage mode is not the most efficient or precise control method, but it is simple and works with most motors.

Read more about voltage-based torque control Read more about motion control

Advanced Steps (Optional)

If you want to go further and use more advanced current-based torque control, follow the next steps based on your hardware.

A. Estimated Current Control (No Current Sensing)

Benefits:

  • True torque control without current sensors
  • Higher speeds and higher torques than voltage mode
  • Good for budget builds or simple applications

Requirements:

  • No current sensing hardware required
  • Motor parameters (resistance, inductance, flux) must be measured or estimated

Read more about estimated current control

B. FOC Current Control (With Sensors)

Benefits:

  • Most precise torque control available in SimpleFOClibrary
  • Hardware current feedback
  • No model parameter needed

Requirements:

  • Current sensing hardware (inline or lowside)

Read more about FOC torque control

Full Reference Documentation

Once you’re done with this getting started guide, see:

  • Library Code Structure & API - Complete reference
  • Position Sensors - Detailed sensor configuration
  • Motor Drivers - All supported drivers
  • Motion Control - Control modes explained
  • Torque Control - Voltage and current control details
  • Current Sensing - Current feedback options


Table of contents

  • Test Your Sensor
  • Test Your Driver
  • Open-Loop (Motor + Driver)
  • Closing the Loop Test
  • Estimated Current Control
  • FOC Current Control

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.