Audi A5 Forum & Audi S5 Forum banner

Air Suspension...

4448 Views 18 Replies 6 Participants Last post by  ES803313
2
My day job is IT based, development and the like. I got to thinking about what those digital air controllers do, and how they achieve it. The logic is simple, and system is simple enough and using a load of ebay parts im starting to build a POC...

Heres to hubris!

Bonus:
I stumbled across This video where a Raspberry Pi is being used to time an engine (using RTlinux).
Quite a feat!
Made me little grey cells start to flicker.

Attachments

See less See more
  • Like
Reactions: 2
1 - 19 of 19 Posts
OK, (if anyones interested)

So far, I have collected:
10ft of nylon air line and push fit connectors
a few adapters, bits of threaded pipe etc
two analogue pressure gauges
two 5v pressure sensors
£30 gumtree 15l compressor with some hoze
5l D2suspension air tank
a mcp3008 analogue to digital convertor
few Darlington transistors and diodes (for firing the solenoids controlling the valves)

and the software is now reporting both pressure sensors, smoothing the inputs and converting them to psi.

seems to accurately sample down to a rate of 80ms, with an error of about 0.1 psi (full spectrum is about 3% for the sensors by the book)

Only thing im waiting for is the slow boat from china with my solenoid actuated valves.

Im thinking ill stick a video or two up on the EweTubes, probably wait to get the valves and install them cos right now it doesnt look all that interesting scrolling numbers.
See less See more
  • Like
Reactions: 1
Finally the valves have arrived!

These two are for one 'channel'. One to fill, one to vent.

Attachments

See less See more
This is getting very interesting, sparx.
Interesting... What are you going to use for your air shocks/springs?
I reckon i could fab something with paper mache... hehe,
Im keeping my eye out for a 2way 'analogue' system from AirLift with the proper bags and struts. do all the mech work and get air working, then once im confident the software wont kill me move the electronics and stuff into the car and final fit and finish.

or so goes the theory

EDIT:
My screen just arrived, im thinking this will be the basis of the UI. touch, 5" (mouse for scale) and only £30 - figured a digital UI would be a better solution than a button box that i dont have the skills or tools to make look pretty. pluscan be easily expandable :)

Attachments

See less See more
2
After new exhaust and half a tank of fuel i got to sit down last night to continue this. I will be waiting till I refactor some bits, and clean up the bodge that it is right now, before making a video :p

Code wise, this does what was intended for now!

The system is hooked up to a source compressor and tank, the solenoid valves are then used to set the pressure of the second (d2racing's) tank to a desired pressure.

already thinking these valves might not give a decent fill rate, the fittings maybe 1/4" but the internal bore is a couple of mm... cheap parts i guess, but for a POC id rather spend £8 a valve rather than £50+ for the 'proper' industrial valve units...

Stage 1 done!

Attachments

See less See more
Haha... I spy nano.... my second go-to editor (after emacs) ;)
  • Like
Reactions: 1
hah, i heart nano and old school vi :p PyCharm IDE ive installed but not used yet :)

last night was all about tuning the setup, controlling the pressure rush in and trying to manage that. Think im going to need to find an old airspring to fill with air as part of this test, varying pressure on the air spring from normal car movement will likely cause pressure fluctuations that will need to be accounted for, although i believe the bags are constructed to account for this to a degree... only one way to find out!
  • Like
Reactions: 1
Monster cudos for setting out on this project from scratch!

Good luck and keep posting your progress! :)
  • Like
Reactions: 2
Some little tweaks this weekend, didnt get to spend as much time as I'd have liked. But (for this test at least) the system accurately sets pressure in a vessel (coke* bottle) and maintains it (Getting better at finding leaks! :p). Screen I bought has to go back, doesnt seem to display any input from HDMI from any device. :(

https://www.youtube.com/watch?v=FH-SqEBBHuw

To Do:
hook up to an actual airspring
control better the inrush and outrush causing the sensor to bounce
GUI (need a screen for that) (and learn a UI library for python)
Loads of code refactoring (as you may be able to tell by my massive blocks of commented out stuff!)
Scale to more 'channels'.
Mock up a load to test lifting - for fun

*not endorsed by coke, obvs.
See less See more
Monster cudos for setting out on this project from scratch!

Good luck and keep posting your progress! :)
Thanks Mr W :) itll get to a point where the code and everything will be publicly available. - the community could have an open source air suspension base to work from then! :)

Most of the struts come with adjustable dampers - with the right kind of servo this too could be put into the program to make it adjust the shocks to compliment the ride height.

Id also like to experiment with using the Pi to read CAN stuff from the car, im thinking the vehicle speed would be a good one - at high speed auto lowering and stiffening the suspension - unlike a Veyron - wouldnt need to stop and stick a key in the side of the door ;)
Thanks Mr W :) itll get to a point where the code and everything will be publicly available. - the community could have an open source air suspension base to work from then! :)

Most of the struts come with adjustable dampers - with the right kind of servo this too could be put into the program to make it adjust the shocks to compliment the ride height.

Id also like to experiment with using the Pi to read CAN stuff from the car, im thinking the vehicle speed would be a good one - at high speed auto lowering and stiffening the suspension - unlike a Veyron - wouldnt need to stop and stick a key in the side of the door ;)
If you have a look at KW's website for their DDC kit for the A/S5 they have instruction/installation manuals for accessing their onboard computer for the DDC suspension. Could give you a head start! I think it uses G-meters from the car to learn when to tighten and relax the suspension.

Good luck!
  • Like
Reactions: 1
Nice, thanks, ill look!

I was looking into some potentiometers attached to suspension arms, like the Accuair E-Level system. But the G-sensors would be a better indicator to the body roll condition...

Guess the ultimate would be both :p

I also found these really cool purely mechanical 'pneumatic roll bars' which, in ways i cant quite fathom, are meant to mechanically fill the side in to the roll. If i find the link ill post it.
I wish I could get the image out of my head of you in a lab coat, surrounded by massive bits of electrical machinery and tesla coils, illuminated by lightning flashes, standing over a shrouded, hulking form on a bench, and shouting, "It lives!".
Love your work, wreckless. Keep doing this!
I graphed some fill/vent cycles last night after adjusting the ring buffer (YEH its a thing!)

Blue line is the raw sensor input
Orange is the smoothed value
Grey is the tank pressure and
Yellow is the 'pressure vessel' (coke bottle)

think the balance between smoothing and response time is about good enough for now, on with the GUI! and time to get some more valves and a manifold to build them all into.

Attachments

See less See more
  • Like
Reactions: 1
Been building out software stuff ready for the user interface.

Got more solenoid valves, pipes and connectors arriving soon.

im looking for some of the actual graphics of the audi MMI if anyone has them? Ive found a couple of proper screen grabs of the interface (not photos of the screen) which ill be trying to use to make my UI with. The over all idea is "OEM as fkk". What can be hidden will be, anything visible needs to look like Audi themselves did it.
Blew up my Pi. - it was pretty spectacular, smoke, sparks etc.
Waiting on a new one :( annoying because the valves, manifold, pipe and other bits are all here waiting :(
sparx,

Interesting to see that you're choosing pressure sensors for your monitoring system.
Is there a reason you chose this over a height sensor system?
Reason I ask is if you have a pressure for a selected ride height and you add weight to the car it will read out as a higher pressure in the system. It will then adjust (lower) the pressure (height) of the car which may not be the desirable response from the system.

I do applaud you for your efforts thus far!
1 - 19 of 19 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top