SlideShare a Scribd company logo
Model Based System
Design for Automotive
Engineering :A
MATLAB Approach
Online Faculty Development Programme
1/3/2024 1
SRI RAMAKRISHNA ENGINEERING COLLEGE
VATTAMALAIPALAYAM, N.G.G.O. COLONY POST, COIMBATORE – 641 022.
DEPARTMENT OF ELECTRONICS AND INSTRUMENTATION ENGINEERING
Model Based System Design for Automotive Engineering
:A MATLAB Approach
Overview of Model Based System Engineering
using SIMULINK
1/3/2024 2
Online Faculty Development Programme
Overview of Model Based System
Engineering using SIMULINK
Session Overview
• Analyze the performance of the real-world
model
• Why do we use Simulink?
• Pre-Requirements: No Pre- Requirements
Needed
1/3/2024 3
What we will be covering in this session?
• Project 1: Generating, displaying, and exporting the sine
wave using SIMULINK.
• Project 2: Building a system involving Mathematical
Equations using SIMULINK.
• Project 3: Building a Mass Spring Damper system
involving the Time domain using SIMULINK.
• Project 4: Building a Mass Spring Damper system
involving the S-domain using SIMULINK.
• Project 5: Simulate a battery model using SIMULINK.
1/3/2024 4
Generating, displaying, and exporting the sine wave using
SIMULINK.
• Select blocks from the Simulink library.
• Add up and view two signals in Simulink.
• Generate sine wave and tune its parameters.
• Change the model configuration parameters.
• Export a variable into the workspace and plot
it.
• Magnify a signal using a gain multiplier.
1/3/2024 5
Building a system involving Mathematical Equations
using SIMULINK.
• To Design a Simulink model based on an equation
that contains differentiation and Integration.
• To call the Simulink model from M-script.
1/3/2024 6
• Mass spring damper system in the Time domain
• They are present in all the vehicles that we use in
the day to day life
• outcome:
 How to simulate a function in time domain
 how to develope mass spring damper system
 how to derive a mathamatical equation from
newton's second law of motion.
 drawing a system free body diagram and effects
