Technology focus - ECU Development - Measurement and Calibration


The ECU (Electronic Control Unit) used in development process is not the same as a production ECU. It is specially equipped with a suitable interface for calibration which you will never see on a production ECU!

There are a couple of technologies available to 'talk' to the ECU, one is a simple CAN based interface - with a calibration interface driver software installed (known as CCP - CAN Calibration Protocol) – in this case, the ECU needs extra memory (compared to standard) to facilitate the on line handling of the measurement labels. Another option is to equip the ECU with an 'emulator'. This device is installed inside the ECU and has direct read-write access to the data bus inside the micro controller. It also has additional memory and processing capability in order to directly handle communication with the PC running the calibration tool software. Generally speaking, the emulator has superior performance to the CAN solution, but is more complex and costly to implement.



Fig 1 – ECU emulators (also known as ETK) can be parallel (i.e. directly connected to the data bus) or serial (i.e. directly connected to the microcontroller) (source: ETAS)

Once you have the physical connection to the ECU, then you need to understand what is going on inside, and be able to make some sense of it - also, you need to be able to make changes to parameters and store, or apply them. To facilitate this, you need 2 pieces of information, the actual calibration of the ECU, which is stored in a HEX file and information about how to read the HEX file, this is the A2L file. 

The HEX file is a binary file, so you need some additional information (from the A2L file) to know which part of the memory inside the microcontroller, is used for what values, and how do we convert the 1s and 0s into something meaningful – a physical value – for example, engine speed. These A2L and HEX files are standardised, and are delivered with every development ECU to allow the Calibration Engineer to access and calibrate the ECU.

Fig 2 – Once you have access to the ECU, you need to understand what’s going on inside – the a2l and hex file provide this! (source: ETAS)

The task, measuring and calibrating
So now we know the hardware and software involved, what does the calibration task actually mean, and how is it done? With the above mentioned set up, we can access the ECU during run-time, and make changes, for example, changing ignition timing to give the best performance at any given engine operating condition (speed, load). The ignition timing is held in a ‘map’ – the map covers all engine operating conditions and provides an ignition timing demand value as a set point. Using the calibration tool, the map can be adjusted during testing, optimising to give the best performance. Note that a map is considered as a single value (or label) to be calibrated.

Fig 3 – Calibration is round trip Engineering, making adjustments, measuring, analysing and then adjusting again (source: ETAS)

The calibration Engineer, using the calibration tool, has access to all the labels during testing, so he can adjust the calibration labels, and see responses by monitoring the measurement labels. In addition, the engineer may want to measure some additional information. So it is often the case that the calibration tool is used in conjunction with some measurement hardware, so that physical values can be measured with additional sensors, for example – exhaust temperature may be measured using installed sensors on a development vehicle, in order to calibrate the exhaust temperature model inside the ECU, which is used on the production ECU for component protection.

Fig 4 – Screenshot of the calibration tool, showing maps and curves (calibration labels) that need to be adjusted and optimised (source: ATI)


Fig 5 – Overview of a typical vehicle measurement set-up for calibrating the ECU (Source: ETAS)


During the development cycle, the Calibration Engineer will adjust and change many values inside the ECU in order to optimise and characterise the engine. In a modern powertrain, this can take teams of people months, or even years to complete. Consider an ECU, with 30,000 labels, which will be fitted to 10 variants of vehicles. Each vehicle has a different calibration in order to differentiate it in the market. Each vehicle has to be calibrated with respect to emissions, performance, fuel consumption, drivability and on-board diagnostics – each one of these tasks is considerable, and they all impact on each other. It is very typical that calibration of a single ECU variant is managed by large teams of Engineers, often with specialist knowledge of how a function works, and how to calibrate it. For example, there may be a team of Engineers calibrating emissions, which will include a specialist person or team who can deal with the start/stop system, or the after-treatment system. This complex environment creates masses of data (calibration and measurement) that needs to be handled, analysed, controlled and merged, in order to create the final ‘master’ calibration that will be signed off by the Chief Calibration Engineer. This is the final version that will then be deployed on the production vehicle. This final calibration is normally ‘flashed’ into the ECU during the vehicle production cycle. Prior to the final vehicle test, in the factory before shipping of the vehicle.

