algorithm-archive icon indicating copy to clipboard operation
algorithm-archive copied to clipboard

Adding bang-bang control algorithm

Open wca747 opened this issue 3 years ago • 8 comments

First draft of a page covering the bang-bang control algorithm. Looking for feedback!

wca747 avatar Dec 05 '21 00:12 wca747

If we want to go into signals and such here, the discrete form of the unit step function would be applicable as a mathematical example as well

ntindle avatar Dec 05 '21 07:12 ntindle

Yeah, I think having something we could abstract out to a signal processing section makes sense. Do you have something specific in mind @ntindle ?

leios avatar Dec 05 '21 07:12 leios

I've referred to this as signals and systems but it's based on control theory. I think a catch all signals and systems top level chapter would be good.

Edit: reread the question. The example above would work. I'm not super familiar with latex so I can't type it out but the example above would be something like this

X[n], where n is temperature, exhibits the following behavior for discrete values of n.

X[n]= {0, n>=50
      {1, n<=45

When this is in the presence of an external factor (such as what is being controlled) it will often oscillate causing that characteristic sawtooth graph in the chapter

ntindle avatar Dec 05 '21 07:12 ntindle

I agree with that, although "signals" and "control theory" seem a bit too distinct for me right now, maybe just "control theory"?

When I think of signals, I think signal processing with FFTs and things like that.

I think this chapter is a nice way to lead into PID controls. I wonder if we can revive the #346 PR? That one was close to being done, so we could fork it and open it up again with @Gathros co-authoring it.

leios avatar Dec 05 '21 07:12 leios

I think @wca747 's goal was using this as a stepping stone to the much harder PID chapter

Also for signal processing in computer engineering (not sure other places), FFTs are taught using things like bang bang as the introduction to why they are needed. It's a part of a much larger array of signal processing techniques

ntindle avatar Dec 05 '21 07:12 ntindle

Hey, it's been a while. Were you at all able to look at this chapter? I think example code is essential to understanding how the plots were generated. I am happy to continue the review from that stage!

leios avatar Feb 11 '22 13:02 leios

I could probably pick this up in your place @wca747 if you'd like

ntindle avatar May 06 '22 20:05 ntindle

I think the chapter needs some work right now, but it's definitely in the right direction. Namely, I would really like to see some code for the plots. Once that is there, I think I will have a better understanding of what they were supposed to show and we can finish the chapter from there.

leios avatar May 07 '22 10:05 leios