of changing the system parameters in the simulink
model.
1/3/2024 7
Building a Mass Spring Damper system
involving the Time domain using
SIMULINK.
1/3/2024 8
Building a Mass Spring Damper system
involving the Time domain using
SIMULINK.
How do damper works?
9
SPRING & DAMPER NO DAMPER
Building a Mass Spring Damper system
involving the Time domain using
SIMULINK.
1/3/2024 10
According to Newton’s Second Law of Motion
1/3/2024 11
According to Newton’s Second Law of Motion
1/3/2024 12
1/3/2024 13
1/3/2024 14
𝑀𝑥 = 𝐹 − 𝑏𝑥 − 𝑘𝑥
𝑥 = 1/𝑀[𝐹 − 𝑏𝑥 − 𝑘𝑥]
Assume M = 1 Kg, b = 1 Ns/m, k = 20 N/m
• 𝑀𝑥 = 𝐹 − 𝑏𝑥 − 𝑘𝑥
• 𝑀𝑠2
𝑋 𝑠 = 𝐹 𝑠 − 𝑏𝑠𝑋 𝑠 − 𝑘𝑋 𝑠
𝑋(𝑠)
𝐹(𝑠)
=
1
𝑀𝑠2 + 𝑏𝑠 + 𝑘
Assume M = 1 Kg, b = 1 Ns/m, k = 20 N/m
𝑋(𝑠)
𝐹(𝑠)
=
1
𝑠𝑠 + 1𝑠 + 20
http://ctms.engin.umich.edu/CTMS/index.php
?example=Introduction&section=ControlPID
15
INTRODUCTION TO CONTROL SYSTEMS: PRACTICAL EXAMPLE
2. LET’S DEVELOP A MATHEMATICAL MODEL
TRANSFER
FUNCTION
TRANSFER
FUNCTION
𝑋(𝑠)
𝐹(𝑠)
𝐼𝑁𝑃𝑈𝑇 𝑂𝑈𝑇𝑃𝑈𝑇
Building a Mass Spring Damper system
involving the S-domain using SIMULINK.
• Used to Monitor Battery parameters such as SOC
Battery
Model
Error ~
0
Input
Current
Output
Voltage
5 10 15 20
-150
-120
-90
-60
-30
0
30
60
90
120
150
Time (Mins)
Current
(Amps)
Pack Current - UDDS
0 5 10 15 20 25 30 35 40
260
270
280
290
300
310
320
330
340
350
360
370
380
Time(min)
Terminal
Voltage(V)
Pack Terminal Voltage
BATTERY MODELING: WHY BATTERY MODELING?
16
http://epg.eng.ox.ac.uk/tags/battery-modelling-state-charge-battery-management-system
Simulate a battery model using SIMULINK.
• The Open-circuit voltage (OCV) is the difference of electrical potential between two terminals of a device when the
device is disconnected from any circuit.
• There is no external load connected.
• No external electric current flows between the terminals.
17
OPEN CIRCUIT VOLTAGE: DEFINITION
http://www.learningaboutelectronics.com/Articles/What-is-open-circuit-voltage.php
Simulate a battery model using SIMULINK.
Example: Battery Open Circuit Voltage
• If you measure the voltage of the battery terminals with a multi-meter, you will read the OCV even if
there is no current is flowing in the circuit.
• The OCV is function of the battery State-of-Charge (SOC).
18
OPEN CIRCUIT VOLTAGE:
Simulate a battery model using SIMULINK.
• There is a relationship between the battery Open-circuit voltage (OCV) and State of Charge (SOC).
• The relationship depends on the battery chemistry and the direction of charging and discharging.
19
OPEN CIRCUIT VOLTAGE: SOC-OCV RELATIONSHIP
0 20 40 60 80 100
2.6
2.8
3
3.2
3.4
SOC [%]
Voltage
[V]
Averaged Charging/Discharging SOC - OCV Relationship
SOC - OCV
AVERAGING
• OCV-R Battery Model
𝑉𝑇 = 𝑂𝐶𝑉 𝑆𝑂𝐶 − 𝐼 ∗ 𝑅 𝑇, 𝑆𝑂𝐶
0 20 40 60 80 100
2.6
2.8
3
3.2
3.4
SOC [%]
Voltage
[V]
Averaged Charging/Discharging SOC - OCV Relationship
SOC - OCV
𝑆𝑂𝐶 = 𝑆𝑂𝐶
𝑜
−
1
𝐶𝑛 0
𝑡
𝐼 𝑡 𝑑𝑡
SIMPLE MODEL (OCV-R)
20
𝑉𝑘 = 𝑂𝐶𝑉 𝑆𝑂𝐶𝑘 − 𝑖𝑘 ∗ 𝑅
𝑆𝑂𝐶𝑘+1 = 𝑆𝑂𝐶𝑘 −
∆𝑡
𝐶𝑛
𝑖𝑘

More Related Content

Similar to How to use SIMULINK.pptx

FINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptx
FINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptxFINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptx
FINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptx
MadhiGeddam
 
Unknown input observer for a novel sensorless drive of brushless dc motors
Unknown input observer for a novel sensorless drive of brushless dc motorsUnknown input observer for a novel sensorless drive of brushless dc motors
Unknown input observer for a novel sensorless drive of brushless dc motors
Asoka Technologies
 
LCE-UNIT 2 PPT.pdf
LCE-UNIT 2 PPT.pdfLCE-UNIT 2 PPT.pdf
LCE-UNIT 2 PPT.pdf
HODECE21
 
Implementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward ConverterImplementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward Converter
ijceronline
 
Speed control of dc motor using 89c51
Speed control of dc motor using 89c51Speed control of dc motor using 89c51
Speed control of dc motor using 89c51Pawan Gupta
 
Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...
Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...
Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...
Asoka Technologies
 
Design Document - Remote Solar Monitoring and Bateery Optimzation System
Design Document - Remote Solar Monitoring and Bateery Optimzation SystemDesign Document - Remote Solar Monitoring and Bateery Optimzation System
Design Document - Remote Solar Monitoring and Bateery Optimzation System
Mamoon Ismail Khalid
 
Agent based Load Management for Microgrid
Agent based Load Management for MicrogridAgent based Load Management for Microgrid
Agent based Load Management for Microgrid
Mohamed Abbas
 
