Making a Closed Loop Digital Controller for a Boost Converter with Arduino

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 13

  • @L2.Lagrange
    @L2.Lagrange 19 часов назад +1

    Really nice video

  • @ЕвгенийШепард-р2х
    @ЕвгенийШепард-р2х 6 часов назад

    Very good! Thank you!

  • @ivolol
    @ivolol 14 часов назад

    Would have been also cool to see a couple tries with Ziegler-Nichols tuning by finding the P oscillating frequency, and see how they match up to your 'manually' found constants.
    Overall using the frequency domain modelling goes a bit over my head having not done that sort of course content formally yet, but cool to see it work anyway. Overall I find 'developing' the PID algorithm from basic principles in discretized time steps to be a simple thought process anyway. There's error, then you must add a linear term of it, a derivative of it in time steps, and a summation of it in time steps, and that outputs your resulting correction value.

    • @5VLogic
      @5VLogic  10 часов назад

      Interesting, I'll admit I'm not familiar with that method

    • @ivolol
      @ivolol 10 часов назад

      @@5VLogic Sounds like it wouldn't be too hard to implement with your setup. Increase kP from 0 until you find the point where a step response starts to give a solid oscillation, then you can practically just copy out the formulas in the tables for various p/i/d ratios that generally tend to work.

  • @Smit7ua
    @Smit7ua 15 часов назад

    Гарна робота! Дякую!!!
    Good job! Thanks!!!

  • @joejane9977
    @joejane9977 17 часов назад

    great video
    the value of R2 is 10k is needs to be 20k as the divider of r1 r2 at 12V is 6V this is to high.
    if r2 is 20k then at12v output is only 4v for the feedback pin A7.

    • @5VLogic
      @5VLogic  16 часов назад

      Thanks!
      Yeah good point, I was keeping it to 10V in my test, but for 12V you're right

  • @zentechnician
    @zentechnician 19 часов назад

    TIL microfarad is mf instead of uf. I've been doing it wrong all these years.
    That's an oddly specific circuit for a 12v incandescent bulb you have there. Throw a tl431 in the mix. It's a shunt regulator, a zener with a reference voltage. Usually you would use a tl494 and an optocoupler instead of an expensive Arduino but then you don't get to learn the Arduino stuff.
    I'm still watching the video, I just paused on the diagram to see what we are up to at the start of the video at least. These things often tend to go a whole other direction by the end. That is the nature of electronics though. Always so many ways to to do the same thing.

    • @zentechnician
      @zentechnician 19 часов назад

      We don't ever show out math...ever. Any explanation of the math is too long no matter how short, I was snoring by the second slide. Don't do that to people.
      The coding people will deal with because it shows the logic behind what you are doing. Math formulas are death, that an instant tune out for all but s very slim slice of people that are probably too busy doing something constructive to watch RUclips.
      Just saying.

    • @LordPhobos6502
      @LordPhobos6502 15 часов назад

      mF would be millifarad (1/1,000 farad) ; µF is microfarad (1/1,000,000 farad). Most people just type uF instead of µF as u is on a standard keyboard.
      If you want the proper µ character, it can be typed with alt+0181.

    • @ivolol
      @ivolol 14 часов назад

      > Throw a tl431 in the mix. It's a shunt regulator, a zener with a reference voltage.
      The purpose of the video is demonstrating closed - loop control using digital control and feedback, implemented in a "toy" system. Not simply to design a bog standard 12V boost circuit using off-the-shelf analogue components, which is what you'd do if the purpose of the system wasn't 100% education and discovery.
      mF is millifarad, uF is microfarad.

    • @zentechnician
      @zentechnician 13 часов назад

      @LordPhobos6502 My point was that no one uses that unit of measure. Use what is written on the capacitor. Does your capacitor say 1mf on it? Or are we starting a movement here to get everyone on the metric system? I remember the first time they did that and you would think you were trying to get people to eat worms. They were apparently far too busy making up jingles involving Jimmy Carter and the Oscar Meyer Weiner song to do something that would make everyone's life easier.