Code for Transfer Functions Paper? (LCS-II)

[From Erling Jorgensen (2000.06.26.1130)]

Bill, in Living Control Systems II, your paper on "Deriving
Closed-Loop Transfer Functions" describes a model of many
interacting control systems (2304 to be exact!). I want to
get a better feel for how multiple control systems compete
(and/or compromise) over the same environmental resources --
you say those 2300 systems only had 256 degrees of freedom,
yet were able to stabilize with little oscillation after
about 25 iterations.

I want to be able to see a working model and examine what
is happening iteration by iteration. It was doing that with
Rick's spreadsheet model many years ago that really helped
me to "see" how a hierarchy works, if only in simplified
form. Is the program you used for that paper still available?
And would it allow seeing how the transfer functions change,
as they narrow in on their final form?

My mathematical background is such that I struggle with
understanding the equations described in your paper. Could
they be implemented -- say with only half a dozen control
systems and a small value of tau -- on the spreadsheet model
(or on a Works version of it), or isn't there a way to preserve
the values of previous iterations with a spreadsheet? I
realize the spreadsheet model is not exactly set up as a
tracking task, but presumably the disturbance table could be
continuously fed in while the model (not a person) does the
compensating/controlling.

Your paper mentions that the original program was written in
assembly language, Pascal, and C. I do have TurboPascal
(version 7.0 I think it is) on one of my computers. Is there
any way to get the code, or could it be adapted so I can
start to visualize what is going on? I don't remember seeing
it on your website, but I could FTP it from there if that
would be a way to go.

Thanks for the help. All the best.

        Erling

···

To: Bill Powers

Hi, Erling --

Erling Jorgensen (2000.06.26.1130)--

Bill, in Living Control Systems II, your paper on "Deriving
Closed-Loop Transfer Functions" describes a model of many
interacting control systems (2304 to be exact!).

This is, I fear, a misunderstanding of the purpose of the paper due to my
failed attempt to explain a rather complicated computational process in
terms that were inadequate for the job. The purpose was not to model 2304
control systems, but to illustrate a method for solving 2304 simultaneous
equations in 256 unknowns in order to find the output function of _one_
control system. I likened my method to the way a collection of control
systems would work, each one attempting to control the value of one entry
in a table of values of f(tau), the transfer function. There were 256
entries in the table, so on the average there were 9 control systems trying
to control the value of any one table entry. These systems were in partial
conflict, with the final outcome not resolving the conflicts but only
minimizing them.

This is exactly the method I ended up using, years later, in the Artificial
Cerebellum model -- but I didn't confuse the issue by using the metaphor of
little control systems. I also use a version of this method for sharpening
images, in which the number of metaphorical control systems would now have
risen to 78,408 (an image with 324 x 242 points)!

Alas for claims to fame, it turns out that this way of iteratively solving
simultaneous equations was actually invented by Jacobi a century or so ago,
and was first applied to image processing in the 1920s by van Cittert (as I
learned recently). In the field of image processing in the 1980s it became
known as the BID method -- Basic Iterative Deconvolution. My reinvention of
he van Cittert method happened in the 1960s. My application to adaptive
control systems is probably a first, but the real glory is gone.

I want to
get a better feel for how multiple control systems compete
(and/or compromise) over the same environmental resources --
you say those 2300 systems only had 256 degrees of freedom,
yet were able to stabilize with little oscillation after
about 25 iterations.

If these were real control systems, the outcome would not be very
satisfactory since the conflicts are never completely resolved. Any
"compromise" involved arises because the control systems have about equal
output strength and come to equilibrium pushing back against the outputs of
all the other systems. There is no communication between control systems;
as far as any one system is concerned, the actions of all the others
combine into one equivalent disturbance which each control system opposes
as best it can.

I think you must give up using this approach to understanding the
interactions of human control systems. Human beings do not just blindly
control similar variables and let the outcome be whatever state of
equilibrium results. It would be better to build your own simulated
environments containing multiple simulated control systems, as in the Crowd
program, and simply run the simulations to see what problems emerge. Then,
as you try to solve those problems, you will begin to see what is required
in a social system for the people to coexist in a stable system with a
minimum of conflict. The outcome could be immensely valuable, but getting
there will not be easy. It's not that the control problems are so complex,
but creating a realistic environment is tedious.

I should also mention that having a specifric problem to solve is a great
incentive for larning some more mathematics.

Your paper mentions that the original program was written in
assembly language, Pascal, and C. I do have TurboPascal
(version 7.0 I think it is) on one of my computers. Is there
any way to get the code, or could it be adapted so I can
start to visualize what is going on? I don't remember seeing
it on your website, but I could FTP it from there if that
would be a way to go.

All the programs mentioned in that article were in Turbo Pascal 1.0, and
more to the point were on 8-inch floppies that no longer exist, and even if
they did would be unreadable by any modern system. But the source code for
the Artificial Cerebellum is available, if you insist. I do not encourage
this route, however, because it's really not relevant to what you're trying
to do. I'd say, stick with the spreadsheets and experiment with them.That
will probably get you farther.

Best,

Bill