Hank Fletcher said:I get your point, but 10K might be exaggerating (i.e. under) a bit. The goal for the speed of the trombone robot was to have it capable of moving the slide as fast and as accurately as a professional trombone player. That means moving the slide between any consecutive semitones with a rhythm of sixteenth notes at a tempo of 150bpm. And that's just moving the slide, not stopping it for notes! So already we're talking on the scale of 1KHz, and we haven't even taken into account the time it will take to calculate for PID at any given moment in any given situation (i.e. how fast, how far, for how long the slide is moving), or the programming that will eventually be required to coordinate the slide movement with air and articulation in the rest of the robot.
Mechanical movement is slow, but not when it comes to emulating the capabilities of the human body. Do I really need to explain that to a Martial Artist?
It's still pitifully slow when compared with how fast PIC's run!
A PIC running at 4MHz executes 1,000,000 instructions per second, only 1uS per instruction - at 20MHz it's only 200nS per instruction.
I like to think I'm fast (but my teenage daughter is considerably faster! - damn her! ) but you're looking in the tens of mS for the absolutely fastest actions.
You'll find that when interfacing PIC's to mechanical systems that the VAST majority of it's time will be taken up just waiting for something mechanical to happen.