I'd like to see more chatter on these newsgroups so I'll start
things off.
This week, using a concept or two from Modern Control Theory
(simulation diagrams & [1/Z]), I simulated a piece of equipment
in PERL. The piece of equipment attaches to an electric motor
that might conceptually exist in an airplane wing and is used
to raise or lower the airplane's flaps. It tells how many
degrees the motor has turned away from top dead center and how
many revolutions it has accumulated since being operated. Every
time it reaches 359 degrees, on the next "click" it clears the
angle counter and increments the revolutions counter. When
turning in the reverse direction and crossing that top dead
center point it pre loads the angle counter with 359 and
decrements the revolutions counter.
After I was told, "that won't do; I'm working up my FPGA code in
MatLab/SimuLink (code is cross-compiled to Verilog, which is
then recompiled and downloaded to an FPGA) so how am I gonna use
that", I translated the program into MatLab. When I got the
translation working as well as the PERL original, I emailed it
to him.
Anyway, the Modern Control Theory concepts are important and
allow simulation to be done in about any computer language.
That IS what Control Theory is about isn't it?
Anyway, now I'm going to try to use PERL to do Root-Locus diagrams
or the output of a "chaos circuit" once I get the graphics and
math modules (new to PERL - learning how to import modules now)
working.
2Penny (my 2 cents worth)