The future for ECU development
It recognised in Industry that the calibration task and associated software development for controllers is becoming the majority task in the development of a modern vehicle or powertrain. This trend is unlikely to reverse is becoming impossible to manage efficiently with traditional technical approaches. To deal with this, new methods for the task are being developed, optimised and deployed. A popular approach is model-based engineering. This means reducing the amount of testing, by making some strategic measurements, then using a mathematical model to fit to the measurements, and provide accurate prediction in the areas where no measurement was made. For example, if we take a simple map, which is 8 by 8 is size, this means 8 x 8 data point = 64. So, in order to populate this map we would need 64 measurements! However, it may be possible to make 20 strategic measurements, then fit model to this data, then make 12 measurements to validate the model (=32) and this would reduce the number of measurements by half. The key here is to define the measurement strategy effectively to be able to fit a model accurately. This needs an approach called design-of-experiment (DOE).

Fig 6 – The more parameters to be adjusted, the more work to be done, with current systems, the complexity is such that with a traditional approach, it would take years to calibrate an ECU!

Another fast moving trend to accelerate the development of ECU is the concept of ‘frontloading’ – this means, moving specific aspects or tasks earlier in the cycle, where they can be performed in a lower cost environment. For example, if a vehicle manufacturer did all their development with prototype vehicles, then the cost would be massive as many, many vehicles would be needed. So, to save time and money, if some of the tasks can be done in a test facility, then this is generally cheaper because the facility can be adapted and re-used again and again. A good example here is the engine, or transmission, a large amount of development can be done on a test bed, with just final adjustments and refinements made in a vehicle test.

With current technology developments, this has moved forward a step - much development work can now be done on a PC, with a simulation environment – and this very applicable to ECU development work. ECU software and functions can be developed and tested easily in virtual environments. A full ECU, with a vehicle, driver and environment can be simulated on a PC, and the simulation can be run faster than real-time, this means a 20 minute test run can be reduced to a few seconds (depending on the complexity and PC processing power) – providing simulated results for analysis and development. A typical next step would be to have the ECU itself in a test environment – thus being able to test the actual ECU code, running on the ECU hardware, with physical connections to electrical stimulation, but a complete virtual test environment (driver, vehicle, environment). This approach is known as HiL testing – Hardware-in-the-Loop!


Fig 7 – Signal flows in a real systems, compared to HiL simulation (source:dSPACE)

Fig 8 - Typical development paths and tasks for ECU development (Source: ETAS)

There is no doubt that developing and calibrating an ECU is a complex task! Many tools and technologies are available to help, and many more will need to be developed to keep up with the demand for more sophistication!

5:28:00 AM

Estonia October 2013

I'm sure a lot of Estonians would like to do this kind of stunts on a new Tesla...

Up Again Edition

Things are improving again for EV's in little Estonia, with 95 units sold to date and 0,56% share, a solid 0,26% share improvement over last August.

Looking at the ranking, the Nissan Leaf continues head and shoulders on top, with the Mitsu I-Miev closing in to the #2 Mia Electric.


PlEstoniaOct.     YTD%'12Pl
1Nissan Leaf959622
2Mia Electric
2021N/A
3Mitsubishi I-Miev116171

TOTAL1095100


Source: mnt.ee



Automotive technology

Automotive

Labels

