Building a PID Controller with Your Computer

Поділитися
Вставка
  • Опубліковано 28 сер 2024
  • See more videos- bit.ly/aMdhSC
    Build a custom PID controller with a USB data acquisition device and NI LabVIEW.

КОМЕНТАРІ • 44

  • @plain625
    @plain625 12 років тому +5

    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 років тому +2

    Cool..I really liked how the whole process is simplified without having to use dedicated bulky PID hardware modules.

  • @niglobal
    @niglobal  12 років тому +3

    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.

  • @niglobal
    @niglobal  13 років тому +1

    @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!

  • @mahamadkamal3858
    @mahamadkamal3858 12 років тому +1

    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.

  • @panda192012
    @panda192012 9 років тому +4

    This video is great, thank you very much!

  • @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.

  • @Ankona_Vaani
    @Ankona_Vaani 3 роки тому

    I have got what I was looking for and very close idea
    Thanks alot

  • @niglobal
    @niglobal  13 років тому

    @emoneyblue We think so, too! :)

  • @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?

  • @jim150
    @jim150 12 років тому

    Thank you very much!
    I'll try to get that TIP120 transistor

  • @tariqkhwaja4904
    @tariqkhwaja4904 9 років тому +1

    Level!
    Made it look easy.

  • @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.

  • @Fahad-ch3wk
    @Fahad-ch3wk 10 років тому +2

    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 роки тому +1

      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

  • @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.

  • @Gg180789
    @Gg180789 13 років тому

    what did he said he's using to monitor the location of the deflecter??

  • @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!

  • @vipinpachouri4766
    @vipinpachouri4766 6 років тому

    Deos NI myDAQ can also be used for this purpose. Please answer or tell me some alternative.

  • @tusharmeshram8553
    @tusharmeshram8553 5 років тому

    I love this video

  • @Gg180789
    @Gg180789 13 років тому

    @niglobal thanks! :)

  • @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?

  • @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 ...

  • @sasoptimis
    @sasoptimis 12 років тому

    Hi can you please tell me what fan you used? As I want to build this myself.

  • @alpha001ful
    @alpha001ful 13 років тому

    Very Helpful !

  • @krithishsuresh1077
    @krithishsuresh1077 4 роки тому

    can i use a similar program for dc motor speed control using pid?

  • @winingram241
    @winingram241 12 років тому

    Is this a first or second order system?

  • @emoneyblue
    @emoneyblue 13 років тому

    nice!

  • @AI_Kalalu
    @AI_Kalalu 12 років тому

    VERY NICE

  • @tpioneer
    @tpioneer 11 років тому

    what the batteries for?

  • @donglianglu1399
    @donglianglu1399 10 років тому

    sweet

  • @kukunishad
    @kukunishad 11 років тому

    wow !! great !!

  • @ngotrungtruc6254
    @ngotrungtruc6254 6 років тому

    What is the value of dt (s)?

  • @raviprasad5437
    @raviprasad5437 6 років тому

    Great video sir, but

  • @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).

  • @electronyxdevices
    @electronyxdevices 13 років тому

    "The sky is the limit"

  • @iulian91agk
    @iulian91agk 10 років тому

    where can i buy the 6216?

    • @Lun4812
      @Lun4812 10 років тому +2

      at walmart

  • @Jimbojenkins
    @Jimbojenkins 12 років тому +1

    nice 1300 dollar unit!