Simulation Experiments (Part 3)

It’s time to continue my short series on simulation experiments. In Part 1 and Part 2 I discussed the basics of simulation experiments and general features of Experiment Manager, the SystemVision application for simplifying, executing, and managing simulation experiments. In this post I’ll use a simple motor driver example to illustrate the basics of Experiment Manager operation. Here is the circuit:

 graphic_motor_circuit_resized

Setting up and running an experiment requires two types of system information: a list of parameters whose values can change during the experiment, and one or more saved measurements to execute for each experiment run. For my motor drive system, I want to look at two performance metrics related to the position of the motor shaft: risetime for the shaft to move to its final position, and the maximum of the shaft’s position. For system parameters, I will focus on parameters in the motor including the winding resistance, winding inductance,  torque constant, damping coefficient, and moment of inertia.

Too determine how much effect each motor parameter has on my measurements, I ran a simple sensitivity analysis. Based on my analysis setup, the risetime is most affected by the motor’s winding resistance and damping coefficient, and the damping coefficient has the largest effect on the shaft’s final position. So I setup my experiment to adjust values for the winding resistance and damping coefficient while measuring risetime and position.

Experiment Manager’s GUI-driven integration with Microsoft Excel allows me to quickly setup the experiment spreadsheet. The spreadsheet contains a single column for each parameter and measurement in my experiment. Once defined, here is what the spreadsheet looks like:

 experiment_manager_1 

With the parameter and measurement columns defined, each row in the spreadsheet becomes an individual experiment. I define the values in the parameter columns, and SystemVision fills in the measurement columns with calculated information from the experiment. Here is what my spreadsheet looks like after running a series of experiments:

 experiment_manager_2

 Note the cell shading in the measurement columns. Experiment Manager allows me to set minimum and maximum limits for measurements, and then flags the measured data by coloring the cell based on whether the measurement is within, or outside of, measurement limits (e.g. in the above example, green indicates a passed measurment, oranage a failed measurement). Now I have two sets of complimentary data: waveforms in SystemVision which I can further analyze graphically, and numeric data in Excel that I can analyze using spreadsheet functions.

System experiments are an essential part of designing and verifying a mechatronic system design. But setting up experiments often requires significant time, particularly if it’s a manual process. Tools like Experiment Manager speed the experiment definition process and help design teams automate experiment setup and execution to make design flows more efficient and improve system quality.

More Blog Posts

About Mike Jensen

Mike JensenMost career paths rooted in high technology take many interesting (and often rewarding) twists and turns. Mine has certainly done just that. After graduating in electrical engineering from the University of Utah (go Utes!), I set off to explore the exciting, multi-faceted high tech industry. My career path since has wound its way from aircraft systems engineering for the United States Air Force, to over two decades in applications engineering and technical marketing for leading design automation software companies, working exclusively with mechatronic system modeling and analysis tools. Along the way, I’ve worked with customers in a broad range of industries and technologies including transportation, communications, automotive, aerospace, semiconductor, computers, and consumer electronics; all-in-all a very interesting, rewarding, and challenging ride. In my current gig, I work on technical marketing projects for Mentor Graphics' SystemVision product line. And in my spare time I dream up gadgets and gizmos, some even big enough to qualify as systems, that I hope someday to build -- providing I can find yet a little more of that increasingly elusive spare time. Visit Mike Jensen's Blog

More Posts by Mike Jensen

Comments

No one has commented yet on this post. Be the first to comment below.

Add Your Comment

Please complete the following information to comment or sign in.

(Your email will not be published)

Archives

System Modeling

Solutions

News and Press

BridgePoint from Mentor Graphics Provides Agilent GC Instrumentation Division an Efficient Methodology for Embedded Software Development

SAE 2013 WORLD CONGRESS EXPOSITION, DETROIT, Mich., April 17, 2013—Mentor Graphics Corporation and Agilent Technologies Inc. (NASDAQ: A), the world’s premier measurement company,... View News Article

Tutorials

SystemVision Tutorials

System Modeling and Integration Tutorials. These multimedia presentations provide information pertaining to model driven development methodologies. More

UML Tutorials

This series of brief (3-5 minutes) multimedia presentations explain various aspects of the BridgePoint tool and xtUML essentials in general. More