DSpace硬件仿真工具

更新时间:2023-07-21 14:56:01 阅读量: 实用文档 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

主要介绍硬件在环仿真工具DSPACE, 其在开发发动机ECU过程中应用及过程。

Automatic Monitoring and Testingof Instrument Panelswith dSPACE Simulators

Eontronix Co., Ltd. Zhongguancun Pioneer Tower, Suite 315 ~326 26 Shangdi Information Road Haidian, Beijing 100085 Contact:nasson.zhang Phone: +86-10-82898056转8037 Fax: +86-10-8278-0433 Mobile: 139-1109-6477 E-mail:nasson.zhang@ 意昂神州(北京)科技有限公司 北京市海淀区上地信息路26号 中关村创业大厦315~326 联系人:张登 电话:010-82898056转8037 传真:010-8278-0433 移动电话:139-1109-6477 E-mail:nasson.zhang@

dSPACE

主要介绍硬件在环仿真工具DSPACE, 其在开发发动机ECU过程中应用及过程。

. Introduction The validation of electronic control units (ECU) with hardware-in-the-loop (HIL) simulators is an established method for quality enhancements in automotive software. Instrument panel clusters (IPCs), however, are still verified by developers physically looking at them. The objective is to validate that the needle moves correctly, the telltales light up, messages are displayed correctly, etc. But the human eye is prone to make mistakes during this repetitive task and, moreover, is not fast enough to catch minor glitches. Furthermore, the overall test process cannot be fully automated if there are humans involved in the test loop. The answer to this challenge lies in combining a camera and a fast computing unit providing interfaces for CAN and optical signals. dSPACE has integrated the capability of camera-based, real-time image processing with hardware-in-the-loop simulation technology. This combination enables visual components to be tested together with overall vehicle electronics, making it a comprehensive testing solution for vehicle integration testing. The project benefited from dSPACE’s years of experience in the field of integrated instrument tests with HIL simulationsCamera system with intergrated frame grabber I/o,CAN Serial interface, digital I/O,feedback of optical signal

DSPACE Simulater

CotrolDesk Image processing software

AutomationDesk,R eal-time interface

Ds1006

Dz2202 Figure 1: Testing graphical display devices with hardware-in-the-loop simulation.

主要介绍硬件在环仿真工具DSPACE, 其在开发发动机ECU过程中应用及过程。

Application Areas and System Requirements Infotainment applications in today’s vehicles are wideranging (navigation, radio, telematics, etc.). The kind of user interface feedback that the driver obtains from an IPC and other visual devices is another important measure of functionality and customer satisfaction for today’s vehicles. With the addition of more visual information content in the vehicle passenger compartment, the visual elements have to be tested in the context of the entire electronics system. It is important to note that the IPC is an interface to vehicle systems for the driver and cannot be isolated from other systems such as the powertrain, body, and chassis. The test system has to provide the input signals for the panel and must also have a feedback channel realized by the camera to compare the interpreted visual signal with t

he input signals. Different I/O boards can be installed in the HIL simulator to connect it to the IPC and the camera. A processor board performs the real-time simulation of the environment (including vehicle and driver models) and the I/O of the IPC (incl. CAN restbus simulation). For the camera to process the captured image accurately and provide meaningful information, various standard image processing tools are used. Different sections of the IPC require their own specialized set of image

processing tools based on the functionality of the gauge.The main necessary camera operations are: Detection of the angular needle positions on gauge Telltale detection (on/off) using blob tools Light intensity detection, e.g., dimming level of the backlighting Pattern recognition of preprogrammed images Optical character recognition (OCR) for recognizing random messages which appear on the IPC. Optical character verification (OCV) for verifying whether a particular message appears on the search area or not Test System Configuration The dSPACE Simulator is the central unit of the test system, responsible for generating the environment and comparing the feedback signals. It contains processor, I/O and communication boards which generate the environment with discrete or analog I/O signals or signals transferred by a bus system, e.g. LIN, CAN. The feedback channel consists of the highresolution camera Insight 5603 CCD from Cognex® interfaced with

