Hello, Dave described the circuit in one of the comments below. "The analog output channel is connected to the base input of the transistor. When looking at the transistor with the metal shield in the back, the base input is the pin on the left. (Not all TIP120's are the same) The next post on this transistor is the collector and the last is the emitter. The battery high goes into the collector and the output current comes out the emitter to the fan motor."
Hello, Dave needed a transistor that could provide more current to drive the fan, since the analog output channel on that USB DAQ device can only drive up to 2mA. Using the TIP120 darlington pair transistor, you can increase that to several Amps so it works well for this applications which involves driving a DC motor.
Hello, All the code is available for download at the NI Community. Search for "6211 application code" The "Simple PID" function is used within the "PID Control" application.
@OndKrokus Hello. If you right-click on the block diagram and choose "Select a VI", you should be able to drop the "simple-pid.vi" sub-VI onto the block diagram and wire it up. It's possible you might need a newer version of LabVIEW.
@djbazzsta Hello. It appears that you probably don't have the NI-DAQmx driver software installed. Installing that will install LabVIEW support, and add the DAQmx option in the Measurement I/O pallet. This dosen't require any speacial LabVIEW modules. You can download NI-DAQmx from ni.com.
Hi, nice project, but what kind of sensor you were using and how did u place it?? -any schematic would be helpful- because I'm trying to do the same using an LDR and a red led as a light source but I'm not sure about how to put all together. thanks
@FlexRIO What are the specific Labview Modules in use here? If I go to Measurement I/O in the conventional Labview Student Version, the DAQmx option does not appear even though the USB board is connected.
Hi, could you please list all the specific components used in this video, because i would like to build this myself and i don't want to buy a fan or sensor that isn't suitable. I was also wondering about the fun in particular. I am assuming that the battery power doesn't go directly to the fan motor, it goes through the power transistor first?
hey...how did you wire up the photocell with the voltage divider circuit (the resistor you used and the characteristics of the photocell)? can you give me a quick rundown if you dont mind...
Hey how do you connect Op Amp to the the power supply and motor? Do we need extra resistors (i didn't see in the video)? Can you give me the circuitry ?
Hey there, is there any limitation to this PID program? I calculated P and I parameter values of more than 5 (but output is only between 0-10V). I applied it to my system's approximate model (very close to actual response), and they work ok in MatLab simulation. But when i apply them to this PID program, my system oscillates very badly. is there any factor difference between this program and the regular PID block in Matlab? Hope u can help me out. Thanks!
@sheerazdarkshadows Hello. 6211 application code is still up, so I'm not sure why it's not loading for you. Have you tried again recently? The link in the description section of this video seems to work fine.
Hi Dave, i was just wondering if there is code for this PID controller compatable with Labview version 8.5 because i followed the link above for the code and could not open it because i only have version 8.5. regards.
@FlexRIO i Cannot access 6211 application code. When I click on it, the page says 'Unable to load the web page because the server sent no data'. Have you deleted this code now?
I can't add the VI to my project, does anyone else have this problem? I right-click, choose "Select a VI" and select "simple-pid.vi" and nothing happens, not even an error..
unbelievable ,, you did it in 9 mins and i am learning this thing data acquisition from past 1 month
Hello,
Dave described the circuit in one of the comments below. "The analog output channel is connected to the base input of the transistor. When looking at the transistor with the metal shield in the back, the base input is the pin on the left. (Not all TIP120's are the same) The next post on this transistor is the collector and the last is the emitter. The battery high goes into the collector and the output current comes out the emitter to the fan motor."
Hello,
Dave needed a transistor that could provide more current to drive the fan, since the analog output channel on that USB DAQ device can only drive up to 2mA. Using the TIP120 darlington pair transistor, you can increase that to several Amps so it works well for this applications which involves driving a DC motor.
Hello,
All the code is available for download at the NI Community.
Search for "6211 application code"
The "Simple PID" function is used within the "PID Control" application.
@OndKrokus Hello. If you right-click on the block diagram and choose "Select a VI", you should be able to drop the "simple-pid.vi" sub-VI onto the block diagram and wire it up. It's possible you might need a newer version of LabVIEW.
If you could share the simple PID vi it would be great! The link is not working any more....
great tutorial!
@Celhucireth forget it, i got it, its in the video, i did not hear it because i did not see it from the beginning
Thank you!
@djbazzsta Hello. It appears that you probably don't have the NI-DAQmx driver software installed. Installing that will install LabVIEW support, and add the DAQmx option in the Measurement I/O pallet. This dosen't require any speacial LabVIEW modules. You can download NI-DAQmx from ni.com.
Nice work..
Hi, nice project, but what kind of sensor you were using and how did u place it?? -any schematic would be helpful- because I'm trying to do the same using an LDR and a red led as a light source but I'm not sure about how to put all together. thanks
@FlexRIO What are the specific Labview Modules in use here?
If I go to Measurement I/O in the conventional Labview Student Version,
the DAQmx option does not appear even though the USB board is
connected.
is it possible to do pid controlling in labview 7 version? in which version it is applicable
Hi, could you please list all the specific components used in this video, because i would like to build this myself and i don't want to buy a fan or sensor that isn't suitable.
I was also wondering about the fun in particular. I am assuming that the battery power doesn't go directly to the fan motor, it goes through the power transistor first?
hey...how did you wire up the photocell with the voltage divider circuit (the resistor you used and the characteristics of the photocell)? can you give me a quick rundown if you dont mind...
Hello. Dave used a TIP120 darling pair transistor.
Hey how do you connect Op Amp to the the power supply and motor? Do we need extra resistors (i didn't see in the video)? Can you give me the circuitry ?
How does the PID VI know the sample rate?
Also where was the photocell exactly placed on the deflector?
awsome video man!! :D
nice video
Hey there, is there any limitation to this PID program? I calculated P and I parameter values of more than 5 (but output is only between 0-10V). I applied it to my system's approximate model (very close to actual response), and they work ok in MatLab simulation. But when i apply them to this PID program, my system oscillates very badly.
is there any factor difference between this program and the regular PID block in Matlab? Hope u can help me out. Thanks!
Hi, where do u get the simple version of the PID module that you use?
how did you choose the transistor type? (I mean the transistor's parameters)
cool!
hey man, what kind of transistor are you using?
Is it possible to show a rough circuit schematic ??
do you have the connection circuit of the protoboard?
nice vid.
how to do ramping?
say 4.35 to 4.5 @ 0.1/second
thanks
hi,
may i know what version of labview did you used in the experiment?
@sheerazdarkshadows Hello. 6211 application code is still up, so I'm not sure why it's not loading for you. Have you tried again recently? The link in the description section of this video seems to work fine.
Hi Dave,
i was just wondering if there is code for this PID controller compatable with Labview version 8.5 because i followed the link above for the code and could not open it because i only have version 8.5. regards.
If you could share the simple PID vi it would be great!
check the description :)
DeDon Capogee
oops! sorry!
What power transistor is used?
man, can you tell me what kind of transistor are you using? i need a code. thanks :)
@FlexRIO i Cannot access 6211 application code. When I click on it, the page says 'Unable to load the web page because the server sent no data'. Have you deleted this code now?
what is the transfer function of the system?
I can't add the VI to my project, does anyone else have this problem? I right-click, choose "Select a VI" and select "simple-pid.vi" and nothing happens, not even an error..
Is this first or second order?
hello, simple pid where I can download or get??
thanks thanks thanks :)
Excuse me wich USB Data Acquisition Hardware are you using?
why i cant download the code? :S
Can you implement this PID controller using NI USB-6008?