Pages: 1 [2] 3
Author Topic: Virtual Bosch ECU can it be possible?  (Read 23283 times)
vwaudiguy
Hero Member
*****

Karma: +53/-37
Offline Offline

Posts: 2024



« Reply #15 on: November 13, 2015, 02:56:59 PM »

I understand that, but not having an actual engine to produce the knocking isn't going to allow you to learn anything. You already know an engine that knocks pulls timing from requested.  All engines are different, and react different to conditions. In addition the knock thresholds, and frequencies they look for differ on different engines. How are you going to simulate octane rating? Mixture differences? Effects of timing advance on an actual engine?
Logged

"If you have a chinese turbo, that you are worried is going to blow up when you floor it, then LOL."
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #16 on: November 17, 2015, 02:22:41 AM »

audiguy yes all engines are diffrent so on and so forth...  Im not saying this will be a total simulated engine... I just want to start with something simple to se how the ECU react if im manipulating some values.

Imagine a PC connected to a LabJack and a harness into the ECU. In LabView I will simulate an rpm signal, AFR, MAF, MAP, IAT and what have you.
So lets say i crank up my Simulator with a start button.

1. The ECU see the RPM signal and initiates cranking and cold startup.
2. The simulator recives a pulse from injector outputs and the ingitionpulses and reacts after that.
3. Engine is now at idle thanks to the ECU giving the simulator ign pulses and fuel.
4. Throttle feedback into ECU is feed via either external potentiometer or an outbut from the labjack controlled by a slider in the program or something.
5. Simulate a road and build a simple model for car running on a road with ambient temp. If car runns faster cooler air and so on..

Its a stuupid idea but it would be fun to just experiment with. Not sying this will be a fraud or sucsess. Its just geeky fun..
But it requiers a pretty decent Labboard with a good I/O.



Logged

E85oholic
adam-
Hero Member
*****

Karma: +123/-33
Offline Offline

Posts: 2179


« Reply #17 on: November 17, 2015, 02:30:46 AM »

so on and so forth...

I will simulate an rpm signal, AFR, MAF, MAP, IAT and what have you.

slider in the program or something.

If car runns faster cooler air and so on..

Its a stuupid idea

You could probably get this to work, but it would work, not be functional.  I don't see the point really, there's way too many variables to try and simulate accurately, and even if you manage to get one set of variables to work, you can't vary anything because you don't know how the variation affects other sensors.

Say, for example, the "injectors" are on for 13ms, how much fuel is injected?  What happens to the lambda reading?  Do you force a lambda reading, so say it "sees" 0.83, what happens to the injectors?  I'm not trying to shoot you down, but you'd be much better buying a donor and mounting it on a stand and venting the exhaust outside so you can tune inside.  Hell, it's easier to set up an emulator for the ECU so you can monitor/edit variables in realtime.
Logged
ddillenger
Hero Member
*****

Karma: +641/-21
Offline Offline

Posts: 5640


« Reply #18 on: November 17, 2015, 02:47:14 AM »

IDK about where you're from, but in the US I can find an ME7 car that is beat to shit for 1-200 bucks.
Logged

Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience!

Email/Google chat:
DDillenger84(at)gmail(dot)com

Email>PM
adam-
Hero Member
*****

Karma: +123/-33
Offline Offline

Posts: 2179


« Reply #19 on: November 17, 2015, 02:51:09 AM »

Likewise, can pick up abused 1.8t's for about £150/200 quid here.
Logged
wannabee900
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 42


« Reply #20 on: November 17, 2015, 03:36:59 AM »

Its a stuupid idea but it would be fun to just experiment with. Not sying this will be a fraud or sucsess. Its just geeky fun..
But it requiers a pretty decent Labboard with a good I/O.
Have fun logging analog signals from hall sensors for crank and camshafts and then simulate these in labview.
Logged
jamesr
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 15


« Reply #21 on: December 12, 2015, 11:39:23 PM »

Pros and cons are both correct. You wont learn much but as far as testing what your mods will do to actuators it could be useful.  Smiley   I like the idea of the stimulator from DIY auto tune. You make it yourself. It would be easy to put wires from the stimulator to the ECM and have a vag com wired as well to monitor the signals. This way you wouldn't have to figure out how to create a signal to feed the crank or air flow. it is all on the stimulator board.
Logged
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #22 on: December 21, 2015, 04:22:29 AM »

