Building a PID Controller with Your Computer

  Рет қаралды 209,675

niglobal

niglobal

Күн бұрын

See more videos- bit.ly/aMdhSC
Build a custom PID controller with a USB data acquisition device and NI LabVIEW.

Пікірлер: 44
@plain625
@plain625 12 жыл бұрын
niglobal, I don`t know how much you are paying Vineet but he needs a raise. Very professional, clear, and informative!
@RK-de2yo
@RK-de2yo 6 жыл бұрын
Cool..I really liked how the whole process is simplified without having to use dedicated bulky PID hardware modules.
@niglobal
@niglobal 12 жыл бұрын
Hello, In this demo, we needed a transistor that could provide more current to drive the fan, since the analog output channel on this 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.
@niglobal
@niglobal 13 жыл бұрын
@Gg180789 Vineet is using a Hall Effect Sensor. This is a come transducer that measures a magnetic field. As the deflector moves, the magnet attached to the bottom moves through the magnetic field produced by the Hall Effect Sensor and the sensor varies its voltage output proportionally. From this you can determine how far away an magnet is from the Hall Effect Sensor just by monitoring the output voltage.
@panda192012
@panda192012 9 жыл бұрын
This video is great, thank you very much!
@Ankona_Vaani
@Ankona_Vaani 3 жыл бұрын
I have got what I was looking for and very close idea Thanks alot
@mahamadkamal3858
@mahamadkamal3858 12 жыл бұрын
Amazing I think i will go with the cheap $150 NI 6008 12 bit only but will do the trick,i it's a perfect DAQ module for education purposes. I think it can also be done with an arduino usb module coz it has integrated ADC, but the trick is you have to do coding with c++ the cost in this case will be around $ 40.
@niglobal
@niglobal 13 жыл бұрын
@alpha001ful You can buy a Hall Effect sensor from a lot of vendors. I suggest Googling it to find a vendor if your area and price range. What NI card you need is dependent on which Hall Effect sensor you get. Each sensor has different current or voltage ranges that would determine which card could work and which one would be cheapest. Once you have your sensor, please call our sales team (ni dot com slash global) and they can advise on the best card for your application. Cheers!
@niglobal
@niglobal 12 жыл бұрын
Hello, 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, so be sure to check the documentation) The next pin on this particular 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. I hope this is helpful.
@tariqkhwaja4904
@tariqkhwaja4904 9 жыл бұрын
Level! Made it look easy.
@jim150
@jim150 12 жыл бұрын
Thank you very much! I'll try to get that TIP120 transistor
@niglobal
@niglobal 13 жыл бұрын
@emoneyblue We think so, too! :)
@Gg180789
@Gg180789 13 жыл бұрын
@niglobal thanks! :)
@tusharmeshram8553
@tusharmeshram8553 5 жыл бұрын
I love this video
@alpha001ful
@alpha001ful 13 жыл бұрын
Very Helpful !
@AI_Kalalu
@AI_Kalalu 12 жыл бұрын
VERY NICE
@emoneyblue
@emoneyblue 13 жыл бұрын
nice!
@klaytonmoore5920
@klaytonmoore5920 4 жыл бұрын
In your waveform graph the data records in real time which allows you to see the graph change. When I try to use a waveform chart or graph, the data just flies by and you can't see any of the actual changes, they just appear as flat lines. How do I change this?
@avasud
@avasud 10 жыл бұрын
Great tutorial! I have a question about using PID gain scheduling in FPGA - can it be used even if I dont know the plant model? I am using cRIO 9022.
@kukunishad
@kukunishad 11 жыл бұрын
wow !! great !!
@Gg180789
@Gg180789 13 жыл бұрын
what did he said he's using to monitor the location of the deflecter??
@jim150
@jim150 12 жыл бұрын
Great! I want to build that device, but I don't understand the way he controls the motor speed. He outputs 5V, but fan is 3V. What's in between? Are there any schematics? Any help is appreciated
@sasoptimis
@sasoptimis 12 жыл бұрын
Also could you tell me what make of displacement sensor did you use? Although I am decent at programming in general I dont have much practise in communicating with equipment and I want to make sure I get something that is compatible with national instruments data gathering devices.
@Fahad-ch3wk
@Fahad-ch3wk 10 жыл бұрын
Hi Vaneet, It was a very good tutorial.Can you please tell how can we get the values of the PID controller that you wrote in labview.I am making a Burner Management System so I want to control the temperature of the boiler using a stepper motor connected to butterfly valve which will control the flow of fuel gas.Its very much similar to your project.The difference is just that you are using fan to control something but I am using stepper motor.
@niglobal
@niglobal 10 жыл бұрын
The engineers in our forums should be able to answer this. Try posting your question at forums.ni.com and someone will get back to you shortly! Make sure to include a link to this video for context.
@AshutoshSingh-to9vx
@AshutoshSingh-to9vx 2 жыл бұрын
he said in the video -- Trial and error.. Or you could model your plant as a transfer function in MATLAB and apply trial and error in software, as opposed to long real experiments. Since this was 8 years age, Im sure you probably already have an answer now
@vipinpachouri4766
@vipinpachouri4766 6 жыл бұрын
Deos NI myDAQ can also be used for this purpose. Please answer or tell me some alternative.
@IngVasiu
@IngVasiu 12 жыл бұрын
I'm building something like this... but i don't know what transistor type do i use? In other words, how to choose the transistor please?
@donglianglu1399
@donglianglu1399 10 жыл бұрын
sweet
@codewarrior7072
@codewarrior7072 5 жыл бұрын
Hello - I have LABView 2015 and 2018 and I do not see the control and simulation options to bring up PID Vi. How do I get the PID options? Thank you!
@alpha001ful
@alpha001ful 13 жыл бұрын
Where can we buy Hall effect sensor ? what type? what kind of Daq card we need ? Will the cheap one ($150) works or we need 6211($800) ?i need help ...
@krithishsuresh1077
@krithishsuresh1077 4 жыл бұрын
can i use a similar program for dc motor speed control using pid?
@sasoptimis
@sasoptimis 12 жыл бұрын
Hi can you please tell me what fan you used? As I want to build this myself.
@winingram241
@winingram241 12 жыл бұрын
Is this a first or second order system?
@raviprasad5437
@raviprasad5437 6 жыл бұрын
Great video sir, but
@tpioneer
@tpioneer 11 жыл бұрын
what the batteries for?
@ngotrungtruc6254
@ngotrungtruc6254 6 жыл бұрын
What is the value of dt (s)?
@brijesh0808
@brijesh0808 7 жыл бұрын
Which sensor at 0:49 ?
@samyak11111
@samyak11111 7 жыл бұрын
hall effect sensor, it senses the magnetic flux density(which here is related to the distance of the magnet and hall sensor).
@iulian91agk
@iulian91agk 10 жыл бұрын
where can i buy the 6216?
@Lun4812
@Lun4812 10 жыл бұрын
at walmart
@electronyxdevices
@electronyxdevices 13 жыл бұрын
"The sky is the limit"
@Jimbojenkins
@Jimbojenkins 12 жыл бұрын
nice 1300 dollar unit!
PID Controller Explained
9:25
RealPars
Рет қаралды 824 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
What does Satoru Gojo have? #cosplay#joker#Harley Quinn
00:10
佐助与鸣人
Рет қаралды 7 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 68 МЛН
NI-DAQmx multi-channel data acquisition LabVIEW program
29:49
Zachary Neale
Рет қаралды 136 М.
Using Loops in LabVIEW
4:09
NI Apps
Рет қаралды 287 М.
How PID Control Works - A Basic PID Introduction
14:13
Instrumentation & Control
Рет қаралды 30 М.
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 76 М.
Taking a Measurement with Your Computer
4:56
niglobal
Рет қаралды 150 М.
Logging Data with a USB Data Acquisition Device
3:41
niglobal
Рет қаралды 119 М.
PID Control Basics in 10 Minutes
14:21
This is Automation
Рет қаралды 45 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 208 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 742 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00