Quaid-e-Azam solar park.pptx
Quaid-e-Azam solar park.pptxQuaid-e-Azam solar park.pptx
Quaid-e-Azam solar park.pptx
SherAli260123
 
Self Balancing Robot
Self Balancing RobotSelf Balancing Robot
Self Balancing Robot
Dhaval Solanki
 
Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...
Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...
Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...
Asoka Technologies
 
Painel 1 – My Electric Venue
Painel 1 – My Electric VenuePainel 1 – My Electric Venue
Painel 1 – My Electric Venue
UKinBrazilNetwork
 
Grid interactive solar pv based water pumping using bldc motor drive
Grid interactive solar pv based water pumping using bldc motor driveGrid interactive solar pv based water pumping using bldc motor drive
Grid interactive solar pv based water pumping using bldc motor drive
Asoka Technologies
 
Mini ee 14 microcontroller based solar tracking system Electrical engineering...
Mini ee 14 microcontroller based solar tracking system Electrical engineering...Mini ee 14 microcontroller based solar tracking system Electrical engineering...
Mini ee 14 microcontroller based solar tracking system Electrical engineering...
1000kv technologies
 
ETAP - Ac networks
ETAP - Ac networksETAP - Ac networks
ETAP - Ac networks
Himmelstern
 
WEDM Tension Control Simulation Based on Matlab
WEDM Tension Control Simulation Based on MatlabWEDM Tension Control Simulation Based on Matlab
WEDM Tension Control Simulation Based on Matlab
IJRES Journal
 
Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...
Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...
Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...
IOSR Journals
 
B010110710
B010110710B010110710
B010110710
IOSR Journals
 

Similar to How to use SIMULINK.pptx (20)

FINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptx
FINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptxFINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptx
FINAL PPT DESIGN OF OFF-GRID PHOTO VOLTAIC SYSTEM (1).pptx
 
Unknown input observer for a novel sensorless drive of brushless dc motors
Unknown input observer for a novel sensorless drive of brushless dc motorsUnknown input observer for a novel sensorless drive of brushless dc motors
Unknown input observer for a novel sensorless drive of brushless dc motors
 
LCE-UNIT 2 PPT.pdf
LCE-UNIT 2 PPT.pdfLCE-UNIT 2 PPT.pdf
LCE-UNIT 2 PPT.pdf
 
Implementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward ConverterImplementation of Linear Controller for a DC-DC Forward Converter
Implementation of Linear Controller for a DC-DC Forward Converter
 
Speed control of dc motor using 89c51
Speed control of dc motor using 89c51Speed control of dc motor using 89c51
Speed control of dc motor using 89c51
 
Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...
Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...
Reduced Sensor Based PV Array Fed Direct Torque Control Induction Motor Drive...
 
Design Document - Remote Solar Monitoring and Bateery Optimzation System
Design Document - Remote Solar Monitoring and Bateery Optimzation SystemDesign Document - Remote Solar Monitoring and Bateery Optimzation System
Design Document - Remote Solar Monitoring and Bateery Optimzation System
 
Agent based Load Management for Microgrid
Agent based Load Management for MicrogridAgent based Load Management for Microgrid
Agent based Load Management for Microgrid
 
Quaid-e-Azam solar park.pptx
Quaid-e-Azam solar park.pptxQuaid-e-Azam solar park.pptx
Quaid-e-Azam solar park.pptx
 
Self Balancing Robot
Self Balancing RobotSelf Balancing Robot
Self Balancing Robot
 
SEM 6th final 1
SEM 6th final 1SEM 6th final 1
SEM 6th final 1
 
Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...
Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...
Dual-function PV-ECS integrated to 3P4W distribution grid using 3M-PLL contro...
 
Painel 1 – My Electric Venue
Painel 1 – My Electric VenuePainel 1 – My Electric Venue
Painel 1 – My Electric Venue
 
Grid interactive solar pv based water pumping using bldc motor drive
Grid interactive solar pv based water pumping using bldc motor driveGrid interactive solar pv based water pumping using bldc motor drive
Grid interactive solar pv based water pumping using bldc motor drive
 
