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.
An Introduction to Hybrid Simulation – Displacement-Controlled Methods Mehdi Ahmadizadeh, PhD Andrei M Reinhorn, PE, PhD Initially Prepared: Spring 2007.
“Dynamics by Hibbeler,” Dr. S. Nasseri, MET Department, SPSU 1 RECTILINEAR KINEMATICS: ERRATIC MOTION Today’s Objectives: Students will be able to: Determine.
© Boardworks Ltd of 20 © Boardworks Ltd of 41 KS3 Physics 9K Speeding Up.
FIGURE 1.1 The objective is to regulate the level of liquid in the tank, h, to the value H. Curtis Johnson Process Control Instrumentation Technology,
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.
Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.
1 Application Software Course Simulink By: Mahdi Akbari 2010.
Chapter 19 Fast Fourier Transform (FFT) (Theory and Implementation)
Pole Placement. A majority of the design techniques in modern control theory is based on the state-feedback configuration. That is, instead of using controllers.
Copyright © Cengage Learning. All rights reserved. 9.4 Parametric Equations.
FORCE & MOTION REVIEW. Question 1 A large bus travels city streets. It takes the bus 10 seconds to cross each city block. If all the city blocks are the.
Copyright © 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 19 Fast Fourier Transform.
Copyright © 2002 Pearson Education, Inc. Slide 1.
THE WORK OF A FORCE, THE PRINCIPLE OF WORK AND ENERGY & SYSTEMS OF PARTICLES Todays Objectives: Students will be able to: 1.Calculate the work of a force.
Chapter 2 Physical Science 1. Motion Objectives 1. Distinguish between distance and displacement. 2. Distinguish between speed and velocity. 3. Interpret.
1 Wake Fields and Beam Dynamics Kai Meng Hock. 2 Overview A study of how particles affect other particles in accelerators: –The importance of wake fields.
Pacific Gas and Electric Company Long Term Procurement Plan Proceeding Renewable Integration Model Results and Model Demonstration October 22, 2010 Workshop.
FIGURE 3.1 System for illustrating Boolean applications to control. Curtis Johnson Process Control Instrumentation Technology, 8e] Copyright ©2006 by Pearson.
DYNAMICS VECTOR MECHANICS FOR ENGINEERS: DYNAMICS Tenth Edition Ferdinand P. Beer E. Russell Johnston, Jr. Phillip J. Cornwell Lecture Notes: Brian P.
Alter – Information Systems 4th e d. © 2002 Prentice Hall 1 Moving Towards E-Business As Usual.
Standards Certification Education & Training Publishing Conferences & Exhibits ISA Certified Automation Professional ® (CAP ® ) Rev. 10/2006.
7 - 1 Non-Central Coordinate System In addition to the 1-D, 2-D, and 3-D coordinate systems discussed in previous lectures, there is another useful coordinate.
ECE 495: Integrated System Design I CLEMSON U N I V E R S I T Y Introduction to Real- Time, Closed-loop Control.
1 ME 302 DYNAMICS OF MACHINERY Dynamics of Reciprocating Engines Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
1 15 Making the System Operational Lecture Activities of the Implementation and Support Phases Figure 15-1.
SYSTEMS OF PARTICLES The effective force of a particle P i of a given system is the product m i a i of its mass m i and its acceleration a i with.
Motion can be plotted on a graph by labeling the X- axis with TIME and the Y-axis DISTANCE.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 8: Main Memory.
Solve Multi-step Equations Students will solve equations with multiple steps (more than two) using distributive property, combining like terms, and inverse.
Copyright © by Holt, Rinehart and Winston. All rights reserved. ResourcesChapter menu Chapter 2 Table of Contents Section 1 Displacement and Velocity Section.
© 2016 SlidePlayer.com Inc. All rights reserved.