ts8568 introduction to ni softmotion

49
1 ni.com | NI CONFIDENTIAL

Upload: wilson-fernando-rodriguez

Post on 13-Apr-2015

61 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: TS8568 Introduction to NI Softmotion

1 ni.com | NI CONFIDENTIAL

Page 2: TS8568 Introduction to NI Softmotion

ni.com | NI CONFIDENTIAL

Introduction to NI SoftMotion Jeff Adair

Michael Johansen

Page 3: TS8568 Introduction to NI Softmotion

3 ni.com | NI CONFIDENTIAL

Motion System Configuration

Position Graph

Position Graph

Page 4: TS8568 Introduction to NI Softmotion

4 ni.com | NI CONFIDENTIAL

Straight Line Move

Page 5: TS8568 Introduction to NI Softmotion

5 ni.com | NI CONFIDENTIAL

Arc and Contouring Moves

Page 6: TS8568 Introduction to NI Softmotion

6 ni.com | NI CONFIDENTIAL

Find Reference

Page 7: TS8568 Introduction to NI Softmotion

7 ni.com | NI CONFIDENTIAL

Gearing and Camming

Page 8: TS8568 Introduction to NI Softmotion

8 ni.com | NI CONFIDENTIAL

Position Capture and Compare

Page 9: TS8568 Introduction to NI Softmotion

9 ni.com | NI CONFIDENTIAL

Motion System Components

Hardware SoftMotion

Engine Extension User Code Interface

Page 10: TS8568 Introduction to NI Softmotion

10 ni.com | NI CONFIDENTIAL

Interface User Code

Path

Planning

Data

Logging

High-Level Commands

• Move

• Gearing

• Camming

• Position Capture

• Position Compare

• Etc.

10 Hz – 1kHz

HMI

Event

Handling User Code Interface

Page 11: TS8568 Introduction to NI Softmotion

11 ni.com | NI CONFIDENTIAL

face

High-Level Commands

• Move

• Gearing

• Camming

• Position Capture

• Position Compare

• Etc.

User Code

Path

Planning

Data

Logging

10 Hz – 1kHz

HMI

Event

Handling

Inter Interface Express VI

Page 12: TS8568 Introduction to NI Softmotion

12 ni.com | NI CONFIDENTIAL

Express VI User Code

Path

Planning

Data

Logging High-Level Commands

• Move

• Gearing

• Camming

• Position Capture

• Position Compare

• Etc

1kHz

HMI

Event

Handling

face Inter

Page 13: TS8568 Introduction to NI Softmotion

13 ni.com | NI CONFIDENTIAL

Express VI User Code

Path

Planning

Data

Logging High-Level Commands

• Move

• Gearing

• Camming

• Position Capture

• Position Compare

• Etc

1kHz

HMI

Event

Handling

face Inter

Page 14: TS8568 Introduction to NI Softmotion

14 ni.com | NI CONFIDENTIAL

Express VI User Code

Path

Planning

Data

Logging High-Level Commands

• Move

• Gearing

• Camming

• Position Capture

• Position Compare

• Etc

1kHz

HMI

Event

Handling

face Inter

Property

& Invoke

Node

Mid - Level Commands

• Start Move

• Set Position

• Set Velocity

• Get Status

• Set Gear Ratio

• Enable Gear

• Etc.

Page 15: TS8568 Introduction to NI Softmotion

15 ni.com | NI CONFIDENTIAL

User Code

Path

Planning

Data

Logging

1kHz

HMI

Event

Handling

face Inter

Property

& Invoke

Node

Mid - Level Commands

• Start Move

• Set Position

• Set Velocity

• Get Status

• Set Gear Ratio

• Enable Gear

• Etc

Page 16: TS8568 Introduction to NI Softmotion

16 ni.com | NI CONFIDENTIAL

Property

& Invoke

Node

Page 17: TS8568 Introduction to NI Softmotion

17 ni.com | NI CONFIDENTIAL

Offline

Trajectory

Page 18: TS8568 Introduction to NI Softmotion

18 ni.com | NI CONFIDENTIAL

Motion System Components

Hardware SoftMotion

Engine Extension User Code Interface

Page 19: TS8568 Introduction to NI Softmotion

