matlab & simulink - government college of...

22
MATLAB & SIMULINK Pramod Kumar Naik Senior Application Engineer MathWorks Products 2 Enabling Excellence Through Innovation System Engineering Intellectual Property (IP) EDA & Semiconductor University Program Sandeepani School of Embedded & VLSI FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017 Pramod Kumar Naik, CoreEL Technologies 1

Upload: lediep

Post on 20-May-2018

232 views

Category:

Documents


2 download

TRANSCRIPT

MATLAB & SIMULINK

Pramod Kumar NaikSenior Application EngineerMathWorks Products

2

Enabling Excellence Through Innovation

System Engineering

Intellectual Property (IP)

EDA & Semiconductor

University Program

Sandeepani School of Embedded & VLSI

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 1

3

CoreEL University Program

4

Accelerating the pace of engineering and science

>> Founded by Jack Little & Cleve Moler

MathWorks India

9th Floor, 'B' Wing, Etamin BlockPrestige Technology Park IIMarathahalli – Sarjapur Ring RoadBangalore – 560103, KarnatakaINDIAPhone: +91-80-6632-6000Fax: +91-80-6632-6010

www.mathworks.in

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 2

5

Technical Computing Workflow

Explore & Discover

Reporting and Documentation

Outputs for Design

Deployment

Share

Data Analysis & Modeling

Algorithm Development

Files

Software

Hardware

Access

Code & ApplicationsApplication

Development

Explore & Discover

gorithmDevelopment

Data Analysis& Modeling

A

Application Development

xpplloorree && DDiissccov

Automate

6

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 3

7

Major Application Areas:

The Language of Technical Computing

Signal Processing Image Processing Communications

Control Systems Finance

Toolbox

8

Data Analysis & Visualization

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 4

9

Application Development & Deployment

Graphical User Interface

Deploying Applications

Generating C Code

Others within the Organization

Group Member

Suppliers

Clients

Collaborators

Others within the Organization

MATLAB User

LAB er

10

SIMULINK

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 5

11

Industry uses most advanced technologies

& tools in their R&D, Testing,

Implementation, Manufacturing and

Supply stages

• They expect students also to get will

trained on these tools, to employ them

directly on to work instead of investing

time on training them.

• And the only platform student can learn

is the university.

ADAS

ADAS VIDEO

12

TThe Rise of AnalyticsFinance Healthcare

Medical Devices

AeronauticsOff-highway vehiclesAutomotive

Oil & GasIndustrial Automation Clean Energy

Retail Internet

The Rise of Analytics

What is MATLAB

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 6

13

Internet

Thing

Thing

Thing

ThingThing

Thing

Thing

Internet of Things

1

Making the virtual presence of the real device on the Internet for end user access / information exchange.

Connecting the devices directly to internet and replace the manual entry of the data / manual operations.

demo

14

A popular IoT story

1

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 7

15

MATLAB Hardware Integration

16

Implement and Prototype Algorithms in Hardware

VHDL, Verilog

ASICFPGA

HDL Coder

Programmable SoC

DSP / MCU

EmbeddedCoder

C, C++

Prepare model for code

generation

Generate HDL code

Integrated RTL Verification

Critical Timing Information

Analysis

FPGA-in-Loop Verification

Area and Speed Optimization

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 8

17

Smart Systems

� What makes a system “smart”?� Sensors� Analysis based on available data� Networking capabilities� Standalone devices

18

Embedded Implementation

SignalProcessing AlgorithmConnect and Acquire

Data Acquisition

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 9

19

Signal Processing is everywhere!

Computer Vision and Image Processing

Communications

Audio Systems and Consumer

Electronics

Medical Devices

20

Problem Statement

� Photoplethysmography (PPG)

� Measuring the volumetric change during each cardiac cycle due to pumping of blood

� Illuminate the skin and measure the variation in intensity

� What are we going to build?

� An android app that estimates the heart rate based on optical sensors

Pulse Oximeter

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 10

21

Real-Time Stream Processing

timeData acquisition Algorithm processing

Frame 1 Frame 2 Frame 3 Frame n

As long as

Data acquisition + Algorithm processing <=Frame time

We haveReal-time signal processing

22

Data Acquisition

� Signal of interest : Average intensity of each frame

� How do you choose the resolution?� High resolution images are not required in this case� Resolution chosen : 640 x 480

� How do you choose the frame rate?� Heart Rate Range : 40 to 230 beats per minute

i.e 0.667 to 3.8333 beats per second (Hz)� Minimum frame rate required: 8fps

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 11

23

Algorithm Development

� 2D Mean Estimation

Step 1: Computing the average intensity of each frame

