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 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.
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.
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.
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.
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.
> 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.
@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.
Really nice video
Very good! Thank you!
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.
Interesting, I'll admit I'm not familiar with that method
@@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.
Гарна робота! Дякую!!!
Good job! Thanks!!!
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.
Thanks!
Yeah good point, I was keeping it to 10V in my test, but for 12V you're right
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.
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.
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.
> 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.
@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.