From the series: Improving Your Racecar Development
Christoph Hahn, MathWorks
Christoph Hahn, of MathWorks, shows you how to import CAD assemblies into Simscape Multibody™ using Onshape. Onshape is a browser-based CAD platform with an interface to the MATLAB® and Simulink® ecosystem. Christoph picks a 3D double wishbone suspension example which is similar to the use case presented in the Physical Modeling training. Please refer to the training to learn how to use Simscape Multibody.
Signing up at Onshape
Anyone can create a user account at Onshape . Working with Onshape is free-of-charge if one agrees that models are public. Onshape also offers professional / enterprise access which is free of charge for teachers and students, onshape.com/edu
The MATLAB command >>smexportonshape downloads assemblies from Onshape, stores them as step files, and creates an XML-based assembly definition file. The only information required is the assembly URL from Onshape.
>> smimport is the general command to create a Simscape Multibody model from exported CAD files.
Different CAD platforms come with different commands and workflows to export CAD data for Simscape Multibody import. A very similar workflow using Simscape Multibody Link has been presented in a previous episode of this series. Depending on the CAD platform, Onshape or Simscape Multibody Link can be the preferred option.
Recorded: 5 Apr 2017
MATLAB and Simulink Racing Lounge: Remote Control Racecar, Part 1: Programming ECUs Using Simulink Hardware Support Save valuable development time by programming custom ECUs and vehicle controllers with the hardware support packages available for Simulink.
MATLAB and Simulink Racing Lounge: Importing CAD Assemblies into Simscape Multibody Christoph Hahn, of MathWorks, shows you how to import CAD assemblies into Simscape Multibody using Onshape.
MATLAB and Simulink Racing Lounge: Real-Time Simulation and Testing of a Throttle Valve Controller Learn how to use Simulink Real-Time for rapid control prototyping and hardware-in-the-loop (HIL) testing. Naga Pemmaraju and Christoph Hahn guide you through real-time testing for a throttle valve controller using the Simulink Real-Time Explorer.
MATLAB and Simulink Racing Lounge: Using Simscape for Automotive System Development - A Google Hangout Watch the recording of a live Google Hangout where Steve Miller and Christoph Hahn, of MathWorks, present ways to use Simscape for automotive system development.
MATLAB and Simulink Racing Lounge: Updates to Simscape Products in R2016a Improve your Simscape workflow by benefitting from updates to Simscape products in R2016a. Sebastian Castro and Christoph Hahn introduce you to automotive relevant updates.
MATLAB and Simulink Racing Lounge: Developing Algorithms for ADAS Systems with MATLAB and Simulink Marco Roggero and Christoph Hahn, of MathWorks, explain how MATLAB and Simulink can assist in the development of an advanced driver assistance system. They will cover lane tracking, adaptive cruise control, and sensor fusion.
MATLAB and Simulink Racing Lounge: A MicroAutoBox Workflow Frank Schmidtmeier, of dSPACE, and Christoph Hahn, of MathWorks, guide you step-by-step through the workflow from reading sensor data to your Simulink model to auto-generated C code running on the ECU.
MATLAB and Simulink Racing Lounge: Processing CFD Simulation Data Use the matrix processing capabilities of MATLAB to work with your CFD simulation data. Christoph Hahn and Nicolas Gautier from MathWorks demonstrate how to get results into MATLAB and perform analyses. Find all models on the MATLAB FileExchange.
MATLAB and Simulink Racing Lounge: What Judges Are Looking For What are judges looking for in evaluating engineering design? Learn how to persuade them by focusing on simple, coherent approaches that make your car faster, and clear communication of your core message.
MATLAB and Simulink Racing Lounge: Modeling Vehicle Dynamics Model your vehicle dynamics for lap-time simulation, prediction of energy consumption, or to tune your suspension system. Christoph Hahn, Sebastian Castro, and Swarooph Seshadri, of MathWorks
MATLAB and Simulink Racing Lounge: Virtual Test-Driving Model and validate your race car in a virtual environment. Prasanna Kannan, of IPG, and Christoph Hahn, of MathWorks, introduce you to the benefits of Simulink and the IPG CarMaker.
MATLAB and Simulink Racing Lounge: Basics of Code Generation Spend more time on algorithm development and less time manually producing code. Christoph Hahn and Andreas Uschold of MathWorks discuss how to efficiently bring algorithms to C/C++ code and hardware with code generation.
MATLAB and Simulink Racing Lounge Modeling Physical Components, Part 2: Data Driven Concepts Learn a variety of modeling methods to fit your racecar needs. We’ll demonstrate five modeling approaches and share tips on how to choose the right model. Also, find all models used in the episode on the MATLAB Central FileExchange.
MATLAB and Simulink Racing Lounge: Modeling Physical Components, Part 1: Mathematical Models Model the physical systems of your racecar and learn about the variety of modeling methods to fit your needs. Sebastian Castro and Christoph Hahn, of MathWorks, demonstrate five modeling approaches and share tips on how to choose the right model.
MATLAB and Simulink Racing Lounge: Principles of Control Design Create a robust controller with a Simulink
MATLAB and Simulink Racing Lounge: CAN Communication with Your ECUs and the Vehicle Network Toolbox Connect your Controller Area Network (CAN) to MATLAB and Simulink using the Vehicle Network Toolbox to inspect, test, and validate the operation of a vehicle before an actual dynamic event.
MATLAB and Simulink Racing Lounge: Determining Chassis Stiffness with MATLAB Christoph Hahn, technical education specialist at MathWorks, introduces you to an efficient approach to determine structural properties of a steel tube frame using the direct stiffness method.
MATLAB and Simulink Racing Lounge: Battery Modeling with Simulink Javier Gazzarri and Christoph Hahn introduce you to battery modeling using Simulink.
MATLAB and Simulink Racing Lounge: Embedded Code Generation for Your Vehicle Control Systems Tobias Kumschmider and Christoph Hahn introduce you to the MathWorks Code Generation tool chain, provide information about supported platforms, and show the capabilities in a process-in-the-loop (PIL) software demo.
MATLAB and Simulink Racing Lounge: CAD Import in SimMechanics Learn how to Import a CAD assembly into SimMechanics using SimMechanics Link via a plug-in that lets you save your CAD file as an XML file, or an API that you connect to your CAD system.