Since I requested this section :P

  • 36 Replies
  • 3461 Views
*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: Since I requested this section :P
« Reply #30 on: April 29, 2015, 12:36:05 PM »
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 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: Since I requested this section :P
« Reply #31 on: April 29, 2015, 03:15:40 PM »
Been working in my truck for over 3 months ??

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: Since I requested this section :P
« Reply #32 on: April 29, 2015, 04:33:01 PM »
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 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: Since I requested this section :P
« Reply #33 on: April 29, 2015, 05:18:51 PM »
I'll see if I can get some milli's for you

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: Since I requested this section :P
« Reply #34 on: April 29, 2015, 06:28:16 PM »
Here's some millis for you..

Here's where I pushed slightly on the go pedal
Code: [Select]
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

*

Offline Rx7man

  • Crazy guy
  • Hero Member
  • *****
  • 908
  • Jack of all trades
    • '94 Dodge dually
Re: Since I requested this section :P
« Reply #35 on: May 28, 2015, 09:42:02 PM »
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 dodge, Colt Cam, head worked, NV5600, 3.55's, SB clutch, Ford manual hubs w. hawk brakes, custom flatdeck, custom aluminum bumper, cab off restoration, totally new engine, Mahle pistons @19:1..HE351VE with 67mm turbine and 67x95mm compressor
440hp/1000 ft lb @ 2400 RPM

*

Offline hakcenter

  • developer
  • Hero Member
  • *****
  • 623
    • 1998 12v Ram
Re: Since I requested this section :P
« Reply #36 on: May 28, 2015, 11:02:15 PM »
I think eagle does up to like 4x4" and 4 layers ? maybe only 2 layers.. been awhile