0% found this document useful (0 votes)
24 views29 pages

Model Based Design of Embedded Control Systems

mbd

Uploaded by

sdik aicha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views29 pages

Model Based Design of Embedded Control Systems

mbd

Uploaded by

sdik aicha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Model-Based Design of Embedded

Control Systems, Rapid Prototyping


and Hardware-in-the-loop

© 2011 The MathWorks, Inc.1


MathWorks at a Glance

 Headquarters:
Natick, Massachusetts US
 Other U.S. Locations:
California; Michigan;
Texas; Washington, DC
 Europe:
France, Germany, Italy,
Spain, the Netherlands,
Sweden, Switzerland, U.K.
 Asia-Pacific:
Australia, China, India,
Japan, Korea Earth’s topography on an equidistant cylindrical
 Worldwide training projection, created with MATLAB and Mapping Toolbox.
and consulting
 Distributors in 25 countries

2
Key Capabilities Drive MathWorks Business

Verification,
Validation,
• Test and • Model • Code verification
and Test measurement checking • Qualification kits

Automatic • Rapid • Embedded • DSP software • VHDL/Verilog • PLC


Code
Generation
prototyping software code
and HIL

System
 Simulink • DSP designs • State charts • Physical • Discrete-event modeling
Modeling and
Simulation
• Communication modeling • Video processing
systems

Data Analysis
and Algorithm
• Control design • Optimization • Image • Computational • Computational
Development • Signal processing • Statistics processing finance biology

• Application • Student version • Distributed and • MATLAB


Technical
Computing  MATLAB deployment • Instrument and database parallel computing Mobile for
connectivity iPhone

1985 1990 1995 2000 2005 2010

Founded in 1984

3
MathWorks Today

 Revenues ~$600M in 2010


 Privately held
 More than 2000 employees worldwide
 Worldwide revenue balance:
45% North America, 55% international
 More than 1 million users in 175+ countries

1984 1989 1994 1999 2004 2009

4
Key Industries

 Aerospace and defense


 Automotive
 Biotech and pharmaceutical
 Communications
 Education
 Electronics and semiconductors
 Energy production
 Financial services
 Industrial automation and
machinery

5
Deeply Rooted in Education

“Everyone that comes in as a new


 3500+ universities around the world hire already knows MATLAB,
because they all had it in
 1200+ MATLAB and Simulink based books college. The learning curve is
significantly lessened as a result.”
 Academic support for research, fellowships,
Jeff Corn,
student competitions, and curriculum
Chief of Engineering Projects Section,
development U.S. Air Force

Benefits for Industry:


 Every year, tens of thousands of engineers enter the workforce with
MathWorks product skills and experience.
 Students learn theory and techniques while using MATLAB and Simulink.

6
Core MathWorks Products

The leading environment for


technical computing

 The industry-standard, high-level


programming language
for algorithm development
 Numeric computation
 Data analysis and visualization
 Toolboxes for signal and image
processing, statistics, optimization,
symbolic math, and other areas
 Foundation of MathWorks products

7
Core MathWorks Products

The leading environment for system-level


modeling, simulation, and verification of
communications and electronic systems
 Multidomain system-level design and verification
 Digital, analog, and mixed-signal simulation
using discrete-time, continuous-time, state
machine, and discrete-event modeling
 Floating- and fixed-point algorithm development
using MATLAB, Simulink blocks,
Object Detection
or existing C code
 Blocksets for signal processing, video
processing, communications, and RF
 Open architecture with links to third-party tools
and development boards, and instrumentation
 C and HDL code generation for DSPs,
embedded processors, and FPGAs
8
Support and Community

9
Consulting Services
Accelerating return on investment

A global team of experts supporting every stage of tool and process integration

Process and Technology

Continuous Improvement
Automation
Process and Technology
Standardization

Full Application
Deployment
Process Assessment
Component
Deployment
Advisory Services

Jumpstart
Migration Planning

Research Advanced Engineering Product Engineering Teams Supplier Involvement

10
Training Services
Exploit the full potential of MathWorks products

Flexible delivery options:


 Public training available worldwide
 Onsite training with standard or
customized courses
 Web-based training with live, interactive
instructor-led courses
 Self-paced interactive online training

More than 30 course offerings:


 Introductory and intermediate training on MATLAB, Simulink,
Stateflow, code generation, and Polyspace products
 Specialized courses in control design, signal processing, parallel computing,
code generation, communications, financial analysis,
and other areas

11
MATLAB Central
 Community for MATLAB and Simulink
users
 Over 1 million visits per month
 File Exchange
– Upload/download access to free files
including MATLAB code, Simulink models,
and documents
– Ability to rate files, comment, and ask questions
– More than 12,500 contributed files, 300
submissions per month, 50,000 downloads
per month
 Newsgroup
– Web forum for technical discussions about
MathWorks products
– More than 300 posts per day
 Blogs
