• Menu
  • Product
  • Email
  • PDF
  • Order now
  • FSI Bandwidth-Optimization for Multi-axis Servo Control

    • SNOAA89 December   2022 AM2431 , AM2432 , AM2434

       

  • CONTENTS
  • SEARCH
  • FSI Bandwidth-Optimization for Multi-axis Servo Control
  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Implementation
    1. 2.1 FSI TX module
    2. 2.2 FSI RX Module
    3. 2.3 Verification
  5. 3Summary
  6. 4References
  7. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

FSI Bandwidth-Optimization for Multi-axis Servo Control

Abstract

TI Sitara™ microcontrollers offer two types of Programmable Real-time Unit (PRU) subsystems: PRU-Industrial Communication Subsystem (PRU-ICSS) and PRU-Industrial Communication Subsystem - Gigabit (PRU_ICSSG). PRU-ICSS is available for the AM335x, AM437x, AM57x series and K2G devices. PRU_ICSSG is available on AM243x, AM65x, and AM64x, and can be independently programmed to achieve some custom requirements with high real-time requirements to achieve product differentiation.

In industrial applications, multiple devices are often required to communicate with each other in a fast, low-latency, and synchronized manner. For example, this requirement exists in the multi-axis servo control system architecture. The Fast Serial Interface (FSI) is a new communication peripheral created for TI's real-time control microcontrollers (MCUs) to extend the reliable high-speed communication capabilities to multiple devices in a system. This application report describes how to use PRU to increase FSI communication bandwidth, provides test performance based on FSI high-speed communication in different configurations and modes, and applies these concepts in a multi-axis servo control system.

Trademarks

Sitara™ and LaunchPad™ are trademarks of Texas Instruments.

Arm® is a registered trademark of Arm Limited.

All trademarks are the property of their respective owners.

1 Introduction

FSI bus topology is often used in multi-axis servo applications.

The key requirement for FSI handler is the Low Latency for the communication cycle. Motor drive applications normally use a 20-kHz cycle time and a maximum of eight axes.

Figure 1-1 shows the FSI bus connection schematic diagram.

GUID-20221129-SS0I-HKK9-QWB6-BRR5WQLBTMSP-low.jpg Figure 1-1 FSI Bus Connection Schematic Diagram

In terms of the amount of data sent and received by the FSI bus, the host device exchanges data with N target nodes in sequence according to the communication cycle. The Sitara AM243x is selected for the host device. For typical applications, the controller node sends 32 bytes and the device nodes reply with 32 bytes in one communication cycle. Considering the maximum of eight axes, the controller node needs to send 8 × 32 bytes through the FSI bus, and receive 8 × 32bytes of response data from the device nodes.

The known design challenges include the following:

  • FSI module is not supported by AM243x DMA transfers
  • Internal FSI benchmark to transmit 16-bit data (TX 32 bytes + RX 32 bytes) takes about 8.2µs without a data transfer
  • Maximum of eight axes can require > 65.6µs to communicate in sequence which does not fulfill the requirements (maximum 50µs, 20 kHz)

Use PRU_ICSSG as the FSI handler (< 5µs with data transfer per axis) for communication to achieve low latency on the FSI data transfer and mapping of FSI data to multiple Arm® cores.

Figure 1-2 shows the communication path and latency estimation.

GUID-20221129-SS0I-RGFJ-L7XK-RRGJMMBQH6BR-low.jpg Figure 1-2 Communication Path and Latency Estimation

To reduce the overhead of manual data filtering of device nodes, the Frame Tag 4-bits that comes with the FSI bus is used to distinguish eight device nodes. The host device modifies the frame tags in turns in each communication cycle to achieve automatic filtering of the device axis data. Figure 1-3 shows the frame format.

GUID-20221129-SS0I-5HPW-N3NV-2FCF4RWZJLRK-low.jpg Figure 1-3 Frame Format of FSI

To realize FSI bandwidth optimization, design a mechanism for FSI data transfer using the ICSSG module with multiple channels as shown in Figure 1-4.

GUID-20221129-SS0I-HZGW-VRBG-5BCFLFP1JQPS-low.jpg Figure 1-4 FSI Optimization Using Multiple Channels and PRU

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale