ECU - Electronic Control Unit
MES - McLaren Electronic Systems
Fast Facts
Sensors on a Formula One race car: 150 - 300
Data generation rate while racing: 100 kilobytes to 0.5 megabytes per second
Data generated during 1 Grand Prix race: 1 to 2 gigabytes
Data generated during 1 Grand Prix weekend: 100 gigabytes, that's equivalent of 250 DVD-s
ECU data collected per car per year (including practice laps and equipment testing): 2 to 3 terabytes, that's equivalent of nearly 5000 DVD-s
Application Platform Capabilities: Development, Data Management
Formula One racing represents the highest class of auto racing, and is constantly pushing the leading edge of technology. Computers have long been used in designing and optimizing the complex settings for race cars, and for collecting onboard data that is transmitted back to support teams on the pit wall. A key component is the ECU, which gathers data from sensors on the car and wirelessly transmits data to race team support crews.
As part of its ongoing efforts to control costs, provide a level playing field for racing teams, and sustain safety, the FIA in the spring of 2006 invited manufacturers of automotive electronics to propose a standardized ECU for inclusion in all Formula One cars for the 2008, 2009, and 2010 championships. The FIA chose the ECU solution developed by McLaren Electronics and Microsoft, and awarded the joint-effort the contract to supply the solution to all competing Formula One teams.
McLaren Electronic Systems, an independent company of the McLaren Group of companies, which includes the famed McLaren Racing organization, is a supplier of advanced motorsport control and development support systems including the engine control unit (ECU) that manages the complex engine, transmission, steering, suspension and other key elements of Formula One race cars.
The solution comprises the power train control, data logging and telemetry control components on the car and also a central data server in the garage which receives data from the car, logs it for near instant analysis and redistributes it to client tools of the racing team's choice. (NB McLaren can also provide the client tool capable of both receiving real time and interrogating historical data). The in-garage components (data server and client tool) are known as ATLAS (Advanced Telemetry Linked Analysis System).