Yes that greate but.. if you use Arduino its even better and cheaper i have already started the lab. Smiley   There is already code for free out there and you can simulat any trigger wheel and so on... I have started with my first test but I changed forum for this project.

First laboration will be controlling a Volvo 6 cyl with a Speeduino just to get familiar with the system.   http://blogs.libreems.org/arduino-wheel-simulator/.







Logged

E85oholic
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #23 on: December 21, 2015, 02:09:06 PM »

As well as analogue or pwn inputs you'd also need a can bus network I think or it will shut off.   Tester present even over kwp might be enough.
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
hackish
Full Member
***

Karma: +1/-1
Offline Offline

Posts: 56


« Reply #24 on: December 22, 2015, 11:58:04 AM »

I think this is a great idea... Oh wait a minute. Here is one of the units on my desk. I use the siglent to generate the crank/cam signal and I use SPI powered digital pots and DACs to stimulate the inputs. Most cases I have the pot board plugged in as it's easier to work with. Each ECU I do has a different board that gets plugged into the backplane. I capture the injection PW with a scope.

Since each ECU has its own challenges (some DBW some not, some need to talk to many CAN components on the bus, some do not) there are a number of boards I can choose to plug in and use to keep a given ECU happy.

For simulating the ECU itself I've looked into that but for example to realtime simulate the ST10 series of processors using a lauterbach machine is about $50k USD. Outside what I can cost justify.
« Last Edit: December 22, 2015, 11:35:14 PM by hackish » Logged
vwaudiguy
Hero Member
*****

Karma: +53/-37
Offline Offline

Posts: 2024



« Reply #25 on: December 22, 2015, 01:16:03 PM »

So I think I got this figured out...I set up my laptop on the left side, and on the right, I have a cordless drill cable tied to the table. I press the buttons on the left, and rev up the drill, and pretend I'm making 400 hp with slight knocking at 4k RPM on E85 with antilag. I then open the windows in the room (to simulate cold start) and then press some more buttons in the cold start map, (and use much less finger pressure on the drill) to simulate a colder engine. I pretty much saved 49K using this setup, and all I needed was to close my eyes and use my imagination. I can't justify spending 50k to simulate an engine virtually. Probably only 45k.
Logged

"If you have a chinese turbo, that you are worried is going to blow up when you floor it, then LOL."
jimmcgee5
Full Member
***

Karma: +7/-7
Offline Offline

Posts: 201


« Reply #26 on: December 22, 2015, 02:09:17 PM »

So I think I got this figured out...I set up my laptop on the left side, and on the right, I have a cordless drill cable tied to the table. I press the buttons on the left, and rev up the drill, and pretend I'm making 400 hp with slight knocking at 4k RPM on E85 with antilag. I then open the windows in the room (to simulate cold start) and then press some more buttons in the cold start map, (and use much less finger pressure on the drill) to simulate a colder engine. I pretty much saved 49K using this setup, and all I needed was to close my eyes and use my imagination. I can't justify spending 50k to simulate an engine virtually. Probably only 45k.

your being sarcastic aren't you  Tongue
Logged
hackish
Full Member
***

Karma: +1/-1
Offline Offline

Posts: 56


« Reply #27 on: December 22, 2015, 11:36:40 PM »

your being sarcastic aren't you  Tongue

Seems funny but back in the day I did successfully run many an "engine" using a distributor on a drill. It's a viable alternative if you're just doing a few simple things.
Logged
jimmcgee5
Full Member
***

Karma: +7/-7
Offline Offline

Posts: 201


« Reply #28 on: December 23, 2015, 08:39:29 AM »

 Grin

right back on track here  Cheesy, what we need is a windows emulator that will run an me7 bin file as if its really in an me7 ecu unit connected to a virtual engine ,  Smiley
Logged
Jim_Coupe
Hero Member
*****

Karma: +16/-12
Offline Offline

Posts: 663



« Reply #29 on: December 23, 2015, 02:07:39 PM »

ahhh cool project you got there hackish... I simulate the trigger via 60-2 simulated signal from an arduino now.. works perfekt Smiley   I hocked up VAG-com and logged the simulation. Now im ready for nextlevel Smiley  I´ll post pics soon.. Or maybe a video
« Last Edit: December 23, 2015, 02:10:00 PM by Jim_Coupe » Logged

E85oholic
Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.026 seconds with 17 queries. (Pretty URLs adds 0s, 0q)