– Commentary from engineers who design, build,
and support MathWorks products
– Open conversation at blogs.mathworks.com

Based on February 2011 data 12


Connections Program

More than 400 add-on products and services that


complement and extend MathWorks products:

 Specialized third-party toolboxes for MATLAB


 Interfaces to third-party software and hardware products
 Specialized training courses and consulting services
 System integrators and suppliers that incorporate
MathWorks products

13
Book Program

More than 1200 books for educational and professional


use, in 26 languages
 Controls  Mathematics
 Signal processing  Aerospace engineering
 Image processing  Environmental sciences
 Biosciences  Chemistry
 Communications  Finance
 Mechanical engineering  Electronics

14
Technical Support

Resources
 Over 100 support engineers
– All with MS degrees (EE, ME, CS)
– Local support in North America,
Europe, and Asia
 Comprehensive, product-specific Web
support resources

High customer satisfaction  


 95% of calls answered
within three minutes
 
 70% of issues resolved
within 24 hours 
 80% of customers surveyed
rate satisfaction at 80–100%

15
From Simulation to
Real-Time Testing with Your Hardware

© 2011 The MathWorks, Inc.


16
From Simulation to Real-Time Testing
 Models designed in Simulink and Stateflow
 You want to run, test, and prove your Simulink design with your
hardware under test at its normal operating frequency, speed, or
timing.
 But how can you do this testing in real-time?

GAP

17
Real-Time Testing Scenarios:
Functional Rapid Prototyping

Code Execution
Generation • Host/Target
• Real-time

Wiring and
Signal Conditioning

Real-Time Target Computer Production Plant Hardware 18


Real-Time Testing Scenarios:
Hardware-in-the-Loop (HIL) Simulation

Code
Generation
Code
Execution
• Host/Target/Target Generation
• Real-time

Wiring and
Signal Conditioning

ECU or MicroController Real-Time Target Computer 19


Real-time testing using xPC Target
 xPC Target and xPC Target Turnkey systems create a
hard real time environment for testing your Simulink
models.

20
What is xPC Target?

1
Simulink
Coder Host PC xPC Target 3
with PC
MATLAB

Ethernet or RS 232

 An environment that allows the real-time execution of Simulink


models on a separate xPC Target Kernel compatible PC.

21
What is xPC Target?

Host PC xPC Target


with PC
MATLAB

Host PC
with Ethernet or RS 232xPC Target
PC
MATLAB

Ethernet or RS 232

 An environment that provides interactive access between the


real-time application and the host PC.

22
What is xPC Target?

Host PC xPC Target


2 with PC
MATLAB

Ethernet or RS 232
4

2
3
1

 An environment that provides interactive access between the


real-time application and the host PC.

23
What is xPC Target?

Host PC xPC Target


with PC
MATLAB

Ethernet or RS 232

 An environment that provides numerous I/O device driver blocks that


are easily configurable within the Simulink model to communicate
with actual hardware in real-time.
24
What is xPC Target?
EW1

xPC Target
PC

 An environment that provides numerous I/O device driver blocks that


are easily configurable within the Simulink model to communicate
with actual hardware in real-time.
25
Slide 25

EW1 For the Throttle


Ethan Woodruff, 9/27/2006
What is xPC Target Turnkey
 Complete, fully assembled, real-time testing solution
 Combines xPC Target (software) with a real-time target
machine and IO modules (hardware)
 Optimized for Simulink and xPC Target

xPC Target Turnkey

26
xPC Target Turnkey Key Components

xPC Target
 Software for real-time testing using Simulink models
 For parameter tuning, real-time monitoring, and data logging
 Multi-core/Multi-tasking real-time kernel optimized for Simulink

Real-time target computer


 Hardware for real-time testing using Simulink models
 Real-time target machines assembled based on your
performance, I/O connectivity, and environmental requirements,
 Fully integrated with Simulink and xPC Target
 Additional support to build and integrate your own target hardware

Services
 Training
 Onsite support
 Customization of software to work with your environment and
other software
 Automation

27
What is xPC Target Turnkey
Wide range of I/O modules installed
in your target machine and fully tested
IO Type Functionality
Analog High-resolution, high-speed, simultaneous sampling

Digital TTL, 12V, 24V, high-drive, opto-coupled

Serial RS232, RS422, RS485, SDLC, HDLC

Protocols SPI, I2C, SSI, CAN, Ethernet, UDP, J1939, ARINC 429, MIL-STD-1553

Audio/Speech Audio/Speech optimized analog IO modules, XLR panels

Shared Memory Reflective Memory for high speed data transfer in multi-processor systems

Various LVDT/RVDT, Synchro/Resolver,

Configurable FPGA • Pulse train (PWM, capture, quadrature decoding, hall effect)
• Event based interrupts
• Analog I/O with lowest latency and/or special synchronization schemes
• Algorithmic implementations for very fast inner control loops

28

You might also like