Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

what is the simplest NI program to run a DC motor?

is it PID motor control is the simplest?i only want to run the motor using labview

0 Kudos
Message 1 of 13
(7,549 Views)

Good day and hello everybody, i am student of technology university in malaysia,  My project  focuses on the development of microbioreactor technology and we (our team) have been trying to establish a suitable magnetic stirrer apparatus for mixing in microbioreactor. In this respect, the PID motor control setup proposed by National Instruments (https://decibel.ni.com/content/docs/DOC-16983) fits nicely into the goal of my project. I have bought all the necessary components and purchased an Academic LabVIEW (NI) software for the work. I am currently using NI USB-6343 as my data acquisition card and I am having difficulty in completely understanding the connections diagram of the PID motor control proposed by your team. May I ask for some assistants. I need to clarify and need to learn how to link/connect the half effect switch and the DC motor to my DAQ (i.e. NI USB 6343). What should be connected to the Digital input and what should connected to the analog output. I am having trouble since I am still new in this area (in learning process) and got confused due to a different DAQ used for the PID motor control setup. 

Thank you very much for your assistant and hope to receive positive respond

Best regards,

0 Kudos
Message 2 of 13
(7,521 Views)

That app note from NI is very misleading.  There are very few motors that you can drive directly from an analog output.  Your USB DAQ is only rated for 5mA, which I doubt will turn a stirrer motor.  Please give us a list of all the hardware you have(include model and manufacturer).

0 Kudos
Message 3 of 13
(7,516 Views)

The analog output connects to the base of the transistor. The transistor acts as an amplifier to provide enough current to drive the motor.

 

The hall effect sensor connects to a digital input to monitor speed.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 13
(7,511 Views)

That's what I get for responding to this at a time when I am usually asleep!

0 Kudos
Message 5 of 13
(7,508 Views)

OT:

 

Aha! Brian- that is you (Highland Controls). I knew you worked there, I always figured that was a co-worker of yours.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 6 of 13
(7,503 Views)

I failed to check how I was logged in before I did the reply.  Brian Beal=Highland Controls

0 Kudos
Message 7 of 13
(7,501 Views)

 

 

 

thank you so much for your response, below is the component I have purchased.

 

Item

manufacturer/supplier

specification

DC Motor

 (SPG10-30K))

http://www.cytron.com.my/viewProduct.php?pid=NQctPS0AAR8INhkoIxo1M2GLiyAMHwVb7uywsacwY14=

Transistor

 (TIP 120)

http://my.mouser.com/Search/ProductDetail.aspx?qs=ljbEvF4DwOPl3O93r6IAPg%3D%3D

Hall effect sensor

RS technology

http://malaysia.rs-online.com/web/p/products/6807494/?searchTerm=6807494&relevancydata=636F3D3126696...

Resistor

 

1 k ohm

Battery

 

9v

0 Kudos
Message 8 of 13
(7,495 Views)

Your motor operates on 6VDC, so you may want to choose a 6V battery.

 

Also, put a reverse biased diode (ie 1N4001) across the terminals of the motor to snub any high voltage inductive spikes that may damage the transistor or DAQ card.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 9 of 13
(7,484 Views)

OK thanks, but what is the simplest labview program needed to run and control this DC motor?PID or openclosed loop program

0 Kudos
Message 10 of 13
(7,478 Views)