2 ms·
I fully agree with everything you said about this being a big electro-mechanical challenge, but the dude pointed squarely at the controller with "processing ban
by rasz 6y ago
I fully agree with everything you said about this being a big electro-mechanical challenge, but the dude pointed squarely at the controller with "processing bandwidth...real time control" quote.
- Animats 6y agoIf you approach the control problem the way a modern programmer would - read position sensor, adjust actuator current - you need some control loop running at some speed like 100KHz or higher. Probably doing floating point calculations. So you need a powerful CPU. If you didn't have that, you might have to do the valve fine position control with analog hardware controlled by the digital system. That's how daisy-wheel printers controlled the daisy position. And you might have to have hardware timers for triggering events, like SOiC systems with PWM drivers. That's what you'd probably do if you were making a million cars. If you're making 300 supercars, just throw some very fast CPU at the problem and let it do all the work. You'll never see the extra $20-$100 or so per car in the sticker price of a supercar. You can get hardware for automotive environments with that performance now. 15 years ago, you couldn't.
- rasz 6y ago>modern programmer would - read position sensor, adjust actuator current - you need some control loop running at some speed like 100KHz or higher. Probably doing floating point calculations Modern programmer would make sure to do those floating point calculations in an ISR too ;-). Cars have been fine with lookup tables and interpolation. If you can precisely control spark, you could valves as well. As for hardware requirements. Afaik control always outraced controlled business end. Lets take Honda for example, all their ECUs from 92 (P05) onward had full facility to drive individual coil on plug, but officially Honda switched away from mechanical distributor in 1999 (S2000?). You can trivially convert 92 car with a small adapter board, ECUs shipped with all the needed hardware sitting unused for 7 years.