19 ni.com | NI CONFIDENTIAL

SoftMotion Engine Extension Interface

Supervisory

Control

Trajectory

Generator

High-Level Commands

• Move

• Gearing

• Camming

• Position Capture

• Position Compare

• Etc.

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Compare Output

• Etc.

100Hz - 1 kHz

SoftMotion

Engine Interface Extension

Page 20: TS8568 Introduction to NI Softmotion

20 ni.com | NI CONFIDENTIAL

Softmotion Engine

• Limit monitoring

• Fault detection

• Gearing / Camming

• Coordinate space management

• Find reference

• Handles configuration data (settings)

• Trajectory Generation

Page 21: TS8568 Introduction to NI Softmotion

21 ni.com | NI CONFIDENTIAL

Motion System Components

Hardware SoftMotion

Engine Extension User Code Interface

Page 22: TS8568 Introduction to NI Softmotion

22 ni.com | NI CONFIDENTIAL

Hardware Extension

Position

Loop

Velocity

Loop

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

20 kHz – 40 Mhz

To Motor

Torque

Loop PWM

I/O

FOC

I/O Signals

• Phase A, B, C

• Encoder A, B, Z

• Etc.

Hardware Extension

Page 23: TS8568 Introduction to NI Softmotion

23 ni.com | NI CONFIDENTIAL

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

Exte

Position

Loop

Velocity

Loop

20 kHz – 40 Mhz

To Motor

Torque

Loop PWM

I/O

FOC

I/O Signals

• Phase A, B, C

• Encoder A, B, Z

• Etc.

nsion Hardware Extension Data

Translation

Page 24: TS8568 Introduction to NI Softmotion

24 ni.com | NI CONFIDENTIAL

Hardware

Position

Loop

Velocity

Loop

20 kHz – 40 Mhz

Torque

Loop PWM

I/O

FOC

NI 9512 Drive Interface Module

P70360 Stepper Drive Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

Exte nsion Data

Translation nsion cRIO-9512 Exte

Page 25: TS8568 Introduction to NI Softmotion

25 ni.com | NI CONFIDENTIAL

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

Exte nsion cRIO-9512

NI 9512 Drive Interface Module

P70360 Stepper Drive

nsion AKD

EtherCAT Exte

AKD EtherCAT Drive

Page 26: TS8568 Introduction to NI Softmotion

26 ni.com | NI CONFIDENTIAL

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

Exte nsion AKD

EtherCAT nsion SolidWorks Exte

AKD EtherCAT Drive

SolidWorks

Simulation

Page 27: TS8568 Introduction to NI Softmotion

27 ni.com | NI CONFIDENTIAL

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

Hardware

Position

Loop

Velocity

Loop

20 kHz – 40 Mhz

Torque

Loop PWM

I/O

FOC

Exte nsion Data

Translation nsion SolidWorks Exte

SolidWorks

Simulation

Page 28: TS8568 Introduction to NI Softmotion

28 ni.com | NI CONFIDENTIAL

Interface To Any Hardware

Page 29: TS8568 Introduction to NI Softmotion

29 ni.com | NI CONFIDENTIAL

20 kHz – 40 Mhz

Low-Level Commands

• Setpoint

• Feedback Position

• Home & Limits

• Drive Enable Output

• Drive Status Input

• Capture Input

• Etc.

Hardware Exte nsion Data

Translation

Position

Loop

Velocity

Loop

Torque

Loop PWM

I/O

FOC Position

Loop

Velocity

Loop

Torque

Loop PWM

I/O

FOC

Exte nsion User

Defined

Page 30: TS8568 Introduction to NI Softmotion

30 ni.com | NI CONFIDENTIAL

NI 9501 Stepper Drive Module

Page 31: TS8568 Introduction to NI Softmotion

31 ni.com | NI CONFIDENTIAL

Step Generation and Feedback

Page 32: TS8568 Introduction to NI Softmotion

32 ni.com | NI CONFIDENTIAL

Limits and General DIO

Page 33: TS8568 Introduction to NI Softmotion

33 ni.com | NI CONFIDENTIAL

3rd Party EtherCAT Servo Drive

Page 34: TS8568 Introduction to NI Softmotion

