Code covered by the BSD License  

5.0

5.0 | 4 ratings Rate this file 55 Downloads (last 30 days) File Size: 12.3 MB File ID: #32246
image thumbnail

Dual Clutch Transmission Model in Simulink

by

 

18 Jul 2011 (Updated )

Model of a dual-clutch transmission with MATLAB scripts for optimizing the shift schedule.

| Watch this File

File Information
Description

This file contains a dual-clutch transmission model built using Simscape and SimDriveline that can be configured for control algorithm development or optimization tests. The clutch states and pre-selection of the gears via dog clutches is controlled by a state machine modeled in Stateflow. Model variants for the transmission and vehicle dynamics can be selected using configurable subsystems. MATLAB scripts demonstrate how to optimize a shift schedule for maximum fuel economy, and how to speed that process using parallel computing. This model can be configured for hardware-in-the-loop testing. A 3D animation of the transmission shows the rotating shafts and enabled clutches, indicating the flow of power.
Please read the README.txt file to get started.

To see the optimization tasks, watch this video (5 min):
http://www.mathworks.com/videos/optimizing-shift-schedule-to-maximize-fuel-economy-68820.html

To see the complete demonstration of model tuning, parameter sweeps, and optimization tasks, please watch the webinar, “Shift Schedule Optimization of a Dual-Clutch Transmission“.
http://www.mathworks.com/videos/shift-schedule-optimization-of-a-dual-clutch-transmission-81828.html

To find other physical modeling examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Physical Modeling Products, go to:
http://www.mathworks.com/physical-modeling/

Required Products SimDriveline
Simscape
Simulink
Stateflow
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
09 Dec 2013 Steve Miller

Hi Chris -- do you have a license for the MathWorks product Model-Based Calibration Toolbox? That product is required for the data-driven model we have used. If you ">>which xregmaskinitialization -all" and get "xregmaskinitialization not found" then you don't have it. You could probably get a trial license of it from your sales rep.

--Steve

04 Dec 2013 Chris

This is a great model but whenever I change the Block choice of the Engine to 'Data Driven' I get the following error.

"Error in 'Dual_Clutch_Trans/Engine/Data Driven/MBC Engine Model From Dynamometer Data/MBC Brake Torque/xregtwostage/Local Model': Initialization commands cannot be evaluated.

Caused by:
Undefined function or variable 'xregmaskinitialization'."

Its a pity as I am building a diesel engine model and this would have been a great model to learn from.

25 May 2012 olivier

Sorry, I've realized that we don't have xPCtarget ...

23 May 2012 olivier

I've tried to run the simulation, but I get the following error:

Making simulation target "Dual_Clutch_Trans_sfun", ...

'Dual_Clutch_Trans_sfun.bat' is not recognized as an internal or external command,
operable program or batch file.

I'm running Matlab 64bits on Windows 7 with all the necessary toolboxes and compilers.

29 Sep 2011 Venche  
12 Sep 2011 Shusen  
Updates
20 Jul 2011

Added link to video.

02 Jan 2012

Added 3D animation. The gearbox VRML model is based on Bachelor Thesis of Mr. Jaroslav Prochazka, Department of Computer Graphics and Interaction, Czech Technical University in Prague, Czech Republic.

22 Feb 2013

Corrected release (zip file contains R2011b version)

18 Mar 2013

Zip contains R2013a version, as well as R2012b and R2011b versions.

19 Mar 2013

Updated MATLAB Release information to R2013a

15 Jul 2013

Updated link to optimization tasks video in "Description". No change to submission files.

17 Apr 2014

Fixed webinar link.

Contact us