Mini ee 14 microcontroller based solar tracking system Electrical engineering...
Mini ee 14 microcontroller based solar tracking system Electrical engineering...Mini ee 14 microcontroller based solar tracking system Electrical engineering...
Mini ee 14 microcontroller based solar tracking system Electrical engineering...
 
ETAP - Ac networks
ETAP - Ac networksETAP - Ac networks
ETAP - Ac networks
 
WEDM Tension Control Simulation Based on Matlab
WEDM Tension Control Simulation Based on MatlabWEDM Tension Control Simulation Based on Matlab
WEDM Tension Control Simulation Based on Matlab
 
Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...
Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...
Development of Automatic PV Power Pack Servo Based Single Axis Solar Tracking...
 
B010110710
B010110710B010110710
B010110710
 
Wce2013 pp1809 1814
Wce2013 pp1809 1814Wce2013 pp1809 1814
Wce2013 pp1809 1814
 

More from VijayAECE1

Answer key for pattern recognition and machine learning
Answer key for pattern recognition and machine learningAnswer key for pattern recognition and machine learning
Answer key for pattern recognition and machine learning
VijayAECE1
 
Know this information design for department Library
Know this information design for department LibraryKnow this information design for department Library
Know this information design for department Library
VijayAECE1
 
Unit_4- Principles of AI explaining the importants of AI
Unit_4- Principles of AI explaining the importants of AIUnit_4- Principles of AI explaining the importants of AI
Unit_4- Principles of AI explaining the importants of AI
VijayAECE1
 
UJT.pptx
UJT.pptxUJT.pptx
UJT.pptx
VijayAECE1
 
Tunnel Diode.ppt
Tunnel Diode.pptTunnel Diode.ppt
Tunnel Diode.ppt
VijayAECE1
 
SEMICONDUCTOR PHYSICS.ppt
SEMICONDUCTOR  PHYSICS.pptSEMICONDUCTOR  PHYSICS.ppt
SEMICONDUCTOR PHYSICS.ppt
VijayAECE1
 
Clipper Circuit.pptx
Clipper Circuit.pptxClipper Circuit.pptx
Clipper Circuit.pptx
VijayAECE1
 

More from VijayAECE1 (7)

Answer key for pattern recognition and machine learning
Answer key for pattern recognition and machine learningAnswer key for pattern recognition and machine learning
Answer key for pattern recognition and machine learning
 
Know this information design for department Library
Know this information design for department LibraryKnow this information design for department Library
Know this information design for department Library
 
Unit_4- Principles of AI explaining the importants of AI
Unit_4- Principles of AI explaining the importants of AIUnit_4- Principles of AI explaining the importants of AI
Unit_4- Principles of AI explaining the importants of AI
 
UJT.pptx
UJT.pptxUJT.pptx
UJT.pptx
 
Tunnel Diode.ppt
Tunnel Diode.pptTunnel Diode.ppt
Tunnel Diode.ppt
 
SEMICONDUCTOR PHYSICS.ppt
SEMICONDUCTOR  PHYSICS.pptSEMICONDUCTOR  PHYSICS.ppt
SEMICONDUCTOR PHYSICS.ppt
 
Clipper Circuit.pptx
Clipper Circuit.pptxClipper Circuit.pptx
Clipper Circuit.pptx
 

Recently uploaded

Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 

Recently uploaded (20)

Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 

