Posted by Michael Gilligan on 25/04/2023 00:39:50:
Posted by SillyOldDuffer on 24/04/2023 20:31:51:
And I thought all I had to do was keep the amplitude constant….
.
At the risk of getting overly philosophical about it, Dave
… If you could do that, then the statement would be true
My understanding is that your system is working by a process of active adjustment, and therefore the amplitude cannot be kept constant.
MichaelG.
The system is experimental, and I've tried both. The pendulum is simply that – apart from the suspension, there is no mechanical connection to it. It's position is detected by breaking an IR beam connected to a microcontroller, so what happens next is decided by a computer program. As I wrote the program, it can do almost anything, and since starting the project I've tried various timing combinations:
- Impulsing at top of swing.
- Impulsing at bottom of swing,
- Impulsing after every 'n' beats
- Impulsing when the amplitude falls below a trigger level
- Impulsing on every beat
I've also tried various impulse lengths – anything from 8uS up, so the impulse can be set from almost imperceptible to completely OTT.
By firing the impulse on every beat, it's possible to adjust the impulse such that amplitude doesn't vary much. Most constant by over-impulsing, but this disturbs period. Manually reducing impulse to slightly more than needed to keep the bob swinging produced a fairly constant period and amplitude. As both exhibited noisy random jumps the oscillator was a bit unstable. Not awful, but clearly in need of improvement.
My diagnosis was of mechanical issues in the design and build of the pendulum, notably a whippy rod, a badly made poorly designed spring suspension, and no sensible way of levelling the frame. Also, a strong possibility that the IR beam was too broad. The latest build addresses these issues, but I made a mistake with with the electromagnet such that the pendulum can't be started swinging by the microcontroller. There's a chance I'll fix that today, fingers crossed.
Once the pendulum and software are running, I shall revisit the earlier experiments. Indicative rather than conclusive because results were flawed by mechanical and software development problems. Now I'm more confident of the build and the software, it will be interesting to see how well the improved pendulum performs. I'm expecting better, which is why this version of the design has tackled vacuum containment seriously. The earlier version never performed well enough to be worth pumping out. Fingers crossed, this one will be!
All this is quite confusing, because a forum thread isn't a good way of documenting a skittish development programme with deliberate experimental features. The experimental aspect means I've changed tack several times when others pointed out flaws and improvements. Also confusing!
I'm doing a Zoom presentation to the SMEE Digital Group on the 13th May, which I hope will clarify the 'big picture'. Well worth joining SMEE just to see what Joe Noci thinks of my electronics and computing; hearing John Haine's critique of the theory; and enjoying Duncan Webster's no doubt pungent remarks on my approach to statistics! And there will be several other well-qualified engineers present. Should be fun.
Dave