raspberry pi with simulink/matlab and accelerometers

background: i am currently in the conceptual phase of building an actively controlled suspension for a senior project. this includes a scaled suspension(ie one corner of an independent suspension) mounted to a subframe that will roll over a sinusoidal track that makes the tire oscillate up and down to mimic road conditions. My question: i would like to use raspberry pi and matlab along with accelerometers(one mounted to the subframe, the other mounted to the lower control arm of the suspension) to determine the velocity change and displacement of the tire relative to the ground. in turn i would like to sensors to output live data that are essentially feed back for a control loop programmed in either matlab or simulink, this feedback will control an electric motor hooked to a hydraulic pump that is hooked up to the shocks fluid reservoir to draw fluid in and out of the shock to change the damping in the suspension(essentially turning the shock into a hydraulic ram when the sensors recognize the slightest motion up or down).
now this does not have to react similar to 60mph road conditions, it just needs to be able to recognise change in displacement of the tire and control the fluid level in the shock at any rate i can get. imagine an automated hydraulic ram as your shock/strut, and the sensors as the feedback for controlling the ram given the environment.
it is kind of alot to achieve, but in theory not so bad. i need a direction for this, im sure with matlab capabilities this is possible. but have only been using matlab/simulink for about 2 years.
any information on this would be great. and the scale does not matter, it could be RC scale, Quad atv scale, full automotive scale.

Answers (0)

Categories

Find more on Chassis Systems in Help Center and File Exchange

Asked:

on 19 Mar 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!