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 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 Block Prestige Technology Park II Marathahalli Sarjapur Ring Road Bangalore 560103, Karnataka INDIA Phone: +91-80-6632-6000 Fax: +91-80-6632-6010 www.mathworks.in Pramod Kumar Naik, CoreEL Technologies 2
Technical Computing Workflow 5 Access Files Explore & Discover Data Analysis & Modeling Share Reporting and Documentation Software Algorithm Development Outputs for Design Code & Applications Hardware Application Development Deployment Automate 6 Pramod Kumar Naik, CoreEL Technologies 3
FDP on Electronic Design Tools : Matlab and Simulink with Version 2017b 14/12/2017 Major Application Areas: 7 The Language of Technical Computing Signal Processing Image Processing Control Systems Toolbox Communications Finance Data Analysis & Visualization 8 Pramod Kumar Naik, CoreEL Technologies 4
Application Development & Deployment 9 Graphical User Interface Suppliers Deploying Applications MATLAB User Clients Generating C Code Group Member Others within the Organization Collaborators SIMULINK 10 Pramod Kumar Naik, CoreEL Technologies 5
ADAS 11 ADAS VIDEO 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. The Rise of Analytics 12 Automotive Off-highway vehicles Aeronautics Retail The Rise of Analytics Finance Healthcare What is MATLAB Internet Industrial Automation Oil & Gas Medical Devices CleanEnergy Pramod Kumar Naik, CoreEL Technologies 6
13 Internet of Things Making the virtual presence of the real device on the Internet for end user access / information exchange. Thing Thing Thing Connecting the devices directly to internet and replace the manual entry of the data / manual operations. Thing Internet Thing demo Thing Thing 1 A popular IoT story 14 Pramod Kumar Naik, CoreEL Technologies 7 1
MATLAB Hardware Integration 15 16 Implement and Prototype Algorithms in Hardware Prepare model for code generation Embedded Coder HDL Coder Generate HDL code Integrated RTL Verification C, C++ VHDL, Verilog Critical Timing Information Analysis DSP / MCU FPGA ASIC Area and Speed Optimization Programmable SoC FPGA-in-Loop Verification Pramod Kumar Naik, CoreEL Technologies 8
17 Smart Systems What makes a system smart? Sensors Analysis based on available data Networking capabilities Standalone devices Data Acquisition 18 Connect and Acquire Signal Processing Algorithm Embedded Implementation Pramod Kumar Naik, CoreEL Technologies 9
Signal Processing is everywhere! 19 Computer Vision and Image Processing Audio Systems and Consumer Electronics Communications Medical Devices Problem Statement 20 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? Pulse Oximeter An android app that estimates the heart rate based on optical sensors Pramod Kumar Naik, CoreEL Technologies 10
21 Real-Time Stream Processing Frame 1 Frame 2 Frame 3 Frame n Data acquisition Algorithm processing time As long as Data acquisition + Algorithm processing <= Frame time We have Real-time signal processing Data Acquisition 22 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 Pramod Kumar Naik, CoreEL Technologies 11
Algorithm Development 23 Step 1: Computing the average intensity of each frame 2D Mean Estimation Algorithm Development 24 Step 2: Extracting the band of interest (Filter specification) 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? Pramod Kumar Naik, CoreEL Technologies 12
Algorithm Development 25 Step 3: Heart Rate Estimation Techniques to estimate number of troughs (peaks) in one second Count of number of troughs in a span of N seconds findpeaks Estimate the average time between adjacent peaks over N seconds Spectral Analysis Non-parametric : Periodogram, Welch Parametric : Yule-Walker, Burg Subspace methods : Eigen Vector, MUSIC Wavelet Analysis Algorithm Development 26 Step 3: Heart Rate Estimation [pks_val,locs] = findpeaks(-u,'minpeakdistance',5) 4 10-3 2 0 Amplitude -2-4 -6 Pramod Kumar Naik, CoreEL Technologies 13
28 From Simulation model to Implementation model (Android device) Simulation Model Implementation Model 29 MATLAB MOBILE APP HARDWARE SUPPORT PACKAGE. MATLAB MOBILE APP Pramod Kumar Naik, CoreEL Technologies 14
Machine Learning 30 31 MATLAB MOBILE Connecting to the Cloud Connecting to Your Computer Acquiring Data from Sensors Pramod Kumar Naik, CoreEL Technologies 15
Machine Learning 32 Machine Learning 33 Pramod Kumar Naik, CoreEL Technologies 16
MOOC 34 NPTEL - National Programme on Technology Enhanced 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) Industry Collaboration 35 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 Pramod Kumar Naik, CoreEL Technologies 17
Industry-University Collaboration 36 Student Competitions 37 Formula Student India 2016 50 Teams ABU Robocon India 2016 105 Teams MathWorks Innovation Prize Winners 1. College of Engineering, Pune {Competition R 2. Mukesh Patel School of Technology Management and Engineering (MPSTME), Mumbai 3. VSSUT, Sambalpur Pramod Kumar Naik, CoreEL Technologies 18
Customer Story R. V. College of Engineering, Bangalore 38 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 Customer Story R. V. College of Engineering, Bangalore 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 to 800 Onsite Training Sales Win for MATLAB and Statistics Pramod Kumar Naik, CoreEL Technologies 19
What is TAH? 40 Total Academic Head Count Importance of TAH 41 Pramod Kumar Naik, CoreEL Technologies 20
License Usage Terms & Conditions 42 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 s b) Floating (Network Concurrent) For installing in Labs where all PC are in Network Multi disciplinary concepts: 43 Pramod Kumar Naik, CoreEL Technologies 21
44 Speaker Details Email: pramod.kn@coreel.com LinkedIn: https://in.linkedin.com/in/pramod.kn CoreEL Technologies Pvt Ltd 21, Mahatyagi Laksmidevi Rd, Koramangala 1A Block, 1st Block Koramangala, Bengaluru, Karnataka 560034 Your feedback is valued. Please complete the feedback form provided to you. 4 Pramod Kumar Naik, CoreEL Technologies 22