Académique Documents
Professionnel Documents
Culture Documents
NI Automotive Solutions
TABLE OF CONTENTS
One Automotive Engineering Platform from Concept to Crash Test ............... NI Tools Keep Ford at the Forefront of Innovation ......................................... Testing Car Headlamps with LabVIEW from Elcom ....................................... Building an Engine Knock Analyzer with LabVIEW ......................................... DIAdem Software Accelerates Crash test Analysis ....................................... Bloomy Controls Performs Functional Testing of Battery Management Systems for Hybrid Electric Vehicles ............................................................ Development of an Electronic Stability Program (ESP) Hardware-in-the-Loop (HIL) Simulation based on NI PXI and CompactRIO ............................................... 3 4 6 8 10 12 15
Ou r co mm itm en t to fue l ce ll sys tem (FC fu research resulted in S) vehicles such as the worlds firs t ful lsiz e, ful l-p erf orm an ce fue l ce ll ca r (P2 00 0) and the wo rld s first fue l cel l plu g-i n hybrid (Ford Edge wit h HySeries Drive).
Ford has a long history with NI, and we have used LabVIEW to develop various aspects of every fuel cell electric vehicle that we produce and to successfully design and implement a real-time embedded control system for an automotive FCS.
Contact Ford Motor Company (author) in email: kosborn1@ford.com Check the website: www.ford.com
vides manual and automatic input stimuli to the ECU to validate the control strategy operation while displaying the CompactRIO I/O feedback on the HIL monitor. The HIL system validation was very successful, and we only had to make minor changes to the strategy after the CompactRIO began controlling the actual FCS plant.
Contact Ford Motor Company (author) in email: kosborn1@ford.com Check the website: www.ford.com
The software application developed with LabVIEW and NI-IMAQ vision performs the mathematical evaluation of the picture projected on the focusing screen. We developed a fully automated machine with all of the necessary mechanics and electronics for adjusting ED modules in car headlamps to analyze the projection of a car headlamp and to adjust it according to the results. We can test and adjust several types of headlamps. We built the machine from ITEM profiles and cast aluminum parts and its mechanical concept is open for future headlamp tests. We controlled the mechanical and electrical functions using a Siemens Simatic PLC. The PLC communicates with the machines PC through PROFIBUS MPI. The PC serves as an operator console and runs the vision system while the machine uses two cameras (color and black/white) for edge image acquisition. To keep the machine size in reasonable limits, the focusing distance of the light cone from the headlamp is shortened by a large achromatic objective to approximately 6 ft and reflected upward by a diagonal mirror. We manually placed the headlamps in replaceable fixtures positioned on a rotary table. The fixtures can be replaced in a few minutes as the production changes. In the first position on the rotary table, we switch the lamp on and it keeps burning until the light becomes stable (the light color changes as the light starts burning). In the adjustment position, two stepper-motor-powered screwdrivers move toward the headlamp until they meet the tuning screws. According to the information from the vision system, the screw drivers rotate the screws to adjust the colors and then the screws are released. In the last position on the rotary table the headlamp is signed in case it was successfully adjusted, which takes about 40 seconds. We developed the testing software application that runs on the tester PC with LabVIEW and NI-IMAQ vision to perform the mathematical evaluation of the picture projected on the focusing screen. The PC software performs machine parameterization, image acquisition, and analysis and provides the operator interface. Based on this evaluation, the application controls the stepper motors to adjust the diaphragm of the headlamp to meet the standards.
Image Analysis
The headlamp light cone edge color evaluation is based on analysis of the edge area image shown on a projecting screen. The image is in red, green, blue (RGB) representation but we converted it to hue, saturation, luminance (HSL) representation for analysis purposes because it provides one value for color and one value for brightness per pixel.
The two most critical parameters for edge classification are edge color and edge sharpness (gradient). The edge color is calculated as an averaged value of the hue component of the image in the area near to the edge. Because hue is expressed as a number in the range from zero to 255, with zero being red and 255 being almost the same shade of red, the machine uses polar coordinates to represent the color. This allows a continuous color scale for the hue between 255 and zero. The color difference between the actual and required color is given as an angle between the two colors on the color circle circumference. The edge sharpness is an average steepness (derivation) of the luminance across vertical lines rectangular to the border. All images used in further analysis are stacked (multiple images averaged into one image) to suppress brightness noise in the dark field of the black/white camera and to suppress color and sharpness noise in the area near the edge with low color saturation in images taken by the color camera.
Conclusion
Using LabVIEW and NI-IMAQ vision, we successfully created fully automated image analysis software that provides adjustment data for PLC-driven adjustment hardware.
The universally accept ed s t system to detect eng kno ck is an en gin e ine co mb ust ion an aly zer that me asu res the gas pre ssu re in the com bu sti on chamber in relation to the crankshaft rot ational angle.
Using the graphics capabilities of LabVIEW and the Sound and Vibration Toolset, we quickly and easily developed a display that communicated the necessary information. Knocking in an internal combustion engine is the uncontrolled self-ignition of the air/fuel mixture occurring midway through the combustion cycle, causing extremely high combustion pressure spikes that destroy pistons and rings in the engine. Small amounts of knock (incipient knock) are acceptable in a highly tuned engine, such as might be used in a race car, but the possibility of incipient knock going into a run-away knock condition due to external stress applied to the engine must be thoroughly analyzed. The diameter of the cylinder bore determines the primary knock frequency. Secondary knock frequencies are controlled by the other dimensions of the combustion chamber, high level harmonics, and the downward motion of the piston. The universally accepted system to detect engine knock is an engine combustion analyzer that measures the gas pressure in the combustion chamber in relation to the crankshaft rotational angle. By using a high pass filter on the pressure signal or its derivative during the period of combustion, we can accurately measure the intensity of knocking. Each cylinder must have an expensive, high temperature pressure transducer installed in the combustion chamber, optimized in location so that the sensor is not in a dead area as far as knock is concerned. Since 4 to 10 channels (one for each cylinder) are normally required and a very high speed data acquisition system must be used to perform the analysis in real time, the costs for a complete system typically exceeds $50,000 and the engine must be permanently modified to fit the sensors. An alternative used by most automobile manufacturers in their production engines is to use one or more accelerometers mounted on the engine block that will sense the high frequency vibrations generated by knock. Unfortunately, the vibrations created in the valve train are typically in the same primary frequency range as the knock signal. The placement of the accelerometers is critical to avoid as much valve train noise as possible and to be as sensitive to the knock vibrations coming from all of the cylinders. The signal from the accelerometers is passed through a low and high pass filter. The low pass signal is integrated to make a threshold signal to represent overall vibrations coming from the engine which are proportional to engine speed. The high pass signal is compared with the threshold signal to determine when knock is occurring. The vibrations from the valve train cause a great deal of error in this system at high RPM, due to its inability to distinguish between valve noise and knock. Additionally, this type system can not detect incipient knock.
Design
In order to have an accurate indication of engine knock from a block mounted accelerometer, the vibrations from the valve train and any other vibration causing system (crankshaft and pistons) must be separated from the knock signal. An IIR filter set from the Signal Processing Library could be used for this purpose, but each engine would have different frequency characteristics. By using a fast Fourier Transform those frequency characteristics may be determined and the appropriate cross over frequencies may be applied to the set of IIR filters. This system was fully implemented in LabVIEW and gives excellent results, but requires a great deal of skill and training on the part of the operator to interpret the FFT. The operators determination of cross over frequencies for each engine could be substantially simplified by using an averaging fast Fourier Transform. The characteristics could quickly be identified by comparing an averaged FFT at the same RPM when the engine is audibly knocking to when it is not. The averaging FFT from the NI Sound and Vibration Toolkit was used to make these measurements, averaging over 400 combustion cycles per cylinder. From this information the operator can accurately determine what unique frequencies to use in the IIR filter set. Using the graphics capabilities of LabVIEW and the Sound and Vibration Toolkit, we quickly and easily developed a display that communicated the necessary information. The averaging FFT system reduced both the skill level of the operator and training time. However, the averaging FFT still depended on history to make the cross over frequency determination. What we ultimately needed was a real time system that was intuitive to the operator. The Sound and Vibration Toolset again came to our aid with one of the most spectacular displays that is available for FFT analysis. We used the sliding window FFT to display the frequency and amplitude relative to time. By using a wide range of colors to indicate the intensity of the signal, we make the interpretation intuitive. By using appropriate examples, we can quickly train the operator to identify not only intense knock, but also incipient knock. The three dimensional view allows us to easily separate the valve train vibrations and any other engine vibrations from the knock signal. The best feature of the system is the ability to distinguish incipient knock from high intensity knock.. See Figure 4. Note that the combustion cycles with high intensity knock have tall, bright red, yellow and white totem poles. The ones with incipient knock have dark blue and purple spots above the main combustion area.
A sliding window FFT showing seven combustion cycles, three with severe knock.
Application
We modified a 400 horsepower four wheel drive Porsche Twin Turbo to achieve 600+ horsepower with all emissions systems operative and running on 93 octane street gas. It was capable of a quarter mile acceleration time of mid 10 seconds, top speed of 204 mph and weighed in at 3500 pounds. We entered the car, shown in Figure 5, in the One Lap of America race which included 8 road racing courses and one drag strip, winning 6 of these events. Unfortunately, the engine blew up at the event at Pikes Peak, while using 91 octane gas. Of course I blamed the stupid helper who put 91 octane gas in it. Little did I realize that it was the stupid engine builder (me) who was to blame. The Engine Knock Analyzer revealed the truth! Even with 93 octane gas, the engine had significant amounts of knock, as we have shown in the screen shots below. We found that the air flow meter was improperly calibrated, causing the engine to knock at high boost levels. By using LabVIEW with the Sound and Vibration Toolkit, we have been able to develop a real time knock analyzer that with the help of the striking visual display makes the determination of knock intuitive and accurate, and is low in cost.
After a crash test, we have a fully analyzed test data package within minutes. Before we implemented DIAdem, we sometimes had to wait several hours.
Crash-Testing 101
Autoliv, a leading automotive safety systems manufacturer, conducts a variety of automotive safety tests the most dramatic being the barrier test, where a fully road-ready car is towed into a solid barrier. Barrier tests may contain up to several hundred sensors that digitally record the crash event data. Other tests vary in complexity, testing specific car subassemblies such as dash panels, or recording airbag pressure. To use crash data, we measure accelerations and other parameters in several locations on a test article and record crash test dummy forces, accelerations, and displacements. We then process the crash test data according to various standards, including NHTSA, SAE, and FMVSS. Since 1996, we have used an automated system based on DIAdem to analyze and report thousands of crash test results. DIAdem reduced data processing time from several hours to half an hour, providing test results within a very short time after running the test, whereupon we quickly may draw conclusions, run more tests, and ultimately be more productive.
Contact Autoliv North America (author) in email: steve.armstrong@autoliv.com Check the website: www.autoliv.com
10
Contact Autoliv North America (author) in email: steve.armstrong@autoliv.com Check the website: www.autoliv.com
11
Bloomy Controls Performs Functional Testing of Battery Management Systems for Hybrid Electric Vehicles
Author(s): Grant Gothing - Bloomy Controls Industry: Automotive, Consumer Goods, Electronics, Energy/Power, Manufacturing Products: TB-2627, LabVIEW, PXI-4071, PXI-1044, PXI-6221, TB-2706, PXI-2527, PXI-6514, PXI-4110, PXI-8105 The Challenge: Designing and developing a flexible, cost-effective production test system for several designs of battery balancing and management circuit boards with system requirements including simulating a pack of lithiumion batteries (up to 12 series cells), performing highaccuracy voltage and current measurements, and communicating with the unit under test (UUT) via serial and/or a controller area network (CAN). The Solution: Creating a general test system based on the NI PXI platform and the NI LabVIEW development environment that uses modular instrumentation, including six NI PXI-4110 power supplies to simulate battery packs, and provides the flexibility and accuracy needed to test multiple products.
The NI PXI platform coupled with the LabVIEW development environment delivered the ideal tools to quickly design and build a BMS test platform that is flexible enough to test multiple customer products, and accurate enough to meet or exceed BMS testing requirements. The rapid growth of the hybrid-electric vehicle industry presents many new opportunities for product testing and measurement. Many of these opportunities require production-level test systems with short design times, high accuracy, and strong reliability. One opportunity involves the production testing of battery management systems (BMSs) for lithium-ion battery packs, which power plug-in hybrid electric vehicles (PHEV). BMSs handle all of the monitoring, control, and safety circuitry of battery packs and control systems, including accurately monitoring cell charges, balancing voltages between cells to maintain a constant voltage across packs, managing charging and discharging, and protecting the system from over-voltage and over-current conditions for packs of up to 12 cells in series. In addition, BMSs monitor system temperatures, handle system power saving by entering sleep modes to reduce current draw, and communicate with external controllers to provide system feedback. While there are several types of battery management boards, including individual pack balancing and monitoring boards and system control boards, we refer to all types as BMSs in this document.
Contact Bloomy Controls, Inc. in email: info@bloomy.com Check the website: www.bloomy.com
12
whole pack. Functional testing of these processes requires a highly accurate, flexible, and strong test system capable of simulating packs of cells, applying system voltages, measuring cell and system-level voltages and currents, and communicating with the UUT.
Contact Bloomy Controls, Inc. in email: info@bloomy.com Check the website: www.bloomy.com
13
Our experience with BMS testing allows for the rapid development of new test systems with low risk and short lead times. By using a modular approach and interchangeable components, the base system can accommodate testing a wide range of BMS models. This method reduces cost and new fixture design time and makes it costeffective to test even small quantities such as R&D prototypes. In summary, the NI PXI platform coupled with the LabVIEW development environment delivered the ideal tools to quickly design and build a BMS test platform that is flexible enough to test multiple customer products, and accurate enough to meet or exceed BMS testing requirements.
Contact Bloomy Controls, Inc. in email: info@bloomy.com Check the website: www.bloomy.com
14
Development of an Electronic Stability Program (ESP) Hardware-in-the-Loop (HIL) Simulation based on NI PXI and CompactRIO
Author(s): Li Hong-zhi Tsinghua University Industry: Automotive, Research Products: LabVIEW, CompactRIO, PXI-6722, PXI-8106, FPGA Module, Real-Time Module, PXI-6229, Report Generation Toolkit, Control Design and Simulation Module, PXI8461/2, PXI-1031 The Challenge: Creating a hardware-in-the-loop (HIL) simulation platform to accelerate the development of the Electronic Stability Program (ESP) control algorithm and decrease the high demand on a testing site due to real vehicle experiments. The Solution: Developing an HIL simulation platform for an ESP based on NI PXI, CompactRIO, and a host with all devices connected by network cables using the 15-degrees-of-freedom (DOF) vehicle model built with NI simulation modules.
Our ESP HIL simulation platform based on NI PXI and CompactRIO placed the controller in the simulation loop and allowed us to easily test the algorithm in the controller. An automobile ESP is an essential device used to improve automobile driving stability and safety. It integrates an antilock braking system (ABS), a traction control system (TCS), and an active yaw control system (AYC) to effectively improve the driving stability and safety of an automobile during braking, driving, and turning. The ESP controller periodically detects vehicle movement states during driving, and when danger is detected, it will promptly send commands to the braking system and engine through the controller, and reduce danger by proactively controlling the vehicle. After conducting an in-depth investigation and considering the performance, price, and ease of implementation, we chose the NI PXI and CompactRIO platforms to build our system. We compared an xPC system, an NI PXI system, and a dSpace system and determined that the xPC system is lower in cost but not as easy to use while the dSpace system is more expensive than the PXI system even though they are similar in performance.
System Architecture
The hardware of the ESP HIL simulation platform consists of five parts: the host computer, target, controller, actuator, and sensor. We used the host computer to monitor the simulation process using shared variables as well as to analyze and store simulation results. In addition, the target executes the vehicle model; the controller runs control algorithms and navigates the vehicle; the actuator serves as a hydraulic control unit, braking pipeline, and a brake; and the host computer, target, and controller are connected via network cables.
Contact Tsinghua University (author) in email: hz-li07@mails.tsinghua.edu.cn Check the website: www.tsinghua.edu.cn/eng/index.jsp
15
Contact Tsinghua University (author) in email: hz-li07@mails.tsinghua.edu.cn Check the website: www.tsinghua.edu.cn/eng/index.jsp
16
National Instruments Hungary Kft. H-2040 Budars, Pusks Tivadar utca 14. I. emelet Tel.: +36 23 448 900 Fax: +36 23 501 589 E-mail: ni.hungary@ni.com www.ni.com/hungary 06 80 204 704 National Instruments, Instrumentacija, avtomatizacija in upravljanje procesov d.o.o. Kosovelova ulica 15, 3000 Celje, Slovenija Tel.: + 386 3 425 4200 Fax: + 386 3 425 4212 E-mail: ni.slovenia@ni.com www.ni.com/slovenia HR, MC, BA, RS, ME, ALB: + 386 3425 4200 SLO: 080 080 844 National Instruments Poland Sp. z o.o. Salzburg Center, ul. Grjecka 5, 02-025 Warszawa Tel.: +48 22 328 90 10 Fax: +48 22 331 96 40 E-mail: ni.poland@ni.com www.ni.com/poland 00 800 361 1235
National Instruments (Czech Republic), s.r.o. Dlnick 12, 170 00 Praha 7 Holeovice, esk republika Tel.: +420 224 235 774 Fax: +420 224 235 749 E-mail: ni.czech@ni.com www.ni.com/czech 800 142 699 National Instruments (Czech Republic), s.r.o. organizan zloka Vysok 2/B, 811 06 Bratislava, Slovensk republika Tel.: +421 911 128 255 E-mail: ni.czech@ni.com www.ni.com/czech 0 800 182 362 SC National Instruments Romania SRL B-dul Corneliu Coposu, nr. 167A, et.I, Cluj Napoca, CP 400228 Tel.: + 40 26 440 64 28 E-mail: ni.romania@ni.com www.ni.com/romania 0800 894 308