We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byJosue Catterall
Modified over 2 years ago
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Vehicle Dynamics
Slide 2 © 2007 Texas Instruments Inc, Objectives To implement a simplified differential equation for the motion of a car. To build and test a Simulink Model. To run the model in real-time using the ezDSP F2812 hardware.
Slide 3 © 2007 Texas Instruments Inc, Motion of a Vehicle Consider the case of a car driving in a straight line along a flat road.
Slide 4 © 2007 Texas Instruments Inc, Engine Power The driving force is supplied by the engine. Engine Power
Slide 5 © 2007 Texas Instruments Inc, Vehicle Weight The weight of the vehicle will need to be overcome to move the vehicle. Vehicle Weight
Slide 6 © 2007 Texas Instruments Inc, Wind Resistance As the car moves, there will be wind resistance. WindResistance
Slide 7 © 2007 Texas Instruments Inc, Vehicle Speed The engine power, vehicle weight and wind resistance determine the vehicle speed. Vehicle Speed
Slide 8 © 2007 Texas Instruments Inc, Combined Factors These factors can be brought together into an equation of motion. b.v m F v
Slide 9 © 2007 Texas Instruments Inc, Differential Equation F = m.dv/dt + b.v where: –F = force provided by the engine –m = mass of vehicle –dv/dt = rate of change of velocity (acceleration) –b = damping factor (wind resistance) –v = velocity (vehicle speed)
Slide 10 © 2007 Texas Instruments Inc, Transformed Equation To implement the equation using Simulink, the equation needs to be first transformed. F/m –v.b/m= dv/dt We will set up a subsystem with: – Force F as the input. – Speed v as the output.
Slide 11 © 2007 Texas Instruments Inc, Continuous Implementation Using Simulink, the equation can be implemented as a continuous system as shown in the diagram. To generate v, we need to integrate the acceleration dv/dt.
Slide 12 © 2007 Texas Instruments Inc, Simulink Model
Slide 13 © 2007 Texas Instruments Inc, The Simulink Model The model of vehicle motion is shown below:
Slide 14 © 2007 Texas Instruments Inc, Description of Model The input to the system is the gas pedal, under control of the driver. The Engine Management sub-system converts gas pedal to engine power. The Vehicle Dynamics sub-system converts engine power to vehicle speed. The output is provided in horsepower.
Slide 15 © 2007 Texas Instruments Inc, Engine Management Subsystem This converts the gas pedal input (0-100%) to engine output power (0 – 200 hp).
Slide 16 © 2007 Texas Instruments Inc, Lookup Tables The conversion from rpm to power can be implemented using a lookup table.
Slide 17 © 2007 Texas Instruments Inc, Lookup Table Curve The table values can be adjusted to fit a smooth curve.
Slide 18 © 2007 Texas Instruments Inc, Vehicle Dynamics Subsystem To implement the equation of motion on the C28x, a Discrete Time Integrator is required.
Slide 19 © 2007 Texas Instruments Inc, Running the Simulation The ramp generator gently changes the Gas Pedal from 0% to 100%. This simulates smooth acceleration.
Slide 20 © 2007 Texas Instruments Inc, Tuning the Model Alter the mass m of the vehicle between 1 ton (for a small compact car) and 35 tons (for a truck). Increase the wind resistance by increasing variable b. Using real data from a car manufacturers website for the Lookup Table. You could also profile a diesel engine. Replace the Ramp input with a Step input to simulate stamping on the gas pedal!
Slide 21 © 2007 Texas Instruments Inc, Introduction to Laboratory
Slide 22 © 2007 Texas Instruments Inc, Overview of Laboratory The Simulink model will be modified to run on the ezDSP F2812 hardware. A potentiometer will be used to simulate the gas pedal. The output speed of the system will be monitored using a multi-meter.
Slide 23 © 2007 Texas Instruments Inc, Modifications for C28x To run on the ezDSP F2812, additional blocks from the Embedded Target for TI C2000 DSP are required.
Slide 24 © 2007 Texas Instruments Inc, ADC Scaling The ADC input needs to be scaled %. Using fixed-point math, this can be implemented as multiply by 800 then divide by
Slide 25 © 2007 Texas Instruments Inc, DAC Scaling The input kph needs to be scaled for the DAC.
Slide 26 © 2007 Texas Instruments Inc, References ezDSP F2812 Technical Reference.
25 seconds left….. 24 seconds left….. 23 seconds left…..
Jeopardy Topic 1Topic Q 1Q 6Q 11Q 16Q 21 Q 2Q 7Q 12Q 17Q 22 Q 3Q 8Q 13Q 18Q 23 Q 4Q 9Q 14Q 19Q 24 Q 5Q 10Q 15Q 20Q 25 Final Jeopardy.
We will resume in: 25 Minutes We will resume in: 24 Minutes.
ABC Technology Project Mrs. Kiddle. ABCs of Technology Word 1 Word 2 Word 3 Word 4 Word 5 Word 6 Word 7 Word 8 Word 9 Word 19 Word 20 Word 21 Word 22.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
WEEK 1 You have 10 seconds to name…
Addition 1’s to
Chapter 5 Test Review Sections 5-1 through 5-4. Simplify each expression. 1)2) 3)4) 5) 6)
Copyright © 2002 Pearson Education, Inc. Slide 1.
TWO STEP EQUATIONS 1. SOLVE FOR X 3. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE 2. DO THE ADDITION STEP FIRST.
1 Chapter 1 The Study of Body Function Image PowerPoint Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Title Subtitle 1. A. B. C. C. * D. Click to try again! INCORRECT.
Addition Facts = = =
Murach's PHP and MySQL, C15© 2010, Mike Murach & Associates, Inc.Slide 1.
Solve Multi-step Equations Students will solve equations with multiple steps (more than two) using distributive property, combining like terms, and inverse.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Slide 1 Advanced Piloting Cruise Plot. Advanced Piloting Cruise United States Power Squadrons ® Part I Question 1 Question 2 Question 3 Question 4 Question.
Modeling First Order Systems in Simulink And Analyzing Step, Pulse and Ramp Responses SOEN385 Control Systems and Applications.
Year 6 mental test 5 second questions Multiplication and Division Tables knowledge.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
PSSA Preparation. Question 1(no calculator) D Question 2 (no calculator)
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
© Boardworks Ltd of 20 © Boardworks Ltd of 41 KS3 Physics 9K Speeding Up.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
© 2012 National Heart Foundation of Australia. Slide 2.
CpSc 3220 Designing a Database Rockoff Ch 19 Murach Ch 16.
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
My Alphabet Book 2 a b c d e f g h i j k l m n o p q r s t u v w x y z My name is Autumn and I work hard at school.
Squares and Square Root WALK. Solve each problem REVIEW:
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Test B, 100 Subtraction Facts
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Dual.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Prof. Valter Bezerra Dantas
SIMOCODE-DP Software. Automation and Drives SIMOCODE-DP 3UF5 08/04 2 Protection Control Logic Communication SIMOCODE Software Communication Protection.
A SMALL TRUTH TO MAKE LIFE 100%. If A B C D E F G H I J K L M N O P Q R S T U V W X Y Z is equal to
FACTORING Think unfoil Work down, Show all steps ax 2 + bx + c.
DC Machine 1. Content Introduction Elementary DC machine Voltage and Torque Equations Basic Type DC Machines Dynamics characteristics of Magnet Permanent.
Chapter 6 Cost and Choice. Copyright © 2001 Addison Wesley LongmanSlide 6- 2 Figure 6.1 A Simplified Jam-Making Technology.
“Start-to-End” Simulations Imaging of Single Molecules at the European XFEL Igor Zagorodnov S2E Meeting DESY 10. February 2014.
© 2017 SlidePlayer.com Inc. All rights reserved.