repurpose automotive radar for UAV/UGV

Hello,

I was interested in trying an automotive radar for collision avoidance on a UGV. Automotive radar should be cheaper than LIDAR due to scale production and no moving parts, and requires less brains than stereo vision.

I got a Bosch sensor for an Audi Q5 (Audi part 8R0907561) off eBay. The magical search term was "Adaptive Cruise Control". There are other radars from other companies, I got that one because it was the cheapest and there was some information about it on the net.

Hooked it up to my laptop using a CAN-USB interface (photo below). It outputs a steady stream of messages, unfortunately those messages don't change when I change the distance to objects in front of the sensor. An example of the stream of packets is attached. I feel there may be some configuration that is sent to the sensor to get it to output range information. It gets a little warm to touch and draws around 180mA@12V, so something is happening.

What would really help is a log of the CAN bus traffic from an operational sensor. I could replay this log back into my sensor and see if it came alive.

* Has anyone tried to use an automotive radar?

* Does anyone have an Audi with adaptive cruise control and could log some data for me?

PS for anyone who is interested, here is some links about Bosch automotive radar:

Nice summary article talking about Bosch's radar development, no details. I think I have LRR2, not LRR3.
http://spectrum.ieee.org/green-tech/advanced-cars/longdistance-car-radar/0

A university thesis about how well the radar detects different objects. Has some details about the CAN messages but none of the messages match what I get. Probably the audi part has a different firmware.
http://etd.ohiolink.edu/view.cgi?acc_num=ohiou1304083389

Service manual for Adaptive cruise control in an audi a8 (in German) has some CAN bus and state diagrams.
www.volkspage.net/technik/ssp/ssp/SSP_289.PDF

Some more Bosch marketing material with nice detail (shows LRR3 has much wider field of view than LRR2).
http://www.vehicledynamics-expousa.com/08_conf/pdfs/day%202/09.50_hoetzer.pdf

Retrofit of ACC to an Audi Q7, this is where I got the pinout from.
http://audiforum.us/threads/adaptive-cruise-control-acc-retrofit.13441/

The CAN bus log is from a Kvaser leaf using Kvaser's canlib library, data format is
id length messages[0..7] flags time
- time is in milliseconds
- the logs are taken from start up, so step 1 start logging, step 2 turn on sensor.

script sort-log.py shows the unique messages.
Cheers

3690963596?profile=original

log1.txt

log2.txt

sort-log.py

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi Zach,

    Do you know how to differentiate whether it is LRR2 or LRR3 without opening it?

    Thanks.

  • Brilliant idea and great effort! If you come up with any further info, please let us know.

    I have a different application for using this same technology -- will investigate and see what I can come up with.

     

    Thanks, Tom

  • I am doing the similar thing. I am trying to find the cable. Can you find the can-usb interface that can be applied directly? It seems that you customized the cable with some additional wires.

  • Hi Zach,

    This is my first post here, but this question was so far up my alley I had to answer. I'm an automotive systems engineer working on active safety systems (not ACC) for a large automotive supplier.

    To get the unit to communicate your best bet is definitely to get CAN logs from a running vehicle with ACC active. The radar will likely need activation signals from the body computer before it does anything (e.g engine running status, activation from the driver, target speed etc.)

    Strictly speaking, this unit isn't only a radar though. It's combined with an FPGA for low-level processing of the radar returns and object detection, and an ARM CPU for the higher level cruise control algorithms. Typically, they do all the processing onboard, and send only engine and brake torque commands to other ECU's, so there may not be any distance data on CAN at all (sorry).

    Some units (it's different depending on the carmaker and supplier, I'm not sure about the Q5) may send distance data over CAN if the cruise control is done on an external ECU (body computer or engine controller), but this data will be optimised for automotive applications (i.e. detecting large chunks of metal moving at highway speed), not for UAV purposes (slow moving or static targets, which are not metallic).

    It may be (theoretically) possible to get at the raw radar data with some hardware hacking, but that's way beyond my experience (I'm a SW guy).

    Sorry if my answer isn't particularly helpful, but the high level of integration, and application specific SW makes using these sensors for other applications pretty difficult. 

    If you have anything else you want to know just ask and I'll do my best to answer. 

    Cheers

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…