How to use SIMULINK.pptx

  • 1. Model Based System Design for Automotive Engineering :A MATLAB Approach Online Faculty Development Programme 1/3/2024 1
  • 2. SRI RAMAKRISHNA ENGINEERING COLLEGE VATTAMALAIPALAYAM, N.G.G.O. COLONY POST, COIMBATORE – 641 022. DEPARTMENT OF ELECTRONICS AND INSTRUMENTATION ENGINEERING Model Based System Design for Automotive Engineering :A MATLAB Approach Overview of Model Based System Engineering using SIMULINK 1/3/2024 2 Online Faculty Development Programme
  • 3. Overview of Model Based System Engineering using SIMULINK Session Overview • Analyze the performance of the real-world model • Why do we use Simulink? • Pre-Requirements: No Pre- Requirements Needed 1/3/2024 3
  • 4. What we will be covering in this session? • Project 1: Generating, displaying, and exporting the sine wave using SIMULINK. • Project 2: Building a system involving Mathematical Equations using SIMULINK. • Project 3: Building a Mass Spring Damper system involving the Time domain using SIMULINK. • Project 4: Building a Mass Spring Damper system involving the S-domain using SIMULINK. • Project 5: Simulate a battery model using SIMULINK. 1/3/2024 4
  • 5. Generating, displaying, and exporting the sine wave using SIMULINK. • Select blocks from the Simulink library. • Add up and view two signals in Simulink. • Generate sine wave and tune its parameters. • Change the model configuration parameters. • Export a variable into the workspace and plot it. • Magnify a signal using a gain multiplier. 1/3/2024 5
  • 6. Building a system involving Mathematical Equations using SIMULINK. • To Design a Simulink model based on an equation that contains differentiation and Integration. • To call the Simulink model from M-script. 1/3/2024 6
  • 7. • Mass spring damper system in the Time domain • They are present in all the vehicles that we use in the day to day life • outcome:  How to simulate a function in time domain  how to develope mass spring damper system  how to derive a mathamatical equation from newton's second law of motion.  drawing a system free body diagram and effects of changing the system parameters in the simulink model. 1/3/2024 7 Building a Mass Spring Damper system involving the Time domain using SIMULINK.
  • 8. 1/3/2024 8 Building a Mass Spring Damper system involving the Time domain using SIMULINK. How do damper works?
  • 9. 9 SPRING & DAMPER NO DAMPER Building a Mass Spring Damper system involving the Time domain using SIMULINK.
  • 10. 1/3/2024 10 According to Newton’s Second Law of Motion
  • 11. 1/3/2024 11 According to Newton’s Second Law of Motion
  • 14. 1/3/2024 14 𝑀𝑥 = 𝐹 − 𝑏𝑥 − 𝑘𝑥 𝑥 = 1/𝑀[𝐹 − 𝑏𝑥 − 𝑘𝑥] Assume M = 1 Kg, b = 1 Ns/m, k = 20 N/m
  • 15. • 𝑀𝑥 = 𝐹 − 𝑏𝑥 − 𝑘𝑥 • 𝑀𝑠2 𝑋 𝑠 = 𝐹 𝑠 − 𝑏𝑠𝑋 𝑠 − 𝑘𝑋 𝑠 𝑋(𝑠) 𝐹(𝑠) = 1 𝑀𝑠2 + 𝑏𝑠 + 𝑘 Assume M = 1 Kg, b = 1 Ns/m, k = 20 N/m 𝑋(𝑠) 𝐹(𝑠) = 1 𝑠𝑠 + 1𝑠 + 20 http://ctms.engin.umich.edu/CTMS/index.php ?example=Introduction&section=ControlPID 15 INTRODUCTION TO CONTROL SYSTEMS: PRACTICAL EXAMPLE 2. LET’S DEVELOP A MATHEMATICAL MODEL TRANSFER FUNCTION TRANSFER FUNCTION 𝑋(𝑠) 𝐹(𝑠) 𝐼𝑁𝑃𝑈𝑇 𝑂𝑈𝑇𝑃𝑈𝑇 Building a Mass Spring Damper system involving the S-domain using SIMULINK.
  • 16. • Used to Monitor Battery parameters such as SOC Battery Model Error ~ 0 Input Current Output Voltage 5 10 15 20 -150 -120 -90 -60 -30 0 30 60 90 120 150 Time (Mins) Current (Amps) Pack Current - UDDS 0 5 10 15 20 25 30 35 40 260 270 280 290 300 310 320 330 340 350 360 370 380 Time(min) Terminal Voltage(V) Pack Terminal Voltage BATTERY MODELING: WHY BATTERY MODELING? 16 http://epg.eng.ox.ac.uk/tags/battery-modelling-state-charge-battery-management-system Simulate a battery model using SIMULINK.
  • 17. • The Open-circuit voltage (OCV) is the difference of electrical potential between two terminals of a device when the device is disconnected from any circuit. • There is no external load connected. • No external electric current flows between the terminals. 17 OPEN CIRCUIT VOLTAGE: DEFINITION http://www.learningaboutelectronics.com/Articles/What-is-open-circuit-voltage.php Simulate a battery model using SIMULINK.
  • 18. Example: Battery Open Circuit Voltage • If you measure the voltage of the battery terminals with a multi-meter, you will read the OCV even if there is no current is flowing in the circuit. • The OCV is function of the battery State-of-Charge (SOC). 18 OPEN CIRCUIT VOLTAGE: Simulate a battery model using SIMULINK.
  • 19. • There is a relationship between the battery Open-circuit voltage (OCV) and State of Charge (SOC). • The relationship depends on the battery chemistry and the direction of charging and discharging. 19 OPEN CIRCUIT VOLTAGE: SOC-OCV RELATIONSHIP 0 20 40 60 80 100 2.6 2.8 3 3.2 3.4 SOC [%] Voltage [V] Averaged Charging/Discharging SOC - OCV Relationship SOC - OCV AVERAGING
  • 20. • OCV-R Battery Model 𝑉𝑇 = 𝑂𝐶𝑉 𝑆𝑂𝐶 − 𝐼 ∗ 𝑅 𝑇, 𝑆𝑂𝐶 0 20 40 60 80 100 2.6 2.8 3 3.2 3.4 SOC [%] Voltage [V] Averaged Charging/Discharging SOC - OCV Relationship SOC - OCV 𝑆𝑂𝐶 = 𝑆𝑂𝐶 𝑜 − 1 𝐶𝑛 0 𝑡 𝐼 𝑡 𝑑𝑡 SIMPLE MODEL (OCV-R) 20 𝑉𝑘 = 𝑂𝐶𝑉 𝑆𝑂𝐶𝑘 − 𝑖𝑘 ∗ 𝑅 𝑆𝑂𝐶𝑘+1 = 𝑆𝑂𝐶𝑘 − ∆𝑡 𝐶𝑛 𝑖𝑘

