ClearMotion RNN/LSTM Road Velocity to Vehicle Acceleration Model
Train a neural network, preferably an RNN or LSTM, that predicts a car's vertical body acceleration from road vertical velocity, using real drive session data sampled at about 100 Hz.
Overview
With recorded vertical acceleration of different cars on a given road, we can accurately cancel it using feedforward control. For that purpose, we can map the road data in terms of road velocity and store the data in the server. However, instead of actually driving different cars on the same road and recording their vertical accelerations, it is more efficient to train a neural network model for each car to predict the acceleration whenever some new road data is available through crowd-sourcing. In this assignment, you are asked to train such a model with given data.
Data
You are provided with two sets of CSV files: training data and testing data. Each file was extracted from a real drive session of the exact same car with the same suspension controller settings.
Each CSV file is organized with the following columns:
time_offset, speed, roadvel, bodyacc, yaw_rate
| Column | Description |
|---|---|
time_offset | Timestamp (s) |
speed | Vehicle speed (km/h) |
roadvel | Road vertical velocity (m/s) |
bodyacc | Vertical acceleration (m/s²) |
yaw_rate | Yaw rate (rad/s) |
Each row contains data collected at the corresponding time stamp. The sampling frequency is approximately 100 Hz.
Training files:
training_data__session_36149.csvtraining_data__session_36150.csvtraining_data__session_36158.csv
Testing file:
testing_data__session_36159.csv
Requirements
- Train a neural network that takes road velocity (
roadvel, in m/s) as input and generates vertical acceleration (bodyacc, in m/s²) as output. - Feel free to choose any machine learning packages you are familiar with (e.g., TensorFlow, Keras, PyTorch, MATLAB DL Toolbox, CNTK, etc.).
- Please use one of the four programming languages: MATLAB, Python, Javascript, or C/C++.
Hints
- It is possible to normalize velocity and acceleration using speed. For example, if you set a nominal speed to 20 m/s, then velocity can be linearly normalized and acceleration can be quadratically normalized.
- Very low speed data may not be useful since the vehicle dynamics are different than at mid or high speed. Also, large yaw rate indicates narrow turning; we are less interested in that data.
- RNN (LSTM) is preferred, but a feedforward network may also work.
Deliverable
Submit a single PDF file containing:
- Your complete, executable code (which must be runnable to regenerate all solution artifacts).
- Figures illustrating your results.
- A written summary of your approach, findings, and any recommendations.
All outputs: predictions, charts, tables, and discussion: must appear within the PDF. No separate files should be submitted.