Quote:
I'm currently working on building out the dwell table logic, and I want to get this milestone figured out before moving on. I think the dwell tables will store desired time in a single byte, 0-255. A fixed scalar of 0.048828125 will convert the desired dwell from milliseconds to the raw table value. This gives a maximum of 12.5 ms dwell before MAP and RPM multipliers. I think this will be adequate for all real-world scenarios for all the coils I've tested.
That`s exactly what I did to get a higher resolution from 8bits tables and the idea was borrowed from the prime pulse math. The scalar defines the resolution of the 8bit table. So with this setup a 0.048ms resolution can be used. If you don`t need that precision increasing the scalar is an option. On starting conditions a fixed adder can be added to the final dwell, I guess anything over total of 20ms dwell will be too much. I am getting really good with 8 bit tables and conversions. I managed to rescale the ign voltage to 1volt increment for table lookup. I am sure 8bit hex math will be much more precise, efficient and simple to implement. I will try to help as much as I can.