34 ni.com | NI CONFIDENTIAL

Execution Data Access on RT

Page 35: TS8568 Introduction to NI Softmotion

35 ni.com | NI CONFIDENTIAL

SoftMotion IP Blocks

Page 36: TS8568 Introduction to NI Softmotion

36 ni.com | NI CONFIDENTIAL

Servo Position Loop

Page 37: TS8568 Introduction to NI Softmotion

37 ni.com | NI CONFIDENTIAL

NI 9502 Brushless Servo – Encoder

Page 38: TS8568 Introduction to NI Softmotion

38 ni.com | NI CONFIDENTIAL

Hardware SoftMotion

Engine User Code

LabVIEW

Windows

or

Real-Time

LabVIEW

Real-Time

LabVIEW

FPGA

or

Black Box

Page 39: TS8568 Introduction to NI Softmotion

39 ni.com | NI CONFIDENTIAL

User Code

Engine

Hardware

Motor

Page 40: TS8568 Introduction to NI Softmotion

40 ni.com | NI CONFIDENTIAL

PXIe-8133 RT • User Code

• SoftMotion Engine

Example Setup 1

AKD • EtherCAT Drive

• Position Loop

• Velocity Loop

• Torque Loop

• I/O

• FOC

AKM • Servo Motor

NI 3110RT • User Code

• SoftMotion Engine

EtherCAT

Page 41: TS8568 Introduction to NI Softmotion

41 ni.com | NI CONFIDENTIAL

Example Setup 2

cRIO-9024 • User Code

• SoftMotion Engine

cRIO-9113 • Hardware

• Position Loop

• Velocity Loop

• Current Loop

• PWM

NI 9505 • Hardware

• I/O

Servo Motor NI 9501 • Hardware

• I/O

Stepper Motor

Page 42: TS8568 Introduction to NI Softmotion

42 ni.com | NI CONFIDENTIAL

NI 951x Drive Interface Modules

• NI 9512 Stepper

• NI 9514 Servo

• NI 9516 Servo (Dual encoder feedback)

• RIO Scan Interface support, so you can use these modules directly from the NI LabVIEW Real-Time Module

• Connectivity to 100s of drives

• Full set of motion I/O for home and limit switches, encoder, and DIO.

Page 43: TS8568 Introduction to NI Softmotion

43 ni.com | NI CONFIDENTIAL

NI 950x Drive Modules

• NI 9501 3A Stepper

• NI 9502 Brushless Servo

• NI 9505 Brushed Servo

• Directly power and control motors from cRIO

• Customize control loops and feedback through LabVIEW FPGA

• Hardware defined synchronization with other C series I/O

Page 44: TS8568 Introduction to NI Softmotion

44 ni.com | NI CONFIDENTIAL

Drives and Motors

P7000 Stepper Drives CT Stepper Motors

AKD Brushless Servo Drives AKM Brushless Servo Motors

Page 45: TS8568 Introduction to NI Softmotion

45 ni.com | NI CONFIDENTIAL

Summary

• Flexible and scalable architecture

• Allows NI to rapidly • Improve user experience via the interface

• Support new hardware via extensions

• Allows YOU to • Utilize powerful pre-defined hardware extensions

• Pull back layers and customize based on need

• Select the appropriate platform based on performance and form factor

Page 46: TS8568 Introduction to NI Softmotion

46 ni.com | NI CONFIDENTIAL

Related Sessions

• Tuesday 1:00 – 2:00 pm Rm. 12A

The Art of Motor and Drive Sizing

• Tuesday 2:15– 3:15 pm Rm. 12B

When to Use FPGAs for Custom Motion and Motor Control

• Thursday 10:30 – 11:30 am Rm. 12B

Advanced Motion Control for Machine Automation

• Tuesday 3:30 – 5:30 pm Rm. 18C • Thursday 1:00 – 3:00 pm Rm. 18C

Hands-On: NI-Motion

Page 47: TS8568 Introduction to NI Softmotion

47 ni.com | NI CONFIDENTIAL

Questions

Page 48: TS8568 Introduction to NI Softmotion

48 ni.com | NI CONFIDENTIAL

Page 49: TS8568 Introduction to NI Softmotion

ni.com