Formula 1 ECU, MES McLaren Electronic Systems
The ECU monitors all aspects of the power train and gathers data from 150 to 300 sensors located on each car. Generating between 100 kilobytes and 0.5 megabyte of data per second, one car's ECU will potentially gather more than 1 gigabyte of information from the sensors during a grand prix race, with all of it continuously broadcast in real time back to systems located in the track-side garage of each Formula One car. Here the ATLAS data server must log the data without loss and provide the means for Engineers to almost instantly retrieve and analyze the data. In addition, where not all the data could be transmitted for example due to restricted bandwidth, on returning to the garage the missing data is taken directly from the car and the gaps automatically filled in by the server.
McLaren Electronics and Microsoft have worked together closely, developing Formula One technologies. The ECU data, collected during practice laps and racing, as well as from testing equipment in the garage and from factory simulators, has proven so valuable that McLaren Electronics wanted to provide a storage solution that made it easier and faster to retrieve telemetry data stored in specially developed, highly efficient files. In addition the company wanted to make this data available through other tools such as Excel with a standard Open Database Connectivity (ODBC) or Object Linking and Embedding Database (OLEDB) data access capability, without the need to understand the file formats being used.
McLaren Electronic Systems saw immediate value in the Microsoft Application Platform and, in particular, the FILESTREAM feature of Microsoft SQL Server® 2008 database software. New for SQL Server 2008, FILESTREAM integrates the SQL Server Database Engine with the NT File System (NTFS) by storing binary data as files on the file system while letting the data remain an integral part of the database and maintaining transactional integrity. Transact-SQL statements are used to insert, update, query, and back up the FILESTREAM data within the database. In the meantime the existing client tool can use Win32 file system interfaces for streaming access to the data as if reading and writing to a file.
The essence of the problem they faced was how to deal effectively with a high volume of time series data," says Paul Spence, Product Director with McLaren Electronic Systems. "Prior to SQL Server 2008, this was not something that we felt any database could really handle properly."
Working with Microsoft and Conchango, a Microsoft Gold Certified Partner specializing in enterprise data integration, McLaren Electronics executed a proof of concept (PoC) project to test the efficiency of FILESTREAM. The PoC was a success and McLaren Electronics and Conchango are now fully developing the solution using SQL Server 2008 and its FILESTREAM feature at its core.
Basic architecture of the McLaren Electronics solution
created and deployed using the Microsoft Application Platform
Architecture
The McLaren Electronics solution has a multi-tier architecture that includes:
- ECU. The McLaren Electronics ECU is the onboard hardware device with embedded code that gathers data from the Formula One car's engine, transmission, suspension system, frame components and other key elements, encrypts the data; and transmits it to the trackside support team.
- ATLAS Server. ECU data from the car is sent to the ATLAS server solution developed by McLaren Electronics, initially using the Visual Studio® 2005 development system, and now Visual Studio 2008. The ATLAS Server unpacks the telemetry data from the ECU and multicasts it to ATLAS client software being used by support crews.
- ATLAS Client. The ATLAS Client software runs on support team computers, usually laptops in the garage. The ATLAS Client provides near real-time display of data and corresponding graphics that help support teams to monitor the health of the racing car across a spectrum of parameters. The ATLAS client, developed by McLaren Electronics, runs on the Microsoft Windows XP or Windows Vista operating system. Microsoft Office Excel 2007 spreadsheet software is used for additional data analysis and visualization. On large racing teams there can be more than 30 support team members studying ECU data on their laptops during a race, with one set of engineers and technicians studying transmission feeds, while others analyze telemetry data from the engine, suspension, and other systems.
- ATLAS Database. The Atlas Database offers McLaren Electronics a relational database for ECU data to provide an easily searchable central repository. Hosting ECU data on Microsoft SQL Server 2008 running on the Windows Server® 2008 Enterprise operating system, using the FILESTREAM feature for faster access, will provide seamless access to historic ECU data - - whether from previous races, test lab simulations, or just the last lap run. Conchango is working with McLaren Electronics and Microsoft to create the database solution. The database schema includes all of the metadata about the race, test, or other ECU-generating event. The schema also includes a specific session data table with the file stream BLOB column for each ECU-generating event. The solution also uses the common language runtime (CLR) hosted within SQL Server. When an ECU data set is requested, a CLR function expands the binary data as a parameter result set so that it can then be consumed by reporting and visualization tools such Office Excel 2007 and SQL Server 2008 Reporting Services.
Fast and Seamless Data Access using FILESTREAM
One of the factors behind the need for speed in accessing data is that race teams collect so much information. "A racing team might collect 2 or 3 terabytes of data per year, and need the ability to access 4 or 5 years worth of data," says Spence. "So the volumes are large. SQL Server 2008 enables us to use the FILESTREAM mechanism to point to a BLOB and stream it, providing much faster access than we would get through a typical table query."
The unpredictability of racing is another major force behind the need for immediate access to large volumes of ECU data.
"The reasons teams gather so much information is that you're never absolutely certain as to what you will need to look at during a race or during a test," says van Manen. "What you do know is that any decision making, especially during a race, will have to be made nearly immediately. A team has a massive amount of data to guide their decisions, but they need the ability to access that data swiftly and precisely. If they need to compare data points with earlier runs, all of the earlier examples need to be immediately accessible for comparison. With Formula One, you are operating within a very impatient world."
Spence agrees about the demands of working within an impatient world: "The most important thing to the team is the speed of access. "We all know how frustrating it is if you load something on a computer and you have to wait for a minute. When you're in the racing environment the pressure is intense. You need a robust, high-performance system when you've got someone shouting at you, 'We need to know what to do before the car goes!' The proof of concept demonstrated that SQL Server 2008 and FILESTREAM clearly outperformed our file system, while greatly improving data integrity."
The combination of performance, data integrity, and robustness has made McLaren Electronics eager to offer its database solution to all Formula One teams.
"To support the racing teams we need three things from a database: performance, integrity, and robustness," says van Manen. "If you can find all three, you've got a winner. SQL Server 2008 wins on all three points."
The essence of the problem we faced was how to deal effectively with a high volume of time series data. Prior to SQL Server 2008, this was not something that we felt any database could really handle properly."
The ECU generates data on 500 to 1,000 parameters that are of continuous interest to the pit-side crews, and there's another 10,000 data points that are examined less frequently to guide diagnostics. … Moving all of this to SQL Server 2008 greatly simplifies data management."
With the advent of the SECU (Single specification ECU provided by McLaren Electronics) nothing can be controlled from the pitwall.
The SECU will monitor around 120 functions, these range from engine and geabrox parameters, to temperature sensors, Driver heart beat, brake wear and even pressure sensors for the aerodynamics. Here is the list of dedicated sensor inputs to ECU:
This is the defintive list...
Engine air valve pressure 1
Engine air valve pressure 2
Engine air valve tank pressure
Airbox air pressure
Ambient air temperature
Cam sensor
Crank sensor 1
Crank sensor 2
Injector supply voltage
UEGO Sensor left bank
UEGO Sensor right bank
Gearbox shift drum position 1
Gearbox shift drum position 2
Gearbox input shaft speed
Clutch position 1
Clutch position 2
Clutch actuator hydraulic pressure
Lateral Acceleration
Longitudinal Acceleration
Differential actuator hydraulic pressure
Engine throttle position 1
Engine throttle position 2
Hand controller demand
Throttle Pedal Input 1
Throttle Pedal Input 2
Front Brake pressure
Rear Brake pressure
Hand controller enable
Hydraulic System pressure
Lap Trigger
Garage Mode Select
Engine kill ignition switch
Front Left Wheel speed
Front Right Wheel speed
Rear Left Wheel speed
Rear Right Wheel speed
Gearbox oil pressure
Engine oil pressure
Engine crankcase pressure
Engine coolant pressure
Fuel Pressure
Fuel Collector Pressure
Fuel Collector Level
Gearbox oil temperature
Engine oil temperature
Engine coolant temperature
Fuel Temperature
Exhaust Temperature Left
Exhaust Temperature Right
Spare Analogue Input 1
Spare Analogue Input 2
Spare Analogue Input 3
Spare Analogue Input 4
Spare Analogue Input 5
Spare Analogue Input 6
Spare Switch Input 1
Spare Switch Input 2
Spare Switch Input 3
Spare Speed Input 1
Spare Speed Input 2
Spare Speed Input 3
Spare LVDT 1
Back to the top of the page
