DSPRelated.com
Forums

New Video: Implementing the PID Controller in Software

Started by Tim Wescott September 7, 2016
Enjoy:

https://www.youtube.com/watch?v=JVqJ7uRGwoA



-- 
Tim Wescott
Control systems, embedded software and circuit design
I'm looking for work!  See my website if you're interested
http://www.wescottdesign.com
On Thursday, September 8, 2016 at 2:14:27 PM UTC+12, Tim Wescott wrote:
> Enjoy: > > https://www.youtube.com/watch?v=JVqJ7uRGwoA > > > > -- > Tim Wescott > Control systems, embedded software and circuit design > I'm looking for work! See my website if you're interested > http://www.wescottdesign.com
are you using pure differentiation or a filter on it?
On Sun, 11 Sep 2016 14:11:00 -0700, gyansorova wrote:

> On Thursday, September 8, 2016 at 2:14:27 PM UTC+12, Tim Wescott wrote: >> Enjoy: >> >> https://www.youtube.com/watch?v=JVqJ7uRGwoA >> >> >> >> -- >> Tim Wescott Control systems, embedded software and circuit design I'm >> looking for work! See my website if you're interested >> http://www.wescottdesign.com > > are you using pure differentiation or a filter on it?
Watch the video! I present both, and leave it as an exercise to the reader to decide which is more appropriate. Since the series is still at the level of seat-of-the-pants handwaving, there really isn't a satisfactory explanation I can give as to WHEN you need to use a bandlimited differentiator vs. when you can get away with an unfiltered one. Once I present some theory I'll return to the PID controller and give it a proper theoretical treatment, as well as showing that one doesn't always automatically want _just_ a PID controller, or even a controller that use all three elements. -- Tim Wescott Control systems, embedded software and circuit design I'm looking for work! See my website if you're interested http://www.wescottdesign.com
On Monday, September 12, 2016 at 1:18:26 PM UTC+12, Tim Wescott wrote:
> On Sun, 11 Sep 2016 14:11:00 -0700, gyansorova wrote: > > > On Thursday, September 8, 2016 at 2:14:27 PM UTC+12, Tim Wescott wrote: > >> Enjoy: > >> > >> https://www.youtube.com/watch?v=JVqJ7uRGwoA > >> > >> > >> > >> -- > >> Tim Wescott Control systems, embedded software and circuit design I'm > >> looking for work! See my website if you're interested > >> http://www.wescottdesign.com > > > > are you using pure differentiation or a filter on it? > > Watch the video! I present both, and leave it as an exercise to the > reader to decide which is more appropriate. > > Since the series is still at the level of seat-of-the-pants handwaving, > there really isn't a satisfactory explanation I can give as to WHEN you > need to use a bandlimited differentiator vs. when you can get away with > an unfiltered one. Once I present some theory I'll return to the PID > controller and give it a proper theoretical treatment, as well as showing > that one doesn't always automatically want _just_ a PID controller, or > even a controller that use all three elements. > > -- > Tim Wescott > Control systems, embedded software and circuit design > I'm looking for work! See my website if you're interested > http://www.wescottdesign.com
If you are heading for maximum bandwidth in an electr mech system though you will need a filter else it will shake itself to death! Many control systems work well below par of course.
On Mon, 12 Sep 2016 15:53:58 -0700, gyansorova wrote:

> On Monday, September 12, 2016 at 1:18:26 PM UTC+12, Tim Wescott wrote: >> On Sun, 11 Sep 2016 14:11:00 -0700, gyansorova wrote: >> >> > On Thursday, September 8, 2016 at 2:14:27 PM UTC+12, Tim Wescott >> > wrote: >> >> Enjoy: >> >> >> >> https://www.youtube.com/watch?v=JVqJ7uRGwoA >> >> >> >> >> >> >> >> -- >> >> Tim Wescott Control systems, embedded software and circuit design >> >> I'm looking for work! See my website if you're interested >> >> http://www.wescottdesign.com >> > >> > are you using pure differentiation or a filter on it? >> >> Watch the video! I present both, and leave it as an exercise to the >> reader to decide which is more appropriate. >> >> Since the series is still at the level of seat-of-the-pants handwaving, >> there really isn't a satisfactory explanation I can give as to WHEN you >> need to use a bandlimited differentiator vs. when you can get away with >> an unfiltered one. Once I present some theory I'll return to the PID >> controller and give it a proper theoretical treatment, as well as >> showing that one doesn't always automatically want _just_ a PID >> controller, or even a controller that use all three elements. >> >> -- >> Tim Wescott Control systems, embedded software and circuit design I'm >> looking for work! See my website if you're interested >> http://www.wescottdesign.com > > If you are heading for maximum bandwidth in an electr mech system though > you will need a filter else it will shake itself to death! Many control > systems work well below par of course.
Absolutely. At the moment the material is aimed at taking the viewer from having no clue to being able to make a system that works well below par -- there's a huge number of systems that don't need to be any better than that. Over the course of time I intend to expand the videos to cover real, formal control system design. Videos take an incredible amount of work, though -- I'm running about a week to produce a 15-20 minute video. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com I'm looking for work -- see my website!