11
BLDC Motor control using FPGA and LABVIEW

BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Embed Size (px)

Citation preview

Page 1: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

BLDC Motor control using FPGA and LABVIEW

Page 2: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Motivation

2/12

Motors – a basic component of our livesFPGA – challenging but extremely flexibleLabVIEW – powerful and intuitive

development platformWii Remote – adds a much-needed fun factor

and freedom of control to the project

Page 3: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

The Hardware Platform

3/12

Hurst BLDC motor

Motor Driver (partial

schematic)

Spartan 3E Starter Kit

Nintendo Wii Remote

Page 4: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

The Software Platform

4/12

LabVIEW 2009 provides a comprehensive development environment allowing access to all the resources necessary in order to implement the present project, either in its standard form or through one of its modules

FPGA ModulePID Module

Page 5: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

The Software Platform

5/12

LabVIEW greatly shortens development time

Page 6: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Full project chain

6/12

The WiiMote communicates with the laptop through Bluetooth

LabVIEW uses a .NET framework DLL in order to initialize the remote and interpret the data received

Page 7: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Full project chain

7/12

LabVIEW FPGA module manages the programming of the FPGA, as well as communication between the host and target VIs through USB

Page 8: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Full project chain

8/12

The FPGA generates a PWM signal to drive the motor

The Hall signals generated on the BLDC side are read by the FPGA, determining correct energizing of driver transistors and motor speed for PID loop adjustments

PID feedback loop is implemented on the FPGA

Page 9: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Interface

Gabriel ZSURZSAN9/12

StraightforwardIntuitiveEasy to use

Page 10: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Some results

10

Page 11: BLDC Motor control using FPGA and LABVIEW. Motivation 2/12 Motors – a basic component of our lives FPGA – challenging but extremely flexible LabVIEW –

Observations & Conclusions

11/12

Hall sensors are really noisyWiiMote accelerometer is very sensitivePID loop manual tuning is difficult and may take

long

WiiMote control is very intuitive, extra visual feedback added by the implemented 3D model

LabVIEW allows for easily interpretable results

PID response follows the setpoint accurately, giving no overshoot but a 10% undershoot