24

Algorithm Development

� Heart Rate Range :

� 40 to 230 beats per minute (0.667 to 3.8333 Hz)

� Choice of Filter?

� Bandpass filter

� FIR or IIR?

� Order of Filter?

Step 2: Extracting the band of interest (Filter specification)

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 12

25

Algorithm Development

� Techniques to estimate number of troughs (peaks) in one second

� Count of number of troughs in a span of “NN” seconds

� Estimate the average time between adjacent peaks over “NN” seconds

� Spectral Analysis

� Non-parametric : Periodogram, Welch

� Parametric : Yule-Walker, Burg

� Subspace methods : Eigen Vector, MUSIC

� Wavelet Analysis

“findpeaks”

Step 3: Heart Rate Estimation

� Estimate the average time between adjacent peaks over “

26

-6

-4

-2

0

2

4

Am

plit

ud

e

10 -3

[pks_val,locs] = findpeaks(-u,'MinPeakDistance',5)

Algorithm Development

Step 3: Heart Rate Estimation

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 13

28

From Simulation model to Implementation model (Android device)

Simulation Model

Implementation Model

29

HARDWARE SUPPORT PACKAGE.

MATLAB MOBILE APP

MATLAB MOBILE APP

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 14

30

Machine Learning

31

MATLAB MOBILE

Connecting to the Cloud

Connecting to Your Computer

Acquiring Data from Sensors

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 15

32

Machine Learning

33

Machine Learning

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 16

34

MOOC

� NPTEL - National Programme on TechnologyEnhanced Learning– A joint initiative of the IITs and IISc

� Six courses supported in 2016� MATLAB for Numerical Computation (IIT Madras)� Time-frequency and Wavelet analysis (IIT Madras)� Structural Mechanics (IIIT Hyderabad)� Computational Electromagnetics (IIT Bombay)� Variational Methods in Mechanics and Design (IISc)� Optical communications (IIT Kanpur)

35

Industry Collaboration

� KPIT PACE Program– 18-20 engineering colleges

– 7th semester students made an offer at KPIT contigent on completion of an elective Automotive Electronics designed by KPIT

– Course topics identifed along with MathWorks– A week-long FDP by KPIT with 35-40 professors– MathWorks involved in a half-day session in the FDP

� Low-cost hardware� Project-based learning� HIL and Raid Prototyping

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 17

36

Industry-University Collaboration

37

Student Competitions

� Formula Student India 2016– 50 Teams

� ABU Robocon India 2016– 105 Teams– MathWorks Innovation Prize Winners

1. College of Engineering, Pune {Competition R2. Mukesh Patel School of Technology Management and

Engineering (MPSTME), Mumbai3. VSSUT, Sambalpur

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 18

38

Customer Story – R . V. College of Engineering, Bangalore

“RVCE purchased MATLAB and implement enhanced teaching learning programs which helped them for NBA accreditation”

Background of the University:-�Autonomous institution�Ranked 2nd in the state of Karnataka, India�Annual intake of 1200 undergraduate students�All Departments NBA Accredited�World Bank Funded (TEQIP)�Highly motivated students participating in global student competitions�TAH in 2015�Three year Renewal in 2016

39

Tools:� Live Editor with MATLAB and Simulink,� Cody Coursework,� Integrated Curriculum� Student targeted TAH Onboarding Program

Result:� RVCE for the first time introduced the Applied

Mathematics Course“Experiential Learning using MATLAB”.

� The TAH Activations in the account rose from 49 to800

� Onsite Training Sales Win for MATLAB and Statistics

Customer Story – R . V. College of Engineering, Bangalore

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 19

40

What is TAH?

TotalAcademic

Head Count

41

Importance of TAH

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 20

42

License Usage Terms & Conditions

Q:- How many number of licenses I will get?

A: Unlimited

Q:- Who can activate & use this license?A: Students, Faculties & Research scholars

having email ID with College domain.

Q:- Which are the type of license provided under TAH?A: Two Types of licenses

a) Individual – For installing in PC and Laptop’sb) Floating (Network Concurrent) – For installing in Labs where all PC are in

Network

43

Multi disciplinary concepts:

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 21

44

Speaker DetailsEmail:[email protected]

LinkedIn: https://in.linkedin.com/in/pramod.kn

Your feedback is valued.Please complete the feedback form

provided to you.

4

CoreEL Technologies Pvt Ltd21, Mahatyagi Laksmidevi Rd,

Koramangala 1A Block,

1st Block Koramangala,

Bengaluru,

Karnataka 560034

FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017

Pramod Kumar Naik, CoreEL Technologies 22