element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Forum Engine Management
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 63 replies
  • Subscribers 46 subscribers
  • Views 4138 views
  • Users 0 members are here
Related

Engine Management

jack.chaney56
jack.chaney56 over 9 years ago

Hi Ben,

I am a programmer with a very small amount of skill with circuits, and am looking to create a platform for an engine management system, using an Arduino Mega 2560. I had done a bit of the coding, when I ran into some timing issues with the built in Arduino manager, so I switched over and started using AVR Studio and a programmer to go directly to the chip itself.  The code looks like it should work ok, but now I need some additional circuits to handle the energy levels of coils and injectors (Something like IGBTs). Sensors are being run through simple dividers (no protection yet), and cam and crank inputs are through a simple comparitor

 

Let me know what you think,

Jack

  • Sign in to reply
  • Cancel

Top Replies

  • jack.chaney56
    jack.chaney56 over 7 years ago +2
    Back again... After a bit of time away seeking enlightenment (and a steady paycheck), I am ready to get back to work on my project. I have continued to play around with the code and a number of components…
  • jack.chaney56
    jack.chaney56 over 7 years ago +2
    I want to start this thing right, so the shopping list for people that want to play along at home: Raspberry Pi - version is not significant if you don't mind a slow response when using Eclipse, but 3B…
  • jack.chaney56
    jack.chaney56 over 7 years ago +2
    Start off with two things. First, I forgot (neglected) to provide instruction on how to get the compiled code onto the Nano. Fault of familiarity; having done the process so many times, I had shifted to…
Parents
  • jack.chaney56
    jack.chaney56 over 7 years ago

    The structure of the information, to follow, will be:

    Timing - For whatever is being done with the motor, either ignition or fueling, it is necessary to know the current angle, and the angular velocity. This is obtained using the CAM and CRANK input signals.

    Scheduling - Knowing location and velocity, it is possible to predict time to events.

                             The coils need to be charged and ignition has to occur at a specific time

                             The fuel injector solenoids need to open and close to supply the proper volume of fuel.

    Calculation - Ignition and Fueling.

                             Ignition requires specific timing for angle of advancement, and start of dwell.

                             Fueling calculates the quantity of fuel and depends on mass air flow combined with target air fuel ratio.

    Sensors - The calculated values depend on measured values during operation.  Using A/Ds and providing conversions.

                             Sensors provide measurements for pressure, temperature, throttle position and other values at different locations in the system.

    Steady State vs Asynchronous behaviors - changes in load or demand, and making quick adjustments to improve performance. Math tricks and creative use of units.

    Calibration - Providing adjustments to "tune" the operation and optimize behavior for whatever is required.

    Monitoring - communication of operating parameters

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jack.chaney56
    jack.chaney56 over 7 years ago in reply to jack.chaney56

    Checking back to make sure I am covering things the way I said, and so far I haven't strayed too far. The only thing I skipped was the part about injectors. This is was because the only thing different about injectors is the schedule. There are different strategies with injectors, they are; throttle body injection (TBI), batch, staggered batch, sequential, and staged.

     

    TBI is the simplest, and is quite similar to normal aspiration. Normal aspiration is when the fuel is drawn into the carburettor by the intake vacuum, and controlled by a needle valve. With throttle body injection, the injector shoots the fuel into the intake chamber.  With normal aspiration, the flow is continuous, with TBI, it is pulsed to control the volume of fuel, and with TBI it is pulsed four times per cam cycle. Batch is when the injectors are mounted along the intake manifold, closer to the cylinder intake, and usually an injector for each cylinder. Batch means all the injectors open at the same time, twice per cam cycle. Staggered fire, is the same as batch, except the injectors are divided into two groups, and each group fires together, twice per cam cycle, but out of phase so half then the other half then the first again, etc.

     

    The last two are for performance systems, again with injectors close to the cylinder intake (or inside the cylinder). Sequential means the fuel is supplied during the intake fueling stroke of the cylinder and needs to be timed accordingly. Since it is sequential, each injector operates independently, and only fires once per cam cycle. Staged fueling is again, for high performance systems when the demand for fuel exceeds what can be supplied by a single injector. In these cases, a second bank of injectors is used to increase the volume. The timing follows the pattern of sequential injection.

     

    Without getting into volume of fuel (yet), it is possible to see the scheduling of fuel injections becomes just another event pair to open and close the injectors, either individually or as a group. The timing can be associated again with an angle of event.  There is lots more to fueling, which will be covered, but I hope this provides how much of the work is already in place from the ignition timing operation.

     

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jack.chaney56
    jack.chaney56 over 7 years ago in reply to jack.chaney56

    Checking back to make sure I am covering things the way I said, and so far I haven't strayed too far. The only thing I skipped was the part about injectors. This is was because the only thing different about injectors is the schedule. There are different strategies with injectors, they are; throttle body injection (TBI), batch, staggered batch, sequential, and staged.

     

    TBI is the simplest, and is quite similar to normal aspiration. Normal aspiration is when the fuel is drawn into the carburettor by the intake vacuum, and controlled by a needle valve. With throttle body injection, the injector shoots the fuel into the intake chamber.  With normal aspiration, the flow is continuous, with TBI, it is pulsed to control the volume of fuel, and with TBI it is pulsed four times per cam cycle. Batch is when the injectors are mounted along the intake manifold, closer to the cylinder intake, and usually an injector for each cylinder. Batch means all the injectors open at the same time, twice per cam cycle. Staggered fire, is the same as batch, except the injectors are divided into two groups, and each group fires together, twice per cam cycle, but out of phase so half then the other half then the first again, etc.

     

    The last two are for performance systems, again with injectors close to the cylinder intake (or inside the cylinder). Sequential means the fuel is supplied during the intake fueling stroke of the cylinder and needs to be timed accordingly. Since it is sequential, each injector operates independently, and only fires once per cam cycle. Staged fueling is again, for high performance systems when the demand for fuel exceeds what can be supplied by a single injector. In these cases, a second bank of injectors is used to increase the volume. The timing follows the pattern of sequential injection.

     

    Without getting into volume of fuel (yet), it is possible to see the scheduling of fuel injections becomes just another event pair to open and close the injectors, either individually or as a group. The timing can be associated again with an angle of event.  There is lots more to fueling, which will be covered, but I hope this provides how much of the work is already in place from the ignition timing operation.

     

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube