Virtual Instrumentation – Accelerating Automotive Test Development“Developing Complex Systems Faster and Cheaper”Thorsten MayerNational Instruments
National InstrumentsLeaders in Computer-Based Measurement and Automation, headquartered in Austin, TX USALong-term Track Record of  Growth and ProfitabilityFortune’s 100 Best Companies to Work for Ninth Consecutive Year16% of revenue invested in R&DDr. Truchard and Jeff Kodosky inducted into Electronic Design Hall of  Fame for their pioneering work in virtual instrumentationMore than 4,700 employees ( > 2000 engineers) worldwide in over 40 countries (>1000 employees in Eastern Europe)$ 740M record revenue in 2007Net Revenue in Millions
NI Automotive CustomersAudiToyotaNissanHondaBoschContinentalDelphiVisteonAutolivDaimlerChryslerLand RoverJaguarBMWVolkswagenTRWGeneral MotorsEaton CorpLear CorpSaabFordSiemens VDO
Breed Technologies
Fiat
MagnetiMarelli
Ferrari
Skoda
Suzuki
Valeo
Volvo…to name a few
NI in Automotive ApplicationsGearbox Health Monitoring System
PC Based Automotive Steering Gear Test Rig
Field Trial & Application Trial Kits for GDU and Glow Plug
Tire Unbalance Test System
Networked Test System For Braking Components
Automated Fuel Injection Pump Test Stand
Inspection of Automobile Spark Plugs
Weiss Cold Chamber Monitoring & Brake Test System
CAR Body Shell Stress test
ECU validation and End-Of-Line test
Automated Vision System for Electronic Automotive Cluster
Starter Motor Durability Test Stand
Car Window Regulators Testing System
Hardware in The Loop…to name a few
Vehicle Production Capacity – Eastern Europe“Cheap car trend pushes development to Central Eastern Europe”  EE Times Europe, 28 March 2008
Automotive Technology TimelineTelescopeShockAbsorberMechanicsSteelCarBody4 WheelHydraulicBrakesIndependentSuspensionElectricStarterPowerSteeringFlashingTurn SignalsAirConditioningElectronics1900		1910		1920		1930		1940AssemblyLineMass ProducedFront Drive MassProductionATPowerSteeringMacPhersonStrutCarburetorDrumBrakesMechanicsElectronicsContinuouslyVariableTransmissionMassProductionHEVSensorsCruiseControlEmissionsControlElectronicFuel InjectionAntilockBrakesTelematicsAir BagsFuel EfficiencyECUSoftware/Microprocessor1950		1960		1970		1980		1990TractionControlAlt FuelKeylessEntryGasolineDirectInjectionVariableValveTimingMassProductionDisc BrakesRegenerativeBrakingWidely usedCatalyticConverterProductionTurbo ChargeTPMSPowerLocksMechatronics andAlgorithm EngineeringAdaptiveCruiseControlCommerciallyAvailableAutomatic ParkingCommerciallyAvailableFuel CellPHEVHCCI2000		2010		2020		2030		2040
Automobiles Then and Now…Mechanics and hydraulics3 ECUsAM/FM radioRelay-control unitsCANElectromechanics15 to 80 ECUsTelematics (Infotainment)Power-control unitsCAN, FlexRay, MOST, IDB ...ABI Research: „40% of the car will be electronics by 2010 !“
…Software Defines The FunctionalityGreat benefits but also a few challenges…Car Radio
P a r a l l e lTechnology Evolution
Testing Becomes More DifficultNavigationCellularPhoneCD+RWPC/WWW/ EmailAutomotiveTelematicsTVGamesDVD+RWRemote DiagnosticsAM/FM StereoSatellite Car Alarm/Radio
Function GeneratorProgrammable SwitchOscilloscopeCommunications AnalyzerPattern GeneratorLogic AnalyzerDMMPower SupplyLCR MeterSpectrum AnalyzerA Traditional Approach Does Not Scale AnymoreAutomotiveTelematics
Test Development AcceleratorsAbstraction	     – 	Fast DevelopmentReconfiguration  –	Fast AdaptationIntegration	     –	Fast Assessment
   Use a Common Platform Approach Virtual Instrumentation
Test Development AcceleratorsAbstraction	     – 	Fast DevelopmentReconfiguration  –	Fast AdaptationIntegration	     –	Fast Assessment
Increasing Levels of Software AbstractionSystem design platformC#C++AbstractionCAssembly languageMachine codeSystem complexity
LabVIEW Graphical ProgrammingCompiled graphical development environmentDevelopment time reduction of four to ten timesTools to acquire, analyze, and present your data
Speed Development with Graphical ProgrammingLabVIEWC*C*LabVIEW* does not include code to generate UI
Abstractions – Leveraging Latest Technology Trends
Multicore has Arrived“Intel pledges 80 cores in five years”    - Paul Otellini, Intel CEOIntel Developer Forum,September 200619
Impact on Engineers and ScientistsYou must create multithreaded applications to maximize benefit from multicore processors. Measurement or Control ApplicationData AcquisitionUserInterfaceNetworkComm.LoggingTHREADTHREADTHREADTHREADOperating SystemCPU CoreCPU CoreCPU CoreCPU Core20
Example: Text-Based Multithreadingvoid ThreadTwo( void *){  for ( int i = 0; i < 10000; i++)  {    // Request ownership of the critical section    EnterCriticalSection(&g_criticalSection);    // Access the shared resource    g_iResult += 1;    // Release ownership of the critical section    LeaveCriticalSection(&g_criticalSection);  }  // Finished  g_bThreadTwoFinished = true;  _endthread();}int main(){  // Initialize the critical section  InitializeCriticalSection(&g_criticalSection);  // Start the threads  _beginthread(ThreadOne, 0, NULL);  _beginthread(ThreadTwo, 0, NULL);  // Wait for the threads to finish  while (( false == g_bThreadOneFinished)  || ( false == g_bThreadTwoFinished))  {    Sleep(1);  }  // Release resources used by the critical section  DeleteCriticalSection(&g_criticalSection);  // Print the result  printf("Result: %i\n", g_iResult);#include <windows.h> #include <stdio.h> #include <conio.h> // CriticalSection.cpp#include <windows.h>#include <stdio.h>#include <process.h> CRITICAL_SECTION g_criticalSection;bool g_bThreadOneFinished = false;bool g_bThreadTwoFinished = false;int g_iResult = 0;void ThreadOne( void *){  for ( int i = 0; i < 10000; i++)  {    // Request ownership of the critical section    EnterCriticalSection(&g_criticalSection);    // Access the shared resource    g_iResult += 1;    // Release ownership of the critical section    LeaveCriticalSection(&g_criticalSection);  }  // Finished  g_bThreadOneFinished = true;  _endthread();}	}
Graphically Simplifying ParallelismGraphical approach intuitively exposes thread opportunities
LabVIEW automatically creates multiple threadsParallel Application: Automotive TestIn-vehicle test system for truck transmissions using LabVIEWAcquired and analyzed 16 channels on a single-core system

Accelerating automotive test development may 2008

  • 1.
    Virtual Instrumentation –Accelerating Automotive Test Development“Developing Complex Systems Faster and Cheaper”Thorsten MayerNational Instruments
  • 2.
    National InstrumentsLeaders inComputer-Based Measurement and Automation, headquartered in Austin, TX USALong-term Track Record of Growth and ProfitabilityFortune’s 100 Best Companies to Work for Ninth Consecutive Year16% of revenue invested in R&DDr. Truchard and Jeff Kodosky inducted into Electronic Design Hall of Fame for their pioneering work in virtual instrumentationMore than 4,700 employees ( > 2000 engineers) worldwide in over 40 countries (>1000 employees in Eastern Europe)$ 740M record revenue in 2007Net Revenue in Millions
  • 3.
    NI Automotive CustomersAudiToyotaNissanHondaBoschContinentalDelphiVisteonAutolivDaimlerChryslerLandRoverJaguarBMWVolkswagenTRWGeneral MotorsEaton CorpLear CorpSaabFordSiemens VDO
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
    NI in AutomotiveApplicationsGearbox Health Monitoring System
  • 13.
    PC Based AutomotiveSteering Gear Test Rig
  • 14.
    Field Trial &Application Trial Kits for GDU and Glow Plug
  • 15.
  • 16.
    Networked Test SystemFor Braking Components
  • 17.
  • 18.
  • 19.
    Weiss Cold ChamberMonitoring & Brake Test System
  • 20.
    CAR Body ShellStress test
  • 21.
    ECU validation andEnd-Of-Line test
  • 22.
    Automated Vision Systemfor Electronic Automotive Cluster
  • 23.
  • 24.
    Car Window RegulatorsTesting System
  • 25.
    Hardware in TheLoop…to name a few
  • 26.
    Vehicle Production Capacity– Eastern Europe“Cheap car trend pushes development to Central Eastern Europe” EE Times Europe, 28 March 2008
  • 27.
    Automotive Technology TimelineTelescopeShockAbsorberMechanicsSteelCarBody4WheelHydraulicBrakesIndependentSuspensionElectricStarterPowerSteeringFlashingTurn SignalsAirConditioningElectronics1900 1910 1920 1930 1940AssemblyLineMass ProducedFront Drive MassProductionATPowerSteeringMacPhersonStrutCarburetorDrumBrakesMechanicsElectronicsContinuouslyVariableTransmissionMassProductionHEVSensorsCruiseControlEmissionsControlElectronicFuel InjectionAntilockBrakesTelematicsAir BagsFuel EfficiencyECUSoftware/Microprocessor1950 1960 1970 1980 1990TractionControlAlt FuelKeylessEntryGasolineDirectInjectionVariableValveTimingMassProductionDisc BrakesRegenerativeBrakingWidely usedCatalyticConverterProductionTurbo ChargeTPMSPowerLocksMechatronics andAlgorithm EngineeringAdaptiveCruiseControlCommerciallyAvailableAutomatic ParkingCommerciallyAvailableFuel CellPHEVHCCI2000 2010 2020 2030 2040
  • 28.
    Automobiles Then andNow…Mechanics and hydraulics3 ECUsAM/FM radioRelay-control unitsCANElectromechanics15 to 80 ECUsTelematics (Infotainment)Power-control unitsCAN, FlexRay, MOST, IDB ...ABI Research: „40% of the car will be electronics by 2010 !“
  • 29.
    …Software Defines TheFunctionalityGreat benefits but also a few challenges…Car Radio
  • 30.
    P a ra l l e lTechnology Evolution
  • 31.
    Testing Becomes MoreDifficultNavigationCellularPhoneCD+RWPC/WWW/ EmailAutomotiveTelematicsTVGamesDVD+RWRemote DiagnosticsAM/FM StereoSatellite Car Alarm/Radio
  • 32.
    Function GeneratorProgrammable SwitchOscilloscopeCommunicationsAnalyzerPattern GeneratorLogic AnalyzerDMMPower SupplyLCR MeterSpectrum AnalyzerA Traditional Approach Does Not Scale AnymoreAutomotiveTelematics
  • 33.
    Test Development AcceleratorsAbstraction – Fast DevelopmentReconfiguration – Fast AdaptationIntegration – Fast Assessment
  • 34.
    Use a Common Platform Approach Virtual Instrumentation
  • 35.
    Test Development AcceleratorsAbstraction – Fast DevelopmentReconfiguration – Fast AdaptationIntegration – Fast Assessment
  • 36.
    Increasing Levels ofSoftware AbstractionSystem design platformC#C++AbstractionCAssembly languageMachine codeSystem complexity
  • 37.
    LabVIEW Graphical ProgrammingCompiledgraphical development environmentDevelopment time reduction of four to ten timesTools to acquire, analyze, and present your data
  • 38.
    Speed Development withGraphical ProgrammingLabVIEWC*C*LabVIEW* does not include code to generate UI
  • 39.
    Abstractions – LeveragingLatest Technology Trends
  • 40.
    Multicore has Arrived“Intelpledges 80 cores in five years” - Paul Otellini, Intel CEOIntel Developer Forum,September 200619
  • 41.
    Impact on Engineersand ScientistsYou must create multithreaded applications to maximize benefit from multicore processors. Measurement or Control ApplicationData AcquisitionUserInterfaceNetworkComm.LoggingTHREADTHREADTHREADTHREADOperating SystemCPU CoreCPU CoreCPU CoreCPU Core20
  • 42.
    Example: Text-Based MultithreadingvoidThreadTwo( void *){  for ( int i = 0; i < 10000; i++)  {    // Request ownership of the critical section    EnterCriticalSection(&g_criticalSection);    // Access the shared resource    g_iResult += 1;    // Release ownership of the critical section    LeaveCriticalSection(&g_criticalSection);  }  // Finished  g_bThreadTwoFinished = true;  _endthread();}int main(){  // Initialize the critical section  InitializeCriticalSection(&g_criticalSection);  // Start the threads  _beginthread(ThreadOne, 0, NULL);  _beginthread(ThreadTwo, 0, NULL);  // Wait for the threads to finish  while (( false == g_bThreadOneFinished)  || ( false == g_bThreadTwoFinished))  {    Sleep(1);  }  // Release resources used by the critical section  DeleteCriticalSection(&g_criticalSection);  // Print the result  printf("Result: %i\n", g_iResult);#include <windows.h> #include <stdio.h> #include <conio.h> // CriticalSection.cpp#include <windows.h>#include <stdio.h>#include <process.h> CRITICAL_SECTION g_criticalSection;bool g_bThreadOneFinished = false;bool g_bThreadTwoFinished = false;int g_iResult = 0;void ThreadOne( void *){  for ( int i = 0; i < 10000; i++)  {    // Request ownership of the critical section    EnterCriticalSection(&g_criticalSection);    // Access the shared resource    g_iResult += 1;    // Release ownership of the critical section    LeaveCriticalSection(&g_criticalSection);  }  // Finished  g_bThreadOneFinished = true;  _endthread();} }
  • 43.
    Graphically Simplifying ParallelismGraphicalapproach intuitively exposes thread opportunities
  • 44.
    LabVIEW automatically createsmultiple threadsParallel Application: Automotive TestIn-vehicle test system for truck transmissions using LabVIEWAcquired and analyzed 16 channels on a single-core system

Editor's Notes

  • #6 2 minutesBefore we move on to general trends in Automotive engineering; a quick look at the some automotive trends in Eastern Europe (mentioned the country and replace slide accordingly)…Explain Car production trendVW just opened a new manufacturing plant Refer to article in EE Times about More design validation is moving to Eastern EuropeR&amp;D centers have opened (BOSCH)Moreover, in a distribute world – integration of remote facilities into the process is an important topic…Both, Design validation and manufacturing are test intensive; To ensure the design will actually function the way it was intended to function &amp; to provide solid feedback to the actual design teams;to ensure great user experience and reduce the amount of “after-service” necessary to fix problems that could have discovered during the end-of-line test. TRANSITION: So let’s take a look at global Automotive Trends…
  • #7 1974 Honda Civic CVCCIn 1970, the U.S. passed the Clean Air Act of 1970, which set the scene for emissions standards and emissions control equipment such as the catalytic converter. In Japan Soichiro Honda of Honda Motor Co. introduced the CVCC stratified-charge engine, which not only met the U.S. emission standards without a catalytic converter but also met the stringent Japanese emission standards. In 1975 Honda exported the Honda Civic CVCC 1500 to the U.S. The four-door vehicle had a wheelbase of 2280 mm (90 in) with a front track of 1300 mm (51 in) and rear track of 1280 mm (50 in). It had a curb weight of 730 kg (1610 lb). The engine was an inline four cylinder mounted transversely with a 15° incline forward. The 1.5-L engine had a bore of 74 mm (2.91 in), stroke of 86.6 m (3.41 in), and a compression ratio of 8.1:1. Five main bearings supported the one-piece forged crankshaft. A single belt drove the overhead camshaft that operated three valves per cylinder. In the stratified-charge engine there was a tiny auxiliary chamber atop the main combustion chamber. Thus there is one valve for the auxiliary chamber and one for the intake and exhaust for a total of three valves per cylinder.Mechatronics is the new term that pulls it all together…now you don’t have to be good a mechanics which you have to understand how electronics interfaces with mechanics and guess what you’ll have to program something too.
  • #22 How hard can this be?How complex can it be? Here is a very simple example, This example code is using 2 threads to access some shared memory. Firstly, its difficult to pick out where the two threads begin and end. You cannot quickly view what is happening in parallel as the text is itself sequential by nature.
  • #24 And another application using the PXI parallel platform.Deep inside Eaton Corp. is a team of developers whose sole mission is to refine the test and measurement systems used in the company’s truck R&amp;D division. This case study explains how this team harnessed the performance of new multi-core Intel® processors and the multithreaded architecture of National Instruments LabVIEW* graphical programming software to more than quadruple the number of channels running through their systems and achieve real-time determinism.They got there using standard, off-the-shelf desktop systems, keeping power consumption, thermal output, and – most importantly – costs, down. The move to Intel’s multi-core processors also enabled Eaton to put their system in a mobile platform so that testing can be done in the vehicle instead of in dynamometers for more accurate, efficient performance feedback.
  • #40 Unfortunately, in many companies the test process has not changed much. When the first version of the product is design one uses a traditional approach of building a prototype and making measurements…the late we find bugs in the design process the more expensive it is to fix them. You can only imagine what this means with products getting more and more complex and with the market pressure to design them faster and faster….The worst case is really when you have to do validation and design debugging on the manufacturing floor with manufacturing test equipment.