Since I requested this section :P

Started by Rx7man, April 18, 2015, 11:02:27 PM

Rx7man

it will have to be seen how all that works out in the real world.

I remember working on a PLC, an old Allen Bradley that was SOOO slow, (an SLC3 I think it was, and the clock speed was probably well under 1mhz, timer resoluteion was 1/100th of a second at best I think) and the problem was it had to apply glue based on a timer, but the timers were all over the place, and the loop iterations weren't consistent, so the glue patterns were always in the wrong place.. In the end I made a counter that counted every loop and determined how fast the computer was running at that instant, and compensated the glue pattern timers accordingly.. it was a nightmare, and by the time they paid me it would have been cheaper to put a new PLC into the machine.. this was all done in Ladder logic
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

hakcenter

Been working in my truck for over 3 months ??
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

Rx7man

I have no feel for how fast an arduino is, never worked with one yet.  however the Holley box I have has a 4 mhz processor and it seems to do fine, and it has to control ignition timing too which is very sensitive..
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

hakcenter

I'll see if I can get some milli's for you
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

hakcenter

Here's some millis for you..

Here's where I pushed slightly on the go pedal

POS : 600 | RPM :  69105 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  72548 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  76309 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  83640 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  87210 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  90270 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  93075 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  95562 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM :  97857 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 600 | RPM : 100088 | Mode : Normal
2 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 592 | RPM : 102192 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 582 | RPM : 104614 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 545 | RPM : 113922 | Mode : Normal
2 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 520 | RPM : 120042 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 470 | RPM : 125205 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 100 | RPM : 124695 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 112 | RPM : 118639 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 258 | RPM : 104040 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 349 | RPM :  93394 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 449 | RPM :  84724 | Mode : Normal
1 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()
POS : 549 | RPM :  78285 | Mode : Normal
0 ms |loop() || 0 ms |keep_time() || 0 ms |calculate_vein_position() || 0 ms |set_turbo_position()


Full log as attachment
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

Rx7man

Well, I think I'm going to order in that SmartLynx L6470 based board for a test run, and then at some point build my own which will have all the rest of the IC's I think I'll need.. like the thermocouple and frequency chips... Also thinking of making it so it mounts under the Arduino rather than on top, just need to put long pin headers on it... One problem, it'll be a big board, and I don't think Eagle will let me design it in the free version
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

hakcenter

I think eagle does up to like 4x4" and 4 layers ? maybe only 2 layers.. been awhile
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.