Тёмный

Building a PID Controller with Your Computer 

niglobal
Подписаться 13 тыс.
Просмотров 210 тыс.
50% 1

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

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!
Далее