Bench Testing Code (outputs, math and injectors)
Posted: Thu Jan 13, 2011 11:13 pm
This code will consist of two parts:
Part one: A self generating wheel pattern decoder, possibly with programmable pattern
Part two: Ability to control ADC inputs artificially to test code and logic.
I can see different modes being useful.
IE, behave like a normal decoder and use the stock math/adc stuff and just generate an output pattern by faking an input pattern.
And, provide specific test patterns of outputs, such as:
Run for N seconds
Run for X cycles
Inject Y times
Use Z pulsewidth
Use M cycle time
Run at Q % duty
Then you could do something like "do 1000 injections at 85% duty with a 17ms cycle time" or similar.
Similar stuff for coils, probably, too, but later.
Thoughts, details, specs, what do you want to be able to control, tell me exactly, dont be shy, i can only go "too hard". Sky is the limit, JD, go!
Fred.
Part one: A self generating wheel pattern decoder, possibly with programmable pattern
Part two: Ability to control ADC inputs artificially to test code and logic.
I can see different modes being useful.
IE, behave like a normal decoder and use the stock math/adc stuff and just generate an output pattern by faking an input pattern.
And, provide specific test patterns of outputs, such as:
Run for N seconds
Run for X cycles
Inject Y times
Use Z pulsewidth
Use M cycle time
Run at Q % duty
Then you could do something like "do 1000 injections at 85% duty with a 17ms cycle time" or similar.
Similar stuff for coils, probably, too, but later.
Thoughts, details, specs, what do you want to be able to control, tell me exactly, dont be shy, i can only go "too hard". Sky is the limit, JD, go!
Fred.