For his PhD at the University of Michigan, [Adam] designed a Raspberry Pi-based system that controls an HCCI engine, a type of engine which combines the merits of both diesel and gasoline engines. These engines exhibit near-chaotic behavior and are very challenging to model, so he developed a machine learning algorithm on a Raspberry Pi that adaptively learns how to control the engine.
[Adam]’s algorithm needs real-time readings of cylinder pressures and the crankshaft angle to run. To measure this data on a Raspberry Pi, [Adam] designed a daughterboard that takes readings from pressure sensors in each cylinder and measures the crankshaft angle with an encoder. The Pi is also equipped with a CAN transceiver that communicates with a low-level engine control unit.
[Adam]’s algorithm calculates engine control parameters in real-time on the Pi based on the pressure readings and crankshaft position. The control values are sent over CAN to the low-level engine controller. The Pi monitors changes in the engine’s performance with the new values, and makes changes to its control values to optimize the combustion cycle as the engine runs. The Pi also serves up a webpage with graphs of the crankshaft position and cylinder pressure that update in real-time to give some user feedback.
For all the juicy details, take a look at [Adam]’s paper we linked above. For a more visual breakdown, check out the video after the break where [Adam] walks you through his setup and the awesome lab he gets to work in.
Welcome to the DCEmu Homebrew and Gaming Network. This Network of sites is owned and ran by fans of the retro consoles and the latest next-gen consoles, we post news on all the consoles we cover about hardware aspects, gaming, modification, Hacking and Homebrew. Homebrew and Emulation are software thats made using free and legal tools to play on games consoles. This Network is the only worldwide network of sites where coders can upload and post news of their own releases and get the credit and comments they deserve for all their hardwork. We have a Network that currently supports PSvita, Nintendo 3DS, WiiU, PS4, Xbox720, Nintendo Wii, Xbox360,Pandora, Dingoo, Wiz, PS3, PS2, Xbox, Gamecube, Nintendo DS, PSP, GBA, Dreamcast, Sega Saturn, Android, Apple, Blackberry, GP32, GP2X, Nintendo 64, Snes, Gameboy, Nes, Virtual Boy, Apple iPhone, Ipad, Ipod Touch, Ipod, Windows Phone and also Mobile Phone Emulation. When new consoles appear we will expand to cover those consoles.
Please help DCEmu become stronger by posting on the forums every day and make our community larger.