Advertisement

Hard to train -- with Matlab toolbox

Started by November 22, 2005 02:31 AM
1 comment, last by GameDev.net 19Β years ago

          rin   yout  error  1
           |     |      |    |
           |     |      |    |
           ↓     ↓      ↓    ↓
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” 
          ∣     BP Neural      ∣
          ∣     Network        ∣
          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             |      |      |
             |kp    |ki    |kd
             ↓      ↓      ↓
            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β” 
rin +    e  ∣                ∣   u  |       |   yout 
────→( )β”€β”€β”€β†’βˆ£        PID     βˆ£β”€β”€β”€β”€β”€β†’| Plant |────┬→
    - ↑     ∣                ∣      |       |    |
      |     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”˜    |
      |                                         |
      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Above is the controller I have designed. Could anybody tell me how to train this BP network with the MATLAB NN toolbox? Well, the difficulty lie in that there is no targets for the outputs of the NN. The plant output "yout" is the network input in the next loop. *Edited by moderator to fix ascii graphics* [Edited by - Timkin on November 24, 2005 6:31:08 PM]
If you surround your ascii art with the code and /code tags (embed them in square brackets), then it will preserve your layout. Could you please adjust it so that we can see your architecture correctly.

From what I can make of the diagram, you appear to have drawn a disturbance rejection architecture... and you're trying to generate an adaptive PID control architecture. You could probably obtain a weight gradient via a lagged state error difference, although I suspect this would have some problems.

Interestingly enough, I'm working on a very similar problem in my current research, although we don't limit ourselves to PID regulators (but rather use RBF networks, spline networks, CANFIS, etc). Mostly I'm looking at appropriate architectures for training of such networks on arbitrary plants. I'm fairly sure I have a paper on my desk at work on training PIDs in adaptive networks... I'll check tomorrow and post the details if I can find it.

Cheers,

Timkin
Advertisement
I think you need to put a delay from the feedback, maybe. Otherwise I do not understand how you could realize this.

This topic is closed to new replies.

Advertisement