Volvo Community Forum. The Forums of the Volvo Owners Club

Forum Rules Volvo Owners Club About VOC Volvo Gallery Links Volvo History Volvo Press
Go Back   Volvo Owners Club Forum > "General Topics" > General Volvo and Motoring Discussions
Register Members Cars Help Calendar Extra Stuff

Notices

General Volvo and Motoring Discussions This forum is for messages of a general nature about Volvos that are not covered by other forums and other motoring related matters of interest. Users will need to register to post/reply.

Information
  • VOC Members: There is no login facility using your VOC membership number or the details from page 3 of the club magazine. You need to register in the normal way
  • AOL Customers: Make sure you check the 'Remember me' check box otherwise the AOL system may log you out during the session. This is a known issue with AOL.
  • AOL, Yahoo and Plus.net users. Forum owners such as us are finding that AOL, Yahoo and Plus.net are blocking a lot of email generated from forums. This may mean your registration activation and other emails will not get to you, or they may appear in your spam mailbox

Thread Informations

A simple as possible 4 cylinder ODB-II ECU?

Views : 744

Replies : 12

Users Viewing This Thread :  

Reply
 
Thread Tools Display Modes
Old Jan 31st, 2018, 12:17   #11
GreenBrick
SilverBrick Lives!
 
GreenBrick's Avatar
 

Last Online: Apr 5th, 2024 19:06
Join Date: Apr 2015
Location: Poynton, Cheshire
Default

As it runs Linux, I guess you would need a custom kernel to be able to react to all the inputs and send outputs when you want them, rather than when the OS decides.

We tried to use embedded linux in a video recorder and had a lot of trouble with critical timings.

It may be possible, but the work involved would be far more complicated.

(I could be completely wrong, the wife thinks I am most of the time, but having talked to people who know far more about these things than I do, the Raspberry PI is not one to use).
__________________
Jeep ZJ, 960, Past:- Mazda2, Jumbuck, V70 (2002), 945 (1995), Hyundai Coupe, Golf Mk4, Previa, Carina, 2 x Corsa, 4 x Astra, 944 16v (1991), Espace, Escort, Audi 80, Renault 21 Savanna, Polo, Mini Clubman/Pickup, Standard 8, Capri, Maxi.
GreenBrick is offline   Reply With Quote
The Following User Says Thank You to GreenBrick For This Useful Post:
Old Jan 31st, 2018, 15:26   #12
Army
marches on his stomach
 

Last Online: Feb 11th, 2022 03:15
Join Date: Jan 2018
Location: Somewhere in the Netherlands
Default

I don't know which processors / operating systems would be best but I guess they are pretty low tech. You've got a mechanical system that operates in a speed range between 0 and say 7000rpm = equivalent frequency range (cycles per second) => 0 to 167 Hz

Double that and add on a bit of extra bandwidth for anti-aliasing filters (which probably don't get used as I suspect it is probably lazy cheap as chips digital signal processing) and you've got to have something that can sample say ten things at a rate of at least 400Hz - a little bit of decision making and two output signals per cycles (for a four cylinder engine) might mean you need a system that needs a 5kHz processor...

...I don't think (non Microsoft) computers are made that slow any more!

EDIT - there is probably the need for a little bit more decision making - more of the IF this THEN that - so processor clock speeds might need to be a bit higher
__________________
1961 Volvo PV544 the quick and easy in between project(!)
1981 Mercedes 300D <=> 230 diesel to petrol conversion project
1965 Series 2a Station Wagon mega build
1992 Mercedes 190E The car that works!

Last edited by Army; Jan 31st, 2018 at 15:36.
Army is offline   Reply With Quote
Old Feb 1st, 2018, 17:54   #13
rippedoffagain
Premier Member
 

Last Online: Nov 16th, 2019 18:20
Join Date: Mar 2009
Location: Yorkshire
Default

Quote:
Originally Posted by GreenBrick View Post
As it runs Linux, I guess you would need a custom kernel to be able to react to all the inputs and send outputs when you want them, rather than when the OS decides.

We tried to use embedded linux in a video recorder and had a lot of trouble with critical timings.

It may be possible, but the work involved would be far more complicated.

(I could be completely wrong, the wife thinks I am most of the time, but having talked to people who know far more about these things than I do, the Raspberry PI is not one to use).
Fair point. I hadn't considered that but I think you're right.

Linux has an interesting approach to input and output. Everything is basically a file stream. As such, when you write to it, you're basically telling the OS to write it out, sort of whenever you get a moment like. It won't be forever, but it depends when the scheduler gives focus to the task of doing the right. On some Linux installs it could be 20 milliseconds. I'd have to do some sums but my gut instinct tells me it wouldn't be responsive enough.

Processing speed wouldn't be an issue. It's a surprisingly capable cpu in the pi. It's just IO that might be the problem.
rippedoffagain is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:04.


Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.