You are here

Servo Motor Speed Control | Cypress Semiconductor

Block Diagram

The servo motor solution adopting the FOC algorithm is based on the Cypress Cortex-M4 microcontroller, aiming at controlling the speed of servo motors. In this solution, the motor speed and position are monitored by incremental encoder signals. Meanwhile, this solution features high-speed control precision and fast speed change response. Moreover, it provides high-compatibility for driving servo motors used in different areas, such as sew machine, machine tool, etc.

 
 

System Block Diagram

The whole diagram of FOC control with encoder is shown as follows. The inner loop is for current control and the outer loop is for speed control. Encoder observer is for observing motor speed and position.

Block Diagram

 

Firmware Structure

The firmware structure of the servo motor control solution consists of five layers, as shown in the following figure. "Global layer" is common macro definition; “Driver layer” is MCU peripheral driver library; "Module layer" and "App layer" are the motor control algorithms; Users could debug and configure a new servo motor in "User layer".

Block Diagram

 

Solution Features

  • Maximum working frequency: 160MHz
  • Wide speed range: 0rpm ~ 5000rpm
  • Rapid speed acceleration from 0rpm to 3500rpm within 150ms
  • Rapid speed deceleration from 3500rpm to 0rpm within 200ms
  • Bi-directional rotating
  • The steady-state speed control accuracy is 1% at 3500rpm
 

Design Considerations

The servo motor solution adopting the FOC algorithm is based on the Spansion Cortex-M4 microcontroller, aiming at controlling the speed of servo motors. In this solution, the motor speed and position are monitored by incremental encoder signals. Meanwhile, this solution features high-speed control precision and fast speed change response. Moreover, it provides high-compatibility for driving servo motors used in different areas, such as sew machine, machine tool, etc.

Application Notes

Product

Recommended MPNs:

For Main Control: FM4 MB9BFx6xM/N/R Series

Related Documents:

Title Version Date Size Download File
Software Download
Servo Motor Speed Control Firmware 2.0 2015-11-30 3.3 MB
User Manual
PMSM Servo Motor Speed Control User Manual 1.0 2015-09-15 1.5 MB
Application Note
PMSM Servo Motor Speed Control on FM4 MCU 1.0 2015-09-15 1.2 MB