Editor's Notes

  1. The first step in designing a battery management system (BMS) is to develop a high fidelity battery model. In order for a BMS to estimate the battery critical parameters such as the battery state of charge and state of health, an accurate battery model has to be implemented on board of the BMS along with a robust estimation strategy. So a battery model is a list of mathematical equations that describe what’s physically happening inside the battery. In simple terms, as shown in the figure, if we apply the same current profile to the battery and the battery model, both should generate the same voltage profile and the error between the two signals should be close to zero. The model can predict the behavior of the battery in a way that if we applied an estimator, we can predict critical parameters such as the battery SOH and remaining useful life.
  2. The Open-circuit voltage (OCV) is the difference of electrical potential between two terminals of a device when the device is disconnected from any circuit. There is no external load connected and no external electric current flows between the terminals. The Open Circuit Voltage (OCV) represents a Voltage Source's Full Voltage, since there is no voltage drop across the load. A voltage source's OCV represents its full voltage value, since the source does not share any of its voltage with a load. The unconnected voltage is real voltage, even if a voltage source is unconnected and not attached to any load, the potential power still exists.
  3. - So in case of batteries, if you measure the voltage of the battery terminals with a multi-meter, you will read the OCV even if there is no current is flowing in the circuit. - The battery OCV is particularly important since there is a relationship that exists between the battery State-of-Charge (SOC) and Open Circuit Voltage (OCV).
  4. - There is a relationship between the battery Open-circuit voltage (OCV) and State of Charge (SOC). The relationship depends on the battery chemistry and the direction of charging and discharging. If you start with a fully discharged battery and start charging it, the battery OCV starts at let’s say 2.2V and keep ramping up following the red line until you reach the maximum voltage at 4.3V. The battery SOC is set to 100% when the battery is fully charged. As you start discharging the battery, you start from a fully charged state then you follow a different path indicated by the blue line until you fully discharge the battery at 0% SOC. The difference between the charging and discharging paths is due to hysteresis. In the following section we will know how to experientially derive the battery open circuit voltage-state of charge relationship from experimental data.
  5. - The simple battery model is as shown in the figure, the voltage source represents the OCV which is function of the battery state of charge. Then, the battery charging and discharging internal resistance are reprensted as RChg and Rdis. By subtracting the voltage drop across the resistance from the battery OCV, you can calculate the battery terminal voltage V. The battery internal resistance is function of the battery temperature, SOC and life. - In the following section, we are going to simulate the simple battery model using MATLAB and Simulink.