1904 Columbus 1940 Ford 1964 Worlds Fair 1969 Camaro 1969 Dodge Coronet Super Bee 2014 2016 Sales 2017 The Bad 8 2017 The Good 12 3 wheeler 4 G 407 407 ex2 427 AC Cobra 440 six pack 442 4x 4x4 55 Chevy 57 Chevy 5th wheel AAR abandoned abs abuse by law enforcement AC Cobra Acadian accessories accident Acoustic processing Active noise control (ANC) Acura Acura Reviews adaptive cruise control ADAS Adobe AIR ads adventurers advertising aerodynamics Aircraft engines airlines airplane Airstream Alfa Alfa Romeo Alfa-Romeo All Cars Rankings All SUV Rankings All Vehicle Rankings Alpina Alpine AMBR winner ambulance AMC America's greatest photographers American LaFrance amphib AMX AMX-3 Andorra Andrew Poliak Android Andy Gryc anti lock braking system App World Apps Arab-Supercar area controller Ariel-Nomad ARM-based devices art Art Arfons Art Deco artist Asset management system Aston Martin Aston-Martin atv auction Audi Audi Reviews audio Augmented reality Austin Austin Healey Australia Austria Auto Accident Attorney auto car donate auto car donation Auto Donate Auto Donation California Auto hobby books Auto Sales By Brand auto show Auto Story in Pictures Wednesday auto taxi Autocar automobile automobile donation AUTOMOBILE INSURANCE automobile parts automobile safety system automobule donate Autonomous cars Awards awesome B 29 B 52 BAIC Baja racing Baker banners barn find barn finds barnfind barnfinds Barracuda Barris barum BatBerry Batman Batteries battery beautiful engine Beautiful paint before and after Belgium Bello's belly tanker Bentley Best Sellers Best Selling American Cars Best Selling Cars Best Selling Luxury Best Selling SUVs Best Selling Trucks Best Selling Vehicles bicycle bicycles Big 3 Swap Meet big wheel bike messengers bike rack biofuel biography BlackBerry BlackBerry Radar BlackBerry-QNX blink code blink code checkup blink code error blink code troubleshooting Blog blogs BMW BMW Audi Mercedes Benz Daimler jeep GM toyota Chrysler VW volkswagon nissan infiniti ford unique rare Bntley boardtrack Boats boattail Bonneville book review bookmobile Boss 302 Boss 429 brake brakes braking system Brand Marketshare brass era breedlove Brewster Brian Salisbury Bricklin bridge British Britten brochure Bugatti Buick Bulgaria burnout bus Buses buying selling cash tips money advice BYD c C-type Jag Cadillac Cadillac Reviews Camaro Can Am Canada Canada 2016 Sales Canada All Cars Rankings Canada All SUV Rankings Canada All Vehicle Rankings Canada Auto Sales Canada Auto Sales By Brand Canada Best Sellers Canada Compact Car Sales Canada December 2016 Canada Entry Luxury Car Sales Canada February 2017 Canada January 2017 Canada Large Car Sales Canada Large Luxury Car Sales Canada Large Luxury SUV Sales Canada Large SUV Sales Canada March 2017 Canada Midsize Car Sales Canada Midsize Luxury Car Sales Canada Midsize Luxury SUV Sales Canada Midsize SUV Sales Canada Minivan Sales Canada November 2016 Canada October 2016 Canada Premium Sporty Car Sales Canada September 2016 Canada Small Luxury SUV Sales Canada Small SUV Sales Canada Sporty Car Sales Canada Truck Sales Canada Van Sales Canada Worst Sellers car care car chase scene car clubs car collections car collectors Car Donate car donate california car donation Car Donations California Car or the Future car wash carbs carrozzeria cart caterpillar tracked vehicle CCS celebrities celebrity Certicom CES CESA 2012 CESA 3.0 Chademo Challenger Chaparral Charger Charity Charity auction charity car donation Charity Car Donation Program Charity Car With Your Credit Card cheating Checker Chery Chevelle Chevrolet Chevrolet Reviews Chevy 2 China chopper Christian Sobottka Christie Christmas Chrysler Citroen Citroën classics cleaning clip Cloud connectivity CO2 Cobra Cobra Daytona Coupe Cobra Mustang Cobra Torino COE Cogent collection collector College Colombia commercial common rail direct injection Compact Car Sales companies comparison compliment components components of anti-lock braking system concept Concept car Concept team Connected Car construction Consumer Electronics Show consumers Contest convertible Coronet Corvair corvette Corvettes Costa Rica coupe coventry cragar crash crde crdi Croatia Crosley crossover Cruise 4 Kids crypto cryptography CTS Cuda Cunningham Curtiss Aerocar Custom customer satisfaction cutaway display cycle car Cyclone Cyprus Czech Republic dacia Daihatsu Dan Gurney dart Datsun Daytona ddis DDS dealers Dealership Dean Martin December 2016 Degree delivery truck Delorean Delphi Demon Denmark Derek Kuhn design deuce devices Dick Landy dicor Digital instrument clusters digital spark ignition Diner with car theme direction injection Disney display diy Dodge domain controller Donate Donate A Car Tax Deduction Donate Automobile To Charity Donate Car To Charity Tax Deduction Donate Vehicles To Charity donation donation auto car donation vehicles to charity Doug Newcomb Drag racing drag strip Dragonsnake dragsters DREAM drifting Driven Driver distraction driving assistance drunk driver DS dtsi dual carbs dual engined dualie Ducati dump truck dvla E-type Jag ECC economy ECU Ecuador electric electric car Electric cars electromagnetic brake Elliptic Curve Cryptography EMF Emil Dautovic Endurance racing engine engine accessories Engine sound enhancement engines Entry Luxury Car Sales enzo Erskine Essex estate Estonia etc EUCAR Europe EV Business Case Evel Knievel event experience experiment extreme sports video F1 Factor-Aurelio Factory lightweight Factory race car Fairlane Falcon Fast boot Fast-Charging FCA FCEV February 2017 Ferrari Fiat Fiat Botafogo finance Finland fips fire engine fire fighting fire trucks Firebird Firestone firetrucks Fisker flamejob fleet management Ford ford escort Ford Reviews Fordson tractor Forecasts FOTA found around the neighborhood France Franklin Free Car Donation Freescale french fuel fuel injection fuel injection system Fuel Tanker fuel-cell fun Funny car Futurliner gadgets Galpin Ford game garage garner gas mileage gas stations Gasser Gauges GCBC Awards GCBC Most Popular Geely Gene Winfield General Motors German Germany give your car to charity GM GM MyLink GNX Go cart good news Goodwood Goodyear gourmet food vans GPU Graham Gran Prix Grand National Roadster Show 2017 Grand Sport Corvette Graph Great Wall Motors Greece green Green car Gremlin GT GT 350 GT 40 GT 500 gt40 GTO GTX Gulf race car Gullwing Guy Martin Hands-free systems Harley Harley Davidson hauler Hawaii helicopter hemi hemmings Hennessey Henry J hero Hertz hire Hispano-Suiza historical history HMIs Holden Hollywood Holman Moody Honda Honda Reviews Honda Sales Hong Kong Hood ornaments hood scoops Horizon 2020 horse carriage horse wagon host blog info about auto Hot rods Hot Wheels Housekeeping How To Donate How To Donate A Car For Tax Deduction How To Donate Car To Charity how to donation car to charity HRM HTML5 Hudson Hummer humor humour Humvee Hungary Hupmobile Hurst Hurst SC Rambler hybrid Hybrid cars hydrogen hypervisor Hyundai Hyundai Reviews Ian Roussel Iceland ID4 Car ignition IIoT immitation Impala india Indian Indianapolis industry news infiniti Infiniti Reviews Info infographic informative Infotainment Injury Lawyer Innotrans innova innovation innovative instrument panel insurance intake Intel interior International Harvester Internet of Things Internet radio invitation IoT Ireland iris iris details iris engine details iris technical Isetta Iskenderian Isky Isle of Man ISO 26262 Israel issues Isuzu Italian Italy ITS ITU IVI Jaguar January 2017 Japan Japanese Javelin Jay Leno Jean-François Tarabbia Jeep Jeep Wrangler JLR John D'Agostino John Deere John Wall Justin Moon jv Kaivan Karimi Kandi kawasaki Ken Block Kerry Johnson Kia kids Kim Cairns Kissel Kombi Kroy Zeviar Kurtis La Carrera Panamerica lace paint Lamborghini Lamborghini Revuelto Lancia Land Cruiser Land Rover Land Rover Sales land speed record holder Land-Rover Large Car Sales Large Luxury Car Sales Large Luxury SUV Sales Large SUV Sales Larry Wood LaSalle Latvia launch law enforcement lawnmower laws Le Mans legends Leno Lexus license plates Lidar Life Insurance limited Lincoln Lincoln MKZ Linda Campbell Linda Vaughn links lists Lithuania live Loans Locomobile logging train logging trucks Lola London to Brighton Looking for EV's Los Angeles Lotus lowrider LSR Luxembourg luxury Lyft Lynn Gayowski Mach 1 machine shop Mack Mad Max magazine magazines magic iris mags Malaysia March 2017 Mario Andretti Mark Donohue marketing Marketshare Maserati Matt Watson Maverick Mazda Mazda Reviews MB McLaren mechanic Megan Alink meme Memory Lane Men Micro Mercedes Mercedes Benz Mercedes-Benz Mercer Cobra Mercury Metallica Metro Mexico Miata microkernal Midsize Car Sales Midsize Luxury Car Sales Midsize Luxury SUV Sales Midsize SUV Sales Military Miller race car mini mini bike miniature Minivan Sales MirrorLink mission-critical Mitsubishi Miura MMI Mobile connectivity Mobile World Congress mod top Model Model A model T modifications Momo Monaco Monster Truck Moon Moon eyes Mopar Mopar parts Morgan Morocco morons mot Motor shows motor wheel Motorcycle Motorcycles motorhomes Mouse movie movies mpv Multicore Munsters Muntz muscle cars musclecars museum music video Mustang NAIAS Nancy Young Nascar Nash Navigation naza neglec neglected Netherlands new tv show New York New Zealand news ni Nissan Nissan Reviews Nomad Norway nos nose art Nova November 2016 Nurburgring Object Management group October 2016 off roading offenhauser Oldsmobile OMG Online College OnStar Opel Open source Open standards OpenGL ES option orders original owner Ormond Beach land speed racing pace car Packard Pagani Paige pamphlet panel paint Paris to Peking race parking parts Patryk Fournier Paul Leroux Paul Newman Paul Sykes Pebble Beach pedal car perodua personal Peter McCarthy petrol petroliana Peugeot Phoenix Injury photographer photography pics pictures Pierce Arrow Pike's Peak Pinin Farina pinstriping Pit row Pits Pixar PKI plank road PlayBook Plymouth Point Grey Camera Poland pole wheel police Polysynch Pontiac Porsche Porsche 917 Porsche Carrera Portugal POSIX pre 1930's gas station Premium Sporty Car Sales President of the USA Preview prices prius project prooject Proton prototype PSA Peugeot Citroen public key cryptography Pullman QNX QNX CAR QNX Garage QNX OS Qualcomm quiz quote race cars racing racing. LSR Radar radio Raid Data rail railcars railroad ralliart Rally rallying Ram range rover rant Rapid Transit System advertsing rare Real time Innovations recall recommended shop record setter Red Bull Sports Reference vehicle Reliability Rémi Bastien RemoteLink Renault Renesas Renntransporter rentals REO repair reports resarch research restoration restoration shop review Richard Bishop Ridler Award Winner rims river bank cars road and highway Road Runner roadster Robot OS Robot wars Roewe Roger Penske Rolls Royce Romain Saha Romania ROS Roth RTI RTI Connext rumble seat Russia Ruxton RV Safety Safety systems safety-certified sales Sales By Model Sales Stats samba sampan Saoutchik Satellite satnav Scaglietti scallops Scat Pack SCCA racecar School bus sci-fi Scooter SCORE Baja trucks Scott Pennock Scout sculpture Security sedan segway semi sensor extension cable sensor fusion September 2016 service service repair automotive vehicle car buying selling mission statement blog free broker shay drive locomotive Shelby shifter shop Show cars sidecars signs skateboarding Skoda slicks slingshot dragster Slovakia Slovenia Small Luxury SUV Sales Small SUV Sales Smart Smartphones snow machines snowmobile Soapbox South Africa South Korea Sox and Martin Spain spare tire spark ignition spark plug spark plugs Spatial auditory displays special edition Mustangs Speech interfaces speed limit Speed Record speedfest speedster sports car sports cars Sporty Car Sales spy shots spyker Sri Lanka SS SS/AH Stagecoach Stanley Station Wagon steam locomotive steam powered steam shovel steampunk steering wheel Steve McQueen Stig Stirling Moss Stolen streamliner street cars Street Van studebaker stunt stunts Stutz Stutz Blackhawk Subaru Sunbeam Super Bee Super Stock Superbird Supercar supercharger survey suv Suzuki Sweden Swift Switzerland System development Life Cycle Tablets Tach takeover tank tata tata magic iris tata vehicles tax Tax Deduction For Car Donation taxi taxi cab TCS tdi teardrop technical technology Telematics Telematics Detroit Telematics Update tempo Tempo Matador Terlingua Racing Team Terry Staycer Tesla test testdrive Texas Instruments The Race Of Gentlemen Thomas Bloor thoughts three wheeler Thunderbird ticket Tiger Tim Neil Tina Jeffrey tips tires tool tool kit toolbox tools Top Gear top ten list Torino tour bus tourbus towtruck Toyota Toyota Entune Toyota Reviews tractor trailer train train wreck trains Trans Am transmission Transporter Traval trike Triumph trivia trolley Troy Trepanier truck Truck Sales trucking trucks Tucker turbocharger turbojet turbonique Turkey tv tv cars twin spark type 1 type 2 tyres UAE Uber UK UK Auto Sales UK Best Sellers uk market Ukraine Unimog unique University of Waterloo Unser unusual unveil upgrade US US 2016 Sales US All Cars Rankings US All SUV Rankings US All Vehicle Rankings US Auto Sales US Auto Sales By Brand US Best Sellers US Compact Car Sales US December 2016 US Entry Luxury Car Sales US February 2017 US January 2017 US Large Car Sales US Large Luxury Car Sales US Large Luxury SUV Sales US Large SUV Sales US March 2017 US Midsize Car Sales US Midsize Luxury Car Sales US Midsize Luxury SUV Sales US Midsize SUV Sales US Minivan Sales US Navy US November 2016 US October 2016 US September 2016 US Small Luxury SUV Sales US Small SUV Sales US Sporty Car Sales US Truck Sales US US Auto Sales US Van Sales US Worst Sellers USA used cars V2X van Van Sales vauxhall VeDeCoM Vehicle Donation California Velodyne Vespa Video vintage vintage racing Virtual mechanic Virtualization VOIP Guide Volkswagen Volkswagen Reviews Volkswagen Sales Volvo Von Dutch vote VW VW bug W3C wagon train wall of death washer washer fluid Watson's Webinars website what is donation what is it wheel speed sensor wheelchair White williams Willys windshield washer wing Wireless framework women woodlight headlights Woody work truck working principle of anti-lock braking system workshop World Worst Sellers wreck Wrongful Death WW1 WW2 XK SS Yoram Berholtz Yoshiki Chubachi Z 11 Z-28 Z28 zamboni ZL1 Zotye