主要介绍硬件在环仿真工具DSPACE, 其在开发发动机ECU过程中应用及过程。

the dSPACE Simulator. Key features of the camera are: Onboard image processing capability Programming via Ethernet Programming via Insight Explorer® software RS232 communication port 64 MB memory for storing images andjob files For monitoring the needle position, the presence or absence of telltales, and messages on the LCD, the camera takes images of the instrument cluster with a frame rate of 20-50 frames per second. The integrated digital signal processor (DSP) with the actual image processing algorithms were created with dedicated image processing software. Once programmed, the image processing algorithms are downloaded to the camera via Ethernet using Cognex’sInsight Explorer® software. The software features several standard image processing tools, which can be dragged onto a spreadsheet to allow the user to solve complex image processing applications with a GUI without ever writing a single line of code. The input/output functionality, serial port setup and camera functions are all programmed by the software. These are some of the features of the Insight image

Test platformCamera with image processi ng Trigger event/ digital signals

Instrument cluster under test CANDigital and Analog signals

RS232/ digital output

Hardware-in-the-loop system

DS1006 processor board DSPACE simulator mid-size DS2202 HIL I/O Board Host communication Application softwareTest execution Configuration of test system Camera programming via Ethernet connection Control Desk Modeling with simulink

Automation Desk Test reports

as PDF HTML Camera software

Figure 2: Schematic of the test set-up for automated instrument testing with dSPACE and third-party tools.

主要介绍硬件在环仿真工具DSPACE, 其在开发发动机ECU过程中应用及过程。

The camera interfaces to the real-time system via RS232 and digital I/O signals. The DSP interprets the images and then generates signals, which are passed to the simulator

Figure 3: Front panel of the Insight Explorer® from Cognex®.

via RS232 and digital outputs. The simulator decodes the signals via Simulink® S-functions that convert and scale the information to engineering units. For various IPCs, multiple programs can be developed and stored on the camera, as well as programs that perform different functions for a particular IPC. Using a hardware trigger, programs can be switched on the fly thus extending the range of the camera’s functionality. The IPC and the camera are visualized and controlled via dSPACE’s test and experiment software ControlDesk. Several state-of-the-art features of ControlDesk, such as animated needle, invisible switch, static text and event handling, create a realistic look and feel for automotive devices like dashboards. The automatic test sequences can be developed with the test automation software AutomationDesk from dSPACE. They can be run individually or in combination to validate various functions of the IPC. Automation tasks can be created either graphically or via script programming. Once

主要介绍硬件在环仿真工具DSPACE, 其在开发发动机ECU过程中应用及过程。

started, the tests run overnight and AutomationDesk automatically generates report documentation based on test results. Test System Components dSPACE Components dSPACE HIL simulators range from smaller systems for single ECU testing to multiple-rack solutions capable of testing complete vehicle electronic systems. This solution –including dSPACE and third-party tools – comprises the following hardware and software: dSPACE Simulator Hardware DS1006 Processor Board for computing the real-time model and CAN restbus simulation DS2202 or DS2211 HIL I/O Board for interfacing with the camera and the instrument panel dSPACE Software dSPACE Real-Time Interface (RTI) for implementing the model on the simulation hardware RTI CAN Blockset or RTI CAN MultiMessage Blockset for CAN connection between simulation hardware and instrument panel ControlDesk for test visualization/instrumentation AutomationDesk for test automation For setting up the mechanical test platform and adapting the third-party tools to customers’ project specifications, engineering by dSPACE is required. Third-Party Components For building the test system, additional third-party tools are required for the optical monitoring-related tasks. In this

example these components are supplied by Cognex®, a leading supplier of machine vision sensors and systems. Vision Hardware High-resolution camera system (e.g. CognexInsight 5603®) Vision Software Image processing programming software (e.g. Insight Explorer from Cognex®) Pattern recognition software (e.g. PatMax® from Cognex

本文来源:https://www.bwwdw.com/article/08ym.html

Top